@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #030408;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* =========================
   CUSTOM CURSOR GLOW
========================= */
.cursor-glow {
    position: fixed;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.15), rgba(167, 139, 250, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: width 0.3s, height 0.3s;
    mix-blend-mode: screen;
}

/* =========================
   GLASS NAVBAR
========================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(3, 4, 8, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
}

.nav-logo span {
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #38bdf8;
}

.nav-btn {
    padding: 10px 22px;
    border-radius: 30px;
    background: linear-gradient(90deg, #2563eb, #7c3aed) !important;
    color: white !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(124, 58, 237, 0.5);
}

/* ANNOUNCEMENT BADGE */
.announcement-badge {
    position: fixed;
    top: 85px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 1px;
    color: #7dd3fc;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* =========================
   CINEMATIC HERO
========================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 140px 20px 60px;
    background: #030408;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(124, 58, 237, 0.15) 40%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.6;
}

.hero-content {
    max-width: 950px;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 11px;
    letter-spacing: 3px;
    color: #38bdf8;
    margin-bottom: 25px;
}

.hero-title {
    font-size: clamp(40px, 8vw, 100px);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.title-line {
    display: block;
}

.title-line.line-1 {
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.title-line.line-2 {
    background: linear-gradient(135deg, #60a5fa 0%, #c084fc 50%, #22d3ee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 10px 20px rgba(96, 165, 250, 0.3));
}

.hero-description {
    color: #94a3b8;
    font-size: clamp(15px, 2vw, 19px);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-primary {
    padding: 16px 36px;
    border-radius: 40px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.6);
}

.btn-secondary {
    padding: 16px 36px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    backdrop-filter: blur(10px);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.scroll-indicator {
    color: #64748b;
    font-size: 11px;
    letter-spacing: 3px;
    margin-top: 20px;
}

.scroll-arrow {
    font-size: 24px;
    margin-top: 8px;
    animation: bounce 1.8s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* =========================
   COMMON SECTIONS & CARDS
========================= */
section {
    position: relative;
    padding: 120px 8%;
}

.section-label {
    font-size: 12px;
    letter-spacing: 4px;
    color: #38bdf8;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.section-heading h2,
.info-content h2,
.contact-content h2 {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.section-heading h2 span,
.info-content h2 span,
.contact-content h2 span {
    display: block;
    background: linear-gradient(90deg, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-heading p {
    color: #94a3b8;
    line-height: 1.7;
    font-size: 16px;
}

/* ABOUT */
.about-section {
    background: radial-gradient(circle at 80% 50%, #0f172a, #030408 60%);
}

.info-content {
    max-width: 850px;
}

.info-content p {
    color: #94a3b8;
    font-size: 18px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 25px;
    margin-top: 50px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px 35px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.3);
}

.stat-card strong {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
}

.stat-card .plus {
    font-size: 32px;
    font-weight: 800;
    color: #38bdf8;
}

.stat-card small {
    display: block;
    color: #64748b;
    margin-top: 5px;
    letter-spacing: 1px;
}

/* COURSES */
.courses-section {
    background: #05070e;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: auto;
}

.course-card {
    position: relative;
    padding: 40px 30px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-10px);
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.course-icon {
    font-size: 45px;
    margin-bottom: 25px;
}

.course-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.course-card p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.course-arrow {
    color: #38bdf8;
    font-weight: 600;
    font-size: 13px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.course-card:hover .course-arrow {
    transform: translateX(5px);
}

/* FACULTY */
.faculty-section {
    background: radial-gradient(circle at 20% 50%, #111827, #030408 70%);
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

.faculty-card {
    text-align: center;
    padding: 45px 30px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.faculty-card:hover {
    transform: translateY(-8px);
    border-color: rgba(192, 132, 252, 0.4);
}

.faculty-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.faculty-card h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

.faculty-card p {
    color: #38bdf8;
    font-size: 14px;
    margin-bottom: 8px;
}

.faculty-card span {
    color: #64748b;
    font-size: 12px;
}

/* RESULTS */
.results-section {
    background: #030408;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    max-width: 1100px;
    margin: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.01);
}

.result-number {
    padding: 50px 20px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.result-number:last-child {
    border-right: none;
}

.result-number strong {
    font-size: 48px;
    font-weight: 800;
}

.result-number span {
    color: #94a3b8;
    font-size: 13px;
    display: block;
    margin-top: 8px;
}

/* REVIEWS */
.reviews-section {
    background: radial-gradient(circle at 50% 50%, #0f172a, #030408 75%);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

.review-card {
    padding: 35px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.stars {
    color: #f59e0b;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-card p {
    color: #cbd5e1;
    line-height: 1.7;
    font-size: 14px;
    margin-bottom: 25px;
}

.review-card strong {
    display: block;
    font-size: 16px;
}

.review-card span {
    color: #64748b;
    font-size: 12px;
}

/* CONTACT */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 80px;
    align-items: center;
    background: #05070e;
}

.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-details > div {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-details span {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.enquiry-card {
    padding: 40px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.enquiry-card h3 {
    font-size: 26px;
    margin-bottom: 8px;
}

.enquiry-card p {
    color: #64748b;
    margin-bottom: 25px;
    font-size: 14px;
}

.enquiry-card input {
    width: 100%;
    padding: 16px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: white;
    outline: none;
    font-family: inherit;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.enquiry-card input:focus {
    border-color: #38bdf8;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.enquiry-card button {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.enquiry-card button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

/* FLOATING WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 60px;
    height: 60px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.6);
}

/* =========================
   MOBILE NAVIGATION STYLES
========================= */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================
   PERFECT MOBILE & OVERFLOW FIX
========================================== */

/* 1. Prevent Horizontal Scrolling Globally */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

@media (max-width: 768px) {
    /* 2. Fix Navbar & Hamburger Layout */
    .navbar {
        padding: 12px 16px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .hamburger {
        display: flex !important;
        order: 2; /* Logo-র পর ডানপাশে বসবে */
    }

    /* Hide desktop nav menu completely until hamburger is clicked */
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(3, 4, 8, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    /* 3. Announcement Badge Adjustment */
    .announcement-badge {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin: 75px auto 10px auto;
        width: fit-content;
        max-width: 90%;
        font-size: 10px;
        padding: 6px 12px;
        white-space: normal;
        text-align: center;
    }

    /* 4. Center Hero Content & Fix Width */
    .hero {
        padding: 20px 16px 40px;
        min-height: auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .hero-title {
        font-size: 28px !important;
        letter-spacing: -0.5px;
        line-height: 1.2;
        margin-bottom: 15px;
        width: 100%;
    }

    .hero-description {
        font-size: 13px;
        line-height: 1.6;
        padding: 0 10px;
        margin: 0 auto 25px;
        width: 100%;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
        justify-content: center;
    }

    /* 5. Section Adjustments */
    section {
        padding: 50px 16px;
        width: 100%;
    }

    .section-heading h2,
    .info-content h2,
    .contact-content h2 {
        font-size: 24px !important;
    }
}


/* ==========================================
   FINAL RESPONSIVE FIX
   Existing Desktop Design — UNCHANGED
========================================== */

/* TABLET */
@media (min-width: 769px) and (max-width: 1100px) {

    .navbar {
        padding-left: 5%;
        padding-right: 5%;
    }

    section {
        padding-left: 5%;
        padding-right: 5%;
    }

    .contact-section {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 40px;
    }

    .about-stats {
        flex-wrap: wrap;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .result-number:nth-child(2) {
        border-right: none;
    }

    .result-number:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}


/* MOBILE */
@media (max-width: 768px) {

    /* Prevent every element from creating horizontal overflow */
    *,
    *::before,
    *::after {
        max-width: 100%;
    }

    body {
        width: 100%;
        overflow-x: hidden !important;
    }


    /* =========================
       NAVBAR
    ========================= */

    .navbar {
        padding: 12px 16px;
        min-height: 60px;
    }

    .nav-logo {
        font-size: 17px;
        letter-spacing: 1.5px;
        white-space: nowrap;
    }

    .hamburger {
        flex-shrink: 0;
    }


    /* =========================
       ANNOUNCEMENT
    ========================= */

    .announcement-badge {
        max-width: calc(100% - 32px);
        width: auto;
        line-height: 1.4;
    }


    /* =========================
       HERO
    ========================= */

    .hero {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-bg-glow {
        width: 500px;
        height: 500px;
    }

    .grid-overlay {
        background-size: 35px 35px;
    }

    .hero-badge {
        max-width: 100%;
        font-size: 9px;
        letter-spacing: 1.5px;
        padding: 7px 12px;
        text-align: center;
        justify-content: center;
        line-height: 1.4;
    }

    .hero-title {
        font-size: 28px !important;
        width: 100%;
        overflow-wrap: break-word;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-cta-group {
        max-width: 280px;
    }

    .scroll-indicator {
        font-size: 9px;
        letter-spacing: 2px;
    }


    /* =========================
       COMMON SECTIONS
    ========================= */

    section {
        padding: 60px 16px;
    }

    .section-label {
        font-size: 10px;
        letter-spacing: 2.5px;
    }

    .section-heading {
        width: 100%;
        margin-bottom: 40px;
    }

    .section-heading h2,
    .info-content h2,
    .contact-content h2 {
        font-size: 26px !important;
        line-height: 1.15;
    }

    .section-heading p {
        font-size: 14px;
    }


    /* =========================
       ABOUT
    ========================= */

    .info-content {
        width: 100%;
        max-width: 100%;
    }

    .info-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .about-stats {
        width: 100%;
        flex-direction: column;
        gap: 15px;
        margin-top: 35px;
    }

    .stat-card {
        width: 100%;
        padding: 20px;
    }

    .stat-card strong {
        font-size: 36px;
    }

    .stat-card .plus {
        font-size: 27px;
    }


    /* =========================
       COURSES
    ========================= */

    .course-grid {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .course-card {
        width: 100%;
        padding: 30px 22px;
    }

    .course-card h3 {
        font-size: 19px;
        line-height: 1.4;
    }

    .course-card p {
        font-size: 13px;
    }


    /* =========================
       FACULTY
    ========================= */

    .faculty-grid {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
    }

    .faculty-card {
        width: 100%;
        padding: 35px 20px;
    }


    /* =========================
       RESULTS
    ========================= */

    .results-grid {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        border-radius: 20px;
    }

    .result-number {
        width: 100%;
        padding: 35px 15px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .result-number:last-child {
        border-bottom: none;
    }

    .result-number strong {
        font-size: 40px;
    }


    /* =========================
       REVIEWS
    ========================= */

    .review-grid {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .review-card {
        width: 100%;
        padding: 28px 22px;
    }

    .review-card p {
        font-size: 13px;
    }


    /* =========================
       CONTACT
    ========================= */

    .contact-section {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        gap: 45px;
    }

    .contact-content {
        width: 100%;
        min-width: 0;
    }

    .contact-details {
        width: 100%;
        gap: 20px;
    }

    .contact-details > div {
        width: 100%;
        min-width: 0;
        align-items: flex-start;
        gap: 15px;
    }

    .contact-details > div > div {
        min-width: 0;
        flex: 1;
    }

    .contact-details p {
        overflow-wrap: anywhere;
        word-break: break-word;
        font-size: 13px;
    }

    .contact-details span {
        width: 44px;
        height: 44px;
        font-size: 19px;
    }

    .enquiry-card {
        width: 100%;
        padding: 28px 20px;
        border-radius: 22px;
    }

    .enquiry-card h3 {
        font-size: 23px;
    }

    .enquiry-card input,
    .enquiry-card button {
        width: 100%;
    }


    /* =========================
       WHATSAPP FLOAT
    ========================= */

    .whatsapp-float {
        width: 52px;
        height: 52px;
        right: 18px;
        bottom: 18px;
        font-size: 24px;
    }
}


/* SMALL MOBILE */
@media (max-width: 380px) {

    .navbar {
        padding-left: 12px;
        padding-right: 12px;
    }

    .nav-logo {
        font-size: 15px;
        letter-spacing: 1px;
    }

    .hero {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-title {
        font-size: 25px !important;
    }

    .hero-badge {
        font-size: 8px;
        letter-spacing: 1px;
    }

    section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .course-card,
    .review-card {
        padding-left: 18px;
        padding-right: 18px;
    }

    .enquiry-card {
        padding-left: 17px;
        padding-right: 17px;
    }
}


/* Announcement Badge - Mobile Center Fix */
@media (max-width: 768px) {
    .announcement-badge {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
        max-width: calc(100vw - 32px);
        margin: 75px 0 10px 0;
        padding: 6px 12px;
        box-sizing: border-box;
    }
}

@media (max-width: 380px) {
    .announcement-badge {
        max-width: calc(100vw - 24px);
        font-size: 9px;
        padding: 6px 10px;
    }
}

/* ==========================================
   DESKTOP VIEWPORT & NAVBAR EDGE FIX
========================================== */

@media (min-width: 769px) {

    html {
        width: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }

    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    .navbar {
        left: 0;
        right: 0;
        width: auto;
        max-width: none;
    }

    /* Keep all main sections safely inside viewport */
    section {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .hero {
        width: 100%;
        max-width: 100%;
    }
}

/* ==========================================
   MOBILE ANNOUNCEMENT SCROLL BEHAVIOR
========================================== */

/* @media (max-width: 768px) {
    .announcement-badge {
        position: absolute;
        top: 75px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        z-index: 999;
    }
} */

/* ==========================================
   ABOUT SECTION — MOVING EARTH VIDEO
========================================== */

.about-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.8fr);
    gap: 70px;
    align-items: center;
}

.about-video {
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #030408;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.about-video video {
    width: 100%;
    height: 420px;
    display: block;
    object-fit: cover;
}


/* MOBILE */
@media (max-width: 768px) {

    .about-section {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .about-video {
        max-width: 100%;
        margin: 0 auto;
    }

    .about-video video {
        height: 300px;
    }
}

/* ==========================================
   ABOUT VIDEO — SOFT BLENDED EDGES
========================================== */

.about-video {
    position: relative;
    isolation: isolate;
    border: none;
    background: transparent;
    overflow: visible;
    box-shadow: none;
    transform: translateX(20px);
}

.about-video::before {
    content: "";
    position: absolute;
    inset: -45px;
    background: radial-gradient(
        ellipse at center,
        rgba(37, 99, 235, 0.18),
        rgba(124, 58, 237, 0.10),
        transparent 70%
    );
    filter: blur(35px);
    z-index: -1;
    pointer-events: none;
}

.about-video::after {
    content: "";
    position: absolute;
    inset: -20px;
    background: radial-gradient(
        ellipse at center,
        transparent 45%,
        #030408 78%
    );
    filter: blur(18px);
    z-index: 1;
    pointer-events: none;
}

.about-video video {
    position: relative;
    z-index: 0;
    border-radius: 28px;
}

.faculty-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    object-position: 30% center;
}