/* ========== RESET & GLOBAL ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #1e293b;
    line-height: 1.5;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

/* ========== HEADER STYLES ========== */
.site-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.top-bar {
    background: #022b4f;
    color: #fff;
    font-size: 0.8rem;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.top-left i, .top-right i {
    margin-right: 6px;
    font-size: 0.75rem;
}

.top-right a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    transition: opacity 0.2s;
}

.top-right a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.main-header {
    background: #ffffff;
    padding: 12px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
}

.logo-wrap .brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-wrap img {
    height: 58px;
    width: auto;
    object-fit: contain;
}

.brand-text h1 {
    font-size: 1.55rem;
    font-weight: 800;
    color: #022b4f;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.brand-text p {
    font-size: 0.75rem;
    color: #4b5563;
    font-weight: 500;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #022b4f;
    cursor: pointer;
    padding: 8px;
}

.main-nav ul {
    display: flex;
    gap: 6px;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 18px;
    border-radius: 40px;
    color: #1e293b;
    transition: all 0.2s ease;
}

.main-nav a:hover {
    background: #eef2ff;
    color: #0f67b3;
}

.main-nav a.active {
    background: #0f67b3;
    color: white;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
    font-size: 0.95rem;
    cursor: pointer;
}

.btn-primary {
    background: #f4a261;
    color: #1e2a3a;
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background: #e76f51;
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(0,0,0,0.25);
}

.btn-outline {
    border: 1.5px solid rgba(255,255,255,0.7);
    color: white;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
    font-weight: 600;
    color: #0f67b3;
    text-decoration: none;
}

.link-more:hover {
    text-decoration: underline;
}

/* ========== HERO SECTION - FIXED BACKGROUND IMAGE ========== */
.hero-home {
    position: relative;
    padding: 90px 0 70px;
    color: white;
    overflow: hidden;
}

/* Background image with proper opacity */
.hero-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/campus-hero.jpg') center/cover no-repeat;
    opacity: 0.5; /* Reduced from 0.9 to make image visible */
    z-index: 0;
}

/* Dark overlay for text readability */
.hero-home::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(105deg, rgba(1, 30, 58, 0.85) 0%, rgba(10, 59, 110, 0.75) 100%);
    z-index: 1;
}

.hero-home .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.tagline {
    background: rgba(255,255,240,0.2);
    backdrop-filter: blur(2px);
    display: inline-block;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-highlights {
    flex: 1;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.highlight-box {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border-radius: 28px;
    padding: 20px 22px;
    text-align: center;
    min-width: 130px;
    transition: 0.2s;
    border: 1px solid rgba(255,255,255,0.2);
}

.highlight-box:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.25);
}

.highlight-box i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: inline-block;
    color: #ffbc6e;
}

.highlight-box h3 {
    font-size: 1.9rem;
    font-weight: 800;
}

/* ========== ABOUT SECTION ========== */
.home-about {
    padding: 80px 0;
    background: #f9fbfe;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.about-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #022b4f;
    margin-bottom: 18px;
}

.about-text p {
    color: #2d3a4b;
    margin-bottom: 18px;
    line-height: 1.6;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
    gap: 24px;
}

.about-card {
    background: white;
    border-radius: 24px;
    padding: 24px 20px;
    box-shadow: 0 10px 25px -8px rgba(0,0,0,0.05);
    transition: all 0.2s;
    border: 1px solid #eef2ff;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.1);
}

.about-card i {
    font-size: 2rem;
    color: #0f67b3;
    margin-bottom: 16px;
}

.about-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

/* ========== COURSES SECTION ========== */
.home-courses {
    padding: 80px 0;
    background: #fff;
}

.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-head h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #022b4f;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 30px;
}

.course-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 28px 22px;
    border: 1px solid #e9edf2;
    transition: all 0.25s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.course-card:hover {
    transform: translateY(-6px);
    border-color: #f4a261;
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.1);
}

.course-tag {
    background: #eef2ff;
    color: #0f67b3;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 14px;
}

.course-card h3 {
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 12px;
}

/* ========== INFO MARQUEE ========== */
.info-marquee {
    background: linear-gradient(95deg, #022b4f, #0e3b62);
    color: white;
    padding: 55px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.info-column h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.marquee-box {
    background: rgba(255,255,255,0.12);
    border-radius: 24px;
    padding: 20px;
    height: 210px;
    overflow-y: auto;
}

.marquee-box p {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
}

/* Custom scrollbar for marquee */
.marquee-box::-webkit-scrollbar {
    width: 5px;
}

.marquee-box::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.marquee-box::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
}

/* ========== FACILITIES ========== */
.facilities {
    padding: 80px 0;
    background: #fff;
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    gap: 28px;
}

.facility-card {
    background: #f8fafc;
    border-radius: 24px;
    padding: 28px;
    transition: 0.2s;
    border: 1px solid #eef2ff;
    text-align: center;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -12px rgba(0,0,0,0.1);
}

.facility-card i {
    font-size: 2.5rem;
    color: #f4a261;
    margin-bottom: 18px;
}

.facility-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    background: #f9fbfe;
    padding: 80px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    gap: 28px;
}

.testimonial-card {
    background: white;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 12px 28px -8px rgba(0,0,0,0.05);
    transition: 0.2s;
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

.testimonial-text i {
    color: #ffb347;
    margin-right: 5px;
}

.testimonial-name {
    margin-top: 20px;
    font-weight: 700;
    font-size: 1rem;
    color: #022b4f;
}

.testimonial-meta {
    font-size: 0.85rem;
    color: #6b7280;
}

/* ========== RECRUITERS ========== */
.recruiters {
    padding: 70px 0;
    background: #fff;
    border-top: 1px solid #eef2ff;
}

.recruiter-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    row-gap: 30px;
}

.recruiter-logo {
    width: 130px;
    height: 80px;
    background: #f1f5f9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #1e3a5f;
    gap: 8px;
    transition: 0.2s;
    padding: 10px;
    cursor: pointer;
}

.recruiter-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.recruiter-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    background: #eef2ff;
}

/* ========== CTA STRIP ========== */
.cta-strip {
    background: linear-gradient(135deg, #0f67b3, #0a4d8a);
    color: white;
    padding: 55px 0;
}

.cta-strip .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-content h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

/* ========== FOOTER ========== */
.footer {
    background: #011627;
    color: #cbd5e1;
    padding: 50px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col p, .footer-col a {
    color: #a0afc0;
    text-decoration: none;
    line-height: 1.7;
    display: block;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #f4a261;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1e2f40;
}

/* ========== IMAGE STYLES ========== */
.campus-image {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.campus-image:hover {
    transform: scale(1.02);
}

.about-image {
    width: 100%;
    border-radius: 24px;
    object-fit: cover;
}

/* ========== RESPONSIVE DESIGN WITH WORKING MOBILE MENU ========== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    
    /* Top Bar Mobile */
    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }
    
    .top-right a {
        margin: 0 8px;
        display: inline-block;
    }
    
    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: block;
        z-index: 100;
    }
    
    /* Close Button */
    .close-menu-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 1.8rem;
        color: #022b4f;
        cursor: pointer;
        padding: 8px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        transition: background 0.2s;
    }
    
    .close-menu-btn:hover {
        background: #f1f5f9;
    }
    
    /* Mobile Navigation */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease-in-out;
        z-index: 1001;
        padding: 70px 20px 30px;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 8px;
        margin-top: 20px;
    }
    
    .main-nav li {
        width: 100%;
    }
    
    .main-nav a {
        display: block;
        padding: 14px 20px;
        font-size: 1.1rem;
        font-weight: 500;
        border-radius: 12px;
        text-align: left;
        color: #1e293b;
        transition: all 0.2s;
    }
    
    .main-nav a:hover {
        background: #eef2ff;
        color: #0f67b3;
        transform: translateX(5px);
    }
    
    .main-nav a.active {
        background: #0f67b3;
        color: white;
    }
    
    /* Menu Overlay */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
    
    .menu-overlay.active {
        display: block;
    }
    
    /* Hero Section Mobile */
    .hero-home {
        padding: 50px 0 40px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .hero-highlights {
        justify-content: center;
    }
    
    .highlight-box {
        min-width: 100px;
        padding: 15px;
    }
    
    .highlight-box h3 {
        font-size: 1.4rem;
    }
    
    .highlight-box i {
        font-size: 1.5rem;
    }
    
    /* About Section Mobile */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .about-cards {
        grid-template-columns: 1fr;
    }
    
    /* Info Grid Mobile */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .info-column h3 {
        font-size: 1.2rem;
    }
    
    /* Section Headers Mobile */
    .section-head h2 {
        font-size: 1.8rem;
    }
    
    .section-head p {
        font-size: 0.9rem;
    }
    
    /* CTA Strip Mobile */
    .cta-strip .container {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-col h4 {
        margin-bottom: 15px;
    }
    
    /* Recruiters Mobile */
    .recruiter-logos {
        gap: 15px;
    }
    
    .recruiter-logo {
        width: 100px;
        height: 65px;
        font-size: 0.8rem;
    }
    
    /* Buttons Mobile */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-actions {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    /* Logo Mobile */
    .brand-text h1 {
        font-size: 1rem;
    }
    
    .brand-text p {
        font-size: 0.65rem;
    }
    
    .logo-wrap img {
        height: 40px;
    }
    
    /* Hero Mobile Extra Small */
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.85rem;
    }
    
    .tagline {
        font-size: 0.7rem;
        padding: 4px 12px;
    }
    
    .highlight-box {
        min-width: 85px;
        padding: 10px;
    }
    
    .highlight-box h3 {
        font-size: 1.1rem;
    }
    
    .highlight-box p {
        font-size: 0.7rem;
    }
    
    /* Course Cards Mobile */
    .course-card {
        padding: 20px 18px;
    }
    
    .course-card h3 {
        font-size: 1.2rem;
    }
    
    /* Facility Cards Mobile */
    .facility-card {
        padding: 18px;
    }
    
    .facility-card i {
        font-size: 2rem;
    }
    
    /* Testimonial Cards Mobile */
    .testimonial-card {
        padding: 18px;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
    
    /* CTA Mobile */
    .cta-content h2 {
        font-size: 1.3rem;
    }
    
    .cta-content p {
        font-size: 0.85rem;
    }
}