/* ==========================================================================
   1. EXISTING STYLES (DO NOT CHANGE)
   ========================================================================== */

/* --- IMPORTS & FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Playfair+Display:wght@700&family=Montserrat:wght@700&display=swap');

/* --- VARIABLES & RESET --- */
:root { --primary: #002147; --accent: #ff9800; --white: #ffffff; --bg-light: #f4f7f6; --shadow: 0 5px 15px rgba(0,0,0,0.1); --tech-bg: linear-gradient(135deg, #00152e 0%, #003366 100%); --text-main: #333333; --menu-sub-bg: #00152e; --box-bg: #ffffff; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Open Sans', sans-serif; background: var(--bg-light); color: var(--text-main); line-height: 1.6; overflow-x: hidden; width: 100%; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; } img { max-width: 100%; height: auto; display: block; }
body.dark-mode { background: #121212; color: #e0e0e0; }
body.dark-mode .header-main, body.dark-mode .site-footer, body.dark-mode .leader-card, body.dark-mode .content-box.side-box, body.dark-mode .popup-box { background: #1e1e1e; color: #ffffff; border-color: #333; }
.mobile-name { display: none; } .desktop-name { display: block; } .mobile-adm-btn { display: none; }

/* --- HEADER & TOP BAR --- */
.top-bar { background: var(--primary); color: white; padding: 8px 5%; font-size: 13px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); }
.marquee-text { flex: 1; font-weight: 600; cursor: pointer; margin-right: 20px; }
.access-tools { display: flex; gap: 5px; }
.tool-btn { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3); color: white; cursor: pointer; padding: 4px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; transition: 0.3s; }

.header-main { background: #fff; padding: 10px 2.5%; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 100; border-bottom: 1px solid #eee; }
.logo-section { display: flex; align-items: center; gap: 15px; } .logo-img { height: 100px; }
.school-info h1 { color: var(--primary); font-size: 36px; font-weight: 700; text-transform: uppercase; margin: 0; line-height: 1; font-family: 'Montserrat', sans-serif; letter-spacing: 2px; }
.school-info p { font-size: 12px; font-weight: 600; color: #666; margin: 0; }

.header-right-desktop { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.header-socials { display: flex; gap: 8px; }
.soc-icon { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 14px; transition: 0.3s; }
.fb { background: #1877F2; } .insta { background: #E4405F; } .yt { background: #CD201F; }

.cta-buttons { display: flex; gap: 8px; margin-top: 5px; }
.btn-cta { padding: 8px 16px; background: var(--primary); color: white; border-radius: 20px; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: 0.3s; }
.btn-cta.red { background: #d32f2f; }
.btn-cta.admission { background: #d32f2f; border: 1px solid #d32f2f; color: white; animation: pulseRed 2s infinite; }
.btn-cta.admission:hover { background: #b71c1c; animation: none; transform: scale(1.05); }
@keyframes pulseRed { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7); } 70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(211, 47, 47, 0); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); } }

/* --- NAVIGATION --- */
.main-nav { background: var(--primary); position: sticky; top: 0; z-index: 999; border-bottom: 3px solid var(--accent); box-shadow: 0 4px 10px rgba(0,0,0,0.1); width: 100%; }
.nav-container { width: 95%; max-width: 100%; margin: 0 auto; padding: 0; }
.nav-list { display: flex; justify-content: center; align-items: center; width: 100%; margin: 0; padding: 0; flex-wrap: nowrap; }
.nav-link { display: block; padding: 15px 12px; color: white; font-size: 13px; font-weight: 600; text-transform: uppercase; white-space: nowrap; }
.nav-link:hover { background: rgba(255,255,255,0.1); color: var(--accent); }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--menu-sub-bg); min-width: 230px; z-index: 1000; box-shadow: 0 5px 15px rgba(0,0,0,0.3); border-top: 3px solid var(--accent); }
.nav-item { position: relative; } .nav-item:hover > .dropdown-menu { display: block; }
.dropdown-link { display: block; padding: 12px 15px; color: #eee; font-size: 12px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.dropdown-link:hover { background: var(--accent); color: white; padding-left: 20px; }

/* --- HOME PAGE LAYOUT & SLIDER --- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.page-container { display: grid; grid-template-columns: 1fr 300px; gap: 20px; max-width: 1450px; margin: 25px auto; padding: 0 20px; height: 65vh; min-height: 450px; }
.main-slider-area { height: 100%; overflow: hidden; border-radius: 10px; animation: fadeInUp 0.8s ease-out both; }
.sidebar-area { height: 100%; display: flex; flex-direction: column; gap: 15px; animation: fadeInUp 0.8s ease-out 0.2s both; }
.slider-container.big-slider { height: 100%; border-radius: 10px; position: relative; border: 5px solid white; box-shadow: var(--shadow); background: #000; }
.slide { position: absolute; width: 100%; height: 100%; opacity: 0; transition: opacity 1s; } .slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-caption { position: absolute; top: 0; left: 0; width: 50%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: rgba(0, 33, 71, 0.35); }
.slider-caption h2 { color: var(--accent); font-size: 32px; font-weight: 800; margin-bottom: 10px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.slider-caption p { color: white; font-size: 16px; font-weight: 600; margin: 0; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); }

.quick-links-vertical { display: flex; gap: 10px; flex-shrink: 0; }
.q-btn { flex: 1; padding: 8px 5px; text-align: center; border-radius: 6px; background: var(--primary); color: white !important; font-weight: 700; font-size: 10px; border: 1px solid rgba(255,255,255,0.2); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.q-btn i { font-size: 14px; color: var(--accent); margin-bottom: 2px; }
.content-box.side-box { background: var(--box-bg); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid #eee; flex: 1; display: flex; flex-direction: column; }
.box-header { background: var(--accent); color: white; padding: 8px; font-weight: 800; text-align: center; font-size: 12px; text-transform: uppercase; }
.box-header.events-head { background: #00897b; }
.marquee-wrap { flex: 1; overflow: hidden; padding: 5px; position: relative; }
.scroll-content-box { display: block; animation: scrollUp 3s linear infinite; }
.marquee-wrap:hover .scroll-content-box { animation-play-state: paused; }
@keyframes scrollUp { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }
.news-block { padding: 6px; border-bottom: 1px solid #f0f0f0; }
.date-tag { background: #e3f2fd; color: var(--primary); font-size: 9px; padding: 2px 5px; border-radius: 3px; font-weight: 800; }
.news-title { font-size: 11px; font-weight: 600; line-height: 1.3; }

/* --- SECTIONS (Leadership & Tech) --- */
.leadership-area { max-width: 1400px; margin: 60px auto; text-align: center; padding: 0 20px; animation: fadeInUp 0.8s ease-out 0.4s both; }
.section-title { font-size: 30px; font-weight: 800; color: var(--primary); margin-bottom: 60px; }
.leaders-grid { display: flex; justify-content: center; gap: 30px; margin-top: 80px; flex-wrap: wrap; }
.leader-card { background: white; flex: 1 1 300px; max-width: 350px; padding: 70px 20px 80px; border-radius: 15px; box-shadow: var(--shadow); border-bottom: 5px solid var(--primary); position: relative; margin-bottom: 30px; }
.leader-photo { width: 120px; height: 120px; border-radius: 50%; border: 5px solid white; position: absolute; top: -60px; left: 50%; transform: translateX(-50%); box-shadow: 0 5px 15px rgba(0,0,0,0.15); object-fit: cover; background: #eee; }
.read-more-btn { display: inline-block; padding: 10px 25px; background: var(--accent); color: white; font-size: 12px; font-weight: 700; text-transform: uppercase; border-radius: 25px; position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); }
.read-more-btn:hover { background: #e68900; }

.tech-welcome-modern { background: var(--tech-bg); padding: 80px 20px; text-align: center; position: relative; overflow: hidden; color: white; margin-top: 40px; animation: fadeInUp 0.8s ease-out 0.6s both; }
.tech-welcome-modern::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 30px 30px; opacity: 0.5; }
.tech-container { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.tech-heading-area h2 { font-size: 36px; font-weight: 800; margin-bottom: 15px; text-transform: uppercase; background: -webkit-linear-gradient(#fff, #ccc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.tech-heading-area .highlight-text { font-size: 18px; color: var(--accent); font-weight: 600; margin-bottom: 10px; display: block; font-style: italic; }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.tech-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); padding: 40px 20px; border-radius: 15px; transition: all 0.4s ease; backdrop-filter: blur(5px); position: relative; overflow: hidden; }
.tech-card:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.1); border-color: var(--accent); }
.tech-icon { font-size: 50px; color: var(--accent); margin-bottom: 20px; transition: 0.5s; }
.tech-card:hover .tech-icon { transform: rotateY(180deg) scale(1.1); color: #fff; }
.tech-card h3 { font-size: 22px; margin-bottom: 15px; color: #fff; } .tech-card p { font-size: 14px; color: #bbb; }

/* --- FOOTER --- */
.site-footer { background-color: var(--box-bg); color: var(--text-main); padding-top: 60px; text-align: center; border-top: 5px solid var(--accent); }
.footer-sep-wrap { display: flex; justify-content: center; gap: 15px; margin-bottom: 25px; opacity: 0.8; }
.footer-sep-img { height: 35px; width: auto; }
.footer-logo { height: 90px; margin: 0 auto 15px auto; }
.footer-school-name { color: var(--primary); font-size: 26px; font-weight: 800; text-transform: uppercase; margin: 0; line-height: 1.2; }
.footer-aff-no { color: #666; font-size: 13px; font-weight: 600; margin-top: 8px; background: #f4f7f6; display: inline-block; padding: 5px 15px; border-radius: 20px; }
.footer-content h3 { color: var(--accent); font-size: 20px; font-weight: 800; margin-bottom: 20px; text-transform: uppercase; border-bottom: 3px solid var(--accent); display: inline-block; padding-bottom: 5px; }
.footer-social-colorful { display: flex; justify-content: center; gap: 15px; margin: 30px 0; }
.footer-social-colorful a { width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white !important; font-size: 18px; transition: 0.3s; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.footer-social-colorful a:hover { transform: translateY(-5px); }
.footer-bottom { background: var(--primary); color: white; padding: 20px; font-size: 13px; font-weight: 600; margin-top: 40px; }

/* --- POPUPS --- */
.popup-modal { display: none; position: fixed; z-index: 999999; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); justify-content: center; align-items: center; padding: 10px; }
.popup-box { background: white; width: 100%; max-width: 500px; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); animation: zoomIn 0.3s; display: flex; flex-direction: column; }
.career-box .popup-header { background: var(--primary); color: white; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; border-radius: 12px 12px 0 0; }
.career-box .popup-body { padding: 20px; overflow-y: auto; max-height: 80vh; }
.input-group { display: flex; align-items: center; border: 1px solid #ccc; border-radius: 6px; margin-bottom: 15px; padding: 0 10px; }
.input-group input, .input-group select { width: 100%; border: none; padding: 12px; outline: none; }
.submit-btn-modern { width: 100%; background: var(--accent); color: white; border: none; padding: 12px; font-weight: 700; border-radius: 6px; cursor: pointer; }
.popup-close-btn { background: transparent; border: none; color: white; font-size: 24px; cursor: pointer; transition: 0.3s; }
.popup-close-btn:hover { color: #ff9800; transform: rotate(90deg); }
#schoolPopup .popup-box { background: transparent; box-shadow: none; position: relative; display: inline-block; width: auto; max-width: 100%; }
#schoolPopup img { max-width: 90vw; max-height: 80vh; object-fit: contain; border: 4px solid white; border-radius: 10px; display: block; }
#schoolPopup .popup-close { position: absolute; top: -15px; right: -15px; background: red; color: white; width: 35px; height: 35px; border-radius: 50%; text-align: center; line-height: 35px; font-weight: bold; cursor: pointer; border: 2px solid white; box-shadow: 0 2px 5px rgba(0,0,0,0.3); z-index: 10; }
@keyframes zoomIn { from { opacity:0; transform:scale(0.9); } to { opacity:1; transform:scale(1); } }

/* --- MOBILE RESPONSIVE --- */
.mobile-socials-bar, .mobile-menu-btn { display: none; }
@media (max-width: 1200px) {
    .header-main { padding: 10px; display: flex !important; flex-wrap: wrap !important; align-items: center; justify-content: space-between; gap: 10px; }
    .logo-section { flex: 1; max-width: none; gap: 4px; } .logo-img { height: 50px; }
    .mobile-socials-bar { flex: 0 0 auto; display: flex !important; gap: 8px; }
    .mobile-menu-btn { display: block !important; font-size: 24px; color: var(--primary); cursor: pointer; flex: 0 0 auto; padding-left: 5px; }
    .header-right-desktop, .access-tools { display: none !important; } .top-bar { padding: 5px; }
    .marquee-text { font-size: 11px; margin: 0; width: 100%; text-align: center; }
    .desktop-name { display: none !important; } .mobile-name { display: block !important; font-size: 7px; font-weight: 800; color: var(--primary); margin: 0; line-height: 1.1; font-family: 'Cinzel', serif; white-space: nowrap; }
    .school-info p { display: block !important; font-size: 6px; color: #555; margin: 0; line-height: 1.2; font-weight: 600; font-family: sans-serif; }
    .mobile-adm-btn { display: block !important; background: #d32f2f; color: white; padding: 8px 0; font-size: 11px; font-weight: 700; border-radius: 5px; text-transform: uppercase; border: 1px solid #d32f2f; white-space: nowrap; text-align: center; width: 100%; order: 10; margin-top: 5px; animation: pulseRed 2s infinite; }
    .page-container { display: flex; flex-direction: column; height: auto; }
    .main-slider-area { height: 250px; order: 1; } .slider-container.big-slider { height: 100%; }
    .sidebar-area { height: auto; order: 2; } .content-box.side-box { height: 250px; flex: none; }
    .slider-caption { position: absolute; top: auto; bottom: 0; left: 0; width: 100%; height: auto; background: rgba(0,0,0,0.6); padding: 8px; align-items: center; justify-content: center; }
    .slider-caption h2 { font-size: 13px; margin: 0; line-height: 1; } .slider-caption p { display: none; }
    .nav-list { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--primary); max-height: 80vh; overflow-y: auto; z-index: 10000; box-shadow: 0 5px 15px rgba(0,0,0,0.5); justify-content: flex-start; }
    .nav-list.active { display: flex !important; }
    .nav-link { border-bottom: 1px solid rgba(255,255,255,0.1); padding: 15px 20px; width: 100%; text-align: left; }
    .nav-item:hover > .dropdown-menu { display: none; }
    .dropdown-menu { display: none; position: static; background: #001a35; box-shadow: none; padding-left: 15px; border-left: 3px solid var(--accent); }
    .dropdown-menu.active { display: block !important; }
    .footer-sep-img:nth-child(2), .footer-sep-img:nth-child(3) { display: none; } .footer-sep-img { width: 100%; max-width: 300px; height: auto; }
}

/* ==========================================================================
   2. NEWLY ADDED STYLES (DIRECTOR, ABOUT, MPD, ACADEMICS)
   ========================================================================== */

/* --- BACKGROUNDS --- */
.contact-header-bg { background: var(--tech-bg); color: white; padding: 60px 20px; text-align: center; border-bottom: 4px solid var(--accent); margin-bottom: 40px; background-size: cover; background-position: center; }
.contact-header-bg h1 { font-size: 40px; font-family: 'Montserrat', sans-serif; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 2px; }
.director-bg { background-image: linear-gradient(rgba(0,33,71,0.9), rgba(0,33,71,0.8)), url('../images/director-bg.jpg'); }
.about-bg { background-image: linear-gradient(rgba(0,33,71,0.9), rgba(0,33,71,0.8)), url('../images/about-bg.jpg'); }
.mpd-bg { background-image: linear-gradient(rgba(0,33,71,0.9), rgba(0,33,71,0.8)), url('../images/school-bg.jpg'); }
.academics-bg { background-image: linear-gradient(rgba(0,33,71,0.8), rgba(0,33,71,0.8)), url('../images/academics-bg.jpg'); }
.admission-bg { background-image: linear-gradient(rgba(0,33,71,0.8), rgba(0,33,71,0.8)), url('../images/admission-bg.jpg'); }
.achieve-bg { background-image: linear-gradient(rgba(0,33,71,0.8), rgba(0,33,71,0.8)), url('../images/achieve-bg.jpg'); }
.events-bg { background-image: linear-gradient(rgba(0,33,71,0.8), rgba(0,33,71,0.8)), url('../images/events-bg.jpg'); }
.alumni-bg { background-image: linear-gradient(rgba(0,33,71,0.8), rgba(0,33,71,0.8)), url('../images/alumni-bg.jpg'); }
.resources-bg { background-image: linear-gradient(rgba(0,33,71,0.8), rgba(0,33,71,0.8)), url('../images/resources-bg.jpg'); }

/* --- DIRECTOR & LEADER BLOCKS --- */
.director-section { padding: 60px 20px; }
.leader-block { display: flex; flex-wrap: wrap; gap: 40px; margin-bottom: 50px; align-items: center; max-width: 1100px; margin: 0 auto 50px auto; }
.leader-block.reverse { flex-direction: row-reverse; }
.leader-img { flex: 1; min-width: 300px; }
.leader-img img { width: 100%; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); border: 5px solid white; }
.leader-content { flex: 1.5; min-width: 300px; }
.leader-tag { color: var(--accent); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; display: block; margin-bottom: 5px; }
.leader-content h2 { color: var(--primary); font-size: 32px; font-weight: 800; margin-bottom: 20px; }
.leader-quote { font-style: italic; color: #555; background: #f9f9f9; padding: 15px; border-left: 4px solid var(--accent); margin-bottom: 20px; }
.leader-content p { color: #444; line-height: 1.8; margin-bottom: 15px; }
.divider { border: 0; height: 1px; background: #ddd; margin: 50px auto; max-width: 1100px; }
.sig-name { color: var(--primary); font-family: 'Playfair Display', serif; font-size: 20px; margin-top: 20px; }
.sig-role { color: #666; font-size: 13px; }

/* --- ABOUT PAGE STYLES --- */
.about-intro { padding: 60px 20px; text-align: center; max-width: 1000px; margin: 0 auto; }
.principal-msg { background: #f4f7f6; padding: 60px 20px; }
.flex-box { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; max-width: 1100px; margin: 0 auto; }
.p-img { flex: 1; min-width: 280px; }
.p-img img { width: 100%; border-radius: 10px; box-shadow: var(--shadow); }
.p-text { flex: 2; min-width: 300px; }
.p-text h2 { color: var(--primary); font-size: 32px; font-weight: 800; margin-bottom: 20px; }
.p-text blockquote { font-style: italic; color: #555; margin-bottom: 15px; border-left: 3px solid var(--primary); padding-left: 15px; }
.tag-sm { color: var(--accent); font-weight: 700; font-size: 12px; }

/* --- VISION, VALUES & TESTIMONIALS --- */
.vision-values { padding: 60px 20px; }
.vv-box { flex: 1; min-width: 300px; background: #fff; padding: 30px; box-shadow: var(--shadow); border-radius: 10px; }
.vv-box.vision { border-top: 5px solid var(--primary); }
.vv-box.values { border-top: 5px solid var(--accent); }
.vv-box i { font-size: 40px; margin-bottom: 15px; }
.vision i { color: var(--primary); } .values i { color: var(--accent); }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.v-item { background: #f9f9f9; padding: 10px; text-align: center; border-radius: 5px; font-weight: 700; color: var(--primary); }
.testimonials { background: var(--tech-bg); padding: 60px 20px; color: white; text-align: center; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto; }
.testi-card { background: rgba(255,255,255,0.1); padding: 25px; border-radius: 10px; text-align: left; }
.testi-card p { font-style: italic; font-size: 14px; margin-bottom: 15px; color: #ddd; }
.testi-card h5 { color: var(--accent); font-size: 16px; margin-bottom: 2px; }
.testi-card span { font-size: 11px; opacity: 0.8; }

/* --- MPD, ACADEMICS & TABLES --- */
.mpd-section { padding: 60px 20px; background: #fff; }
.mpd-heading { color: var(--primary); font-weight: 800; margin: 40px 0 20px 0; border-left: 5px solid var(--accent); padding-left: 15px; font-size: 20px; text-transform: uppercase; }
.table-responsive { overflow-x: auto; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-radius: 8px; border: 1px solid #eee; background: white; }
.mpd-table { width: 100%; border-collapse: collapse; background: white; min-width: 600px; }
.mpd-table th { background: var(--primary); color: white; font-weight: 700; padding: 12px 15px; text-align: left; font-size: 13px; text-transform: uppercase; }
.mpd-table td { padding: 12px 15px; border-bottom: 1px solid #eee; font-size: 14px; color: #444; vertical-align: top; }
.mpd-table tr:hover { background-color: #f9fbff; }
.view-btn { display: inline-block; padding: 6px 12px; background: var(--accent); color: white; text-decoration: none; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; transition: 0.3s; }
.view-btn:hover { background: var(--primary); color: white; }
.yt-btn { background: #CD201F; } .yt-btn:hover { background: #b01b1b; }
.topper-section { padding: 40px 0; border-bottom: 1px solid #eee; }
.topper-title { color: var(--primary); font-weight: 800; text-align: center; margin-bottom: 30px; text-transform: uppercase; }

/* --- CONTACT & FORMS --- */
.container-custom { max-width: 1200px; margin: 0 auto; padding: 0 20px 60px; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 25px; margin-top: -80px; position: relative; z-index: 10; }
.info-card { background: white; padding: 35px 20px; text-align: center; border-radius: 12px; box-shadow: var(--shadow); border-top: 5px solid transparent; transition: 0.3s ease; }
.info-card:hover { border-top: 5px solid var(--accent); transform: translateY(-10px); }
.info-card i { font-size: 32px; color: var(--primary); margin-bottom: 15px; }
.info-card h3 { font-size: 14px; font-weight: 800; color: var(--accent); margin-bottom: 10px; letter-spacing: 1px; }
.info-card p { font-size: 14px; color: #555; line-height: 1.6; font-weight: 600; }
.form-map-section { margin-top: 40px; background: white; }
.row-flex { display: flex; gap: 40px; flex-wrap: wrap; }
.contact-form-area { flex: 1; min-width: 300px; background: #fff; padding: 20px; border-radius: 10px; box-shadow: var(--shadow); }
.map-area { flex: 1; min-width: 300px; }
.section-tag { color: var(--accent); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 1px; display: block; margin-bottom: 5px; }
.contact-form-area h2 { color: var(--primary); font-size: 28px; font-weight: 800; margin-bottom: 25px; font-family: 'Montserrat', sans-serif; }
.modern-form input, .modern-form textarea { width: 100%; padding: 15px; border: 1px solid #e0e0e0; background: #f9f9f9; border-radius: 6px; margin-bottom: 20px; font-family: inherit; }
.modern-form .form-row { display: flex; gap: 20px; }
.submit-btn { background: var(--primary); color: white; padding: 15px 40px; border: none; border-radius: 30px; font-weight: 700; cursor: pointer; text-transform: uppercase; transition: 0.3s; display: inline-block; }
.submit-btn:hover { background: var(--accent); transform: scale(1.05); }
@media (max-width: 768px) { .modern-form .form-row { flex-direction: column; gap: 15px; } .contact-header-bg { padding: 40px 15px 80px 15px; } .info-grid { margin-top: -60px; } }

/* --- GALLERY PAGE STYLES --- */
.gallery-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin: 20px 0 40px 0; }
.filter-btn { padding: 10px 25px; border: 2px solid var(--primary); background: transparent; color: var(--primary); font-weight: 700; border-radius: 30px; cursor: pointer; transition: 0.3s; font-size: 13px; }
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: white; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.gallery-item { transition: all 0.4s ease; } .gallery-item.hide { display: none; } .gallery-item.show { display: block; animation: zoomIn 0.4s ease-in-out; }
.img-wrapper { position: relative; overflow: hidden; border-radius: 10px; cursor: pointer; height: 250px; border: 1px solid #eee; }
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; } .img-wrapper:hover img { transform: scale(1.1); }
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 33, 71, 0.85); display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; transition: 0.3s; color: white; } .img-wrapper:hover .overlay { opacity: 1; }
.lightbox { display: none; position: fixed; z-index: 99999; padding-top: 60px; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.95); backdrop-filter: blur(5px); }
.lightbox-content { margin: auto; display: block; width: 80%; max-width: 900px; max-height: 80vh; object-fit: contain; border: 5px solid white; border-radius: 4px; animation: zoomIn 0.3s; }
.close-lightbox { position: absolute; top: 20px; right: 35px; color: #f1f1f1; font-size: 40px; cursor: pointer; }