/* CSS Variables */
:root {
    --color-bg-primary: #3B2F2F;
    --color-bg-secondary: #4A3838;
    --color-text-primary: #F5E9D8;
    --color-text-secondary: #B8A898;
    --color-accent-primary: #E6A93C;
    --color-accent-secondary: #FFB347;
}

html,
body{
    overflow-x:hidden;
}

/* BASE STYLES */
html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 120px;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    padding-top: 0; /* No padding needed - spacer div handles spacing */
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* TOP BANNER - Fixed */
.top-banner {
    background: linear-gradient(90deg, var(--color-bg-primary), var(--color-bg-secondary), var(--color-bg-primary));
    border-bottom: 3px solid var(--color-accent-primary);
    padding: 0;
    position: relative;
    width: 100%;
}

.top-banner .banner-image {
    width: 100%;
    height: auto;
    display: block;
}

/* NAVBAR - Non-fixed (static position, below top banner) */
.main-navbar {
    background: linear-gradient(90deg, var(--color-bg-primary), var(--color-bg-secondary), var(--color-bg-primary));
    position: relative;
    z-index: 1000;
    border-top: 2px solid var(--color-accent-primary);
    border-bottom: 2px solid var(--color-accent-primary);
    margin-top: 0;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 0;
    gap: 8px;
    min-width: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 2px;
    border: 2px solid var(--color-accent-primary);
    border-radius: 30px;
    padding: 6px 10px;
    background: rgba(230, 169, 60, 0.1);
    flex-shrink: 0;
    margin-left: 0px;
    margin-right: 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: inherit;
}

.logo-link:hover,
.logo-link:visited,
.logo-link:active,
.logo-link:focus {
    text-decoration: none;
    color: inherit;
}

.logo-box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    overflow: hidden;
    border: 2px solid #ffffff;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-accent-primary);
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    overflow-x: auto;
    -ms-overflow-style: none;
    padding: 5px 0;
    flex:1;
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-link {
    padding: 8px 10px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--color-text-secondary);
    transition: .3s ease;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    border: 1.5px solid rgba(230, 169, 60, 0.35);
    background: rgba(60, 50, 45, 0.3);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 80px;
}

a.nav-link[href*="expert-reviews"] {
    background: #FDF5E6;
    border-color: #9C7A2C;
    border-width: 2.5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), inset 0 1px 1px rgba(255, 248, 220, 0.2);
}

a.nav-link[href*="expert-reviews"] .nav-link-label {
    color: #111111;
    font-size: 13px;
}

a.nav-link[href*="expert-reviews"] .nav-link-support {
    color: #2F5D3A;
}

.nav-link-label {
    line-height: 1.1;
    color: #FFFFFF;
}

.nav-link-support {
    font-size: 11px;
    font-weight: 400;
    color: #F5F0E8;
    line-height: 1.15;
    letter-spacing: .2px;
}

.nav-link:hover {
    background: rgba(230, 169, 60, 0.2);
    color: var(--color-accent-primary);
    border-color: rgba(230, 169, 60, 0.6);
    box-shadow: 0 2px 6px rgba(230, 169, 60, 0.2);
}

.nav-link:hover .nav-link-label,
.nav-link:hover .nav-link-support {
    color: var(--color-accent-primary);
}

.nav-border {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--color-accent-primary), var(--color-accent-secondary), transparent);
}

/* HERO WRAPPER */
.hero-wrapper {
    padding: 30px;
}

/* HERO CONTAINER */
.hero-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    border: 2px solid var(--color-accent-primary);
    box-shadow: 0 0 60px rgba(230, 169, 60, 0.3);
}

/* HERO SLIDE */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s;
}

.hero-slide.active {
    opacity: 1;
    position: relative;
}

/* HERO IMAGE */
.hero-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    background-color: var(--color-bg-primary);
}

/* Hero mobile */
@media (max-width: 576px) {
    .hero-wrapper {
        padding: 8px;
    }
    
    .hero-container {
        border-radius: 12px;
    }
    
    .hero-image {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
    }
}

/* HERO OVERLAY */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}













/* VIDEO CARD - Hero sized */
.video-card,
.ai-video-thumbnail {
    position: relative;
    max-width: 900px;
    margin: auto;
    cursor: pointer;
    border-radius: 30px;
    overflow: hidden;
    border: 2px solid var(--color-accent-primary);
    box-shadow: 0 0 60px rgba(230, 169, 60, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Make entire video card clickable */
.video-card:hover,
.ai-video-thumbnail:hover {
    transform: scale(1.02);
    box-shadow: 0 0 80px rgba(230, 169, 60, 0.5);
}

.video-card:active,
.ai-video-thumbnail:active {
    transform: scale(0.98);
}

/* VIDEO THUMB - Full width, preserve aspect ratio */
.video-thumb,
.ai-video-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* VIDEO CARD A4 SIZE - Full image without cropping */
.video-card-a4 {
    position: relative;
    max-width: 950px;
    width: 100%;
    margin: auto;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--color-accent-primary);
    box-shadow: 0 0 30px rgba(230, 169, 60, 0.2);
    transition: all 0.3s ease;
}


.video-card-a4:hover {
    transform: scale(1.02);
    box-shadow: 0 0 50px rgba(230, 169, 60, 0.4);
}

/* VIDEO THUMB A4 - Preserve original image without cropping */
.video-thumb-a4 {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* PREVIEW BUTTONS FOR A4 THUMBNAIL */
.preview-btn {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 35px;
    background: #e53935;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.preview-btn .preview-btn-text {
    color: white;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.preview-btn-left {
    top: 72%;
    left: 22%;
}

.preview-btn-center {
    top: 72%;
    left: 50%;
}

.preview-btn-right {
    top: 72%;
    left: 78%;
}

.video-card-a4:hover .preview-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(229, 57, 53, 0.5);
}

.preview-btn:hover {
    background: #d32f2f;
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 6px 25px rgba(229, 57, 53, 0.6);
}

.preview-btn:active {
    transform: translate(-50%, -50%) scale(1.05);
}

@media (max-width: 768px) {
    .video-card-a4 .preview-btn {
        opacity: 1;
        visibility: visible;
        box-shadow: 0 4px 20px rgba(229, 57, 53, 0.45);
    }

    .preview-btn-left {
        top: 85%;
        left: 22%;
    }
    
    .preview-btn-center {
        top: 85%;
        left: 50%;
    }
    
    .preview-btn-right {
        top: 85%;
        left: 78%;
    }
    
    .preview-btn {
        width: 70px;
        height: 30px;
    }
    
    .preview-btn .preview-btn-text {
        font-size: 10px;
    }
}

/* CAREER PATHS IMAGE WRAPPER */
.career-paths-image-wrapper {
    position: relative;
    max-width: 900px;
    margin: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(230, 169, 60, 0.3);
}

.career-paths-image {
    width: 100%;
    height: auto;
    display: block;
}

/* CAREER PATH BUTTONS - Rectangle shaped, appear on hover */
.career-path-btn {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 40px;
    background: #e53935;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.career-path-btn::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid white;
    margin-right: 8px;
    display: block;
}

.career-path-btn .btn-text {
    color: white;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

/* Show buttons on hover */
.career-paths-image-wrapper:hover .career-path-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(229, 57, 53, 0.5);
}

.career-path-btn:hover {
    background: #d32f2f;
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 6px 25px rgba(229, 57, 53, 0.6);
}

.career-path-btn:active {
    transform: translate(-50%, -50%) scale(1.05);
}

.career-path-btn-left {
    top: 78%;
    left: 22%;
}

.career-path-btn-center {
    top: 78%;
    left: 50%;
}

.career-path-btn-right {
    top: 78%;
    left: 78%;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .career-path-btn {
        width: 100px;
        height: 35px;
    }
    
    .career-path-btn .btn-text {
        font-size: 10px;
    }
    
    .career-path-btn::before {
        border-left-width: 10px;
        border-top: 7px solid transparent;
        border-bottom: 7px solid transparent;
    }
    
    .career-path-btn-left {
        left: 20%;
    }
    
    .career-path-btn-center {
        left: 50%;
    }
    
    .career-path-btn-right {
        left: 80%;
    }
}

/* PLAY BUTTON - Completely transparent, centered */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    background: transparent;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding-left: 5px;
    color: transparent;
    z-index: 20;
}

.play-button:hover {
    background: transparent;
    color: transparent;
    transform: translate(-50%, -50%) scale(1.1);
}

/* HEADER IMAGE CARD - Matches video card size and style */
.header-image-card {
    position: relative;
    max-width: 900px;
    margin: auto auto 30px auto; /* Added bottom margin to separate from video */
    cursor: pointer;
    border-radius: 30px;
    overflow: hidden;
    border: 2px solid var(--color-accent-primary);
    box-shadow: 0 0 60px rgba(230, 169, 60, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    opacity: 0;
    animation: headerCardFadeIn 0.8s ease-out 0.3s forwards;
}

.header-image-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: opacity 0.4s ease; /* Only opacity transition, no transform */
}

/* Fade in/out hover effect - image fades to slightly dimmer (no zoom) */
.header-image-card:hover img {
    opacity: 0.6;
}

.header-image-card:hover {
    transform: none; /* No scaling */
    box-shadow: 0 0 80px rgba(230, 169, 60, 0.5);
    border-color: var(--color-accent-secondary);
}

@keyframes headerCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade out animation when hiding (optional class) */
.header-image-card.fade-out {
    animation: headerCardFadeOut 0.4s ease-out forwards;
}

@keyframes headerCardFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* RED PLAY BUTTON - IT Aspirant / Career Roadmap Section - YouTube Style */
.play-button-red {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(220, 20, 60, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 1;
    transition: all 0.3s ease;
    z-index: 20;
    border: none;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.play-button-red::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 24px solid #fff;
    margin-left: 6px;
}

.play-button-red:hover {
    background: rgba(220, 20, 60, 1);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.6);
}

.play-button-red:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.video-card:hover .play-button-red,
.video-card:active .play-button-red {
    opacity: 1;
}

/* VIDEO MODAL */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000; /* Higher than top banner (1001) */
    padding: 20px;
}

/* VIDEO MODAL - Active State */
.video-modal[style*="display: flex"],
.video-modal[style*="display:flex"] {
    display: flex !important;
}

@keyframes modalIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* VIDEO CONTAINER */
#videoContainer {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* All section video containers - same as #videoContainer */
#aiVideoContainer,
#theSystemVideoContainer,
#skillTestVideoContainer,
#learningSystemVideoContainer,
#careerRoadmapVideoContainer,
#careerCapsulesVideoContainer,
#languageBarrierVideoContainer,
#readyForTestVideoContainer,
#testBeforeTrustVideoContainer,
#conceptualCommunicationVideoContainer,
#thirtyMinutesVideoContainer,
#itAspirantVideoContainer,
#zeroToIndustryVideoContainer,
#masterAiVideoContainer,
#careerPathsVideoContainer {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

#conceptualCommunicationVideoContainer video,
#conceptualCommunicationVideoContainer iframe,
#thirtyMinutesVideoContainer video,
#thirtyMinutesVideoContainer iframe,
#itAspirantVideoContainer video,
#itAspirantVideoContainer iframe,
#zeroToIndustryVideoContainer video,
#zeroToIndustryVideoContainer iframe,
#masterAiVideoContainer video,
#masterAiVideoContainer iframe,
#careerPathsVideoContainer video,
#careerPathsVideoContainer iframe {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 70vh;
    object-fit: contain;
}

/* VIDEO CONTAINER - Ensure video is visible */
#videoContainer video,
#videoContainer iframe {
    max-width: 100%;
    max-height: 100%;
}

/* VIDEO MODAL CONTENT */
.video-modal-content {
    opacity: 1;
    visibility: visible;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    border-radius: 16px;
    padding: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid #333;
    animation: modalIn 0.3s ease-out;
}

/* VIDEO MODAL IFRAME/VIDEO */
.video-modal iframe,
.video-modal video {
    opacity: 1;
    visibility: visible;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 70vh;
    border-radius: 12px;
    background: #000;
    border: 2px solid #333;
    object-fit: contain;
}

/* CLOSE VIDEO */
.close-video {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #666;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 2001;
}

.close-video:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--color-accent-secondary);
    color: var(--color-accent-primary);
    transform: scale(1.1);
}



/* AI ADVANTAGE SECTION */
.ai-advantage-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 50%, var(--color-bg-primary) 100%);
    position: relative;
}

.ai-advantage-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(230, 169, 60, 0.06) 0%, transparent 70%);
    pointer-events: none;
}











/* AI DESCRIPTION CARD */
.ai-description-card {
    position: relative;
    background: linear-gradient(145deg, rgba(230, 169, 60, 0.06), rgba(59, 47, 47, 0.4), rgba(230, 169, 60, 0.06));
    border: 1px solid rgba(230, 169, 60, 0.2);
    border-radius: 20px;
    padding: 40px 45px;
    max-width: 800px;
    margin: 0 auto 60px auto;
    animation: descFadeIn 0.8s ease-out 0.4s both;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(230, 169, 60, 0.1);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.ai-description-card::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 25px;
    font-size: 80px;
    color: rgba(230, 169, 60, 0.2);
    font-family: 'Lato', sans-serif;
    line-height: 1;
}

.ai-description-card::after {
    content: '\201D';
    position: absolute;
    bottom: -30px;
    right: 25px;
    font-size: 80px;
    color: rgba(230, 169, 60, 0.2);
    font-family: 'Lato', sans-serif;
    line-height: 1;
}

.ai-description-card:hover {
    transform: translateY(-3px);
    border-color: rgba(230, 169, 60, 0.4);
    box-shadow: 0 8px 40px rgba(230, 169, 60, 0.15), inset 0 1px 0 rgba(230, 169, 60, 0.15);
}

 .ai-desc-accent {
     position: absolute;
     left: 0;
     top: 20px;
     bottom: 20px;
     width: 4px;
     background: linear-gradient(180deg, transparent, var(--color-accent-primary), var(--color-accent-secondary), var(--color-accent-primary), transparent);
     border-radius: 0 4px 4px 0;
     box-shadow: 0 0 12px rgba(230, 169, 60, 0.5);
 }

 @keyframes descFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}






/* AI VIDEO TITLE */


/* AI VIDEO THUMBNAIL - Already standardized above */

/* VIDEO OVERLAY - Ensure it doesn't block clicks */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 6;
}



.ai-video-thumbnail:hover {
    transform: scale(1.02);
    box-shadow: 0 0 70px rgba(230, 169, 60, 0.5);
}



/* HERO INTERSTITIAL IMAGE SECTION */
.hero-interstitial-section {
    width: 100%;
    padding: 40px 0;
    background: linear-gradient(180deg, rgba(59, 47, 47, 0.8) 0%, rgba(40, 32, 28, 0.9) 100%);
    position: relative;
    z-index: 2;
}

.hero-interstitial-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-interstitial-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 16px;
    border: 2px solid rgba(230, 169, 60, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(230, 169, 60, 0.1);
    transition: all 0.4s ease;
}

.hero-interstitial-image:hover {
    border-color: rgba(230, 169, 60, 0.7);
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(230, 169, 60, 0.2);
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-interstitial-section {
        padding: 25px 0;
    }
    
    .hero-interstitial-wrapper {
        padding: 0 15px;
    }
    
    .hero-interstitial-image {
        border-radius: 12px;
        border-width: 1px;
    }
}



/* ========================================
   MOBILE RESPONSIVE STYLES - NAVBAR
   ======================================== */

/* Mobile navbar - hamburger menu and vertical dropdown */
@media (max-width: 991px) {
    .main-navbar {
        position: relative;
    }

    .navbar-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 10px 0px;
        gap: 10px;
    }
   
    .collapse.show .nav-menu{
    display:flex;
    flex-direction:column;
    width:100%;
    gap:8px;
    overflow-x:hidden;
    }

    .navbar-toggler {
        display: block !important;
        border: 2px solid rgba(230, 169, 60, 0.6);
        border-radius: 6px;
        padding: 6px 10px;
        background: rgba(230, 169, 60, 0.15);
        transition: all 0.3s ease;
        flex-shrink: 0;
        z-index: 1001;
    }

    .navbar-toggler:hover {
        background: rgba(230, 169, 60, 0.25);
        border-color: var(--color-accent-primary);
    }

    .navbar-toggler:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(230, 169, 60, 0.3);
    }

    .navbar-toggler-icon {
        display: inline-block;
        width: 24px;
        height: 18px;
        position: relative;
        vertical-align: middle;
    }

    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after,
    .navbar-toggler-icon span {
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        background: var(--color-accent-primary);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .navbar-toggler-icon span {
        top: 50%;
        transform: translateY(-50%);
    }

    .navbar-toggler-icon::before {
        top: 0;
    }

    .navbar-toggler-icon::after {
        bottom: 0;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
        transform: rotate(45deg);
        top: 50%;
        margin-top: -1.5px;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
        transform: rotate(-45deg);
        bottom: 50%;
        margin-bottom: -1.5px;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span {
        opacity: 0;
    }
    
    .collapse.navbar-collapse{
    width:100%;
    margin:0;
    padding:0;
}
    /* Collapsed menu - hidden by default on mobile */
    .collapse:not(.show) {
        display: none !important;
    }

    /* Expanded menu - vertical dropdown */
    .collapse.show {
        display: block !important;
        width: 100%;
        margin-top: 8px;
        animation: slideDown 0.35s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .collapse.show .text-center {
        background: linear-gradient(135deg, rgba(230, 169, 60, 0.12), rgba(59, 47, 47, 0.8));
        border: 2px solid rgba(230, 169, 60, 0.3);
        border-radius: 12px;
        padding: 16px 12px;
        margin: 0 6px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(230, 169, 60, 0.1);
    }

    .nav-link {
        display: block;
        width: 100%;
        text-align: center;
        padding: 14px 16px !important;
        border-radius: 8px;
        border: 1px solid rgba(230, 169, 60, 0.15) !important;
        background: rgba(230, 169, 60, 0.05);
        color: var(--color-text-secondary) !important;
        font-size: 16px !important;
        font-weight: 600;
        transition: all 0.3s ease;
        margin: 3px 0;
    }

    .nav-link:hover,
    .nav-link:focus {
        background: rgba(230, 169, 60, 0.25) !important;
        color: var(--color-accent-primary) !important;
        border-color: rgba(230, 169, 60, 0.5) !important;
        transform: translateX(4px);
        box-shadow: 0 2px 10px rgba(230, 169, 60, 0.2);
    }

    /* Keep row wrapper but make it column on mobile */
    .d-flex.justify-content-center.gap-3 {
        flex-direction: column;
        gap: 8px !important;
        margin: 0 !important;
    }
}

/* Desktop navbar - unchanged behavior */
@media (min-width: 992px) {
    .collapse.navbar-collapse {
        display: flex !important;
        flex: 1;
        min-width: 0;
    }

    .nav-menu {
        margin-left: 32px;
    }

    .navbar-toggler {
        display: none !important;
    }
}

/* Navbar mobile - existing tablet styles (keep as-is) */
@media (max-width: 768px) and (min-width: 577px) {
    .navbar-inner {
        flex-direction: row;
        gap: 12px;
        padding: 10px 15px;
    }

    .nav-menu {
        width: 100%;
        justify-content: flex-start;
        padding: 5px 10px;
    }

    .nav-menu a {
        padding: 6px 12px;
        font-size: 13px;
    }

    .logo {
        margin: 0;
    }

    .logo-text {
        font-size: 16px;
    }

    .logo-box {
        width: 36px;
        height: 36px;
    }
}

/* Video modal mobile */
@media (max-width: 576px) {
    .video-modal-content {
        width: 95%;
        padding: 15px;
        max-height: 80vh;
    }
    
    .video-modal iframe,
    .video-modal video {
        aspect-ratio: 16 / 9;
        max-height: 60vh;
        object-fit: contain;
    }
    
    /* All section video containers */
    #aiVideoContainer,
    #theSystemVideoContainer,
    #skillTestVideoContainer,
    #learningSystemVideoContainer,
    #careerRoadmapVideoContainer,
    #careerCapsulesVideoContainer,
    #languageBarrierVideoContainer,
    #readyForTestVideoContainer,
    #testBeforeTrustVideoContainer,
    #conceptualCommunicationVideoContainer,
    #thirtyMinutesVideoContainer,
    #itAspirantVideoContainer,
    #zeroToIndustryVideoContainer,
    #masterAiVideoContainer,
    #careerPathsVideoContainer {
        height: auto;
    }
    
    .close-video {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

#hero,
#the-system,
#ai-advantage,
#skill-test,
#learning-system,
#career-roadmap,
#career-capsules,
#language-barrier,
#ready-for-test,
#test-before-trust {
    scroll-margin-top: 450px;
}

/* PREMIUM FOOTER */
.site-footer {
    background:
        radial-gradient(circle at 20% 0%, rgba(230, 169, 60, 0.16), transparent 34%),
        linear-gradient(180deg, #2B2222 0%, #1F1919 100%);
    border-top: 3px solid var(--color-accent-primary);
    color: var(--color-text-primary);
    position: relative;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(230, 169, 60, 0.08), transparent 45%, rgba(230, 169, 60, 0.08));
    pointer-events: none;
}

.footer-top,
.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-top {
    padding: 56px 0 34px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 38px;
    align-items: start;
}

.footer-location,
.footer-content {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.footer-map-card {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(230, 169, 60, 0.35);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.footer-map-card iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
    filter: saturate(0.9) contrast(1.02);
}

.footer-address-card {
    padding: 22px 24px;
    border-radius: 20px;
    background: rgba(230, 169, 60, 0.08);
    border: 1px solid rgba(230, 169, 60, 0.22);
}

.footer-address-card address {
    margin: 0;
    font-style: normal;
    color: var(--color-text-primary);
    line-height: 1.8;
    font-size: 16px;
}

.footer-share-button,
.placeholder-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 999px;
    color: var(--color-bg-primary);
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-weight: 800;
    text-decoration: none;
    letter-spacing: .4px;
    box-shadow: 0 10px 28px rgba(230, 169, 60, 0.22);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.footer-share-button:hover,
.placeholder-home-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--color-accent-secondary), var(--color-accent-primary));
    box-shadow: 0 14px 34px rgba(230, 169, 60, 0.32);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.footer-link-item {
    min-height: 78px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(230, 169, 60, 0.18);
    text-decoration: none;
    transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.footer-link-item:hover {
    transform: translateY(-3px);
    background: rgba(230, 169, 60, 0.12);
    border-color: rgba(230, 169, 60, 0.48);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.footer-link-label {
    display: block;
    color: var(--color-text-primary);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: .6px;
}

.footer-link-support {
    display: block;
    margin-top: 6px;
    color: var(--color-text-secondary);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
}

.footer-social-section {
    padding-top: 4px;
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social-link {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--color-text-primary);
    background: rgba(230, 169, 60, 0.12);
    border: 1px solid rgba(230, 169, 60, 0.32);
    transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}

.footer-social-link svg {
    width: 22px;
    height: 22px;
}

.footer-social-link:hover {
    transform: translateY(-3px) scale(1.04);
    color: var(--color-bg-primary);
    background: var(--color-accent-primary);
    box-shadow: 0 10px 26px rgba(230, 169, 60, 0.28);
}

.footer-elms-card {
    padding: 24px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(230, 169, 60, 0.18), rgba(230, 169, 60, 0.05)),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(230, 169, 60, 0.34);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
}

.footer-elms-eyebrow {
    margin: 0 0 8px;
    color: var(--color-accent-primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-elms-card h3 {
    margin: 0 0 18px;
    color: var(--color-text-primary);
    font-size: 22px;
    line-height: 1.35;
    font-weight: 800;
}

.footer-elms-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 999px;
    color: var(--color-bg-primary);
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    font-weight: 900;
    text-decoration: none;
    letter-spacing: .8px;
    box-shadow: 0 12px 30px rgba(230, 169, 60, 0.24);
    transition: transform .25s ease, box-shadow .25s ease;
}

.footer-elms-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(230, 169, 60, 0.34);
}

.footer-bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(230, 169, 60, 0.22);
    background: rgba(0, 0, 0, 0.16);
}

.footer-bottom p {
    margin: 0;
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 13px;
}

.placeholder-page-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 90px 0 120px;
    background:
        radial-gradient(circle at 50% 0%, rgba(230, 169, 60, 0.12), transparent 38%),
        linear-gradient(180deg, rgba(59, 47, 47, 0.7), rgba(31, 25, 25, 0.96));
}

.placeholder-page-card {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 46px 34px;
    text-align: center;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(230, 169, 60, 0.12), rgba(255, 255, 255, 0.045));
    border: 1px solid rgba(230, 169, 60, 0.32);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.placeholder-eyebrow,
.footer-kicker {
    margin: 0 0 12px;
    color: var(--color-accent-primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.placeholder-page-card h1 {
    margin: 0;
    color: var(--color-text-primary);
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 3px;
}

.placeholder-subtitle {
    margin: 16px 0 0;
    color: var(--color-accent-primary);
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 800;
}

.placeholder-divider {
    width: 130px;
    height: 5px;
    margin: 28px auto;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--color-accent-primary), var(--color-accent-secondary), transparent);
}

.placeholder-message {
    max-width: 560px;
    margin: 0 auto 28px;
    color: var(--color-text-secondary);
    font-size: 17px;
    line-height: 1.8;
}

@media (max-width: 991px) { 
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-map-card iframe {
        height: 320px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .nav-link {
        min-width: 90px;
        padding: 8px 10px;
        font-size: 13px;
    }

    .nav-link-support {
        font-size: 10px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-map-card iframe {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 42px 0 28px;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
    }

    .footer-map-card iframe {
        height: 280px;
    }

    .footer-address-card,
    .footer-elms-card,
    .placeholder-page-card {
        padding: 24px;
    }
}

@media (max-width: 576px) {
    .nav-link {
        min-width: 112px;
        padding: 8px 10px;
    }

    .nav-link-support {
        font-size: 9px;
    }

    .footer-map-card iframe {
        height: 240px;
    }

    .footer-share-button,
    .placeholder-home-button,
    .footer-elms-button {
        width: 100%;
    }

    .footer-social-icons {
        flex-wrap: wrap;
    }

    .placeholder-page-section {
        padding: 70px 0 90px;
    }
}