/*
Theme Name: Enterprise Academic Theme
Description: Final Locked Production Edition
*/

:root {
    /* Academic Color System (ADP / Gyan Bikash DNA) */
    --color-primary: #800000;      /* Traditional Maroon */
    --color-primary-dark: #4d0000;
    --color-secondary: #0a192f;    /* Deep Institutional Navy */
    --color-secondary-light: #172a45;
    --color-gold: #c5a059;         /* Premium Gold */
    --color-text: #444444;
    --color-heading: #111111;
    --color-bg: #f5f7fa;           /* Cool Gray */
    --color-white: #ffffff;
    
    /* Spacing */
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

/* Base Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body.final-production { font-family: var(--font-sans); color: var(--color-text); line-height: 1.6; background-color: var(--color-bg); font-size: 16px; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-sans); color: var(--color-heading); font-weight: 700; line-height: 1.3; margin-bottom: 1rem; }
a { color: inherit; text-decoration: none; transition: 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }

/* Grid Utilities */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.grid { display: grid; gap: var(--space-md); }
.grid-cols-1 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .layout-split { grid-template-columns: 1fr 1fr; align-items: center; }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* Utility Classes */
.section-padding { padding: var(--space-xl) 0; }
.bg-light { background-color: var(--color-bg); }
.bg-dark { background-color: var(--color-secondary); color: var(--color-white); }
.bg-dark h2, .bg-dark h3 { color: var(--color-white); }
.text-center { text-align: center; }
.mb-xl { margin-bottom: var(--space-xl); }
.section-title { font-size: clamp(2rem, 4vw, 2.75rem); position: relative; padding-bottom: 15px; margin-bottom: 0; color: var(--color-secondary); }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 60px; height: 3px; background: var(--color-primary); }
.text-center .section-title::after { left: 50%; transform: translateX(-50%); }
.bg-dark .section-title { color: var(--color-white); }

/* Buttons (Professional, Solid) */
.btn-primary, .btn-outline { display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; border-radius: 4px; font-size: 14px; transition: 0.3s; cursor: pointer; }
.btn-primary { background: var(--color-primary); color: white; border: 2px solid var(--color-primary); }
.btn-primary:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); }
.btn-outline { background: transparent; color: white; border: 2px solid white; }
.btn-outline:hover { background: white; color: var(--color-secondary); }

/* Header & Navigation (Fixed Collapse Bug) */
.site-branding img { transition: 0.3s; }
.nav-menu { display: none; }
@media (min-width: 1024px) {
    .nav-menu { display: flex; align-items: center; margin: 0; padding: 0; white-space: nowrap; }
    .nav-menu ul { display: flex; gap: 20px; align-items: center; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }
    .nav-menu a { color: var(--color-white); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; transition: color 0.3s; white-space: nowrap; }
    .nav-menu a:hover { color: var(--color-gold); }
}
.site-header.scrolled .nav-menu a { color: var(--color-heading); }
.mobile-toggle { display: block; background: transparent; border: none; cursor: pointer; padding: 0; display: flex; align-items: center; }
.site-header:not(.scrolled) .mobile-toggle svg { stroke: white; }
@media (min-width: 1024px) { .mobile-toggle { display: none; } }


/* 1. HERO SECTION (90-100vh) */
.hero-locked { position: relative; height: 100vh; min-height: 600px; background: var(--color-secondary); }
.hero-module, .swiper-wrapper, .swiper-slide { height: 100%; width: 100%; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transform: scale(1.1); transition: transform 6s linear; }
.swiper-slide-active .hero-bg { transform: scale(1); }
.hero-overlay { position: absolute; inset: 0; z-index: 1; }
.hero-content { position: relative; z-index: 10; height: 100%; display: flex; align-items: center; }
.hero-text { max-width: 800px; opacity: 0; transform: translateY(30px); transition: all 1s ease 0.5s; }
.swiper-slide-active .hero-text { opacity: 1; transform: translateY(0); }
.hero-subtitle { display: inline-block; color: var(--color-gold); font-size: 1.125rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; border-bottom: 2px solid var(--color-primary); padding-bottom: 5px; }
.hero-title { color: white; font-size: clamp(3rem, 6vw, 5rem); line-height: 1.1; margin-bottom: 30px; text-shadow: 0 4px 12px rgba(0,0,0,0.4); }
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; }
.swiper-pagination-custom { position: absolute; bottom: 80px; left: 0; width: 100%; display: flex; justify-content: center; gap: 8px; z-index: 20; }
.swiper-pagination-custom .swiper-pagination-bullet { width: 30px; height: 4px; background: rgba(255,255,255,0.4); border-radius: 0; opacity: 1; }
.swiper-pagination-custom .swiper-pagination-bullet-active { background: var(--color-primary); }
.hero-scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 20; text-align: center; color: white; }
.hero-scroll-indicator .mouse { width: 26px; height: 40px; border: 2px solid white; border-radius: 15px; margin: 0 auto 10px; position: relative; }
.hero-scroll-indicator .mouse::before { content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: white; border-radius: 2px; animation: scroll 2s infinite; }
@keyframes scroll { 0% { top: 6px; opacity: 1; } 100% { top: 20px; opacity: 0; } }
.hero-scroll-indicator span { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; }

/* 2. FLOATING STATISTICS */
.floating-stats { position: relative; margin-top: -60px; z-index: 30; }
.stats-grid { background: var(--color-secondary); color: white; display: grid; grid-template-columns: repeat(2, 1fr); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-box { padding: 30px; text-align: center; border-right: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); }
.stat-box:last-child { border-right: none; }
.stat-box .number { display: block; font-size: 3rem; font-weight: 700; color: var(--color-gold); line-height: 1; margin-bottom: 10px; }
.stat-box .label { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* 3. CONTINUOUS FLOW WRAPPER */
.continuous-flow { background: white; }

/* ABOUT SCHOOL */
.about-section { padding-top: 100px; } /* Space for overlapping stats */
.about-image { position: relative; }
.about-image img { width: 100%; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.experience-badge { position: absolute; bottom: -20px; right: -20px; background: var(--color-primary); color: white; width: 140px; height: 140px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 6px solid white; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.experience-badge .num { font-size: 2rem; font-weight: 800; line-height: 1; }
.experience-badge .txt { font-size: 12px; font-weight: 600; text-transform: uppercase; text-align: center; margin-top: 5px; }

/* 4&5. LEADERSHIP */
.leadership-card { display: flex; flex-direction: column; background: white; padding: 40px; border-radius: 4px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border-top: 4px solid var(--color-primary); }
@media (min-width: 640px) { .leadership-card { flex-direction: row; gap: 30px; } }
.leader-photo { flex-shrink: 0; }
.leader-photo img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid var(--color-bg); }
.leader-content h4 { font-size: 20px; margin-bottom: 5px; }
.leader-content .designation { display: block; color: var(--color-primary); font-size: 13px; font-weight: 700; text-transform: uppercase; margin-bottom: 20px; }
.leader-content .quote { font-family: var(--font-serif); font-style: italic; font-size: 16px; color: var(--color-text); margin-bottom: 20px; line-height: 1.6; }
.leader-content .sig { max-height: 40px; margin-bottom: 20px; opacity: 0.8; }
.read-more { color: var(--color-secondary); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.read-more:hover { color: var(--color-primary); }

/* 6. VISION & MISSION */
.vm-card { display: flex; gap: 20px; padding: 40px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; }
.vm-card .icon { width: 60px; height: 60px; background: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; flex-shrink: 0; }
.vm-card h3 { color: var(--color-gold); font-size: 24px; margin-bottom: 15px; }
.vm-card p { color: rgba(255,255,255,0.8); }

/* 7. WHY CHOOSE US */
.feature-card { text-align: center; padding: 30px; background: white; border: 1px solid #eaeaea; border-radius: 4px; transition: 0.3s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); border-color: var(--color-primary); }
.feature-card .icon { width: 60px; height: 60px; margin: 0 auto 20px; background: var(--color-bg); color: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.feature-card:hover .icon { background: var(--color-primary); color: white; }

/* 8. FACILITIES */
.facility-card { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 4/3; }
.facility-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.facility-card:hover img { transform: scale(1.05); }
.facility-card .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%); display: flex; align-items: flex-end; padding: 20px; }
.facility-card h4 { color: white; margin: 0; font-size: 18px; }

/* 9. ACADEMIC PROGRAMS */
.program-card { background: white; border-radius: 4px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #eaeaea; }
.program-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-bottom: 3px solid var(--color-primary); }
.program-card .content { padding: 30px; }
.program-card h4 { font-size: 20px; margin-bottom: 15px; }

/* 10. ACHIEVEMENTS */
.achievements-section { position: relative; padding: 80px 0; overflow: hidden; background: var(--color-secondary); }
.achievements-section .ach-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.2; }
.achievements-section .overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,25,47,0.9), rgba(128,0,0,0.8)); }
.stat-item { text-align: center; color: white; }
.stat-item .number { font-size: 3.5rem; font-weight: 800; color: white; margin-bottom: 10px; line-height: 1; }
.stat-item .label { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--color-gold); }

/* 11. NEWS & NOTICE BOARD */
.news-list { display: flex; flex-direction: column; gap: 30px; }
.news-card { display: flex; flex-direction: column; background: white; border: 1px solid #eaeaea; border-radius: 4px; overflow: hidden; }
@media (min-width: 640px) { .news-card { flex-direction: row; } }
.news-card .img-wrap { width: 100%; aspect-ratio: 4/3; }
@media (min-width: 640px) { .news-card .img-wrap { width: 250px; aspect-ratio: auto; flex-shrink: 0; } }
.news-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.news-card .content { padding: 30px; }
.news-card .cat { font-size: 12px; color: var(--color-primary); font-weight: 700; text-transform: uppercase; margin-bottom: 10px; display: block; }
.news-card .date { font-size: 13px; color: #888; display: block; margin-bottom: 15px; }

.notice-widget { background: white; border: 1px solid #eaeaea; border-top: 4px solid var(--color-primary); border-radius: 4px; padding: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.notice-item { display: flex; gap: 20px; align-items: flex-start; padding: 15px 0; border-bottom: 1px dashed #eaeaea; }
.notice-item:last-child { border-bottom: none; padding-bottom: 0; }
.notice-item .date-block { background: var(--color-bg); padding: 10px; text-align: center; border-radius: 4px; min-width: 60px; flex-shrink: 0; }
.notice-item .date-block .d { display: block; font-size: 18px; font-weight: 800; color: var(--color-primary); line-height: 1; }
.notice-item .date-block .m { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; }
.notice-item .txt h5 { font-size: 15px; margin-bottom: 5px; line-height: 1.4; transition: 0.2s; }
.notice-item:hover .txt h5 { color: var(--color-primary); }
.notice-item .pdf-link { font-size: 12px; color: #888; display: flex; align-items: center; gap: 5px; }

/* 12. EVENTS */
.event-card { display: flex; gap: 20px; padding: 20px; background: white; border: 1px solid #eaeaea; border-radius: 4px; align-items: center; }
.event-card .cal { background: var(--color-secondary); color: white; padding: 15px; text-align: center; border-radius: 4px; min-width: 70px; }
.event-card .cal .d { display: block; font-size: 24px; font-weight: 800; line-height: 1; margin-bottom: 5px; }
.event-card .cal .m { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--color-gold); }
.event-card .det h4 { font-size: 18px; margin-bottom: 10px; }
.event-card .det .meta { font-size: 13px; color: #666; display: flex; align-items: center; gap: 10px; }

/* 13. GALLERY */
.gallery-masonry { columns: 1; column-gap: 20px; }
@media (min-width: 640px) { .gallery-masonry { columns: 2; } }
@media (min-width: 1024px) { .gallery-masonry { columns: 3; } }
.gallery-item { margin-bottom: 20px; break-inside: avoid; position: relative; border-radius: 4px; overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; display: block; }
.gallery-item .gal-hover { position: absolute; inset: 0; background: rgba(10,25,47,0.7); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; color: white; }
.gallery-item:hover .gal-hover { opacity: 1; }

/* 14. TESTIMONIALS */
.test-slider { padding-bottom: 60px; }
.test-card { background: white; padding: 40px; border-radius: 4px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #eaeaea; margin: 10px; }
.test-card p { font-family: var(--font-serif); font-size: 18px; font-style: italic; color: var(--color-text); margin-bottom: 30px; line-height: 1.6; }
.test-card .auth { display: flex; flex-direction: column; align-items: center; gap: 15px; }
.test-card .auth img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; border: 3px solid var(--color-primary); }
.test-card .auth h5 { margin: 0; font-size: 16px; }
.test-card .auth span { font-size: 12px; font-weight: 700; text-transform: uppercase; color: #888; }

/* 15. CTA */
.cta-section { background: var(--color-primary); color: white; text-align: center; padding: 80px 0; }
.cta-inner { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.cta-inner h2 { font-size: clamp(2rem, 4vw, 3.5rem); color: white; margin-bottom: 40px; }
.cta-inner .btns { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cta-inner .btn-primary { background: white; color: var(--color-primary); border-color: white; }
.cta-inner .btn-primary:hover { background: var(--color-bg); }

/* 16. CONTACT */
.contact-section { background: white; }
.contact-grid { display: grid; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info { padding: 80px 40px; background: var(--color-secondary); color: white; }
@media (min-width: 1024px) { .contact-info { padding: 80px; } }
.contact-info h2 { color: white; margin-bottom: 40px; font-size: 32px; }
.contact-info .info-list { display: flex; flex-direction: column; gap: 30px; }
.contact-info .item { display: flex; align-items: flex-start; gap: 20px; }
.contact-info .item i { color: var(--color-gold); font-size: 24px; }
.contact-info .item span { font-size: 18px; line-height: 1.4; }
.contact-map { min-height: 400px; }

/* FOOTER */
.site-footer { background: #071222; color: #a0aec0; padding-top: 80px; }
.footer-widget h3 { color: white; font-size: 20px; margin-bottom: 30px; position: relative; padding-bottom: 15px; }
.footer-widget h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: var(--color-primary); }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: white; border-radius: 4px; }
.social-links a:hover { background: var(--color-primary); }
.footer-widget ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 15px; }
.footer-widget ul li a:hover { color: white; margin-left: 5px; }
.contact-ul li { display: flex; gap: 15px; align-items: flex-start; }
.contact-ul i { color: var(--color-gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 60px; padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; font-size: 14px; }

/* Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
