/* ================================
   RESET & BASE STYLES
   ================================ */

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

:root {
  /* Colors */
  --primary: #007A6E;
  --primary-light: #00a896;
  --primary-dark: #005a52;
  --bg-light: #F0F9F8;
  --bg-white: #FFFFFF;
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --text-light: #718096;

  /* Service Colors */
  --orange: #FF6B35;
  --red: #E63946;
  --yellow: #FFD23F;
  --blue: #4DA8DA;
  --lime: #A3D977;
  --cyan: #06D6A0;

  /* Spacing */
  --container-width: 1200px;
  --section-padding: 120px;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.16);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: rgba(0, 122, 110, 0.2);
  color: var(--primary);
}

/* ================================
   LAYOUT UTILITIES
   ================================ */

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.container-tight {
  max-width: 800px;
}

.legal-page {
  padding: 4rem 0;
  background: var(--bg-white);
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary);
  margin-bottom: 2rem;
  text-align: center;
}

.legal-page h2 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-page p,
.legal-page li {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-page ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

section {
  padding: var(--section-padding) 0;
}

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

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ================================
   HEADER
   ================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary);
  padding: 1.25rem 0;
  transition: all var(--transition-base);
}

.site-header.scrolled {
  padding: 0.75rem 0;
  background: rgba(0, 122, 110, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-md);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.5rem;
  color: white;
  letter-spacing: -0.02em;
}

/* Logo Styles */
.logo-wrapper {
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.logo-wrapper img {
  height: 40px;
  width: auto;
  display: block;
}

.logo:hover .logo-wrapper {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.footer-logo-wrapper {
  background: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  display: inline-block;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.footer-logo-wrapper .footer-logo {
  height: 60px;
  width: auto;
  max-width: 100%;
  display: block;
}

/* ================================
   MEET MEHEK SECTION
   ================================ */

.meet-mehek-section {
  background: var(--bg-white);
  padding: 6rem 0;
}

.bio-grid {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 4rem;
  align-items: center;
}

.bio-image-wrapper {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: rotate(-2deg);
  transition: transform var(--transition-base);
}

.bio-image-wrapper:hover {
  transform: rotate(0);
}

.bio-image {
  width: 100%;
  height: auto;
  display: block;
}

.bio-content-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bio-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.credentials-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.credential-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--bg-light);
  padding: 1rem 1.5rem;
  border-radius: 100px;
  width: fit-content;
  transition: transform var(--transition-fast);
}

.credential-badge:hover {
  transform: translateX(5px);
  background: #e6f2f1;
  /* slightly darker tint of bg-light */
}

.credential-icon {
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Response for Meet Mehek */
@media (max-width: 968px) {
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .bio-image-wrapper {
    max-width: 400px;
    margin: 0 auto;
    transform: rotate(0);
  }

  .credentials-list {
    align-items: center;
    /* Center badges on mobile if you want, or keep left aligned */
  }
}

@media (max-width: 768px) {
  .credential-badge {
    width: 100%;
    justify-content: flex-start;
  }
}

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

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  position: relative;
  transition: opacity var(--transition-fast);
}

.main-nav a:not(.btn-nav)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: white;
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

.main-nav a:not(.btn-nav):hover::after {
  width: 100%;
}

.main-nav .btn-nav {
  background: white !important;
  color: var(--primary) !important;
  padding: 0.625rem 1.5rem;
  border-radius: 100px;
  font-weight: 700;
  transition: all var(--transition-base);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
  margin-top: 85px;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 650px;
}

.hero-image {
  position: relative;
  border-radius: 160px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.badge-icon {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.hero-content {
  padding: 2rem 0;
}

.hero-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 1.125rem 2.5rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.0625rem;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: 0 8px 24px rgba(0, 122, 110, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left var(--transition-slow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 122, 110, 0.4);
}

.btn-primary:hover::before {
  left: 100%;
}

/* ================================
   TRUST INDICATORS
   ================================ */

.trust-indicators {
  background: var(--bg-light);
  padding: 4rem 0;
}

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

.trust-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(30px);
}

.trust-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.trust-card:nth-child(1) {
  transition-delay: 0.1s;
}

.trust-card:nth-child(2) {
  transition-delay: 0.2s;
}

.trust-card:nth-child(3) {
  transition-delay: 0.3s;
}

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

.trust-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.trust-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.trust-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* ================================
   SERVICES GRID
   ================================ */

.who-we-support {
  background: var(--bg-white);
}

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

.service-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-top: 4px solid transparent;
  opacity: 0;
  transform: translateY(40px);
}

.service-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-color);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card[data-color="#FF6B35"] {
  --card-color: #FF6B35;
}

.service-card[data-color="#E63946"] {
  --card-color: #E63946;
}

.service-card[data-color="#FFD23F"] {
  --card-color: #FFD23F;
}

.service-card[data-color="#4DA8DA"] {
  --card-color: #4DA8DA;
}

.service-card[data-color="#A3D977"] {
  --card-color: #A3D977;
}

.service-card[data-color="#06D6A0"] {
  --card-color: #06D6A0;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--card-color);
}

.service-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--card-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-icon::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: var(--card-color);
  opacity: 0;
  filter: blur(16px);
  transition: opacity var(--transition-base);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-card:hover .service-icon::before {
  opacity: 0.4;
}

.service-icon svg {
  width: 40px;
  height: 40px;
  color: white;
  z-index: 10;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ================================
   FOOTER - FIXED & PROPER
   ================================ */

.site-footer {
  background: linear-gradient(180deg, #1a202c 0%, #0f1419 100%);
  color: #cbd5e0;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-tagline {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #a0aec0;
}

.footer-credentials {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #718096;
}

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

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

.footer-links a {
  color: #cbd5e0;
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: white;
  transform: translateX(4px);
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.footer-contact a {
  color: #cbd5e0;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact a:hover {
  color: white;
}

.hours-table {
  width: 100%;
  font-size: 0.875rem;
  line-height: 1.8;
  border-collapse: collapse;
}

.hours-table td:first-child {
  color: #a0aec0;
  padding-right: 1rem;
}

.hours-table td:last-child {
  color: #cbd5e0;
  font-weight: 500;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #718096;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-legal a {
  color: #a0aec0;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: white;
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Section 4/5 grid overrides */
  #our-approach .hero-grid,
  #options .hero-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  body {
    padding-top: 0;
  }

  .services-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
    /* Add hamburger menu */
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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