@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Sora:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #0f2a4a;
  --primary-rgb: 15, 42, 74;
  --secondary: #388e3c;
  --secondary-rgb: 56, 142, 60;
  --accent: #f57c00;
  --accent-rgb: 245, 124, 0;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 0 1px 0 rgba(0, 0, 0, 0.1);
  --card-shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.12), 0 0 1px 0 rgba(0, 0, 0, 0.1);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius: 16px;
  --max-width: 1280px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

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

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

/* --- Utility Classes --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 30px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  outline: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white);
  box-shadow: 0 4px 14px 0 rgba(var(--primary-rgb), 0.3);
}

.btn-primary:hover {
  background-color: var(--secondary);
  color: var(--bg-white);
  box-shadow: 0 6px 20px 0 rgba(var(--secondary-rgb), 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--bg-white);
  box-shadow: 0 4px 14px 0 rgba(var(--secondary-rgb), 0.3);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  box-shadow: 0 6px 20px 0 rgba(var(--primary-rgb), 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

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

/* --- Header / Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 0.5rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition);
}

header.scrolled .nav-container {
  height: 70px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 55px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  line-height: 1.1;
}

.brand-name span {
  color: var(--secondary);
}

.brand-tagline {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.5rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

.nav-cta {
  margin-left: 1rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background-color: var(--primary);
  color: var(--bg-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.95) 30%, rgba(var(--primary-rgb), 0.4) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  color: var(--bg-white);
  margin-bottom: 1.5rem;
}

.hero-content h1 span {
  color: #81c784;
}

.hero-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--bg-white);
}

.hero-actions .btn-outline:hover {
  background-color: var(--bg-white);
  color: var(--primary);
  border-color: var(--bg-white);
}

.hero-card-container {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  max-width: 400px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.hero-card h3 {
  color: var(--bg-white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.hero-card-stat {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #81c784;
}

.hero-stat-lbl {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Page Hero Section --- */
.page-hero {
  position: relative;
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 9rem 0 5rem 0;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(var(--primary-rgb), 0.95) 0%, rgba(var(--primary-rgb), 0.85) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-hero h1 {
  font-size: 3rem;
  color: var(--bg-white);
  margin-bottom: 0.5rem;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumbs li a:hover {
  color: #81c784;
}

.breadcrumbs li::after {
  content: '/';
  margin-left: 8px;
}

.breadcrumbs li:last-child::after {
  display: none;
}

.breadcrumbs li:last-child {
  color: #81c784;
  font-weight: 500;
}

/* --- Pillars / Features Section --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.pillar-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 3rem 2.5rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  transition: var(--transition);
}

.pillar-card:nth-child(2)::before {
  background-color: var(--secondary);
}

.pillar-card:nth-child(3)::before {
  background-color: var(--accent);
}

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

.pillar-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 1.75rem;
  transition: var(--transition);
}

.pillar-card:nth-child(1) .pillar-icon-box {
  background-color: rgba(15, 42, 74, 0.08);
  color: var(--primary);
}

.pillar-card:nth-child(2) .pillar-icon-box {
  background-color: rgba(56, 142, 60, 0.08);
  color: var(--secondary);
}

.pillar-card:nth-child(3) .pillar-icon-box {
  background-color: rgba(245, 124, 0, 0.08);
  color: var(--accent);
}

.pillar-card:hover .pillar-icon-box {
  transform: scale(1.1);
}

.pillar-card:nth-child(1):hover .pillar-icon-box {
  background-color: var(--primary);
  color: var(--bg-white);
}

.pillar-card:nth-child(2):hover .pillar-icon-box {
  background-color: var(--secondary);
  color: var(--bg-white);
}

.pillar-card:nth-child(3):hover .pillar-icon-box {
  background-color: var(--accent);
  color: var(--bg-white);
}

.pillar-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Stats Counter Section --- */
.stats {
  background-color: var(--primary);
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(var(--secondary-rgb), 0.15) 0%, transparent 50%);
  z-index: 1;
}

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

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h2 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #81c784;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  font-weight: 500;
}

/* --- Programs Showcase --- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

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

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

.program-img-box {
  position: relative;
  height: 240px;
  overflow: hidden;
}

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

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

.program-tag {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'Sora', sans-serif;
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.program-card:nth-child(2) .program-tag {
  color: var(--secondary);
}

.program-card:nth-child(3) .program-tag {
  color: var(--accent);
}

.program-body {
  padding: 2rem;
}

.program-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  transition: var(--transition);
}

.program-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
}

.program-card:nth-child(2) .program-link {
  color: var(--secondary);
}

.program-card:nth-child(3) .program-link {
  color: var(--accent);
}

.program-link i {
  transition: var(--transition);
}

.program-link:hover i {
  transform: translateX(4px);
}

/* --- About Page Specific Section --- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.about-img-box {
  position: relative;
}

.about-img-box img {
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow-hover);
}

.about-img-box::before {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(var(--secondary) 2px, transparent 2px);
  background-size: 10px 10px;
  z-index: -1;
}

.about-story-content h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.about-story-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-story-content .highlight {
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 600;
  border-left: 4px solid var(--secondary);
  padding-left: 1.5rem;
}

/* --- Values Grid --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.value-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: var(--transition);
}

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

.value-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(56, 142, 60, 0.08);
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- Team Section --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.team-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: var(--transition);
}

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

.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: 1.5rem;
}

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

.team-info p {
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Gallery Grid & Lightbox --- */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-family: 'Sora', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  height: 300px;
  cursor: pointer;
  transition: var(--transition);
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(var(--primary-rgb), 0.9) 0%, rgba(var(--primary-rgb), 0.2) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: var(--transition);
  z-index: 2;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

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

.gallery-overlay h4 {
  color: var(--bg-white);
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
  transform: translateY(15px);
  transition: var(--transition);
}

.gallery-overlay p {
  color: #81c784;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: translateY(15px);
  transition: var(--transition);
  transition-delay: 0.05s;
}

.gallery-item:hover .gallery-overlay h4,
.gallery-item:hover .gallery-overlay p {
  transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 42, 74, 0.98);
  backdrop-filter: blur(15px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

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

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  object-fit: contain;
}

.lightbox-caption {
  color: var(--bg-white);
  margin-top: 1.5rem;
  text-align: center;
}

.lightbox-caption h4 {
  color: var(--bg-white);
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.lightbox-caption p {
  color: #81c784;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  color: var(--bg-white);
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--accent);
  transform: rotate(90deg);
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--bg-white);
  font-size: 1.5rem;
  padding: 1rem;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
}

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

.lightbox-prev {
  left: -80px;
}

.lightbox-next {
  right: -80px;
}

/* --- Contact Page Specific --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
}

.contact-info-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-info-card h3 {
  font-size: 1.75rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-detail-item {
  display: flex;
  gap: 1.25rem;
}

.contact-detail-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(15, 42, 74, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-detail-content h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.contact-detail-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-detail-content a:hover {
  color: var(--secondary);
}

.contact-form-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--card-shadow);
}

.contact-form-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.contact-form-card p {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-family: 'Sora', sans-serif;
}

.form-control {
  font-family: 'Inter', sans-serif;
  padding: 1rem 1.25rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  outline: none;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 42, 74, 0.08);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.error-msg {
  font-size: 0.75rem;
  color: #dc2626;
  margin-top: 0.3rem;
  display: none;
}

.form-group.has-error .form-control {
  border-color: #dc2626;
}

.form-group.has-error .error-msg {
  display: block;
}

.form-status-alert {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-top: 1.5rem;
  display: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-status-alert.success {
  display: block;
  background-color: rgba(56, 142, 60, 0.1);
  color: var(--secondary);
  border: 1px solid rgba(56, 142, 60, 0.2);
}

.map-section {
  padding: 0;
  line-height: 0;
}

.map-container {
  height: 450px;
  width: 100%;
}

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

/* --- CTA Overlay Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #173d6b 100%);
  color: var(--bg-white);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.15) 0%, transparent 60%);
  transform: rotate(45deg);
}

.cta-banner .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.cta-banner h2 {
  color: var(--bg-white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

/* --- Footer --- */
footer {
  background-color: #081627;
  color: rgba(255, 255, 255, 0.75);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h3 {
  color: var(--bg-white);
  font-size: 1.15rem;
  margin-bottom: 1.75rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-about .logo-link {
  margin-bottom: 1.5rem;
}

.footer-about .brand-name {
  color: var(--bg-white);
}

.footer-about p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

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

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  font-size: 0.95rem;
}

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

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
}

.footer-contact-item i {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-contact-item a:hover {
  color: var(--secondary);
}

.footer-newsletter p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  position: relative;
}

.newsletter-input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--bg-white);
  padding-right: 55px;
  transition: var(--transition);
}

.newsletter-input:focus {
  border-color: var(--secondary);
  background-color: rgba(255, 255, 255, 0.08);
}

.newsletter-btn {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--secondary);
  color: var(--bg-white);
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background-color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--secondary);
}

/* --- Scroll To Top Button --- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--secondary);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: none;
  outline: none;
  font-size: 1.1rem;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

/* --- Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --- Responsive Media Queries --- */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-content p {
    margin: 0 auto 2.5rem auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-card-container {
    margin-top: 1.5rem;
  }
  .pillars-grid, .programs-grid, .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-story {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .lightbox-prev {
    left: -20px;
  }
  .lightbox-next {
    right: -20px;
  }
  .lightbox-prev, .lightbox-next {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  .section {
    padding: 4rem 0;
  }
  .section-header h2 {
    font-size: 2rem;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    z-index: 999;
  }
  header.scrolled .nav-menu {
    top: 70px;
    height: calc(100vh - 70px);
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-cta {
    margin-left: 0;
  }
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  .pillars-grid, .programs-grid, .gallery-grid, .values-grid, .team-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .contact-info-card, .contact-form-card {
    padding: 2rem 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .filter-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
  }
}
