/* ============================================
   PRATHAM DEFENCE ACADEMY - ENHANCED UI/UX
   Premium Landing Page Stylesheet
   ============================================ */

:root {
    --navy: #0a1628;
    --navy-dark: #060f1d;
    --navy-light: #1a2d4a;
    --blue-defence: #0d2b5e;
    --gold: #d4a745;
    --gold-light: #f0c75e;
    --orange-cta: #e67e22;
    --green-dark: #1a472a;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --font-primary: 'Poppins', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; overflow-x: hidden; }
body { font-family: var(--font-primary); color: var(--text-dark); line-height: 1.7; overflow-x: hidden; background: var(--white); max-width: 100%; }
/* Overflow safety: contain the marquee row and any full-bleed rows */
.top-notification-bar, .top-notification-bar .row { overflow: hidden; }
img, video { max-width: 100%; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; transition: var(--transition); }

.text-gold { color: var(--gold) !important; }
.z-2 { z-index: 2; }
/* Premium vertical rhythm - generous, intentional spacing */
.section-padding { padding: 110px 0; }
.section-subtitle { display: inline-block; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); margin-bottom: 12px; }
.section-title-dark { font-size: 2.5rem; font-weight: 800; color: var(--navy); margin-bottom: 22px; line-height: 1.25; }
/* Center-aligned section header wrapper gets extra breathing room before content */
.text-center.mb-5 { margin-bottom: 3.5rem !important; }
.section-lead { color: var(--text-muted); font-size: 1rem; line-height: 1.8; }
.title-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.title-dots span { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }
.title-dots span:nth-child(2) { width: 24px; border-radius: 4px; }

/* ---- Animations ---- */
@keyframes fadeUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
.animate-fade-up { animation: fadeUp 0.8s ease forwards; }
.delay-1 { animation-delay: 0.2s; opacity: 0; }
.delay-2 { animation-delay: 0.4s; opacity: 0; }
.delay-3 { animation-delay: 0.6s; opacity: 0; }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .animate-fade-up, .animate-on-scroll { animation:none; opacity:1; transform:none; transition:none; } }

/* ============================================
   TOP NOTIFICATION BAR (Learn With Sumit style)
   ============================================ */
.top-notification-bar {
    background: var(--navy-dark);
    color: var(--white);
    padding: 6px 0;
    font-size: 0.78rem;
    border-bottom: 2px solid var(--gold);
    position: relative;
    z-index: 1060;
}
.top-bar-left { display: flex; align-items: center; gap: 15px; }
.top-bar-item { display: inline-flex; align-items: center; gap: 5px; opacity: 0.9; }
.top-bar-item a { color: var(--white); }
.top-bar-item a:hover { color: var(--gold); }
.top-bar-item i { color: var(--gold); font-size: 0.75rem; }
.top-bar-right { display: flex; align-items: center; }
.top-bar-social { display: flex; gap: 10px; }
.top-bar-social a { color: rgba(255,255,255,0.8); font-size: 0.85rem; }
.top-bar-social a:hover { color: var(--gold); }

/* Marquee */
.marquee-wrapper { overflow: hidden; white-space: nowrap; width: 100%; max-width: 100%; }
.marquee-content { display: inline-block; animation: marqueeScroll 30s linear infinite; will-change: transform; }
.marquee-content a { color: var(--gold-light); font-weight: 600; }
.marquee-text { display: inline-block; padding-right: 60px; }
.marquee-text i { margin-right: 6px; }
@keyframes marqueeScroll { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* Top bar left column must clip long email so marquee never overlaps it */
.top-bar-left { min-width: 0; }
.top-bar-item { min-width: 0; }
.top-bar-item a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* Top bar responsive: prevent overlap of marquee with phone/email/social */
@media (max-width: 1199px) {
    /* On smaller desktop/tablet, hide the long email; keep phone only */
    .top-bar-left .top-bar-item:nth-child(2) { display: none; }
    .top-bar-left, .top-bar-right { font-size: 0.72rem; }
    .top-bar-item { gap: 4px; }
}
@media (max-width: 767px) {
    /* Mobile: show ONLY the scrolling announcement, centered & contained */
    .top-notification-bar .top-bar-left,
    .top-notification-bar .top-bar-right { display: none !important; }
    .top-notification-bar .col-12 { flex: 0 0 100%; max-width: 100%; }
    .marquee-text { padding-right: 40px; }
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: var(--navy);
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    overflow: visible;
}
.main-header.scrolled { box-shadow: var(--shadow-lg); }
.main-header .navbar { padding: 10px 0; }

/* Logo - overlaps header slightly per reference */
.header-logo {
    height: 62px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    position: relative;
    z-index: 10;
    margin-top: -5px;
    margin-bottom: -12px;
    transition: all 0.3s ease;
}

/* Large screen: logo absolute & bigger when at top */
@media (min-width: 992px) {
    .header-logo {
        height: 90px;
        position: absolute;
        margin-top: 0;
        margin-bottom: 0;
    }
    /* When scrolled, shrink back to normal */
    .main-header.scrolled .header-logo {
        height: 52px;
        position: relative;
        margin-top: -5px;
        margin-bottom: -12px;
    }
}

.navbar-nav .nav-link { color: rgba(255,255,255,0.9); font-size: 0.88rem; font-weight: 500; padding: 8px 13px; position: relative; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--gold); }
.navbar-nav .nav-link.active::after { content:''; position:absolute; bottom:2px; left:50%; transform:translateX(-50%); width:20px; height:3px; background:var(--gold); border-radius:2px; }

/* Dropdown - hover interaction on desktop */
@media (min-width: 992px) {
    .nav-item.dropdown { position: relative; }
    .nav-item.dropdown .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
        pointer-events: none;
        margin-top: 0;
    }
    .nav-item.dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    /* Invisible bridge to prevent flicker */
    .nav-item.dropdown .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 0;
        right: 0;
        height: 10px;
    }
}

.dropdown-menu { background: var(--white); border: none; box-shadow: 0 10px 30px rgba(0,0,0,0.15); border-radius: var(--radius-md); padding: 10px; min-width: 240px; }
.dropdown-item { font-size: 0.85rem; padding: 10px 14px; display: flex; align-items: center; gap: 10px; transition: var(--transition); border-radius: var(--radius-sm); color: var(--text-dark); }
.dropdown-item::before { content: '\F26E'; font-family: 'bootstrap-icons'; font-size: 0.85rem; color: var(--gold); flex-shrink: 0; }
.dropdown-item:hover { background: var(--light-gray); color: var(--navy); padding-left: 18px; }
.btn-cta-header { background: var(--orange-cta); color: var(--white) !important; font-weight: 600; font-size: 0.82rem; padding: 10px 22px; border-radius: 50px; text-transform: uppercase; letter-spacing: 0.5px; border: none; }
.btn-cta-header:hover { background: #d35400; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(230,126,34,0.4); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section { position: relative; background: linear-gradient(135deg, var(--navy) 0%, var(--blue-defence) 100%); display: flex; align-items: center; padding-top: 80px; padding-bottom: 80px; overflow: hidden; }
.hero-section::before { content:''; position:absolute; top:0; left:0; right:0; bottom:0; background: url('../images/hero/background_img.png') center/cover no-repeat; opacity: 0.45; }
.hero-bg-overlay { position:absolute; top:0; left:0; right:0; bottom:0; background: linear-gradient(135deg, rgba(10,22,40,0.4) 0%, rgba(13,43,94,0.65) 50%, rgba(10,22,40,0.4) 100%); z-index:1; }
.min-vh-hero { min-height: calc(100vh - 140px); }
.hero-eyebrow { display: inline-block; color: var(--gold); font-size: 1.15rem; font-weight: 700; font-family: 'Playfair Display', serif; font-style: italic; letter-spacing: 0.5px; margin-bottom: 10px; }
.hero-title { font-size: 3.1rem; font-weight: 900; line-height: 1.12; margin-bottom: 18px; text-transform: uppercase; letter-spacing: -1px; }
.hero-title .text-gold { font-size:0.82em; }
.hero-title .text-gold { background: linear-gradient(135deg, var(--gold), var(--orange-cta)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { color: rgba(255,255,255,0.9); font-size: 1.05rem; margin-bottom: 28px; line-height: 1.8; }
.hero-features { margin-bottom: 32px; }
.hero-feature-item { display:flex; align-items:center; gap:10px; color:rgba(255,255,255,0.9); font-size:0.78rem; padding:10px 12px; background:rgba(255,255,255,0.08); border-radius:var(--radius-sm); border:1px solid rgba(255,255,255,0.1); transition:var(--transition); }
.hero-feature-item:hover { background:rgba(255,255,255,0.15); border-color:var(--gold); }
.hero-feature-item i { font-size:1.2rem; color:var(--gold); }
.hero-cta { display:flex; flex-wrap:wrap; gap:15px; }
.btn-hero-primary { background:var(--orange-cta); color:var(--white); font-weight:700; font-size:0.92rem; padding:14px 30px; border-radius:50px; text-transform:uppercase; border:none; box-shadow:0 4px 20px rgba(230,126,34,0.35); }
.btn-hero-primary:hover { background:#d35400; color:var(--white); transform:translateY(-3px); box-shadow:0 8px 30px rgba(230,126,34,0.5); }
.btn-hero-secondary { background:transparent; color:var(--white); font-weight:600; font-size:0.92rem; padding:14px 30px; border-radius:50px; text-transform:uppercase; border:2px solid rgba(255,255,255,0.5); }
.btn-hero-secondary:hover { background:var(--white); color:var(--navy); border-color:var(--white); transform:translateY(-3px); }

/* ============================================
   ENQUIRY FORM (Glass/Translucent)
   ============================================ */
.enquiry-form-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: var(--radius-lg);
    padding: 38px 34px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
    z-index: 10;
}
.form-header { text-align:center; margin-bottom:26px; }
.form-header h3 { font-size:1.4rem; font-weight:800; color:var(--white); margin-bottom:5px; }
.form-header p { color:var(--medium-gray); font-size:0.85rem; margin-bottom:0; }
.enquiry-form-card .form-control, .enquiry-form-card .form-select { border:1.5px solid var(--medium-gray); border-radius:var(--radius-sm); padding:12px 16px; font-size:0.88rem; background:rgba(255,255,255,0.9); transition:var(--transition); margin-bottom:2px; }
.enquiry-form-card .form-control:focus, .enquiry-form-card .form-select:focus { border-color:var(--navy); box-shadow:0 0 0 3px rgba(10,22,40,0.08); background:var(--white); }
/* Ensure the Course dropdown arrow is always clearly visible */
.enquiry-form-card .form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230a1628'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px 14px;
    padding-right: 40px;
}
.btn-submit-enquiry { background:var(--orange-cta); color:var(--white); font-weight:700; font-size:0.95rem; padding:13px; border-radius:var(--radius-sm); text-transform:uppercase; border:none; }
.btn-submit-enquiry:hover { background:#d35400; color:var(--white); transform:translateY(-2px); box-shadow:0 4px 15px rgba(230,126,34,0.4); }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section { background: var(--white); }
.about-text { color: var(--text-muted); font-size: 0.97rem; margin-bottom: 16px; line-height: 1.85; }
.about-feature { display:flex; align-items:center; gap:12px; padding:16px 18px; background:var(--light-gray); border-radius:var(--radius-sm); transition:var(--transition); }
.about-feature:hover { background:var(--white); box-shadow:var(--shadow-md); transform:translateY(-3px); }
.about-feature i { font-size:1.6rem; color:var(--navy); }
.about-feature strong { display:block; font-size:0.85rem; color:var(--navy); }
.about-feature small { color:var(--text-muted); font-size:0.75rem; }
.about-image-wrapper { position:relative; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg); }
.about-img { width:100%; height:420px; object-fit:cover; border-radius:var(--radius-lg); }
.about-image-badge { position:absolute; bottom:20px; left:20px; background:var(--navy); color:var(--white); padding:14px 22px; border-radius:var(--radius-md); text-align:center; }
.badge-number { display:block; font-size:1.8rem; font-weight:800; color:var(--gold); line-height:1; }
.badge-text { font-size:0.72rem; opacity:0.9; }

/* ============================================
   COURSES SECTION
   ============================================ */
.courses-section { background: var(--light-gray); }
.course-card { background:var(--white); border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-sm); transition:var(--transition); height:100%; display:flex; flex-direction:column; }
.course-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.course-img-wrapper { position:relative; overflow:hidden; height:280px; }
.course-img-wrapper img { width:100%; height:100%; object-fit:cover; object-position:top center; transition:transform 0.5s ease; }
.course-card:hover .course-img-wrapper img { transform:scale(1.06); }
.course-badge { position:absolute; top:12px; left:12px; background:var(--navy); color:var(--white); font-size:0.68rem; font-weight:600; padding:4px 11px; border-radius:50px; }
.course-body { padding:26px 22px; flex:1; display:flex; flex-direction:column; }
.course-title { font-size:1rem; font-weight:700; color:var(--navy); margin-bottom:10px; }
.course-desc { color:var(--text-muted); font-size:0.85rem; line-height:1.7; flex:1; margin-bottom:20px; }
.course-actions { display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin-top:auto; padding-top:5px; }
.btn-enroll { background:var(--orange-cta); color:var(--white) !important; font-size:0.75rem; font-weight:700; padding:8px 14px; border-radius:50px; text-transform:uppercase; border:none; }
.btn-enroll:hover { background:#d35400; transform:translateY(-1px); }
.btn-view-more { background:transparent; color:var(--navy) !important; font-size:0.75rem; font-weight:700; padding:8px 14px; border-radius:50px; text-transform:uppercase; border:1.5px solid var(--navy); }
.btn-view-more:hover { background:var(--navy); color:var(--white) !important; }

/* ============================================
   NEW: LEAD TAGLINE / SECTION LEAD
   ============================================ */
.lead-tagline { font-size: 1.15rem; font-weight: 700; color: var(--gold); margin-bottom: 14px; }
.section-lead { color: var(--text-muted); font-size: 1rem; max-width: 720px; margin: 0 auto; }
.section-title-light { font-size: 2.4rem; font-weight: 800; color: var(--white); margin-bottom: 14px; line-height: 1.2; }

/* ============================================
   NEW: WHY PRATHAM - USP CARDS
   ============================================ */
.why-section { background: var(--white); }
.usp-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); height: 100%; }
.usp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.usp-img { height: 220px; overflow: hidden; }
.usp-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.5s ease; }
.usp-card:hover .usp-img img { transform: scale(1.06); }
.usp-body { padding: 34px 26px 30px; position: relative; }
.usp-icon { position: absolute; top: -28px; left: 22px; width: 56px; height: 56px; background: var(--orange-cta); color: var(--white); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 4px 15px rgba(230,126,34,0.4); }
.usp-body h4 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin: 22px 0 12px; }
.usp-body p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0; }

/* ============================================
   NEW: JOURNEY SECTION
   ============================================ */
.journey-section { position: relative; background: url('../images/allphotoes/2P2A0113.JPG') center/cover no-repeat fixed; }
.journey-overlay { position: absolute; top:0; left:0; right:0; bottom:0; background: linear-gradient(135deg, rgba(10,22,40,0.94) 0%, rgba(13,43,94,0.9) 100%); }
.journey-subtitle { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }
.journey-step { text-align: center; padding: 34px 20px 26px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md); position: relative; transition: var(--transition); height: 100%; }
.journey-step:hover { background: rgba(255,255,255,0.1); border-color: var(--gold); transform: translateY(-5px); }
.journey-number { position: absolute; top: 14px; right: 18px; font-size: 2.2rem; font-weight: 900; color: rgba(212,167,69,0.25); line-height: 1; }
.journey-icon { width: 64px; height: 64px; margin: 0 auto 18px; background: linear-gradient(135deg, var(--gold), var(--orange-cta)); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; }
.journey-step h4 { color: var(--white); font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; letter-spacing: 1px; }
.journey-step p { color: rgba(255,255,255,0.75); font-size: 0.85rem; margin-bottom: 0; }

/* ============================================
   NEW: TRAINING SECTION
   ============================================ */
.training-section { background: var(--light-gray); }
.training-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.training-tags span { display: inline-flex; align-items: center; gap: 6px; background: var(--white); color: var(--navy); font-size: 0.82rem; font-weight: 600; padding: 8px 14px; border-radius: 50px; box-shadow: var(--shadow-sm); }
.training-tags span i { color: var(--green-dark); }
.training-carousel { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.training-carousel .carousel-item img { width: 100%; height: 420px; object-fit: cover; }

/* ============================================
   NEW: HOSTEL SECTION
   ============================================ */
.hostel-section { background: var(--white); }
.hostel-img-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hostel-img-main img { width: 100%; height: 420px; object-fit: cover; transition: transform 0.5s ease; }
.hostel-img-main:hover img { transform: scale(1.04); }
.hostel-feature { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--light-gray); border-radius: var(--radius-sm); transition: var(--transition); height: 100%; }
.hostel-feature:hover { background: var(--white); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.hostel-feature i { font-size: 1.5rem; color: var(--orange-cta); flex-shrink: 0; }
.hostel-feature span { font-size: 0.85rem; font-weight: 600; color: var(--navy); }

/* ============================================
   NEW: FACILITIES SECTION
   ============================================ */
.facilities-section { background: var(--light-gray); }
.facility-card { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); height: 260px; transition: var(--transition); cursor: pointer; }
.facility-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.facility-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.facility-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.5s ease; }
.facility-card:hover img { transform: scale(1.08); }
.facility-label { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(10,22,40,0.92), transparent); color: var(--white); font-size: 0.95rem; font-weight: 600; padding: 30px 18px 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.facility-label i { color: var(--gold); }
.facility-count { font-size: 0.78rem; font-weight: 600; opacity: 0.9; display: inline-flex; align-items: center; gap: 5px; }

/* ============================================
   NEW: GALLERY TILES
   ============================================ */
.gallery-tile { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; transition: var(--transition); }
.gallery-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.5s ease; }
.gallery-tile:hover img { transform: scale(1.08); }
.gallery-tag { position: absolute; top: 10px; left: 10px; background: var(--orange-cta); color: var(--white); font-size: 0.68rem; font-weight: 600; padding: 4px 11px; border-radius: 50px; }

/* ============================================
   NEW: STRUCTURED LEARNING IMG
   ============================================ */
.learn-img-wrapper { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.learn-feature-img { width: 100%; height: 400px; object-fit: cover; }
.ssb-lead { color: rgba(255,255,255,0.85); font-size: 1rem; margin-bottom: 24px; max-width: 620px; }

/* ============================================
   NEW: COACHING SECTION
   ============================================ */
.coaching-section { background: var(--white); }

/* ============================================
   NEW: FACULTY / LEADERSHIP CARDS
   ============================================ */
.faculty-section { background: var(--light-gray); }
.leader-card { background: var(--white); border-radius: var(--radius-md); padding: 32px 26px; text-align: center; box-shadow: var(--shadow-sm); transition: var(--transition); height: 100%; }
.leader-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.leader-icon { width: 70px; height: 70px; margin: 0 auto 18px; background: linear-gradient(135deg, var(--navy), var(--blue-defence)); color: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; }
.leader-photo { width: 130px; height: 130px; margin: 0 auto 18px; border-radius: 50%; overflow: hidden; border: 3px solid var(--gold); box-shadow: var(--shadow-sm); }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.leader-card h4 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.leader-role { display: inline-block; background: var(--gold); color: var(--navy); font-size: 0.72rem; font-weight: 700; padding: 3px 14px; border-radius: 50px; text-transform: uppercase; margin-bottom: 8px; }
.leader-tagline { display: block; color: var(--navy); font-size: 0.82rem; font-weight: 600; margin-bottom: 12px; letter-spacing: 0.3px; }
.leader-tagline::before { content: '\F5DE'; font-family: 'bootstrap-icons'; color: var(--gold); margin-right: 5px; }
.leader-card p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0; }
.faculty-note { margin-top: 34px; }
.faculty-note p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.faculty-note i { color: var(--gold); margin-right: 6px; }

/* ============================================
   NEW: FOCUS / COMMITMENT CARDS
   ============================================ */
.focus-section { background: var(--white); }
.focus-card { text-align: center; padding: 32px 22px; background: var(--light-gray); border-radius: var(--radius-md); transition: var(--transition); height: 100%; }
.focus-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); background: var(--white); }
.focus-card i { font-size: 2.4rem; color: var(--orange-cta); margin-bottom: 16px; }
.focus-card h5 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.focus-card p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0; }

/* ============================================
   NEW: FACILITY QUICK-LINK STRIP (hero)
   ============================================ */
.facility-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.facility-pill { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--white); font-size: 0.8rem; font-weight: 600; padding: 8px 15px; border-radius: 50px; transition: var(--transition); white-space: nowrap; }
.facility-pill i { color: var(--gold); font-size: 0.95rem; }
.facility-pill:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateY(-2px); }
.facility-pill:hover i { color: var(--navy); }

/* ============================================
   NEW: MISSION & VISION
   ============================================ */
.mv-section { background: var(--light-gray); }
.mv-card { background: var(--white); border-radius: var(--radius-md); padding: 38px 32px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--gold); transition: var(--transition); height: 100%; }
.mv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.mv-icon { width: 64px; height: 64px; margin-bottom: 18px; background: linear-gradient(135deg, var(--navy), var(--blue-defence)); color: var(--gold); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; }
.mv-card h3 { font-size: 1.4rem; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.mv-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 0; }

/* ============================================
   NEW: FAQ SECTION
   ============================================ */
.faq-section { background: var(--light-gray); }
.faq-accordion .accordion-item { border: none; border-radius: var(--radius-md) !important; margin-bottom: 14px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-accordion .accordion-button { font-size: 0.98rem; font-weight: 600; color: var(--navy); padding: 18px 22px; background: var(--white); }
.faq-accordion .accordion-button:not(.collapsed) { color: var(--navy); background: var(--white); box-shadow: none; }
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 3px rgba(212,167,69,0.3); }
/* FAQ toggle icon: PLUS when closed, MINUS when open (glyph swap, not rotation) */
.faq-accordion .accordion-button::after {
    background-image: none;
    content: '\F64D'; /* bi-plus-lg */
    font-family: 'bootstrap-icons';
    font-size: 1.05rem;
    font-weight: 700;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(212,167,69,0.12);
    color: var(--gold);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
    transform: none;
    flex-shrink: 0;
}
.faq-accordion .accordion-button:not(.collapsed)::after {
    content: '\F63B'; /* bi-dash-lg (minus) */
    background: var(--gold);
    color: var(--white);
    transform: none;
}
.faq-accordion .accordion-button:not(.collapsed) { border-bottom: 1px solid var(--medium-gray); }
.faq-accordion .accordion-body { padding: 18px 22px 22px; color: var(--text-muted); font-size: 0.92rem; line-height: 1.85; background: var(--white); }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-hero { position: relative; padding: 130px 0 90px; background-size: cover; background-position: center; }
.contact-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,22,40,0.88) 0%, rgba(13,43,94,0.82) 100%); }
.contact-breadcrumb { position: relative; z-index: 2; color: rgba(255,255,255,0.8); font-size: 0.85rem; margin-bottom: 16px; }
.contact-breadcrumb a { color: var(--gold); }
.contact-breadcrumb i { font-size: 0.7rem; margin: 0 4px; }
.contact-hero-title { position: relative; z-index: 2; color: var(--white); font-size: 3rem; font-weight: 900; margin-bottom: 12px; text-transform: uppercase; letter-spacing: -0.5px; }
.contact-hero-sub { position: relative; z-index: 2; color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 640px; margin-bottom: 0; line-height: 1.8; }

.contact-section { background: var(--white); }
.contact-highlights { list-style: none; padding: 0; margin: 22px 0 30px; }
.contact-highlights li { padding: 7px 0; font-size: 0.95rem; display: flex; align-items: center; gap: 10px; color: var(--text-dark); }
.contact-highlights li i { color: var(--green-dark); font-size: 1.05rem; }

.contact-info-cards { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.contact-info-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--light-gray); border-radius: var(--radius-md); transition: var(--transition); color: var(--text-dark); }
.contact-info-card:hover { background: var(--white); box-shadow: var(--shadow-md); transform: translateX(4px); }
.ci-icon { width: 48px; height: 48px; flex-shrink: 0; background: linear-gradient(135deg, var(--navy), var(--blue-defence)); color: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.ci-label { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.contact-info-card strong { font-size: 0.92rem; color: var(--navy); word-break: break-word; }

.contact-quick-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-quick { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.85rem; padding: 12px 24px; border-radius: 50px; border: none; color: var(--white); transition: var(--transition); }
.btn-quick-call { background: #0d47a1; }
.btn-quick-call:hover { background: #0b3c8a; color: var(--white); transform: translateY(-2px); }
.btn-quick-wa { background: #25d366; }
.btn-quick-wa:hover { background: #1eb955; color: var(--white); transform: translateY(-2px); }

.contact-form-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px 36px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--gold); }
.contact-form-card .form-header { margin-bottom: 26px; }
.contact-form-card .form-header h3 { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-bottom: 5px; }
.contact-form-card .form-header p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0; }
.contact-form-card .form-label { font-size: 0.82rem; font-weight: 600; color: var(--text-dark); margin-bottom: 5px; }
.contact-form-card .form-control, .contact-form-card .form-select { border: 1.5px solid var(--medium-gray); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 0.9rem; }
.contact-form-card .form-control:focus, .contact-form-card .form-select:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(10,22,40,0.08); }
.contact-form-card .form-select {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230a1628'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 14px 14px; padding-right: 40px;
}

/* ============================================
   NEW: TRAINING CAROUSEL WRAPPER (arrow-clip fix)
   The wrapper gives padding so nav arrows sit OUTSIDE
   the image's clipping (overflow) area on desktop.
   ============================================ */
.training-carousel-wrapper { position: relative; padding: 0 26px; }
.training-carousel { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.training-carousel .carousel-item img { width: 100%; height: 420px; object-fit: cover; }
/* Arrows live INSIDE the carousel (which clips overflow), so keep them fully
   within the image bounds. Sit them just inside each edge so both prev and the
   right-hand next arrow are fully visible and clickable (no clipping). */
.training-carousel-wrapper .carousel-control-prev { left: 10px; }
.training-carousel-wrapper .carousel-control-next { right: 10px; }
.training-carousel-wrapper .carousel-control-prev,
.training-carousel-wrapper .carousel-control-next { z-index: 5; }

/* ============================================
   NEW: GALLERY LIGHTBOX
   ============================================ */
.lightbox-overlay { position: fixed; inset: 0; background: rgba(6,15,29,0.94); z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox { width: 100%; max-width: 960px; text-align: center; }
.lightbox-title { color: var(--gold); font-weight: 700; margin-bottom: 14px; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; }
.lightbox-close { position: absolute; top: 20px; right: 26px; background: none; border: none; color: var(--white); font-size: 2.4rem; line-height: 1; cursor: pointer; transition: var(--transition); }
.lightbox-close:hover { color: var(--gold); transform: rotate(90deg); }
.lightbox-stage { position: relative; display: flex; align-items: center; justify-content: center; }
.lightbox-image { max-width: 100%; max-height: 74vh; border-radius: var(--radius-md); object-fit: contain; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: var(--white); font-size: 1.3rem; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; z-index: 2; }
.lightbox-nav:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }
.lightbox-counter { color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 600; margin-top: 16px; }

/* ============================================
   SSB / SWOT SECTION
   ============================================ */
.ssb-section { position:relative; padding:100px 0; background:url('../images/allphotoes/2P2A0930.JPG') center/cover no-repeat; }
.ssb-overlay { position:absolute; top:0; left:0; right:0; bottom:0; background:linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(13,43,94,0.88) 100%); }
.ssb-title { color:var(--white); font-size:2.4rem; font-weight:800; margin-bottom:28px; }
.ssb-feature-item { display:flex; align-items:center; gap:10px; color:rgba(255,255,255,0.9); font-size:0.92rem; margin-bottom:8px; }
.ssb-feature-item i { color:var(--gold); font-size:1.1rem; }
.btn-ssb-cta { background:var(--gold); color:var(--navy); font-weight:700; font-size:0.88rem; padding:13px 28px; border-radius:50px; text-transform:uppercase; border:none; }
.btn-ssb-cta:hover { background:var(--gold-light); color:var(--navy); transform:translateY(-3px); box-shadow:0 4px 20px rgba(212,167,69,0.4); }

/* ============================================
   SHARED: FEATURE LIST (used by Coaching section)
   ============================================ */
.learn-features { list-style:none; padding:0; margin:18px 0; }
.learn-features li { padding:7px 0; font-size:0.92rem; display:flex; align-items:center; gap:10px; }
.learn-features li i { font-size:1rem; }

/* ============================================
   GALLERY / EXPERIENCE SECTION (voices-section reused)
   ============================================ */
.voices-section { background: var(--white); }

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.final-cta-section { position:relative; padding:100px 0; background:url('../images/hero/background_img.png') center/cover no-repeat; }
.cta-overlay { position:absolute; top:0; left:0; right:0; bottom:0; background:linear-gradient(135deg, rgba(10,22,40,0.93) 0%, rgba(13,43,94,0.9) 100%); }
.cta-title { font-size:2.6rem; font-weight:900; color:var(--white); margin-bottom:14px; text-transform:uppercase; }
.cta-subtitle { color:rgba(255,255,255,0.85); font-size:1.05rem; margin-bottom:28px; }
.btn-cta-final { background:var(--orange-cta); color:var(--white); font-weight:700; font-size:1rem; padding:15px 38px; border-radius:50px; text-transform:uppercase; border:none; letter-spacing:1px; }
.btn-cta-final:hover { background:#d35400; color:var(--white); transform:translateY(-3px); box-shadow:0 8px 30px rgba(230,126,34,0.5); }

/* ============================================
   FOOTER
   ============================================ */
.main-footer { background:var(--navy-dark); color:rgba(255,255,255,0.8); padding-top:70px; }
.footer-logo { height:52px; width:auto; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3)); }
.footer-brand p { font-size:0.82rem; line-height:1.7; opacity:0.8; }
.footer-social { display:flex; gap:10px; margin-top:14px; }
.footer-social a { width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,0.1); display:flex; align-items:center; justify-content:center; color:var(--white); transition:var(--transition); font-size:0.85rem; }
.footer-social a:hover { background:var(--gold); color:var(--navy); transform:translateY(-2px); }
.footer-title { color:var(--white); font-size:1rem; font-weight:700; margin-bottom:18px; position:relative; padding-bottom:10px; }
.footer-title::after { content:''; position:absolute; bottom:0; left:0; width:35px; height:2px; background:var(--gold); }
.footer-links { list-style:none; padding:0; margin:0; }
.footer-links li { margin-bottom:9px; }
.footer-links a { color:rgba(255,255,255,0.7); font-size:0.82rem; }
.footer-links a:hover { color:var(--gold); padding-left:4px; }
.footer-contact { list-style:none; padding:0; margin:0; }
.footer-contact li { display:flex; gap:8px; margin-bottom:10px; font-size:0.8rem; align-items:flex-start; }
.footer-contact li i { color:var(--gold); margin-top:3px; flex-shrink:0; font-size:0.75rem; }
.footer-contact a { color:rgba(255,255,255,0.7); }
.footer-contact a:hover { color:var(--gold); }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.1); padding:18px 0; margin-top:50px; }
.footer-bottom p { margin:0; font-size:0.78rem; opacity:0.7; }
.footer-bottom a { color:rgba(255,255,255,0.7); font-size:0.78rem; }
.footer-bottom a:hover { color:var(--gold); }

/* ============================================
   ADMISSION POPUP MODAL
   ============================================ */
.admission-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.admission-modal-overlay.active { opacity: 1; visibility: visible; }
.admission-modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 26px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
    max-height: 94vh;
    overflow-y: auto;
}
.admission-modal-overlay.active .admission-modal { transform: translateY(0) scale(1); }
.admission-close { position:absolute; top:12px; right:16px; background:none; border:none; font-size:1.7rem; color:var(--text-muted); cursor:pointer; line-height:1; transition:var(--transition); z-index:2; }
.admission-close:hover { color:var(--navy); transform:rotate(90deg); }
.admission-title { font-size:1.2rem; font-weight:700; color:var(--navy); text-align:center; margin-bottom:16px; }
.admission-modal .form-label { font-size:0.78rem; font-weight:600; color:var(--text-dark); margin-bottom:2px; }
.admission-modal .form-control, .admission-modal .form-select { border:1.5px solid var(--medium-gray); border-radius:var(--radius-sm); padding:8px 12px; font-size:0.85rem; }
.admission-modal .form-control:focus, .admission-modal .form-select:focus { border-color:var(--navy); box-shadow:0 0 0 3px rgba(10,22,40,0.08); }
/* Consistent, clearly visible dropdown arrow for the Course/State selects */
.admission-modal .form-select {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230a1628'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 13px 13px; padding-right: 36px;
}
.btn-admission-submit { background:var(--orange-cta); color:var(--white); font-weight:700; font-size:0.9rem; padding:11px; border-radius:var(--radius-sm); text-transform:uppercase; border:none; }
.btn-admission-submit:hover { background:#d35400; color:var(--white); }

/* ============================================
   FLOATING CONTACT ACTIONS
   ============================================ */
.floating-actions { position:fixed; bottom:28px; right:28px; z-index:1040; display:flex; flex-direction:column; gap:12px; align-items:flex-end; }
.floating-btn { position:relative; }
.floating-btn a { display:flex; align-items:center; justify-content:center; width:52px; height:52px; border-radius:50%; color:var(--white); font-size:1.3rem; box-shadow:0 4px 15px rgba(0,0,0,0.2); transition:var(--transition); }
.floating-btn a:hover { transform:scale(1.1); }
.floating-call a { background:#0d47a1; }
.floating-whatsapp a { background:#25d366; }
.floating-bell a { background:var(--navy); }
.floating-tooltip { position:absolute; right:62px; top:50%; transform:translateY(-50%); background:var(--navy); color:var(--white); font-size:0.75rem; font-weight:600; padding:5px 12px; border-radius:4px; white-space:nowrap; opacity:0; visibility:hidden; transition:var(--transition); pointer-events:none; }
.floating-btn:hover .floating-tooltip { opacity:1; visibility:visible; }
.floating-badge { position:absolute; top:-2px; right:-2px; background:#e74c3c; color:var(--white); font-size:0.6rem; font-weight:700; width:18px; height:18px; border-radius:50%; display:flex; align-items:center; justify-content:center; }
/* Bell animation */
@keyframes bellRing { 0%{transform:rotate(0)} 10%{transform:rotate(12deg)} 20%{transform:rotate(-12deg)} 30%{transform:rotate(8deg)} 40%{transform:rotate(-8deg)} 50%{transform:rotate(0)} 100%{transform:rotate(0)} }
.floating-bell a i { animation: bellRing 3s ease infinite; animation-delay: 2s; }

/* ============================================
   MOBILE BOTTOM CALL + WHATSAPP CTA BAR
   ============================================ */
.mobile-cta-bar {
    display: none; /* hidden on desktop/tablet, shown < 768px */
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1055;
    background: var(--white);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-cta-btn {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 8px;
    font-size: 1.05rem;
    font-weight: 700;
    transition: background 0.25s ease;
}
.mobile-cta-btn i { font-size: 1.25rem; }
.mobile-cta-call { color: var(--navy); border-right: 1px solid var(--medium-gray); }
.mobile-cta-call:hover, .mobile-cta-call:active { background: var(--light-gray); color: var(--navy); }
.mobile-cta-wa { color: #128C4B; }
.mobile-cta-wa:hover, .mobile-cta-wa:active { background: #eafaf0; color: #128C4B; }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top { position:fixed; bottom:28px; left:28px; width:42px; height:42px; background:var(--navy); color:var(--white); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:1.1rem; z-index:999; opacity:0; visibility:hidden; transition:var(--transition); box-shadow:var(--shadow-md); }
.back-to-top.visible { opacity:1; visibility:visible; }
.back-to-top:hover { background:var(--gold); color:var(--navy); transform:translateY(-3px); }

/* ============================================
   CAROUSEL CONTROLS
   ============================================ */
.carousel-control-prev, .carousel-control-next { width:38px; height:38px; background:var(--navy); border-radius:50%; top:50%; transform:translateY(-50%); opacity:1; transition:var(--transition); }
.carousel-control-prev { left:-18px; }
.carousel-control-next { right:-18px; }
.carousel-control-prev:hover, .carousel-control-next:hover { background:var(--gold); }
.carousel-control-prev-icon, .carousel-control-next-icon { width:14px; height:14px; }
.results-carousel-wrapper .carousel-control-prev, .results-carousel-wrapper .carousel-control-next { background:rgba(255,255,255,0.2); }
.results-carousel-wrapper .carousel-control-prev:hover, .results-carousel-wrapper .carousel-control-next:hover { background:var(--gold); }
.results-carousel-wrapper .carousel-control-prev { left:-8px; }
.results-carousel-wrapper .carousel-control-next { right:-8px; }

/* ============================================
   FORM VALIDATION
   ============================================ */
.form-control.is-invalid, .form-select.is-invalid { border-color:#dc3545; }
.form-control.is-valid, .form-select.is-valid { border-color:#198754; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (min-width:1400px) { .hero-title { font-size:3.5rem; } }

@media (max-width:1199px) {
    .hero-title { font-size:2.5rem; }
    .section-title-dark, .section-title-light { font-size:2.1rem; }
    .ssb-title { font-size:2.1rem; }
    .cta-title { font-size:2.2rem; }
}

@media (max-width:991px) {
    .section-padding { padding:70px 0; }
    .hero-section { padding-top:70px; }
    .hero-title { font-size:2.6rem; }
    .min-vh-hero { min-height:auto; padding:40px 0; }
    .enquiry-form-card { margin-top:35px; }
    .about-img { height:320px; }
    .section-title-dark, .section-title-light { font-size:1.9rem; }
    .ssb-title { font-size:1.9rem; }
    .cta-title { font-size:1.9rem; }
    .carousel-control-prev { left:-8px; }
    .carousel-control-next { right:-8px; }
    .journey-section { background-attachment: scroll; }
    .training-carousel .carousel-item img { height:340px; }
    .hostel-img-main img { height:340px; }
    .learn-feature-img { height:320px; }
}

@media (max-width:767px) {
    /* Reserve space so the fixed bottom Call/WhatsApp bar never covers footer content */
    body { padding-bottom: 56px; }
    .section-padding { padding:55px 0; }
    .hero-title { font-size:2rem; }
    .hero-subtitle br { display:none; }
    .hero-cta { flex-direction:column; }
    .hero-cta .btn { text-align:center; width:100%; }
    .section-title-dark, .section-title-light { font-size:1.6rem; }
    .cta-title { font-size:1.5rem; }
    .ssb-title { font-size:1.6rem; }
    .training-carousel .carousel-item img { height:280px; }
    .hostel-img-main img { height:280px; }
    .learn-feature-img { height:260px; }
    .facility-card { height:220px; }
    .usp-img { height:190px; }
    .results-banner { padding:28px 18px; }
    .count-number { font-size:2rem; }
    .results-title { font-size:1.5rem; }
    .about-img { height:260px; }
    .carousel-control-prev, .carousel-control-next { width:32px; height:32px; }
    .carousel-control-prev { left:0; }
    .carousel-control-next { right:0; }
    .app-img { max-width:220px; }
    .enquiry-form-card { padding:24px 18px; }
    /* Mobile bottom Call+WhatsApp bar visible; avoid duplicating floating call/whatsapp */
    .mobile-cta-bar { display:flex; }
    .floating-call, .floating-whatsapp { display:none; }
    /* Lift remaining floating bell + back-to-top above the bottom CTA bar */
    .floating-actions { bottom:74px; right:16px; gap:10px; }
    .floating-btn a { width:46px; height:46px; font-size:1.1rem; }
    .admission-modal { padding:28px 22px; }
    .back-to-top { left:16px; bottom:74px; }
    /* New sections mobile */
    .training-carousel-wrapper { padding:0 8px; }
    .training-carousel-wrapper .carousel-control-prev { left:6px; }
    .training-carousel-wrapper .carousel-control-next { right:6px; }
    .mv-card { padding:28px 22px; }
    .mv-card h3 { font-size:1.2rem; }
    .facility-strip { gap:8px; margin-top:20px; }
    .facility-pill { font-size:0.72rem; padding:7px 12px; }
    .lightbox-nav { width:38px; height:38px; font-size:1.1rem; }
    .lightbox-image { max-height:64vh; }
    .faq-accordion .accordion-button { font-size:0.9rem; padding:15px 16px; }
    /* Contact page mobile */
    .contact-hero { padding:100px 0 60px; }
    .contact-hero-title { font-size:2.1rem; }
    .contact-form-card { padding:28px 22px; }
    .contact-quick-actions .btn-quick { flex:1; justify-content:center; }
}

@media (max-width:575px) {
    .hero-title { font-size:1.8rem; }
    .hero-feature-item { flex-direction:column; text-align:center; padding:8px 6px; font-size:0.7rem; }
    .top-notification-bar { padding:4px 0; }
    .facility-strip { flex-wrap:nowrap; overflow-x:auto; padding-bottom:6px; -webkit-overflow-scrolling:touch; }
    .facility-pill { flex-shrink:0; }
}

@media print { .main-header, .back-to-top, .floating-actions, .mobile-cta-bar, .admission-modal-overlay, .top-notification-bar { display:none; } }

/* ============================================
   NDA JOURNEY SECTION (single added section)
   ============================================ */
.nda-journey-section { padding: 90px 0; background: linear-gradient(180deg, var(--light-gray) 0%, #eef2f7 100%); }
/* Single unified card: one border-radius + overflow hidden clips every child (image, curve, panel) */
.nda-journey-wrap { position: relative; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }

/* Left cadet image. The concave curve is cut directly INTO the image edge with clip-path,
   so the white content panel behind shows through the curve = one continuous card, no floating shape. */
.nda-journey-image {
    position: relative;
    height: 100%;
    min-height: 480px;
    /* Gold layer sits behind; the image is clipped slightly inside it so a thin gold rim
       follows the concave curve from top to bottom with no gap. */
    background: var(--gold);
    clip-path: ellipse(89% 132% at 11% 50%);
}
.nda-journey-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    /* Same concave shape, pulled ~3px tighter to reveal the gold rim beneath */
    clip-path: ellipse(calc(89% - 3px) 132% at 11% 50%);
}

/* Right content panel */
.nda-journey-content { padding: 50px 48px 46px; position: relative; z-index: 2; }
.nda-journey-title { font-size: 2.2rem; font-weight: 800; color: var(--navy); line-height: 1.25; margin: 6px 0 16px; }
.nda-journey-lead { color: var(--text-muted); font-size: 0.98rem; line-height: 1.8; margin-bottom: 28px; max-width: 640px; }

.nda-journey-features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 30px; margin-bottom: 32px; }
.nda-feature { display: flex; gap: 14px; align-items: flex-start; }
.nda-feature-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--navy), var(--blue-defence)); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.nda-feature-text h5 { font-size: 0.98rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.nda-feature-text p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 0; }

/* Bottom highlight strip */
.nda-journey-strip { display: flex; align-items: center; gap: 20px; background: linear-gradient(135deg, var(--navy) 0%, var(--blue-defence) 100%); border-radius: var(--radius-md); padding: 20px 26px; }
.nda-strip-item { display: flex; align-items: center; gap: 12px; flex: 1; }
.nda-strip-item i { font-size: 1.6rem; color: var(--gold); flex-shrink: 0; }
.nda-strip-item strong { display: block; color: var(--white); font-size: 1.05rem; font-weight: 800; line-height: 1.1; }
.nda-strip-item span { color: rgba(255,255,255,0.75); font-size: 0.78rem; }
.nda-strip-divider { width: 1px; align-self: stretch; background: rgba(255,255,255,0.2); }

/* Tablet & below: columns stack (col-lg), so drop the side curve to avoid a floating white cutout */
@media (max-width: 991px) {
    .nda-journey-section { padding: 70px 0; }
    .nda-journey-image { min-height: 420px; clip-path: none; background: linear-gradient(135deg, var(--navy) 0%, var(--blue-defence) 100%); }
    .nda-journey-image img { clip-path: none; }
    .nda-journey-content { padding: 40px 34px; }
    .nda-journey-title { font-size: 1.9rem; }
}

/* Mobile */
@media (max-width: 767px) {
    .nda-journey-section { padding: 55px 0; }
    .nda-journey-image { min-height: 340px; }
    .nda-journey-image img { object-position: top center; }
    .nda-journey-content { padding: 30px 22px; }
    .nda-journey-title { font-size: 1.6rem; }
    .nda-journey-features { grid-template-columns: 1fr; gap: 18px; }
    .nda-journey-strip { flex-direction: column; align-items: flex-start; gap: 16px; }
    .nda-strip-divider { display: none; }
}
