/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Nunito:wght@300;400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #1a3a6b;
  --primary-dark: #0e2247;
  --primary-light: #2a5298;
  --accent: #f5a623;
  --accent-dark: #e09310;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --light-gray: #eef1f7;
  --gray: #6c757d;
  --dark: #1a1f36;
  --success: #27ae60;
  --shadow-sm: 0 2px 8px rgba(26,58,107,0.08);
  --shadow-md: 0 8px 32px rgba(26,58,107,0.12);
  --shadow-lg: 0 20px 60px rgba(26,58,107,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Nunito', sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: var(--font-body); }

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }
.text-center { text-align: center; }
.flex { display: flex; }
.grid { display: grid; }

.section-title { font-family: var(--font-display); font-size: clamp(1.8rem,3vw,2.6rem); color: var(--primary); font-weight: 700; line-height: 1.25; }
.section-subtitle { font-size: 1rem; color: var(--gray); margin-top: 10px; max-width: 580px; }
.section-subtitle.center { margin: 10px auto 0; }
.section-header { margin-bottom: 50px; }
.section-header.center { text-align: center; }

.badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(245,166,35,0.12); color: var(--accent-dark); font-size: 0.8rem; font-weight: 700; padding: 6px 14px; border-radius: 30px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; border: 1px solid rgba(245,166,35,0.25); }
.badge::before { content: '★'; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 50px; font-weight: 700; font-size: 0.95rem; cursor: pointer; border: none; transition: var(--transition); letter-spacing: 0.02em; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245,166,35,0.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-blue { background: var(--primary); color: var(--white); }
.btn-blue:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(26,58,107,0.3); }

/* ===== DECORATIVE LINE ===== */
.title-underline { position: relative; display: inline-block; }
.title-underline::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 60px; height: 4px; background: var(--accent); border-radius: 2px; }
.center .title-underline::after { left: 50%; transform: translateX(-50%); }

/* ===== HEADER / NAV ===== */
#header { position: fixed; top: 0; width: 100%; z-index: 1000; transition: var(--transition); }
#header.scrolled { background: var(--white); box-shadow: var(--shadow-md); }
#header.scrolled .nav-logo-text span:first-child { color: var(--primary); }
#header.scrolled .nav-logo-text span:last-child { color: var(--gray); }
#header.scrolled .nav-link { color: var(--dark); }
#header.scrolled .nav-link:hover { color: var(--primary); }
#header.scrolled .hamburger span { background: var(--primary); }

.navbar { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }

.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-icon { width: 46px; height: 46px; background: var(--accent); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-text span:first-child { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--white); line-height: 1; }
.nav-logo-text span:last-child { font-size: 0.72rem; font-weight: 500; color: rgba(255,255,255,0.75); letter-spacing: 0.05em; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { color: rgba(255,255,255,0.9); font-weight: 600; font-size: 0.88rem; padding: 8px 14px; border-radius: 8px; transition: var(--transition); letter-spacing: 0.02em; }
.nav-link:hover, .nav-link.active { color: var(--accent); background: rgba(245,166,35,0.1); }
.nav-cta { margin-left: 10px; }
.nav-cta .btn { padding: 10px 22px; font-size: 0.88rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: #000000; border-radius: 2px; transition: var(--transition); display: block; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--primary-dark); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { font-size: 1.3rem; padding: 14px 30px; color: white; }
.mobile-menu .btn { margin-top: 20px; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-image: url('https://images.unsplash.com/photo-1580582932707-520aed937b7b?w=1600&q=80'); background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(14,34,71,0.92) 0%, rgba(26,58,107,0.75) 60%, rgba(10,25,55,0.85) 100%); }
.hero-content { position: relative; z-index: 2; padding: 120px 10px 80px; }
.hero-inner { max-width: 680px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(245,166,35,0.2); border: 1px solid rgba(245,166,35,0.4); color: var(--accent); font-size: 0.8rem; font-weight: 700; padding: 7px 16px; border-radius: 30px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; }
.hero-title { font-family: var(--font-display); font-size: clamp(2.2rem,5vw,3.8rem); font-weight: 800; color: white; line-height: 1.15; margin-bottom: 14px; }
.hero-title span { color: var(--accent); }
.hero-tagline { font-size: clamp(1rem,2vw,1.2rem); color: rgba(255,255,255,0.82); font-weight: 400; margin-bottom: 30px; max-width: 520px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 50px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat { color: white; }
.hero-stat .num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--accent); line-height: 1; }
.hero-stat .label { font-size: 0.8rem; color: rgba(255,255,255,0.65); margin-top: 3px; letter-spacing: 0.03em; }
.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.5); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.scroll-dot { width: 6px; height: 20px; border: 2px solid rgba(255,255,255,0.4); border-radius: 3px; position: relative; }
.scroll-dot::after { content: ''; position: absolute; top: 3px; left: 50%; transform: translateX(-50%); width: 2px; height: 5px; background: rgba(255,255,255,0.6); border-radius: 1px; animation: scrollDown 1.5s infinite; }
@keyframes scrollDown { 0%,100% { transform: translateX(-50%) translateY(0); opacity:1; } 50% { transform: translateX(-50%) translateY(5px); opacity:0.3; } }

/* ===== HIGHLIGHT CARDS ===== */
.highlights { background: var(--primary); padding: 50px 0; }
.highlights-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.hl-card { background: var(--primary-light); padding: 36px 30px; display: flex; align-items: flex-start; gap: 20px; transition: var(--transition); }
.hl-card:hover { background: var(--primary-dark); }
.hl-card:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.hl-card:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.hl-icon { width: 56px; height: 56px; background: var(--accent); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.hl-text h3 { font-family: var(--font-display); font-size: 1.15rem; color: white; margin-bottom: 6px; }
.hl-text p { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.6; }

/* ===== ABOUT SNIPPET ===== */
.about-snippet { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-images { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-img-main { grid-column: 1/-1; height: 260px; border-radius: var(--radius-lg); overflow: hidden; }
.about-img-sm { height: 180px; border-radius: var(--radius); overflow: hidden; }
.about-img-main img, .about-img-sm img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.about-img-main:hover img, .about-img-sm:hover img { transform: scale(1.04); }
.about-badge-float { position: absolute; bottom: -18px; right: 18px; background: var(--accent); color: white; padding: 12px 20px; border-radius: var(--radius); font-size: 0.85rem; font-weight: 700; box-shadow: var(--shadow-md); }
.about-img-wrap { position: relative; }
.about-text p { font-size: 1rem; color: var(--gray); line-height: 1.8; margin-bottom: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.af-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; color: var(--primary); }
.af-icon { width: 34px; height: 34px; background: var(--light-gray); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }

/* ===== GALLERY PREVIEW ===== */
.gallery-preview { background: var(--off-white); }
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); grid-template-rows: 200px 200px; gap: 14px; }
.gp-item { overflow: hidden; border-radius: var(--radius); position: relative; cursor: pointer; }
.gp-item:first-child { grid-column: span 2; grid-row: span 2; }
.gp-item:nth-child(4) { grid-column: span 2; }
.gp-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gp-item:hover img { transform: scale(1.08); }
.gp-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,34,71,0.5) 0%, transparent 50%); opacity: 0; transition: var(--transition); }
.gp-item:hover::after { opacity: 1; }

/* ===== NOTICE BOARD ===== */
.notice-board { background: var(--white); }
.notice-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.notice-card { background: var(--off-white); border-radius: var(--radius); padding: 28px; border-left: 5px solid var(--primary); transition: var(--transition); }
.notice-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); background: white; }
.notice-card.urgent { border-left-color: #e74c3c; }
.notice-card.event { border-left-color: var(--accent); }
.notice-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.notice-date { font-size: 0.78rem; color: var(--gray); font-weight: 600; }
.notice-tag { font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; letter-spacing: 0.06em; text-transform: uppercase; }
.notice-tag.general { background: rgba(26,58,107,0.1); color: var(--primary); }
.notice-tag.urgent-t { background: rgba(231,76,60,0.1); color: #e74c3c; }
.notice-tag.event-t { background: rgba(245,166,35,0.1); color: var(--accent-dark); }
.notice-card h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--primary); margin-bottom: 10px; }
.notice-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.7; }
.notice-card .read-more { display: inline-flex; align-items: center; gap: 5px; font-size: 0.82rem; font-weight: 700; color: var(--primary); margin-top: 14px; transition: var(--transition); }
.notice-card .read-more:hover { gap: 8px; color: var(--accent-dark); }

/* ===== CTA SECTION ===== */
.cta-section { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%); padding: 80px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -80px; right: -80px; width: 300px; height: 300px; background: rgba(245,166,35,0.08); border-radius: 50%; }
.cta-section::after { content: ''; position: absolute; bottom: -100px; left: -50px; width: 250px; height: 250px; background: rgba(255,255,255,0.04); border-radius: 50%; }
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(1.8rem,3vw,2.8rem); color: white; margin-bottom: 14px; }
.cta-inner p { font-size: 1.05rem; color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto 34px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); }
.footer-top { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; margin: 16px 0; opacity: 0.7; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; margin-bottom: 10px; }
.footer-contact-icon { font-size: 1rem; margin-top: 2px; }
.footer-heading { font-family: var(--font-display); font-size: 1rem; color: white; font-weight: 600; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-heading::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--accent); border-radius: 1px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.86rem; opacity: 0.7; transition: var(--transition); }
.footer-links a:hover { opacity: 1; color: var(--accent); padding-left: 5px; }
.footer-timing div { font-size: 0.85rem; margin-bottom: 8px; }
.footer-timing strong { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 0.82rem; opacity: 0.5; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: var(--transition); }
.social-btn:hover { background: var(--accent); }

/* ===== INNER PAGE HERO ===== */
.page-hero { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%); padding: 130px 0 60px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 60px; background: var(--white); clip-path: ellipse(55% 100% at 50% 100%); }
.page-hero-title { font-family: var(--font-display); font-size: clamp(2rem,4vw,3rem); color: white; font-weight: 800; }
.page-hero-breadcrumb { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-top: 10px; }
.page-hero-breadcrumb a { color: var(--accent); }
.page-hero-breadcrumb span { color: rgba(255,255,255,0.4); }

/* ===== ABOUT PAGE ===== */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.vm-card { background: var(--off-white); border-radius: var(--radius-lg); padding: 38px; border-top: 5px solid var(--primary); }
.vm-card.mission { border-top-color: var(--accent); }
.vm-icon { font-size: 2.2rem; margin-bottom: 16px; }
.vm-card h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--primary); margin-bottom: 14px; }
.vm-card p { font-size: 0.93rem; color: var(--gray); line-height: 1.8; }

.principal-card { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); border-radius: var(--radius-lg); padding: 50px; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.principal-photo { width: 180px; height: 180px; border-radius: 50%; overflow: hidden; border: 5px solid var(--accent); flex-shrink: 0; }
.principal-photo img { width: 100%; height: 100%; object-fit: cover; }
.principal-msg h2 { font-family: var(--font-display); font-size: 1.6rem; color: white; margin-bottom: 8px; }
.principal-msg .role { color: var(--accent); font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; }
.principal-msg p { color: rgba(255,255,255,0.82); font-size: 0.93rem; line-height: 1.8; }
.principal-msg .signature { font-family: var(--font-display); font-size: 1.2rem; color: var(--accent); margin-top: 20px; font-style: italic; }

.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.why-card { background: var(--white); border: 2px solid var(--light-gray); border-radius: var(--radius-lg); padding: 34px 28px; text-align: center; transition: var(--transition); }
.why-card:hover { border-color: var(--primary); transform: translateY(-5px); box-shadow: var(--shadow-md); }
.why-card .icon { font-size: 2.4rem; margin-bottom: 16px; }
.why-card h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--primary); margin-bottom: 10px; }
.why-card p { font-size: 0.86rem; color: var(--gray); line-height: 1.7; }

/* ===== GALLERY PAGE ===== */
.gallery-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.gallery-tab { padding: 9px 22px; border-radius: 30px; font-weight: 600; font-size: 0.88rem; cursor: pointer; border: 2px solid var(--light-gray); color: var(--gray); transition: var(--transition); background: white; }
.gallery-tab.active, .gallery-tab:hover { background: var(--primary); color: white; border-color: var(--primary); }
.gallery-masonry { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.5s; display: block; }
.gallery-item:nth-child(3n+1) img { height: 260px; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(14,34,71,0.85), transparent); color: white; padding: 20px 16px 14px; font-size: 0.85rem; font-weight: 600; transform: translateY(100%); transition: var(--transition); }
.gallery-item:hover .gallery-caption { transform: translateY(0); }
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9999; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-close { position: absolute; top: 24px; right: 30px; color: white; font-size: 2rem; cursor: pointer; background: none; border: none; }

/* ===== ADMISSION PAGE ===== */
.admission-info { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: start; }
.admission-sidebar { background: var(--primary); border-radius: var(--radius-lg); padding: 38px; }
.admission-sidebar h3 { font-family: var(--font-display); font-size: 1.3rem; color: white; margin-bottom: 20px; }
.admission-step { display: flex; gap: 16px; margin-bottom: 24px; }
.step-num { width: 40px; height: 40px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; flex-shrink: 0; font-size: 0.9rem; }
.step-text h4 { color: white; font-weight: 600; font-size: 0.95rem; }
.step-text p { color: rgba(255,255,255,0.65); font-size: 0.82rem; margin-top: 3px; }
.classes-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cls-badge { background: rgba(255,255,255,0.1); color: white; padding: 6px 14px; border-radius: 20px; font-size: 0.82rem; font-weight: 600; }

.admission-form-card { background: white; border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-lg); }
.form-title { font-family: var(--font-display); font-size: 1.6rem; color: var(--primary); margin-bottom: 6px; }
.form-subtitle { font-size: 0.88rem; color: var(--gray); margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-full { grid-column: 1/-1; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--dark); margin-bottom: 7px; }
.form-group label span { color: #e74c3c; }
.form-control { width: 100%; padding: 12px 16px; border: 2px solid var(--light-gray); border-radius: var(--radius); font-size: 0.93rem; color: var(--dark); transition: var(--transition); background: var(--off-white); }
.form-control:focus { outline: none; border-color: var(--primary); background: white; }
.form-control::placeholder { color: #aaa; }
select.form-control { cursor: pointer; }
.upload-area { border: 2px dashed var(--primary); border-radius: var(--radius); padding: 28px; text-align: center; cursor: pointer; transition: var(--transition); background: rgba(26,58,107,0.02); }
.upload-area:hover { background: rgba(26,58,107,0.05); }
.upload-area .icon { font-size: 2rem; margin-bottom: 8px; }
.upload-area p { font-size: 0.85rem; color: var(--gray); }
.upload-area strong { color: var(--primary); }
.form-submit { width: 100%; padding: 15px; border-radius: 50px; background: var(--primary); color: white; font-weight: 700; font-size: 1rem; cursor: pointer; border: none; transition: var(--transition); letter-spacing: 0.03em; margin-top: 8px; }
.form-submit:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,58,107,0.35); }

/* ===== TEAM PAGE ===== */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.team-card { background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-img { height: 260px; overflow: hidden; position: relative; }
.team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.team-card:hover .team-img img { transform: scale(1.05); }
.team-subject-badge { position: absolute; top: 16px; right: 16px; background: var(--accent); color: white; font-size: 0.75rem; font-weight: 700; padding: 5px 12px; border-radius: 20px; }
.team-info { padding: 24px; }
.team-info h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--primary); margin-bottom: 4px; }
.team-info .designation { color: var(--accent-dark); font-size: 0.82rem; font-weight: 700; margin-bottom: 10px; }
.team-info p { font-size: 0.85rem; color: var(--gray); line-height: 1.7; }

/* ===== NOTICE PAGE ===== */
.notice-page-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.notice-list { display: flex; flex-direction: column; gap: 20px; }
.notice-full-card { background: white; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 70px 1fr; gap: 24px; border-left: 5px solid var(--primary); transition: var(--transition); }
.notice-full-card.urgent { border-left-color: #e74c3c; }
.notice-full-card.event { border-left-color: var(--accent); }
.notice-full-card:hover { box-shadow: var(--shadow-md); }
.notice-date-box { background: var(--primary); border-radius: 10px; padding: 14px 10px; text-align: center; color: white; display: flex; flex-direction: column; align-items: center; justify-content: center; height: fit-content; }
.notice-date-box .day { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; line-height: 1; }
.notice-date-box .mon { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8; }
.notice-full-card.urgent .notice-date-box { background: #e74c3c; }
.notice-full-card.event .notice-date-box { background: var(--accent-dark); }
.notice-body h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--primary); margin-bottom: 8px; }
.notice-body p { font-size: 0.88rem; color: var(--gray); line-height: 1.8; }
.notice-body .notice-footer { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.sidebar-widget { background: white; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.sidebar-widget h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--primary); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--light-gray); }
.sidebar-cat { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--light-gray); font-size: 0.86rem; cursor: pointer; transition: var(--transition); }
.sidebar-cat:hover { color: var(--primary); padding-left: 5px; }
.cat-count { background: var(--light-gray); padding: 2px 9px; border-radius: 12px; font-size: 0.78rem; font-weight: 700; }
.important-dates li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--light-gray); font-size: 0.85rem; }
.imp-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; }
.contact-info-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-card { background: white; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); display: flex; gap: 18px; align-items: flex-start; transition: var(--transition); }
.contact-card:hover { transform: translateX(5px); box-shadow: var(--shadow-md); }
.contact-card-icon { width: 52px; height: 52px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.cc-blue { background: rgba(26,58,107,0.1); }
.cc-gold { background: rgba(245,166,35,0.1); }
.cc-green { background: rgba(39,174,96,0.1); }
.contact-card h4 { font-family: var(--font-display); color: var(--primary); font-size: 1rem; margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: 0.87rem; color: var(--gray); line-height: 1.7; }
.contact-card a:hover { color: var(--primary); }
.contact-form-wrap { background: white; border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-lg); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; height: 380px; box-shadow: var(--shadow-md); margin-top: 40px; }
.map-wrap iframe { width: 100%; height: 100%; border: none; }
.timing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.timing-card { background: var(--off-white); border-radius: var(--radius); padding: 20px; text-align: center; }
.timing-card .day { font-weight: 700; font-size: 0.9rem; color: var(--primary); margin-bottom: 5px; }
.timing-card .time { font-size: 0.85rem; color: var(--gray); }

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ===== SCROLL TO TOP ===== */
.scroll-top { position: fixed; bottom: 28px; right: 28px; width: 48px; height: 48px; background: var(--primary); color: white; border: none; border-radius: 12px; cursor: pointer; font-size: 1.2rem; display: none; align-items: center; justify-content: center; box-shadow: var(--shadow-md); transition: var(--transition); z-index: 500; }
.scroll-top.show { display: flex; }
.scroll-top:hover { background: var(--accent); transform: translateY(-3px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3,1fr); grid-template-rows: auto; }
  .gallery-grid .gp-item:first-child { grid-column: span 2; }
  .gallery-grid .gp-item:nth-child(4) { grid-column: span 1; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-images { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .highlights-grid { grid-template-columns: 1fr; gap: 2px; }
  .hl-card { border-radius: 0; }
  .highlights-grid .hl-card:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .highlights-grid .hl-card:last-child { border-radius: 0 0 var(--radius) var(--radius); }
  .admission-info { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .vm-grid { grid-template-columns: 1fr; }
  .notice-grid { grid-template-columns: 1fr 1fr; }
  .notice-page-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .principal-card { grid-template-columns: 1fr; text-align: center; }
  .principal-photo { margin: 0 auto; }
  .gallery-masonry { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 640px) {
  .section-pad { padding: 55px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .gp-item:first-child { grid-column: span 2; }
  .form-grid { grid-template-columns: 1fr; }
  .form-full { grid-column: 1; }
  .notice-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .team-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .timing-grid { grid-template-columns: 1fr; }
  .gallery-masonry { grid-template-columns: 1fr; }
  .notice-full-card { grid-template-columns: 1fr; }
  .notice-date-box { flex-direction: row; width: fit-content; gap: 6px; padding: 8px 14px; }
  .admission-form-card { padding: 28px 20px; }
  .contact-form-wrap { padding: 28px 20px; }
}
