/* 
 * Lekshmi Coaching & Consultancy Design System
 * Modern Earth Palette, Premium Typography & Layouts
 */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,400&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Colors */
  --bg-primary: #FDF8F5;          /* Warm Cream/Beige */
  --bg-secondary: #FFFFFF;        /* Crisp White */
  --bg-dark: #1E2229;             /* Grounded Dark Slate (Footer) */
  --text-primary: #1D3557;        /* Deep Navy Blue */
  --text-secondary: #4A5568;      /* Slate/Charcoal for body readability */
  --text-muted: #718096;
  --text-light: #F7FAFC;
  
  --brand-cta: #E07A5F;           /* Muted Terracotta/Coral */
  --brand-cta-hover: #C56348;     /* Rich Terracotta */
  --brand-accent: #81B29A;        /* Soft Sage Green */
  --brand-accent-light: #EBF4F0;
  
  --border-color: #E2E8F0;
  --focus-ring: #0B57D0;

  /* Typography */
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Lato', system-ui, -apple-system, sans-serif;

  /* Spacing & Layout */
  --max-width: 1200px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-subtle: 0 4px 20px rgba(29, 53, 87, 0.04);
  --shadow-medium: 0 10px 30px rgba(29, 53, 87, 0.08);
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  accent-color: var(--brand-cta);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 500;
}

p {
  margin-bottom: 1.25rem;
}

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

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

/* Accessibility - Focus styles */
*:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

/* Grid & Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (max-width: 768px) {
  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

.text-center {
  text-align: center;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(253, 248, 245, 0.85); /* Glassmorphism background matching main beige */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(29, 53, 87, 0.05);
}

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

.logo-block {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-tagline {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  text-transform: none;
  letter-spacing: 0.03em;
  margin: 0;
  line-height: 1.3;
}

.logo-link {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
}

.logo-accent {
  color: var(--brand-accent);
}

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

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--border-radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  min-height: 48px;
}

.btn-primary {
  background-color: var(--brand-cta);
  color: white;
}

.btn-primary:hover {
  background-color: var(--brand-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(224, 122, 95, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  border-color: var(--brand-cta);
  color: var(--brand-cta);
  background-color: transparent;
}

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

/* Footer Section */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 4rem 0 2rem 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.footer-brand h3 {
  color: var(--text-light);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.reassurance-statement {
  font-size: 1.05rem;
  color: #CBD5E0;
  font-style: italic;
  max-width: 380px;
  line-height: 1.6;
}

.footer-nav-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-accent);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 0.75rem;
}

.footer-menu a {
  color: #A0AEC0;
}

.footer-menu a:hover {
  color: var(--text-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #718096;
}

@media (max-width: 576px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Form Controls & Styling */
.form-group {
  margin-bottom: 1.75rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  border: 1px solid #CBD5E0;
  border-radius: var(--border-radius-md);
  transition: var(--transition-smooth);
}

.form-input:focus {
  border-color: var(--brand-cta);
  outline: none;
  box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.15);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231D3557' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

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

/* Mobile Nav Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 48px;
  height: 48px;
  position: relative;
  z-index: 110;
}

.menu-toggle-icon {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  position: relative;
  transition: var(--transition-smooth);
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  position: absolute;
  transition: var(--transition-smooth);
}

.menu-toggle-icon::before {
  top: -6px;
}

.menu-toggle-icon::after {
  bottom: -6px;
}

.menu-toggle.open .menu-toggle-icon {
  background-color: transparent;
}

.menu-toggle.open .menu-toggle-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-toggle.open .menu-toggle-icon::after {
  transform: rotate(-45deg);
  bottom: 0;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-primary);
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2rem;
    transition: var(--transition-smooth);
  }

  .nav-menu.open {
    left: 0;
  }
}

/* ==========================================================================
   Homepage Sections
   ========================================================================== */

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 6rem 0;
}

@media (max-width: 992px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 4rem 0;
    text-align: center;
  }
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.5px;
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.75rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  aspect-ratio: 1;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

/* Symmetrical Split (The Two Pillars) */
.pillars-section {
  padding: 0;
  background-color: var(--text-primary);
}

.split-container {
  display: flex;
  min-height: 650px;
  width: 100%;
}

@media (max-width: 992px) {
  .split-container {
    flex-direction: column;
    min-height: auto;
  }
}

.split-pane {
  flex: 1;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 5rem 4rem;
  color: var(--text-light);
  overflow: hidden;
  transition: flex 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  text-decoration: none;
}

.split-pane-individual {
  background-color: #E07A5F; /* Terracotta fallback */
}

.split-pane-organization {
  background-color: #1D3557; /* Navy fallback */
}

/* Overlay gradient for text legibility and brand tone shading */
.split-pane::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(29, 53, 87, 0.15) 0%, rgba(29, 53, 87, 0.8) 100%);
  z-index: 1;
  transition: var(--transition-smooth);
}

.split-pane-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.65;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
}

.split-pane:hover {
  flex: 1.35;
}

@media (max-width: 992px) {
  .split-pane {
    flex: none;
    min-height: 400px;
    padding: 4rem 2rem;
  }
  .split-pane:hover {
    flex: none;
  }
}

.split-pane:hover .split-pane-image {
  transform: scale(1.05);
  opacity: 0.75;
}

.split-pane:hover::before {
  background: linear-gradient(180deg, rgba(29, 53, 87, 0.05) 0%, rgba(29, 53, 87, 0.7) 100%);
}

.split-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.pillar-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-accent);
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: block;
}

.split-pane-individual .pillar-label {
  color: #F8D3C9; /* Light terracotta helper for contrast */
}

.split-pane-organization .pillar-label {
  color: var(--brand-accent);
}

.pillar-title {
  font-size: 2.25rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.pillar-outcome {
  font-size: 1.15rem;
  color: #E2E8F0;
  margin-bottom: 2rem;
  max-width: 480px;
  font-weight: 300;
}

/* Testimonial overlay inside splits */
.split-testimonial {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  max-width: 480px;
}

.testimonial-quote {
  font-size: 1rem;
  font-style: italic;
  color: #F7FAFC;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.split-pane-individual .testimonial-author {
  color: #F8D3C9;
}

/* Methodology Section */
.methodology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}

@media (max-width: 768px) {
  .methodology-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.method-card {
  background-color: var(--bg-secondary);
  padding: 3rem 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
  border: 1px solid rgba(29, 53, 87, 0.03);
  position: relative;
  overflow: hidden;
}

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

.method-num {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  color: var(--brand-accent-light);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
}

.method-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* ==========================================================================
   Secondary Pages Layout
   ========================================================================== */

.page-header {
  padding: 5rem 0 3rem 0;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid rgba(29, 53, 87, 0.03);
}

.page-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-intro {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  font-weight: 300;
}

/* About Page narrative layouts */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.narrative-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.narrative-content p {
  margin-bottom: 1.75rem;
}

.narrative-highlight {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--text-primary);
  border-left: 4px solid var(--brand-cta);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
}

/* Contact Experience: Two-Step Bridge */
.contact-container {
  max-width: 650px;
  margin: 0 auto;
  background-color: var(--bg-secondary);
  padding: 3.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(29, 53, 87, 0.03);
  position: relative;
  min-height: 450px;
}

@media (max-width: 576px) {
  .contact-container {
    padding: 2rem 1.5rem;
  }
}

/* Step tracker */
.step-tracker {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 1rem;
  margin-bottom: 3rem;
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-color);
  transition: var(--transition-smooth);
}

.step-dot.active {
  background-color: var(--brand-cta);
  transform: scale(1.25);
}

/* Wizard step panels */
.form-step {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.form-step.active {
  display: block;
  opacity: 1;
}

/* Custom interactive segment buttons */
.segment-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 576px) {
  .segment-selector {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.segment-option {
  position: relative;
  cursor: pointer;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.segment-option:hover {
  border-color: var(--brand-accent);
  background-color: var(--bg-primary);
}

.segment-input:checked + .segment-option {
  border-color: var(--brand-cta);
  background-color: var(--brand-accent-light);
}

.segment-input:focus-visible + .segment-option {
  outline: 3px solid var(--focus-ring);
}

.segment-title {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.segment-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.form-navigation.single-btn {
  justify-content: flex-end;
}

