/* Mobile mx480 x 
tab -768 
desktop max 1600
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* --primary: #012a28; */
  --primary: #0d1c17;

  --secondary: #7b6755;
  --light-background: #e4c9ad;
  --background: #faf9f8;
  --accent: #e4c9ad;
  --text-dark: #333333;
  --text-black: #000000;
}

@font-face {
  font-family: "Passions Conflict";
  src: url("./Font/PassionsConflict-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: "Playfair";
  src: url("./Font/Playfair-VariableFont_opsz,wdth,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

body,
html {
  height: 100%;
  width: 100%;
  background: var(--background);
  color: var(--text-dark);
  font-family: "Playfair", serif;
  /* overflow-x: hidden; */
}

.cursive {
  font-family: "Passions Conflict";
}

/* .navbar-placeholder {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 102;
  height: 12vh;
  width: 100%;
  background: var(--primary);
  margin-bottom: 40px;
} */

.navbar {
  background-color: #0d1c17;
  color: white;
  padding: 0px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.link-nav {
  text-decoration: none;
  color: inherit;
}

/* Logo */
.logo img {
  max-height: 120px;
  width: auto;
  object-fit: contain;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 28px;
  color: #c3a17c;
  cursor: pointer;
}

/* Nav container */
.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
  flex-wrap: wrap;
  position: relative;
}

.nav-links li {
  color: #c3a17c;
  cursor: pointer;
  position: relative;
  padding: 14px 12px;
  font-size: 17.5px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #c19a6b;
  transition: width 0.3s ease;
}

.nav-links li:hover::after {
  width: 100%;
}

.nav-links li:hover {
  color: #f7f7f7;
}

/* Active link underline */
.nav-links .active::after {
  width: 100%;
}

/* Dropdown arrow */
.arrow {
  font-size: 15px;
  margin-left: 5px;
  user-select: none;
}

/* Dropdown menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #eacba5;
  list-style: none;
  padding: 10px 0;
  min-width: 140px;
  border-radius: 4px;
  display: none;
  z-index: 999;
}

.dropdown-menu li {
  padding: 10px 18px;
  font-size: 15px;
  color: #000;
  white-space: nowrap;
}

.dropdown-menu li:hover {
  background-color: #d6b47b;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown.active .dropdown-menu {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #0d1c17;
    margin-top: 20px;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    padding: 15px;
    text-align: center;
  }

  .dropdown-menu {
    position: static;
    border-radius: 0;
    background-color: #d9bb90;
  }
}

.nav-links .dropdown::after {
  display: none !important;
}

@media (max-width: 768px) {
  .nav-links li:hover {
    color: #f3eee9 !important;
    /* Keep original color */
  }

  .nav-links li:hover::after {
    width: 0% !important;
    /* Remove underline */
  }
}
/* ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
.container {
  position: relative;
}

/* Base Hero Section Styles */
.hero {
  width: 100%;
  height: 92vh;
  background-color: #d3b18e;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  width: 100%;
  height: 100%;
  display: flex;
  margin: 0 auto;
  position: relative;
}

/* Hero Mask Image */
.hero-mask {
  position: absolute;
  width: clamp(280px, 35vw, 600px);
  height: auto;
  aspect-ratio: 2 / 3;
  top: 50%;
  left: 42%;
  transform: translate(-50%, -50%);
  z-index: 2;
  border-top-left-radius: 50% 30%;
  border-top-right-radius: 50% 30%;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  animation: slideInLeft 1.2s ease-out both;
}

.hero-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-left {
  flex: 0 0 40%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-right {
  flex: 1;
  padding: 40px 0 0 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
  transform: translateX(60px);
  text-align: center;
}

.hero-right h1.cursive {
  font-size: 145px;
  color: #00382c;
  font-weight: normal;
}

.hero-right p {
  font-size: 32px;
  color: #333333;
}

.cta-btn {
  display: inline-block;
  background-color: #00382c;
  color: white;
  margin-top: 4rem;
  padding: 18px 65px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  transition: background 0.3s ease;
}

.cta-btn:hover {
  background-color: #00261f;
  color: #d3b18e;
}

/* Large Screens */
@media (max-width: 1919px) {
  .hero-mask {
    max-width: 400px;
    height: 65vh;
  }

  .hero-right h1.cursive {
    font-size: 110px;
  }

  .hero-right {
    padding: 40px 0 0 100px;
  }

  .hero-right p {
    font-size: 25px;
  }

  .cta-btn {
    font-size: 17px;
    padding: 14px 40px;
  }
}

/* Medium Screens */
@media (max-width: 1439px) {
  .hero-mask {
    max-width: 350px;
    height: 60vh;
  }

  .hero-right {
    padding: 40px 0 0 65px;
  }

  .hero-right h1.cursive {
    font-size: 78px;
  }

  .hero-right p {
    font-size: 18px;
  }

  .cta-btn {
    font-size: 15px;
    padding: 12px 36px;
  }
}

/* Small Desktop / Large Tablet */
@media (max-width: 1080px) {
  .hero-mask {
    max-width: 360px;
    height: 60vh;
  }

  .hero-right {
    padding: 40px 0 0 20px;
    text-align: center;
    align-items: center;
  }

  .hero-right h1.cursive {
    font-size: 62px;
    max-width: 200px;
    word-break: break-word;
    line-height: 1.1;
  }

  .hero-right p {
    font-size: 18px;
    max-width: 280px;
    word-break: break-word;
    line-height: 1.4;
    margin: 0 auto;
    text-align: center;
    padding-left: 40px;
  }

  .cta-btn {
    font-size: 15px;
    padding: 12px 36px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .hero {
    flex-direction: column;
    height: auto;
    position: relative;
  }

  .hero-content {
    flex-direction: column;
    height: auto;
    position: relative;
  }

  .hero-mask {
    display: none;
  }

  .hero-left {
    height: 220px;
    position: relative;
  }

  .hero-left img {
    object-position: center;
    filter: brightness(0.5);
  }

  .hero-right {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 16px;
    align-items: center;
    text-align: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
  }

  .hero-right h1.cursive {
    font-size: 50px;
    line-height: 1.1;
    color: #d3b18e;
    text-shadow: 1px 1px 2px #000000;
    word-break: break-word;
    max-width: 90vw;
    margin: 0 auto;
    text-align: center;
  }

  .hero-right p {
    font-size: 15px;
    color: #d3b18e;
    text-shadow: 1px 1px 2px #000000;
    word-break: break-word;
    max-width: 90vw;
    text-align: center;
    transform: translateX(-20px);
  }

  .cta-btn {
    background-color: #d3b18e;
    color: #000;
    font-weight: bold;
    padding: 12px 24px;
    font-size: 12px;
    margin-top: 20px;
    text-align: center;
    border: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Tablet (481px to 1024px) */
@media (min-width: 481px) and (max-width: 1024px) {
  .hero {
    flex-direction: row;
    height: 80vh;
  }

  .hero-left {
    flex: 1;
    height: auto;
  }

  .hero-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
    text-align: left;
    text-align: center;
  }

  .hero-right h1.cursive {
    font-size: 68px;
  }

  .hero-right p {
    font-size: 18px;
    transform: translate(-10%, -10%);
  }

  .hero-mask {
    width: clamp(260px, 40vw, 400px);
    aspect-ratio: 2 / 3;
    height: auto;
    top: 60%;
    left: 42%;
    transform: translate(-50%, -50%);
  }

  .cta-btn {
    font-size: 14px;
    padding: 14px 28px;
  }
}

/* Slide animation */
@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translate(-100%, -50%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */

.introduction {
  background-color: var(--light-background);
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.intro-content {
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding-bottom: 100px;
}

.intro-content h1.cursive {
  font-size: 90px; /* was 110px */
  color: var(--text-dark);
  margin-bottom: 30px;
  font-weight: normal;
}

.intro-content p {
  font-size: 20px; /* was 25px */
  line-height: 1.6;
  color: #000;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
  position: relative;
  z-index: 3;
}

.doodle-left,
.doodle-right {
  position: absolute;
  bottom: 0;
  width: 320px;
  height: auto;
  z-index: 1;
}

.doodle-left {
  left: 10px;
}

.doodle-right {
  right: 60px;
}

/* Large screens below 1500px */
@media (max-width: 1500px) {
  .intro-content p {
    max-width: 1000px;
    font-size: 20px; /* was 25px */
  }

  .doodle-left,
  .doodle-right {
    width: 250px;
  }

  .doodle-left {
    left: -10px;
  }

  .doodle-right {
    right: 30px;
  }
}

/* Tablet View */
@media (max-width: 1024px) {
  .introduction {
    padding: 60px 20px;
  }

  .intro-content h1.cursive {
    font-size: 50px; /* was 58px */
  }

  .intro-content p {
    font-size: 15px; /* was 18px */
    padding: 0 40px;
  }

  .doodle-left,
  .doodle-right {
    width: 140px;
  }

  .doodle-left {
    left: 50px;
  }

  .doodle-right {
    right: 50px;
  }
}

/* Mobile View */
@media (max-width: 768px) {
  .introduction {
    padding: 50px 10px;
  }

  .intro-content {
    padding-bottom: 60px;
  }

  .intro-content h1.cursive {
    font-size: 40px; /* was 48px */
    margin-top: 80px;
  }

  .intro-content p {
    font-size: 14px; /* was 16px */
    padding: 0 12px;
  }

  .doodle-left {
    top: -90px;
    width: 160px;
    transform: translateX(-40%) scale(0.75);
  }
}

/* ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */

.split-section {
  display: flex;
  min-height: 55vh;
  height: auto;
  background: linear-gradient(to right, var(--primary) 80%, #d3b18e 20%);
  position: relative;
  overflow: hidden;
}

.split-left {
  flex: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: transparent;
}

.split-content {
  text-align: center;
  color: var(--light-background);
  max-width: 1300px;
  z-index: 2;
}

.split-content h2.cursive {
  font-size: 85px; /* reduced ~15% from 100px */
  font-weight: normal;
  position: relative;
  display: block;
  text-align: center;
  color: var(--light-background);
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.split-content .butterfly {
  position: absolute;
  top: -120px;
  transform: translate(10%);
  width: 160px;
  height: auto;
  pointer-events: none;
  filter: sepia(1) saturate(2) hue-rotate(320deg) brightness(1.1);
}

.split-content p {
  font-size: 20px; /* reduced ~17% from 24px */
  line-height: 1.8;
  max-width: 900px;
  margin: 20px auto 0;
  padding: 0 40px;
  text-align: center;
}

.split-right {
  flex: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  position: relative;
}

.image-mask {
  position: relative;
  width: 120%;
  max-width: 370px;
  aspect-ratio: 2 / 3.5;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  transform: translateX(-40px);
}

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

.mobile-hero-img {
  display: none;
}

@media (min-width: 1025px) {
  .image-mask {
    transform: translateX(-40px);
  }
}
@media (max-width: 1024px) {
  .split-section {
    flex-direction: column;
    height: auto;
    background: var(--primary);
    padding: 60px 20px;
  }

  .split-left {
    width: 100%;
    padding: 0;
  }

  .split-content {
    padding: 0;
  }

  .split-content h2.cursive {
    font-size: 60px; /* reduced from 70px */
  }

  .split-content .butterfly {
    top: -30px;
    width: 50px;
    transform: translate(-10%);
  }

  .split-content p {
    font-size: 15px; /* reduced from 18px */
    padding: 0 20px;
  }

  .split-right {
    display: none;
  }

  .mobile-hero-img {
    display: block;
    width: 80%;
    height: 180px;
    object-fit: cover;
    margin: 0 auto 32px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
}

/* Mobile */
@media (max-width: 480px) {
  .split-content h2.cursive {
    font-size: 48px; /* reduced from 58px */
  }

  .split-content p {
    font-size: 13px; /* reduced from 15px */
  }

  .split-content .butterfly {
    width: 38px;
    top: -20px;
  }

  .mobile-hero-img {
    margin-bottom: 24px;
    width: 90%;
    max-width: 320px;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1600px) {
  .split-content .butterfly {
    top: -40px;
    width: 130px;
  }

  .image-mask {
    max-height: 480px;
    width: auto;
    transform: translateX(-20px);
  }

  .split-right {
    height: 600px;
  }
}

/* Large screens */
@media (min-width: 1440px) and (max-height: 1024px) {
  .split-content h2.cursive {
    font-size: 120px; /* reduced from 140px */
  }

  .split-content .butterfly {
    width: 100px;
    top: -45px;
  }

  .split-content p {
    font-size: 20px; /* reduced from 24px */
    padding: 0 32px;
  }
}

/* Extra large */
@media (min-width: 1600px) {
  .split-content h2.cursive {
    font-size: 110px; /* reduced from 140px */
  }

  .split-content .butterfly {
    width: 140px;
    top: -50px;
  }

  .split-content p {
    font-size: 24px; /* reduced from 28px */
    max-width: 1000px;
  }

  .image-mask {
    max-width: 300px;
  }
}

/* ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
.service-heading {
  background-color: var(--light-background);
  position: relative;
  height: 18vh;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.service-heading .cursive {
  position: relative;
  font-size: 100px; /* reduced from 120px */
  font-weight: normal;
}

.service-heading .service-icon {
  position: absolute;
  top: -30px;
  transform: translate(120%);
  width: 280px;
  height: auto;
  pointer-events: none;
}

.wrapper {
  display: flex;
  justify-content: center;
  gap: 10rem;
  flex-wrap: wrap;
  background-color: var(--primary);
  padding: 5rem 2rem 5rem;
  overflow-x: hidden;
}

.card {
  position: relative;
  background-color: #e4c9ad;
  width: 30vw;
  max-width: 360px;
  min-width: 250px;
  height: 480px;
  padding: 5rem 2rem;
  border-radius: 9999px 9999px 0 0;
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.03);
}

.card h2 {
  font-size: 2.6rem; /* reduced from 3.2rem */
  margin-bottom: 3rem;
  font-weight: 600;
  color: #1a1a1a;
}

.card p {
  font-size: 1.5rem; /* reduced from 1.8rem */
  line-height: 1.6;
  color: #333;
}

.card h3 {
  font-size: 1.3rem; /* reduced from 1.5rem */
  font-family: "Playfair Display", serif;
  color: #1a1a1a;
}

.card:nth-child(1) h3 {
  margin-top: 2.5rem;
}

.card:nth-child(2) h3 {
  margin-top: 2.5rem;
}
.span-and {
  font-size: 2rem; /* reduced from 2.3rem */
}

.mobile-only-1,
.mobile-only-2 {
  display: none;
}

.card h3 a {
  text-decoration: none;
  color: #333333;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem; /* reduced from 1.8rem */
  font-weight: 600;
  display: inline-block;
  transition: color 0.3s ease;
}

.card h3 a:hover {
  color: var(--text-black);
  cursor: pointer;
  text-decoration: underline;
}

.icon-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  background-color: #e4c9ad;
  padding: 0rem 3rem;
  margin-top: -8rem;
  gap: 5rem;
}

.massage-icon {
  width: 300px;
  height: auto;
  padding: 1rem;
  object-fit: contain;
  transform: translate(-120px, -10px);
}

.face-icon {
  height: 220px;
  width: auto;
  padding: 1rem;
  border-radius: 50%;
  object-fit: contain;
  transform: translate(70px, -10px);
}

/* Desktop (1024px – 1600px) */
@media (max-width: 1600px) {
  .service-heading .cursive {
    font-size: 85px; /* reduced from 100px */
  }

  .service-heading .service-icon {
    width: 195px;
    top: -35px;
  }

  .card {
    height: 400px;
    width: 32vw;
    max-width: 340px;
  }

  .card:first-child a {
    padding-top: 40px;
    text-wrap-mode: nowrap;
  }

  .card h2 {
    margin-bottom: 1rem;
    font-size: 2.3rem; /* reduced from 2.6rem */
  }

  .card h3 {
    font-size: 1.8rem; /* reduced from 2.2rem */
  }

  .card:nth-child(1) h3 {
    margin-top: -1rem;
  }
  .card:nth-child(2) h3 {
    margin-top: 1rem;
  }

  .massage-icon {
    transform: translate(-130px, -10px);
    width: 240px;
  }

  .face-icon {
    transform: translate(90px, -10px);
    height: 170px;
  }
}

@media (max-width: 410px) {
  .card-icon.mobile-only-1 {
    /* width: 1px; */
    transform: translateY(-30px);
  }
}


@media (max-width: 941px) and (min-width: 768px) {
 .card:first-child a {
  padding-top: 30px;
  }

  .card h3 a {
    padding-top: 0px;
  }
}

@media (max-width: 1023px) and (min-width: 942px) {
 .card h3 a {
  padding-top: 40px;
 }
}


/* Tablet (768px – 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
  .service-heading {
    flex-direction: column;
    gap: 2rem;
    height: auto;
    padding: 2.5rem 2rem;
    text-align: center;
  }

  .service-heading .cursive {
    font-size: 4.4rem;
  }

  .card:first-child a {
    text-wrap-mode: wrap;
  }

  .service-heading .service-icon {
    width: 200px;
    transform: translate(90%, 0%);
  }

  .wrapper {
    gap: 4rem;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .card {
    width: 30%;
    height: 440px;
    padding: 4rem 2rem 0rem;
    max-width: 100%;
    margin-bottom: 0;
  }

  .card h2 {
    font-size: 2.2rem; /* reduced from 2.6rem */
    margin-bottom: 1rem;
  }

  .card p {
    font-size: 1.4rem; /* reduced from 1.6rem */
    margin-bottom: 1rem;
  }

  .card h3 {
    font-size: 1.4rem; /* reduced from 1.6rem */
    margin-top: 1rem;
  }

  .card h3 a {
    font-size: 1.4rem; /* reduced from 1.6rem */
  }

  .icon-image-wrapper {
    justify-content: center;
    gap: 2rem;
    margin-top: -3rem;
  }

  .massage-icon {
    width: 180px;
    transform: translate(-80px, 20px);
  }

  .face-icon {
    height: 140px;
    transform: translate(50px, 15px);
  }
}

/* Mobile (<768px) */
@media (max-width: 767px) {
  .service-heading {
    flex-direction: column;
    gap: 1.5rem;
    height: auto;
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .service-heading .cursive {
    font-size: 3.6rem; /* reduced from 4.2rem */
  }

  .service-heading .service-icon {
    transform: translate(100%, 10%);
    width: 9rem;
  }

  .wrapper {
    gap: 3rem;
    padding: 4rem 1.5rem;
  }

  .card {
    width: 70%;
    padding: 4rem 2rem 5rem;
    height: 490px;
  }

  .card h2 {
    font-size: 1.9rem; /* reduced from 2.2rem */
    margin-bottom: 2rem;
  }

  .card p {
    font-size: 1.2rem; /* reduced from 1.4rem */
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .card h3 {
    font-size: 1.5rem; /* reduced from 1.8rem */
    margin-top: 2rem;
  }

  .card h3 a {
    font-size: 1.5rem; /* reduced from 1.8rem */
  }

  .span-and {
    font-size: 1.4rem; /* reduced from 1.7rem */
  }

  .icon-image-wrapper {
    display: none;
  }

  .card-icon.mobile-only-1 {
    display: block;
    margin: 2rem auto 0;
    width: 160px;
  }
  .card-icon.mobile-only-2 {
    display: block;
    margin: 2rem auto 0;
    width: 115px;
  }
}

@media (max-width: 690px) {
  .service-heading .service-icon {
    transform: translate(90%, 20%);
    width: 8rem;
  }

  .card:first-child a {
    text-wrap-mode: wrap;
  }
}

/* ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */

.advantages {
  background-color: var(--primary);
  padding: 60px 20px;
  text-align: center;
}

.advantages h2 {
  font-size: 85px;
  color: var(--accent);
  font-weight: normal;
  margin-bottom: 40px;
}

.advantage-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.adv-card {
  flex: 1 1 calc(33.33% - 40px);
  max-width: 350px;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--secondary);
  padding: 10px;
  transition: transform 0.4s ease-in-out;
}

.adv-card:hover {
  transform: scale(1.08);
}

.adv-card img {
  width: 48px;
  height: auto;
  margin-bottom: 20px;
}

.adv-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.adv-card:hover {
  color: var(--accent);
}

.adv-card p {
  font-size: 18px;
  max-width: 280px;
  line-height: 1.7;
}

/* Tablet view */
@media screen and (max-width: 992px) {
  .advantages h2 {
    font-size: 67px;
  }

  .adv-title {
    font-size: 20px;
  }

  .adv-card p {
    font-size: 17px;
  }

  .adv-card {
    flex: 1 1 calc(50% - 40px);
  }
}

/* Mobile view */
@media screen and (max-width: 600px) {
  .advantages h2 {
    font-size: 48px;
  }

  .adv-title {
    font-size: 18px;
  }

  .adv-card p {
    font-size: 16px;
  }

  .adv-card {
    flex: 1 1 calc(50% - 40px);
  }
}

/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */

.testimonial {
  background-color: var(--light-background);
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.testimonial h2 {
  font-size: 95px;
  font-weight: normal;
  color: var(--primary);
  margin-bottom: 40px;
}

.testimonial-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  min-height: 320px;
  overflow: visible;
}

.testimonial-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--accent);
  min-height: 380px;
  padding: 30px 20px;
  gap: 30px;
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  transition: opacity 1s ease, transform 1s ease;
  position: absolute;
  width: 100%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.testimonial-card.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  position: relative;
}

.client-photo {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  border: 7px solid #ac947b;
  position: absolute;
  top: -60px;
  left: -70px;
  z-index: 2;
}

.testimonial-content {
  text-align: center;
  max-width: 600px;
  position: relative;
  text-align: center;
}

.testimonial-content h3 {
  font-size: 45px;
  margin-bottom: 20px;
  color: var(--accent);
  text-shadow: 1px 1px 1px #000;
  transform: translateY(-50px);
}

.testimonial-content p {
  font-size: 20px;
  line-height: 1.6;
  color: var(--accent);
}

.quote-mark {
  font-size: 380px;
  position: absolute;
  color: #ac947b;
  transform: translate(220px, -40px);
  z-index: 1;
}

/* Responsive Adjustments */
@media (max-width: 779px) {
  .testimonial-card {
    flex-direction: column;
    text-align: center;
    width: 70%;
    margin: 0 auto;
  }

  .testimonial h2 {
    font-size: 70px;
    padding-bottom: 1rem;
  }

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

  .testimonial-content h3 {
    font-size: 25px;
    /* margin-top: 10px; */
  }

  .testimonial-content p {
    font-size: 18px;
  }

  .quote-mark {
    right: 0;
    transform: translate(25px, -60px);
  }
}

@media (max-width: 380px) {
  .client-photo {
    width: 130px;
    height: 130px;
    left: -40px;
  }

  .quote-mark {
    right: 0;
    font-size: 280px;
    transform: translate(50px, -82px);
  }
  .testimonial-content h3 {
    margin-top: 100px;
  }
  .testimonial-content p {
    font-size: 18px;
    margin-bottom: 42px;
    margin-top: -35px;
  }
}

/* ✅ Tablet View Adjustments (768px–1023px) */
@media (min-width: 780px) and (max-width: 1023px) {
  .testimonial h2 {
    font-size: 90px; /* ~18% reduced */
  }

  /* .client-photo {
    left: 10px;
  } */

  .testimonial-content h3 {
    font-size: 42px; /* ~19% reduced */
  }

  .testimonial-content p {
    font-size: 21px; /* ~16% reduced */
  }

  .quote-mark {
    font-size: 320px; /* ~16% reduced */
    transform: translate(159px, -35px);
  }

  .testimonial-card {
    max-width: 550px;
    margin: 0 auto;
  }
}

@media (min-width: 1024px) {
  .testimonial-card {
    max-width: 700px;
    margin: 0 auto;
  }
}

/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */

.social-bar {
  position: fixed;
  top: 70%;
  right: 30px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.social-bar a {
  display: block;
  width: 40px;
  height: 40px;
  transition: transform 0.3s;
}

.social-bar img {
  width: 100%;
  height: auto;
  display: block;
}

.social-bar a:hover {
  transform: scale(1.1);
}
@media (max-width: 768px) {
  .social-bar {
    top: auto;
    bottom: 10%;
    right: 10px;
    transform: none;
  }
}
