/* GCMS Thana – Green theme */
:root {
  /* Dark green theme */
  --bg-900: #0a1a12;
  --bg-800: #0f2519;
  --bg-700: #113021;
  --accent-500: #34d399;
  --accent-400: #10b981;
  --accent-300: #6ee7b7;
  --accent-200: #a7f3d0;
  --accent-100: #d1fae5;
  /* Light surfaces for partial scheme */
  --surface-100: #eef8f1; /* very light green */
  --surface-200: #e3f4ea; /* soft green */
  --border-emerald: rgba(16,185,129,0.22);
  --text-dark: #0f172a;
  --text-900: #e6f7ee;
  --text-700: #cfead9;
  --text-500: #a9d1bd;
  --white: #ffffff;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text-900);
  background: radial-gradient(1200px 600px at 10% 10%, #0f2a1d 0%, var(--bg-900) 60%),
              radial-gradient(800px 400px at 90% 90%, #123524 0%, var(--bg-900) 60%);
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.container { width: min(1100px, 92%); margin: 0 auto; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 2rem; margin: 0 0 10px; color: var(--accent-300); }
.section-header p { color: var(--text-500); margin: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(10,26,18,0.70), rgba(10,26,18,0.50));
  backdrop-filter: saturate(150%) blur(8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--accent-300); text-decoration: none; font-size: 1.2rem; letter-spacing: 0.4px; }
.brand-logo { border-radius: 8px; box-shadow: 0 6px 16px rgba(16,185,129,0.25); border: 1px solid rgba(52,211,153,0.25); background: var(--surface-100); }
.brand-text { display: inline-block; }

.nav-toggle { display: none; border: none; background: transparent; font-size: 1.25rem; color: var(--accent-300); }
.menu { list-style: none; display: flex; gap: 1rem; margin: 0; padding: 0; }
.menu a { text-decoration: none; color: var(--text-700); padding: 10px 12px; border-radius: 8px; }
.menu a:hover { background: rgba(52, 211, 153, 0.15); color: var(--accent-200); }

/* Hero */
.hero { position: relative; }
.hero-swiper { height: 78vh; }
.hero-slide { position: relative; height: 100%; display: grid; place-items: center; background: center/cover no-repeat; background-image: var(--bg); }
.hero-slide .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,31,20,0.45), rgba(7,31,20,0.35)); }
.hero-slide .content { position: relative; z-index: 2; text-align: center; color: var(--white); padding: 0 1rem; }
.hero-slide h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 10px; }
.hero-slide p { margin: 0 0 20px; color: #eaf6ed; }
.swiper-button-prev, .swiper-button-next { color: var(--accent-300); }
.swiper-pagination-bullet { background: var(--accent-200); opacity: 1; }
.swiper-pagination-bullet-active { background: var(--accent-400); }

/* Decorative 3D shapes */
.decor { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.shape { position: absolute; filter: blur(6px); opacity: 0.6; transform-style: preserve-3d; }
.s1 { width: 220px; height: 220px; left: 6%; top: 14%; background: radial-gradient(circle at 30% 30%, rgba(52,211,153,0.9), rgba(16,185,129,0.3)); border-radius: 30% 70% 50% 50% / 50% 30% 70% 50%; box-shadow: 0 30px 60px rgba(16,185,129,0.25); }
.s2 { width: 160px; height: 160px; right: 8%; bottom: 12%; background: radial-gradient(circle at 70% 70%, rgba(167,243,208,0.9), rgba(16,185,129,0.25)); border-radius: 50%; box-shadow: 0 30px 60px rgba(167,243,208,0.25); }
.s3 { width: 120px; height: 120px; right: 20%; top: 10%; background: radial-gradient(circle at 30% 70%, rgba(110,231,183,0.9), rgba(52,211,153,0.25)); border-radius: 40% 60% 60% 40%; }
.s4 { width: 180px; height: 180px; left: 10%; top: 20%; background: radial-gradient(circle at 30% 30%, rgba(52,211,153,0.8), rgba(16,185,129,0.25)); border-radius: 60% 40% 50% 50%; }
.s5 { width: 140px; height: 140px; right: 10%; bottom: 6%; background: radial-gradient(circle at 60% 30%, rgba(167,243,208,0.8), rgba(16,185,129,0.25)); border-radius: 50%; }

/* Cards and blocks */
.card {
  background: linear-gradient(180deg, rgba(19, 49, 34, 0.65), rgba(19, 49, 34, 0.55));
  border: 1px solid rgba(52, 211, 153, 0.15);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(10px) saturate(140%);
}
.card img { width: 100%; height: 180px; object-fit: cover; }
.card-body { padding: 16px; }
.card-icon { font-size: 2rem; color: var(--accent-300); margin-bottom: 10px; }
.badge { display: inline-block; background: rgba(52, 211, 153, 0.2); color: var(--accent-200); padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; }

/* Principal */
.principal .principal-photo img { width: 100%; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid rgba(52,211,153,0.2); }
.principal .signature { margin-top: 12px; color: var(--accent-300); font-weight: 600; }

/* Stats */
.stats { background: linear-gradient(180deg, rgba(13,34,23,1), rgba(11,29,20,1)); }
.stat { text-align: center; background: linear-gradient(180deg, rgba(19,49,34,0.7), rgba(19,49,34,0.55)); padding: 24px; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid rgba(52,211,153,0.15); backdrop-filter: blur(8px); }
.stat .number { font-size: 2.2rem; color: var(--accent-300); font-weight: 700; text-shadow: 0 2px 10px rgba(52,211,153,0.25); }
.stat .label { color: var(--text-500); }

/* Programs */
.programs .program-card { background: linear-gradient(180deg, rgba(19,49,34,0.7), rgba(19,49,34,0.55)); padding: 20px; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid rgba(52,211,153,0.18); backdrop-filter: blur(10px); transform-style: preserve-3d; }
.programs .program-card .program-img { width: 100%; height: 160px; object-fit: cover; border-radius: 12px; margin-bottom: 12px; border: 1px solid rgba(52,211,153,0.18); box-shadow: 0 10px 24px rgba(0,0,0,0.20); }
.programs .program-card h3 { margin: 0 0 8px; color: var(--accent-200); }
.programs .program-card p { margin: 0; color: var(--text-500); }
.programs .pc-icon { width: 46px; height: 46px; display: inline-grid; place-items: center; border-radius: 12px; background: rgba(52,211,153,0.18); color: var(--accent-300); margin-bottom: 10px; box-shadow: 0 10px 30px rgba(52,211,153,0.18); transform: translateZ(30px); }

/* CTA */
.cta { text-align: center; background: linear-gradient(180deg, rgba(11,29,20,1), rgba(13,34,23,1)); color: var(--white); }
.cta h2 { margin: 0 0 12px; }
.cta p { margin: 0 0 18px; color: #e1f2e6; }

/* Contact */
.contact .contact-info .contact-list { list-style: none; padding: 0; margin: 16px 0; }
.contact .contact-info li { margin: 8px 0; color: var(--text-700); }
.contact .contact-info i { color: var(--accent-300); margin-right: 8px; }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(52,211,153,0.18); color: var(--accent-300); margin-right: 8px; text-decoration: none; box-shadow: 0 10px 30px rgba(52,211,153,0.18); }
.contact-form form { background: var(--surface-100); padding: 18px; border-radius: 16px; box-shadow: 0 10px 24px rgba(0,0,0,0.20); border: 1px solid var(--border-emerald); color: var(--text-dark); }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; margin-bottom: 12px; border: 1px solid rgba(16,185,129,0.25); background: var(--white); color: var(--text-dark); border-radius: 10px; font: inherit; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #667b6f; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent-400); border-color: var(--accent-400); }
.form-note { font-size: 0.85rem; color: var(--text-500); }

/* Footer */
.site-footer { background: linear-gradient(180deg, rgba(11,29,20,1), rgba(13,34,23,1)); padding: 22px 0; border-top: 1px solid rgba(52,211,153,0.18); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.back-to-top { color: var(--accent-300); text-decoration: none; }

/* Buttons */
.btn { display: inline-block; padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent-400); color: var(--white); box-shadow: 0 12px 30px rgba(16,185,129,0.3); }
.btn-secondary { background: var(--surface-200); color: #0a3e2a; border: 1px solid var(--border-emerald); }
.btn-outline { border: 2px solid var(--accent-300); color: var(--accent-300); }

/* Responsive */
@media (max-width: 990px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .menu { position: absolute; right: 4%; top: 62px; flex-direction: column; background: linear-gradient(180deg, rgba(19,49,34,0.7), rgba(19,49,34,0.55)); border: 1px solid rgba(52,211,153,0.18); border-radius: 12px; padding: 10px; gap: 6px; display: none; backdrop-filter: blur(8px); }
  .menu.open { display: flex; }
}

/* Anchor offset for sticky header */
section { scroll-margin-top: 80px; }
/* Quick Links Band */
.band { padding: 40px 0; }
.ql-card { display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 18px; border-radius: 16px; background: var(--surface-100); border: 1px solid var(--border-emerald); box-shadow: 0 10px 24px rgba(0,0,0,0.20); color: var(--text-dark); transition: transform .18s ease, box-shadow .18s ease; }
.ql-card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px rgba(0,0,0,0.28); }
.ql-icon { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 12px; background: rgba(16,185,129,0.16); color: var(--accent-400); box-shadow: 0 10px 30px rgba(16,185,129,0.18); }
.ql-content h3 { margin: 0; color: #0a3e2a; }
.ql-content p { margin: 4px 0 0; color: #3b4a40; }

/* Highlights tiles */
.highlights .tiles { gap: 1rem; }
.tile-large { position: relative; display: block; height: 260px; border-radius: 18px; overflow: hidden; background: center/cover no-repeat; background-image: var(--bg); box-shadow: var(--shadow); transform: translateZ(0); }
.tile-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,31,20,0.35), rgba(7,31,20,0.55)); }
.tile-body { position: absolute; bottom: 16px; left: 16px; right: 16px; color: var(--white); }
.tile-body h3 { margin: 0 0 6px; font-size: 1.2rem; color: var(--accent-200); }
.tile-body p { margin: 0; color: var(--text-700); }

/* Admissions */
.admissions .ad-card { background: var(--surface-100); padding: 20px; border-radius: 18px; box-shadow: 0 10px 24px rgba(0,0,0,0.20); border: 1px solid var(--border-emerald); color: var(--text-dark); }
.admissions .ad-icon { width: 54px; height: 54px; display: inline-grid; place-items: center; border-radius: 14px; background: rgba(16,185,129,0.16); color: var(--accent-400); margin-bottom: 12px; box-shadow: 0 10px 30px rgba(16,185,129,0.18); }
.admissions h3 { margin: 0 0 6px; color: #0a3e2a; }
.admissions p { margin: 0 0 12px; color: #3b4a40; }