:root {
  --primary: #7D9D75;      /* Sage Green */
  --primary-hover: #6a8863;
  --secondary: #C15441;    /* Muted Red */
  --secondary-hover: #a64635;
  --bg-color: #F7F5F0;     /* Sand White */
  --text-dark: #2C3E2D;    /* Dark Sage for text */
  --text-light: #647466;   /* Muted text */
  --white: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(125, 157, 117, 0.15);
  --radius-lg: 24px;
  --radius-md: 16px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
  scroll-behavior: smooth;
}

html, body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
}

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

/* --- Glassmorphism Utils --- */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
}

/* --- Navbar --- */
.navbar {
  padding: 1rem 0;
  transition: var(--transition);
  background: rgba(247, 245, 240, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(125, 157, 117, 0.1);
}

.navbar-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--primary);
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  margin: 0 10px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary);
  transition: var(--transition);
}

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

/* --- Buttons --- */
.btn-custom-primary {
  background-color: var(--primary);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 15px rgba(125, 157, 117, 0.3);
  transition: var(--transition);
}

.btn-custom-primary:hover {
  background-color: var(--primary-hover);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(125, 157, 117, 0.4);
}

.btn-custom-secondary {
  background-color: var(--secondary);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 15px rgba(193, 84, 65, 0.3);
  transition: var(--transition);
}

.btn-custom-secondary:hover {
  background-color: var(--secondary-hover);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(193, 84, 65, 0.4);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(44, 62, 45, 0.8) 0%, rgba(125, 157, 117, 0.4) 100%);
  z-index: 1;
}

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

.hero-title {
  font-size: 3.5rem;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  font-weight: 300;
}

/* --- Section Padding & Titles --- */
.section-padding {
  padding: 100px 0;
}

.section-title {
  margin-bottom: 50px;
}

.section-subtitle {
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 10px;
}

.section-heading {
  font-size: 2.5rem;
  color: var(--text-dark);
}

.section-heading span {
  color: var(--primary);
}

/* --- Program Cards --- */
.program-card {
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.program-card:hover {
  transform: translateY(-10px);
}

.program-icon {
  width: 80px;
  height: 80px;
  background: rgba(125, 157, 117, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.program-card:hover .program-icon {
  background: var(--primary);
  color: var(--white);
}

/* --- Image Wrappers --- */
.image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

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

.image-wrapper:hover img {
  transform: scale(1.05);
}

/* --- Accordion (FAQ) --- */
.accordion-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  margin-bottom: 15px;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.accordion-button {
  background: transparent;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: none !important;
  padding: 20px;
}

.accordion-button:not(.collapsed) {
  background: rgba(125, 157, 117, 0.05);
  color: var(--primary);
}

.accordion-button::after {
  filter: hue-rotate(90deg);
}

.accordion-body {
  padding: 20px;
  color: var(--text-light);
}

/* --- Footer --- */
.footer {
  background-color: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
}

.footer-heading {
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  margin-bottom: 25px;
  font-weight: 600;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer a:hover {
  color: var(--primary);
}

.footer-socials a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  color: var(--white);
}

.footer-socials a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 50px;
  padding-top: 30px;
  text-align: center;
}

/* --- Hero Typography & Custom Elements --- */
.hero-main-title {
  font-size: 4.5rem;
}
.hero-subtitle {
  font-size: 2.2rem;
}
.hero-desc {
  font-size: 1.4rem;
}
.hero-btn {
  font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-main-title { font-size: 2.2rem !important; }
  .hero-subtitle { font-size: 1.4rem !important; }
  .hero-desc { font-size: 1.1rem !important; }
  .hero-btn { font-size: 1rem !important; padding: 12px 20px !important; }
  
  .hero-title { font-size: 2.5rem; }
  .section-heading { font-size: 2rem; }
  .section-padding { padding: 60px 0; }
  
  /* Map adjustments */
  .glass-panel iframe { min-height: 300px; }
}
