/*
Theme Name: TomS Health Haven
Theme URI: https://tomshealthhaven.com
Author: TomS Health Haven
Author URI: https://tomshealthhaven.com
Description: Premium light-themed healthcare consulting landing page with CSS parallax scrolling.
Version: 1.1
License: GNU General Public License v2 or later
Text Domain: toms-health-haven
*/

/* ===================== RESET & BASE ===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --purple-600: #9333ea;
  --purple-500: #a855f7;
  --indigo-600: #4f46e5;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
}

html,
body {
  scroll-behavior: smooth;
  overflow-x: hidden;
  /* Prevent horizontal scroll */
  width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--slate-50);
  color: var(--slate-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===================== TYPOGRAPHY ===================== */
.gradient-text {
  background: linear-gradient(to right, var(--purple-600), var(--indigo-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================== NAVBAR ===================== */
.site-header {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 1280px;
  background: var(--white) !important;
  border: 1px solid var(--slate-100);
  border-radius: 999px;
  z-index: 1000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.navbar {
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  /* Reduced padding for better height */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  text-decoration: none;
}

.navbar-brand img {
  height: 40px;
  width: auto;
  max-width: 192px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.navbar-brand span {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--slate-800);
  transition: color 0.3s ease;
}

.navbar-brand:hover span {
  color: var(--purple-600);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-500);
}

.navbar-links a {
  transition: color 0.3s ease;
  text-decoration: none;
}

.navbar-links a:hover {
  color: var(--purple-600);
}

.navbar-cta {
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  background: var(--slate-900);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar-cta:hover {
  background: var(--purple-600) !important;
  box-shadow: 0 8px 25px rgba(147, 51, 234, 0.3);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.25rem;
  position: relative;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate-800);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===================== HERO ===================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 140%;
  top: -20%;
  will-change: transform;
  transform: translateZ(0);
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent, rgba(255, 255, 255, 1));
}

.hero-bg-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(255, 255, 255, 0.7) 100%);
}

.hero-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: 0;
  animation: blobFloat 20s infinite alternate ease-in-out;
}

.hero-blob-1 {
  background: var(--purple-500);
  top: -100px;
  right: -100px;
}

.hero-blob-2 {
  background: var(--indigo-600);
  bottom: -100px;
  left: -100px;
  animation-delay: -5s;
}

@keyframes blobFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(50px, 50px) scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
  margin-top: 8rem;
  will-change: transform;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid #f3e8ff;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  color: var(--purple-600);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--purple-500);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.hero-title {
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--slate-900);
  margin-bottom: 1.5rem;
}

.hero-title .gradient-text {
  display: inline-block;
  margin-top: 0.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--slate-600);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 500;
  margin-top: 2rem;
  padding: 0 1rem;
}

.hero-buttons {
  margin-top: 3.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.btn-primary {
  padding: 1.25rem 2.5rem;
  background: linear-gradient(to right, var(--slate-900), #1e293b);
  color: var(--white);
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  background: linear-gradient(to right, var(--purple-600), var(--indigo-600));
  box-shadow: 0 15px 40px rgba(147, 51, 234, 0.3);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-secondary {
  padding: 1.25rem 2.5rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--slate-100);
  transform: translateY(-2px);
  color: var(--slate-900);
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--slate-400);
  animation: scrollBounce 2.5s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.5;
  }

  50% {
    transform: translateX(-50%) translateY(15px);
    opacity: 1;
  }
}

.hero-scroll span {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
  color: var(--slate-500);
}

.hero-scroll-line {
  width: 2px;
  height: 4rem;
  background: linear-gradient(to bottom, rgba(147, 51, 234, 0.5), rgba(147, 51, 234, 0.1), transparent);
  border-radius: 9999px;
}

/* ===================== ABOUT ===================== */
.about-section {
  padding: 6rem 1.5rem 8rem;
  background: var(--white);
}

.about-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  text-align: left;
}

@media (max-width: 1024px) {
  .about-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .about-list li {
    justify-content: center;
  }
}

.about-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.about-text {
  font-size: 1.1rem;
  color: var(--slate-600);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 2rem;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.05rem;
  color: var(--slate-700);
}

.check-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #f3e8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-600);
  font-weight: 700;
  margin-top: 0.1rem;
  font-size: 0.75rem;
}

.about-img-wrap {
  position: relative;
}

.about-img-wrap .img-card {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  aspect-ratio: 4/3;
}

.about-img-wrap .img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  filter: saturate(0.5);
}

.stat-card {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--slate-100);
  max-width: 220px;
}

.stat-card .val {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--purple-600);
  margin-bottom: 0.5rem;
}

.stat-card .label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-600);
}

/* ===================== SERVICES ===================== */
.services-section {
  padding: 6rem 1.5rem 8rem;
  background: var(--slate-50);
  border-top: 1px solid rgba(226, 232, 240, 0.5);
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.section-divider {
  width: 6rem;
  height: 6px;
  background: linear-gradient(to right, var(--purple-500), #3b82f6);
  border-radius: 9999px;
  margin: 0 0 1.5rem;
  /* Reset margin since parent is centered */
}

.section-subtitle {
  font-size: 1.1rem;
  max-width: 48rem;
  margin: 0 auto;
  color: var(--slate-600);
  line-height: 1.8;
  font-weight: 300;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: center;
  /* Center cards */
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--slate-100);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  background: #f5f3ff;
  border-radius: 0 0 0 100%;
  margin-top: -1rem;
  margin-right: -1rem;
  transition: transform 0.5s ease;
  z-index: 0;
}

.service-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: #e9d5ff;
  transform: translateY(-8px);
}

.service-card:hover::before {
  transform: scale(1.1);
}

.service-icon {
  position: relative;
  z-index: 1;
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #f5f3ff, #eff6ff);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  border: 1px solid rgba(147, 51, 234, 0.15);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.5s ease;
  color: var(--purple-600);
}

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

.service-icon svg {
  width: 2rem;
  height: 2rem;
}

.service-title {
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 1rem;
}

.service-desc {
  position: relative;
  z-index: 1;
  color: var(--slate-600);
  line-height: 1.7;
  font-weight: 300;
}

/* ===================== PROCESS ===================== */
.process-section {
  padding: 6rem 1.5rem 8rem;
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  justify-items: center;
}

@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.process-step {
  position: relative;
}

.process-connector {
  display: block;
  position: absolute;
  top: 2rem;
  left: 60%;
  width: 80%;
  border-top: 2px dashed var(--slate-200);
  z-index: 0;
}

.step-num {
  position: relative;
  z-index: 1;
  width: 4rem;
  height: 4rem;
  background: var(--white);
  border: 2px solid #f3e8ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--purple-600);
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-left: 0;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
}

.step-desc {
  color: var(--slate-600);
  font-weight: 300;
  line-height: 1.7;
}

/* ===================== BELIEVE ===================== */
.believe-section {
  position: relative;
  padding: 8rem 1.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.believe-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 140%;
  top: -20%;
  will-change: transform;
  transform: translateZ(0);
}

.believe-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.1) hue-rotate(15deg) contrast(1.25);
  opacity: 0.9;
}

.believe-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  z-index: 0;
}

.believe-content {
  position: relative;
  z-index: 10;
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.believe-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 2.5rem;
}

.quote-wrap {
  position: relative;
  padding: 0 2rem;
}

.quote-mark {
  position: absolute;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: #e9d5ff;
  opacity: 0.5;
  line-height: 1;
}

.quote-mark.open {
  top: -2.5rem;
  left: 0;
}

.quote-mark.close {
  bottom: -3rem;
  right: 0;
}

.believe-quote {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--slate-700);
  line-height: 1.8;
  font-weight: 300;
  max-width: 56rem;
  margin: 0 auto;
}

.believe-divider {
  width: 5rem;
  height: 4px;
  background: #d8b4fe;
  border-radius: 9999px;
  margin: 2.5rem auto;
}

.believe-sub {
  font-size: 1.1rem;
  color: var(--slate-600);
  max-width: 48rem;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.8;
}

.highlight {
  color: var(--purple-600);
  font-weight: 600;
  background: #f5f3ff;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
}

/* ===================== STATS ===================== */
.stats-section {
  background: #581c87;
  padding: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent);
}

.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid>* {
    border-left: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .stats-grid>*:last-child {
    border-bottom: none;
  }
}

.stats-grid>*+* {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
  padding: 1.5rem;
}

.stat-val {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #e9d5ff;
  font-weight: 500;
}

/* ===================== CONTACT ===================== */
.contact-section {
  padding: 5rem 1.5rem 8rem;
  background: var(--slate-50);
  position: relative;
  overflow: hidden;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .contact-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

.contact-info-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.contact-info-text {
  color: var(--slate-600);
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-icon-wrap {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--slate-100);
  color: var(--purple-600);
}

.contact-icon-wrap svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--slate-500);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-val {
  font-weight: 600;
  color: var(--slate-900);
}

.contact-form-card {
  background: var(--white);
  border-radius: 2rem;
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--slate-100);
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  background: #faf5ff;
  border-radius: 50%;
  filter: blur(40px);
  margin: -8rem -8rem 0 0;
  z-index: 0;
}

.contact-form-card>* {
  position: relative;
  z-index: 1;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  color: var(--slate-900);
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--slate-400);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--purple-500);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

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

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--slate-900);
  color: var(--white);
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
  font-family: inherit;
}

.form-submit:hover {
  background: var(--purple-600);
  box-shadow: 0 8px 25px rgba(147, 51, 234, 0.25);
}

.form-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  margin-bottom: 2rem;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--slate-900);
  padding: 5rem 1.5rem 2.5rem;
  border-top: 1px solid var(--slate-800);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo-wrap {
  background: var(--white);
  padding: 0.75rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.footer-logo-wrap img {
  height: 3rem;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-brand-name {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 1.1rem;
  color: var(--slate-300);
  font-weight: 300;
  max-width: 36rem;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.social-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--slate-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-300);
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-btn:hover {
  background: var(--purple-600);
  color: var(--white);
  transform: translateY(-3px);
}

.social-btn svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--slate-700), transparent);
  margin-bottom: 2rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--slate-400);
}

.footer-bottom a {
  color: var(--slate-400);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ===================== ANIMATIONS ===================== */
.fade-up {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1 !important;
  transform: none !important;
}

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

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid > * + * { border-left: none; }
  .stats-grid > *:nth-child(2) { border-left: 1px solid rgba(255, 255, 255, 0.2); }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; justify-items: center; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .about-list li { justify-content: center; text-align: center; }
}

@media (max-width: 768px) {
  /* Site Header & UI */
  .site-header { 
    top: 0.5rem; 
    width: calc(100% - 1rem); 
    border-radius: 20px;
    padding: 0.3rem; 
  }
  .navbar { padding: 0.5rem 1rem; }
  .nav-hamburger { display: flex; }
  
  .navbar-links {
    position: fixed;
    top: 0; left: 0; 
    width: 100vw !important;
    height: 100vh !important;
    background: #ffffff !important; /* Forced Solid White */
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 6rem;
    align-items: center;
    gap: 1.5rem;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999999 !important; /* Top of everything */
  }
  
  .navbar-links.open { transform: translateX(0); opacity: 1; visibility: visible; }
  
  .navbar-links .nav-link {
    display: block !important;
    width: 80%;
    max-width: 220px;
    text-align: center;
    padding: 0.8rem;
    color: var(--slate-900) !important;
    border-bottom: 1px solid var(--slate-100);
  }
  
  .navbar-links .navbar-cta { 
    display: block !important;
    width: 80%;
    max-width: 220px;
    margin-top: 1rem;
    padding: 1rem;
    color: var(--white) !important;
    border-bottom: none;
  }

  /* Layout Sections */
  .hero-section { min-height: auto; padding: 7rem 1.5rem 4rem; text-align: center; }
  .hero-content { margin-top: 0; padding: 0; }
  .hero-title { font-size: clamp(2rem, 10vw, 2.5rem); line-height: 1.2; }
  .hero-subtitle { font-size: 0.95rem; margin-top: 1.25rem; }
  .hero-buttons { flex-direction: column; gap: 1rem; align-items: center; }
  .btn-primary, .btn-secondary { width: 90%; max-width: 320px; text-align: center; }
  .hero-blob { display: none; } /* Remove background clutter on small screens */

  .about-section, .services-section, .process-section, .contact-section { 
    padding: 4rem 1.5rem; 
    text-align: center; 
  }
  
  .services-grid, .process-grid, .stats-grid { 
    grid-template-columns: 1fr; 
    gap: 2rem; 
  }
  
  .process-step { max-width: 300px; margin: 0 auto; }
  .step-num { margin: 0 auto 1.5rem; }
  
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 2.5rem 1.5rem; }
  
  .stat-item { border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding: 1.5rem 0; }
  .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .btn-primary, .btn-secondary { width: 100%; }
}