:root {
  --primary-color: #7f669d;
  --primary-light: #b695d6;
  --white: #ffffff;
  --half-white: #e1dede;
  --black: #000000;
  --gray: gray;
  --text-primary: #49516f;
  --gap: clamp(14px, 1.2vw, 22px);
  --radius: clamp(12px, 0.9vw, 18px);
  --color-1: #d29f80;
  --color-2: #6b3f69;
  --color-3: #896c6c;
  --color-4: #e5989b;
  --color-5: #b5828c;
  --color-6: #a376a2;
}

/* @import url("https://fonts.googleapis.com/css2?family=Herr+Von+Muellerhoff&display=swap"); */

body {
  background-color: var(--primary-color) !important;
}

nav {
  background-color: var(--primary-color) !important;
}

.brand {
  color: #fff !important;
  font-weight: 900 !important;
  font-size: 36px !important;
  /* font-style: italic !important; */
  font-family: "The Nautigal", cursive !important;
  font-style: normal;
  margin: 0 !important;
  padding: 0 !important;
}

.italic {
  font-family: "The Nautigal", cursive !important;
  font-size: 80px !important;
  font-weight: bolder !important;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  display: block;
  margin: auto;
  margin-left: 40px !important;
}

.navbar-nav .nav-link:hover {
  color: var(--half-white) !important;
}

.navbar-nav .active {
  background-color: var(--white) !important;
  padding: 8px 30px !important;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  color: var(--black) !important;
}

.navbar-nav .active:hover {
  color: var(--black) !important;
}

.banner-img {
  width: 100% !important;
  height: 75vh;
}

.section-card {
  background-color: var(--white) !important;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  padding: clamp(20px, 3vw, 70px);
  border-radius: 30px;
}

.title {
  color: var(text-primary);
  font-size: 30px !important;
  font-weight: bold !important;
  position: relative;
  display: inline-block;
}

/* Underline (90% width) */
.title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px; /* distance under text */
  width: 90%;
  height: 6px; /* underline thickness */
  background-color: var(--primary-color);
  border-radius: 12px;
}

/* Dots aligned perfectly to underline */
.title::before {
  content: "...";
  position: absolute;
  left: 93%; /* begins exactly after underline */
  bottom: -8px; /* this aligns dots vertically to underline */
  font-size: 26px;
  color: var(--primary-color);
  letter-spacing: 4px;
  line-height: 1; /* prevents vertical shift */
}

.pargrapha-text {
  color: var(--gray);
  font-size: clamp(12px, 1.8vw, 18px);
}

.secoand-title {
  color: var(text-primary);
  font-size: 24px !important;
  font-weight: bold !important;
  position: relative;
  display: inline-block;
  text-decoration: underline;
}

ul {
  list-style-position: outside; /* keep bullets outside */
  padding-left: 20px; /* control left space */
}

ul li {
  margin-bottom: 18px; /* space between list items */
  padding-left: 20px;
}

.hero1 {
  position: relative;
}

/* big elliptical gradient “half-circle” */
.blob {
  position: absolute !important;
  width: clamp(500px, 6vw + 520px, 700px) !important;
  height: clamp(3vw + 520px, 6vw + 520px, 10vw + 400px) !important;
  right: clamp(-170px, 6vw, -120px) !important;
  bottom: clamp(
    -220px,
    6vw,
    -220px
  ) !important; /* push it into a corner to show a curved edge */
  border-radius: 50% !important;
  background: radial-gradient(
    120% 120% at 30% 30%,
    var(--primary-color) 0%,
    var(--primary-light) 55%,
    var(--primary-color) 100%
  );
  box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.12);
  filter: saturate(105%);
}

/* doctor image above the blob */
.doctor {
  position: relative;
  z-index: 1;
  max-width: 380px;
  height: auto;
  object-fit: contain;
  /* subtle lift */
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.25));
  margin-top: 50px;
  margin-left: 50px;
  /* box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px; */
}

.hide-over-flow {
  overflow: hidden !important;
}

.par-text {
  color: var(--gray);
  font-size: clamp(18px, 1.8vw, 21px);
  text-indent: 8rem;
  line-height: 40px;
  text-align: justify;
}

.list-text {
  color: var(--gray);
  font-size: clamp(18px, 1.8vw, 21px);
  text-indent: 2rem;
  line-height: 20px;
  text-align: justify;
}

.doctor-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
}

.doctor-list li {
  font-size: 18px;
  color: #333;
  padding: 12px 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: color 0.3s ease, transform 0.3s ease;
}

.doctor-list li:last-child {
  border-bottom: none;
}

.list {
  border-bottom: none !important;
  line-height: 10px !important;
  padding: 0px 0 !important;
}

.doctor-list li i {
  font-size: 20px;
  color: #896c6c; /* your brand violet */
  margin-right: 12px;
  background: rgba(106, 75, 198, 0.1);
  padding: 8px;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.doctor-list li:hover i {
  background: #896c6c;
  color: white;
  transform: scale(1.1);
}

.doctor-list li:hover {
  color: #896c6c;
  transform: translateX(4px);
}

.doctor-list1 {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
}

.doctor-list1 li {
  font-size: 18px;
  color: #333;
  display: flex;
  align-items: center;
}

.doctor-list1 li:last-child {
  border-bottom: none;
}

.doctor-list1 li i {
  font-size: 20px;
  color: #777c6d; /* your brand violet */
  margin-right: 12px;
  background: rgba(106, 75, 198, 0.1);
  padding: 8px;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.doctor-list1 li:hover i {
  background: #777c6d;
  color: white;
  transform: scale(1.1);
}

.doctor-list1 li:hover {
  color: #777c6d;
  transform: translateX(4px);
}

/* Grid that matches your image */
.grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr 1fr 1.4fr 1.2fr;
  grid-auto-rows: 220px; /* base row height */
  grid-template-areas:
    "a b c d"
    "e f f d";
}

/* Each card */
.card {
  border-radius: var(--radius);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  /* align-items: center; */
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  font-size: clamp(16px, 1.6vw, 20px);
}

/* Placeholders + colors (adjust freely) */
.a {
  grid-area: a;
  background: var(--color-1) !important;
}
.b {
  grid-area: b;
  background: var(--color-4) !important;
}
.c {
  grid-area: c;
  background: var(--color-5) !important;
}
.d {
  grid-area: d;
  background: var(--color-2) !important;
} /* tall one (spans 2 rows) */
.e {
  grid-area: e;
  background: var(--color-3) !important;
}
.f {
  grid-area: f;
  background: var(--color-6) !important;
  /* color: #333; */
} /* wide one (spans 2 cols) */

/* Make the tall card truly fill two rows */
.d {
  min-height: calc(220px * 2 + var(--gap));
}

/* ---------- Responsive breakpoints ---------- */

/* Large tablets / small laptops */
@media (max-width: 992px) {
  .grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: 200px;
    grid-template-areas:
      "a b d"
      "c f d"
      "e f d";
  }
  .d {
    min-height: calc(200px * 3 + var(--gap) * 2);
  }
}

/* Tablets */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
    grid-template-areas:
      "a d"
      "b d"
      "c f"
      "e f";
  }
  .d {
    min-height: calc(180px * 2 + var(--gap));
  }
}

/* Phones */
@media (max-width: 520px) {
  .grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    grid-template-areas:
      "a"
      "b"
      "c"
      "d"
      "e"
      "f";
  }
  .card {
    min-height: 180px;
  }
  .d {
    min-height: 260px;
  }
}

.card-text {
  color: var(--text-primary) !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  text-align: start !important;
}

.button-style {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 5px 20px !important;
  list-style: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
  font-size: 16px;
  border-radius: 20px;
}

.button-style:hover {
  color: var(--white);
  background-color: var(--primary-light);
}

.button-style1 {
  background-color: var(--white);
  color: #962167;
  padding: 5px 20px !important;
  list-style: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
  font-size: 16px;
  border-radius: 20px;
  display: block !important;
}

.button-style1:hover {
  color: #962167;
  background-color: var(--half-white);
}

.button-style2 {
  background-color: var(--white);
  color: #2582a3;
  padding: 5px 20px !important;
  list-style: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
  font-size: 16px;
  border-radius: 20px;
  display: block !important;
}

.button-style2:hover {
  color: #2582a3;
  background-color: var(--half-white);
}

.button-style3 {
  background-color: var(--white);
  color: #006b96;
  padding: 5px 20px !important;
  list-style: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
  font-size: 16px;
  border-radius: 20px;
  display: block !important;
}

.button-style3:hover {
  color: #006b96;
  background-color: var(--half-white);
}

.card-img-top {
  object-fit: contain !important;
}

:root {
  --hero-overlay: rgba(0, 0, 0, 0.4);
}

.hero-wrap {
  position: relative;
  min-height: 90vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.contact-section {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--hero-overlay), var(--hero-overlay)),
    url("./img/pexels-mart-production-7089625.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(0.95);
}

/* Content Above Overlay */
.contact-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 450px;
  width: 100%;
}

.contact-content h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 10px;
}

.contact-content p {
  margin-bottom: 25px;
  font-size: clamp(14px, 1.4vw, 18px);
}

/* FORM */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  border: none;
  border-radius: 8px;
  outline: none;
  font-size: 15px;
  font-family: inherit;
}

.contact-form button {
  width: 100%;
  padding: 12px;
  background: var(--primary-color);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  color: var(--white);
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: var(--primary-light);
}

/* Hero with diagonal gradient and floating shapes */
.hero {
  /* position: relative;
  background: linear-gradient(135deg, #dac2f8 0%, #b695d6 60%, #eef7ff 100%);
  overflow: hidden; */
  /* position: absolute; */
  inset: 0;
  background-image: linear-gradient(#0000007e, #0000007e),
    url("./img/pexels-shkrabaanthony-5214962.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(0.95);
}

.blob1 {
  position: absolute;
  filter: blur(20px);
  opacity: 0.35;
  z-index: 0;
  animation: float 16s ease-in-out infinite;
}

.blob1.one {
  width: 420px;
  height: 420px;
  /* background: var(--primary-light); */
  top: -120px;
  left: -120px;
}

.blob1.two {
  width: 360px;
  height: 360px;
  background: var(--black);
  bottom: -120px;
  right: -80px;
  animation-delay: -5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

.btn-brand {
  --bs-btn-bg: var(--primary-color);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-ink);
  --bs-btn-hover-border-color: var(--brand-ink);
  --bs-btn-color: var(--white);
  --bs-btn-padding-x: 1.15rem;
  --bs-btn-padding-y: 0.7rem;
  box-shadow: 0 6px 16px var(--primary-color);
}

.box-shadow {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.box-shadow2 {
  box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}

.border-round {
  border-radius: 20px !important;
}

.hero-img {
  /* border-radius: 50% 50% 50% 50%; */
  margin-top: 20px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  width: 420px !important; /* ellipse width  */
  height: 500px !important; /* ellipse height (taller = vertical) */
  border-radius: 50%; /* makes it a perfect ellipse */
  background: transparent;
  background-color: var(--primary-color) !important;
}

/* .review-card {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
  border-radius: 30px;
  border: rgb(221, 221, 221) 1px solid;
  padding: 10px;
} */

.main-color {
  color: var(--primary-color) !important;
}

.card-style {
  border: none !important;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset !important ;
  margin-top: 10px;
  cursor: pointer !important;
}

.margin-auto {
  margin: 0 auto !important;
}

.testimonial {
  background: #fff;
  text-align: center;
  padding: 30px 30px 30px 30px;
  margin: 0 15px 100px;
  position: relative;
}
.testimonial:before,
.testimonial:after {
  content: "";
  border-top: 40px solid #fff;
  border-right: 125px solid transparent;
  position: absolute;
  bottom: -40px;
  left: 0;
}
.testimonial:after {
  border-right: none;
  border-left: 125px solid transparent;
  left: auto;
  right: 0;
}
.testimonial .icon {
  display: inline-block;
  font-size: 40px;
  color: #bd986b;
  margin-bottom: 20px;
  opacity: 0.6;
}
.testimonial .description {
  font-size: 15px;
  color: #777;
  text-align: left;
  margin-bottom: 30px;
  opacity: 0.8;
}
.testimonial .testimonial-content {
  width: 100%;
  position: absolute;
  left: 0;
}
.testimonial .pic {
  display: inline-block;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 2px 2px #daad86;
  overflow: hidden;
  z-index: 1;
  position: relative;
}
.testimonial .pic img {
  width: 100%;
  height: auto;
}
.testimonial .t-title {
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  text-transform: capitalize;
  margin: 0 0 5px 0;
}
.testimonial .post {
  display: block;
  font-size: 14px;
  color: #ffd9b8;
}
.owl-theme .owl-controls {
  margin-top: 0;
}
.owl-theme .owl-controls .owl-page span {
  width: 32px;
  height: 10px;
  background: #fff;
  border: 2px solid #bd986b;
  margin: 5px;
  opacity: 1;
}
.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span {
  background: #ffd9b8;
  border-color: #fff;
}
@media only screen and (max-width: 650px) and (min-width: 400px) {
  .testimonial:before {
    border-right: 325px solid transparent;
  }
  .testimonial:after {
    border-left: 325px solid transparent;
  }
}

.review-bg {
  background-image: url("./img/bg.png");
  /* width: 350px !important; */
  height: 300px;
  background-repeat: no-repeat;
  background-size: contain !important;
  background-position: center;
  position: relative;
  padding-right: 10px;
}

.card-design {
  width: 75%;
  margin: auto;
  text-align: left !important;
}

.text-small {
  font-size: 12px !important;
  text-transform: uppercase;
}

.header-review {
  margin-top: 20px;
}

@media (max-width: 600px) {
  .review-text {
    font-size: 90% !important;
  }
  .header-review {
    font-size: 90%;
  }

  .hero-img {
    /* border-radius: 50% 50% 50% 50%; */
    margin-top: 20px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
      rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
      rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
    width: 340px !important; /* ellipse width  */
    height: 380px !important; /* ellipse height (taller = vertical) */
    border-radius: 50%; /* makes it a perfect ellipse */
    background: transparent;
    background-color: var(--primary-color) !important;
  }
  .doctor {
    width: 320px;
  }
}
