/* ---------- General Styles ---------- */
* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #0d1f1a;
  line-height: 1.6;
  font-size: 16px;      /* Standard professional size */
  line-height: 1.6;     /* Good readability */
}
p,
li,
span,
a {
  font-size: 1rem;      /* Same everywhere */
}
p {
  text-align: justify;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }


img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3 {
  margin-bottom: 10px;
}

/* ---------- Hero / Introduction (UNCHANGED) ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 120px 20px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #004d40, #003f35);
  overflow: hidden;
}

.hero h1.hero-title {
  font-size: 4rem;
  
  font-weight: bold;
  letter-spacing: 10px;
  z-index: 2;
}

.hero-title {
  font-size: 4rem;
  font-weight: bold;
  letter-spacing: 6px;

  background: linear-gradient(90deg, #00c896, #00ffcc, #00c896);
  background-size: 200% auto;

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;
  color: transparent;

  animation: shine 4s linear infinite;
}

@keyframes shine {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@media (max-width: 768px) {

  .hero {
    padding: 80px 15px;   /* reduce top space */
  }

  .hero-title {
    font-size: 1.8rem !important;
    letter-spacing: 1px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

}
.hero {
  position: relative;
  overflow: hidden;
}



/* ---------- SERVICES LAYOUT FIX (FINAL) ---------- */
/* ---------- Lively UI Enhancements ---------- */

/* Gradient background for services section */
/* Services Grid - exactly 2 columns */
/* Make the service card a column layout */

/* Section title "Our Services" */

/* Service names under the images */
/* Services Section Grid - exactly 2 columns */
/* Force service card to stack vertically */
/* Make the service card position relative so we can overlay text */
/* Section Title */
#services .section-title {
  color: #ffffff !important;
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

/* Services Grid - 2 Columns */
#services .services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns on phones/tablets */
  gap: 15px;
}
/* Service Cards */
/* Compact Service Cards */
/* Service Card */
#services .service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #b8dac7;
  border-radius: 10px;
  overflow: hidden;
text-align: center;
  padding: 0;         /* no extra padding */
}

/* Image */
#services .service-card img {
 width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

/* Service Name below image */
#services .service-card h3 {
 margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  width: 100%;
  color: #144733 !important;  /* force white */
  background: none;           
  text-align: center;
  width: 100%;
}


/* Hide description */
#services .service-card p {
  display: none;
}
#services .service-card {
  color: #144733 !important;
}


/* Show More Button */
#showMoreServices {
  padding: 10px 25px;
  background-color: #144733;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#showMoreServices:hover {
  background-color: #17634d;
  color: #fff
}

/* Hidden Services */
.hidden {
  display: none;
}

/* Modal */
.service-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.service-modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 420px;
  text-align: center;
}

.service-modal-content h3 {
  margin-bottom: 10px;
  color: #004d40;
}

.service-modal-content p {
  font-size: 14px;
  line-height: 1.6;
}
.service-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.service-modal-content {
  background: #d4f7e3; /* light green */
  width: 92%;
  max-width: 520px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 20px;
  border-radius: 14px;
  position: relative;
  animation: pop 0.25s ease;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 12px;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
}

@keyframes pop {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ---------- Treatments (DO NOT CHANGE) ---------- */
.treatments {
  padding: 50px 20px;
  text-align: center;
  background-color: #d4f7e3;
  color: #004d40;
}

/* Grid Layout - 3 Columns Everywhere */
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row on all devices */
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 8px;
  box-sizing: border-box;
}

/* Mobile tweak to make 3 columns fit properly */
@media (max-width: 576px) {
  .treatment-grid {
    grid-template-columns: repeat(3, 1fr); /* FORCE 3 columns on phone */
    gap: 10px;
  }

  .treatment-card {
    padding: 12px;
    font-size: 12px;  /* smaller text so 3 fit well */
    border-radius: 10px;
  }
}

.treatment-card {
  background: linear-gradient(135deg, #005c4b, #00796b);
  color: #fff;
  padding: 18px;
  border-radius: 12px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  min-height: 90px;  /* helps small screens */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Hover */
.treatment-card:hover {
  transform: scale(1.04);
  background: #00c896;
  color: #001a14;
}


/* ---------- Experts (UNCHANGED) ---------- */
.experts {
  padding: 50px 20px;
  text-align: center;
  background-color: #d4f7e3;
  color: #004d40;
  text-align: center
}

.expert-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 20px auto 0;
   font-size: 1rem;   
   text-align: justify;
}
.expert-card {
  background: linear-gradient(135deg, #005c4b, #00796b);
  color: #ffffff;
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.3s ease;

  font-size: 1rem;      /* Match website text size */
  font-weight: 400;     /* Normal weight */
}


.expert-card:hover {
  transform: scale(1.02);
  background: #00c896;
  color: #001a14;
}

/* ---------- Founder (ONLY THIS SECTION UPDATED) ---------- */
.founder {
  padding: 50px 20px;
  background: linear-gradient(135deg, #005c4b, #00796b); /* SAME DARK GREEN AS CARDS */
  color: #ffffff; 
  text-align: center /* WHITE TEXT */
}

.founder h2,
.founder h3,
.founder p,
.founder span,
.founder li {
  color: #ffffff; /* FORCE WHITE TEXT */
}

/* IMPORTANT: Do NOT touch image sizes */
.founder img {
  max-width: 100%;
  height: auto;
  border-radius: 12px; /* optional: remove if you don't want rounded corners */
}

/* ---------- Footer / Other Sections (UNCHANGED) ---------- */
.about,
.contact {
  padding: 50px 20px;
}

/* ---------- Modal (UNCHANGED) ---------- */

/* ---------- What Sets Us Apart (MATCH TREATMENTS BACKGROUND & TEXT) ---------- */
/* ---------- What Sets Us Apart (MATCH TREATMENTS) ---------- */
.what-sets-us-apart {
  background-color: #d4f7e3;  /* SAME AS TREATMENTS BACKGROUND */
  color: #004d40;             /* SAME AS TREATMENTS TEXT */
  padding: 50px 20px;
  text-align: center;
}

.what-sets-us-apart h2,
.what-sets-us-apart p {
  color: #004d40;             /* FORCE SAME TEXT COLOR */
}

/* ---------- Mission & Vision (MATCH FOUNDER DARK GREEN + WHITE TEXT) ---------- */
.vision-mission  {
  background: linear-gradient(135deg, #005c4b, #00796b); /* SAME AS FOUNDER */
  color: #ffffff;  /* WHITE TEXT */
  padding: 50px 20px;
  text-align: center
}

.vision-mission  h2,
.vision-mission  h3,
.vision-mission  p,
.vision-mission  li,
.vision-mission  span {
  color: #ffffff;  /* FORCE WHITE TEXT */
}


/* ---------- APT Section (MATCH TREATMENTS BACKGROUND & TEXT) ---------- */
/* ---------- APT Section (MATCH WHAT SETS US APART) ---------- */
.atp-section {
  background-color: #d4f7e3;  /* SAME AS What Sets Us Apart */
  color: #004d40;             /* SAME TEXT COLOR AS What Sets Us Apart */
  padding: 50px 20px;
  text-align: center;
}

.atp-section h2,
.atp-section h3,
.atp-section li {
  color: #004d40;
  font-weight: 300;    /* Bold */
  font-size: 1.2em;    /* One size bigger */
  line-height: 1;
}

.atp-section p {
  font-weight: 400;   /* normal text */
}

.atp-letter {
  color: #002e26;     /* highlight color */
  font-weight: 700;   /* bold only */
  font-size: 1.5em; /* SAME size as paragraph */
}


/* ---------- Get in Touch Section (MATCH WHAT SETS US APART) ---------- */
.get-in-touch {
  background-color: #d4f7e3;  /* SAME AS What Sets Us Apart */
  color: #004d40;             /* SAME TEXT COLOR */
  padding: 50px 20px;
  text-align: center;
}

.get-in-touch h2,
.get-in-touch h3,
.get-in-touch p,
.get-in-touch li,
.get-in-touch span {
  color: #004d40;             /* FORCE SAME TEXT COLOR */
}

/* ---------- Header Logo ---------- */
/* ---------- Site Header ---------- */
/* ---------- Hero Section ---------- */
/* Force hero text to stay in a single line */
.hero-text.single-line,
.hero-text.single-line span,
.hero-text .single-line {
  white-space: nowrap;       /* Prevent wrapping */
  display: inline-block;
}

/* Adjust hero section */
.hero {
  background: linear-gradient(135deg, #005c4b, #00796b); /* dark green */
  color: #ffffff;
  padding: 80px 20px;
  min-height: 80vh;
  position: relative;
}

/* Logo at top-left */
.hero-logo img {
  height: 50px;
  width: auto;
  position: absolute;
  top: 20px;
  left: 20px;
}

/* Hero text below logo */
.hero-text {
  margin-left: 0;
  margin-top: 80px;  /* space from logo */
  font-size: 2rem;   /* adjust as needed */
}

/* Tagline directly under hero-title */
.hero-text .tagline {
  margin-top: 10px;
  font-size: 1.2rem;
  white-space: nowrap;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero-logo img {
    height: 40px;
    top: 15px;
    left: 15px;
  }

  .hero-text {
    font-size: 1.5rem;
    margin-top: 60px;
  }

  .hero-text .tagline {
    font-size: 1rem;
  }
}
/* Always keep hero title in one line */
.hero-title.single-line {
  white-space: nowrap;
  font-weight: 800;
}

/* Desktop size */
.hero-title {
  font-size: 3rem;
}

/* Phone: shrink-to-fit so the whole name fits in one line */
@media (max-width: 768px) {
  .hero-title.single-line {
    font-size: clamp(1.1rem, 6vw, 1.6rem); /* auto scales to fit screen */
    letter-spacing: 0;                    /* tighter spacing for phones */
    white-space: nowrap;                  /* force one line */
  }

  /* Remove bubble styling on phones, keep bold normal letters */
  .hero-title .bubble-letter {
    all: unset;
    display: inline;
    font-weight: 800;
    color: #ffffff; /* white */
  }
}

/* Very small phones (extra safety) */
@media (max-width: 360px) {
  .hero-title.single-line {
    font-size: 1.05rem;  /* smallest safe size to fit all letters */
  }
}

/* ===== FORCE HERO TITLE TO FIT ON PHONES (OVERRIDE EVERYTHING) ===== */
@media (max-width: 768px) {
  h1.hero-title.no-gap.single-line {
    white-space: nowrap !important;
    font-size: 1.2rem !important;  /* small enough to fit full name */
    letter-spacing: 0 !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    font-weight: 800 !important;
  }

  h1.hero-title.no-gap.single-line .bubble-letter {
    all: unset !important;
    display: inline !important;
    font-weight: 800 !important;
    color: #ffffff !important;
  }
}


/* ===== Reduce Hero Height (Vertical Space) ===== */
.hero {
  min-height: 60vh;        /* was 80vh or more */
  padding: 50px 20px;     /* reduce top/bottom padding */
}

/* Mobile: make it even shorter */
@media (max-width: 768px) {
  .hero {
    min-height: 45vh;     /* compact hero for phones */
    padding: 40px 15px;
  }
}


.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(0,200,150,0.12), transparent 40%),
              radial-gradient(circle at 80% 80%, rgba(0,200,150,0.12), transparent 40%);
  animation: floatBg 10s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes floatBg {
  from { transform: translateY(0); }
  to   { transform: translateY(-20px); }
}

/* ===== Bold Brand Name on Hero ===== */
/* Remove default margins */
.hero-title {
  font-size: 3.4rem;   /* as you have */
  font-weight: 900;
  margin: 0;           /* REMOVE default top/bottom margin */
  letter-spacing: 1px;
}

.hero-title .bubble-letter {
  font-weight: 900;
}

/* Tagline spacing */
.tagline {
  margin: 5px 0 0 0;    /* small space only below hero-title */
  font-weight: 400;
}

/* Optional: control hero container spacing */
header div {
  padding: 10px 0;      /* adjust top/bottom padding as needed */
}


/* Mobile: slightly bigger but still fits in one line */
@media (max-width: 768px) {
  h1.hero-title.no-gap.single-line {
   font-size: clamp(1.5rem, 7.5vw, 2.1rem) !important;

    white-space: nowrap;
  }
}

/* Popup background continuity (same as Founder section) */
.popup-container,
.service-popup,
.modal-content,
#serviceModal .modal-content {
  background-color: #d4f7e3;  /* SAME AS What Sets Us Apart */
  color: #004d40;   
}

/* Scroll ONLY the description text */
.desc-scroll {
  max-height: 55vh;
  overflow-y: auto;
  padding-right: 6px;
  -webkit-overflow-scrolling: touch;
}

/* Mobile friendly height */
@media (max-width: 768px) {
  .desc-scroll {
    max-height: 50vh;
  }
}

/* IMPORTANT: allow scrolling inside modal */
#serviceModal {
  overflow: visible;
}

#serviceModal .modal-content {
  overflow: visible;
}

.youtube-link {
  margin-top: 12px;
}

.youtube-link a {
  color:  #2268d1;
  text-decoration: underline;
  font-weight: 500;
}

.youtube-link,
.instagram-link {
  margin-top: 8px;
}

.youtube-link a,
.instagram-link a {
  color:  #2268d1;
  text-decoration: underline;
  font-weight: 500;
}

.get-in-touch a {
  pointer-events: auto !important;
  position: relative;
  z-index: 5;
  cursor: pointer;
}
/* Prevent background scroll */
body.modal-open {
  overflow: hidden;
}

/* Prevent background scroll */
body.modal-open {
  overflow: hidden;
}

/* Scroll ONLY description */
.desc-scroll {
  max-height: 55vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior: contain;
  padding-right: 6px;
}

.gallery {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
}

#galleryImage {
  width: 100%;
  height: auto;
  display: block;
  opacity: 1;
  will-change: opacity; /* smoother on mobile */
}

.gallery-section {
  background-color: #004d40;
  color: #ffffff;
  padding: 40px 15px; 
  text-align: center  /* nice spacing, optional */
}

#galleryImage {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-title {
  color: #ffffff;
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
}

/* =========================
   RESPONSIVE LAYOUT FIX
   ========================= */

/* Make services and treatments stack and center on mobile */
@media (max-width: 992px) {

  /* make sure main content does not overflow */
  body, html {
    overflow-x: hidden !important;
  }

  /* container for services & sections */
  .services-section,
  .treatments-section,
  .founder,
  .experts,
  .gallery-section,
  footer {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 15px !important;
  }

 /* Services Grid - Exactly 2 Columns */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 equal columns */
  gap: 20px;
  width: 100%;
}

/* Service Images - Square and fit card */
.service-card img {
  width: 100%;
  aspect-ratio: 1 / 1; /* makes image perfectly square */
  object-fit: cover;
}

  .treatments-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    justify-items: center !important;
  }

  /* center text and sections */
  .services-section h2,
  .treatments-section h2 {
    text-align: center !important;
  }

  .treatments-section {
    margin-top: 30px !important;
  }

  .treatments-grid .treatment-card {
    width: 100%;
    max-width: 200px;
    text-align: center;
  }
}

@media (max-width: 768px) {
    #services .service-card * {
        font-size: 13px !important;
    }
}

.expert-card h1,
.expert-card h2,
.expert-card h3,
.expert-card h4,
.expert-card h5,
.expert-card h6 {
  font-size: 1rem !important;   /* same as body */
  font-weight: 400 !important;  /* remove bold */
  margin: 0 0 8px 0;            /* clean spacing */
}

.expert-name {
  font-size: 1rem;
  font-weight: 400;
}
section {
  padding: 40px 20px;
}

section h1,
section h2 {
  margin-top: 0;
}


.enquiry-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.enquiry-box {
  background-color: #d4f7e3;  /* SAME AS What Sets Us Apart */
  color: #004d40; 
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  position: relative;
  text-align: center;
}

.enquiry-box input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.enquiry-box button {
  background: #004d40;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  margin-top: 10px;
  font-weight: 600;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
}


