/* Vriksha Montessori International - Premium Stylesheet */

/* --- Design Tokens / CSS Variables --- */
:root {
  /* Color Palette - Guided by Logo */
  --color-primary: #139c49;       /* Vibrant Leaf Green */
  --color-primary-dark: #0f7a39;  /* Dark Leaf Green */
  --color-primary-deep: #0a3d1e;  /* Deep Forest Green */
  --color-secondary-yellow: #EAB308; /* Logo Yellow */
  --color-secondary-orange: #F97316; /* Logo Orange */
  --color-secondary-blue: #0EA5E9;   /* Logo Sky Blue */
  --color-secondary-purple: #A855F7; /* Logo Purple/Violet */
  
  --color-text-dark: #1F2937;    /* Slate Dark for readability */
  --color-text-muted: #4B5563;   /* Muted grey body text */
  --color-bg-warm: #FAF8F5;      /* Editorial Warm Cream background */
  --color-bg-white: #FFFFFF;
  --color-bg-green-light: #F0FDF4; /* Very light mint accent */
  
  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions & Shadows */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(19, 156, 73, 0.08), 0 4px 6px -2px rgba(19, 156, 73, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.07), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 30px 40px -10px rgba(19, 156, 73, 0.15);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-full: 9999px;
  
  /* Layout */
  --header-height: 90px;
}

/* --- Resets & Global Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-warm);
  color: var(--color-text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Headings & Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary-deep);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.3rem; }

p {
  margin-bottom: 1.2rem;
  color: var(--color-text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Section Utilities --- */
section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  margin-bottom: 60px;
  max-width: 700px;
}

.section-header.text-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-sub {
  font-family: var(--font-headings);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-secondary-orange);
  display: inline-block;
  margin-bottom: 12px;
}

.underline {
  height: 4px;
  width: 80px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary-yellow));
  border-radius: var(--radius-full);
  margin-top: 16px;
}

.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

/* Color classes for badge icons */
.bg-green { background-color: var(--color-bg-green-light); color: var(--color-primary); }
.bg-orange { background-color: #FFF7ED; color: var(--color-secondary-orange); }
.bg-blue { background-color: #F0F9FF; color: var(--color-secondary-blue); }
.text-green { color: var(--color-primary); }
.text-orange { color: var(--color-secondary-orange); }

/* --- Announcement Bar --- */
.announcement-bar {
  background-color: var(--color-primary-deep);
  color: var(--color-bg-white);
  padding: 10px 0;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  position: relative;
  z-index: 1001;
}

.announcement-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.announcement-link {
  color: var(--color-secondary-yellow);
  font-weight: 700;
  border-bottom: 1px dashed var(--color-secondary-yellow);
  padding-bottom: 2px;
}

.announcement-link:hover {
  color: var(--color-bg-white);
  border-color: var(--color-bg-white);
}

/* --- Main Header / Navigation --- */
.main-header {
  height: var(--header-height);
  background-color: rgba(250, 248, 245, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(19, 156, 73, 0.08);
  transition: var(--transition-smooth);
}

.main-header.scrolled {
  box-shadow: var(--shadow-sm);
  background-color: rgba(255, 255, 255, 0.95);
  height: 80px;
}

.header-container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 52px;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.main-header.scrolled .logo-img {
  height: 46px;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text-dark);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}

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

.btn-header-cta {
  background-color: var(--color-primary);
  color: var(--color-bg-white) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.btn-header-cta::after {
  display: none;
}

.btn-header-cta:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Mobile menu toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-primary-deep);
  cursor: pointer;
}

/* Hide mobile-specific navigation drawer elements on desktop */
.mobile-nav-menu, .mobile-drawer-overlay {
  display: none;
}

/* --- Hero Section --- */
.hero-section {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  background-image: url('assets/school_building_exterior.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll; /* Scroll is better for rendering performance in embedded views */
  color: var(--color-bg-white);
  padding: 120px 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 61, 30, 0.92) 0%, rgba(19, 156, 73, 0.4) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 750px;
}

.hero-tagline {
  font-family: var(--font-headings);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 1rem;
  color: var(--color-secondary-yellow);
  display: inline-block;
  margin-bottom: 24px;
  background: rgba(234, 179, 8, 0.15);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.hero-title {
  font-size: 3.8rem;
  color: var(--color-bg-white);
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero-title .highlight {
  color: var(--color-secondary-yellow);
  position: relative;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Button UI */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-bg-white);
  border-color: var(--color-bg-white);
}

.btn-secondary:hover {
  background-color: var(--color-bg-white);
  color: var(--color-primary-deep);
  transform: translateY(-3px);
}

.wave-separator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 3;
}

.wave-separator svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 50px;
}

.wave-separator .shape-fill {
  fill: var(--color-bg-warm);
}

/* --- Features Overlap --- */
.features-overlap {
  margin-top: -60px;
  padding: 0;
  z-index: 10;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--color-bg-white);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-bottom: 4px solid transparent;
  transition: var(--transition-smooth);
}

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

.feature-card:nth-child(1):hover { border-color: var(--color-primary); }
.feature-card:nth-child(2):hover { border-color: var(--color-secondary-orange); }
.feature-card:nth-child(3):hover { border-color: var(--color-secondary-blue); }

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- About & Founder Section --- */
.about-section {
  background-color: var(--color-bg-warm);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.lead-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary-deep);
  margin-bottom: 20px;
}

.points-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

.point-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.point-item i {
  font-size: 1.25rem;
  margin-top: 4px;
}

.point-item h4 {
  margin-bottom: 4px;
}

.about-media {
  position: relative;
}

.image-stack {
  position: relative;
  height: 480px;
}

.img-main {
  width: 85%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-bg-white);
}

.img-sub {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 65%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-bg-white);
  transition: var(--transition-smooth);
}

.img-sub:hover {
  transform: scale(1.05);
  z-index: 5;
}

/* Founder Card */
.team-block-wrapper {
  background-color: var(--color-bg-white);
  padding: 60px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(19, 156, 73, 0.05);
}

.team-section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 48px;
}

.founder-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.founder-badge {
  background-color: var(--color-bg-green-light);
  color: var(--color-primary-dark);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 16px;
}

.founder-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.founder-creds {
  font-weight: 600;
  color: var(--color-primary);
  margin: 12px 0 20px;
}

.founder-creds i {
  margin-right: 6px;
}

.founder-bio {
  font-size: 1rem;
}

.founder-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.founder-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.img-caption {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 12px;
  font-style: italic;
}

/* Teachers Grid */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.teacher-card {
  background-color: var(--color-bg-warm);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.teacher-card:hover {
  transform: translateY(-5px);
  background-color: var(--color-bg-white);
  box-shadow: var(--shadow-md);
  border-color: rgba(19, 156, 73, 0.15);
}

.teacher-header {
  margin-bottom: 16px;
}

.teacher-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-secondary-orange);
  text-transform: uppercase;
}

.teacher-edu {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  height: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 16px;
}

.teacher-stat {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 12px;
  font-size: 0.85rem;
}

.teacher-stat .label {
  color: var(--color-text-muted);
}

.teacher-stat .value {
  font-weight: 700;
  color: var(--color-primary-deep);
}

/* --- Philosophy Tabs Section --- */
.philosophy-section {
  background-color: var(--color-bg-white);
}

.philosophy-tabs {
  max-width: 1000px;
  margin: 0 auto;
}

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

.tab-btn {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  background-color: var(--color-bg-warm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  background-color: rgba(19, 156, 73, 0.05);
  color: var(--color-primary);
}

.tab-btn.active {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  border-color: var(--color-primary);
}

.tab-contents {
  position: relative;
}

.tab-pane {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.tab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.tab-text h3 {
  margin-bottom: 16px;
}

.tab-list {
  list-style: none;
  margin-top: 24px;
}

.tab-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--color-text-dark);
}

.tab-list li i {
  color: var(--color-primary);
}

.tab-img-container img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* --- Programs Section --- */
.programs-section {
  background-color: var(--color-bg-warm);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 40px;
}

.program-card {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

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

.program-img-wrapper {
  position: relative;
  height: 280px;
}

.program-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-age {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--color-secondary-orange);
  color: var(--color-bg-white);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.program-body {
  padding: 40px;
}

.program-body h3 {
  margin-bottom: 12px;
}

.program-features {
  list-style: none;
  margin-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 20px;
}

.program-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  font-weight: 500;
}

.program-features li i {
  color: var(--color-secondary-yellow);
}

/* --- Gallery Section --- */
.gallery-section {
  background-color: var(--color-bg-white);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background-color: var(--color-bg-warm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--color-primary-deep);
  color: var(--color-bg-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-item {
  transition: var(--transition-smooth);
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  aspect-ratio: 4/3;
  height: 100%;
}

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

.gallery-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(to top, rgba(10, 61, 30, 0.95) 0%, rgba(10, 61, 30, 0) 100%);
  color: var(--color-bg-white);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.gallery-info h4 {
  color: var(--color-bg-white);
  margin-top: 4px;
}

.gallery-info span {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--color-secondary-yellow);
}

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

.gallery-card:hover .gallery-info {
  opacity: 1;
  transform: translateY(0);
}

/* --- Contact & Admission Form Section --- */
.contact-section {
  background-color: var(--color-bg-warm);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.contact-info-panel .contact-sub {
  color: var(--color-primary);
}

.contact-info-panel h2 {
  margin-bottom: 24px;
}

.contact-details-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.details-item {
  display: flex;
  gap: 20px;
}

.details-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-green-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.details-item h4 {
  margin-bottom: 4px;
}

.details-item p a:hover {
  color: var(--color-primary);
}

/* Form Panel */
.contact-form-panel {
  background-color: var(--color-bg-white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-header {
  margin-bottom: 32px;
}

.form-header h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

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

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

.form-group label {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-dark);
  display: block;
  margin-bottom: 8px;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-dark);
  transition: var(--transition-fast);
  background-color: var(--color-bg-warm);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-bg-white);
  box-shadow: 0 0 0 3px rgba(19, 156, 73, 0.1);
}

.btn-submit {
  width: 100%;
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  border: none;
  font-size: 1.05rem;
  padding: 16px;
  margin-top: 10px;
  box-shadow: var(--shadow-md);
}

.btn-submit:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Success State Alert */
.form-success-alert {
  text-align: center;
  padding: 32px;
  background-color: var(--color-bg-green-light);
  border: 1px dashed var(--color-primary);
  border-radius: var(--radius-md);
  margin-top: 20px;
}

.success-icon {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.form-success-alert h4 {
  margin-bottom: 8px;
}

.hide {
  display: none !important;
}

/* --- Map Mock Panel --- */
.map-section {
  padding: 60px 0;
  background-color: var(--color-bg-white);
}

.map-container-mock {
  padding: 80px 40px;
  background-color: var(--color-bg-warm);
  border-radius: var(--radius-lg);
  border: 1.5px dashed rgba(19, 156, 73, 0.15);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.map-container-mock:hover {
  background-color: var(--color-bg-green-light);
  transform: translateY(-3px);
  border-color: var(--color-primary);
}

.map-icon-big {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.map-container-mock h3 {
  margin-bottom: 8px;
}

.map-container-mock p {
  margin-bottom: 24px;
}

/* --- Footer --- */
.main-footer {
  background-color: var(--color-primary-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 80px 0 40px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .footer-logo {
  height: 60px;
  margin-bottom: 24px;
  background-color: white;
  padding: 5px;
  border-radius: var(--radius-sm);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--color-bg-white);
}

.social-links a:hover {
  background-color: var(--color-secondary-yellow);
  color: var(--color-primary-deep);
  transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
  color: var(--color-bg-white);
  font-size: 1.15rem;
  margin-bottom: 24px;
  font-family: var(--font-headings);
  position: relative;
  padding-bottom: 8px;
}

.footer-links h4::after, .footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-secondary-yellow);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links ul a:hover {
  color: var(--color-secondary-yellow);
  padding-left: 6px;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.footer-contact p i {
  color: var(--color-secondary-yellow);
  margin-top: 4px;
}

.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Photo Lightbox Modal --- */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 61, 30, 0.98);
  justify-content: center;
  align-items: center;
}

.lightbox-content-wrapper {
  position: relative;
  max-width: 80%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-modal img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--color-bg-white);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 2001;
}

.lightbox-close:hover {
  color: var(--color-secondary-orange);
}

.lightbox-prev, .lightbox-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: var(--color-bg-white);
  font-weight: bold;
  font-size: 24px;
  transition: 0.6s ease;
  user-select: none;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

.lightbox-prev:hover, .lightbox-next:hover {
  background-color: var(--color-primary);
}

.lightbox-caption {
  text-align: center;
  color: var(--color-bg-white);
  margin-top: 20px;
  font-size: 1.1rem;
  font-family: var(--font-headings);
}

/* --- FAQ Section --- */
.faq-section {
  background-color: var(--color-bg-warm);
}

.faq-accordion-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(19, 156, 73, 0.05);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(19, 156, 73, 0.15);
}

.faq-question {
  width: 100%;
  padding: 24px 32px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary-deep);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: var(--color-bg-green-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: var(--color-primary);
  color: var(--color-bg-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-content {
  padding: 0 32px 28px 32px;
  color: var(--color-text-muted);
  font-size: 1rem;
}

.faq-answer-content ul {
  margin-top: 12px;
  margin-left: 20px;
}

.faq-answer-content li {
  margin-bottom: 8px;
}

/* --- Modal Overlay / Popup --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 61, 30, 0.6); /* Transparent deep forest green overlay */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000; /* Higher than header and lightbox */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: var(--color-bg-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  width: 90%;
  position: relative;
  transform: scale(0.8) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.show .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--color-secondary-orange);
}

.modal-header {
  margin-bottom: 24px;
  text-align: center;
}

.modal-badge {
  background-color: var(--color-bg-green-light);
  color: var(--color-primary-dark);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.modal-header h3 {
  font-size: 1.8rem;
  color: var(--color-primary-deep);
  margin-bottom: 8px;
}

.modal-header p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.modal-form .form-group {
  margin-bottom: 20px;
  text-align: left;
}

.modal-form label {
  display: block;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary-deep);
  margin-bottom: 6px;
}

.modal-form input, .modal-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-dark);
  background-color: var(--color-bg-warm);
  transition: var(--transition-fast);
}

.modal-form input:focus, .modal-form select:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-bg-white);
  box-shadow: 0 0 0 4px rgba(19, 156, 73, 0.1);
}

.btn-submit-modal {
  width: 100%;
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  padding: 14px 0;
  border-radius: var(--radius-full);
  font-weight: 600;
  margin-top: 10px;
  box-shadow: var(--shadow-md);
}

.btn-submit-modal:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* --- Media Queries (Responsiveness) --- */
@media (max-width: 1024px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2.1rem; }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .image-stack {
    height: 380px;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .founder-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .founder-img {
    height: 280px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 80px;
  }
  
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  
  .hero-section {
    padding: 80px 0;
  }
  
  .hero-title {
    font-size: 2.6rem;
  }
  
  /* Hide desktop menu on mobile */
  .desktop-nav {
    display: none !important;
  }

  .mobile-menu-btn {
    display: block;
  }
  
  /* Mobile Drawer Overlay */
  .mobile-drawer-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 61, 30, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    z-index: 1001;
    transition: var(--transition-smooth);
  }
  
  .mobile-drawer-overlay.visible {
    opacity: 1;
    pointer-events: auto;
  }
  
  /* Mobile Menu navigation drawer (Independent Viewport Positioned Sibling) */
  .mobile-nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%; /* Slides from right for premium feel */
    width: 80%;
    max-width: 380px;
    height: 100vh;
    background-color: var(--color-bg-white);
    z-index: 1002;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    padding: 32px 24px;
  }
  
  .mobile-nav-menu.open {
    right: 0;
  }
  
  .mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  
  .logo-img-mobile {
    height: 40px;
    object-fit: contain;
  }
  
  .mobile-close-btn {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--color-primary-deep);
    cursor: pointer;
    transition: var(--transition-fast);
  }
  
  .mobile-close-btn:hover {
    color: var(--color-secondary-orange);
    transform: rotate(90deg);
  }
  
  .mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  
  .mobile-nav-link {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--color-text-dark);
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
  }
  
  .mobile-nav-link:hover {
    color: var(--color-primary);
    padding-left: 6px;
  }
  
  .btn-mobile-cta {
    background-color: var(--color-primary);
    color: var(--color-bg-white) !important;
    text-align: center;
    border-radius: var(--radius-full);
    padding: 12px 24px !important;
    box-shadow: var(--shadow-md);
    margin-top: 10px;
    border-bottom: none;
  }
  
  .btn-mobile-cta:hover {
    background-color: var(--color-primary-dark);
    padding-left: 0;
  }
  
  .features-overlap {
    margin-top: -40px;
  }
  
  .team-block-wrapper {
    padding: 30px;
  }
  
  .tab-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .tab-img-container img {
    height: 240px;
  }
  
  .programs-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-form-panel {
    padding: 32px 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .lightbox-prev, .lightbox-next {
    display: none; /* Hide arrows on mobile touch screens */
  }
  
  .lightbox-content-wrapper {
    max-width: 90%;
  }
}
