/* ===== CCS BRAND COLORS ===== */
:root {
    --ccs-blue: #1a237e;
    --ccs-dark-blue: #0d1642;
    --ccs-yellow: #ffc107;
    --ccs-light-yellow: #ffe082;
    --ccs-white: #ffffff;
    --ccs-gray: #f5f5f5;
}

/* ===== GLOBAL ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--ccs-gray);
}

/* ===== NAVBAR ===== */
.ccs-navbar {
    background: linear-gradient(135deg, var(--ccs-blue) 0%, var(--ccs-dark-blue) 100%);
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.nav-logo {
    height: 55px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.brand-title {
    color: var(--ccs-yellow);
    font-size: 1.4rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

.brand-subtitle {
    color: var(--ccs-white);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
    color: var(--ccs-white) !important;
    font-weight: 500;
    padding: 8px 15px !important;
    margin: 0 3px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: var(--ccs-yellow);
    color: var(--ccs-blue) !important;
    transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--ccs-blue) 0%, var(--ccs-dark-blue) 50%, #283593 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,193,7,0.1)" stroke-width="2"/></svg>');
    background-size: 100px;
    opacity: 0.5;
}

.hero-logo {
    height: 120px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--ccs-yellow);
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--ccs-white);
    margin-bottom: 30px;
}

.btn-ccs {
    background: linear-gradient(135deg, var(--ccs-yellow) 0%, #ff8f00 100%);
    color: var(--ccs-blue);
    font-weight: 700;
    padding: 12px 35px;
    border: none;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

.btn-ccs:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.6);
    color: var(--ccs-dark-blue);
}

.urgent-banner {
    background: linear-gradient(90deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 12px 0;
    font-weight: 600;
}

.urgent-banner i {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== CARDS ===== */
.ccs-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: white;
}

.ccs-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.ccs-card .card-header {
    background: linear-gradient(135deg, var(--ccs-blue) 0%, var(--ccs-dark-blue) 100%);
    color: white;
    padding: 20px;
    border: none;
}

.ccs-card .card-icon {
    font-size: 3rem;
    color: var(--ccs-yellow);
    margin-bottom: 15px;
}

.course-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.course-card:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.course-card .course-header {
    background: linear-gradient(135deg, var(--ccs-blue) 0%, #3949ab 100%);
    color: white;
    padding: 25px;
    text-align: center;
}

.course-card .course-icon {
    font-size: 3.5rem;
    color: var(--ccs-yellow);
    margin-bottom: 10px;
}

.course-fee {
    background: var(--ccs-yellow);
    color: var(--ccs-blue);
    font-weight: 800;
    padding: 5px 20px;
    border-radius: 20px;
    display: inline-block;
}

/* ===== STUDENT PORTAL ===== */
.portal-box {
    background: linear-gradient(135deg, var(--ccs-blue) 0%, var(--ccs-dark-blue) 100%);
    border-radius: 20px;
    padding: 40px;
    color: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.location-card{
    background:#fff;
    padding:35px;
    border-radius:25px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    height:100%;
}

.location-icon{
    width:80px;
    height:80px;
    border-radius:20px;
    background:linear-gradient(135deg,#ff416c,#ff4b2b);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:30px;
    margin-bottom:20px;
}

.map-card{
    overflow:hidden;
    border-radius:25px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}
.portal-box input {
    border-radius: 50px;
    padding: 15px 25px;
    border: none;
    font-size: 1.1rem;
}

.portal-box .btn-search {
    background: var(--ccs-yellow);
    color: var(--ccs-blue);
    border-radius: 50px;
    padding: 15px 40px;
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
}

.portal-box .btn-search:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.5);
}

.student-result {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.student-result .reg-badge {
    background: var(--ccs-yellow);
    color: var(--ccs-blue);
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 700;
    display: inline-block;
}

/* ===== INTERNSHIP CARDS ===== */
.internship-card {
    border: none;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.internship-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.internship-card .company-header {
    background: linear-gradient(135deg, var(--ccs-blue) 0%, #3949ab 100%);
    color: white;
    padding: 20px;
}

.internship-card .company-icon {
    font-size: 2.5rem;
    color: var(--ccs-yellow);
}

.stipend-badge {
    background: #28a745;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}

/* ===== ADMIN PANEL ===== */
.admin-sidebar {
    background: linear-gradient(180deg, var(--ccs-dark-blue) 0%, var(--ccs-blue) 100%);
    min-height: 100vh;
    color: white;
    padding: 20px 0;
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 12px 20px;
    margin: 5px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active {
    background: var(--ccs-yellow);
    color: var(--ccs-blue);
    font-weight: 600;
}

.admin-sidebar .nav-link i {
    width: 25px;
}

.admin-content {
    background: var(--ccs-gray);
    min-height: 100vh;
    padding: 30px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    color: var(--ccs-blue);
    margin-bottom: 10px;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ccs-dark-blue);
}

/* ===== FOOTER ===== */
.ccs-footer {
    background: linear-gradient(135deg, var(--ccs-dark-blue) 0%, var(--ccs-blue) 100%);
    padding: 50px 0 20px;
    color: white;
}

.footer-logo {
    height: 100px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.social-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--ccs-yellow) !important;
    transform: translateY(-3px);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ccs-blue);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--ccs-yellow), #ff8f00);
    border-radius: 2px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
    margin-top: 15px;
}

/* ===== ANIMATIONS ===== */
.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-logo {
        height: 80px;
    }

    .nav-logo {
        height: 40px;
    }

    .brand-title {
        font-size: 1.1rem;
    }

    .brand-subtitle {
        font-size: 0.65rem;
    }

    .portal-box {
        padding: 20px;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--ccs-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--ccs-blue);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ccs-dark-blue);
}


/* ===== FLOATING CONTACT ICONS ===== */
.floating-contacts {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: float-in 0.5s ease;
}

.float-btn:hover {
    transform: scale(1.1) translateY(-5px);
    color: white;
}

.phone-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.email-btn {
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    color: #1a237e !important;
}

.email-btn:hover {
    color: #1a237e !important;
}

@keyframes float-in {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== EMERGENCY CONTACT BAR ===== */
.emergency-bar {
    background: linear-gradient(90deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.emergency-bar h5 {
    font-weight: 700;
    animation: pulse 2s infinite;
}

/* ===== REVIEW CARDS ===== */
.review-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a237e;
    font-size: 1.5rem;
}

.review-stars {
    font-size: 0.9rem;
}

/* ===== RESPONSIVE FLOATING ICONS ===== */
@media (max-width: 768px) {
    .floating-contacts {
        right: 10px;
        bottom: 10px;
    }

    .float-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .emergency-bar .btn {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}
