/* ===========================
   CSS VARIABLES & RESET
=========================== */
:root {
  --brown: #4A2C1A;
  --brown-light: #6b3f26;
  --gold: #C8A96E;
  --gold-light: #dfc496;
  --gold-dark: #a8883e;
  --cream: #FDF8F3;
  --cream-dark: #f2e8d5;
  --white: #FFFFFF;
  --text-dark: #1e1208;
  --text-body: #3d2810;
  --text-muted: #7a5c3e;
  --shadow-sm: 0 2px 12px rgba(74, 44, 26, 0.08);
  --shadow-md: 0 6px 30px rgba(74, 44, 26, 0.14);
  --shadow-lg: 0 16px 60px rgba(74, 44, 26, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 7rem 0; }

.section-tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}
.section-tag.center { text-align: center; }
.section-tag.light { color: var(--gold-light); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--brown);
  line-height: 1.2;
  margin-bottom: 2rem;
  display: block;
}
.section-title.center { text-align: center; }
.section-title.light { color: var(--white); }

/* Sub-text after centered headings also centered */
.programs .container > p,
.gallery .container > p,
.faq-wrap > p,
.why-us .container > p {
  text-align: center;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--gold);
  color: var(--brown);
  box-shadow: 0 4px 20px rgba(200, 169, 110, 0.35);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 169, 110, 0.45);
}
.btn-outline {
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--white);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}
.full-btn { width: 100%; justify-content: center; }

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #ffffff;
  backdrop-filter: blur(14px);
  border-bottom: 1.5px solid rgba(200, 169, 110, 0.3);
  transition: var(--transition);
}
.navbar.scrolled {
  background: #ffffff;
  box-shadow: 0 2px 24px rgba(74, 44, 26, 0.13);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  padding: 4px 10px 4px 4px;
  border-radius: 10px;
  background: #2D2D2D;
  border: 1px solid rgba(200, 169, 110, 0.18);
}
.nav-logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
  display: block;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: 8px;
  transition: var(--transition);
}
.nav-link:hover { color: var(--brown); background: var(--cream-dark); }
.nav-link.active { color: var(--brown); font-weight: 600; }
.nav-cta {
  background: var(--brown);
  color: var(--gold) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  margin-left: 0.5rem;
  font-weight: 600;
}
.nav-cta:hover { background: var(--brown-light); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(74,44,26,0.83) 0%, rgba(20,8,4,0.65) 55%, rgba(10,4,2,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2rem;
  padding-top: 80px;
  width: 100%;
  max-width: 700px;
  margin-left: max(2rem, calc((100vw - 1200px) / 2 + 2rem));
}
.hero-badge {
  display: inline-block;
  background: rgba(200, 169, 110, 0.2);
  border: 1px solid rgba(200, 169, 110, 0.5);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-sub {
  color: rgba(253, 248, 243, 0.85);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 540px;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll span {
  display: block;
  width: 1.5px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
  margin: 0 auto;
}
@keyframes scrollLine {
  0%, 100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ===========================
   ABOUT
=========================== */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-badge-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--brown);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.badge-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.97rem;
}
.about-details { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.85rem; }
.detail-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-body);
}
.detail-item i { color: var(--gold-dark); margin-top: 0.25rem; flex-shrink: 0; }

/* ===========================
   PROGRAMS
=========================== */
.programs { background: var(--cream); }
.programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 0.5rem;
}
.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.program-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.program-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.program-card:hover .program-img-wrap img { transform: scale(1.05); }
.program-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(74,44,26,0.7) 0%, transparent 50%);
}
.program-label {
  position: absolute;
  bottom: 1.25rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
}
.program-body { padding: 2rem; }
.program-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 0.75rem;
}
.program-body p { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 1.25rem; }
.program-list { display: flex; flex-direction: column; gap: 0.5rem; }
.program-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-body);
  font-weight: 500;
}
.program-list li i { color: var(--gold-dark); font-size: 0.8rem; }

/* ===========================
   WHY US
=========================== */
.why-us { position: relative; padding: 8rem 0; }
.why-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.why-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.why-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(74,44,26,0.92) 0%, rgba(20,8,2,0.88) 100%);
}
.why-us .container { position: relative; z-index: 1; }
.why-us .section-tag.center { display: block; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 0.5rem;
}
.why-card {
  background: rgba(253, 248, 243, 0.07);
  border: 1px solid rgba(200, 169, 110, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.why-card:hover {
  background: rgba(253, 248, 243, 0.12);
  border-color: rgba(200, 169, 110, 0.45);
  transform: translateY(-4px);
}
.why-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.why-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-icon i { color: var(--brown); font-size: 1.1rem; }
.why-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.why-card p {
  color: rgba(253, 248, 243, 0.72);
  font-size: 0.9rem;
  line-height: 1.65;
  width: 100%;
}

/* ===========================
   STATS
=========================== */
.stats {
  background: linear-gradient(135deg, var(--brown), var(--brown-light));
  padding: 5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item { padding: 1rem; text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: inline;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  display: inline;
}
.stat-value-row {
  display: block;
  text-align: center;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-item p {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253, 248, 243, 0.7);
  margin-top: 0.25rem;
  text-align: center !important;
}

/* ===========================
   GALLERY
=========================== */
.gallery { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 0.5rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}
.gallery-item:nth-child(5), .gallery-item:nth-child(9) {
  grid-column: span 2;
  aspect-ratio: 2/1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(74,44,26,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.gallery-item-overlay i {
  color: var(--white);
  font-size: 1.5rem;
  opacity: 0;
  transform: scale(0.7);
  transition: var(--transition);
}
.gallery-item:hover .gallery-item-overlay {
  background: rgba(74,44,26,0.45);
}
.gallery-item:hover .gallery-item-overlay i {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(10, 5, 2, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lb-img-wrap {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-img-wrap img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(0,0,0,0.7);
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(200, 169, 110, 0.15);
  border: 1px solid rgba(200, 169, 110, 0.3);
  color: var(--gold-light);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1rem;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: rgba(200, 169, 110, 0.3);
  color: var(--white);
}
.lb-close { top: 1.5rem; right: 1.5rem; font-size: 1.2rem; }
.lb-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* ===========================
   REVIEWS
=========================== */
.reviews { background: var(--cream); }
.reviews-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}
.reviews-track-wrap {
  overflow: hidden;
  flex: 1;
}
.reviews-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.review-card {
  flex: 0 0 calc(33.333% - 1rem);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200, 169, 110, 0.15);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.review-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 169, 110, 0.35);
  transform: translateY(-3px);
}
.rev-stars { color: var(--gold-dark); font-size: 1rem; letter-spacing: 2px; }
.rev-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.rev-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.rev-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brown), var(--brown-light));
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.rev-author strong { display: block; font-size: 0.9rem; color: var(--brown); }
.rev-author span { font-size: 0.78rem; color: var(--text-muted); }
.rev-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(200, 169, 110, 0.3);
  color: var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.rev-arrow:hover { background: var(--brown); color: var(--gold); border-color: var(--brown); }
.rev-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
}
.rev-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(200, 169, 110, 0.3);
  cursor: pointer;
  transition: var(--transition);
}
.rev-dot.active { background: var(--gold-dark); transform: scale(1.25); }

/* ===========================
   FAQ
=========================== */
.faq { background: var(--white); }
/* .faq-wrap { max-width: 780px; } */
.accordion { margin-top: 0.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.acc-item {
  border: 1px solid rgba(200, 169, 110, 0.25);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  transition: var(--transition);
}
.acc-item.open { border-color: rgba(200, 169, 110, 0.6); }
.acc-header {
  width: 100%;
  text-align: left;
  padding: 1.2rem 1.5rem;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--brown);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  transition: var(--transition);
}
.acc-header:hover { background: rgba(200, 169, 110, 0.08); }
.acc-item.open .acc-header { background: rgba(200, 169, 110, 0.1); color: var(--brown); }
.acc-header i { flex-shrink: 0; font-size: 0.8rem; color: var(--gold-dark); transition: transform 0.3s ease; }
.acc-item.open .acc-header i { transform: rotate(45deg); }
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.acc-body.open { max-height: 300px; }
.acc-body p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===========================
   CONTACT
=========================== */
.contact { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info .section-title { margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  color: var(--text-body);
}
.contact-detail i { color: var(--gold-dark); margin-top: 3px; flex-shrink: 0; width: 16px; }
.map-wrap {
  margin-top: 1.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-wrap iframe { width: 100%; height: 280px; display: block; }
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(200, 169, 110, 0.15);
}
.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.form-group { margin-bottom: 0.75rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.3rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  background: var(--cream);
  border: 1.5px solid rgba(200, 169, 110, 0.28);
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-body);
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-dark);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.15);
}
/* Inline validation — red border for invalid filled fields, no separate error divs */
.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}
.form-group input.valid,
.form-group textarea.valid {
  border-color: #27ae60;
}
.field-hint {
  display: block;
  font-size: 0.75rem;
  color: #c0392b;
  margin-top: 0.25rem;
  min-height: 0;
  line-height: 1.3;
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-success {
  display: none;
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid rgba(39, 174, 96, 0.3);
  color: #1a6b39;
  padding: 0.7rem 1rem;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 0.75rem;
}
.form-success.visible { display: block; }

.enquiry-terms { margin-top: 0.25rem; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-width: 17px;
  accent-color: var(--brown);
  margin-top: 2px;
  cursor: pointer;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--brown);
  color: rgba(253, 248, 243, 0.8);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
}
.footer-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
  opacity: 0.9;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 320px; }
.social-links {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.25rem;
}
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(200, 169, 110, 0.15);
  border: 1px solid rgba(200, 169, 110, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--gold-dark);
  color: var(--brown);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
}
.footer-links h5 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links ul li a {
  font-size: 0.88rem;
  color: rgba(253, 248, 243, 0.65);
  transition: var(--transition);
}
.footer-links ul li a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact-list { gap: 0.85rem !important; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: rgba(253, 248, 243, 0.65);
  line-height: 1.5;
}
.footer-contact-list li i {
  color: var(--gold-light);
  font-size: 0.85rem;
  margin-top: 3px;
  min-width: 14px;
}
.footer-contact-list li a {
  color: rgba(253, 248, 243, 0.65);
  transition: var(--transition);
}
.footer-contact-list li a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(200, 169, 110, 0.15);
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.83rem;
  color: rgba(253, 248, 243, 0.5);
}

/* ===========================
   BACK TO TOP
=========================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  width: 44px;
  height: 44px;
  background: var(--brown);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition);
  font-size: 0.85rem;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--brown-light); transform: translateY(-3px); }

/* ===========================
   ANIMATIONS (scroll)
=========================== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-img { height: 340px; }
  .about-badge-card { right: 1rem; bottom: -1rem; }
  .programs-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item:nth-child(5), .gallery-item:nth-child(9) { grid-column: span 1; aspect-ratio: 1; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
}

@media (max-width: 768px) {
  .section { padding: 5rem 0; }

  /* Nav mobile */
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem 2rem;
    gap: 0.25rem;
    box-shadow: 0 8px 30px rgba(74,44,26,0.15);
    border-top: 1px solid rgba(200, 169, 110, 0.2);
    transform: translateY(-105%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    z-index: 999;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-link { width: 100%; padding: 0.9rem 1rem; font-size: 1rem; border-radius: 10px; }
  .nav-cta { margin-left: 0; margin-top: 1.25rem; text-align: center; width: 100%; padding: 0.9rem 1rem; border-top: 1px solid rgba(200, 169, 110, 0.2); padding-top: 1rem; }

  /* Hero */
  .hero-content {
    margin-left: 2rem;
    max-width: calc(100% - 4rem);
    padding-top: 90px;
    padding-bottom: 6rem;
  }
  .hero { min-height: 100svh; padding-bottom: 5rem; }
  .hero-btns { flex-direction: column; width: 100%; max-width: 280px; }
  .hero-btns .btn { justify-content: center; }

  /* About */
  .about-img { height: 280px; }
  .about-badge-card { right: 0.5rem; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* Reviews */
  .review-card { flex: 0 0 calc(100% - 0rem); }
  .rev-arrow { display: none; }
  .reviews-slider-wrap { gap: 0; }

  /* Contact */
  .contact-form-wrap { padding: 1.75rem; }

  /* Footer */
  .footer { padding-top: 1rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.5rem 2rem; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { padding: 1.25rem 1.5rem; }

  /* Paragraph justification on mobile */
  p, .about-text p, .why-card p, .review-card .rev-text, .acc-body p, .contact-detail, .hero-sub {
    text-align: justify;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 4rem 0; }
  .section-title { font-size: 1.85rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hero-content { margin-left: 1.25rem; max-width: calc(100% - 2.5rem); padding-bottom: 5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .lb-prev { left: 0.75rem; }
  .lb-next { right: 0.75rem; }
  .hero-btns .btn { max-width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  /* Why card mobile: icon + heading row stays, paragraph fills full width */
  .why-card { padding: 1.4rem; }
  .why-card-header { flex-direction: row; align-items: center; margin-bottom: 0.75rem; }
  .why-card p { width: 100%; text-align: left; }
  /* Stats label centering */
  .stat-item p { text-align: center !important; }
  .stat-item { text-align: center; }
  /* Footer left padding */
  .footer-inner { padding-left: 1.5rem; padding-right: 1.5rem; }
}
