@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

/* ============================================ */
/* ✅ GLOBAL RESET                             */
/* ============================================ */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  font-family: 'Merriweather', serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding-top: 200px;
  overflow-x: hidden;
  overflow-y: auto;
}

/* ============================================ */
/* 🎨 ROOT VARIABLES                           */
/* ============================================ */

:root {
  --bg-color-a: #EDE6DE;
  --bg-color-b: #F9F9F2;
  --bg-color-c: #3F3B51;
  --bg-color-g: #F8F3EF;
  --bg-color-h: #DBCFC3;
  --bg-color-d: #D6CCC0;
  --bg-color-e: #F8F8EF;
  --bg-color-f: #938270;

  --text-color-a: #252525;
  --text-color-b: #887561;
  --text-color-c: #3F3B51;
  --text-color-d: #BDA686;
  --text-color-e: #A79176;
  --text-color-f: #3E3D3D;
  --text-color-g: #1F1E1E;
  --text-color-h: #F4EEED;
  --text-color-back: #FFFAF0;

  --green-accent: #38e209;

  --ff-1: Merriweather, sans-serif;
  --ff-2: 'Lato', sans-serif;

  --fw-l: 300;
  --fw-n: 400;
  --fw-m: 500;
  --fw-sb: 600;
  --fw-b: 700;
  --fw-xb: 800;

  --fs-1: 2.5rem;
  --fs-2: 2rem;
  --fs-3: 1.75rem;
  --fs-4: 1.5rem;
  --fs-5: 1.25rem;
  --fs-6: 1.125rem;
  --fs-p: 1rem;

  --vss-1: 1.4rem;
  --vss-2: 1.2rem;
  --vss-3: 1.1rem;
  --vss-4: 1rem;
  --vss-5: 0.9rem;
  --vss-6: 0.85rem;
  --vss-p: 0.75rem;

  --sp-1: 1.6rem;
  --sp-2: 1.4rem;
  --sp-3: 1.2rem;
  --sp-4: 1.1rem;
  --sp-5: 1rem;
  --sp-6: 0.9rem;
  --sp-p: 0.8rem;

  --msp-1: 1.8rem;
  --msp-2: 1.5rem;
  --msp-3: 1.3rem;
  --msp-4: 1.2rem;
  --msp-5: 1rem;
  --msp-6: 0.95rem;
  --msp-p: 0.85rem;

  --ts-1: 2rem;
  --ts-2: 1.6rem;
  --ts-3: 1.4rem;
  --ts-4: 1.25rem;
  --ts-5: 1.1rem;
  --ts-6: 1rem;
  --ts-p: 0.9rem;

  --vsl-1: 2.2rem;
  --vsl-2: 1.8rem;
  --vsl-3: 1.6rem;
  --vsl-4: 1.4rem;
  --vsl-5: 1.2rem;
  --vsl-6: 1.1rem;
  --vsl-p: 0.95rem;
}

/* ============================================ */
/* 🎯 SCROLL OFFSET FIX                        */
/* ============================================ */

[id] {
  scroll-margin-top: 250px;
}

@media (max-width: 320px) {
  [id] {
    scroll-margin-top: 180px;
  }
}

@media (max-width: 480px) {
  [id] {
    scroll-margin-top: 190px;
  }
}

@media (max-width: 576px) {
  [id] {
    scroll-margin-top: 200px;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  [id] {
    scroll-margin-top: 220px;
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  [id] {
    scroll-margin-top: 240px;
  }
}

/* ============================================ */
/* 🔝 HEADER & NAVIGATION                      */
/* ============================================ */

.fixed-top {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
  background-color: var(--bg-color-a);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ========== TOP BAR ========== */

.top-bar {
  background-color: var(--bg-color-c);
  padding: 10px 0;
  text-align: center;
}

.top-bar-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.top-bar-content a {
  color: var(--bg-color-a);
  text-decoration: none;
  font-family: var(--ff-1);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

/* .top-bar-content a:hover {
  color: var(--green-accent);
} */

.top-bar-content a:hover {
  border: 2px solid var(--bg-color-a);
  border-radius: 5px;
  padding: 6px;
} 

.top-bar-content i {
  margin-right: 5px;
}

.top-bar-divider {
  color: var(--bg-color-a);
  opacity: 0.5;
}

/* ========== MAIN NAVIGATION ========== */

.navbar {
  background-color: var(--bg-color-a);
  padding: 15px 0;
  border-bottom: 2px solid rgba(0, 0, 0, 0.15);  /* ✅ Underline like footer */
}

.navbar-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  gap: 15px;
}

.logo-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: -10px;
}

.titleName {
  font-family: var(--ff-1);
  /* font-size: 1.2rem; */
  font-size: 1.4rem;
  font-weight: 800;
  font-style: italic;
  color: #4d4c4b;
  /* text-shadow: 0.5px 0.5px var(--green-accent); */
  margin: 0;
}

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

.practice-name {
  font-family: var(--ff-1);
  font-size: 0.85rem;
  font-weight: 600;
  font-style: italic;
  color: var(--text-color-b);
  margin: 0;
  margin-top: 5px;
}

.navbar-nav {
  gap: 5px;
}

/* ========== NAV LINKS - UNDERLINE ON HOVER ========== */

.nav-link {
  font-family: var(--ff-1);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg-color-c) !important;
  padding: 10px 20px !important;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  background-color: transparent;
}

/* ✅ Underline effect (same as footer) */
.nav-link::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 8px;
  height: 2px;
  width: 0%;
  background-color: var(--bg-color-c);
  transition: width 0.3s ease;
}

/* ✅ Hover effect - slide underline and shift right */
.nav-link:hover {
  transform: translateX(8px);
  color: var(--bg-color-c) !important;
  background-color: transparent;
}

.nav-link:hover::after {
  width: calc(100% - 40px);
}

/* ✅ Active link style */
.nav-link.active {
  color: var(--text-color-a) !important;
  background-color: transparent;
  font-weight: 700;
}

.nav-link.active::after {
  width: calc(100% - 40px);
  background-color: var(--text-color-a);
}

/* ========== NAVBAR TOGGLER (Mobile Hamburger) ========== */

.navbar-toggler {
  border: 2px solid var(--bg-color-c);
  padding: 8px 12px;
  background-color: transparent;
}

.navbar-toggler i {
  color: var(--bg-color-c);
  font-size: 1.3rem;
}

/* ========== DROPDOWN MENU ========== */

/* ✅ Dropdown arrow - visible and styled */
.navbar-nav .dropdown-toggle::after {
  display: inline-block !important;
  margin-left: 0.5em;
  vertical-align: 0.15em;
  content: "" !important;
  border-top: 0.3em solid var(--bg-color-c) !important;
  border-right: 0.3em solid transparent !important;
  border-left: 0.3em solid transparent !important;
  border-bottom: 0 !important;
  transition: transform 0.3s ease;
  position: static;
  width: auto;
  height: auto;
  background: none;
}


/* ✅ Rotate arrow when dropdown opens */
.navbar-nav .dropdown-toggle.show::after {
  transform: rotate(180deg);
}

/* ✅ Underline for dropdown toggles - uses ::before instead of ::after */
.nav-link.dropdown-toggle::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 8px;
  height: 2px;
  width: 0%;
  background-color: var(--bg-color-c);
  transition: width 0.3s ease;
}

.nav-link.dropdown-toggle:hover::before {
  width: calc(100% - 40px);
}

/* ✅ Regular nav links still use ::after for underline */
.nav-link:not(.dropdown-toggle)::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 8px;
  height: 2px;
  width: 0%;
  background-color: var(--bg-color-c);
  transition: width 0.3s ease;
}

.nav-link:not(.dropdown-toggle):hover::after {
  width: calc(100% - 40px);
}

/* Dropdown menu container */
.dropdown-menu {
  background-color: var(--bg-color-a);
  border: 2px solid var(--bg-color-f);
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  margin-top: 8px;
  min-width: 200px;
  animation: dropdownFadeIn 0.3s ease;
}

/* ✅ Smooth dropdown animation */
@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dropdown items */
.dropdown-item {
  font-family: var(--ff-1);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bg-color-c);
  padding: 10px 20px;
  transition: all 0.3s ease;
  position: relative;
  background-color: transparent;
}

.dropdown-item::after {
  content: "";
  position: absolute;
  left: 20px;
  bottom: 5px;
  width: 0%;
  height: 2px;
  background-color: var(--bg-color-c);
  transition: width 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: transparent;
  color: var(--text-color-a);
  transform: translateX(8px);
}

.dropdown-item:hover::after {
  width: calc(100% - 40px);
}

/* Active dropdown parent keeps same style */
.nav-item.dropdown .nav-link.show,
.nav-item.dropdown:hover .nav-link {
  background-color: transparent;
  color: var(--bg-color-c);
}

/* Legal dropdown download icons */
.dropdown-item .fa-download {
  margin-left: 8px;
  font-size: 0.85rem;
  color: var(--bg-color-c);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.dropdown-item:hover .fa-download {
  opacity: 1;
  transform: translateY(2px);
}

/* ========== REGISTRATION BAR ========== */

.registration-bar {
  background-color: var(--bg-color-d);
  text-align: center;
  padding: 8px 15px;
  border-top: 1px solid #ccc;
}

.registration-text {
  font-family: var(--ff-1);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-color-a);
  margin: 0;
}

/* ========== BODY PADDING (accounts for fixed header) ========== */

/* body {
  padding-top: 200px; /* Desktop */
} */

/* ========== NAVBAR MOBILE RESPONSIVENESS ========== */

/* 📱 991px - Small Laptops */
@media (max-width: 991px) {
  /* Remove transform on mobile (no slide effect) */
  .nav-link:hover,
  .dropdown-item:hover {
    transform: none;
  }

  /* On mobile, dropdown opens as accordion below the parent */
  .dropdown-menu {
    border: none;
    box-shadow: none;
    background-color: transparent;
    padding-left: 20px;
    margin-top: 0;
    animation: none;
  }
  
  .dropdown-item {
    color: var(--bg-color-c);
    padding: 8px 20px;
    font-size: 0.9rem;
  }
  
  .dropdown-item:hover {
    background-color: transparent;
    border-radius: 8px;
  }
}

/* 📱 768px and below */
@media (max-width: 768px) {
  body {
    padding-top: 180px; /* Tablet */
  }

  .top-bar {
    padding: 8px 0;
  }
    
  .top-bar-content {
    font-size: 0.8rem;
    gap: 10px;
  }
    
  .logo-img {
    width: 100px;
    height: 100px;
  }
    
  .titleName {
    font-size: 1rem;
  }
    
  .practice-name {
    font-size: 0.75rem;
  }

  .navbar-nav {
    text-align: center;
    padding: 10px 0;
  }
  
  .nav-link {
    padding: 8px 15px !important;
  }
  
  .registration-bar {
    padding: 6px 10px;
  }
  
  .registration-text {
    font-size: 0.7rem;
  }
}

/* 📱 576px and below */
@media (max-width: 576px) {
  body {
    padding-top: 160px; /* Mobile */
  }

  .top-bar-content a {
    font-size: 0.75rem;
  }
  
  .logo-img {
    width: 80px;
    height: 80px;
  }
  
  .titleName {
    font-size: 0.9rem;
  }
    
  .registration-bar {
    display: none; /* Hide on very small screens */
  }
}

/* 📱 320px and below */
@media (max-width: 320px) {
  .brand-text {
    margin-left: -8px;
    padding-right: 10px;
  }
}

/* ============================================ */
/* 🎯 HERO SECTION                             */
/* ============================================ */

.hero {
  background: linear-gradient(135deg, var(--bg-color-a) 0%, var(--bg-color-d) 50%, var(--bg-color-b) 100%);
  padding: 100px 8% 80px 8%;
  min-height: auto;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(56, 226, 9, 0.03) 0%, transparent 50%),
                    radial-gradient(circle at 80% 80%, rgba(63, 59, 81, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 2;
}

.hero-text {
  color: var(--text-color-c);
}

.hero-text h3 {
  font-family: var(--ff-1);
  font-size: 1.4rem;
  font-weight: 600;
  font-style: italic;
  color: var(--text-color-b);
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: center;
}

.hero-text h1 {
  font-family: var(--ff-1);
  font-size: 3.2rem;
  font-weight: 900;
  font-style: italic;
  color: var(--bg-color-c);
  /* text-shadow: 2px 2px 0 rgba(56, 226, 9, 0.3); */
  margin-bottom: 25px;
  line-height: 1.2;
  text-align: center;
}

.hero-text p {
  font-family: var(--ff-2);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.8;
  color: var(--text-color-a);
  margin-bottom: 35px;
  max-width: 600px;
  text-align: center;
}

.hero-quote {
  font-family: var(--ff-1);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-color-b);
  line-height: 1.7;
  margin-top: 30px;
  padding: 20px;
}

.hero-quote span {
  display: block;
  margin-top: 10px;
  font-weight: 600;
  color: var(--text-color-c);
  text-align: center;
}

/* Hero Image */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 226, 9, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.hero-image img {
  position: relative;
  width: 100%;
  max-width: 550px;
  height: auto;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.2));
  z-index: 1;
}

/* ========== HERO PAGE MOBILE RESPONSIVENESS ========== */

/* 📱 991px - Small Laptops */
@media (max-width: 991px) {
  .hero {
      padding: 80px 5% 60px 5%;
  }
  
  .hero-content {
      gap: 40px;
  }
  
  .hero-text h1 {
      font-size: 2.8rem;
  }
  
  .hero-text h3 {
      font-size: 1.2rem;
  }
}

/* 📲 768px - Tablets */
@media (max-width: 768px) {
  .hero {
      padding: 60px 5% 50px 5%;
  }
  
  .hero-content {
      grid-template-columns: 1fr;
      gap: 40px;
      text-align: center;
  }
  
  .hero-text h1 {
      font-size: 2.4rem;
  }
  
  .hero-text h3 {
      font-size: 1.1rem;
  }
  
  .hero-text p {
      margin: 0 auto 30px auto;
  }
  
  .hero-quote {
      text-align: left;
  }
  
  .hero-image img {
      max-width: 400px;
  }
}

/* 📱 576px - Medium Phones */
@media (max-width: 576px) {
  .hero {
      padding: 50px 4% 40px 4%;
  }
  
  .hero-text h3 {
      font-size: 1rem;
      line-height: 1.6;
  }
  
  .hero-text h1 {
      font-size: 2rem;
  }
  
  .hero-text p {
      font-size: 1rem;
  }
  
  .hero-quote {
      font-size: 0.9rem;
      padding: 15px;
  }
  
  .hero-image img {
      max-width: 320px;
  }
}

/* 📱 480px - Small Phones */
@media (max-width: 480px) {
  .hero-text h1 {
      font-size: 1.8rem;
  }
  
  .hero-text h3 {
      font-size: 0.95rem;
  }
}

/* 📱 320px - Very Small Phones */
@media (max-width: 320px) {
  .hero-text h1 {
      font-size: 1.6rem;
  }
  
  .hero-text h3 {
      font-size: 0.9rem;
  }
  
  .hero-text p,
  .hero-quote {
      font-size: 0.85rem;
  }
}

/* ============================================ */
/* 👩‍⚕️ MEET DR JANIQUE (INTRO SECTION)        */
/* ============================================ */

.intro {
  position: relative;
  color: var(--text-color-c);
  padding: 150px 8% 150px 8%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 5rem;
  background-color: var(--bg-color-d);
  min-height: auto;
}

.circle {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: var(--bg-color-a);
  clip-path: circle(70% at right -20%);
  z-index: 0;
}

.intro-image {
  position: relative;
  z-index: 2;
}

.intro-image img {
  background-color: var(--bg-color-d);
  position: relative;
  padding: 10px;
  border-radius: 50%;
  border: 5px solid var(--bg-color-f);
  box-shadow: 0px 0px 30px rgba(37, 37, 37, 0.4);
  filter: brightness(1.15);
  transition: 0.5s ease-in-out;
}

.intro-image img:hover {
  box-shadow: 0px 0px 50px var(--text-color-a);
  cursor: pointer;
  transform: scale(1.05);
}

.intro-text {
  position: relative;
  padding-top: 20px;
  z-index: 2;
}

.intro-text h2 {
  font-size: var(--fs-2);
  font-weight: 700;
  color: var(--text-color-c);
  display: inline-flex;       
  align-items: baseline;    
  white-space: nowrap;        
  margin-bottom: 20px;
}

.intro-text h2 span {
  color: var(--bg-color-f);
  font-size: 2.5rem;
  margin-left: 8px;          
}

.intro-text h3 {
  margin-top: 10px;
  margin-bottom: 30px;
  font-weight: 600;
  font-size: var(--fs-3);
}

.intro-text h3 .typing-text {
  color: var(--bg-color-f);
  position: relative;
}

.intro-text h3 .typing-text:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0px;
  height: 100%;
  border-left: 4px solid var(--bg-color-f);
  background-color: var(--bg-color-a);
  animation: typing 5s infinite steps(18);
}

@keyframes typing {
  0% {
    left: 0;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 0;
  }
}

.intro-text p {
  max-width: 500px;
  width: 100%;
  margin: 20px 0;
  padding-bottom: 40px;
  font-size: var(--fs-p);
  line-height: 1.8;
}

/* ========== INTRO PAGE MOBILE RESPONSIVENESS ========== */

/* 💻 991px Medium Screens - Small Laptops */
@media (max-width: 991px) {
  .intro {
    padding: 100px 5%;
    flex-direction: column;
    gap: 3rem;
  }
  
  .circle {
    clip-path: circle(50% at center);
  }
  
  .intro-text {
    text-align: center;
  }
  
  .intro-text h2 {
    flex-direction: column;
    align-items: center;
  }
  
  .intro-text h2 span {
    margin-left: 0;
    margin-top: 10px;
  }
  
  .intro-text p {
    margin: 20px auto;
  }
}

/* 📲 768px Tablets */
@media (max-width: 768px) {
  .intro {
    padding: 80px 5%;
  }
  
  .intro-image img {
    max-width: 350px;
  }
  
  .intro-text h2 {
    font-size: var(--ts-2);
  }
  
  .intro-text h2 span {
    font-size: 2rem;
  }
  
  .intro-text h3 {
    font-size: var(--ts-3);
  }
}

/* 📱 576px Phones */
@media (max-width: 576px) {
  .intro {
    padding: 60px 4%;
  }
  
  .intro-image img {
    max-width: 300px;
  }
  
  .intro-text h2 {
    font-size: var(--msp-2);
  }
  
  .intro-text h2 span {
    font-size: 1.8rem;
  }
  
  .intro-text h3 {
    font-size: var(--msp-3);
  }
  
  .intro-text p {
    font-size: 0.9rem;
  }
}

/* ============================================ */
/* 👨‍👩‍👧‍👦 WHY FAMILIES TRUST (ANIMATED SQUARES) */
/* ============================================ */

.containerChoose {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  background: linear-gradient(to bottom, var(--bg-color-a), var(--text-color-d));
  overflow: hidden;
  padding: 100px 8%;
}

.containerChoose .color {
  position: absolute;
  filter: blur(200px);
  z-index: 1;
}

.containerChoose .color:nth-child(1) {
  top: -350px;
  width: 100%;
  height: 100%;
  background: var(--bg-color-g);
}

.containerChoose .color:nth-child(2) {
  bottom: -150px;
  left: 300px;
  width: 500px;
  height: 500px;
  background: var(--bg-color-b);
}

.containerChoose .color:nth-child(3) {
  bottom: 50px;
  right: 100px;
  width: 300px;
  height: 300px;
  background: var(--text-color-e);
}

.boxChoose {
  position: relative;
  box-sizing: border-box;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.boxChoose .square {
  position: absolute;
  backdrop-filter: blur(25px); 
    /* backdrop-filter: blur(65px); */
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.);
  border: 1.8px solid rgba(255, 255, 255, 0.5);
  border-right: 1.5px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  animation: animateBox 10s linear infinite;
  animation-delay: calc(-1s * var(--i));
}

@keyframes animateBox {
  0%, 100% {
    transform: translateY(-40px);
  }
  50% {
    transform: translateY(40px);
  }
}

.boxChoose .square:nth-child(1) {
  top: -30px;
  right: 60px;
  width: 100px;
  height: 100px;
}

.boxChoose .square:nth-child(2) {
  top: 270px;
  left: -20px;
  width: 120px;
  height: 120px;
  z-index: -1;
}

.boxChoose .square:nth-child(3) {
  bottom: 150px;
  right: -40px;
  width: 80px;
  height: 80px;
  z-index: 1;
}

.boxChoose .square:nth-child(4) {
  bottom: 50px;
  left: 180px;
  width: 50px;
  height: 50px;
}

.boxChoose .square:nth-child(5) {
  top: 80px;
  left: 100px;
  width: 60px;
  height: 60px;
}

.cont-choose {
  position: relative;
  width: 100%;
  min-height: 60vh;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(15px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
  padding: 60px 40px;
}

.why-heading h2 {
  color: var(--text-color-a);
  text-align: center;
  font-family: var(--ff-1);
  font-size: var(--fs-2);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 1px;
  word-spacing: 2px;
  padding-top: 20px;
  margin: 0;
}

.why-paragraph p {
  line-height: 2rem;
  padding-top: 10px;
  font-family: var(--ff-1);
  font-size: var(--fs-p);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 1px;
  text-align: center;
  color: var(--text-color-a);
}

.why-paragraph h6 {
  line-height: 2rem;
  padding-top: 10px;
  font-family: var(--ff-1);
  font-size: var(--fs-6);
  font-weight: 600;
  letter-spacing: 1px;
  font-style: italic;
  text-align: center;
  color: var(--text-color-a);
}

/* ===== 👨‍👩‍👧‍👦 WHY FAMILIES (ANIMATED SQUARES) RESPONSIVENESS ===== */

/* 📱 320px Very Small Phones */
@media (max-width: 320px) {
  .boxChoose .square {
    display: none;
  }

  .col-9 {
    width: 100%;
  }

  .why-heading h2 {
    font-size: var(--vss-2);
    padding-bottom: 10px;
  }

  .why-paragraph p {
    font-size: var(--vss-p);
    padding: 5px;
  }

  .why-paragraph h6 {
    font-size: var(--vss-6);
    padding: 5px;
  }
}

/* 📱 480px Small Phones */
@media (max-width: 480px) {
  .boxChoose .square {
    display: none;
  }

  .col-9 {
    width: 100%;
  }

  .why-heading h2 {
    font-size: var(--sp-2);
    padding: 10px;
  }

  .why-paragraph p {
    font-size: var(--sp-p);
    padding: 8px;
  }

  .why-paragraph h6 {
    font-size: var(--sp-6);
    padding: 8px;
  }
}

/* 📱 576px Medium Phones */
@media (max-width: 576px) {
  .boxChoose .square {
    display: none;
  }

  .col-9 {
    width: 100%;
  }

  .why-heading h2 {
    font-size: var(--msp-2);
    padding: 15px;
  }

  .why-paragraph p {
    font-size: var(--msp-p);
    padding: 5px;
  }

  .why-paragraph h6 {
    font-size: var(--msp-6);
    padding: 5px;
  }
}

/* 📲 768px Tablets */
@media (max-width: 768px) {
  .boxChoose {
    max-width: 950px;
  }

  .boxChoose .square {
    display: block;
  }

  .col-9 {
    width: 100%;
  }

  .why-heading h2 {
    font-size: var(--ts-2);
    padding: 15px;
  }

  .why-paragraph p {
    font-size: var(--ts-p);
    padding: 5px;
  }

  .why-paragraph h6 {
    font-size: var(--ts-6);
    padding: 15px;
  }
}

/* 💻 991px Small Laptops */
@media (max-width: 991px) {
  .boxChoose {
    max-width: 1000px;
  }

  .boxChoose .square {
    display: block;
  }

  .col-9 {
    width: 100%;
  }

  .why-heading h2 {
    font-size: var(--vsl-2);
    padding: 5px;
  }

  .why-paragraph p {
    font-size: var(--vsl-p);
    padding: 5px;
  }

  .why-paragraph h6 {
    font-size: var(--vsl-6);
    letter-spacing: 2px;
    word-spacing: 2px;
  }
}

/* 🩺 Reasons Why Choose Dr Janique Section */
.container-reason .contReason {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.container-reason .contReason {
  width: 100%;
  min-height: 40vh;
  text-align: center;
  background: var(--bg-color-d);
  padding-top: 80px;
  padding-bottom: 20px;
}

/* Heading + Paragraph */
.container-reason .contReason .reason-heading h2 {
  color: #252525;
  text-align: center;
  font-family: var(--ff-1);
  font-size: var(--fs-2);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 1px;
  word-spacing: 2px;
  margin: 10px;
  padding: 10px;
}

.container-reason .contReason .reason-paragraph h6 {
  line-height: 2rem;
  padding-top: 10px;
  font-family: var(--ff-1);
  font-size: var(--fs-6);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 1px;
  word-spacing: 2px;
  text-align: center;
  color: #252525;
  margin: 10px;
  padding-top: 10px;
}

/* 🛡️ Safe, 💊 Drug-Free, 👨‍⚕️ Surgery, 🏥 Medical Aid */

.container-reason {
  background: var(--bg-color-d);
  width: 100%;
  height: 100%;
}

.reason-cont .reason-why {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center; 
  width: 100%;
  min-height: 100vh;
  background: var(--bg-color-d);
  padding-top: 50px;
  padding-bottom: 50px;
  gap: 15px;  
}

.card-reasonInfo {
  position: relative;
  width: 320px;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-reasonInfo .imgReason {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: 15px;
  background-size: cover
}

.card-reasonInfo .imgReason::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 20px;
  height: 20px;
  background: transparent; 
  border-radius: 50%;
  box-shadow: -10px 10px 0 var(--bg-color-d); 
}

.card-reasonInfo .imgReason::after {
  content: "";
  position: absolute;
  bottom: 70px;
  left: 0;
  width: 20px;
  height: 20px;
  background: transparent; 
  border-radius: 50%;
  box-shadow: -10px 10px 0 var(--bg-color-d);
}

.card-reasonInfo .reason-content {
  position: relative;
  width: 100%;
  height: 150px;
  background: #232949;
   background: #252525;
  border-radius: 15px;
  border-top-left-radius: 0;
  padding: 0 30px;  
}

.card-reasonInfo .reason-content ul {
  font-size: 14px;
  line-height: 1.25rem;
  margin-top: 15px;
}

.card-reasonInfo .reason-content .reason-title {
  position: absolute;
  top: -80px;
  left: 0;
  height: 80px;
  width: 50%;
  background: #232949;
  background: #252525;
  border-top: 10px solid var(--bg-color-d);
  border-right: 10px solid var(--bg-color-d);
  border-top-right-radius: 25px;  
}

.card-reasonInfo .reason-content .reason-title::before {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  background: transparent; 
  border-radius: 50%;
  box-shadow: -10px -10px 0 var(--bg-color-d);
}

.card-reasonInfo .reason-content .reason-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: -25px;
  width: 25px;
  height: 25px;
  background: transparent;
  border-radius: 50%;
  box-shadow: -10px 10px 0 #232949;
    box-shadow: -10px 10px 0 #252525;
}

.card-reasonInfo .reason-content .reason-title a {
  position: relative;
  background: var(--bg-color-d);
  padding: 10px 15px ;
  margin: 10px 10px;
  display: block;
  border-radius: 7px;
  color: var(--text-color-a); 
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
  font-family: var(--ff-1);
  text-align: center;
}

.card-reasonInfo .reason-content ul li {
  list-style-type: disc;
  margin-left: 10px;
  margin-bottom: 8px;
  color: var(--bg-color-a);
}

/* ============================================ */
/* 📣 POP SLOGAN SECTION                       */
/* ============================================ */

.slogan-section {
  background-color: var(--bg-color-b);
  padding: 100px 8%;
  min-height: auto;
}

.slogan-container {
  text-align: center;
  color: var(--text-color-c);
  font-family: var(--ff-1);
  font-style: italic;
}

.slogan-container h3 {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  word-spacing: 1.8px;
  margin-bottom: 30px;
  color: var(--bg-color-c);
}

.slogan-content h5 {
  line-height: 1.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 20px 0;
}

.slogan-content h4 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 20px 0;
}

.pop-letters {
  margin: 40px 0;
}

.pop-letters h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 20px 0;
}

.pop-letter,
.pop-quote {
  position: relative;
  display: inline-block;
  font-size: 4rem;
  color: #4d4c4b;
  text-shadow: 0 1px 0 #4d4c4b, 
               0 2px 0 #4d4c4b, 
               0 3px 0 #4d4c4b, 
               0 4px 0 #4d4c4b, 
               0 5px 0 #4d4c4b, 
               0 6px 0 transparent, 
               0 7px 0 transparent, 
               0 8px 0 transparent, 
               0 10px 10px rgba(0, 0, 0, 0.5);
  animation: bounce 0.8s ease infinite alternate;
  margin: 0 5px;
}

.pop-letter:nth-child(2) {
  animation-delay: 0.2s;
}

.pop-letter:nth-child(3) {
  animation-delay: 0.3s;
}

.pop-letter:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0% {
    top: 0;
    text-shadow: 0 1px 0 #ccc, 0 2px 0 #ccc, 0 3px 0 #ccc, 0 4px 0 #ccc, 0 5px 0 #ccc, 0 6px 0 #ccc, 0 7px 0 #ccc, 0 8px 0 #ccc, 0 10px 10px rgba(0, 0, 0, 0.3);
  }
  100% {
    top: -20px;
    text-shadow: 0 1px 0 #ccc, 0 2px 0 #ccc, 0 3px 0 #ccc, 0 4px 0 #ccc, 0 5px 0 #ccc, 0 6px 0 #ccc, 0 7px 0 #ccc, 0 8px 0 #ccc, 0 60px 30px rgba(0, 0, 0, 0.3);
  }
}

/* ========== SLOGAN PAGE MOBILE RESPONSIVENESS ========== */

/* POP Slogan Mobile */

/* 💻 991px Medium Screens - Small Laptops */
@media (max-width: 991px) {
  .slogan-section {
    padding: 80px 5%;
  }
  
  .slogan-container h3 {
    font-size: 1.5rem;
  }
  
  .pop-letter,
  .pop-quote {
    font-size: 3.5rem;
  }
}

/* 📲 768px Tablets */
@media (max-width: 768px) {
  .slogan-section {
    padding: 70px 5%;
  }
  
  .slogan-container h3 {
    font-size: 1.3rem;
  }
  
  .slogan-content h5 {
    font-size: 1.2rem;
  }
  
  .slogan-content h4 {
    font-size: 1.4rem;
  }
  
  .pop-letter,
  .pop-quote {
    font-size: 3rem;
  }
}

/* 📱 576px Phones Small Screens */
@media (max-width: 576px) {
  .slogan-section {
    padding: 60px 4%;
  }
  
  .slogan-container h3 {
    font-size: 1.1rem;
  }
  
  .slogan-content h5 {
    font-size: 1rem;
  }
  
  .slogan-content h4 {
    font-size: 1.2rem;
  }
  
  .pop-letter,
  .pop-quote {
    font-size: 2.5rem;
  }
}

/* 📱 480px Small Phones  */
@media (max-width: 480px) {
  .pop-letter,
  .pop-quote {
    font-size: 2rem;
  }
}

/* 🏠 House Rules Header Section */

.house-contain {
  background-color: var(--bg-color-b);
  height: 100%;
  padding-top: 80px;
  padding-bottom: 80px;
  background: linear-gradient(155deg, #EDE6DE 20%, #DBCFC3 60%);
}

.ruleHeading {
  text-align: center;
  color: var(--text-color-c);
  font-family: var(--ff-1);
  font-style: italic;
  letter-spacing: 1px;
}

.ruleHeading h2 {
  font-size: 30px;
  font-size: var(--fs-2);
  font-weight: 600;
  letter-spacing: 1.5px;
  word-spacing: 1.8px;
  margin-bottom: 0px;
} 

/* 🏠 House Rules Section */
.container-house-rules {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 20px;
  margin: 0px auto;
}

.container-rules {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
}

/* Card Styling */
.card {
  flex: 0 1 22%; /* 4 cards in a row on large screens */
  min-width: 260px;
  max-width: 280px;
  height: 450px;
  background: var(--bg-color-a);
  border-radius: 20px;
  border-bottom-left-radius: 160px;
  border-bottom-right-radius: 160px;
  box-shadow:
    0 15px 0 #F8F8EF,
    inset 0 -15px 0 rgba(255,255,255,0.25),
    0 45px 0 rgba(0,0,0,0.15);
  overflow: hidden;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  position: relative;
}

/* Light reflection on card */
.card::before {
  content: '';
  position: absolute;
  top: -140px;
  left: -40%;
  width: 100%;
  height: 120%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5));
  transform: rotate(35deg);
  filter: blur(10px);
  pointer-events: none;
}

/* Icon Holder */
.rule-icon {
  position: relative;
  width: 140px;
  height: 120px;
  background: var(--bg-color-a);
  border-bottom-left-radius: 100px;
  border-bottom-right-radius: 100px;
  box-shadow: 0 10px 0 rgba(0,0,0,0.1),
              inset 0 -8px 0 #F8F8EF;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.rule-icon::before,
.rule-icon::after {
  content: '';
  position: absolute;
  top: 0;
  width: 50px;
  height: 50px;
  background: transparent;
}

.rule-icon::before {
  left: -50px;
  border-top-right-radius: 50px;
  box-shadow: 15px -15px 0 15px #EDE6DE;
}

.rule-icon::after {
  right: -50px;
  border-top-left-radius: 50px;
  box-shadow: -15px -15px 0 15px #EDE6DE;
}

.rule-icon ion-icon {
  color: var(--text-color-a);
  font-size: 4em;
  position: relative;
  --ionicon-stroke-width: 20px;
}

/* Text Content */
.content-rule {
  position: absolute;
  top: 150px;
  padding: 30px 20px;
  text-align: center;
  z-index: 1000;
}

.content-rule h5 {
  font-family: var(--ff-1);
  font-size: 20px;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 10px;
  color: var(--text-color-a);
}

.content-rule p {
  font-family: var(--ff-1);
  font-size: 15px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-color-a);
}

/* 🏠 House Rules Media Queries Section */

/* 💻  Tablets: 2 cards in a row */
@media (max-width: 991px) {
  .card {
    flex: 0 1 45%;
  }
}

/* 📱 Phones: 1 card in a row */
@media (max-width: 600px) {
  .card {
    flex: 0 1 100%;
    height: auto;
    padding-bottom: 40px;
  }

  .rule-icon {
    width: 120px;
    height: 100px;
  }

  .rule-icon ion-icon {
    font-size: 3em;
  }

  .content-rule {
    position: relative;
    top: auto;
    padding-top: 30px;
  }

  .content-rule h5 {
    font-size: 18px;
  }

  .content-rule p {
    font-size: 14px;
  }
}

/* ⭐ Testimonial Section */

.container-testimonial-bx {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(45deg, #938270, #EDE6DE);
  padding-top: 120px;    
  padding-bottom: 120px; 
}

.container-testimonial {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start; 
  width: 100%;
  min-height: 20vh;
  gap: 30px;     
}

/* ⭐ Section Title */
.testimonial-heading {
  text-align: center;
  margin-bottom: 40px;
  padding-top: 10px;     
}

.testimonial-heading h2 {
  font-family: var(--ff-1);
  font-size: var(--fs-2);
  font-weight: 700;
  font-style: italic;
  color: var(--bg-color-c);
  letter-spacing: 1.5px;
}

/* ⭐ Testimonial Intro */
.testimonial-intro {
  font-family: var(--ff-1);
  font-size: var(--fs-4);
  font-style: italic;
  color: var(--bg-color-c);
  margin-top: 10px;
  margin-bottom: 30px;
  text-align: center;
  letter-spacing: 1px;
  word-spacing: 1px;
}

/* ⭐ Testimonial Cards */
.container-testimonial .card-testimonial {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 280px;
  height: 280px;
  padding: 100px 50px;
  margin: 20px;          
  background-color: #EDE6DE;
  border-radius: 20px;
  box-shadow: 0 35px 80px rgba(0,0,0,0.15);
  transition: 0.5s;
}

.container-testimonial .card-testimonial:hover {
  height: 400px;
}

/* ⭐ Testimonial Image Box */
.container-testimonial .card-testimonial .imgBx {
  position: absolute;
  top: 20px;
  width: 260px;
  height: 220px;
  background: #EDE6DE;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.5s;
}

.container-testimonial .card-testimonial:hover .imgBx {
  top: -100px;          
  scale: 0.75;
  box-shadow: 0 15px 45px rgba(0,0,0,0.2);
}

.container-testimonial .card-testimonial .imgBx img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ⭐ Testimonial Content */
.container-testimonial .card-testimonial .content {
  position: absolute;
  top: 252px;
  width: 100%;
  padding: 0 30px;
  height: 35px;
  overflow: hidden;
  text-align: center;
  transition: 0.5s;
}

.container-testimonial .card-testimonial:hover .content {
  top: 120px;
  height: 250px;
}

.container-testimonial .card-testimonial .content h3 {
  font-family: var(--ff-1);
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  color: var(--bg-color-c);
}

.container-testimonial .card-testimonial .content p {
  font-family: var(--ff-1);
  font-size: 12px;
  font-weight: 400;
  font-style: italic;
  color: var(--bg-color-c);
  padding-top: 10px;
}

.container-testimonial .card-testimonial .content span {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding-left: 3px;
  font-size: 18px;
  font-weight: 500;
}

.container-testimonial .card-testimonial .content span i {
  font-size: 18px;
  color: #f9d71c;        /* ⭐ Gold stars */
}

/* 📱 Testimonial Section Media Queries */

/* 📱 320px Very Small Phones */
@media screen and (max-width: 320px) {
  .container-testimonial-bx {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .testimonial-intro {
    font-size: 1.25rem;
  }
}

/* 📱 480px Small Phones */
@media screen and (max-width: 480px) {
  .container-testimonial-bx {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .testimonial-intro {
    font-size: 1.3rem;
  }
}

/* 📱 768px Tablets */
@media screen and (max-width: 768px) {
  .container-testimonial-bx {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

/* 📱 991px Small Laptops */
@media screen and (max-width: 991px) {
  .container-testimonial-bx {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

/* ============================================ */
/* 📅 APPOINTMENT CTA SECTION                  */
/* ============================================ */

.appointment-cta {
  background: linear-gradient(135deg, var(--bg-color-a) 0%, var(--bg-color-d) 50%, var(--bg-color-b) 100%);
  padding: 80px 8%;
  min-height: auto;
  text-align: center;
}

.appointment-container {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-color-a);
}

.appointment-container h2 {
  font-family: var(--ff-1);
  font-size: 2.5rem;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 15px;
  line-height: 1.2;
}

.appointment-container h3 {
  font-family: var(--ff-1);
  font-size: 1.5rem;
  font-weight: 600;
  font-style: italic;
  color: var(--text-color-a);
  margin-bottom: 25px;
}

.appointment-container p {
  font-family: var(--ff-2);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.appointment-container p strong {
  font-weight: 700;
  color: var(--text-color-a);
}

.appointment-container .appointment-quote {
  font-family: var(--ff-1);
  font-weight: 700;
  font-size: 1.8rem;
  font-style: italic;
  letter-spacing: 1.5px;
  word-spacing: 2.5px;
  color: var(--text-color-b);
  line-height: 1.7;
  margin-bottom: 25px;
}

.appointment-container .appointment-quote span {
  display: block;
  margin-top: 8px;
  font-weight: 600;
  font-family: var(--ff-1);
  font-size: 1.5rem;
  color: var(--text-color-b);
}

.appointment-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-book-cta,
.btn-call-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 40px;
  font-family: var(--ff-1);
  /* font-size: 1rem; */
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.4s ease;
  border: 2px solid var(--text-color-a);
  position: relative;
  overflow: hidden;
}

.btn-book-cta,
.btn-call-cta {
  background: linear-gradient(135deg, var(--bg-color-c), var(--text-color-b));
  color: var(--bg-color-a);
  border-color: var(--bg-color-c);
  box-shadow: 0 6px 20px rgba(63, 59, 81, 0.3);
}


.btn-book-cta:hover,
.btn-call-cta:hover {
  color: var(--bg-color-c);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
  text-shadow: none;
  border-color: var(--bg-color-c);
  background: linear-gradient(135deg, var(--bg-color-a) 0%, var(--bg-color-d) 50%, var(--bg-color-b) 100%);

  background: linear-gradient(to bottom, var(--bg-color-a), var(--text-color-d));
}

/* 📱 Appointment CTA Mobile Section Media Queries */

/* 📅 991px Small Laptops */
@media (max-width: 991px) {
  .appointment-cta {
    padding: 70px 5%;
  }
  
  .appointment-container h2 {
    font-size: 2.2rem;
  }
}

/* 📅 768px Tablets */
@media (max-width: 768px) {
  .appointment-cta {
    padding: 60px 5%;
  }
  
  .appointment-container h2 {
    font-size: 2rem;
  }
  
  .appointment-container h3 {
    font-size: 1.2rem;
  }
}

/* 📱 Medium Phones */
@media (max-width: 576px) {
  .appointment-cta {
    padding: 50px 4%;
  }
  
  .appointment-container h2 {
    font-size: 1.8rem;
  }
  
  .appointment-container h3 {
    font-size: 1.1rem;
  }
  
  .appointment-container p {
    font-size: 0.95rem;
  }
  
  .appointment-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn-book-cta,
  .btn-call-cta {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* 📱 Small Phones */
@media (max-width: 480px) {
  .appointment-container h2 {
    font-size: 1.6rem;
  }
  
  .appointment-container h3 {
    font-size: 1rem;
  }
}

/* END OF (HOME) INDEX PAGE */


/* BEGINNING OF ABOUT PAGE! */

/* ============================================ */
/* 🎭 CHIROPRACTIC DRAMATIC SECTION            */
/* ============================================ */

.container-chiro {   
  padding: 30px 8% 80px 8%; 
  margin-top: 0;
  margin-bottom: 20px;
  width: 100%;
  overflow: hidden;
  position: relative; 
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-color-b);
} 

.cont-Chiro {
  position: relative; 
  width: 100%;
  min-height: 100vh;
  padding: 0 0 80px 0;
  margin: 0;  
  overflow: hidden; 
}

.aboutChiro {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 130px 8px 80px 8px; 
  margin-top: 0;
  width: 100%;
} 

.chiro {
  position: relative; 
  width: 100%;
  max-width: 1800px;
  height: auto;
  min-height: 100vh; 
  display: block;
  padding: 30px 5%;   
  margin-top: 0;
  overflow: visible; 
  z-index: 1000;
}

.chiro-content {
  max-width: 600px;
  justify-self: start;
  color: var(--bg-color-c);
  z-index: 200;
} 

.chiro-content h3 {
  font-size: var(--fs-3);
  font-weight: 600;
  letter-spacing: 1px;
  word-spacing: 1px;
  line-height: 1.4;
  text-align: center;
  padding: 10px 0;
  margin: 0;
  opacity: 0;
  animation: slideBottom 1s ease forwards;
  animation-delay: 1s;   
} 

.chiro-content h4 {
  font-size: var(--fs-4);
  font-weight: 600;
  text-align: center;
  letter-spacing: 1px;
  word-spacing: 1px;
  padding: 10px 0;
  margin: auto;  
  opacity: 0;
  animation: slideRight 1s ease forwards;
  animation-delay: 1.6s;  
} 

.chiro-content p {
  font-size: var(--fs-p);
  font-weight: 600;
  text-align: center; 
  line-height: 2;
  word-spacing: 1px;
  margin: 15px 0 30px;
  opacity: 0;
  animation: slideLeft 1s ease forwards;
  animation-delay: 1.3s;
} 

.chiro-img {
  position: relative;
  right: 0; 
  width: 380px;
  height: 380px;
  justify-self: end;
  transform: rotate(45deg); 
  z-index: 100;
} 

.chiro-img .rhombus {
  position: absolute; 
  width: 100%;
  height: 100%; 
  border: 20px solid var(--bg-color-f); 
  box-shadow: -15px 15px 15px rgba(0, 0, 0, .2);
  opacity: 0;
  animation: zoomOut 1s ease forwards;
  animation-delay: 1.6s;
  z-index: 100; 
} 

.chiro-img .rhombus img {
  position: absolute; 
  top: 90px;
  left: -210px;  
  max-width: 630px;
  transform: rotate(-45deg);  
  opacity: 0;
  animation: missionPic 1s ease forwards;
  animation-delay: 2s; 
  z-index: 100; 
} 

.chiro .rhombus2 {
  position: absolute;
  top: 50%;
  right: 2%;
  transform: translateY(-50%) rotate(45deg);
  width: 500px;
  height: 500px;
  background-color: var(--bg-color-h); 
  z-index: -1; 
  opacity: 0;
  animation: rhombus2 1s ease forwards;
  animation-delay: 2s; 
}   

/* Keyframes */
@keyframes slideRight {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideLeft {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideBottom {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes zoomOut {
  0% {
    transform: scale(1.1);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes missionPic {
  0% {
    transform: translate(300px, -300px) scale(0) rotate(-45deg);
    opacity: 0;
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(-45deg);
    opacity: 1;
  }
}

@keyframes rhombus2 {
  0% {
    right: -10%;
    opacity: 0;
  }
  100% {
    right: 2%;
    opacity: 1;
  }
}

/* Grid layout ONLY for 992px and above */
@media (min-width: 992px) {
  .chiro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
  }
}

/* 991px - Tablet Landscape */
@media (max-width: 991px) and (min-width: 769px) {
  .cont-Chiro {
    padding: 0 0 60px 0;
  }
  
  .container-chiro {
    padding: 20px 5% 60px 5%;
  }
  
  .aboutChiro {
    padding: 80px 5px 60px 5px;
  }
  
  .chiro {
    display: block;
    padding: 20px 5% 60px 5%;
    padding-top: 50px;
  }
  
  .chiro-content {
    max-width: 100%;
    margin: 0 auto 60px auto;
  }
  
  .chiro-img {
    width: 280px;
    height: 280px;
    margin: 0 auto;
  }
  
  .chiro-img .rhombus {
    border: 15px solid var(--bg-color-f);
  }
  
  .chiro-img .rhombus img {
    top: 66px;
    left: -155px;
    max-width: 465px;
  }
  
  .chiro .rhombus2 {
    width: 360px;
    height: 360px;
    bottom: -15%;
    right: -15%;
  }
}

/* 768px - Tablets */
@media (max-width: 768px) {
  .cont-Chiro {
    padding: 0 0 50px 0;
  }
  
  .chiro {
    display: block;
    padding: 15px 4% 50px 4%;
    padding-top: 40px;
  }
  
  .chiro-content {
    max-width: 100%;
    margin: 0 auto 50px auto;
  }
  
  .chiro-img {
    width: 300px;
    height: 300px;
    margin: 0 auto;
  }
  
  .chiro-img .rhombus {
    border: 16px solid var(--bg-color-f);
  }
  
  .chiro-img .rhombus img {
    top: 71px;
    left: -166px;
    max-width: 500px;
  }
  
  .chiro .rhombus2 {
    width: 380px;
    height: 380px;
    bottom: -18%;
    right: -18%;
  }
}

/* 576px - Mobile */
@media (max-width: 576px) {
  .chiro-img {
    width: 250px;
    height: 250px;
    padding-left: 22px;
  }
  
  .chiro-img .rhombus {
    border: 14px solid var(--bg-color-f);
  }
  
  .chiro-img .rhombus img {
    top: 59px;
    left: -138px;
    max-width: 415px;
  }
  
  .chiro .rhombus2 {
    width: 320px;
    height: 320px;
    bottom: -16%;
    right: -10%;
  }
}

/* 480px - Small Mobile */
@media (max-width: 480px) {
  .chiro-img {
    width: 220px;
    height: 220px;
  }
  
  .chiro-img .rhombus {
    border: 12px solid var(--bg-color-f);
  }
  
  .chiro-img .rhombus img {
    top: 52px;
    left: -121px;
    max-width: 365px;
  }
  
  .chiro .rhombus2 {
    width: 280px;
    height: 280px;
    bottom: -14%;
    right: -8%;
  }
}

/* 320px - Very Small Mobile */
@media (max-width: 320px) {
  .chiro-img {
    width: 170px;
    height: 170px;
  }
  
  .chiro-img .rhombus {
    border: 10px solid var(--bg-color-f);
  }
  
  .chiro-img .rhombus img {
    top: 40px;
    left: -94px;
    max-width: 282px;
  }
  
  .chiro .rhombus2 {
    width: 220px;
    height: 220px;
    bottom: -6%;
    right: -6%;
  }
}

/* ============================================ */
/* 📝 ABOUT PAGE QUOTE SECTIONS                */
/* ============================================ */

.about-quote-section {
  background: linear-gradient(135deg, var(--bg-color-a) 0%, var(--bg-color-d) 50%, var(--bg-color-b) 100%);
  padding: 80px 8%;
  min-height: auto;
  text-align: center;
}

.about-quote-bottom {
  background: var(--bg-color-g);
}

.about-quote-container {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-color-a);
}

.about-quote-container h2 {
  font-family: var(--ff-1);
  font-size: 2.2rem;
  font-weight: 700;
  font-style: italic;
  color: var(--bg-color-c);
  margin-bottom: 25px;
  line-height: 1.3;
}

.about-quote-container h3 {
  font-family: var(--ff-1);
  font-size: 1.6rem;
  font-weight: 600;
  font-style: italic;
  color: var(--text-color-b);
  margin-bottom: 30px;
}

.about-quote-container .tagline {
  font-size: 1.8rem;
  color: var(--bg-color-c);
  margin-top: 30px;
}

.about-quote-container .quote-text p {
  font-family: var(--ff-1);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-color-a);
  line-height: 1.8;
  margin-bottom: 10px;
}

.about-quote-container .quote-text p em {
  font-size: 1.15rem;
}

.about-quote-container .quote-text span {
  display: block;
  font-weight: 600;
  color: var(--text-color-c);
  margin-top: 15px;
}

@media (max-width: 768px) {
  .about-quote-section {
    padding: 60px 5%;
  }
  
  .about-quote-container h2 {
    font-size: 1.8rem;
  }
  
  .about-quote-container h3 {
    font-size: 1.3rem;
  }
  
  .about-quote-container .tagline {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .about-quote-container h2 {
    font-size: 1.6rem;
  }
  
  .about-quote-container h3 {
    font-size: 1.2rem;
  }
  
  .about-quote-container .quote-text p {
    font-size: 1rem;
  }
}

/* ============================================ */
/* 🖼️ 4-SPLIT IMAGE SECTION                    */
/* ============================================ */
.container-chiropractics { 
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: var(--bg-color-c);
  margin: 0;
  padding: 100px 0 80px 0;
}

.about_conditions { 
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;      /* ✅ All cards same height */
  gap: 20px;
  width: 85%;                /* ✅ Take up 85% of screen */
  max-width: 1800px;
  margin: 0 auto;
  min-height: 85vh;          /* ✅ Minimum height for impact */
}

.image-card {
  position: relative;
  flex: 1 1 25%;             /* ✅ Each card = 25% */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.image-card img {
  position: absolute;        /* ✅ Image becomes background */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;              /* ✅ Fill entire card */
  object-fit: cover;         /* ✅ Cover entire area */
  object-position: center;
  z-index: 1;                /* ✅ Behind button */
}

.about-image-btn {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0);   /* ✅ TRANSPARENT background */
  color: var(--bg-color-g);
  width: 95%;         
  padding: 12px 15px;    
  border-radius: 8px;
  z-index: 2000;
  border: 2px solid var(--bg-color-g);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  z-index: 2;
  cursor: pointer;
  transition: all 0.3s ease;
}

.about-image-btn:hover {
  color: var(--bg-color-g);
  border: 2px solid var(--bg-color-c);
}

/* 4-SPLIT IMAGE RESPONSIVE SECTION - HIDE IMAGES ON MOBILE  */

@media (max-width: 991px) {
  .about_conditions {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .container-chiropractics {
    padding: 60px 0 50px 0;
  }
  
  /* ✅ HIDE IMAGES - Show only buttons on dark background */
  .image-card img {
    display: none;
  }
  
  .about_conditions {
    flex-wrap: wrap;
    width: 90%;
    min-height: auto;
    gap: 15px;               /* ✅ Add gap when images hidden */
    background: var(--bg-color-c);
  }
  
  .image-card {
    flex: 1 1 48%;           /* ✅ 2 buttons per row */
    min-height: auto;
    position: relative;
    padding: 15px;
  }
  
  .about-image-btn {
    position: relative;      /* ✅ Not absolute anymore */
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    padding: 18px 15px;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .container-chiropractics {
    padding: 50px 0 40px 0;
  }
  
  /* ✅ HIDE IMAGES - Show only buttons */
  .image-card img {
    display: none;
  }
  
  .about_conditions {
    flex-direction: column;
    width: 90%;
    gap: 15px;
  }
  
  .image-card {
    flex: 1 1 100%;          /* ✅ 1 button per row */
    margin-bottom: 0;
  }
  
  .about-image-btn {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    padding: 18px;
  }
}

/* 🖼️ END OF 4-SPLIT IMAGE SECTION      

/* ============================================ */
/* 🔲 ABOUT PAGE MODALS                        */
/* ============================================ */

.about-modal-content {
  background-color: var(--bg-color-a);
  border-radius: 20px;
  border: none;
}

.about-modal-header {
  background: linear-gradient(135deg, var(--bg-color-c), var(--text-color-b));
  color: var(--bg-color-a);
  padding: 15px 20px;        /* ✅ Reduced from 30px */
  border-radius: 12px 12px 0 0;  /* ✅ Smaller radius */
  border: none;
}

.about-modal-title {
  font-family: var(--ff-1);
  font-size: 1.2rem;         /* ✅ Smaller title */
  font-weight: 700;
  font-style: italic;
  margin: 0;
  line-height: 1.2;          /* ✅ Tighter line spacing */
}

.about-modal-body {
  padding: 30px;
  max-height: 60vh;
  overflow-y: auto;
}

.about-modal-body::-webkit-scrollbar {
  width: 8px;
}

.about-modal-body::-webkit-scrollbar-track {
  background: var(--bg-color-d);
  border-radius: 10px;
}

.about-modal-body::-webkit-scrollbar-thumb {
  background: var(--bg-color-c);
  border-radius: 10px;
}

.about-modal-body p {
  font-family: var(--ff-2);
  font-size: var(--fs-p);
  line-height: 1.8;
  color: var(--text-color-a);
  margin-bottom: 20px;
}

.about-modal-body ul {
  font-family: var(--ff-2);
  font-size: var(--fs-p);
  line-height: 1.8;
  color: var(--text-color-a);
  margin-bottom: 20px;
  padding-left: 25px;
}

.about-modal-body ul li {
  margin-bottom: 8px;
}

.about-modal-footer {
  border-top: 2px solid var(--bg-color-d);
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.about-blog-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-color-c);
  color: var(--bg-color-a);
  padding: 10px 22px;
  font-family: var(--ff-1);
  font-size: 0.95em;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(63, 59, 81, 0.25);
}

.about-blog-btn:hover {
  background-color: var(--text-color-a);
  color: var(--bg-color-a);
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(63, 59, 81, 0.35);
}

.about-modal-close {
  background-color: var(--bg-color-c);
  color: var(--bg-color-a);
  border: none;
  border-radius: 25px;
  padding: 10px 24px;
  font-family: var(--ff-1);
  font-weight: 600;
}

.about-modal-close:hover {
  background-color: var(--text-color-a);
  color: var(--bg-color-a);
}


/* ============================================ */
/* 📝 BEGINNING OF MODALITIES INTRO SECTION                 */
/* ============================================ */

/* ============================================ */
/* 📝 MODALITIES INTRO SECTION                 */
/* ============================================ */

.modalities-intro-section {
  background: linear-gradient(135deg, var(--bg-color-a) 0%, var(--bg-color-d) 50%, var(--bg-color-b) 100%);
  padding: 80px 8%;
  min-height: auto;
  text-align: center;
}

.modalities-intro-container {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-color-a);
}

.modalities-intro-container h2 {
  font-family: var(--ff-1);
  font-size: 2.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--bg-color-c);
  margin-bottom: 25px;
  line-height: 1.2;
}

.modalities-intro-container p {
  font-family: var(--ff-2);
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-color-a);
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================ */
/* 🎯 ADJUSTMENT HERO SECTION                  */
/* ============================================ */

.adjustment-hero-section {
  background-color: var(--bg-color-b);
  padding: 100px 8%;
  min-height: auto;
}

.adjustment-hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.adjustment-hero-content h2 {
  font-family: var(--ff-1);
  font-size: 2.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--bg-color-c);
  margin-bottom: 15px;
  line-height: 1.2;
}

.adjustment-hero-content h3 {
  font-family: var(--ff-1);
  font-size: 1.5rem;
  font-weight: 600;
  font-style: italic;
  color: var(--text-color-b);
  margin-bottom: 25px;
}

.adjustment-hero-content p {
  font-family: var(--ff-2);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-color-a);
  margin-bottom: 20px;
}

.adjustment-learn-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--bg-color-c), var(--text-color-b));
  color: var(--bg-color-a);
  padding: 15px 40px;
  font-family: var(--ff-1);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  border: 2px solid var(--bg-color-c);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(63, 59, 81, 0.3);
  margin-top: 15px;
}

.adjustment-learn-btn:hover {
  background: linear-gradient(135deg, var(--text-color-a), var(--text-color-b));
  color: var(--bg-color-a);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(63, 59, 81, 0.4);
}

.adjustment-hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.adjustment-hero-image img {
  width: 100%;
  max-width: 550px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* ============================================ */
/* 🧰 MODALITIES SECTION HEADER                */
/* ============================================ */

.modalities-section-header {
  background-color: var(--bg-color-d);
  text-align: center;
  padding: 80px 8% 40px 8%;
}

.modalities-section-header h2 {
  font-family: var(--ff-1);
  font-size: 2.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--bg-color-c);
  margin-bottom: 20px;
}

.modalities-section-header p {
  font-family: var(--ff-2);
  font-size: 1.1rem;
  color: var(--text-color-a);
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================ */
/* 🧰 MODALITIES CARD GRID                     */
/* ============================================ */

#modalities-page {
  background-color: var(--bg-color-d);
  padding: 0 0 80px 0;
}

.cont-grid-modality {
  background: linear-gradient(90deg, var(--bg-color-d) 10%, var(--bg-color-b) 40%);
  height: fit-content;
  width: 100%;
  place-items: center center;
  display: flex;
  flex-direction: column;
  padding: 40px 8%;
  border-radius: 25px; 
}

.grid-container-modality {
  display: grid;
  max-width: 100%;
  grid-gap: 50px;  
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin: 0 auto;
  border-radius: 20px;
}    

.modality-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding-top: 8px; 
  padding-bottom: 5px; 
  border-radius: 20px;
  background-color: var(--bg-color-a);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.18);
  transition: all 0.3s ease;
}

.modality-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.container-modality {
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);  
}

.card-modality img {
  width: 100%;
  display: block;
  border-radius: 20px 20px 0 0;
}  

.card-modality img {
  justify-content: center;
  align-items: center;
  width: 275px;
  height: 275px;
  object-fit: cover; 
  box-shadow: 1rem 1rem 1rem rgba(0, 0, 0, 0.18);
  border-top-right-radius: 5%;
  border-bottom-left-radius: 2%;
  margin-left: 5px; 
  margin-top: 1px;
  margin-bottom: 20px; 
}

.container-modality:after {
  content: '';
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 20px 20px 0 0;  
  opacity: 0.2;
} 

/* Card gradient overlays - updated to match site colors */
.modality-card-1 > .container-modality:after {
  background-image: linear-gradient(135deg, var(--bg-color-d), var(--text-color-b));
}   

.modality-card-2 > .container-modality:after {
  background-image: linear-gradient(135deg, var(--bg-color-d), var(--text-color-b));
}   

.modality-card-3 > .container-modality:after {
  background-image: linear-gradient(135deg, var(--bg-color-d), var(--text-color-b));
} 

.modality-card-4 > .container-modality:after {
  background-image: linear-gradient(135deg, var(--bg-color-c), var(--text-color-c));
}  

.modality-card-5 > .container-modality:after {
  background-image: linear-gradient(135deg, var(--bg-color-c), var(--text-color-c));
}  

.modality-card-6 > .container-modality:after {
  background-image: linear-gradient(135deg, var(--bg-color-c), var(--text-color-c));
} 

/* Button styling */
.button5 {
  background-color: transparent;
  border-radius: 20px;
  border: none;
  width: 100%;
  padding: 10px 15px;
  cursor: pointer;
  transition: all 0.3s ease;
} 

.button5:hover {
  background-color: var(--bg-color-d);
}

.button5 a {
  text-align: center;
  text-decoration: none; 
  display: inline-block;
  cursor: pointer;
}  

.details h3 {
  color: var(--bg-color-c);
  font-family: var(--ff-1);
  font-weight: 800;
  font-size: 1.1rem;
  font-style: italic;
  letter-spacing: 1px;
  margin: 10px 0 15px 0;
  transition: all 0.3s ease;
}

.button5:hover .details h3 {
  color: var(--text-color-a);
}

/* ============================================ */
/* 🔲 MODALITY MODALS                          */
/* ============================================ */

.modality-modal-content {
  background-color: var(--bg-color-a);
  border-radius: 12px;
  border: none;
}

.modality-modal-header {
  background: linear-gradient(135deg, var(--bg-color-c), var(--text-color-b));
  color: var(--bg-color-a);
  padding: 15px 20px;
  border-radius: 12px 12px 0 0;
  border: none;
}

.modality-modal-title {
  font-family: var(--ff-1);
  font-size: 1.2rem;
  font-weight: 700;
  font-style: italic;
  margin: 0;
  line-height: 1.2;
}

.modality-modal-body {
  padding: 30px;
  max-height: 60vh;
  overflow-y: auto;
}

.modality-modal-body::-webkit-scrollbar {
  width: 8px;
}

.modality-modal-body::-webkit-scrollbar-track {
  background: var(--bg-color-d);
  border-radius: 10px;
}

.modality-modal-body::-webkit-scrollbar-thumb {
  background: var(--bg-color-c);
  border-radius: 10px;
}

.modality-modal-body p {
  font-family: var(--ff-2);
  font-size: var(--fs-p);
  line-height: 1.8;
  color: var(--text-color-a);
  margin-bottom: 20px;
}

.modality-modal-body ul {
  font-family: var(--ff-2);
  font-size: var(--fs-p);
  line-height: 1.8;
  color: var(--text-color-a);
  margin-bottom: 20px;
  padding-left: 25px;
}

.modality-modal-body ul li {
  margin-bottom: 8px;
}

.modality-modal-footer {
  border-top: 2px solid var(--bg-color-d);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.modality-blog-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-color-c);
  color: var(--bg-color-a);
  padding: 10px 22px;
  font-family: var(--ff-1);
  font-size: 0.95em;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(63, 59, 81, 0.25);
}

.modality-blog-btn:hover {
  background-color: var(--text-color-a);
  color: var(--bg-color-a);
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(63, 59, 81, 0.35);
}

.modality-modal-close {
  background-color: var(--bg-color-c);
  color: var(--bg-color-a);
  border: none;
  border-radius: 25px;
  padding: 10px 24px;
  font-family: var(--ff-1);
  font-weight: 600;
}

.modality-modal-close:hover {
  background-color: var(--text-color-a);
  color: var(--bg-color-a);
}

/* ============================================ */
/* 📱 MODALITIES PAGE RESPONSIVE SECTION - MOBILE                      */
/* ============================================ */

/* 991px - Tablets/Small Laptops */
@media (max-width: 991px) {
  .modalities-intro-section {
    padding: 60px 5%;
  }
  
  .adjustment-hero-section {
    padding: 80px 5%;
  }
  
  .adjustment-hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .adjustment-hero-content {
    text-align: center;
  }
  
  .adjustment-hero-image img {
    max-width: 450px;
  }

  .cont-grid-modality {
    padding: 30px 5%;
  }
}

/* 768px - Tablets */
@media (max-width: 768px) {
  .modalities-intro-container h2 {
    font-size: 2rem;
  }
  
  .adjustment-hero-content h2 {
    font-size: 2rem;
  }
  
  .adjustment-hero-content h3 {
    font-size: 1.3rem;
  }

  .modalities-section-header h2 {
    font-size: 2rem;
  }

  .modalities-section-header {
    padding: 60px 5% 30px 5%;
  }
}

/* 576px - Mobile */
@media (max-width: 576px) {
  .modalities-intro-section {
    padding: 50px 4%;
  }
  
  .modalities-intro-container h2 {
    font-size: 1.8rem;
  }
  
  .modalities-intro-container p {
    font-size: 1rem;
  }
  
  .adjustment-hero-section {
    padding: 60px 4%;
  }
  
  .adjustment-hero-content h2 {
    font-size: 1.8rem;
  }
  
  .adjustment-hero-content h3 {
    font-size: 1.2rem;
  }
  
  .adjustment-hero-content p {
    font-size: 0.95rem;
  }

  .modalities-section-header {
    padding: 50px 4% 25px 4%;
  }
  
  .modalities-section-header h2 {
    font-size: 1.8rem;
  }

  #modalities-page {
    padding: 0 0 60px 0;
  }

  .cont-grid-modality {
    padding: 25px 4%;
  }

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

  .card-modality img {
    width: 100%;
    max-width: 350px;
    height: auto;
    margin: 0 auto;
  }

  .details h3 {
    font-size: 1rem;
  }
}

/* 480px - Small Mobile */
@media (max-width: 480px) {
  .grid-container-modality {
    grid-gap: 25px;
  }

  .card-modality img {
    max-width: 300px;
  }
}

/* 320px - Very Small Mobile */
@media (max-width: 320px) {
  .modalities-intro-container h2 {
    font-size: 1.5rem;
  }

  .adjustment-hero-content h2 {
    font-size: 1.5rem;
  }

  .modalities-section-header h2 {
    font-size: 1.5rem;
  }

  .card-modality img {
    max-width: 250px;
  }
}

/* ============================================ */
/* 📝END OF MODALITIES SECTION                 */
/* ============================================ */

/* ------ BEGINNING OF F-A-Q PAGE */

/* ❓ F-A-Q Section */

.container-md-faq {
  background: var(--bg-color-c); 
  padding: 0;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.faq-heading h3 {
  text-align: center;
  color: var(--bg-color-a);
  font-family: var(--ff-1);
  font-size: var(--fs-3);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 1px;
  padding-top: 30px; 
  margin-bottom: 30px;
}

.faq-heading h2 {
  text-align: center;
  justify-content: center;
  color: var(--bg-color-a);
  font-family: var(--ff-1);
  font-size: var(--fs-2); 
  font-weight: 600;
  font-style: italic;
  letter-spacing: 1px;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

.faqImg img {
  width: 750px;
  height: 100%;
  margin-left: 40px;
  padding-left: 20px;
}

.accordion-container {
  width: 100%; 
  max-width: 80rem; 
  margin: 0 auto; 
  padding: 0 25px;
}

.accordion {
  background: transparent; 
  padding: 5px;
  justify-content: space-between; 
  padding-top: 20px; 
} 

.accordion-item {
  background-color: var(--bg-color-d); 
  background: transparent;
  border-radius: 25px;
  margin-bottom: 15px;
  padding: 1rem;
  border: 4px solid var(--text-color-b);
}

.btn-accord {
  color: var(--text-color-a); 
  background-color: var(--bg-color-e);
  box-shadow: none !important;   
}

/* 📘 FAQ Accordion — Remove Bootstrap Blue Background */
.accordion-button:not(.collapsed) {
  background-color: var(--bg-color-e) !important;
  color: var(--text-color-a) !important;
  box-shadow: none !important;
}

.accordion-body ul {
  list-style: none; 
} 

.accordion-body ul li {
  font-size: var(--fs-p);
  font-family: var(--ff-2);
  font-weight: 500;
  color: var(--text-color-a); 
  background: var(--bg-color-g); 
  padding: 5px; 
}

/*❓ Frequently Asked Quetions Section Media Queries */

/* 📱 320px Very Small Phones */
@media (max-width: 320px) {
  /* 📘 FAQ Image */
  .faqImg img {
    max-width: 180px;
    margin-left: 0;
    padding-left: 0;
  }

  /* 📘 FAQ Headings */
  .faq-heading h2,
  .faq-heading h3 {
    font-size: 1.4rem;
    text-align: center;
  }
}

/* 📱 480px Small Phones */
@media (max-width: 480px) {
  .faqImg img {
    max-width: 240px;
    margin-left: 0;
    padding-left: 0;
  }

  .faq-heading h2 {
    font-size: 1.8rem;
  }
}

/* 📱 576 px Very Small Phones */
@media (max-width: 576px) {
  .faqImg img {
    max-width: 300px;
    margin-left: 0;
    padding-left: 0;
  }
}

/* 📱 768px Very Small  */
@media (max-width: 768px) {
  .faqImg img {
    max-width: 350px;
    margin-left: 0;
    padding-left: 0;
  }
}

/* 991.98px Very Small Phones */
@media (max-width: 991.98px) {
  .faqImg img {
    max-width: 450px;
    margin-left: 0;
    padding-left: 0;
  }
}




/* END OF ABOUT PAGE */


/* 🏥 BEGINNING OF CONDITIONS TREATED PAGE  */

/* 🩺 Conditions Treated Container */
.conditions-treated {
  width: 100%;
  min-height: 100vh;
  padding: 3rem 0;
  background: linear-gradient(155deg, #EDE6DE 20%, #DBCFC3 60%);
}

/* 🦵 Extremities Section - Alternate Background */
.conditions-extremities {
  background: linear-gradient(155deg, #EDE6DE 20%, #DBCFC3 60%);
}

/* 🚑 Injuries Section - Alternate Background */
.conditions-injuries {
  background: linear-gradient(155deg, #EDE6DE 20%, #DBCFC3 60%);
}

/* 👶 Life Stages Section - Alternate Background */
.conditions-life-stages {
  background: linear-gradient(155deg, #EDE6DE 20%, #DBCFC3 60%);
}

/* 💊 Treatment Conditions Wrapper */
.treatment_conditions {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* 📋 Conditions Treated Content - Headings & Text */
.conditions-treated-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--bg-color-c);
}

.conditions-treated-content h2 {
  font-size: var(--fs-2);
  font-family: var(--ff-1);
  font-weight: 700;
  font-style: italic;
  text-align: center;
  margin-top: 1.5rem;
  line-height: 1;
}

.conditions-treated-content h3 {
  font-size: var(--fs-3);
  font-family: var(--ff-1);
  font-weight: 500;
  font-style: italic;
  text-align: center;
  margin: 1rem 0;
  line-height: 1;
}

.conditions-treated-content p {
  font-size: var(--fs-6);
  font-family: var(--ff-2);
  font-weight: 500;
  font-style: italic;
  line-height: 1.8;
  text-align: center;
  margin: 10px 6rem 10px 6rem;
}

/* 🏷️ Section Title (Spinal Health / Extremities / Injuries) */
.conditions-treated-content h1 {
  font-size: var(--fs-1);
  font-family: var(--ff-1);
  font-weight: 800;
  font-style: italic;
  text-align: center;
  margin: 3rem;
  line-height: 1;
}

/* ============================================================ */
/* 🔲 CONDITION CARD - THE OVERLAPPING LAYOUT                    */
/* ============================================================ */

/* 🔲 Condition Info Box (the card background) */
.conditions_info-box {
  position: relative;
  border: 4px solid var(--bg-color-f);
  border-top-left-radius: 160px;
  border-top-right-radius: 160px;
  min-height: 520px;             /* ⭐ Smaller card - was 600px */
  overflow: visible;              /* ⭐ lets the image escape the box */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;      /* ⭐ pushes text + button to bottom */
  padding: 25px 20px 30px 25px;  /* ⭐ tighter padding so text has room */
  background-color: var(--bg-color-c);
  margin-right: 25px;            /* ⭐ Less margin = more room for image */
  z-index: 1;
}

/* 🖼️ Condition Info Image (overlaps outside the card) */
.conditions_info-img {
  position: absolute;
  right: -80px;                  /* ⭐ Sticks out more horizontally */
  top: 50%;
  transform: translateY(-50%);   /* ⭐ centers vertically */
  width: 90%;                    /* ⭐ MUCH WIDER - was 65% */
  height: 520px;                 /* ⭐ Same height as card */
  z-index: 2;                     /* ⭐ sits above the card */
  pointer-events: none;           /* ⭐ mouse clicks pass through */
  border-top-left-radius: 160px;
  border-top-right-radius: 160px;
  background: transparent;
  border: 4px solid var(--bg-color-f);
  object-fit: cover;
}

/* 📝 Condition Title & Text (stays left, below the image) */
.conditions_info-title,
.conditions_info-text {
  position: relative;
  z-index: 5;
  max-width: 80%;                 /* ⭐ wider now that card padding is tighter */
  color: var(--bg-color-a);
  word-wrap: break-word;
  white-space: normal;
}

.conditions_info-title {
  font-family: var(--ff-1);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.conditions_info-text {
  font-family: var(--ff-2);
  font-size: var(--fs-p);
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.5;
}

/* 🔘 Learn More Button */
.conditions-btn {
  position: relative;
  background-color: transparent;
  color: var(--bg-color-a);
  border: 2px solid var(--bg-color-a);
  padding: 8px 20px;              /* ⭐ reduced from 12px 35px - tighter button */
  font-family: var(--ff-1);
  font-size: 0.9em;               /* ⭐ slightly smaller text */
  font-weight: 600;
  border-radius: 30px;
  margin-top: 15px;               /* ⭐ reduced from 25px */
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(63, 59, 81, 0.3);
  z-index: 10;                    /* ⭐ button stays clickable above image */
  align-self: flex-start;         /* ⭐ button stays left aligned */
  white-space: nowrap;            /* ⭐ keeps "Learn More" on one line */
}

.conditions-btn:hover {
  background-color: var(--bg-color-a);
  color: var(--bg-color-c);
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(63, 59, 81, 0.4);
}

/* ============================================================ */
/* 🔲 CONDITION MODALS                                           */
/* ============================================================ */

/* 🔲 Modal Background Overlay */
/* .condition-modal .modal-content {
  background-color: var(--bg-color-a);
  border-radius: 15px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
} */

.condition-modal-content {
  background-color: var(--bg-color-a);
  border-radius: 12px;       /* ✅ Match other modals */
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

/* 🔲 Modal Header */
/* .condition-modal-header {
  border-bottom: 2px solid var(--bg-color-d);
  padding: 20px 25px;
} */

.condition-modal-header {
  background: linear-gradient(135deg, var(--bg-color-c), var(--text-color-b));
  color: var(--bg-color-a);
  padding: 15px 20px;        /* ✅ Reduced padding */
  border-radius: 12px 12px 0 0;
  border: none;              /* ✅ Remove bottom border */
}

/* 🔲 Modal Title */
/* .condition-modal-title {
  font-family: var(--ff-1);
  font-size: var(--fs-2);
  font-weight: 700;
  font-style: italic;
  color: var(--bg-color-c);
  margin-bottom: 0;
} */

.condition-modal-title {
  font-family: var(--ff-1);
  font-size: 1.2rem;         /* ✅ Smaller text */
  font-weight: 700;
  font-style: italic;
  color: var(--bg-color-a);  /* ✅ White text on gradient */
  margin: 0;
  line-height: 1.2;          /* ✅ Tighter line height */
}


/* 🔲 Modal Body */
.condition-modal-body {
  padding: 25px;
  font-family: var(--ff-2);
  font-size: var(--fs-p);
  color: var(--text-color-a);
  line-height: 1.8;
}

/* 🔲 Modal Footer */
/* .condition-modal-footer {
  border-top: 2px solid var(--bg-color-d);
  padding: 15px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;  /* ⭐ Blog button left, Close button right */
} */

.condition-modal-footer {
  border-top: 2px solid var(--bg-color-d);
  padding: 15px 20px;        /* ✅ Consistent padding */
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* 📝 Modal Blog Button */
.conditions-blog-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-color-c);
  color: var(--bg-color-a);
  padding: 10px 22px;
  font-family: var(--ff-1);
  font-size: 0.95em;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(63, 59, 81, 0.25);
}

.conditions-blog-btn i {
  font-size: 0.9em;
}

.conditions-blog-btn:hover {
  background-color: var(--text-color-a);
  color: var(--bg-color-a);
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(63, 59, 81, 0.35);
}

/* ============================================================ */
/* 📱 CONDITIONS TREATED - MEDIA QUERIES                         */
/* ============================================================ */

/* 📱 320px Very Small Phones - 1 column stacked */
@media (max-width: 320px) {

  /* ⭐ Scroll offset for very small screens */
  .conditions-treated,
  .conditions-extremities,
  .conditions-injuries,
  .treatment_conditions .col-12,
  .treatment_conditions .col-sm-6,
  .treatment_conditions .col-md-6,
  .treatment_conditions .col-lg-3 {
    scroll-margin-top: 180px;
  }

  .conditions-treated-content h1 {
    font-size: 1.4rem;            /* ⭐ fits on one line at 320px */
    white-space: nowrap;
    margin: 1.5rem 0.5rem;
  }

  .conditions-treated-content h2 {
    font-size: 1.3rem;
  }

  .conditions-treated-content h3 {
    font-size: 1rem;
  }

  .conditions-treated-content p {
    font-size: 0.85rem;
    margin: 8px 0.8rem;
  }

  /* Card shrinks, image tucks in closer */
  .conditions_info-box {
    min-height: 380px;
    margin-right: 30px;           /* ⭐ less space needed on tiny screens */
    padding: 20px;
  }

  .conditions_info-img {
    right: -40px;
    height: 380px;
    width: 80%;
  }

  .conditions_info-title {
    font-size: 1rem;
  }

  .conditions-btn {
    padding: 8px 20px;
    font-size: 0.85em;
  }
}

/* 📱 480px Small Phones - 1 column stacked */
@media (max-width: 480px) {

  /* ⭐ Scroll offset for small phones */
  .conditions-treated,
  .conditions-extremities,
  .conditions-injuries,
  .treatment_conditions .col-12,
  .treatment_conditions .col-sm-6,
  .treatment_conditions .col-md-6,
  .treatment_conditions .col-lg-3 {
    scroll-margin-top: 190px;
  }

  .conditions-treated-content h1 {
    font-size: 1.6rem;
    margin: 1.8rem 0.8rem;
  }

  .conditions-treated-content h2 {
    font-size: 1.5rem;
  }

  .conditions-treated-content h3 {
    font-size: 1.1rem;
  }

  .conditions-treated-content p {
    font-size: 0.9rem;
    margin: 8px 1rem;
  }

  .conditions_info-box {
    min-height: 420px;
    margin-right: 40px;
    padding: 25px;
  }

  .conditions_info-img {
    right: -50px;
    height: 420px;
    width: 85%;
  }

  .conditions-btn {
    padding: 10px 25px;
    font-size: 0.9em;
  }
}

/* 📱 576px Medium Phones - 1 column stacked */
@media (max-width: 576px) {

  /* ⭐ Scroll offset for medium phones */
  .conditions-treated,
  .conditions-extremities,
  .conditions-injuries,
  .treatment_conditions .col-12,
  .treatment_conditions .col-sm-6,
  .treatment_conditions .col-md-6,
  .treatment_conditions .col-lg-3 {
    scroll-margin-top: 200px;
  }

  .conditions-treated-content h1 {
    font-size: 1.8rem;
    margin: 2rem 1rem;
  }

  .conditions-treated-content h2 {
    font-size: 1.6rem;
  }

  .conditions-treated-content h3 {
    font-size: 1.2rem;
  }

  .conditions-treated-content p {
    font-size: 0.95rem;
    margin: 10px 1.5rem;
  }

  .conditions_info-box {
    min-height: 460px;
    margin-right: 45px;
    padding: 30px;
  }

  .conditions_info-img {
    right: -60px;
    height: 460px;
    width: 90%;
  }
}

/* 📲 768px Tablets - 2 COLUMNS */
@media (min-width: 577px) and (max-width: 768px) {

  /* ⭐ Scroll offset for tablets */
  .conditions-treated,
  .conditions-extremities,
  .conditions-injuries,
  .treatment_conditions .col-12,
  .treatment_conditions .col-sm-6,
  .treatment_conditions .col-md-6,
  .treatment_conditions .col-lg-3 {
    scroll-margin-top: 220px;
  }

  .conditions-treated-content h1 {
    font-size: 2rem;
    margin: 2rem 1.5rem;
  }

  .conditions-treated-content h2 {
    font-size: 1.8rem;
  }

  .conditions-treated-content h3 {
    font-size: 1.3rem;
  }

  .conditions-treated-content p {
    font-size: 1rem;
    margin: 10px 2rem;
  }

  /* ⭐ 2 columns so cards are wider — image WIDER not taller */
  .conditions_info-box {
    min-height: 440px;           /* ⭐ Smaller card */
    margin-right: 30px;
    padding: 25px 20px 30px 25px;
  }

  .conditions_info-img {
    right: -70px;                /* ⭐ More horizontal overlap */
    height: 440px;               /* ⭐ Same as card height */
    width: 85%;                  /* ⭐ WIDER image */
  }

  .conditions_info-title {
    font-size: 1.2rem;
  }
}

/* 💻 991px Small Laptops - 2 COLUMNS */
@media (min-width: 769px) and (max-width: 991px) {

  /* ⭐ Scroll offset for small laptops */
  .conditions-treated,
  .conditions-extremities,
  .conditions-injuries,
  .treatment_conditions .col-12,
  .treatment_conditions .col-sm-6,
  .treatment_conditions .col-md-6,
  .treatment_conditions .col-lg-3 {
    scroll-margin-top: 250px;
  }

  .conditions-treated-content h1 {
    font-size: 2.2rem;
    margin: 2.5rem 2rem;
  }

  .conditions-treated-content h2 {
    font-size: 2rem;
  }

  .conditions-treated-content h3 {
    font-size: 1.4rem;
  }

  .conditions-treated-content p {
    font-size: 1rem;
    margin: 10px 3rem;
  }

  /* ⭐ 2 columns: cards smaller, image WIDER */
  .conditions_info-box {
    min-height: 480px;           /* ⭐ Smaller card */
    margin-right: 30px;
    padding: 28px 22px 32px 28px;
  }

  .conditions_info-img {
    right: -75px;                /* ⭐ More horizontal overlap */
    height: 480px;               /* ⭐ Same as card height */
    width: 88%;                  /* ⭐ WIDER image */
  }
}

/* 💻 1200px+ Large Screens - 4 COLUMNS (default) */
@media (min-width: 992px) {

  .conditions_info-box {
    min-height: 520px;           /* ⭐ Smaller card */
    margin-right: 25px;
    padding: 25px 20px 30px 25px;
  }

  .conditions_info-img {
    right: -80px;                /* ⭐ Sticks out more horizontally */
    height: 520px;               /* ⭐ Same as card height */
    width: 90%;                  /* ⭐ WIDER image */
  }
}

 /* 🏥 END of CONDITIONS TREATED PAGE */


/* ⭐ Your First Visit Page */
/* ============================================ */
/* 📝 FIRST VISIT QUOTE SECTION                */
/* ============================================ */

.first-visit-quote-section {
  background: linear-gradient(135deg, var(--bg-color-a) 0%, var(--bg-color-d) 50%, var(--bg-color-b) 100%);
  padding: 80px 8%;
  min-height: auto;
  text-align: center;
}

.first-visit-quote-container {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-color-a);
}

.first-visit-quote-container h2 {
  font-family: var(--ff-1);
  font-size: 2.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--bg-color-c);
  margin-bottom: 40px;
  line-height: 1.2;
}

.quote-text {
  margin-bottom: 30px;
}

.quote-text p {
  font-family: var(--ff-1);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-color-b);
  line-height: 1.8;
  margin-bottom: 10px;
}

.quote-text p em {
  font-size: 1.15rem;
}

.quote-text span {
  display: block;
  font-weight: 600;
  color: var(--text-color-c);
  margin-top: 10px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .first-visit-quote-section {
    padding: 60px 5%;
  }
  
  .first-visit-quote-container h2 {
    font-size: 2rem;
  }
  
  .quote-text p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .first-visit-quote-container h2 {
    font-size: 1.8rem;
  }
  
  .quote-text p {
    font-size: 0.95rem;
  }
}

/* ============================================================ */
/* 📚 ALL YOU NEED TO KNOW SECTION - CLEAN CSS                  */
/* ============================================================ */

/* 📦 Main Container */
/* .all-you-need-know-section {
  background: var(--bg-color-d); 
  padding: 100px 8% 150px 8%;
  margin-top: 0;
  margin-bottom: 0;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}  */

/* Main section padding - REDUCE */
.all-you-need-know-section {
  background: var(--bg-color-d); 
  padding: 60px 8% 80px 8%;      /* ✅ Reduced from 100px/150px */
  margin-top: 0;
  margin-bottom: 0;
  width: 100%;
  min-height: auto;              /* ✅ Changed from 100vh */
  overflow: hidden;
}


/* ============================================================ */
/* 🖼️ INTRO SECTION - X-RAY IMAGE + TEXT                       */
/* ============================================================ */

/* .first-visit-container {
  position: relative; 
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;   
  min-height: 900px;
  margin-top: 150px;
  margin-bottom: 150px;
} */

/* Container margins - REDUCE */
.first-visit-container {
  position: relative; 
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;   
  min-height: 900px;
  margin-top: 80px;              /* ✅ Reduced from 150px */
  margin-bottom: 80px;           /* ✅ Reduced from 150px */
}


.all-you-need-box {
  position: relative; 
  display: flex;
  flex-direction: row;
  justify-items: center;
  align-items: center;
  width: 100%;
  height: 100%;
  margin: 5rem auto; 
  padding: 1rem auto;
}  

/* 🖼️ X-ray Image - SPINS ON LOAD (DESKTOP) */
.all-you-need-image {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1000px;        /* ✅ Much bigger - can adjust this */
  height: auto;
  left: 50%;
  top: 50%; 
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  animation: imageSpin 5s ease-in-out 0.5s 1 forwards;
} 

@keyframes imageSpin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.all-you-need-image img {
  position: relative;
  background: var(--bg-color-d);
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 40px;
  z-index: 1000; 
}  

/* REPLACE WITH THIS - ADJUSTABLE POSITIONING: */
.all-you-need-text {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
  /* ✅ ADJUST THESE VALUES TO POSITION ON THE X-RAY SCREEN: */
  width: 65%;              /* Width of the text box */
  max-width: 500px;        /* Max width */
  left: 60%;             /* Move left/right (try 55%, 60%, 65%) */
   
                 /* Move up/down (try 30%, 35%, 40%) */
  padding: 30px;
  z-index: 1000; 
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: textFadeIn 1s ease-in-out 4.5s 1 forwards;
}

@keyframes textFadeIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(20px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0);
  }
}

.all-you-need-text h2 {
  position: relative;
  font-size: var(--fs-2);
  font-family: var(--ff-1);
  font-weight: 700;
  font-style: italic;
  word-spacing: 3px;
  text-align: center;
  margin-top: 2px;
  margin-bottom: 10px;
  padding: 0;
  line-height: 1.2;
  z-index: 2000;
} 

.all-you-need-text p {
  font-size: var(--fs-6);
  font-family: var(--ff-2);
  font-weight: 500;
  font-style: italic;
  line-height: 1.6;
  text-align: center;
  margin: 0;
} 

.all-you-know-quote {
  position: relative;
  font-size: var(--fs-4);
  font-family: var(--ff-1);
  font-weight: 600;
  font-style: italic;
  word-spacing: 3px;
  letter-spacing: 1px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: -130px;
  padding: 30px;
  line-height: 2;
  z-index: 1000;
}


/* ============================================================ */
/* 🕐 TIMELINE SECTION - The 4 Steps                            */
/* ============================================================ */

.visit-timeline-container {
  max-width: 1000px;
  margin: 0 auto;
  /* padding: 0px 20px 80px; */
  position: relative;
  padding: 60px 20px 80px;
}

/* .visit-timeline-heading {
  font-family: var(--ff-1);
  font-size: var(--fs-1);
  font-weight: 700;
  font-style: italic;
  color: var(--bg-color-c);
  text-align: center;
  word-spacing: 3px;
  letter-spacing: 1px;
  margin-bottom: 80px;
  margin-top: 150px;  
} */

/* Timeline heading - REDUCE TOP MARGIN */
.visit-timeline-heading {
  font-family: var(--ff-1);
  font-size: var(--fs-1);
  font-weight: 700;
  font-style: italic;
  color: var(--bg-color-c);
  text-align: center;
  word-spacing: 3px;
  letter-spacing: 1px;
  margin-bottom: 80px;
  margin-top: 60px;              /* ✅ Reduced from 150px */
}

.visit-timeline-content {
  position: relative;
}

/* Vertical connecting line */
.visit-timeline-content::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 60px;
  bottom: 60px;
  width: 4px;
  background: linear-gradient(
    to bottom, 
    var(--bg-color-c) 0%, 
    var(--bg-color-f) 50%,
    var(--bg-color-c) 100%
  );
  border-radius: 2px;
  z-index: 0;
}

/* Timeline Item - Alternating Left/Right */
/* .visit-timeline-item {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 30px;
  margin-bottom: 80px;
  position: relative;
  scroll-margin-top: 280px;
} */

/* Timeline items - REDUCE BOTTOM MARGIN */
.visit-timeline-item {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 30px;
  margin-bottom: 60px;           /* ✅ Reduced from 80px */
  position: relative;
  scroll-margin-top: 280px;
}

/* Regular items (odd) - content on LEFT */
.visit-timeline-item .visit-timeline-box {
  grid-column: 1;
  justify-self: end;
}

.visit-timeline-item .visit-timeline-marker {
  grid-column: 2;
}

/* Reversed items (even) - content on RIGHT */
.visit-timeline-item-reverse .visit-timeline-box {
  grid-column: 3;
  justify-self: start;
}

.visit-timeline-item-reverse .visit-timeline-marker {
  grid-column: 2;
}

/* Step Number Circle */
.visit-timeline-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.visit-timeline-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--bg-color-c), var(--text-color-b));
  color: var(--bg-color-a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-1);
  font-size: 2rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(63, 59, 81, 0.3);
  border: 5px solid var(--bg-color-d);
  transition: all 0.3s ease;
}

.visit-timeline-item:hover .visit-timeline-number {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(63, 59, 81, 0.4);
}

/* Content Box with Background Image */
.visit-timeline-box {
  position: relative;
  background-color: var(--bg-color-a);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px;
  border-radius: 40px; 
  max-width: 400px;
  min-height: 300px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  border-left: 5px solid var(--bg-color-c);
  transition: all 0.4s ease;
  overflow: hidden;
}

/* Blurred background image with darker overlay for readability */
.visit-timeline-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);  
  backdrop-filter: blur(1px);    /* ⭐ Adds blur to background image */
  -webkit-backdrop-filter: blur(1px);
  border-radius: 40px;
  z-index: 1;
}

/* Content sits above the overlay */
.visit-timeline-box h3,
.visit-timeline-box p,
.visit-timeline-box button {
  position: relative;
  z-index: 2;
}

.visit-timeline-item-reverse .visit-timeline-box {
  border-left: none;
  border-right: 5px solid var(--bg-color-c);
}

.visit-timeline-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Background Images for Each Step */
.visit-step-consultation {
  background-image: url('../image/consult.jpg');
}

.visit-step-assessment {
  background-image: url('../image/assess.jpg');
}

.visit-step-adjustment {
  background-image: url('../image/adjust.jpg');
}

.visit-step-homecare {
  background-image: url('../image/care.jpg');
}

.visit-step-followup {
  background-image: url('../image/followup.jpg');
}

/* Heading */
.visit-timeline-box h3 {
  font-family: var(--ff-1);
  font-size: var(--fs-3);
  font-weight: 700;
  font-style: italic;
  color: var(--bg-color-c);
  margin-bottom: 15px;
  color: var(--bg-color-a);
}

/* Paragraph */
.visit-timeline-box p {
  font-family: var(--ff-2);
  font-size: var(--fs-p);
  line-height: 1.8;
  color: var(--text-color-a);
  margin-bottom: 25px;
  color: var(--bg-color-a);
}

/* Button */
.visit-timeline-btn {
  display: inline-block;
  background-color: var(--bg-color-a);
  color: var(--bg-color-c);
  padding: 12px 30px;
  font-family: var(--ff-1);
  font-size: 1em;
  font-weight: 600;
  border-radius: 30px;
  border: 2px solid var(--bg-color-c);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(63, 59, 81, 0.3);
}

.visit-timeline-btn:hover {
  background-color: var(--text-color-c);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(63, 59, 81, 0.3);
  border: 1px solid var(--bg-color-a);
  color: var(--bg-color-a);
}

/* ============================================================ */
/* 🔲 MODAL STYLES                                              */
/* ============================================================ */

.visit-modal-content {
  background-color: var(--bg-color-a);
  border-radius: 20px;
  border: none;
}

.visit-modal-header {
  background: linear-gradient(135deg, var(--bg-color-c), var(--text-color-b));
  color: var(--bg-color-a);
  padding: 15px 20px;        /* ✅ Reduced from 30px */
  border-radius: 12px 12px 0 0;  /* ✅ Smaller radius */
  border: none;
}

.visit-modal-title {
  font-family: var(--ff-1);
  font-size: 1.2rem;         /* ✅ Smaller title */
  font-weight: 700;
  font-style: italic;
  margin: 0;
  line-height: 1.2;          /* ✅ Tighter line spacing */
}

.visit-modal-body {
  padding: 30px;
  max-height: 60vh;
  overflow-y: auto;
}

.visit-modal-body::-webkit-scrollbar {
  width: 8px;
}

.visit-modal-body::-webkit-scrollbar-track {
  background: var(--bg-color-d);
  border-radius: 10px;
}

.visit-modal-body::-webkit-scrollbar-thumb {
  background: var(--bg-color-c);
  border-radius: 10px;
}

.visit-modal-body p {
  font-family: var(--ff-2);
  font-size: var(--fs-p);
  line-height: 1.8;
  color: var(--text-color-a);
  margin-bottom: 20px;
}

.visit-modal-body ul {
  font-family: var(--ff-2);
  font-size: var(--fs-p);
  line-height: 1.8;
  color: var(--text-color-a);
  margin-bottom: 20px;
  padding-left: 25px;
}

.visit-modal-body ul li {
  margin-bottom: 8px;
}

.visit-modal-cta-text {
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 30px;
  text-align: center;
  text-transform: capitalize;
}

/* ADD THIS to your First Visit CSS: */

.visit-modal-footer {
  border-top: 2px solid var(--bg-color-d);
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;  /* ✅ Button on left, Close on right */
  align-items: center;
  gap: 12px;
}

.visit-blog-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-color-c);
  color: var(--bg-color-a);
  padding: 10px 22px;
  font-family: var(--ff-1);
  font-size: 0.95em;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(63, 59, 81, 0.25);
}

.visit-blog-btn:hover {
  background-color: var(--text-color-a);
  color: var(--bg-color-a);
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(63, 59, 81, 0.35);
}

.visit-modal-close {
  background-color: var(--bg-color-c);
  color: var(--bg-color-a);
  border: none;
  border-radius: 25px;
  padding: 10px 24px;
  font-family: var(--ff-1);
  font-weight: 600;
}

.visit-modal-close:hover {
  background-color: var(--text-color-a);
  color: var(--bg-color-a);
}

.visit-cta-link {
  display: inline-block;
  background-color: var(--bg-color-c);
  color: var(--bg-color-a);
  padding: 10px 24px;
  font-family: var(--ff-1);
  font-weight: 600;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.visit-cta-link:hover {
  background-color: var(--text-color-a);
  color: var(--bg-color-a);
  transform: translateY(-2px);
}

.visit-modal-close {
  background-color: var(--bg-color-c);
  color: var(--bg-color-a);
  border: none;
  border-radius: 25px;
  padding: 10px 24px;
  font-family: var(--ff-1);
  font-weight: 600;
}

.visit-modal-close:hover {
  background-color: var(--text-color-a);
  color: var(--bg-color-a);
}


/* ============================================================ */
/* 📱 YOUR FIRST VISIT RESPONSIVE MEDIA QUERIES - MOBILE (DIFFERENT LAYOUT)                   */
/* ============================================================ */

/* 991px - Small Laptops */
@media (max-width: 991px) {
  .first-visit-container {
   min-height: auto;
    margin-top: -180px;
    margin-bottom: -200px;
    padding: -280px 0;
  }

  .all-you-need-image {
    max-width: 800px;
  }

  .all-you-need-text {
    width: 60%;
    max-width: 450px;
    padding: 20px;
  }

  .all-you-need-text h2 {
    font-size: 1.2rem;
  }

  .all-you-need-text p {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .first-visit-container {
    min-height: 600px; 
    /* margin-top: 100px;
    margin-bottom: 100px; */
    margin-top: -60px;         /* ✅ More / Less top margin */
    margin-bottom: -20px;      /* ✅ More / Less bottom margin */
    padding: 40px 0;      
  }

  .all-you-need-image {
    width: 100%;
    max-width: 1350px;
  }

  .all-you-need-text {
    width: 58%;
    max-width: 500px;
    margin-top: 50px;
  }

  .all-you-need-text h2 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    line-height: 1;
  }

  .all-you-need-text p {
    font-size: 0.8rem;
  }

  .all-you-know-quote {
    font-size: 1rem;
    margin-top: -10px;         /* ✅ Space above quote */
    margin-bottom: -60px;
    padding: 15px 10px;
  }
}

/* 576px - Mobile */
@media(max-width: 576px) {
  .first-visit-container {
    margin-top: 60px;
    margin-bottom: 60px;
    max-width: 1000px;
  }

  .all-you-need-image {
    width: 100%;
    max-width: 1100px;
  }

  .all-you-need-image img {
    padding: 0px;
  }

  .all-you-need-text {
    width: 70%;
    max-width: 565px;
    padding-top: 30px;
  }

  .all-you-need-text h2 {
    font-size: 1rem;
    line-height: 1;
  }

  .all-you-need-text p {
    font-size: 0.75rem;
    line-height: 1.25;
    padding-left: 12px;
    padding-right: 2px;
  }

  /* .all-you-know-quote {
    font-size: 1rem;
  } */

  .first-visit-container {
    min-height: auto;
    margin-top: 60px;         /* ✅ More top margin */
    margin-bottom: 60px;      /* ✅ More bottom margin */
    padding: 40px 0;          /* ✅ Add padding */
  }

  .all-you-know-quote {
    font-size: 1rem;
    margin-top: -10px;         /* ✅ Space above quote */
    margin-bottom: -60px;
    padding: 15px 10px;
  }
}

/* 480px - Small Mobile */
@media (max-width: 480px) {
  .all-you-need-know-section {
    padding: 100px 2% 150px 2%;
  } 

  .all-you-need-image {
    width: 100%;
    max-width: 1370px;
  }

  .all-you-need-image img {
    padding: 0px;
  }

  .all-you-need-text {
    width: 100%;
    max-width: 375px;
    padding: 12px 50px 18px 56px;
  }

  .all-you-need-text h2 {
    font-size: 10px;
    line-height: normal;
  }

  .all-you-need-text p {
    font-size: 8px;
    line-height: normal;
    text-align: justify;
  }

  .first-visit-container {
    min-height: auto;
    margin-top: 60px;         /* ✅ More top margin */
    margin-bottom: 60px;      /* ✅ More bottom margin */
    padding: 40px 0;          /* ✅ Add padding */
  }

  .all-you-know-quote {
    font-size: 0.9rem;
    margin-top: -10px;         /* ✅ Space above quote */
    margin-bottom: -60px;
    padding: 15px 10px;
  }
}

/* 320px - Very Small Mobile - HIDE IMAGE */
@media (max-width: 320px) {
  .all-you-need-image {
    display: none;
  }

  .all-you-need-box {
    margin: 3rem auto;        /* ✅ More top margin */
    padding: 2rem 1rem;       /* ✅ More padding */
  }

  .all-you-need-text {
    padding: 40px 60px 0px 0px;       /* ✅ More padding */
    margin-top: 40px;         /* ✅ Push text down from top */
  }

  .all-you-need-text h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;      /* ✅ More space below heading */
  }

  .all-you-need-text p {
    font-size: 0.75rem;
    line-height: 1.5;         /* ✅ More line height */
    margin-bottom: 15px;      /* ✅ Space below paragraph */
  }

  .first-visit-container {
    min-height: auto;
    margin-top: 60px;         /* ✅ More top margin */
    margin-bottom: 60px;      /* ✅ More bottom margin */
    padding: 40px 0;          /* ✅ Add padding */
  }

  .all-you-know-quote {
    font-size: 0.9rem;
    margin-top: -30px;         /* ✅ Space above quote */
    margin-bottom: -60px;
    padding: 15px 10px;
  }
}

/* 576px - Mobile - STACK TIMELINE */
@media (max-width: 576px) {
  /* Timeline becomes single column */
  .visit-timeline-content::before {
    left: 30px;              /* ✅ Move line to left side */
  }

  .visit-timeline-item,
  .visit-timeline-item-reverse {
    grid-template-columns: 60px 1fr;   /* ✅ Number + content only */
    gap: 20px;
    margin-bottom: 60px;
  }

  /* All boxes on the right (not alternating) */
  .visit-timeline-item .visit-timeline-box,
  .visit-timeline-item-reverse .visit-timeline-box {
    grid-column: 2;
    justify-self: start;
    max-width: 100%;
  }

  .visit-timeline-item .visit-timeline-marker,
  .visit-timeline-item-reverse .visit-timeline-marker {
    grid-column: 1;
  }

  /* Remove border switching */
  .visit-timeline-item-reverse .visit-timeline-box {
    border-right: none;
    border-left: 5px solid var(--bg-color-c);
  }

  .visit-timeline-number {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .visit-timeline-box {
    padding: 25px;
    min-height: 250px;
  }

  .visit-timeline-box h3 {
    font-size: var(--msp-3);
  }

  .visit-timeline-box p {
    font-size: var(--msp-5);
  }

  .visit-timeline-btn {
    padding: 10px 24px;
    font-size: 0.95em;
  }
}

/* 480px - Small Mobile */
@media (max-width: 480px) {
  .visit-timeline-content::before {
    left: 25px;
  }

  .visit-timeline-item,
  .visit-timeline-item-reverse {
    grid-template-columns: 50px 1fr;
    gap: 15px;
    margin-bottom: 50px;
  }

  .visit-timeline-number {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .visit-timeline-box {
    padding: 20px;
    min-height: 220px;
  }

  .visit-timeline-box h3 {
    font-size: var(--sp-3);
  }

  .visit-timeline-box p {
    font-size: var(--sp-5);
  }
}

/* 320px - Very Small Mobile */
@media (max-width: 320px) {
  .visit-timeline-content::before {
    left: 20px;
  }

  .visit-timeline-item,
  .visit-timeline-item-reverse {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    margin-bottom: 40px;
  }

  .visit-timeline-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    border: 3px solid var(--bg-color-d);
  }

  .visit-timeline-box {
    padding: 18px;
    min-height: 200px;
  }

  .visit-timeline-box h3 {
    font-size: var(--vss-3);
  }

  .visit-timeline-box p {
    font-size: var(--vss-5);
  }

  .visit-timeline-btn {
    padding: 8px 20px;
    font-size: 0.85em;
  }
}


/* ⭐ END OF Your First Visit Section */


/* ------- BEGINNING OF CONTACT PAGE  */

/* 📬 Contact + Clinico Section */

.contact-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding-top: 15px;
}

.contactUs {
  box-sizing: border-box;
  font-family: var(--ff-1);
  position: relative;
  width: 100%;
  padding: 40px 100px;
}

.contact-con {
  background: linear-gradient(90deg, #3F3B51 40%, hsla(30, 31%, 78%, 1) 40%);
}

.contactUs .title {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contactUs .title h2 {
  color: var(--text-color-a);
  font-family: var(--ff-1);
  font-size: 40px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 2px;
  margin-bottom: 34px;
  padding-top: 30px;
}

/* 📝 Contact form box */

.contact {
  padding: 40px;
  background: var(--bg-color-a);
  box-shadow: 0 5px 35px rgba(0,0,0,0.15);
  min-height: 500px;
}

.contact h3 {
  text-align: center;
  color: var(--text-color-a);
  font-family: var(--ff-1);
  font-size: var(--fs-3);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 2px;
  margin-bottom: 30px;
}

.contactFormBox {
  width: 100%;
}

.contactFormBox .row50 {
  display: flex;
  gap: 20px;
}

.contact-inputBox {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  width: 50%;
}

.contactFormBox .row100 .contact-inputBox {
  width: 100%;
}

.contact-inputBox span {
  color: var(--text-color-a);
  font-weight: 500;
  margin-top: 10px;
  margin-bottom: 5px;
}

.contact-inputBox input,
.contact-inputBox textarea {
  padding: 10px;
  font-size: 1.1em;
  font-weight: 500;
  outline: none;
  border: 1px solid #333;
}

.contact-inputBox textarea {
  resize: none;
  min-height: 250px;
  margin-bottom: 10px;
}

.contact-inputBox input[type="submit"] {
  background: var(--text-color-a);
  color: var(--bg-color-a);
  border: none;
  font-size: 1.1em;
  font-weight: 500;
  letter-spacing: 1px;
  max-width: 120px;
  cursor: pointer;
  padding: 14px 15px;
}

.contact-inputBox ::placeholder {
  color: #999999;
}

/* ℹ️ Contact info + map */

.info {
  background: var(--bg-color-c);
  min-height: 120px;
}

.info h3 {
  color: var(--bg-color-a);
}

.info .infoBoxContact div {
  display: flex;
  align-items: center;
}

.info .infoBoxContact div span {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 40px;
  height: 40px;
  color: var(--bg-color-a);
  font-size: 1.5em;
  margin-right: 15px;
  border-radius: 50%;
}

.info .infoBoxContact div p,
.info .infoBoxContact div a {
  color: var(--bg-color-a);
  font-size: 1.1em;
  text-decoration: none;
}

/* 🗺️ Map Section */

.map {
  padding: 14px;
  background: var(--bg-color-c);
  margin-top: 30px;
  min-height: 200px;
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 250px;
}

/* 🩺 CLINICO SECTION */

.clinico-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding-top: 10px;
}

.clinico-con {
  background: linear-gradient(90deg, #3F3B51 40%, hsla(30, 31%, 78%, 1) 40%);
}

.title2 h2 {
  color: var(--bg-color-g);
  font-family: var(--ff-1);
  font-size: 40px;
  font-weight: 700;
  font-style: italic;
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 35px;
  margin-top: 10px;
  padding-bottom: 35px;
  margin-left: -40px;
}

/* 📅 Clinico Left Column (Booking) */

.clinico {
  padding: 40px;
}

.bookings {
  padding: 20px;
  background: var(--bg-color-a);
  box-shadow: 0 5px 35px rgba(0,0,0,0.15);
}

.bookings h3 {
  text-align: center;
  color: var(--text-color-a);
  font-family: var(--ff-1);
  font-size: var(--fs-3);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 2px;
  margin-bottom: 15px;
  margin-top: 10px;
}

.appointClinico iframe {
  width: 100%;
  height: 100%;
  min-height: 650px; 
  margin-bottom: 30px;
}

/* 🖼️ CLINICO IMAGES */

.imageBox,
.imageBox2 {
  width: 100%;
  padding-bottom: 30px;
}

.imageBox {
  background: var(--bg-color-c);
  margin-top: -15px;
  margin-bottom: 40px;
}

.imageBox2 {
  background: var(--bg-color-a);
  margin-top: 30px;
  margin-bottom: 30px;
}

.greet-image h3,
.fun-image h3 {
  text-align: center;
  color: var(--bg-color-a);
  font-family: var(--ff-1);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  margin: 15px;
  padding-top: 25px;
}

.fun-image h3 {
  color: var(--bg-color-c);
}

.imageGreet,
.imageFun {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.greet img,
.fun img {
  /* height: 380px;   
  width: 100%; */
  width: 100%; 
  height: auto; 
  max-width: 300px;
  object-fit: cover;
  border-top-left-radius: 25%;
  border-top-right-radius: 25%;
}

/* 📬Contact Section Media Queries */

/* 📱 320px Very Small Phones */
@media (max-width: 320px) { 
  .contactUs { 
    padding: 20px;  
  } 

  .contactUs .title h2 { 
    font-size: 28px; 
    color: var(--bg-color-g);
    padding-left: 20px;
  } 

  .contact h3, 
  .bookings h3 { 
    font-size: 1.1rem; 
    letter-spacing: normal;
  } 

  .contactFormBox .row50 {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 200px;
    margin-left: -15px;
  }

  .contactFormBox .row100 {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 200px;
    margin-left: -15px;
  }

  .contact-inputBox {
    width: 100%;              
  }

  .contact-inputBox input,
  .contact-inputBox textarea {
    font-size: 0.9em;
    padding: 10px;
  }

  .contact-inputBox input[type="submit"] {
    max-width: 100%;
    font-size: 0.9em;
    padding: 10px;
  }

  .info .infoBoxContact div { 
    font-size: 0.9em;
    padding: 0px;
    margin-left: -45px;
  } 

  .contactUs .title2 h2 { 
    font-size: 28px; 
    color: var(--bg-color-g);
    letter-spacing: 0;
    padding-left: 30px;
  } 

  .greet-image h3, 
  .fun-image h3 { 
    font-size: 18px; 
  } 

  .map iframe, 
  .appointClinico iframe { 
    min-height: 220px; 
  }
  
  .imageBox, 
  .imageBox2 { 
    margin-bottom: 20px; 
    padding: 20px;
  }

  .greet img, 
  .fun img { 
    max-width: 230px;
    border-top-left-radius: 8%;
    border-top-right-radius: 8%;
  } 
} 

/* 📱 480px Small Phones */
@media (max-width: 480px) { 
  .contactUs { 
    padding: 15px 10px; 
  } 

  .contactUs .title h2 { 
    font-size: 35px; 
    color: var(--bg-color-g);
  } 

  .contactUs .title2 h2 { 
    font-size: 35px; 
    color: var(--bg-color-g);
    margin-left: 10px;
  } 

  .contactFormBox .row50 {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .contactFormBox .row100 {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .contact-inputBox {
    width: 100%;              
  }

  .contact-inputBox input,
  .contact-inputBox textarea {
    font-size: 0.9em;
    padding: 10px;
  }

  .contact-inputBox input[type="submit"] {
    max-width: 100%;
    font-size: 0.9em;
    padding: 10px;
  }

  .contact-inputBox input, 
  .contact-inputBox textarea { 
    font-size: 1rem; 
  } 
  
  .map iframe, 
  .appointClinico iframe { 
    min-height: 230px; 
  } 
  
  .imageBox {
    width: 100%;
    padding-bottom: 15px;
    align-items: center;
    margin-right: 20px;
    background-color: var(--bg-color-c);
    border: 10px solid var(--bg-color-a);
  }

  .imageBox2 {
    width: 100%;
    padding-bottom: 15px;
    align-items: center;
    background-color: var(--bg-color-a);
  }

  .greet img, 
  .fun img { 
    height: 250px; 
    width: 200px; 
    border-top-left-radius: 10%;
    border-top-right-radius: 10%;
  } 
} 

/* 📱 576px Phones Small Screens */
@media (max-width: 576px) { 
  .contactUs { 
    padding: 20px 15px; 
  } 

  .contactUs .title h2, 
  .title2 h2 { 
    font-size: 35px; 
    letter-spacing: 1px; 
    color: var(--bg-color-g);
    margin-left: 0;
    padding-left: 0;
    text-align: center;
    width: 100%;
  } 

  .contact h3, 
  .bookings h3 { 
    font-size: var(--msp-3);
  } 

  .contactFormBox .row50 {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .contactFormBox .row100 {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .contact-inputBox {
    width: 100%;              
  }

  .contact-inputBox input,
  .contact-inputBox textarea {
    font-size: 0.9em;
    padding: 10px;
  }

  .contact-inputBox input[type="submit"] {
    max-width: 100%;
    font-size: 0.9em;
    padding: 10px;
  }

  .contact-inputBox input, 
  .contact-inputBox textarea { 
    font-size: 1rem; 
  } 
  
  .greet-image h3, 
  .fun-image h3 { 
    font-size: 22px; 
  } 
  
  .map iframe, 
  .appointClinico iframe { 
    min-height: 240px; 
  } 
  
  .greet img, 
  .fun img { 
    height: 280px; 
    width: 220px; 
  } 
}

/* 📲 768px Tablets */
@media (max-width: 768px) {
  .contactUs {
    padding: 25px 15px;
  }

  .contactUs .title h2 {
    color: var(--bg-color-g);
    font-size: 36px;
    text-align: center;
    padding-left: 0;
    margin-left: 0;
    width: 100%;
  }
  
  .greet img,
  .fun img {
    height: 300px;
  }

  .appointClinico iframe {
    min-height: 400px;
  }
}

/* 📱 991.98px (992px) Small Laptops Screens */
@media (max-width: 991.98px) {
  .contactUs {
    padding: 25px 15px;
  }

  .contactUs .title h2{
    font-size: 36px;
    text-align: center;
    padding-left: 30px;
  }
  
  .contactUs .title2 h2  {
    color: var(--bg-color-g);
    font-size: 36px;
    text-align: center;
    padding-left: 70px;
    word-spacing: normal;
    margin-left: 0; 
    padding-left: 0; 
    width: 100%; 
}

  .contact h3, 
  .bookings h3 { 
    font-size: var(--vsl-3);
  } 

  .greet img, 
  .fun img { 
    height: 450px; 
    width: 400px; 
  } 
}

/* ------- END OF CONTACT PAGE  */


/* ============================================ */
/* ⬇️ SCROLL ICON                              */
/* ============================================ */

.scroll i {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--bg-color-c);
  z-index: 1000;
  transition: all 0.3s ease;
}

.scroll i:hover {
  color: var(--green-accent);
  transform: translateY(-5px);
}

/* ⚓ FOOTER SECTION */

footer {
  display: grid;
  justify-content: center;
  align-items: end;
  min-height: 60vh;
  background: var(--bg-color-b);
  padding: 10px;
}

.foot {
  position: relative;
  width: 100%;
  height: auto;
  background: var(--bg-color-a);
  padding: 50px 100px 8px 100px;
}

/* ⚓ Footer Grid */
/* ⚓ Footer Grid - ORIGINAL 4 COLUMNS */
footer .cont-foot {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 2.5fr 2fr 2.5fr 2fr;  /* ✅ BACK TO 4 COLUMNS */
  grid-gap: 30px;
  padding-bottom: 40px;
}

/* ⚓ Footer Headings */
footer .cont-foot .sec h6 {
  position: relative;
  color: var(--text-color-a);
  font-weight: 600;
  margin-bottom: 15px;
}

/* ⚓ Footer Links */
footer .cont-foot .sec ul li,
footer .cont-foot .sec ul li a {
  color: var(--text-color-a);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 5px;
  text-decoration: none;
}

footer .cont-foot .sec ul li a {
  margin-top: 5px;
}

/* ⚓ Social Buttons for container quicklinks icons */
footer .cont-foot .sec ul li a ion-icon,
footer .cont-foot .quicklinks ul li a ion-icon {
  color: var(--text-color-a);
  font-size: 1.3rem;
  padding-top: 0;
}

footer .cont-foot .quicklinks {
  position: relative;
}

footer .cont-foot .quicklinks ul li {
  list-style: none;
}

footer .cont-foot .quicklinks ul li a {
  color: var(--text-color-a);
  text-decoration: none;
  margin-bottom: 10px;
  display: inline-block;
  transition: all 0.3s ease;   /* ⭐ Smooth animation */
  position: relative;
}

/* Footer legal download icons */
footer .cont-foot .quicklinks ul li a .fa-download {
  margin-left: 6px;
  font-size: 0.85rem;
  opacity: 0.7;
  transition: all 0.3s ease;
}

footer .cont-foot .quicklinks ul li a:hover .fa-download {
  opacity: 1;
  transform: translateY(2px);
}

/* ⚓ Underline Effect */
footer .cont-foot .quicklinks ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;              /* ⭐ sits just below the text */
  width: 0%;
  height: 2px;
  background-color: var(--bg-color-c); /* ⭐ underline color */
  transition: width 0.3s ease;
}

/* ⭐ On Hover: Slide to the right */
footer .cont-foot .quicklinks ul li a:hover {
  transform: translateX(8px);   /* ⭐ Moves link slightly to the side */
  color: var(--bg-color-c);     /* Optional: change color on hover */
}

footer .cont-foot .quicklinks ul li a:hover::after {
  width: 100%;               /* ⭐ underline expands fully */
}

footer .cont-foot .quicklinks ul li a:active {
  transform: translateX(12px); /* ⭐ Moves a bit more when clicked */
}

footer .cont-foot .quicklinks ul li a i {
  color: var(--text-color-a);
  font-size: 1.3rem;
  padding-top: 0px;
}

/* ⚓ Social Media Buttons */
footer .social-button .wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 20px;
  justify-items: center;
  margin-top: 18px; 
  margin-bottom: 30px;             /* ✅ Space below the heading */
  padding: 30px 5px;             /* ✅ Padding around the whole grid */
}

footer .wrapper .social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: 60px;
  margin: 0 5px;
  background: var(--bg-color-b);
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: transform 0.3s ease,
              box-shadow 0.3s ease,
              background-color 0.3s ease;  /* ✅ NO width transition at all */
  overflow: visible;                        /* ✅ NOT hidden - removes clip issues */
  position: relative;
}

/* ✅ Tooltip label appears ABOVE on hover - no width change at all */
footer .wrapper .social-button span {
  position: absolute;
  bottom: 70px;                   /* ✅ sits above the icon */
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--bg-color-c);
  color: var(--bg-color-a);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--ff-1);
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 20px;
  opacity: 0;                     /* ✅ hidden by default */
  pointer-events: none;           /* ✅ won't interfere with hover */
  transition: opacity 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ✅ Small arrow pointing down to icon */
footer .wrapper .social-button span::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--bg-color-c);
}

/* ✅ Show tooltip on hover - no layout shift at all */
footer .wrapper .social-button:hover span {
  opacity: 1;
}

/* ✅ Icon styling - no width change */
footer .wrapper .social-button .ion-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  width: 60px;
  border-radius: 50px;
  font-size: 25px;
  color: var(--text-color-c);
  pointer-events: none;           /* ✅ mouse events go to parent */
  transition: background-color 0.3s ease,
              color 0.3s ease,
              transform 0.3s ease;
  flex-shrink: 0;
}

/* ✅ Icon lifts on hover */
footer .wrapper .social-button:hover {
  transform: translateY(-5px);
  box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.15);
}

/* ✅ Brand colours on hover */
footer .wrapper .social-button:nth-child(1):hover .ion-icon {
  background: #25d366;
  color: var(--bg-color-b);
}

footer .wrapper .social-button:nth-child(2):hover .ion-icon {
  background: #1877f2;
  color: var(--bg-color-b);
}

footer .wrapper .social-button:nth-child(3):hover .ion-icon {
  background: linear-gradient(15deg, #7232bd, #c32aa3, #ffdc7d);
  color: var(--bg-color-b);
}

footer .wrapper .social-button:nth-child(4):hover .ion-icon {
  background: linear-gradient(15deg, #25F4EE, #FE2C55, #000000);
  color: var(--bg-color-b);
}

/* ✅ Span colours match brand (for tooltip) */
footer .wrapper .social-button:nth-child(1) span {
  background-color: #25d366;
}

footer .wrapper .social-button:nth-child(1) span::after {
  border-top-color: #25d366;
}

footer .wrapper .social-button:nth-child(2) span {
  background-color: #1877f2;
}

footer .wrapper .social-button:nth-child(2) span::after {
  border-top-color: #1877f2;
}

footer .wrapper .social-button:nth-child(3) span {
  background-color: #c32aa3;
}

footer .wrapper .social-button:nth-child(3) span::after {
  border-top-color: #c32aa3;
}

footer .wrapper .social-button:nth-child(4) span {
  background-color: #000000;
}

footer .wrapper .social-button:nth-child(4) span::after {
  border-top-color: #000000;
}

/* ⚓ Footer Logo */

footer .sec .logo {
  margin-top: 30px;           /* ✅ Space above logo */
  text-align: center;         /* ✅ Center the logo */
}

footer .sec .logo .logo-img {
  display: inline-block;
  padding: 0; 
  margin-bottom: 0;
  transition: all 0.5s ease-in-out;
}

footer .sec .logo img {
  max-width: 180px;           /* ✅ Control logo size */
  height: auto;
}

/* © Copyright Section */

.copyrightText {
  margin-top: 30px;           /* ✅ Add space above copyright */
}

.copyrightText span {
  font-size: 6px;
  text-align: center;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 20px;
  padding: 20px 5px 10px;
  background: var(--bg-color-a);
  border-top: 2px solid rgba(0, 0, 0, 0.15);
}

/* ⚓ Utility Classes */
.padded-text {
  padding-left: 26px;
  display: inline-block;
}

.text-indent {
  padding-left: 26px;
  display: inline-block;
}

.icon-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon-text ion-icon,
.icon-text i {
  margin-right: 8px;
  vertical-align: middle;
}

/* ⚓ Footer Media Queries Section */

/* ⚓ Footer Media Queries Section - ORIGINAL */

/* 📲 Medium Devices - Tablets */
@media screen and (min-width: 577px) and (max-width: 991px) {
  .foot {
    padding: 40px;
  }

  footer .cont-foot {
    max-width: 100%;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
  }

  footer .cont-foot .logo .logo-img {
    padding-top: 20px;
  }
}

/* 📉 Small Devices - 768px */
@media (max-width: 768px) {
  footer .cont-foot {
    max-width: 100%;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 20px;
  }
}

/* 📉 Extra Small Screens (Optional for extreme cases) */
@media screen and (max-width: 400px) {
  .foot .wrapper .social-button {
    width: 100%;
    margin-bottom: 1rem;
  }

  .copyrightText span p {
    font-size: 4px;
  }
}

/* --------- Page Not Found 404 Section ---------- */

/* 🚫 404 Page Section */

.container_404 {
  height: 100%;
  background-color: var(--bg-color-a); 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  padding: 60px 20px;  /* ✅ Added horizontal padding for mobile */
}

.page_404 {
  max-width: 800px;
  width: 100%;
  padding: 20px;  /* ✅ Added padding for breathing room */
}

.page_404 h2 {
  font-family: var(--ff-1);
  font-size: 8rem;  /* ✅ Changed to rem for better scaling */
  font-weight: 700;  /* ✅ Added weight */
  font-style: italic;  /* ✅ Matches your brand */
  color: var(--bg-color-c);
  margin-bottom: 10px;  /* ✅ Small gap */
  margin-top: 0;
  line-height: 1;  /* ✅ Tighter line height */
}

.page_404 h3 {
  font-family: var(--ff-1);  /* ✅ Added font family */
  font-size: 2rem;  /* ✅ Changed to rem */
  font-weight: 600;  /* ✅ Added weight */
  color: var(--text-color-a);  /* ✅ Added color */
  margin-bottom: 30px;  /* ✅ More space below */
  margin-top: 0;
}

.skeleton-wrapper {
  display: block;
  margin: 30px auto;  /* ✅ Added margin */
}

.skeleton-wrapper img {
  max-width: 300px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

.page_404 p {
  font-family: var(--ff-2);  /* ✅ Added font family */
  font-size: 1.1rem;  /* ✅ Changed to rem */
  color: var(--text-color-a);  /* ✅ Added color */
  margin-bottom: 40px;  /* ✅ More space before button */
  line-height: 1.6;  /* ✅ Better readability */
}


/*  Page Not Found 404 Media Queries Section */
/* ✅ Responsive adjustments */

@media (max-width: 768px) {
  .page_404 h2 {
    font-size: 5rem;  /* Smaller on mobile */
  }
  
  .page_404 h3 {
    font-size: 1.5rem;
  }
  
  .skeleton-wrapper img {
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .page_404 h2 {
    font-size: 4rem;
  }
  
  .page_404 h3 {
    font-size: 1.3rem;
  }
  
  .skeleton-wrapper img {
    max-width: 200px;
  }
}

/* END Page Not Found 404 Section  */

/* ============================================ */
/* 📝 BLOG PAGE STYLES                         */
/* ============================================ */

/* Blog Hero Section */
.blog-hero-section {
  background: linear-gradient(135deg, var(--bg-color-c) 0%, var(--text-color-b) 100%);
  padding: 180px 8% 100px 8%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  z-index: 0;
}

.blog-hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  z-index: 0;
}

.blog-hero-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.blog-hero-container h1 {
  font-family: var(--ff-1);
  font-size: 3.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--bg-color-a);
  margin-bottom: 20px;
  line-height: 1.2;
}

.blog-hero-container p {
  font-family: var(--ff-2);
  font-size: 1.3rem;
  color: var(--bg-color-d);
  margin: 0;
}

/* Blog Posts Section */
.blog-posts-section {
  background-color: var(--bg-color-d);
  padding: 100px 8%;
  min-height: auto;
}

.blog-posts-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Blog Card */
.blog-card {
  background-color: var(--bg-color-a);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.1);
}

.blog-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, var(--bg-color-c), var(--text-color-b));
  color: var(--bg-color-a);
  padding: 6px 16px;
  border-radius: 20px;
  font-family: var(--ff-1);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.blog-card-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-family: var(--ff-2);
  font-size: 0.85rem;
  color: var(--text-color-c);
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-meta i {
  font-size: 0.9rem;
}

.blog-card-content h3 {
  font-family: var(--ff-1);
  font-size: 1.4rem;
  font-weight: 700;
  font-style: italic;
  color: var(--bg-color-c);
  margin-bottom: 15px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.blog-card:hover h3 {
  color: var(--text-color-b);
}

.blog-card-content p {
  font-family: var(--ff-2);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-color-a);
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-1);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bg-color-c);
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.blog-read-more i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.blog-read-more:hover {
  color: var(--text-color-b);
}

.blog-read-more:hover i {
  transform: translateX(5px);
}

/* Blog Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 80px;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-color-a);
  color: var(--bg-color-c);
  padding: 12px 25px;
  font-family: var(--ff-1);
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  border: 2px solid var(--bg-color-c);
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(63, 59, 81, 0.2);
}

.pagination-btn:hover:not(.disabled) {
  background-color: var(--bg-color-c);
  color: var(--bg-color-a);
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(63, 59, 81, 0.3);
}

.pagination-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination-current {
  font-family: var(--ff-1);
  font-weight: 600;
  color: var(--text-color-a);
}

/* Newsletter Section */
.blog-newsletter-section {
  background: linear-gradient(135deg, var(--bg-color-b) 0%, var(--bg-color-a) 100%);
  padding: 100px 8%;
  text-align: center;
}

.blog-newsletter-container {
  max-width: 700px;
  margin: 0 auto;
}

.newsletter-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--bg-color-c), var(--text-color-b));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px auto;
  box-shadow: 0 10px 30px rgba(63, 59, 81, 0.2);
}

.newsletter-icon i {
  font-size: 2.5rem;
  color: var(--bg-color-a);
}

.blog-newsletter-container h2 {
  font-family: var(--ff-1);
  font-size: 2.2rem;
  font-weight: 700;
  font-style: italic;
  color: var(--bg-color-c);
  margin-bottom: 15px;
}

.blog-newsletter-container p {
  font-family: var(--ff-2);
  font-size: 1.05rem;
  color: var(--text-color-a);
  margin-bottom: 35px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 550px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 25px;
  font-family: var(--ff-2);
  font-size: 1rem;
  border: 2px solid var(--bg-color-c);
  border-radius: 30px;
  outline: none;
  transition: all 0.3s ease;
}

.newsletter-form input:focus {
  border-color: var(--text-color-b);
  box-shadow: 0 0 0 3px rgba(136, 117, 97, 0.1);
}

.newsletter-form button {
  padding: 15px 35px;
  background: linear-gradient(135deg, var(--bg-color-c), var(--text-color-b));
  color: var(--bg-color-a);
  font-family: var(--ff-1);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(63, 59, 81, 0.3);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: linear-gradient(135deg, var(--text-color-a), var(--text-color-b));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(63, 59, 81, 0.4);
}

/* ============================================ */
/* 📱 RESPONSIVE - BLOG PAGE                   */
/* ============================================ */

/* 991px - Tablets/Small Laptops */
@media (max-width: 991px) {
  .blog-hero-section {
    padding: 160px 5% 80px 5%;
  }

  .blog-hero-container h1 {
    font-size: 3rem;
  }

  .blog-hero-container p {
    font-size: 1.15rem;
  }

  .blog-posts-section {
    padding: 80px 5%;
  }

  .blog-posts-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }
}

/* 768px - Tablets */
@media (max-width: 768px) {
  .blog-hero-section {
    padding: 140px 4% 70px 4%;
  }

  .blog-hero-container h1 {
    font-size: 2.5rem;
  }

  .blog-hero-container p {
    font-size: 1.1rem;
  }

  .blog-posts-section {
    padding: 70px 4%;
  }

  .blog-posts-container {
    gap: 30px;
  }

  .blog-card-content h3 {
    font-size: 1.3rem;
  }

  .blog-newsletter-section {
    padding: 80px 4%;
  }

  .blog-newsletter-container h2 {
    font-size: 2rem;
  }
}

/* 576px - Mobile */
@media (max-width: 576px) {
  .blog-hero-section {
    padding: 120px 3% 60px 3%;
  }

  .blog-hero-container h1 {
    font-size: 2rem;
  }

  .blog-hero-container p {
    font-size: 1rem;
  }

  .blog-posts-section {
    padding: 60px 3%;
  }

  .blog-posts-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .blog-card-image {
    height: 220px;
  }

  .blog-card-content {
    padding: 25px;
  }

  .blog-card-content h3 {
    font-size: 1.2rem;
  }

  .blog-card-content p {
    font-size: 0.9rem;
  }

  .blog-pagination {
    flex-direction: column;
    gap: 15px;
    margin-top: 60px;
  }

  .pagination-btn {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }

  .blog-newsletter-section {
    padding: 70px 3%;
  }

  .newsletter-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
  }

  .newsletter-icon i {
    font-size: 2rem;
  }

  .blog-newsletter-container h2 {
    font-size: 1.8rem;
  }

  .blog-newsletter-container p {
    font-size: 0.95rem;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 12px;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}

/* 480px - Small Mobile */
@media (max-width: 480px) {
  .blog-hero-container h1 {
    font-size: 1.8rem;
  }

  .blog-card-content h3 {
    font-size: 1.1rem;
  }

  .blog-newsletter-container h2 {
    font-size: 1.6rem;
  }
}

/* 320px - Very Small Mobile */
@media (max-width: 320px) {
  .blog-hero-section {
    padding: 100px 2% 50px 2%;
  }

  .blog-hero-container h1 {
    font-size: 1.5rem;
  }

  .blog-hero-container p {
    font-size: 0.9rem;
  }

  .blog-posts-section {
    padding: 50px 2%;
  }

  .blog-card-content {
    padding: 20px;
  }

  .blog-card-content h3 {
    font-size: 1rem;
  }

  .blog-card-content p {
    font-size: 0.85rem;
  }

  .blog-newsletter-section {
    padding: 60px 2%;
  }

  .blog-newsletter-container h2 {
    font-size: 1.4rem;
  }
}

/* --------- END OF PROJECT ---------- */


