html {
  scroll-behavior: smooth;
}

/* BASIC RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #3b1f31; /* deep plum similar to logo text */
}

/* ================================
   HERO BANNER – DESKTOP (DEFAULT)
   Text on LEFT, image on RIGHT
================================ */

.hero-banner {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: flex-start;   /* keeps text at top-left */
  justify-content: flex-start;
  padding: 120px 5% 80px;     /* ⬅ INCREASED TOP padding */
  box-sizing: border-box;

  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0)),
    url("./images/weightloss-banner-desktop.jpeg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}


/* Optional overlay (not really needed now, but kept) */
.hero-banner .hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* CONTENT BLOCK */
.hero-content {
  position: relative;
  max-width: 520px;
  z-index: 1;

  display: flex;
  flex-direction: column;
  align-items: flex-start;   /* LEFT aligned on desktop */
  gap: 22px;
}

.hero-content h1 {
  font-size: 40px;
  line-height: 1.2;
  margin: 0;
  color: #ffffff;            /* headline color */
  font-weight: 600;
}

/* CTA BUTTON */
.hero-cta {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  background-color: #3B1F31; /* deep plum / wine purple */
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
              background-color 0.15s ease;
}

.hero-cta:hover,
.hero-cta:focus {
  background-color: #4a2740; /* slightly lighter plum on hover */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}


/* ================================
   TABLET (behaves like desktop)
================================ */

@media (max-width: 1024px) {
  .hero-banner {
    padding: 70px 6%;
    background-position: center right;
  }

  .hero-content h1 {
    font-size: 34px;
  }
}

/* ================================
   MOBILE – TEXT OVER IMAGE
   (Banner starts below fixed header)
================================ */
@media (max-width: 768px) {

  .hero-banner {
    min-height: 75vh;
    margin-top: 110px;        /* keeps banner below header */
    padding: 0 20px 40px;     /* remove top padding here */
    background-image:
      linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0)),
      url("./images/weightloss-banner-mobile.jpg");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;

    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
  }

  .hero-content {
    padding-top: 140px;       /* ⭐ Moves headline & CTA DOWN */
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .hero-content h1 {
    font-size: 26px;
    line-height: 1.25;
    color: #ffffff;
  }

  .hero-cta {
    padding: 12px 26px;
    font-size: 15px;
  }
}


/* ================================
   EXTRA-SMALL PHONES
================================ */

@media (max-width: 480px) {

  .hero-banner {
    margin-top: 100px;        /* slightly smaller for tiny screens */
    padding: 28px 16px 36px;
  }

  .hero-content h1 {
    font-size: 22px;
  }

  .hero-cta {
    padding: 11px 22px;
    font-size: 14px;
  }
}

/* ================================
   DESKTOP OVERRIDE – FINAL FIX
================================ */
@media (min-width: 1025px) {
  .hero-banner {
    padding-top: 200px !important;   /* ↓ Shift text lower */
    padding-bottom: 80px !important;
    align-items: flex-start !important;
  }
}



/* HEADER */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 125px; /* Increased for perfect spacing */
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 1000;
}

.header-logo {
  height: 60px;
  width: auto;
}

/* Phone line */
.phone-block {
  display: flex;
  align-items: center;
  margin-bottom: 6px; /* spacing above social icons */
}

.phone-icon {
  width: 22px;
  height: 22px;
  margin-right: 8px;
}

/* Phone number */
.header-contact {
  font-size: 19px;
  font-weight: 600;
  color: #3b1f31;
  text-decoration: none;
}

.header-contact:hover {
  opacity: 0.7;
}

/* Social + WhatsApp Icons (second line) */
.social-icons {
  display: flex;
  justify-content: flex-start;   /* aligns icons directly under phone number */
  align-items: center;
  gap: 14px;
  margin-top: 6px;               /* space between phone and icons */
}


/* Icon container */
.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
  text-decoration: none;
}

/* Icon SVG */
.social svg {
  width: 18px;
  height: 18px;
  transition: 0.2s ease;
}

/* Hover effects */
.social:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.social:hover svg {
  transform: scale(1.12);
  opacity: 0.9;
}


/* MOBILE HEADER LAYOUT */
@media (max-width: 768px) {
  .top-header {
    height: auto;                      /* let it grow with content */
    padding: 8px 16px;
    flex-direction: column;            /* stack logo and right block */
    align-items: flex-start;
  }

  .header-logo {
    height: 52px;                      /* slightly smaller logo on mobile */
  }

  .header-right {
    margin-top: 6px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;           /* align phone + icons under logo */
  }

  .phone-block {
    margin-bottom: 4px;
  }

  .header-contact {
    font-size: 16px;                   /* a bit smaller so it doesn’t wrap badly */
  }

  .social-icons {
    justify-content: flex-start;       /* icons start from left */
  }

  /* hero padding can be a bit smaller since header height changed */
  .hero {
    padding-top: 150px;
  }
}

/* MOBILE CENTER ALIGNMENT FIXES */
@media (max-width: 768px) {

  /* ---------------- HEADER ---------------- */
  .top-header {
    align-items: center;          /* center content */
    text-align: center;
  }

  .header-left,
  .header-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;          /* center logo + phone + icons */
    text-align: center;
  }

  .phone-block {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;      /* icons centered */
  }

  /* adjust logo */
  .header-logo {
    height: 58px;
  }

  /* ---------------- CONTACT SECTION ---------------- */
  .contact-grid {
    text-align: center;           /* all inner content centered */
    align-items: center;
  }

  .contact-info {
    align-items: center;
    text-align: center;
  }

  .contact-info p {
    text-align: center;
  }

  .contact-logo {
    margin-left: auto;
    margin-right: auto;           /* center logo */
  }

.partner-clinic {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.6;
}

.partner-clinic h4 {
  margin-bottom: 4px;
  color: #3B1F31;
  font-size: 16px;
  font-weight: 600;
}

  /* Form */
  .contact-form-wrapper {
    width: 100%;
    text-align: center;
  }

  .contact-form label {
    text-align: left;             /* keep label readable */
    width: 100%;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .inline-row {
    width: 100%;
    justify-content: center;
  }

  .inline-row label {
    width: 100%;
    text-align: left;
  }

/* CTA button */
.btn-submit {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;      /* 🔥 increased text size */
  font-weight: 600;     /* 🔥 makes the text look bold & premium */
  letter-spacing: 0.3px;
}
}

.error-message {
  color: #D9534F;      /* soft red */
  font-size: 12px;
  margin-top: 4px;
  display: block;
}



.hero-inner {
  max-width: 600px;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 12px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 24px;
}

.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: #e67e22;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary:hover {
  opacity: 0.9;
}

/* SECTIONS */
.section {
  padding: 60px 16px;
  max-width: 960px;
  margin: 0 auto;
}

.section.alt {
  background: #f9f5fb;
}

.section h2 {
  text-align: center;
  margin-bottom: 16px;
  font-size: 28px;
}

.section-intro {
  text-align: center;
  margin-bottom: 32px;
}

/* CARDS (old key treatments, kept in case you reuse) */
.cards {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.card h3 {
  margin-bottom: 8px;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 16px;
  font-size: 14px;
  background: #3b1f31;
  color: #f8e9f4;
}

/* CONTACT SECTION */
.contact-section {
  padding-top: 50px;
  padding-bottom: 50px;
}

.contact-section h2 {
  text-align: center;
  margin-bottom: 32px;
}

/* two-column layout under heading */
.contact-grid {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

/* LEFT SIDE: LOGO + DETAILS */
.contact-info {
  flex: 1;
}

.contact-logo {
  width: 180px;
  margin-bottom: 20px;
}

.contact-info p {
  margin: 8px 0;
  color: #3b1f31;
  font-size: 16px;
}

.head-office, .partner-clinic {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.6;
}

.head-office h4,
.partner-clinic h4 {
  margin-bottom: 4px;
  color: #3B1F31; /* theme plum */
  font-size: 16px;
  font-weight: 600;
}


/* RIGHT SIDE: FORM */
.contact-form-wrapper {
  flex: 1.3;
}

.contact-form .form-row {
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #7a5266;
}

/* rounded fields */
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #ffffff;
  outline: none;
  font-size: 15px;
  color: #3b1f31;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #e67e22;
  box-shadow: 0 0 4px rgba(230, 126, 34, 0.3);
}

/* inline rows for first rows */
.contact-form .inline-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-form .inline-row label {
  margin-bottom: 0;
  min-width: 160px; /* space for label text */
}

.contact-form .inline-row input,
.contact-form .inline-row select {
  width: auto;
  flex: 1;
}

/* submit button */
.btn-submit {
  width: 100%;
  margin-top: 10px;
  text-align: center;
}

/* responsive: stack on mobile for contact */
@media (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
    gap: 30px;
  }

  .contact-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .contact-logo {
    width: 150px;
  }

  /* on mobile, labels go above again for readability */
  .contact-form .inline-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form .inline-row label {
    margin-bottom: 6px;
    min-width: auto;
  }

  .contact-form .inline-row input,
  .contact-form .inline-row select {
    width: 100%;
  }
}

/* =========================
   NEW SECTIONS
   ========================= */

/* FEATURE SECTIONS (IMAGE + TEXT) */
.feature-section {
  padding: 60px 16px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: center;
}

.feature-section.reverse {
  flex-direction: row-reverse;
}

.feature-image,
.feature-content {
  flex: 1;
}

.feature-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  object-fit: cover;
}

.feature-content h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

.feature-content p + p {
  margin-top: 8px;
}

/* ========== HEALTHY WEIGHT LOSS SECTION ========== */

.section-healthy {
  padding: 60px 16px;
}

.healthy-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Image column */
.healthy-image {
  flex: 1;
}

.healthy-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

/* Text column */
.healthy-content {
  flex: 1.2;
}

.healthy-content h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.healthy-content p {
  margin-bottom: 12px;
  line-height: 1.6;
}

/* Mobile / tablet responsiveness */
@media (max-width: 900px) {
  .healthy-wrapper {
    flex-direction: column;
    text-align: left;
  }

  .healthy-content h2 {
    text-align: center;
  }

  .healthy-content {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .section-healthy {
    padding: 40px 16px;
  }

  .healthy-content h2 {
    font-size: 1.6rem;
  }
}

/* ========== ION MAGNUM SECTION ========== */

.section-ion {
  padding: 60px 16px;
  background: #f9fafb;
}

.ion-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

/* LEFT COLUMN */
.ion-content {
  flex: 1.2;
}

.ion-content h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #3B1F31; /* deep plum */
}

.ion-content p {
  margin-bottom: 12px;
  line-height: 1.6;
}

/* CTA inherits hero-cta styles, just tweak spacing */
.ion-cta {
  display: inline-block;
  margin-top: 12px;  
}

/* RIGHT COLUMN (IMAGE + BENEFITS) */
.ion-image-block {
  flex: 1;
}

.ion-image {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.ion-image img {
  width: 100%;
  max-width: 410px;   /* slightly larger image */
  height: auto;
  border-radius: 12px;
  display: block;
}

/* BENEFITS CARD – floating with soft shadow */
.ion-benefits-card {
  background: #F3EEF4;                 /* soft plum tint */
  border-left: 5px solid #7A5266;      /* mauve border */
  padding: 28px 26px 30px;      
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10); /* stronger "floating" shadow */
  margin-top: 24px;                    /* pushes card down for alignment */
}

.ion-benefits-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;   
  color: #3B1F31;
}

/* Bulleted list */
.ion-benefits-list {
  margin: 0;
  padding-left: 20px;
  list-style-type: disc;
  font-size: 1.05rem;      
  line-height: 1.85;       
  color: #333;
}

.ion-benefits-list li + li {
  margin-top: 2px;
}

/* ========== MOBILE ========== */

@media (max-width: 900px) {
  .ion-wrapper {
    flex-direction: column;
    text-align: left;
  }

  .ion-content h2 {
    text-align: center;
  }

  .ion-image-block {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .section-ion {
    padding: 40px 16px;
  }

  .ion-content h2 {
    font-size: 1.6rem;
  }
}


/* ========== PROBLEMS WE SOLVE ========== */
.problems-grid {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.problem-card {
  text-align: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 18px 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.problem-card img {
  width: 110px;        /* increased size */
  height: 110px;       /* increased size */
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px; /* slightly increased spacing */
  display: block;
  margin-left: auto;
  margin-right: auto;  /* ensures perfect centering */
}


/* ========== WHY CHOOSE US – 4 CARD GRID ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 30px auto 0;
  justify-items: center; 
}

/* CARD */
.why-item {
  text-align: center;
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 22px;
  max-width: 260px;      /* FIX: keeps all 4 cards aligned */
  width: 100%;           /* Keeps responsiveness */
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: 0.2s ease;
}

.why-item:hover {
  transform: translateY(-3px);
}

/* ICON */
.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fde8f3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 12px;
}

/* RESPONSIVE — 2 CARDS PER ROW */
@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* RESPONSIVE — 1 CARD */
@media (max-width: 500px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}


/* ========== PATIENT STORIES ========== */
.stories-grid {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.story-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.story-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* Main text */
.story-card p {
  padding: 0 14px 8px;      /* smaller bottom padding → tighter spacing */
  margin: 0;
  font-size: 16px;          /* increased from 15px */
  line-height: 1.45;
}

/* Name line */
.story-card p:first-of-type {
  padding-top: 12px;
  padding-bottom: 4px;      /* reduce gap below name */
}

/* Name styling */
.story-card p:first-of-type strong {
  font-size: 17px;          /* bigger name */
  font-weight: 600;
}


/* ========== ABOUT SECTION (DR SHEETAL) ========== */
.about-section {
  display: flex;
  gap: 40px;
  align-items: center;
}

.about-image,
.about-content {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.about-block + .about-block {
  margin-top: 16px;
}

/* ========== MODELS WE OFFER ========== */
.models-section {
  max-width: 1100px;
}

.models-grid {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.model-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px 18px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.model-card h3 {
  margin-bottom: 8px;
}

/* GRID LAYOUTS FOR DESKTOP */
@media (min-width: 768px) {
  .problems-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .models-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* STACKED LAYOUT FOR MOBILE FOR NEW SECTIONS */
@media (max-width: 768px) {
  .feature-section,
  .feature-section.reverse,
  .about-section {
    flex-direction: column;
  }

  .feature-section,
  .about-section {
    padding: 40px 16px;
  }
}
