:root {
  --orange: #ff4002;
  --orange-light: #ff914d;
  --green: #63974a;
  --green-light: #9bb961;
  --sun: #ffcc02;
  --sun-light: #fffced;
  --card-radius: 20px;
  --pill-radius: 50px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  background-color: white;
  color: black;
  overflow-x: hidden;
  line-height: 1.5;
  font-size: 18px;
}

p {
  margin-bottom: 18px;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

h1, h2, h3, h4 { font-family: 'Work Sans', sans-serif; font-weight: 600; }

h1 { 
  font-size: clamp(3.6rem, 7.7vw, 72px);
  line-height: 1;
  color: var(--orange);
  margin-bottom: 2rem;
}

h2 { 
  font-size: clamp(2.1rem, 4.2vw, 42px);
  line-height: 1;
  color: var(--green);
  margin-bottom: 1rem;
}

h3 { 
  font-size: clamp(1.2rem, 2vw, 30px);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.eyebrow {
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.25rem;
  margin-bottom: 14px;
}
/* ---- LAYOUT ---- */
.container { max-width: 75rem; margin: 0 auto; padding: 0 2rem; }

/* ---- TEXTURE BACKGROUND UTILITY ---- */
.texture-bg {
  position: relative;
  background-color: var(--sun-light);
}
.texture-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 0;
}
.texture-bg > * { position: relative; z-index: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--pill-radius);
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 18px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-green {
  background: var(--green);
  color: white;
}
.btn-green:hover { background: var(--green-light); transform: translateY(-2px); }

.tuition-actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

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

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

.btn-ghost {
  background: transparent;
  color: white;
  border-color: white;
}
.btn-ghost:hover  { background: transparent; border-color: var(--sun-light); color: var(--sun-light); transform: translateY(-2px);}

.link {
  text-decoration: underline;
  transition: gap var(--transition), color var(--transition);
}
.link:hover { color: var(--orange); gap: 0.6rem; }

/* =======================================
   HEADER / NAV
   ======================================= */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  z-index: 99;
  border-bottom: 0.0625rem solid rgba(0,0,0,0.06);
  transition: box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.nav-inner {
  max-width: 75rem;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-mark {
  width: 50px; height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo .logo-mark { background: none; }
.footer-logo .logo-mark {
  width: 270px; height: auto;
  object-fit: contain;
  object-position: top;
}

.logo-text {
  font-size: 20px;
  font-weight: 500;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.main-nav a {
  font-size: 16px;
  font-weight: 500;
  color: black;
  position: relative;
  transition: color var(--transition);
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 0.125rem;
  background: var(--orange);
  border-radius: 2px;
  transition: width var(--transition);
}
.main-nav a:hover { color: var(--orange); }
.main-nav a:hover::after { width: 100%; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}
.hamburger span {
  display: block;
  width: 1.5rem; height: 0.125rem;
  background: black;
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: white;
  padding: 1rem 2rem 1.5rem;
  border-top: 0.0625rem solid rgba(0,0,0,0.06);
}
.mobile-menu a {
  padding: 0.7rem 0;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 0.0625rem solid rgba(0,0,0,0.05);
  color: black;
}
.mobile-menu.open { display: flex; }

/* =======================================
   HERO
   ======================================= */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(20, 30, 15, 0.8), rgba(20, 30, 15, 0.8)), var(--sun-light) url("https://pub-80f93f5ac63a4eeabbce9d7f2b8d4e7f.r2.dev/sites/09e835b8-1cfb-408e-b454-9a10c80a54c3/1782140318241-hero.webp") center center / cover no-repeat;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: 100%;
}
/* Linen texture on hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.045'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  pointer-events: none;
}

/* Guidepost-style playful circles */
.hero-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.18;
}
.circle-1 {
  width: 30rem; height: 30rem;
  background: var(--orange);
  top: -180px; right: -100px;
  border-radius: 50%;
  animation: circleFloat1 10s ease-in-out infinite alternate;
}
.circle-3 {
  width: 12.5rem; height: 12.5rem;
  background: var(--green);
  top: 30%; left: 30%;
  border-radius: 50%;
  animation: circleFloat1 9s ease-in-out infinite alternate-reverse;
  opacity: 0.08;
}
@keyframes circleFloat1 {
  from { transform: translate(0,0) scale(1) rotate(0deg); }
  to   { transform: translate(20px, -30px) scale(1.06) rotate(8deg); }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 50rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-eyebrow {
  font-weight: 600;
  letter-spacing: 0.25rem;
  font-size: 18px;
  color: white;
  margin-bottom: 16px;
}
.hero-sub {
  font-size: 28px;
  max-width: 40rem;
  margin-bottom: 3rem;
  line-height: 1.5;
  color: white;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.circle-yellow {
  position: absolute;
  width: 21.875rem; height: 21.875rem;
  background: var(--sun);
  opacity: 0.12;
  border-radius: 50%;
  bottom: -80px; left: -60px;
  pointer-events: none;
  animation: circleFloat1 12s ease-in-out infinite alternate;
}
.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 56px;
}

.section-desc {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 56px;
}

/* == PROGRAMS == */
.programs-section {
  padding: 6rem 0 3rem 0;
  position: relative;
  overflow: hidden;
}

.programs-section > .container { 
  position: relative; 
  z-index: 1; 
}

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

.program-card {
  background: white;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform var(--transition), box-shadow var(--transition);
}
.program-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.pc-img-wrap {
  position: relative;
  height: 13.75rem;
  overflow: hidden;
}

.pc-img-wrap img { transition: transform 0.5s ease; }

.program-card:hover .pc-img-wrap img { transform: scale(1.04); }

.pc-body {
  padding: 1.6rem 1.8rem;
}

/* == ABOUT == */
.about-section {
  padding: 7rem 0;
  background: white;
}

.about-inner {
  max-width: 75rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-img-wrap {
  border-radius: 30px;
  overflow: hidden;
  height: 31rem;
  box-shadow: 0 20px 60px rgba(45,74,62,0.15);
}
.about-image { position: relative; }

.about-text h2 { margin-bottom: 24px; }

/* == TUITION == */

.tuition-section {
  padding: 3rem 0 6rem 0;
  position: relative;
  overflow: hidden;
}

/* Tuition & Fees accordion */
.tuition-fees {
  background: white;
  border-radius: var(--card-radius);
  padding: 2.2rem 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.tuition-fees h3 {
  margin-bottom: 24px;
  font-size: 22.4px;
  color: var(--green);
}
.fees-list { display: flex; flex-direction: column; gap: 0; }
.fee-item {
  border-bottom: 0.0625rem solid rgba(0,0,0,0.07);
}
.fee-item:last-child { border-bottom: none; }
.fee-summary {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.625rem 0;
  cursor: pointer;
  list-style: none;
}
.fee-summary::-webkit-details-marker { display: none; }
.fee-toggle {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--orange-light);
  color: white;
  font-size: 1rem;
  line-height: 1;
  transition: transform var(--transition);
}
.fee-item[open] .fee-toggle { transform: rotate(45deg); }
.fee-details {
  padding: 0 0 1.1rem 0;
  color: black;
}
.fee-details p { margin: 0; }
.fee-details ul {
  margin: 8px 0 0 0;
  padding-left: 1.25rem;
  list-style: disc;
}
.fee-details li {
  margin-bottom: 8px;
}
.fee-details li:last-child {
  margin-bottom: 0;
}
.fee-info { flex: 1; }
.fee-info h3 { margin-bottom: 0; }
.fee-info strong { display: block; font-size: 15.2px; color: black; margin-bottom: 3.2px; }
.fee-info p { font-size: 18px; color: black; margin: 0; }

/* =======================================
   GALLERY (Amare-style)
   ======================================= */
.gallery-section { padding: 5rem 0 0; background: white; }
.gallery-heading { text-align: center; padding: 0 2rem; margin-bottom: 32px; }
.gallery-strip {
  display: flex;
  gap: 0.5rem;
  height: 23.75rem;
  overflow: hidden;
}
.gallery-item {
  flex: 1;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  position: relative;
}
.gallery-item.gi-tall { flex: 1.3; }
.gallery-item.gi-wide { flex: 2; }
.gallery-item img {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-item:hover img { transform: scale(1.06); }
/* Hover overlay */
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(45,74,62,0);
  transition: background var(--transition);
}
.gallery-item:hover::after { background: rgba(45,74,62,0.15); }

/* == APP INFO == */
.app-info-section {
  padding: 6rem 0;
  text-align: center;
  background: var(--green);
  position: relative;
  overflow: hidden;
}

.app-info-section .container { 
  position: relative; 
  z-index: 1; 
}

.app-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.app-info-grid .btn {
  justify-content: center;
  width: 100%;
}

/* == FOOTER == */

.site-footer {
  background: #fff4c2;
  color: black;
  padding-top: 4rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2.2fr 0.6fr 1.2fr;
  gap: 8rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--orange-light);
  align-items: start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: 2.5rem;
}

.footer-logo {
  display: flex;
  align-items: flex-start;
}

.social-links { display: flex; gap: 0.8rem; padding-top: 2rem; }
.social-links a {
  width: 30px; height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.social-links a:hover { border-color: var(--orange); }
.footer-links {
  display: contents;
}
.footer-col h4 {
  font-family: 'Work Sans', sans-serif;
  margin-bottom: 1.2rem;
}
.footer-col a, .footer-col p {
  display: block;
  margin-bottom: 0.6rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--orange); }
.footer-col .social-links a {
  display: flex;
  margin-bottom: 0;
}
.footer-bottom .container > div {
  display: flex;
  gap: 1rem;
}
.footer-bottom .container > div a {
  transition: color var(--transition);
}
.footer-bottom .container > div a:hover { color: var(--orange); }
.footer-bottom {
  padding: 1.5rem 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap:1rem;
  flex-wrap: wrap;
}

/* =======================================
   SCROLL ANIMATIONS
   ======================================= */
[data-animate] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}
[data-animate="fade-up"]    { transform: translateY(32px); }
[data-animate="fade-right"] { transform: translateX(-32px); }
[data-animate="fade-left"]  { transform: translateX(32px); }
[data-animate].animated {
  opacity: 1;
  transform: translate(0);
}

/* =======================================
   RESPONSIVE
   ======================================= */
@media (max-width: 1200px) {
  .programs-grid { grid-template-columns: 1fr; max-width: 40rem; margin: 0 auto; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 1024px) {
  .hero {
    padding: 4rem 2rem;
    min-height: unset;
    text-align: center;
  }
  .hero-inner {
    flex-direction: column;
  }
  .hero-content {
    max-width: 100%;
    align-items: center;
  }
  .hero-actions { justify-content: center; }
  .hero-sub { margin: 0 auto 32px; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .programs-grid { max-width: 40rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .gallery-strip { height: 16.25rem; }
  .app-info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .app-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .gallery-strip { height: 12.5rem; }
  .gallery-item.gi-wide { flex: 1.5; }
  .footer-links { grid-template-columns: 1fr 1fr; }}

@media (max-width: 500px) {
  .nav-right .btn-orange { display: none; }
  .container, .gallery-heading { padding-left: 1.5rem; padding-right: 1.5rem; }
  .gallery-strip { flex-wrap: nowrap; gap: 0.25rem; }
  .gallery-item.gi-tall, .gallery-item.gi-wide { flex: 1; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .footer-bottom .container p { text-align: left; align-self: flex-start; }
  .tuition-section h3 { font-size: clamp(1.2rem, 2vw, 24px); }
  .about-img-wrap { height: auto; aspect-ratio: 1 / 1; }
  .logo-text { display: none; }
  .footer-logo .logo-mark { width: 220px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
