/* 
 * The 2844 India - Main Stylesheet
 * Inspired by the 'Healing Vibes' CMSMasters WordPress Theme
 */

@import url('https://fonts.googleapis.com/css2?family=Gotu&family=Lato:ital,wght@0,300;0,400;0,700;1,400&display=swap');

/* ==========================================
   CSS Custom Properties & Design System
   ========================================== */
:root {
  /* Color Palette */
  --color-primary: #783766;      /* Rich Plum / Berry */
  --color-secondary: #508086;    /* Sage Teal / Slate Blue */
  --color-text: #40304B;         /* Deep Indigo */
  --color-text-muted: #6e6277;   /* Muted Indigo */
  --color-accent: #af4d65;       /* Dusty Rose / Blush Pink */
  --color-accent-hover: #b0818d; /* Muted Blush Pink */
  --color-bg-alt: #F5F3EF;       /* Warm Cream / Alabaster */
  --color-bg-alt-light: #FAF9F7; /* Very Light Warm Cream */
  --color-bg: #FFFFFF;           /* Pure White */
  --color-border: #E3DFD9;       /* Light Warm Muted Grey */
  --color-plum-light: #F2ECF4;   /* Soft Lavender/Plum Shade */
  --color-teal-light: #EBF2F3;   /* Soft Sage Teal Shade */
  
  /* Fonts */
  --font-headers: 'Gotu', 'Playfair Display', serif;
  --font-body: 'Lato', 'Inter', sans-serif;
  
  /* Transitions & Animation Variables */
  --transition-fast: 0.25s ease;
  --transition-normal: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 10px rgba(64, 48, 75, 0.04);
  --shadow-md: 0 10px 30px rgba(64, 48, 75, 0.08);
  --shadow-lg: 0 20px 45px rgba(64, 48, 75, 0.12);
  
  /* Border Radius */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  
  /* Container Width */
  --container-width: 1200px;
}

/* ==========================================
   Resets & Base Styles
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headers);
  color: var(--color-text);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin-bottom: 1.5rem;
}

p.lead {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   Layout Components
   ========================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
  position: relative;
  background-color: var(--color-bg);
}

.service-hero {
  padding: 8rem 0 4rem;
}

.section.alt {
  background-color: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
  color: var(--color-primary);
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--color-accent);
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-top: 1rem;
}

.subtitle {
  font-family: var(--font-headers);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  color: var(--color-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.subtitle::before,
.subtitle::after {
  content: '';
  color: var(--color-primary);
  font-size: 0.8rem;
}

/* ==========================================
   Navigation Header
   ========================================== */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ffffff;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal), padding var(--transition-normal);
  padding: 0.8rem 0; /* Reduced padding to match 96px header height from screenshot */
}
.header-wrapper.header-transparent {
  background-color: transparent;
  border-bottom: none;
  box-shadow: none;
}

.header-wrapper.scrolled,
.header-wrapper.header-transparent.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--color-border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 100px; /* Reduced max size per user request */
  width: auto;
  transition: height var(--transition-normal);
}

.header-wrapper.scrolled .logo-img {
  height: 75px; /* Scale down smoothly on scroll */
}

.footer-logo-img {
  height: 120px; /* Double the size */
  width: auto;
  margin-bottom: 1.5rem;
}

.logo-text {
  font-family: var(--font-headers);
  font-size: 1.6rem;
  letter-spacing: 3px;
  font-weight: 400;
  color: var(--color-primary);
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 4px;
  color: var(--color-secondary);
  text-transform: uppercase;
  margin-top: -4px;
  display: block;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-item:not(:last-child)::after {
  content: '';
  margin-left: 1.5rem;
  color: var(--color-primary);
  font-size: 0.8rem;
  opacity: 0.5;
  pointer-events: none;
}

.nav-item a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-item a:hover,
.nav-item.active a {
  color: var(--color-primary);
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-fast);
}

.nav-item a:hover::after,
.nav-item.active a::after {
  width: 100%;
}

.nav-cta {
  background-color: var(--color-accent);
  color: #fff !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 50px;
  transition: background-color var(--transition-fast), transform var(--transition-fast) !important;
}

.nav-cta:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
}

.nav-cta::after {
  display: none !important;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-primary);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(196, 151, 162, 0.2);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.btn-secondary:hover {
  background-color: var(--color-secondary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(80, 128, 134, 0.2);
}

.btn-plum {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-plum:hover {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(120, 55, 102, 0.2);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #ffffff; /* White background to blend seamlessly with the section below */
  padding: 7rem 0; /* Updated padding to match dev tools screenshot */
  overflow: visible;
}

.hero-card {
  width: 100%;
  border-radius: 30px; /* Small rounded border of banner matching screenshot */
  background-color: #ffffff; /* White base card for watercolor overlay */
  padding: 5rem 3rem; /* Adjusted padding to accommodate larger image */
  position: relative;
  overflow: visible; /* Crucial to let arched image overflow */
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.hero-section.homepage-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 96px); /* Full screen minus header */
  margin-top: 96px; /* Offset for fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.homepage-hero .hero-content h1,
.homepage-hero .hero-content p,
.homepage-hero .hero-content .subtitle {
  color: #ffffff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.8);
}

.homepage-hero .hero-call span {
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.homepage-hero .hero-call a {
  color: #ffffff !important;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.hero-content-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
  margin-top: 5rem; /* Push text down slightly to avoid faces if needed, or adjust */
}

.watermark-bg {
  background-image: url('assets/home-3-background-4.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero-bg-graphic {
  display: none; /* Hide background overlay graphic */
}

.hero-grid {
  display: grid;
  position: relative;
  z-index: 2;
  grid-template-columns: 1fr 1fr; /* 50% / 50% split for larger image frame */
  gap: 3rem; /* Gap to match screenshot proportions with larger image */
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s var(--transition-slow) forwards;
}

.hero-content .subtitle {
  color: var(--color-primary);
}

.hero-content h1 {
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
  margin-bottom: -150px; /* Pull image down past the card container */
  margin-top: -62px;     /* Match margin-top from screenshot */
  z-index: 10;
}

.hero-image-container {
  width: 76%;
  max-width: 680px;
  height: 771px; /* Match height from screenshot */
  margin: 0 auto;
  border-radius: 400px 400px 30px 30px; /* Arched/dome shape matching reference screenshot */
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

.hero-badge {
  position: absolute;
  bottom: 40px;
  left: -20px;
  background-color: #ffffff;
  padding: 1.25rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 4s ease-in-out infinite;
}

.hero-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-plum-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-weight: bold;
}

.hero-badge-text h5 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
}

.hero-badge-text p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ==========================================
   Welcome / Intro Section
   ========================================== */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.welcome-images {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  position: relative;
}

.welcome-img-1 {
  grid-column: 1 / 10;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 5px solid #ffffff;
  overflow: hidden;
}

.welcome-img-2 {
  grid-column: 7 / 13;
  margin-top: 5rem;
  z-index: 2;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 8px solid #ffffff;
  overflow: hidden;
}

.welcome-content {
  padding-left: 1rem;
}

.welcome-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  list-style: none;
}

.welcome-features li {
  position: relative;
  padding-left: 2rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
}

.welcome-features li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  top: -2px;
  width: 22px;
  height: 22px;
  background-color: var(--color-teal-light);
  border-radius: 50%;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
}

/* ==========================================
   Services Grid Section
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.25rem;
  text-align: center;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--color-bg-alt);
  z-index: 0;
  transition: height var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.service-card:hover::after {
  height: 100%;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--color-plum-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  transition: transform var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
  transform: rotateY(180deg) scale(1.1);
  background-color: var(--color-accent);
  color: #ffffff;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 2rem;
}

.service-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.service-link::after {
  content: '\2192';
  transition: transform var(--transition-fast);
}

.service-link:hover::after {
  transform: translateX(5px);
}

/* ==========================================
   Recovery Programs Section
   ========================================== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.program-card {
  background-color: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.program-image {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.program-card:hover .program-image img {
  transform: scale(1.1);
}

.program-duration {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-family: var(--font-headers);
  font-size: 0.85rem;
  z-index: 2;
}

.program-content {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-content h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.program-features-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.program-features-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.program-features-list li::before {
  content: '\2022';
  position: absolute;
  left: 5px;
  color: var(--color-accent);
  font-size: 1.5rem;
  line-height: 1;
  top: -3px;
}

.program-cta-btn {
  margin-top: auto;
  width: 100%;
}

/* ==========================================
   Care Journey / Process Section
   ========================================== */
.journey-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 4rem;
}

.journey-flow::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 8%;
  right: 8%;
  height: 2px;
  background-color: var(--color-border);
  z-index: 0;
}

.journey-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.journey-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--color-bg);
  border: 3px solid var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-headers);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.journey-step:hover .journey-number {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(120, 55, 102, 0.2);
}

.journey-step h4 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.journey-step p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ==========================================
   Testimonials Slider
   ========================================== */
.testimonials-slider-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonials-wrapper {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-slide {
  min-width: 100%;
  padding: 1rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.testimonial-slide.active {
  opacity: 1;
}

.testimonial-quote-icon {
  font-size: 4rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.3;
  margin-bottom: 1.5rem;
  font-family: serif;
}

.testimonial-content {
  font-family: var(--font-headers);
  font-size: 1.5rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 2.5rem;
  font-style: italic;
}

.testimonial-author h5 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.testimonial-author p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-secondary);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial-arrow {
  background: none;
  border: 1px solid var(--color-border);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.testimonial-arrow:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.testimonial-dot.active {
  background-color: var(--color-primary);
  transform: scale(1.3);
}

/* ==========================================
   Consultation Banner CTA
   ========================================== */
.cta-banner {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-banner-graphic {
  position: absolute;
  top: -50%;
  left: -10%;
  width: 40%;
  height: 200%;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  transform: rotate(-30deg);
  z-index: 0;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-banner h2 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-banner p {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  line-height: 1.8;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
  background-color: var(--color-text);
  color: #ffffff;
  padding: 6rem 0 2rem;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
  color: var(--color-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-widget h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-widget h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  color: #ffffff;
}

.footer-socials a:hover {
  background-color: var(--color-accent);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform var(--transition-fast);
}

.footer-links li a:hover {
  transform: translateX(5px);
}

.footer-contact-list {
  list-style: none;
}

.footer-contact-list li {
  margin-bottom: 1.25rem;
  display: flex;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-list i {
  color: var(--color-accent);
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  position: relative;
}

.newsletter-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  font-family: var(--font-body);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-accent);
  background-color: rgba(255, 255, 255, 0.06);
}

.newsletter-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  background-color: var(--color-accent);
  border: none;
  color: #ffffff;
  padding: 0 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  transition: background-color var(--transition-fast);
}

.newsletter-btn:hover {
  background-color: var(--color-accent-hover);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

/* ==========================================
   Back To Top Button
   ========================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background-color: var(--color-accent);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  transition: all var(--transition-normal);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--color-primary);
  transform: translateY(-5px);
}

/* ==========================================
   Keyframe Animations
   ========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Layout Utilities */
.mb-8 { margin-bottom: 8rem; }
.mb-4 { margin-bottom: 4rem; }

.welcome-features.single-col {
  grid-template-columns: 1fr;
}

.welcome-img-full {
  grid-column: 1 / 13 !important;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.custom-list-columns {
  columns: 2;
  column-gap: 2rem;
}

/* ==========================================
   Media Queries & Responsive Styling
   ========================================== */
@media (max-width: 1200px) {
  .hero-image-container {
    height: 650px;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    gap: 2rem;
  }
  .hero-image-container {
    height: 550px;
  }
  .services-grid,
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .journey-flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 1.5rem;
  }
  .journey-flow::before {
    display: none;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .header-wrapper {
    padding: 1rem 0;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--color-bg);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-normal);
    align-items: flex-start;
    gap: 1.5rem;
  }
  .nav-menu .nav-item::after {
    display: none !important; /* Hide dot separators in mobile vertical menu */
  }
  .nav-menu.active {
    right: 0;
  }
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 4rem;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-image-wrapper {
    max-width: 500px;
    margin: 3rem auto -4rem; /* Fix bottom overlap on mobile */
  }
  .hero-image-container {
    height: 550px;
  }
  .mb-8 {
    margin-bottom: 4rem;
  }
  .custom-list-columns {
    columns: 1;
  }
  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
  }
  .welcome-images {
    max-width: 500px;
    margin: 0 auto;
  }
  .welcome-content {
    text-align: center;
    padding-left: 0;
  }
  .welcome-features {
    grid-template-columns: 1fr;
    justify-content: center;
    text-align: left;
  }
  .section {
    padding: 4rem 0;
  }
  .service-hero {
    padding: 4rem 0 2rem;
  }
  .services-grid,
  .programs-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
  .journey-flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .journey-flow {
    grid-template-columns: 1fr;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   Contact Form Styles
   ========================================== */
.contact-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
}

.contact-card-form {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
}

.form-title {
  margin-bottom: 2rem;
  color: var(--color-primary);
  font-family: var(--font-headers);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-alt-light);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-bg);
  box-shadow: 0 0 0 3px rgba(120, 55, 102, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.info-block {
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  background-image: url('assets/home-3-background-4.webp');
  background-repeat: no-repeat;
  background-size: cover;
}

.info-block h3 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.info-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.info-details-item {
  display: flex;
  gap: 0.75rem;
}

.info-details-item span:first-child {
  color: var(--color-accent);
}

@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .contact-card-form {
    padding: 2rem;
  }
}

/* ==========================================
   Founder Biography Page Styles (Screenshot)
   ========================================== */
.founder-bio-section {
  background-color: var(--color-accent); /* Rose pink background from screenshot */
  padding: 8rem 0;
  color: #ffffff;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5rem;
  align-items: center;
}

.founder-text {
  font-size: 1.05rem;
  line-height: 1.8;
}

.founder-text p {
  margin-bottom: 1.75rem;
}

.founder-text strong {
  color: var(--color-primary);
  font-weight: 700;
}

.founder-image-wrapper {
  text-align: center;
}

.founder-image-container {
  border-radius: 40px; /* Highly rounded bio photo matching screenshot */
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid #ffffff;
  margin-bottom: 1.5rem;
}

.founder-name-label {
  font-family: var(--font-headers);
  font-size: 2.2rem;
  color: #ffffff;
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}



/* Dropdown Menu Styles */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  border-top: 3px solid var(--color-primary);
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem !important;
  color: var(--color-text) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  text-transform: none !important;
  transition: background-color 0.2s, color 0.2s !important;
}

.dropdown-menu a:hover {
  background-color: var(--color-bg-alt);
  color: var(--color-primary) !important;
}
.dropdown-menu a::after {
  display: none !important;
}

/* Footer Social Styles */
.footer-social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  color: #fff;
  transition: background-color 0.3s;
}
.footer-social-icons a:hover {
  background-color: var(--color-accent);
}

.service-icon-wrapper i {
  font-size: 35px;
  line-height: 1;
}
.service-icon-wrapper svg {
  max-width: 50%;
  max-height: 50%;
}

