:root {
  /* Color Palette - Traditional & Serene */
  --bg-primary: #fdfaf7;
  /* Off-white / Cream */
  --bg-secondary: #f6f1eb;
  /* Sand */
  --text-primary: #2d2a26;
  /* Deep Charcoal */
  --text-secondary: #423f3b;
  /* Darkened Muted Grey-Brown */
  --accent: #c67d53;
  /* Terracotta / Saffron blend */
  --accent-dark: #a05e3a;
  --accent-light: #e8d5c8;
  --gold: #d4a373;
  --white: #ffffff;
  --border: rgba(45, 42, 38, 0.08);

  /* Typography */
  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Spacing & Misc */
  --max-width: 1200px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
}

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

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

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

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

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.65) saturate(0.9);
  opacity: 0;
  animation: heroFade 15s infinite;
}

.hero-slide-1 {
  background-image: url("https://images.pexels.com/photos/3822621/pexels-photo-3822621.jpeg?auto=compress&cs=tinysrgb&w=1200");
  animation-delay: 0s;
}

.hero-slide-2 {
  background-image: url("https://images.pexels.com/photos/4056723/pexels-photo-4056723.jpeg?auto=compress&cs=tinysrgb&w=1200");
  animation-delay: 5s;
}

.hero-slide-3 {
  background-image: url("https://images.pexels.com/photos/3823063/pexels-photo-3823063.jpeg?auto=compress&cs=tinysrgb&w=1200");
  animation-delay: 10s;
}

@keyframes heroFade {
  0% {
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  33% {
    opacity: 1;
  }

  43% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.hero-overlay {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 5vw;
  background: linear-gradient(to bottom, rgba(45, 42, 38, 0.4) 0%, rgba(45, 42, 38, 0.2) 50%, rgba(45, 42, 38, 0.6) 100%);
}

/* --- Navigation --- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

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

.brand-logo {
  width: 60px;
  height: 60px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: var(--shadow-md);
}

.nav-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Hero Content --- */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: var(--white);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--gold);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  margin: 0 0 1.5rem;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  text-wrap: balance;
}

.intro {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 700px;
}

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

.btn-primary,
.btn-secondary {
  padding: 0.9rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
  background: var(--white);
  color: var(--text-primary);
}

.hero-dots {
  padding: 2rem 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.dot {
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.dot.active {
  background: var(--white);
}

main section {
  padding: 3.5rem 5vw;
}

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

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 1rem;
}

/* --- About Section --- */
.about {
  background: var(--white);
}

.about-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  height: 600px;
}

.about-photo {
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.about-photo:hover {
  transform: scale(1.02);
  z-index: 10;
}

.about-photo-main {
  grid-column: 1 / 6;
  grid-row: 1 / 6;
  background-image: url("https://images.pexels.com/photos/3822622/pexels-photo-3822622.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.about-photo-side-1 {
  grid-column: 4 / 7;
  grid-row: 4 / 7;
  background-image: url("https://images.pexels.com/photos/3822864/pexels-photo-3822864.jpeg?auto=compress&cs=tinysrgb&w=1200");
  border: 8px solid var(--white);
}

.about-copy h3 {
  font-size: 1.8rem;
  color: var(--accent);
}

.about-intro {
  font-size: 1.25rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.about-points {
  margin: 2rem 0;
}

.about-points ul {
  list-style: none;
  padding: 0;
}

.about-points li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 1rem;
}

.about-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 1;
}

.about-highlight {
  padding: 2rem;
  background: var(--bg-secondary);
  border-left: 4px solid var(--accent);
  margin-top: 2rem;
}

.about-highlight p {
  font-style: italic;
  font-size: 1.1rem;
  margin: 0;
  color: var(--text-primary);
}

.about-highlight span {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
}

/* --- Metrics Section --- */
.metrics {
  background: var(--text-primary);
  color: var(--white);
  padding: 2.5rem 5vw;
  position: relative;
  overflow: hidden;
}

.metrics::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(212, 163, 115, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.metrics-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 3rem 2rem;
  position: relative;
  z-index: 1;
}

.metric-stat {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
}

.metric-icon {
  width: 32px;
  height: 32px;
  color: var(--gold);
  flex-shrink: 0;
  transition: var(--transition);
}

.metric-info {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--white);
  line-height: 1;
  margin: 0;
}

.metric-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  margin-top: 2px;
}

.metric-stat:hover .metric-icon {
  transform: translateX(4px);
  color: var(--accent);
}

/* --- Offerings Section --- */
.offerings {
  background: var(--bg-primary);
}

.card-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.card {
  background: var(--white);
  padding: 2.2rem 1.8rem;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.card h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex: 1;
}

.tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
}

/* --- Schedule Section --- */
.schedule {
  background: var(--white);
}

.schedule-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.schedule-grid div {
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 4px;
  text-align: center;
  transition: var(--transition);
}

.schedule-grid div:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.schedule-grid h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.time {
  margin-top: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
}

/* --- Testimonials Section --- */
.testimonials {
  background: var(--bg-secondary);
  overflow: hidden;
}

.testimonial-slider {
  max-width: var(--max-width);
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card {
  flex: 0 0 100%;
  padding: 0 1rem;
  text-align: center;
}

.testimonial-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
}

.testimonial-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.role {
  font-size: 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimonial-text {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.4;
  color: var(--text-primary);
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-controls {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.testimonial-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.5rem;
}

.testimonial-arrow:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.contact-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 4rem;
  align-items: center;
}

.contact-info {
  text-align: left;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-item h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.contact-item a {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 500;
}

.contact-map {
  line-height: 0;
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
}

/* --- Footer --- */
.footer {
  background: var(--text-primary);
  color: var(--white);
  padding: 3rem 5vw 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand img {
  width: 50px;
  height: 50px;
  filter: brightness(0) invert(1);
}

.footer-brand span {
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

/* --- Philosophy Section --- */
.philosophy {
  background: var(--bg-secondary);
  padding: 4rem 5vw;
}

.philosophy-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.philosophy-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.principles-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.principles-list li {
  margin-bottom: 1.25rem;
  padding-left: 2rem;
  position: relative;
}

.principles-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.philosophy-quote blockquote {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  line-height: 1.4;
  color: var(--accent);
  margin: 0;
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--accent-light);
}

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

.gallery-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 300px);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}


/* --- Essence Section --- */
.essence {
  background: var(--bg-secondary);
  padding: 8rem 5vw;
}

.essence-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.essence-card {
  padding: 3rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.essence-card h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 2rem;
  color: var(--accent);
  position: relative;
}

.essence-card h2::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--gold);
}

.essence-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* --- Vision Section --- */
.vision {
  padding: 10rem 5vw;
  background: var(--bg-primary);
  text-align: center;
  position: relative;
}

.vision::before {
  content: "“";
  position: absolute;
  top: 4rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 10rem;
  color: rgba(198, 125, 83, 0.05);
  line-height: 1;
}

.vision-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.vision blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.3;
  color: var(--text-primary);
  font-style: italic;
  margin: 2rem 0;
  border: none;
  padding: 0;
}

/* --- Pillars Section --- */
.pillars {
  padding: 8rem 5vw;
  background: var(--white);
}

.pillars-intro {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pillars-grid {
  max-width: var(--max-width);
  margin: 4rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.pillar-card {
  padding: 3rem 2rem;
  background: var(--bg-secondary);
  border-radius: 8px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pillar-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.pillar-icon {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--accent-light);
  line-height: 1;
}

.pillar-card h3 {
  font-size: 1.3rem;
  margin: 0;
  color: var(--text-primary);
}

.pillar-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

.pillars-footer {
  text-align: center;
  max-width: 700px;
  margin: 4rem auto 0;
  font-weight: 500;
  color: var(--accent);
  font-size: 1.1rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {

  .about-layout,
  .philosophy-grid,
  .contact-container,
  .essence-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .about-gallery {
    height: 500px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 250px);
  }

  .nav-links {
    display: none;
    /* Hide for mobile simplified nav */
  }
}

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

  .philosophy-quote blockquote {
    font-size: 1.4rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 300px);
  }

  .gallery-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .footer-top {
    flex-direction: column;
    gap: 3rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}