/*
Theme Name: The Aesthetic Aura Clinic
Theme URI: https://theaestheticaura.pk
Author: The Aesthetic Aura
Author URI: https://theaestheticaura.pk
Description: Premium, custom-coded theme for The Aesthetic Aura Clinic in Haripur, featuring warm cream/bronze colors, clean typography, and scroll-reveal interactive elements.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: the-aesthetic-aura

==========================================================================
Core Architecture: Pure Vanilla CSS3 (CSS Grid & Flexbox)
Palette System (Neutral Earth-Tone Luxe):
  - Primary BG: #FDF7EF (Cream/Warm Off-white)
  - Secondary BG: #F7ECDF (Muted Beige)
  - Core Text: #7A685D (Warm Muted Brown)
  - Primary Heading / Core Dark: #633B2C (Deep Chestnut)
  - Primary Accent: #986A3E (Bronze)
Typography:
  - Headings: 'Hedvig Letters Serif', serif
  - Body: 'Helvetica World', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif
==========================================================================
*/

/* --- CSS Variables & Custom System Token Definitions --- */
:root {
  /* Colors */
  --bg-primary: #fdf7ef;
  --bg-secondary: #f7ecdf;
  --bg-white: #ffffff;
  --bg-gray-1: #fffdf9;
  --text-primary: #7a685d;
  --text-dark: #101011;
  --heading-color: #633b2c;
  --accent: #986a3e;
  --accent-hover: #805932;
  --border-color: #633b2c1a; /* Chestnut 10% */
  --border-muted: #986a3e1a; /* Bronze 10% */
  --shadow-subtle: rgba(99, 59, 44, 0.05);

  /* Fonts */
  --font-heading: 'Helvetica World', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Helvetica World', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2.5rem;
  --space-lg: 6.5rem;
  --space-xl: 10rem;

  /* Before-after position defaults */
  --slider-pos: 50%;
}

/* --- Document Reset & Base Rules --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.5;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.15;
}

p {
  color: var(--text-primary);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- Grid & Flexbox Layout Containers --- */
.container {
  max-width: 1460px;
  width: 90%;
  margin: 0 auto;
}

.container-medium {
  max-width: 1360px;
  width: 90%;
  margin: 0 auto;
}

/* Sections Spacer utility */
section {
  padding: var(--space-lg) 0;
}

.section-spacing-bottom {
  padding-bottom: var(--space-lg);
}

/* --- Button Styling System (No Icons, Pure Premium Style) --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent);
  color: var(--bg-white);
  border: 1px solid var(--accent);
  padding: 12px 28px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary:hover {
  background-color: var(--heading-color);
  border-color: var(--heading-color);
}

/* Secondary Button outline style */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--heading-color);
  border: 1px solid var(--heading-color);
  padding: 12px 28px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--heading-color);
  color: var(--bg-white);
}

/* Minimalist navigation links text list */
.pre-top, .pre-center {
  margin-bottom: var(--space-xs);
}

.pre-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-color);
  padding: 5px 12px;
  border-radius: 20px;
  background-color: var(--bg-primary);
}

.pre-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent);
}

.pre-title {
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--heading-color);
}

/* --- Breadcrumbs Component Styles --- */
.breadcrumbs {
  padding: 18px 0;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  margin-top: 85px; /* Offset for sticky header navigation */
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.breadcrumbs-item {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

.breadcrumbs-item a {
  color: var(--text-primary);
}

.breadcrumbs-item a:hover {
  color: var(--accent);
}

.breadcrumbs-item::after {
  content: '/';
  margin-left: 8px;
  color: var(--text-primary);
  opacity: 0.4;
}

.breadcrumbs-item.active::after {
  content: '';
}

.breadcrumbs-item.active {
  color: var(--heading-color);
  font-weight: 600;
}

/* --- Sticky Header Navigation (Responsive / Mobile) --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(253, 247, 239, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 12px 0;
  box-shadow: 0 4px 20px var(--shadow-subtle);
}

/* Centered brand logo grid nav */
.grid-nav {
  display: grid;
  grid-template-columns: 1.2fr auto 1.2fr;
  align-items: center;
  width: 100%;
}

.brand {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.5px;
  color: var(--heading-color);
  justify-self: center;
}

.brand-highlight {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-self: start;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--heading-color);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.right-nav {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-self: end;
}

.menu-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 5px;
  z-index: 1001;
}

.menu-button .bar {
  width: 22px;
  height: 1.5px;
  background-color: var(--heading-color);
  transition: all 0.3s ease;
}

/* Header floating shape icons */
.left-shape, .right-shape {
  position: absolute;
  top: 100%;
  pointer-events: none;
  z-index: -1;
  width: 120px;
  opacity: 0.8;
}

.left-shape {
  left: 0;
}

.right-shape {
  right: 0;
}

/* --- Hero Section Styles --- */
.hero-section {
  padding-top: 150px;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(152, 106, 62, 0.04) 0%, transparent 60%);
}

.hero-top-content {
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  gap: var(--space-md);
  align-items: center;
  margin-bottom: var(--space-md);
}

/* Certified Box Left */
.hero-left {
  display: flex;
  align-items: center;
}

.hero-certified-content {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  padding: 20px;
  border-radius: 10px;
  width: 100%;
}

.hero-certified-image {
  width: 32px;
  height: 32px;
}

.hero-certified-title {
  font-size: 0.95rem;
  font-family: var(--font-heading);
  color: var(--heading-color);
  margin-bottom: 2px;
}

.hero-certified-description {
  font-size: 0.75rem;
  color: var(--text-primary);
}

/* Central Text */
.hero-center {
  text-align: center;
}

.hero-title {
  font-size: 4.8rem;
  letter-spacing: -2px;
  margin-bottom: var(--space-xs);
  color: var(--heading-color);
}

.hero-description {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-primary);
}

/* Right Testimonial Box */
.hero-right {
  display: flex;
  align-items: center;
}

.review-info {
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  padding: 20px;
  border-radius: 10px;
  width: 100%;
}

.review-icon {
  width: 16px;
  height: 16px;
  margin-bottom: 8px;
}

.review-content {
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--heading-color);
}

.review-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 10px;
}

.client-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--heading-color);
}

.client-position {
  font-size: 0.7rem;
  color: var(--text-primary);
}

.client-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

/* Hero Bottom backdrop, Radial Menu Circle & layout shape */
.hero-bottom {
  margin-top: 50px;
  position: relative;
}

.hero-bottom-content {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  height: 600px;
}

/* Circular radial layout (660px diameter) */
.hero-avatar-list {
  position: absolute;
  bottom: -330px;
  width: 660px;
  height: 660px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  pointer-events: none;
  left: 50%;
  transform: translateX(-50%);
}

.avatar-category {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  transform-origin: center center;
  height: 100%;
  pointer-events: none;
}

.avatar-category-item {
  width: 192px;
  height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background-color: rgba(152, 106, 62, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 30px;
  transform: rotate(90deg); /* Tangential alignment */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  pointer-events: auto;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.avatar-category-item:hover {
  background-color: var(--accent);
  border-color: var(--bg-white);
}

.avatar-category-image {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.avatar-category-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--bg-white);
  white-space: nowrap;
}

/* Radial Positioning Angles */
.avatar-category._01 { transform: rotate(0deg); }
.avatar-category._02 { transform: rotate(-20deg); }
.avatar-category._03 { transform: rotate(-40deg); }
.avatar-category._04 { transform: rotate(-60deg); }
.avatar-category._05 { transform: rotate(-80deg); }
.avatar-category._06 { transform: rotate(-100deg); }
.avatar-category._07 { transform: rotate(-120deg); }
.avatar-category._08 { transform: rotate(-140deg); }
.avatar-category._09 { transform: rotate(-160deg); }
.avatar-category._10 { transform: rotate(-180deg); }
.avatar-category._11 { transform: rotate(-200deg); }
.avatar-category._12 { transform: rotate(-220deg); }
.avatar-category._13 { transform: rotate(-240deg); }
.avatar-category._14 { transform: rotate(-260deg); }
.avatar-category._15 { transform: rotate(-280deg); }
.avatar-category._16 { transform: rotate(-300deg); }
.avatar-category._17 { transform: rotate(-320deg); }
.avatar-category._18 { transform: rotate(-340deg); }

/* Explore Treatments CTA button (Concentric center) */
.hero-bottom-info {
  position: absolute;
  bottom: -120px;
  width: 240px;
  height: 240px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 50%;
  transform: translateX(-50%);
}

.hero-button-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  width: 100%;
  height: 100%;
}

.hero-button-info .button-icon-wrap {
  width: 50px;
  height: 50px;
  background-color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.hero-buton-icon {
  width: 16px;
  height: 16px;
  filter: invert(1);
}

.hero-button-info:hover .button-icon-wrap {
  background-color: var(--heading-color);
  transform: rotate(45deg);
}

.hero-button-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--heading-color);
  line-height: 1.3;
}

/* Backdrop image structure */
.hero-image-wrapper {
  position: relative;
  border-radius: 50px;
  overflow: hidden;
  height: 100%;
  width: 100%;
  border: 1px solid var(--border-color);
}

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

.hero-left-shape, .hero-right-shape {
  position: absolute;
  top: 10%;
  width: 80px;
  pointer-events: none;
  opacity: 0.6;
}

.hero-left-shape { left: 5%; }
.hero-right-shape { right: 5%; }

/* --- About Section & Scroll Text --- */
.about-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.about-info {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-lg);
  align-items: start;
}

.about-sticky {
  position: sticky;
  top: 120px;
}

.about-logo {
  width: 38px;
  height: 38px;
  display: inline-block;
  vertical-align: middle;
  margin: 0 4px;
}

/* Word highlight text animation */
.about-content {
  display: block;
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.about-word {
  font-family: var(--font-heading);
  font-size: 2.875rem;
  color: rgba(99, 59, 44, 0.15);
  transition: color 0.5s ease;
  display: inline-block;
  margin-right: 6px;
}

.about-word.highlighted {
  color: var(--heading-color);
}

.about-word.image-word {
  color: var(--accent);
}

/* Rating box */
.about-review-info {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  border-top: 1px solid var(--border-color);
  padding-top: 25px;
}

.about-rating {
  background-color: var(--heading-color);
  color: var(--bg-primary);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.about-review-icon {
  width: 14px;
  height: 14px;
}

.about-review-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-review-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--heading-color);
}

/* Masonry photo gallery */
.about-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-gallery-item {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.gallery-large {
  grid-column: span 2;
  height: 450px;
}

.gallery-small {
  height: 280px;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.about-gallery-item:hover .gallery-image {
  transform: scale(1.06);
}

/* --- Services Accordion Styles --- */
.service-section {
  background-color: var(--bg-primary);
}

.service-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.service-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.service-main-title {
  font-size: 3.75rem;
  letter-spacing: -1px;
}

/* Accordion Outer */
.service-accordion {
  display: flex;
  flex-direction: column;
}

.service-accordion-item {
  border-bottom: 1px solid var(--border-color);
  padding: 35px 0;
  transition: all 0.3s ease;
}

.service-accordion-item:first-child {
  border-top: 1px solid var(--border-color);
}

/* Accordion Head */
.service-accordion-heading {
  display: grid;
  grid-template-columns: 1fr 60px;
  gap: 20px;
  align-items: center;
  cursor: pointer;
}

.accordion-info {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: center;
}

.accordion-heading-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.accordion-heading-icon {
  width: 32px;
  height: 32px;
}

.service-accordion-title {
  font-size: 2.875rem;
  color: var(--heading-color);
}

.accordion-heading-right {
  display: flex;
  flex-direction: column;
  gap: 15px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.que-description {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.btn-accordion-detail {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.btn-accordion-detail:hover {
  color: var(--heading-color);
  border-color: var(--heading-color);
}

/* Accordion Cross Icon */
.accordion-icon-inner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--heading-color);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.accordion-line-hr, .accordion-line-vr {
  position: absolute;
  background-color: var(--heading-color);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.accordion-line-hr {
  width: 14px;
  height: 1.5px;
}

.accordion-line-vr {
  width: 1.5px;
  height: 14px;
}

/* Accordion Content Panel */
.service-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.grid-answer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 30px;
}

.service-image-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 280px;
  border: 1px solid var(--border-color);
}

.ans-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-image-item:hover .ans-image {
  transform: scale(1.08);
}

.service-img-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background-color: rgba(253, 247, 239, 0.95);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  border: 1px solid var(--border-color);
  color: var(--heading-color);
}

/* Accordion Active States */
.service-accordion-item.active {
  background-color: rgba(152, 106, 62, 0.02);
}

.service-accordion-item.active .accordion-heading-right {
  opacity: 1;
}

.service-accordion-item.active .accordion-line-vr {
  transform: rotate(90deg) scaleY(0);
}

.service-accordion-item.active .accordion-icon-inner {
  background-color: var(--accent);
  border-color: var(--accent);
}

.service-accordion-item.active .accordion-icon-inner span {
  background-color: var(--bg-white);
}

/* --- Approach Section --- */
.approach-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.approach-bg {
  width: 100%;
}

.grid-approach {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-lg);
  align-items: center;
}

.approach-left {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  height: 550px;
  border: 1px solid var(--border-color);
}

.approach-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.approach-left-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  z-index: 5;
}

.approach-client-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(253, 247, 239, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px 25px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.approach-client-name {
  font-size: 1.25rem;
  font-family: var(--font-heading);
  color: var(--heading-color);
  margin-bottom: 2px;
}

.approach-client-description {
  font-size: 0.8rem;
  color: var(--text-primary);
}

.approach-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.approach-icon img {
  width: 18px;
  height: 18px;
  filter: invert(1);
}

.approach-overlay-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
  pointer-events: none;
}

.approach-right-title {
  font-size: 3.75rem;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.approach-description {
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.approach-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.approach-list-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.approach-list-box {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.approach-list-icon {
  width: 20px;
  height: 20px;
}

.approach-list-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--heading-color);
}

/* --- Bento Grid Section (Before/After & Numbers) --- */
.bento-section {
  background-color: var(--bg-primary);
}

.bento-top-content {
  text-align: center;
  margin-bottom: var(--space-md);
}

.bento-title {
  font-size: 3.75rem;
  color: var(--heading-color);
}

/* CSS Grid structure for bento elements */
.grid-bento {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 30px;
}

/* Bento Left Slider Layout */
.bento-left {
  background-color: var(--bg-secondary);
  border-radius: 30px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.before-after-wrapper {
  padding: 30px 30px 10px 30px;
  width: 100%;
}

.before-after-wrap {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  border: 1px solid var(--border-color);
}

.before-wrapper, .after-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.before-wrapper img, .after-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.after-wrapper {
  width: var(--slider-pos, 50%);
  overflow: hidden;
  transition: width 0.1s ease-out;
}

/* Badges positions */
.bento-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: rgba(99, 59, 44, 0.9);
  color: var(--bg-white);
  padding: 6px 14px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  z-index: 5;
}

.bento-badge.right {
  left: auto;
  right: 15px;
  background-color: var(--accent);
}

/* Divider Handle */
.divider-line {
  position: absolute;
  top: 0;
  left: var(--slider-pos, 50%);
  width: 2px;
  height: 100%;
  background-color: var(--bg-white);
  z-index: 6;
  transform: translateX(-50%);
  pointer-events: none;
  transition: left 0.1s ease-out;
}

.divider-runner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--heading-color);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 15px rgba(99, 59, 44, 0.2);
}

.bento-bottom-content {
  padding: 20px 30px 30px 30px;
}

.bento-box-title {
  font-size: 1.25rem;
  color: var(--heading-color);
  margin-bottom: 12px;
}

.bento-box-list {
  display: flex;
  gap: 25px;
}

.bento-list-style {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bento-list-icon {
  width: 18px;
  height: 18px;
}

.bento-list-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--heading-color);
}

/* Bento Right Layout Blocks */
.bento-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Free Consultation Card */
.bento-bottom-info {
  background-color: var(--accent);
  color: var(--bg-white);
  border-radius: 30px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.bento-bottom-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--bg-primary);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.65rem;
  text-transform: uppercase;
}

.bento-service-top {
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 5px;
}

.bento-service-title {
  color: var(--bg-white);
  font-size: 2rem;
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.bento-service-desc {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  max-width: 380px;
}

.bento-bottom-info .btn-primary {
  background-color: var(--bg-white);
  color: var(--heading-color);
  border-color: var(--bg-white);
  flex-shrink: 0;
}

.bento-bottom-info .btn-primary:hover {
  background-color: var(--heading-color);
  color: var(--bg-white);
  border-color: var(--heading-color);
}

/* Bento Right sub-grid */
.grid-bento-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* Seamless Patient Card */
.bento-card-left {
  background-color: var(--bg-secondary);
  border-radius: 30px;
  border: 1px solid var(--border-color);
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}

.bento-card-images {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 15px;
}

.bento-image-left, .bento-image-right {
  width: 48%;
  transition: transform 0.5s ease;
}

.bento-image-left:hover { transform: translateY(-5px); }
.bento-image-right:hover { transform: translateY(5px); }

/* Stat counter panel */
.grid-bento-right {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
}

.bento-counter {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  color: var(--accent);
  margin-bottom: 2px;
  letter-spacing: -1px;
}

.bento-count-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading-color);
}

.bento-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 15px;
}

.bento-card-badge {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 10px;
}

.bento-badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
}

.bento-right-info {
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.bento-image-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-secondary);
  overflow: hidden;
  margin-left: -8px;
}

.bento-image-wrap:first-child { margin-left: 0; }
.bento-right-image { width: 100%; height: 100%; object-fit: cover; }

/* Bento Bottom Visual block */
.grid-bento-bottom {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 30px;
}

.bento-center-content {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

.bento-center-content .bento-avatar-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.bento-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg-secondary);
  margin-left: -8px;
}

.bento-avatar:first-child { margin-left: 0; }
.bento-center-title {
  font-size: 1.35rem;
  color: var(--heading-color);
  margin-bottom: 5px;
}

.bento-center-description { font-size: 0.85rem; }

.bento-video-item {
  border-radius: 30px;
  overflow: hidden;
  height: 175px;
  border: 1px solid var(--border-color);
}

.bento-right-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bento-video-item:hover .bento-right-img { transform: scale(1.05); }

/* --- Support Section (Directory Grids) --- */
.support-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.grid-support {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.support-left, .support-right {
  background-color: var(--bg-primary);
  padding: 40px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
}

.support-title {
  font-size: 1.875rem;
  margin-top: 10px;
  margin-bottom: 12px;
  color: var(--heading-color);
}

.support-description { font-size: 0.95rem; margin-bottom: 30px; }
.grid-support-bottom { display: grid; grid-template-columns: 1fr; gap: 15px; }

.list-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-color);
}

.list-item:last-child { border-bottom: none; }

.list-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(152, 106, 62, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.list-icon { width: 12px; height: 12px; }
.list-title { font-size: 0.95rem; font-weight: 600; color: var(--heading-color); }

/* --- Testimonial Section (Two-Column Ref Blueprint) --- */
.testimonial-section {
  background-color: var(--bg-secondary);
}

.grid-testimonial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.testimonial-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.testimonial-top {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.testimonial-title {
  font-size: 3.75rem;
  color: var(--heading-color);
  letter-spacing: -1.5px;
}

.testimonial-description {
  font-size: 1.05rem;
  line-height: 1.6;
}

.testimonial-bottom {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.testimonial-slider-wrapper {
  overflow: hidden;
  width: 100%;
}

.testimonial-slider {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  width: 100%;
}

.testimonial-card {
  min-width: 100%;
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px var(--shadow-subtle);
  transition: all 0.3s ease;
}

.testimonial-info-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-icon {
  width: 70px;
  height: 14px;
}

.card-quote {
  font-size: 1.25rem;
  font-family: var(--font-heading);
  line-height: 1.5;
  color: var(--heading-color);
}

.testimonial-info-bottom {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  margin-top: 20px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.author-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--heading-color);
}

.author-status {
  font-size: 0.75rem;
  color: var(--text-primary);
}

.testimonial-nav-buttons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.btn-testimonial-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-testimonial-nav:hover {
  background-color: var(--heading-color);
}

.btn-testimonial-nav:hover .slider-icon {
  filter: invert(1);
}

/* Testimonial Right Column Image Block */
.testimonial-right {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  height: 520px;
  border: 1px solid var(--border-color);
}

.testimonial-right-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 240px;
  background: linear-gradient(180deg, rgba(152, 106, 62, 0) 0%, rgba(99, 59, 44, 0.95) 100%);
  z-index: 2;
  pointer-events: none;
}

.testimonial-rating {
  position: absolute;
  inset: auto 0 0;
  padding: 30px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-rating-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.testimonial-rating-count {
  font-family: var(--font-heading);
  font-size: 2.875rem;
  color: var(--bg-white);
  font-weight: 400;
  line-height: 1;
}

.testimonial-rating-icon {
  width: 70px;
  height: 14px;
}

.testimonial-rating-title {
  color: rgba(253, 247, 239, 0.8);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.testimonial-avatar-list {
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-avatar-image {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--bg-white);
  margin-left: -8px;
  object-fit: cover;
}

.testimonial-avatar-image:first-child {
  margin-left: 0;
}

/* --- Appointment Intake Form & Contacts --- */
.appointment-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.grid-appointment {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-lg);
  align-items: stretch;
}

.appointment-left {
  background-color: var(--bg-primary);
  padding: 40px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
}

.appointment-title {
  font-size: 2.875rem;
  margin-bottom: 12px;
  color: var(--heading-color);
}

.appointment-description { font-size: 0.95rem; margin-bottom: 30px; }

.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.grid-form-input {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.input-group { display: flex; flex-direction: column; gap: 8px; }
.select-span-full { grid-column: span 2; }

.field-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--heading-color);
}

.form-input {
  width: 100%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 14px 20px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--heading-color);
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background-color: var(--bg-white);
}

select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23633b2c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 16px;
}

.form-textarea { min-height: 120px; resize: vertical; }
.form-btn-wrap { margin-top: 10px; }

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 14px 28px;
}

.form-msg {
  padding: 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.success-msg {
  background-color: rgba(46, 117, 89, 0.1);
  color: #2e7559;
  border: 1px solid #2e7559;
}

.error-msg {
  background-color: rgba(207, 26, 26, 0.1);
  color: var(--accent);
  border: 1px solid var(--accent);
}

/* Contact sidebar details */
.appointment-right {
  display: flex;
  align-items: center;
}

.appointment-right-content {
  padding-left: 20px;
}

.appointment-right-title {
  font-size: 2.875rem;
  margin-top: 10px;
  margin-bottom: 12px;
  color: var(--heading-color);
}

.appointment-right-description { font-size: 1rem; margin-bottom: 35px; }
.appointment-contact-list { display: flex; flex-direction: column; gap: 25px; }

.appointment-contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--heading-color);
}

.appointment-call-icon {
  width: 18px;
  height: 18px;
}

.contact-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading-color);
}

.contact-value.text-wrap {
  line-height: 1.4;
  font-size: 0.95rem;
}

a.contact-value:hover {
  color: var(--accent);
}

/* --- Frequently Asked Questions --- */
.faqs-section {
  background-color: var(--bg-primary);
}

.grid-faqs {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-lg);
}

.faqs-title {
  font-size: 3.75rem;
  margin-top: 10px;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.faq-desc { font-size: 1.05rem; margin-bottom: 30px; }

.faq-link {
  color: var(--accent);
  font-weight: 700;
  border-bottom: 1px solid var(--accent);
}

.faq-link:hover { color: var(--heading-color); border-color: var(--heading-color); }

.faq-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  height: 350px;
  border: 1px solid var(--border-color);
}

.faq-side-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ accordion lines */
.faq-bottom { display: flex; flex-direction: column; }

.faq-accordion-item {
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
}

.faq-accordion-item:first-child { border-top: 1px solid var(--border-color); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 20px;
}

.faq-question-title {
  font-size: 1.35rem;
  color: var(--heading-color);
  font-weight: 400;
}

.faq-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  color: var(--heading-color);
  flex-shrink: 0;
}

.faq-accordion-item.active {
  background-color: rgba(152, 106, 62, 0.015);
}

.faq-accordion-item.active .faq-icon-wrap {
  background-color: var(--accent);
  color: var(--bg-white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-answer-inner { padding-top: 15px; padding-right: 40px; }
.faq-answer-text { font-size: 0.95rem; line-height: 1.6; }

/* --- Footer Area --- */
.footer {
  background-color: var(--heading-color);
  color: var(--bg-primary);
  padding: 0;
}

.footer-bg {
  background-image: radial-gradient(circle at 10% 80%, rgba(152, 106, 62, 0.05) 0%, transparent 50%);
  padding: var(--space-lg) 0 40px 0;
}

.footer-content { display: flex; flex-direction: column; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
}

.footer-title {
  color: var(--bg-white);
  font-size: 3.75rem;
  margin-bottom: 10px;
  letter-spacing: -1.5px;
}

.footer-description { color: rgba(253, 247, 239, 0.7); font-size: 1.15rem; max-width: 600px; }

.footer-button .btn-primary {
  background-color: var(--accent);
  color: var(--bg-white);
  border-color: var(--accent);
}

.footer-button .btn-primary:hover {
  background-color: var(--bg-white);
  color: var(--heading-color);
  border-color: var(--bg-white);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(253, 247, 239, 0.1);
  margin-bottom: 50px;
}

.footer-bottom-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col-brand { padding-right: 30px; }
.footer-col-title { color: var(--bg-white); font-size: 1.6rem; margin-bottom: 15px; font-family: var(--font-heading); }
.footer-brand-desc { color: rgba(253, 247, 239, 0.6); font-size: 0.85rem; line-height: 1.6; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 12px; }

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(253, 247, 239, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(253, 247, 239, 0.8);
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--accent);
  color: var(--bg-white);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.footer-col-subtitle {
  color: var(--bg-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links-list a { color: rgba(253, 247, 239, 0.6); font-size: 0.85rem; }

.footer-links-list a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact-details { list-style: none; display: flex; flex-direction: column; gap: 15px; }

.footer-contact-details li {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  color: rgba(253, 247, 239, 0.6);
  font-size: 0.85rem;
}

.footer-contact-icon {
  width: 16px;
  height: 16px;
  /* Filter forces blue SVGs to turn pure white! */
  filter: brightness(0) invert(1);
  margin-top: 3px;
}

.footer-contact-details li a { color: inherit; }
.footer-contact-details li a:hover { color: var(--accent); }

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(253, 247, 239, 0.1);
  padding-top: 25px;
  color: rgba(253, 247, 239, 0.4);
  font-size: 0.75rem;
}

.legal-links a { color: inherit; }
.legal-links a:hover { color: var(--bg-white); }
.legal-separator { margin: 0 8px; }

/* --- Reveal Scroll Animation Core --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive Media Queries (Adaptive & Mobile Layouts) --- */

/* For Small Laptops & Tablets (Max 992px) */
@media (max-width: 992px) {
  section {
    padding: var(--space-md) 0;
  }

  .hero-top-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  #hero-certified-box, #hero-quick-review {
    grid-row: 2;
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-center {
    grid-row: 1;
  }

  .hero-title {
    font-size: 3.2rem;
  }

  .hero-bottom-content {
    height: 480px;
  }

  .hero-avatar-list {
    width: 500px;
    height: 500px;
    bottom: -250px;
  }

  .avatar-category-item {
    width: 150px;
    height: 40px;
    padding: 4px 10px;
  }

  .avatar-category-title {
    font-size: 0.7rem;
  }

  .hero-bottom-info {
    width: 180px;
    height: 180px;
    bottom: -90px;
  }

  .about-info {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .about-sticky {
    position: static;
  }

  .about-word {
    font-size: 2.2rem;
  }

  .grid-approach {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .approach-left {
    height: 420px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .grid-bento {
    grid-template-columns: 1fr;
  }

  .grid-support {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .grid-testimonial {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .testimonial-left {
    text-align: center;
  }

  .testimonial-nav-buttons {
    justify-content: center;
  }

  .testimonial-right {
    height: 420px;
  }

  .grid-appointment {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .appointment-right {
    padding-left: 0;
    margin-top: 10px;
  }

  .grid-faqs {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
  }
}

/* For Mobile Devices (Max 768px) */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .menu-button {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--bg-primary);
    flex-direction: column;
    gap: 25px;
    padding: 50px 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-top: 1px solid var(--border-color);
    z-index: 999;
  }

  .nav-menu.mobile-active {
    left: 0;
  }

  .nav-link {
    font-size: 1.15rem;
    font-weight: 700;
  }

  .btn-nav {
    display: none;
  }

  .menu-button.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-button.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-button.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Centered brand logo on mobile */
  .grid-nav {
    grid-template-columns: 1fr auto 1fr;
  }

  .hero-title {
    font-size: 2.5rem;
    letter-spacing: -1px;
  }

  .hero-bottom-content {
    height: 380px;
  }

  .hero-avatar-list {
    width: 380px;
    height: 380px;
    bottom: -190px;
  }

  .avatar-category-item {
    width: 120px;
    height: 34px;
    padding: 2px 6px;
    gap: 5px;
  }

  .avatar-category-image {
    width: 24px;
    height: 24px;
  }

  .avatar-category-title {
    font-size: 0.62rem;
  }

  .hero-bottom-info {
    width: 130px;
    height: 130px;
    bottom: -65px;
  }

  .hero-button-title {
    font-size: 0.75rem;
  }

  .hero-button-info .button-icon-wrap {
    width: 34px;
    height: 34px;
  }

  .hero-buton-icon {
    width: 12px;
    height: 12px;
  }

  .about-word {
    font-size: 1.8rem;
  }

  .about-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-large {
    grid-column: span 1;
    height: 250px;
  }

  .accordion-info {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .service-accordion-title {
    font-size: 1.6rem;
  }

  .grid-answer {
    grid-template-columns: 1fr;
  }

  .service-image-item {
    height: 220px;
  }

  .before-after-wrap {
    height: 300px;
  }

  .bento-service-title {
    font-size: 1.6rem;
  }

  .bento-bottom-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .bento-bottom-info .btn-primary {
    width: 100%;
  }

  .grid-bento-top {
    grid-template-columns: 1fr;
  }

  .grid-bento-bottom {
    grid-template-columns: 1fr;
  }

  .bento-video-item {
    height: 150px;
  }

  .support-left, .support-right {
    padding: 25px;
  }

  .testimonial-card {
    padding: 25px;
  }

  .card-quote {
    font-size: 1.15rem;
  }

  .testimonial-right {
    height: 350px;
  }

  .grid-form-input {
    grid-template-columns: 1fr;
  }

  .select-span-full {
    grid-column: span 1;
  }

  .footer-bottom-grid {
    grid-template-columns: 1fr;
  }

  .footer-title {
    font-size: 2.5rem;
  }

  .footer-legal {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* --- Mobile Sticky Footer for High Conversions --- */
.mobile-sticky-footer {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: var(--heading-color);
  border-top: 1px solid var(--accent);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

.mobile-sticky-footer-inner {
  display: flex;
  width: 100%;
  height: 100%;
}

.sticky-footer-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: white;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.sticky-footer-btn.call-btn {
  background-color: var(--heading-color);
}

.sticky-footer-btn.wa-btn {
  background-color: #25d366; /* Official WhatsApp green */
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .mobile-sticky-footer {
    display: flex;
  }
  body {
    padding-bottom: 60px !important;
  }
}

/* --- Services Mega Menu (Desktop hover) --- */
.nav-item-has-submenu {
  position: relative;
}

.mega-menu-container {
  position: absolute;
  top: 100%;
  left: -150px;
  width: 900px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(99, 59, 44, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 999;
  padding: 30px;
}

.nav-item-has-submenu:hover .mega-menu-container {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.mega-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.mega-menu-item:hover {
  background-color: var(--bg-secondary);
}

.mega-menu-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.mega-menu-info {
  display: flex;
  flex-direction: column;
}

.mega-menu-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading-color);
}

.mega-menu-desc {
  font-size: 0.75rem;
  color: var(--text-primary);
  margin-top: 2px;
  line-height: 1.3;
}

/* --- Continuous Spinning Animations & Floating WhatsApp Widget --- */
@keyframes spin-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.hero-buton-icon {
  animation: spin-rotate 15s linear infinite;
  display: inline-block;
}
.button-icon {
  animation: spin-rotate 15s linear infinite;
  display: inline-block;
}

/* Floating WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 85px; /* Offset from mobile sticky footer (60px) */
  right: 25px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.whatsapp-btn {
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-size: 30px;
  transition: all 0.3s ease;
  text-decoration: none;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}
.whatsapp-widget::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid #25d366;
  border-radius: 50%;
  animation: whatsapp-pulse 2s infinite;
  pointer-events: none;
}
@keyframes whatsapp-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 768px) {
  .whatsapp-widget {
    bottom: 75px; /* Adjust for mobile footer clearance */
    right: 15px;
  }
  .mega-menu-container {
    display: none; /* Hide desktop mega menu on mobile dropdowns */
  }
}

