/* =====================================================
   RESET + BASE
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-light);
  color: var(--text-main);
  line-height: 1.7;
  overscroll-behavior: none;
}

a {
  text-decoration: none;
  color: inherit;
}


/* =====================================================
   DESIGN TOKENS (SINGLE SOURCE OF TRUTH)
===================================================== */
:root {
  --header-height: 70px;
  /* Brand */
  --primary: #00a6a6;
  --primary-dark: #004c4d;
  --secondary: #006d6f;
  --whatsapp: #25D366;

  /* Backgrounds */
  --bg-white: #ffffff;
  --bg-light: #f9fefe;
  --bg-soft: #f0fbfa;
  --bg-dark: #004c4d;

  /* Text */
  --text-main: #2c2c2c;
  --text-muted: #555;
  --text-light: #777;
  --text-invert: #ffffff;

  /* Radius */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 18px;
  --radius-pill: 30px;

  /* Shadows */
  --shadow-sm: 0 6px 18px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 25px rgba(0,0,0,0.08);
  --shadow-lg: 0 15px 35px rgba(0,0,0,0.12);
}

/* =====================================================
   TYPOGRAPHY SYSTEM
===================================================== */
h1, h2, h3, h4 {
  color: var(--primary-dark);
  font-weight: 600;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 720px;
  margin: 0 auto 40px;
}

/* =====================================================
   LAYOUT HELPERS
===================================================== */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

.section {
  padding: 70px 20px;
}

.section-white {
  background: var(--bg-white);
}

.section-soft {
  background: var(--bg-light);
}

/* =====================================================
   CARD SYSTEM (USED EVERYWHERE)
===================================================== */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Attach existing cards */
.why-card,
.condition-card,
.case-card,
.chat-card,
.faq-item,
.trust-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* =====================================================
   BUTTON SYSTEM
===================================================== */
.btn-primary {
  display: inline-block;
  background: var(--whatsapp);
  color: var(--text-invert);
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
}

.hero-btn,
.cta-btn {
  background: var(--whatsapp);
  color: #fff;
  padding: 12px 22px;
      border-radius: 30px;
      font-size: 1rem;
      font-weight: 500;
}

.secondary-btn {
  color: var(--secondary);
  font-weight: 500;
}

/* =====================================================
   HEADER + NAV (GLOBAL)
===================================================== */
header {
  background: var(--bg-white);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.main-nav a {
  margin-left: 15px;
  font-size: 0.9rem;
  color: var(--secondary);
  font-weight: 500;
}

.main-nav a.active {
  color: var(--primary);
  position: relative;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}
.nav-cta {
  margin-left: 18px;
  background: var(--whatsapp);
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 6px 18px rgba(37,211,102,0.35);
  transition: transform 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
}
@media (max-width: 768px) {

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 22px 0;
    z-index: 2000;

    box-shadow: var(--shadow-md);

    /* Hidden by default */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    margin-left: 0;
    font-size: 1rem;
  }

  /* Hide desktop CTA inside menu */
  .nav-cta {
    display: none;
  }
  .menu-toggle {
    z-index: 3000;
    position: relative;
  }
}

/* =====================================================
   LOGO (GLOBAL)
===================================================== */
.logo-area,
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-area img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.logo-area .brand-text {
  font-size: 1.2rem;
  font-weight: 600;
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
/* ===== BRAND TEXT COLORS (MATCH LOGO) ===== */

.brand-abhi {
  color: #e53935; /* logo red */
}

.brand-homeopathy {
  color: #004c4d; /* logo green */
}
@media (max-width: 480px) {
  .logo-area .brand-text {
    font-size: 1rem;
  }
}


/* =====================================================
   ANIMATIONS 
===================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatSoft {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.trust-card {
  animation: floatSoft 4s ease-in-out infinite;
}

/* =====================================================
   FOOTER (GLOBAL)
===================================================== */
.site-footer {
  background: #004c4d;
  color: #eafefe;
  padding-top: 60px;
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

/* Footer columns */
.footer-column h3,
.footer-column h4 {
  color: #ffffff;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.footer-column p {
  color: #d7f5f4;
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #d7f5f4;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #25D366;
}

/* WhatsApp */
.footer-whatsapp {
  color: #25D366;
  font-weight: 500;
}

/* Bottom bar */

.footer-divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );
}

/* ===== FOOTER BOTTOM TEXT ===== */
.footer-bottom {
  text-align: center;
  padding: 18px 20px;
  font-size: 0.85rem;
  color: #cceeee;
}



/* ===== FOOTER SOCIAL ICONS ===== */
.footer-social {
  margin-top: 15px;
  display: flex;
  gap: 14px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  background: #25D366;
  transform: translateY(-3px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}


/* Desktop layout */
@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* =====================================================
   BOOK APPOINTMENT – STICKY CTA (TOP RIGHT)
===================================================== */

.book-appointment-btn {
  position: fixed;
  top: calc(var(--header-height) + 12px);
  right: 20px;
  z-index: 3000;

  background: #25D366;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;

  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-appointment-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

/* Subtle medical pulse (not flashy) */
@keyframes gentlePulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.35); }
  70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Floating container */
.floating-social {
  position: fixed;
  bottom: 24px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2500;
}

/* Icon button (circle) */
.social-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0,0,0,0.2);

  overflow: hidden; /* 🔑 IMPORTANT */
  transition: transform 0.3s ease;
}

/* IMAGE FIX (THIS WAS MISSING) */
.social-icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  display: block;
}

/* Hover motion only */
.social-icon:hover {
  transform: translateY(-4px);
}

/* Mobile */
@media (max-width: 480px) {
  .social-icon {
    width: 60px;
    height: 60px;
  }

  .social-icon img {
    width: 62%;
    height: 62%;
  }
}

.mobile-only {
  display: none;
}
@media (max-width: 768px) {

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: inline-block;
  }

  .book-appointment-btn {
    position: fixed;

    /* 👇 THIS is the fix */
    top: calc(var(--header-height) + 10px);
    right: 16px;

    z-index: 2500;

    background: var(--whatsapp);
    color: #ffffff;
    padding: 11px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;

    box-shadow: 0 6px 18px rgba(37,211,102,0.35);
  }
}



