/* assets/css/homepage.css */

/* --- 1. MODERN NEWS TICKER --- */
.news-ticker-modern {
    background: #111;
    color: #fff;
    border-bottom: 2px solid var(--secondary);
    font-size: 0.9rem;
    position: relative;
    z-index: 100;
}
.ticker-modern-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 45px;
}
.ticker-label-modern {
    background: var(--primary);
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 700;
    margin-right: 20px;
}
.ticker-label-modern i { margin-right: 10px; }
.ticker-wrapper-modern { flex: 1; overflow: hidden; height: 100%; position: relative; }
.ticker-content-modern { position: relative; height: 100%; }
.ticker-item-modern {
    height: 45px; display: flex; align-items: center; position: absolute; top: 0; left: 0; width: 100%;
    transition: transform 0.5s ease-in-out;
}
.ticker-badge {
    background: var(--secondary); color: #000; padding: 2px 8px; border-radius: 4px; 
    font-size: 0.75rem; font-weight: 700; margin-right: 10px;
}
.ticker-date { margin-left: auto; font-size: 0.8rem; opacity: 0.7; padding-right: 20px; }
.ticker-controls-modern { display: flex; padding-right: 20px; }
.ticker-btn-modern {
    background: none; border: none; color: #aaa; cursor: pointer; padding: 0 8px; transition: 0.3s;
}
.ticker-btn-modern:hover { color: #fff; }

/* --- 2. HERO SECTION --- */
.hero-modern-section { position: relative; height: 85vh; min-height: 600px; overflow: hidden; display: flex; align-items: center; }
.hero-modern-slider, .hero-modern-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.hero-modern-slide {
    background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease;
    transform: scale(1.1);
}
.hero-modern-slide.active { opacity: 1; z-index: 1; animation: zoomOut 10s infinite alternate; }
@keyframes zoomOut { from { transform: scale(1.1); } to { transform: scale(1.0); } }

.hero-modern-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
}
.hero-modern-content { position: relative; z-index: 3; color: #fff; max-width: 800px; padding: 0 20px; }
.hero-modern-badge {
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 20px; border-radius: 50px; display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 25px; backdrop-filter: blur(5px);
}
.hero-modern-title { font-size: 3.5rem; line-height: 1.1; font-weight: 800; margin-bottom: 20px; }
.title-highlight { color: var(--secondary); }
.hero-modern-subtitle { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; line-height: 1.6; max-width: 600px; }
.hero-modern-actions { display: flex; gap: 20px; margin-bottom: 50px; }

/* Stats in Hero */
.hero-modern-stats {
    display: flex; gap: 40px; background: rgba(0,0,0,0.6); padding: 20px 30px; 
    border-radius: 12px; backdrop-filter: blur(10px); border-left: 4px solid var(--secondary);
}
.hero-stat { display: flex; align-items: center; gap: 15px; }
.hero-stat i { font-size: 2rem; color: var(--secondary); }
.stat-number-modern { font-size: 1.8rem; font-weight: 700; line-height: 1; display: block; }
.stat-label-modern { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }

/* --- 3. ANNOUNCEMENTS / UPDATES SECTION --- */
.updates-modern-section { padding: 100px 0; background: var(--light-bg); }
.updates-column-modern { background: white; border-radius: 15px; padding: 30px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); max-width: 800px; margin: 0 auto; }
.column-header-modern { display: flex; justify-content: space-between; margin-bottom: 25px; border-bottom: 2px solid #eee; padding-bottom: 15px; }
.info-card-modern { display: flex; align-items: center; gap: 20px; padding: 20px; background: #f8f9fa; border-radius: 10px; margin-bottom: 15px; }
.info-card-modern i { font-size: 1.8rem; color: var(--primary); }
.admission-cta-modern { margin-top: 30px; padding: 30px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; border-radius: 15px; text-align: center; }

/* --- 4. VIRTUAL TOUR - PROPER OVERLAY DESIGN --- */
.virtual-tour-modern { padding: 100px 0; background: #fff; }
.tour-header { text-align: center; margin-bottom: 50px; }
.section-title-modern { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; margin-bottom: 15px; color: var(--primary); }
.section-subtitle-modern { font-size: 1.2rem; color: #666; max-width: 600px; margin: 0 auto; }
.tour-container-modern { 
    margin-top: 50px; 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    position: relative;
}
.tour-viewer-modern { 
    position: relative; 
    height: 500px; 
    background: white;
}
.tour-scene-modern { 
    position: absolute; 
    width: 100%; 
    height: 100%; 
    opacity: 0; 
    transition: opacity 0.5s;
    top: 0;
    left: 0;
}
.tour-scene-modern.active { 
    opacity: 1; 
    z-index: 1; 
}
.tour-scene-modern img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}
.scene-hotspots-modern { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 2; 
}
.hotspot-modern { 
    position: absolute; 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    background: var(--secondary); 
    border: 3px solid white; 
    color: var(--primary-dark); 
    font-size: 1.2rem; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transform: translate(-50%, -50%); 
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 10;
}
.hotspot-modern:hover { 
    transform: translate(-50%, -50%) scale(1.2); 
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}
.tour-info-modern { 
    position: absolute;
    right: 30px;
    top: 30px;
    width: 300px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 15px;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.tour-info-modern h3 {
    margin: 0 0 20px 0;
    font-size: 1.5rem;
    color: var(--primary);
}
.facilities-list-modern { 
    list-style: none; 
    margin: 0;
    padding: 0;
}
.facilities-list-modern li { 
    padding: 12px 0; 
    border-bottom: 1px solid rgba(0,0,0,0.1); 
    display: flex; 
    gap: 12px; 
    align-items: center; 
    font-size: 1rem;
    line-height: 1.4;
}
.facilities-list-modern li:last-child {
    border-bottom: none;
}
.facilities-list-modern i { 
    color: var(--secondary); 
    font-size: 1.1rem;
    min-width: 20px;
    flex-shrink: 0;
}
.tour-controls-modern { 
    display: flex; 
    background: white; 
    border-top: 1px solid #eee; 
}
.tour-btn-modern { 
    flex: 1; 
    padding: 20px; 
    border: none; 
    background: #f8f9fa; 
    cursor: pointer; 
    border-right: 1px solid #eee; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    font-weight: 600; 
    transition: all 0.3s ease;
}
.tour-btn-modern:last-child {
    border-right: none;
}
.tour-btn-modern:hover {
    background: #e9ecef;
}
.tour-btn-modern.active { 
    background: var(--primary); 
    color: white; 
}
.tour-btn-modern.active:hover {
    background: var(--primary-dark);
}


/* ===== RESPONSIVE ADJUSTMENTS ===== */

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Tablet Landscape / Small Desktop (992px to 1199px) */
@media (max-width: 1199px) {
    .hero-modern-title {
        font-size: 3rem;
    }
    
    .tour-info-modern {
        width: 280px;
        right: 20px;
        top: 20px;
    }
    
    .hero-modern-stats {
        gap: 30px;
        padding: 15px 25px;
    }
    
    .facilities-list-modern li {
        font-size: 0.95rem;
        padding: 10px 0;
    }
}

/* Tablet Portrait (768px to 991px) */
@media (max-width: 991px) {
    /* News Ticker */
    .ticker-modern-container {
        height: auto;
        flex-direction: column;
        padding: 10px 15px;
    }
    
    .ticker-label-modern {
        width: 100%;
        justify-content: center;
        margin-right: 0;
        margin-bottom: 10px;
        height: 35px;
    }
    
    .ticker-wrapper-modern {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .ticker-controls-modern {
        align-self: flex-end;
        padding-right: 0;
    }
    
    /* Hero Section */
    .hero-modern-section {
        height: auto;
        min-height: 500px;
        padding: 60px 0;
    }
    
    .hero-modern-title {
        font-size: 2.5rem;
    }
    
    .hero-modern-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-modern-stats {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .hero-stat {
        justify-content: center;
        text-align: center;
    }
    
    /* Virtual Tour */
    .virtual-tour-modern {
        padding: 80px 0;
    }
    
    .tour-header {
        margin-bottom: 40px;
    }
    
    .section-title-modern {
        font-size: 2.2rem;
    }
    
    .tour-viewer-modern {
        height: 400px;
    }
    
    .tour-info-modern {
        right: 20px;
        top: 20px;
        width: 260px;
        padding: 20px;
    }
    
    .tour-info-modern h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .facilities-list-modern li {
        font-size: 0.9rem;
        padding: 8px 0;
    }
    
    .tour-controls-modern {
        flex-wrap: wrap;
    }
    
    .tour-btn-modern {
        min-width: calc(50% - 0.5px);
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .hotspot-modern {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* Updates Section */
    .updates-modern-section {
        padding: 60px 0;
    }
}

/* Mobile Landscape (576px to 767px) */
@media (max-width: 767px) {
    /* General */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* News Ticker */
    .ticker-item-modern {
        height: auto;
        padding: 8px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .ticker-date {
        margin-left: 0;
        padding-right: 0;
        align-self: flex-end;
    }
    
    .ticker-btn-modern {
        padding: 5px;
    }
    
    /* Hero Section */
    .hero-modern-section {
        padding: 40px 0;
        min-height: auto;
    }
    
    .hero-modern-content {
        text-align: center;
    }
    
    .hero-modern-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-modern-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-modern-actions {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .hero-modern-badge {
        font-size: 0.9rem;
        padding: 6px 15px;
    }
    
    .hero-modern-stats {
        padding: 15px;
    }
    
    .stat-number-modern {
        font-size: 1.5rem;
    }
    
    /* Updates Section */
    .updates-modern-section {
        padding: 40px 0;
    }
    
    .updates-column-modern {
        padding: 20px;
    }
    
    .column-header-modern {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .info-card-modern {
        flex-direction: column;
        text-align: center;
        padding: 15px;
        gap: 10px;
    }
    
    .admission-cta-modern {
        padding: 20px;
    }
    
    /* Virtual Tour - MOBILE OVERHAUL */
    .virtual-tour-modern {
        padding: 40px 0;
    }
    
    .section-title-modern {
        font-size: 1.8rem;
    }
    
    .section-subtitle-modern {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .tour-container-modern {
        margin-top: 30px;
        border-radius: 15px;
    }
    
    .tour-viewer-modern {
        height: 350px;
    }
    
    /* For mobile: Keep info panel overlay but reposition */
    .tour-info-modern {
        position: absolute;
        right: 15px;
        top: 15px;
        left: 15px;
        width: auto;
        max-width: 300px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(1px);
    }
    
    .tour-info-modern h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .facilities-list-modern li {
        padding: 6px 0;
        font-size: 0.85rem;
    }
    
    /* Tour controls become vertical on mobile */
    .tour-controls-modern {
        flex-direction: column;
    }
    
    .tour-btn-modern {
        width: 100%;
        padding: 15px;
        border-right: none;
        border-bottom: 1px solid #eee;
        justify-content: flex-start;
        text-align: left;
    }
    
    .tour-btn-modern:last-child {
        border-bottom: none;
    }
    
    .hotspot-modern {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        border-width: 2px;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
    /* Hero Section */
    .hero-modern-title {
        font-size: 1.7rem;
    }
    
    .hero-modern-badge {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
    
    .hero-modern-stats {
        padding: 12px;
        gap: 15px;
    }
    
    .hero-stat {
        gap: 10px;
    }
    
    .hero-stat i {
        font-size: 1.5rem;
    }
    
    .stat-number-modern {
        font-size: 1.3rem;
    }
    
    /* News Ticker */
    .ticker-label-modern {
        font-size: 0.8rem;
        padding: 0 15px;
    }
    
    .ticker-badge {
        font-size: 0.7rem;
        padding: 1px 6px;
    }
    
    /* Virtual Tour */
    .virtual-tour-modern {
        padding: 30px 0;
    }
    
    .tour-header {
        margin-bottom: 30px;
    }
    
    .section-title-modern {
        font-size: 1.6rem;
    }
    
    .section-subtitle-modern {
        font-size: 0.95rem;
    }
    
    .tour-viewer-modern {
        height: 300px;
    }
    
    .tour-info-modern {
        padding: 15px;
        right: 10px;
        top: 10px;
        left: 10px;
        max-width: none;
    }
    
    .tour-info-modern h3 {
        font-size: 1.1rem;
    }
    
    .facilities-list-modern li {
        padding: 5px 0;
        font-size: 0.8rem;
        gap: 8px;
    }
    
    .facilities-list-modern i {
        font-size: 0.9rem;
    }
    
    .tour-btn-modern {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .hotspot-modern {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    /* Updates Section */
    .section-title-modern {
        font-size: 1.6rem;
    }
    
    .info-card-modern i {
        font-size: 1.5rem;
    }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
    .hero-modern-title {
        font-size: 1.5rem;
    }
    
    .hero-modern-subtitle {
        font-size: 0.9rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .ticker-controls-modern {
        width: 100%;
        justify-content: center;
        margin-top: 5px;
    }
    
    .tour-viewer-modern {
        height: 250px;
    }
    
    .tour-info-modern {
        padding: 12px;
    }
    
    .tour-info-modern h3 {
        font-size: 1rem;
    }
    
    .facilities-list-modern li {
        font-size: 0.75rem;
        padding: 4px 0;
    }
    
    .tour-btn-modern {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .hotspot-modern {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

/* Very Small Mobile (up to 320px) */
@media (max-width: 320px) {
    .tour-info-modern {
        padding: 10px;
    }
    
    .tour-info-modern h3 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    
    .facilities-list-modern li {
        font-size: 0.7rem;
    }
    
    .tour-btn-modern {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
    
    .tour-btn-modern i {
        font-size: 0.9rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .ticker-btn-modern,
    .tour-btn-modern,
    .hotspot-modern,
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .hotspot-modern {
        width: 44px;
        height: 44px;
    }
    
    .tour-btn-modern {
        min-height: 50px;
    }
    
    /* Increase spacing for touch */
    .hero-modern-actions .btn {
        margin-bottom: 10px;
    }
    
    /* Remove hover effects for touch */
    .ticker-btn-modern:hover,
    .tour-btn-modern:hover {
        transform: none;
    }
    
    /* Add touch feedback */
    .tour-btn-modern:active {
        background: #e9ecef;
        transform: scale(0.98);
    }
    
    .tour-btn-modern.active:active {
        background: var(--primary-dark);
    }
    
    .hotspot-modern:active {
        transform: translate(-50%, -50%) scale(0.9);
    }
}

/* Landscape Mode Optimizations */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-modern-section {
        min-height: 100vh;
        height: auto;
    }
    
    .hero-modern-content {
        padding: 30px 0;
    }
    
    .hero-modern-stats {
        display: none;
    }
    
    .tour-viewer-modern {
        height: 250px;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-modern-slide {
        background-size: cover;
        background-attachment: fixed;
    }
}

/* Print Styles */
@media print {
    .news-ticker-modern,
    .hero-modern-slider,
    .hero-modern-overlay,
    .hero-modern-actions,
    .tour-controls-modern,
    .hotspot-modern {
        display: none;
    }
    
    .hero-modern-section {
        background: white !important;
        color: black !important;
        height: auto !important;
        min-height: auto !important;
    }
    
    .hero-modern-content {
        position: relative !important;
        color: black !important;
    }
    
    .tour-info-modern {
        position: relative !important;
        background: white !important;
        box-shadow: none !important;
        width: 100% !important;
        margin: 20px 0 !important;
    }
}

/* =========================================
   ADDITIONAL LANDING PAGE SECTIONS
   ========================================= */

/* --- GENERAL UTILITIES --- */
.section-header-centered { text-align: center; margin-bottom: 50px; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-tag { display: inline-block; background: #eef2f5; padding: 5px 15px; border-radius: 20px; color: var(--primary); font-size: 0.85rem; font-weight: 700; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.section-divider { width: 60px; height: 3px; background: var(--secondary); margin: 20px auto 0; }

/* Scroll Animation Class */
.fade-on-scroll { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.fade-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* --- 4. WHY CHOOSE US --- */
.why-us-modern-section { padding: 80px 0; background: #fff; }
.features-grid-modern { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-card-modern { background: #fff; padding: 35px 25px; border-radius: 15px; text-align: center; border: 1px solid #f0f0f0; transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; overflow: hidden; }
.feature-card-modern:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: transparent; }
.feature-card-modern::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--primary); transform: scaleX(0); transition: transform 0.3s ease; transform-origin: left; }
.feature-card-modern:hover::before { transform: scaleX(1); }
.feature-icon-wrapper { width: 70px; height: 70px; background: #f8f9fa; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.8rem; color: var(--primary); transition: 0.3s; }
.feature-card-modern:hover .feature-icon-wrapper { background: var(--primary); color: #fff; }
.feature-card-modern h4 { font-size: 1.25rem; margin-bottom: 15px; color: #333; }
.feature-card-modern p { color: #666; font-size: 0.95rem; line-height: 1.6; margin: 0; }

/* --- 5. PRINCIPAL WELCOME --- */
.welcome-split-section { padding: 80px 0; background: #fcfcfc; }
.welcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.welcome-image-wrapper { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 20px 20px 0px rgba(0,0,0,0.05); }
.welcome-image-wrapper img { width: 100%; height: auto; display: block; transition: 0.5s; }
.welcome-image-wrapper:hover img { transform: scale(1.05); }
.experience-badge { position: absolute; bottom: 30px; left: 30px; background: var(--secondary); color: #000; padding: 15px 20px; border-radius: 10px; display: flex; align-items: center; gap: 15px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.experience-badge .years { font-size: 2rem; font-weight: 800; line-height: 1; }
.experience-badge .text { font-size: 0.8rem; font-weight: 600; line-height: 1.2; }
.sub-heading { color: var(--secondary); font-weight: 700; text-transform: uppercase; font-size: 0.9rem; margin-bottom: 10px; }
.welcome-content h2 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 25px; color: var(--primary); }
.welcome-content .lead-text { font-size: 1.15rem; color: #333; font-weight: 500; margin-bottom: 20px; border-left: 4px solid var(--secondary); padding-left: 20px; }
.welcome-content p { color: #666; margin-bottom: 30px; }
.signature-block { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid #eee; }
.principal-info strong { display: block; font-size: 1.1rem; color: #333; }
.principal-info span { font-size: 0.9rem; color: #777; }
.btn-outline-dark { padding: 10px 25px; border: 2px solid #333; color: #333; background: transparent; border-radius: 5px; text-decoration: none; font-weight: 600; transition: 0.3s; }
.btn-outline-dark:hover { background: #333; color: #fff; }

/* --- 6. TESTIMONIALS --- */
.testimonials-modern-section { padding: 80px 0; background: var(--primary); position: relative; overflow: hidden; }
/* Decorative background circle */
.testimonials-modern-section::after { content: ''; position: absolute; top: -50%; right: -10%; width: 600px; height: 600px; border-radius: 50%; border: 50px solid rgba(255,255,255,0.05); z-index: 1; }
.testimonials-slider-wrapper { overflow-x: auto; padding-bottom: 30px; scrollbar-width: none; -ms-overflow-style: none; position: relative; z-index: 2; }
.testimonials-slider-wrapper::-webkit-scrollbar { display: none; }
.testimonial-track { display: flex; gap: 30px; width: max-content; padding: 10px 20px; }
.testimonial-card { width: 350px; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); padding: 30px; border-radius: 15px; color: #fff; display: flex; flex-direction: column; }
.quote-icon { font-size: 2rem; color: var(--secondary); margin-bottom: 20px; opacity: 0.8; }
.testimonial-text { font-size: 1rem; line-height: 1.6; margin-bottom: 25px; flex: 1; font-style: italic; opacity: 0.9; }
.testimonial-author { display: flex; align-items: center; gap: 15px; }
.testimonial-author img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--secondary); }
.testimonial-author h5 { margin: 0; font-size: 1.1rem; }
.testimonial-author span { font-size: 0.8rem; opacity: 0.7; }

/* --- 7. INQUIRY FORM --- */
.inquiry-modern-section { padding: 80px 0; background: #e9ecef; }
.inquiry-box { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.1); display: flex; flex-wrap: wrap; }
.inquiry-content { flex: 1; padding: 50px; background: var(--primary); color: #fff; min-width: 300px; display: flex; flex-direction: column; justify-content: center; }
.inquiry-content h3 { font-size: 2.2rem; margin-bottom: 20px; }
.inquiry-content p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 30px; line-height: 1.6; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { margin-bottom: 15px; display: flex; align-items: center; gap: 15px; font-size: 1.05rem; }
.check-list li i { color: var(--secondary); background: rgba(255,255,255,0.1); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }
.inquiry-form-wrapper { flex: 1; padding: 50px; min-width: 300px; }
.modern-form h4 { color: #333; margin-bottom: 25px; font-size: 1.5rem; }
.modern-form .form-group { margin-bottom: 20px; }
.modern-form input, .modern-form select { width: 100%; padding: 15px; background: #f8f9fa; border: 2px solid #eee; border-radius: 8px; font-size: 1rem; transition: 0.3s; }
.modern-form input:focus, .modern-form select:focus { border-color: var(--primary); background: #fff; outline: none; }
.btn-block { display: block; width: 100%; padding: 15px; font-size: 1.1rem; background: var(--secondary); color: #000; border: none; border-radius: 8px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.btn-block:hover { background: #e0ac1c; transform: translateY(-2px); }

/* --- RESPONSIVE ADJUSTMENTS FOR NEW SECTIONS --- */
@media (max-width: 991px) {
    .welcome-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .welcome-content .lead-text { border-left: none; border-top: 4px solid var(--secondary); padding-top: 20px; padding-left: 0; }
    .signature-block { flex-direction: column; gap: 20px; }
    .experience-badge { bottom: 20px; left: 50%; transform: translateX(-50%); }
    .inquiry-box { flex-direction: column; }
    .inquiry-content, .inquiry-form-wrapper { padding: 40px 30px; }
}

@media (max-width: 767px) {
    .section-title-modern { font-size: 1.8rem; }
    .welcome-content h2 { font-size: 2rem; }
    .feature-card-modern { padding: 25px 20px; }
    .testimonial-card { width: 280px; padding: 20px; }
    .inquiry-content h3 { font-size: 1.8rem; }
}


/* ===== NEW SECTIONS STYLES ===== */

/* 2. ADMISSIONS CALENDAR SECTION */
.admissions-calendar-section {
    padding: 100px 0;
}

.calendar-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.calendar-highlight {
    display: flex;
    gap: 25px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.highlight-date {
    background: rgba(255,255,255,0.2);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    min-width: 80px;
}

.date-day {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.highlight-details h3 {
    margin: 0 0 15px 0;
    font-size: 1.5rem;
}

.event-meta {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.events-timeline {
    border-left: 3px solid var(--primary);
    padding-left: 30px;
    margin-left: 15px;
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--secondary);
    border-radius: 50%;
    border: 3px solid white;
}

.timeline-date {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.timeline-content h4 {
    margin: 0 0 5px 0;
    color: #333;
}

.timeline-content p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.calendar-form .form-card {
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-card h3 {
    margin: 0 0 10px 0;
    color: var(--primary);
}

.form-card > p {
    color: #666;
    margin-bottom: 30px;
}

.lead-form .form-group {
    margin-bottom: 20px;
}

.lead-form input,
.lead-form select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.3s;
}

.lead-form input:focus,
.lead-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.lead-form .btn-block {
    width: 100%;
    padding: 15px;
}

.form-note {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    margin-top: 15px;
}

/* 3. PROGRAMS SECTION */
.programs-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.programs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.program-category {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.program-category:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--secondary);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
}

.program-category h3 {
    margin: 0 0 20px 0;
    color: var(--primary);
}

.program-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.program-list li {
    padding: 8px 0;
    color: #555;
    border-bottom: 1px solid #eee;
}

.program-list li:last-child {
    border-bottom: none;
}

/* 5. TESTIMONIALS SECTION */
.testimonials-section {
    padding: 100px 0;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-content {
    padding: 30px;
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: var(--secondary);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.testimonial-author h4 {
    margin: 0;
    color: var(--primary);
    font-size: 1.1rem;
}

.author-role {
    font-size: 0.9rem;
    color: #666;
}

.success-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 50px 0;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.metric-item {
    text-align: center;
    padding: 20px;
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.metric-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.cta-container {
    text-align: center;
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* 7. FAQ SECTION */
.faq-section {
    padding: 100px 0;
    background: white;
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.faq-item {
    border: 1px solid #e1e5e9;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-item.active {
    border-color: var(--primary);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #f8f9fa;
}

.faq-item.active .faq-question {
    background: var(--primary);
    color: white;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.quick-links .links-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.links-card h3 {
    margin: 0 0 25px 0;
    color: var(--primary);
}

.contact-info {
    border-top: 2px solid #ddd;
    padding-top: 30px;
}

.contact-info h4 {
    margin: 0 0 20px 0;
    color: var(--primary);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item strong {
    display: block;
    font-size: 0.9rem;
    color: #333;
}

.contact-item p {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE RULES FOR NEW SECTIONS ===== */
/* Tablet and Mobile General */
@media (max-width: 991px) {
    .calendar-container,
    .faq-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .programs-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .success-metrics {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px;
    }
    
    .cta-container {
        flex-direction: column;
        gap: 15px;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
    .programs-container {
        grid-template-columns: 1fr;
    }
    
    /* Ensure form and touch targets are large enough */
    .lead-form input,
    .lead-form select,
    .btn {
        min-height: 44px;
    }
    
    .calendar-highlight {
        flex-direction: column;
        text-align: center;
    }
    
    .highlight-date {
        align-self: center;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-card {
        padding: 25px !important;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .success-metrics {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
    /* Calendar */
    .events-timeline {
        padding-left: 20px;
        margin-left: 10px;
    }
    
    .timeline-item:before {
        left: -26px;
    }
    
    /* FAQ */
    .faq-question {
        padding: 15px;
    }
    
    .faq-question h4 {
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px;
    }
    
    /* Quick Links */
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-item i {
        align-self: center;
    }
    
    /* Testimonials */
    .metric-number {
        font-size: 2rem;
    }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
    /* Programs */
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .program-category h3 {
        font-size: 1.2rem;
    }
    
    /* FAQ */
    .faq-question h4 {
        font-size: 0.95rem;
        padding-right: 20px;
    }
}

/* ===== FORCE FOOTER VISIBILITY ===== */
html, body {
  height: auto !important;
  overflow-y: auto !important;
}

main {
  overflow: visible !important;
  height: auto !important;
}

/* Ensure hero does not lock viewport */
.hero-modern-section {
  min-height: 100vh;
  height: auto;
}

