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

}

@font-face {
  font-family: 'InterMedium';
  src: url('./assets/fonts/Inter_28pt-Medium.woff');
  font-display: swap;
}

@font-face {
  font-family: 'InterRegular';
  src: url('./assets/fonts/Inter_28pt-Regular.woff');
  font-display: swap;
}

@font-face {
  font-family: 'GRegular';
  src: url('Gilroy-Regular.woff');
  font-display: swap;
}

@font-face {
  font-family: 'IvyRegular';
  src: url('ivy-mode-regular.woff');
  font-display: swap;
}

@font-face {
  font-family: 'RobotoRegular';
  src: url('Roboto-Regular.woff');
  font-display: swap;
}

@font-face {
  font-family: 'PlayFairDispaly';
  src: url('./assets/fonts/PlayfairDisplay-SemiBold.woff');
  font-display: swap;
}

a{
  text-decoration: none;
}

button{
  height: 55px;
  font-family: "RobotoRegular";
  font-weight: 600 !important;
}

:root {
  /* Primary brand colors */
  --primary: #95785A;

}
p{
  line-height: 1.78;
}



.topbar{
    padding-top: 10px;
     background-color: #eeeff2;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99 !important;
}

.topbar-content{
    display: flex;
    justify-content: center;
    gap: 20px;
}

.tb-p,.tb-a{
    color: #161D46;
    text-transform: uppercase;
    font-size: max(10px, 0.8vw);
}

.tb-a{
    font-weight: 500;
}

/* Floating wrapper */
.navbar-floating {
  position: absolute;
  top: 75px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  z-index: 30;
  padding: 1%;
}


/* Capsule */
.navbar-inner {
  height: 25px;
  padding: 0 20px;
position: relative;


  /* border-radius: 999px; */

  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 60px;
}



/* LEFT */
.logo {

  width: max(250px,10vw) ;
 height: 80px;

}

.logoImg{
  width: 100%;
  height: 100%;
}


/* CENTER */
.nav-center {
  display: flex;
  justify-content: flex-start;
  gap: max(65px,6.5vw);
    width: 60%;
    padding-right: 50px;

}

.nav-center a {
  color: #fff;
  text-decoration: none;
  font: max(18px,1.1vw) "GRegular";
  letter-spacing: 1px;
  opacity: 0.95;

}

/* RIGHT */
.nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  margin-left: 20px;
  position: absolute;
  right: -1%;

}

/* BOOK NOW */
.book-now {
  background: #cdb89c;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 1px;
  cursor: pointer;
    width: max(250px,12vw) ;
  height: 55px;
}

/* LANGUAGE */
.lang {
  color: #fff;
  font: max(16px,1vw) "GRegular";
  display: flex;
  align-items: center;
  font-weight: 600;
  gap: 4px;
  color: #111111;
}

.nav-right button{
  font: max(16px,1vw) "GRegular";
  font-weight: 600;
}
.nav-right{
  width: 18%;
}

.flagEn{
  width: 40px;
  height: 38px;
  border-radius: 100%;
}
  .hamburger-menu{
  display: none;
  z-index: 10;
  color: #ffffff !important;
}

.lang-wrapper {
  position: relative;
}

.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.lang-arrow {
  transition: transform 0.25s ease;
}

.lang-arrow.open {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  min-width: 160px;
  z-index: 100;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lang-item img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.lang-item:hover {
  background: #f3f4f6;
}

@media (max-width: 1532px) {
  .nav-right{
    display: none;
  }
  .navbar-inner{
    justify-content: flex-start;
    gap: 60px;
  }
}
@media (max-width: 1300px) {
.topbar{
  display: none;
}
.navbar-floating {
  top: 20px;
  left: 47%;

}

}

/* -------- SMALL LAPTOPS -------- */
@media (max-width: 1200px) {
  .nav-center {
    gap: 32px;
    width: 55%;
    padding-right: 20px;
  }

  .nav-right {
    width: auto;
  }
}

/* -------- TABLETS -------- */
@media (max-width: 992px) {
  .navbar-floating {
    width: calc(100% - 40px);
  }

  .nav-center {
    display: none; /* 👈 links hidden */
  }

  .navbar-inner {
    padding: 0 20px;
  }

  .book-now {
    width: 180px;
    height: 48px;
  }
}

/* -------- MOBILE -------- */
@media (max-width: 600px) {
  .navbar-inner {
    height: 60px;
    padding: 0 16px;
  }

  .logoImg {
    width: 180px; /* still visible */
  }

  .book-now {
    width: 140px;
    height: 44px;
    padding: 8px 16px;
    font-size: 10px;
  }

  .lang {
    display: none;
  }

  .hamburger-menu{
  display: flex;
  z-index: 10;
  color: #ffffff !important;
cursor: pointer;

}

.navbar-inner{
  display: flex;
  justify-content: space-between;
  padding: 2%;
}
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 9999;

  display: flex;
  flex-direction: column;
  padding: 30px;
  color: #fff;
}

/* Header (close icon) */
.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
}

/* Links */
.mobile-menu-links {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mobile-menu-links a {
  color: #fff;
  font-size: 28px;
  text-decoration: none;
  letter-spacing: 1px;
}

/* CTA */
.mobile-book-now {
  margin-top: auto;
  background: #cdb89c;
  border: none;
  color: #fff;
  font-size: 18px;
  padding: 18px;
  border-radius: 999px;
  cursor: pointer;
}


/* hero */
/* .hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 100vh;
} */

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 5%; /* Adjust based on your design */
    color: #fff;
}

.hero {
  position: relative;
  margin: 0 20px;
  height: 100vh;
  border-radius: 50px !important;
  overflow: hidden;
}

.hero-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1) !important;
  display: block;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  top: 50%;
  display: flex;
  align-items: center;
  padding: 5%;
  color: #fff;
}

.hero-eyebrow {
  font: max(20px,1.2vw) "PlayFairDispaly";
  letter-spacing: 3px;
  opacity: 0.85;
  color: #ffffff;
}

/* TITLE */
.hero-content h1 {
  font: max(76px, 5.3vw) "IvyRegular";
  line-height: 1.15;
  margin: 20px 0;
  font-weight: 500;
}

/* TEXT */
.hero-text {
  font: max(20px,1.2vw) "GRegular";
  line-height: 1.6;
  width: 90%;
}

/* CTA */
.hero-cta {
  margin-top: 26px;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  background: #cdb89c;
  color: #fff;
  font: max(15px,0.8vw) "RobotoRegular";
  letter-spacing: 1px;
  cursor: pointer;
}


.hero-content-left{
  width: 65%;
}

.hero-content-right{
  width: 35%;
}

/* Large laptops */
@media (max-width: 1440px) {
  .hero-content {
    left: 60px;
    bottom: 60px;
  }

  .hero-text {
    width: 95%;
  }
}

@media (max-width: 1700px) {
  .hero {
    height: 100vh;
    background-size: cover;
  }

  .hero-content {
    left: 40px;
    bottom: 50px;
    width: calc(100% - 80px);
  }

  .hero-content-left {
    width: 70%;
  }

  .hero-content-right {
    width: 30%;
  }
}


/* Tablets / small laptops */
@media (max-width: 1024px) {
  .hero {
    height: 100vh;
    background-size: cover;
  }

  .hero-content {
    left: 40px;
    bottom: 50px;
    width: calc(100% - 80px);
  }

  .hero-content-left {
    width: 70%;
  }

  .hero-content-right {
    width: 30%;
  }
}

@media (max-width: 1533px) {
  .hero {
    margin: 20px;
  }
}

/* Tablets portrait */
@media (max-width: 768px) {
  .hero {
    height: 100vh;
    margin: 12px;
    border-radius: 24px;
  }

  .hero-content {
    position: absolute;
    left: 32px;
    right: 32px;
    top: 20%;
    bottom: 40px;
    width: auto;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-content-left,
  .hero-content-right {
    width: 100%;
  }

  .hero-text {
    width: 100%;
  }
}

/* Mobile */

@media (max-width: 700px) {
  .hero {
    height: 100vh;
    margin: 8px;
    border-radius: 20px;
  }

  .hero-content {
    left: 20px;
    right: 20px;
    bottom: 28px;
  }

  .hero-content h1 {
    font-size: max(40px, 9vw);
  }

  .hero-eyebrow {
    font-size: max(14px, 3.5vw);
  }

  .hero-text {
    font-size: max(16px, 4vw);
  }

  .hero-cta {
    padding: 12px 22px;
  }

  .hero-eyebrow{
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
@media (max-width: 480px) {
  .hero {
    height: 100vh;
    margin: 8px;
    border-radius: 20px;
  }

  .hero-content {
    left: 20px;
    right: 20px;
    bottom: 0;
    justify-content: center;
    gap: 100px;
  }

  .hero-content h1 {
    font-size: max(40px, 9vw);
    text-align: center;
  }

  .hero-eyebrow {
    font-size: max(14px, 3.5vw);
  }

  .hero-text {
    font-size: max(16px, 4vw);
    text-align: center;
  }

  .hero-cta {
    padding: 12px 22px;
    font-size: 13px;
  }

    .hero-eyebrow{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
  }

  .hero-content-right{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}


@media (max-width: 380px) {

    .hero-content {
    left: 20px;
    right: 20px;
    bottom: 0;
    justify-content: center;
    gap: 20px;
  }

}

/* ClinicIntroduction */
.clinicIntroduction{
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 4%;
}

.top-intro{
    display: flex;
    justify-content: space-between;
}

.top-intro-heading{
    width: 60%;
}
.top-intro-heading h1{
    font: max(76px, 4vw) "IvyRegular";
    color: var(--primary);
}

.top-intro-text{
    width: 35%;
}

.top-intro-text p{
    font: max(20px, 1.2vw) "RobotoRegular";
    color: #585656;
    line-height: 1.8

}

.bot-intro{
       display: flex;
       justify-content: flex-start;
       align-items: center;
    gap: 50px;

    overflow-x: auto;
    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;

    padding-bottom: 14px;


  cursor: grab;
  user-select: none;

  -webkit-overflow-scrolling: touch;
  position: relative;
}

.slider-card{
     min-width: 380px;
    height: 468px;
    padding: 20px;
    border-radius: 52.2px;
    background-size: 100%;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
      scroll-snap-align: start;
  position: relative;
}

.slider-card p{
  font: max(30px, 1.5vw) "RobotoRegular";
  color: #ffffff;
  z-index: 2;

}


.slider1{
    background: url("../static/media/slider1.0fd47420dc0723b42e07.webp");
}
.slider2{
    background: url("../static/media/slider2.40af97137ef6466cb4fc.webp");
}
.slider3{
    background: url("../static/media/slider3.0cd934b8602cc0970e28.webp");
}

.slider-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 52.2px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.15),
    transparent
  );
}

.bot-intro::-webkit-scrollbar {
  height: 6px;
}

.bot-intro::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 999px;
}

.bot-intro::-webkit-scrollbar-thumb {
  background: #b89b72;
  border-radius: 999px;
}

.bot-intro::-webkit-scrollbar-thumb:hover {
  background: #9f855f;
}

.scroll-hint {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  right: 20px;
  bottom: 44%;
  font-size: 24px;
  color: #b89b72;
  opacity: 0.8;
    z-index: 10;
  pointer-events: none;
  display: none;
}

@media (max-width: 1370px){
  .top-intro-heading{
    width: 58%;
  }

  .top-intro-text{
    width: 38%;
  }

  .top-intro-heading h1{
    font-size: 72px;
  }

  .top-intro-text p{
    font-size: 19px;
  }
}

@media (max-width: 1150px){
  .top-intro-heading{
    width: 56%;
  }

  .top-intro-text{
    width: 40%;
  }

  .top-intro-heading h1{
    font-size: 64px;
  }

  .top-intro-text p{
    font-size: 18px;
  }
}

@media (max-width: 960px){
  .top-intro{
    gap: 30px;
  }

  .top-intro-heading{
    width: 54%;
  }

  .top-intro-text{
    width: 42%;
  }

  .top-intro-heading h1{
    font-size: 56px;
  }

  .top-intro-text p{
    font-size: 17px;
  }
}

@media (max-width: 800px){
  .top-intro{
    flex-direction: column;
    gap: 28px;
  }

  .top-intro-heading,
  .top-intro-text{
    width: 100%;
  }

  .top-intro-heading h1{
    font-size: 48px;
  }

  .top-intro-text p{
    font-size: 17px;
  }
}

@media (max-width: 650px){
  .top-intro-heading h1{
    font-size: 40px;
  }

  .top-intro-text p{
    font-size: 16px;
    line-height: 1.7;
  }

  .scroll-hint {
  display: flex;

}
}

@media (max-width: 500px){
  .top-intro-heading h1{
    font-size: 34px;
  }

  .top-intro-text p{
    font-size: 15px;
  }
}

@media (max-width: 470px){
  .top-intro-heading h1{
    font-size: 30px;
  }

  .top-intro-text p{
    font-size: 14.5px;
    line-height: 1.6;
  }

  .bot-intro{
       display: flex;
       justify-content: center;
       align-items: center;
      }


}

/* SecondIntro */
.secondintro{
    display: flex;
     background-color: rgba(245, 246, 248, 0.95);

}

.left-second-intro{
    width: 40%;
}

.right-second-intro{
    width: 60%;
    padding: 2% 6%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 80px;
}

.right-second-intro h1{
    font: max(76px, 4vw) "IvyRegular";
    color: var(--primary);
    width: 100%;
}

.imgintro2{
    width: 100%;
    /* height: 85vh; */
}

.left-second-holder{
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-holder{
    width: 85%;
    text-align: left;
    display: flex;
    justify-content: flex-start;

}

.text-holder p{
    font: max(19px, 1.1vw) "RobotoRegular";
    color: #585656;
    line-height: 1.8;
}

@media (max-width: 1370px){
  .left-second-intro{
    width: 42%;
  }

  .right-second-intro{
    width: 58%;
    gap: 70px;
  }

  .right-second-intro h1{
    font-size: 72px;
  }

  .text-holder p{
    font-size: 18.5px;
  }
}


@media (max-width: 1234px){
.secondintro{
    flex-direction: column;
    gap: 60px;
}

.left-second-holder{
    justify-content: center !important;
    align-items: center !important;
    width: 60% !important;
}

.left-second-intro{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.right-second-intro{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.right-second-intro h1{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.right-second-intro p{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

}

@media (max-width: 800px){

.right-second-intro h1{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: max(40px,2.5vw);
}
.text-holder {
    width: 100%;
}

.left-second-holder{
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

}

/* Highlight */

.highlight{
    width: 100%;
    background: url("../static/media/highlight.90508aefdf69804a92bc.webp");
    background-size: cover;
    background-repeat: no-repeat;
    /* height: 70vh; */
    background-position: center;
    padding: 3% 4%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: center;
}

.high-header h1{
    color: #ffffff;
    font: max(70px,3.8vw) "IvyRegular";
    line-height: 1.4;
}

.high-text p{
    font: max(19px,1.1vw) "RobotoRegular";
    color: #ffffff;
}

.high-buttons{
    display: flex;
    gap: 10px;
}

.high-button1{
    width: max(220px,12.2vw);
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    font: max(15px,0.9vw) "RobotoRegular";
    padding: 20px;
}

.high-button2{
    width: max(240px,15vw);
    background-color: #ffffff;
    color: #111111;
    border: none;
       font: max(15px,0.9vw) "RobotoRegular";
        padding: 20px;
}

@media (max-width: 1370px){
  .high-header h1{
    font-size: 66px;
  }

  .high-text p{
    font-size: 18.5px;
  }
}

@media (max-width: 1150px){
  .highlight{
    padding: 4% 6%;
  }

  .high-header h1{
    font-size: 60px;
  }

  .high-text p{
    font-size: 18px;
  }
}

@media (max-width: 960px){
  .highlight{
    gap: 32px;
  }

  .high-header h1{
    font-size: 54px;
  }

  .high-text p{
    font-size: 17px;
  }
}

@media (max-width: 800px){
  .highlight{
    padding: 70px 8%;
    gap: 28px;
  }

  .high-header h1{
    font-size: 46px;
    line-height: 1.3;
  }

  .high-buttons{
    flex-direction: column;
    gap: 14px;
  }

  .high-button1,
  .high-button2{
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 650px){
  .high-header h1{
    font-size: 38px;
  }

  .high-text p{
    font-size: 16px;
    line-height: 1.7;
  }

  .highlight{
    justify-content: center;
    align-items: center;
  }
   .highlight h1, .highlight p{
    text-align: center;
  }
}


/* Treatments */

.treatments{
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 4%;
}

.top-treatments{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%;
}

.top-treatments h1{
    font: max(75px, 3.8vw) "IvyRegular";
    color: var(--primary);
}

.top-treatments p{
    font: max(19px, 1.1vw) "RobotoRegular";
    color: #585656;
}

.bot-treatments{
  width: 80%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 100px;
}

.treatments-box-cards{
    display: flex;
    justify-content: center;
    align-items: center;
}

.treatments-cards{
  background-color: #ffffff;
  border-radius: 28px;
  overflow: hidden;
    min-width: 500px;
  display: flex;
  flex-direction: column;
padding: 8px;
border: 1px solid #E0E0E0;
cursor: pointer;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.treatments-cards:hover{
  transform: translateX(-8px) rotate(2.51deg);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.18);
}

.treatments-cards::before{
  content: "";
  width: 100%;
  height: 260px;
  background-size: cover;
  background-position: center;
  display: block;
}

.trcard1::before{
  background-image: url("../static/media/card1.de34a8c9bb14ad623b84.webp");
   border-radius: 28px;
}

.trcard2::before{
  background-image: url("../static/media/card2.d38b57072b253cdfc318.webp");
   border-radius: 28px;
}

.trcard3::before{
  background-image: url("../static/media/card3.1b2cb25977cdb8bb6dd9.webp");
   border-radius: 28px;
}

.trcard4::before{
    background-image: url("../static/media/card4.771deeb5ff815f9b7a1c.webp");
     border-radius: 28px;
}

.treatments-cards::after{
  padding: 24px 26px;
  font-family: "IvyRegular";
  font-size: 22px;
  color: #111111;
}

.treatments-cards p{
    padding: 5% 1%;
    font: max(25px,1.35vw) "IvyRegular";
}

@media (max-width: 800px){
  .bot-treatments{
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .treatments-cards::before{
    height: 220px;
  }
}

@media (max-width: 1370px){
  .top-treatments h1{
    font-size: 68px;
  }

  .top-treatments p{
    font-size: 18px;
  }

  .bot-treatments{
    width: 85%;
    gap: 80px;
  }

  .treatments-cards{
    min-width: 460px;
  }
}

@media (max-width: 1150px){
  .top-treatments{
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .top-treatments h1{
    font-size: 60px;
  }

  .top-treatments p{
    font-size: 17px;
  }

  .bot-treatments{
    width: 90%;
    gap: 70px;
  }

  .treatments-cards{
    min-width: 420px;
  }
}

@media (max-width: 960px){
  .top-treatments h1{
    font-size: 52px;
  }

  .bot-treatments{
    width: 100%;
    gap: 60px;
  }

  .treatments-cards{
    min-width: 380px;
  }

  .treatments-cards::before{
    height: 230px;
  }
}

@media (max-width: 800px){
  .top-treatments{
    padding: 0;
  }

  .top-treatments h1{
    font-size: 46px;
  }

  .top-treatments p{
    font-size: 16px;
  }

  .bot-treatments{
    gap: 40px;
  }

  .treatments-cards{
    min-width: 100%;
  }

  .treatments-cards:hover{
    transform: none;
  }
}

@media (max-width: 650px){
  .top-treatments h1{
    font-size: 38px;
  }

  .treatments-cards::before{
    height: 210px;
  }

  .treatments-cards p{
    font-size: 22px;
  }
}

@media (max-width: 500px){
  .treatments{
    padding: 6% 4%;
  }

  .top-treatments h1{
    font-size: 32px;
  }

  .top-treatments p{
    font-size: 15px;
  }

  .treatments-cards::before{
    height: 190px;
  }

  .treatments-cards p{
    font-size: 20px;
  }
}

@media (max-width: 470px){
  .top-treatments h1{
    font-size: 28px;
  }

  .top-treatments p{
    font-size: 14.5px;
    line-height: 1.6;
  }

  .treatments-cards::before{
    height: 170px;
  }

  .treatments-cards p{
    font-size: 18px;
  }
}
/* ExpertCare */
.expertcare{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.expertCare-top{
    padding: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.ex-header h1{
    font: max(70px,3.8vw) "IvyRegular";
    text-align: center;
}

.ec-logo{
    width: max(220px, 11vw);
    height: max(50px,3.2vw);
    display: flex;
    justify-content: center;
    align-items: center;
}

.ec-logo-img{
    width: 38%;
    height: 100%;
}


.expertCare-bot{
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 24px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}


.gallery-row{
  display: inline-flex;
  width: max-content;
  gap: 24px;

  position: relative;
  left: 50%;
  transform: translateX(-50%);
}





.gallery-row img{
  height: 220px;
  width: 340px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}




@media (max-width: 960px){
  .expertCare-bot{
    padding: 18px 0 22px;
    gap: 20px;
  }

  .gallery-row{
    gap: 18px;
  }

  .gallery-row img{
    height: 190px;
    width: 300px;
    border-radius: 22px;
  }

  .row-2{
    transform: translateX(calc(-50% + 80px));
  }
}

@media (max-width: 650px){
  .gallery-row img{
    height: 170px;
    width: 260px;
    border-radius: 20px;
  }

  .row-2{
    transform: translateX(calc(-50% + 60px));
  }
}

@media (max-width: 500px){
  .gallery-row img{
    height: 150px;
    width: 230px;
    border-radius: 18px;
  }

  .row-2{
    transform: translateX(calc(-50% + 40px));
  }
  .ex-header h1{
    font-size: 40px;
}
}

/* Footer */

.footer{
    display: flex;
    flex-direction: column;
    gap: 80px;

    background: url("../static/media/footerBack.9c1c9aa7f60ff9773ae8.png");
    background-repeat: no-repeat;
    background-size: cover;

}

.top-footer{
    display: flex;
    justify-content: space-between;
    padding: 4% 4% 2% 4%;

}

.left-top-footer{
    width: 30%;
}

.right-top-footer{
    width: 70%;
}

.footer-links{
    display: flex;
    justify-content: space-around;
}

.bot-footer{
    display: flex;
    justify-content: space-between;
}

.privacy{
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

.quick h1{
    font: max(20px,1.2vw) "IvyRegular";
    color: #222222;
    font-weight: 600;
}

.quick a{
    text-decoration: none;
    color: #222222;
    font: max(16px,0.9vw) "GRegular";
}

.quick p{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    font: max(16px,0.9vw) "GRegular";
}


.bot-footer{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 28px 5%;
  overflow: hidden;

  z-index: 1;
}

.bot-footer{
  position: relative;
  overflow: hidden;
}





.socials{
  display: flex;
  justify-content: flex-start;
  width: 20%;
  gap: 16px;
  z-index: 2;
  position: absolute;
  right: 2.7%;
}

.socials i{
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #0a1a44;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
}
.privacy{
  display: flex;
  justify-content: center;
  gap: 24px;
    position: absolute;
  left: 50%;
}

.privacy p{
  cursor: pointer;
  color: #333;
text-decoration: underline;
  z-index: 1;

}

.bluebar{
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100px;
}

.copyright{
    font-weight: 600;
}


@media (max-width: 1126px) {

  .bluebar {
    display: none;
  }

  .bot-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    text-align: center;
    padding: 8%;
  }

  .socials,
  .privacy {
    justify-content: center;
  }



}

/* ======================================================
   BREAKPOINT ≤ 768px  (mobile)
====================================================== */
@media (max-width: 985px) {

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

  .left-top-footer,
  .right-top-footer {
    width: 100%;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .quick p {
    justify-content: center;
  }

  .bot-footer {
    padding: 24px 4%;
  }

  .socials i {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 942px) {
  .bot-footer {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: static;
  }

  .socials{
  position: static;
}

.privacy{

    position: static;

}
}
