/* ============================
   RESET & BASE
   ============================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green-900: #0d2818;
  --green-800: #1b4332;
  --green-700: #2d6a4f;
  --green-600: #40916c;
  --green-500: #52b788;
  --green-400: #74c69d;
  --green-100: #d8f3dc;
  --green-50: #f0fdf4;
  --accent: #ffb703;
  --accent-dark: #e8a500;
  --white: #ffffff;
  --light: #f8faf9;
  --gray-100: #f1f3f5;
  --gray-300: #ced4da;
  --gray-500: #6c757d;
  --gray-700: #495057;
  --gray-900: #212529;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================
   ANNOUNCEMENT BAR
   ============================ */
.announcement-bar {
  background: var(--green-900);
  color: var(--green-400);
  font-size: 0.8rem;
  padding: 8px 0;
  text-align: center;
  letter-spacing: 0.3px;
}

/* ============================
   HEADER
   ============================ */
.header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  text-decoration: none;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-700);
  letter-spacing: 0.05em;
}

.logo-subtitle {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.logo:hover .logo-text {
  color: var(--green-600);
}

.logo:hover .logo-subtitle {
  color: var(--gray-600);
}

.nav ul {
  display: flex;
  gap: 36px;
}

.nav a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gray-700);
  padding: 8px 0;
  position: relative;
  transition: var(--transition);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--green-600);
  border-radius: 2px;
  transition: var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--green-700);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

/* ============================
   MOBILE MENU
   ============================ */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  position: relative;
  z-index: 101;
  padding: 6px;
  border-radius: 8px;
  transition: var(--transition);
}

.menu-toggle:hover {
  background: rgba(0,0,0,0.05);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--gray-900);
  border-radius: 3px;
  position: absolute;
  left: 6px;
  transition: var(--transition);
}

.menu-toggle span:nth-child(1) { top: 6px; }
.menu-toggle span:nth-child(2) { top: 16px; }
.menu-toggle span:nth-child(3) { top: 26px; }

.menu-toggle.open span:nth-child(1) {
  top: 16px;
  transform: rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.menu-toggle.open span:nth-child(3) {
  top: 16px;
  transform: rotate(-45deg);
}

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--gray-900);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 183, 3, 0.3);
}

.btn-secondary {
  background: var(--green-700);
  color: var(--white);
  border-color: var(--green-700);
}

.btn-secondary:hover {
  background: var(--green-600);
  border-color: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 106, 79, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--green-800);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
}

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #0d2818 0%, #1b4332 40%, #2d6a4f 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://upload.wikimedia.org/wikipedia/commons/a/a2/Ooty_Valley.jpg') center/cover no-repeat;
  opacity: 0.07;
  animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: float 12s infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) scale(0); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 36px;
  opacity: 0.85;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.hero-stat span:first-child {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.hero-stat span:nth-child(2) {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}

.hero-stat small {
  display: block;
  font-size: 0.8rem;
  opacity: 0.7;
  font-weight: 400;
  margin-top: 2px;
  flex-basis: 100%;
}

/* ============================
   SECTION COMMON
   ============================ */
.section {
  padding: 100px 0;
}

.bg-light {
  background: var(--light);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  color: var(--gray-500);
  font-size: 1.05rem;
}

.section-tag {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-700);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.text-accent {
  color: var(--green-600);
}

/* ============================
   ABOUT BRIEF
   ============================ */
.about-brief {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--gray-500);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.feature-icon {
  color: var(--green-600);
  font-weight: 700;
}

.about-image-wrapper {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}



/* ============================
   PROGRAMS
   ============================ */
.programs-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.program-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-600), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.program-card:hover::before {
  transform: scaleX(1);
}

.program-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.program-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--green-800);
}

.program-card p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
}

.program-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.program-tags span {
  background: var(--green-50);
  color: var(--green-600);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ============================
   VISION & MISSION
   ============================ */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.vm-card {
  padding: 44px 36px;
  border-radius: var(--radius-lg);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.vm-card.vision {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
}

.vm-card.mission {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
}

.vm-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.vm-card h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.vm-card p {
  opacity: 0.9;
  line-height: 1.8;
  font-size: 1rem;
}

/* ============================
   TEAM
   ============================ */
.team-section {
  background: var(--light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-img {
  height: 280px;
  overflow: hidden;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-card:hover .team-img img {
  transform: scale(1.05);
}

.team-info {
  padding: 24px;
}

.team-info h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.team-role {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-700);
  padding: 2px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.team-info p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.team-social {
  display: flex;
  gap: 10px;
}

.team-social a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}

.team-social a:hover {
  background: var(--green-700);
  color: var(--white);
}

/* ============================
   FAQ
   ============================ */
.faq-section {
  background: var(--white);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--green-400);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  color: var(--gray-900);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--green-700);
}

.faq-arrow {
  font-size: 0.7rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer a {
  color: var(--green-600);
  text-decoration: underline;
}

/* ============================
   CTA
   ============================ */
.cta-section {
  padding: 80px 0;
}

.cta-card {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.cta-text h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.cta-text p {
  opacity: 0.85;
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ============================
   PAGE BANNER
   ============================ */
.page-banner {
  background: linear-gradient(160deg, var(--green-900), var(--green-700));
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://upload.wikimedia.org/wikipedia/commons/1/18/Nilgiri_hills_view_from_Doddabetta_Peak.jpg') center/cover no-repeat;
  opacity: 0.08;
}

.page-banner-content {
  position: relative;
}

.breadcrumb,
.breadcrumb-sep {
  font-size: 0.85rem;
  opacity: 0.7;
}

.breadcrumb:hover {
  opacity: 1;
  color: var(--accent);
}

.page-banner h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-top: 8px;
}

/* ============================
   CONTACT INFO CARDS
   ============================ */
.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-info-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.cic-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.contact-info-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.contact-info-card a:hover {
  color: var(--green-600);
}

/* ============================
   CONTACT FORM
   ============================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form-wrapper h2 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.contact-form-wrapper > p {
  color: var(--gray-500);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(82, 183, 136, 0.1);
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background: var(--green-900);
  color: var(--white);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr 1.2fr;
  gap: 40px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  margin-bottom: 16px;
}

.footer-logo .logo-text {
  font-size: 1.6rem;
  color: #fff;
}

.footer-logo .logo-subtitle {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  margin-top: 3px;
}

.footer-brand p {
  opacity: 0.7;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--green-900);
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--green-500);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  opacity: 0.7;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--accent);
  padding-left: 4px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  opacity: 0.7;
  font-size: 0.88rem;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-col p {
  opacity: 0.7;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-contact-item a {
  color: var(--accent);
  opacity: 1;
}

.footer-bottom {
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  opacity: 0.6;
}

.footer-bottom a {
  color: var(--accent);
  opacity: 0.8;
  margin-left: 4px;
}

.footer-bottom a:hover {
  opacity: 1;
}

.photo-credit {
  width: 100%;
  font-size: 0.7rem;
  opacity: 0.5;
  text-align: center;
  margin-top: 8px;
}

/* ============================
   BLOG GRID
   ============================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-img {
  height: 200px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-img img {
  transform: scale(1.06);
}

.blog-info {
  padding: 24px;
}

.blog-date {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--green-600);
  font-weight: 600;
  margin-bottom: 8px;
}

.blog-info h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--gray-900);
  line-height: 1.3;
}

.blog-info p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 14px;
}

.blog-read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-600);
  transition: var(--transition);
}

.blog-read-more:hover {
  color: var(--green-800);
  gap: 8px;
}

/* ============================
   GALLERY GRID
   ============================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* ============================
   ABOUT STATS
   ============================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--green-600);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ============================
   REVEAL ANIMATION
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal .program-card,
.reveal .team-card {
  transition-delay: calc(var(--i, 0) * 0.1s);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3rem; }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-info-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 100px 24px 32px;
    z-index: 100;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding-top: 100px;
  }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav li {
    text-align: center;
  }

  .nav a {
    font-size: 1.2rem;
    display: block;
    padding: 14px 20px;
    border-radius: 12px;
    transition: var(--transition);
  }

  .nav a:hover,
  .nav a.active {
    background: rgba(0,0,0,0.04);
  }

  .nav a::after {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-actions .btn-sm {
    display: none;
  }

  .hero {
    min-height: 70vh;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 24px;
  }

  .about-brief,
  .contact-grid,
  .vm-grid {
    grid-template-columns: 1fr;
  }

  .about-image-wrapper {
    padding: 0;
  }


  .programs-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }

  .cta-actions {
    justify-content: center;
  }

  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .page-banner h1 {
    font-size: 2rem;
  }

  .contact-info-cards {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
}
