@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap");
/* styles.css */
/* ========= General Reset and Base Styles ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background: #fff;
  color: #222;
  line-height: 1.5;
  font-family: "Red Hat Display", sans-serif;
}
.red-hat-display {
  font-family: "Red Hat Display", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

/* ========= 1. Hero Section ========= */
.hero-section {
  position: relative;
  height: 60dvh;
  overflow: visible;
}

.hero-section video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.7;
  pointer-events: none; /* Optional: allows clicks through video */
}
.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -55%);
  width: 100%;
  text-align: center;
  color: #fff;
}
.hero-overlay h1 {
  font-size: 2.45rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.btn-main {
  background: linear-gradient(90deg, #e3376d 0%, #ed814a 100%);
  border: none;
  color: #fff;
  padding: 12px 40px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.18s;
}
.btn-main:hover {
  background: #d13d3d;
}
.bottom-bar {
  position: absolute; /* or fixed within hero */
  display: flex;
  justify-content: center;
  bottom: 0;
  width: 70%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  z-index: 2;
  background: transparent;
}
.black-bar {
  background: #000;
  color: #fff;
  padding: 8px 12px;
  display: flex;
  gap: 12px;
}
.form-btn {
  align-items: center;
}
.h-num p {
  margin-bottom: 0;
}
.black-bar h3 {
  font-size: 18px;
}
.black-bar p {
  font-size: 10px;
  margin-bottom: 0;
}
.white-bar {
  background: #fff;
  display: flex;
  gap: 20px;
  padding: 8px 12px;
  font-size: 12px;
  align-items: center;
  border: 1px solid #e95f5c;
}
.opening {
  color: #33abe0;
  margin-right: 2px;
}
.black-bar h3 {
  margin-bottom: 0;
}
.hero-section {
  position: relative;
}
@media (max-width: 768px) {
  .bottom-bar {
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
  }
  .black-bar {
    align-items: center;
    padding: 4px 8px;
  }
  .form-btn label {
    margin-bottom: 0;
  }
  .black-bar p {
    display: none;
  }
  .bottom-bar h3 {
    font-size: 10px;
  }
  .white-bar {
    display: flex;
    font-size: 8px;
  }
  .white-bar p {
    display: none;
  }
}

/* Hide the form by default */
.dropdown-form-overlay {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  background: linear-gradient(90deg, #ec5c96 0%, #fc9668 100%);
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.toggle-form-checkbox:checked ~ .dropdown-form-overlay {
  max-height: 600px; /* adjust based on form height */
  opacity: 1;
  padding: 40px 0;
}

@keyframes dropdown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form styles */
.dropdown-form {
  width: 95%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: transparent;
}

.form-row {
  display: flex;
}

.input-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 13px;
  font-size: 1.1rem; /* adjust if using SVG */
  color: #ec5c96; /* matches the form palette */
  pointer-events: none;
  z-index: 2;
}

.input-wrapper input[type="text"],
.input-wrapper input[type="tel"],
.input-wrapper input[type="date"] {
  width: 100%;
  padding: 10px 10px 10px 36px;
  border: 1px solid #e1e1e1;
  color: white !important;
  -webkit-text-fill-color: white;
  background: transparent;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border 0.2s;
}

.input-wrapper.file-group {
  min-width: 170px;
  flex: none;
  display: flex;
  align-items: center;
  position: relative;
}

.input-wrapper.file-group input[type="file"] {
  display: none;
}

.file-upload-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
}

.file-input {
  display: none;
}

.file-upload-field {
  display: flex;
  align-items: center;
  width: 100%;
  border: 1.5px solid #fff;
  padding: 0 3px;
  background: transparent;
  min-height: 44px;
  box-sizing: border-box;
  position: relative;
  gap: 10px;
}

.file-name {
  color: #fff;
  font-size: 14px;
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upload-btn {
  padding: 0;
  background: #fff;
  padding: 8px;
  color: black; /* Use your theme's accent color */
  border: none;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.upload-btn:hover,
.upload-btn:focus {
  background: #ed7e4c;
  color: #fff;
}

.textarea-wrapper {
  position: relative;
  width: 100%;
}
.textarea-wrapper .input-icon {
  top: 18px;
  left: 12px;
}
.dropdown-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 10px 10px 10px 36px;
  border: 1px solid #e1e1e1;
  color: white !important;
  -webkit-text-fill-color: white;
  border-radius: 5px;
  font-size: 14px;
  resize: vertical;
  background: transparent;
  font-family: inherit;
}

.send-btn {
  align-self: flex-start;
  margin-top: 4px;
  background: #fff;
  border: none;
  color: black;
  padding: 9px 30px 9px 30px;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  letter-spacing: 0.02em;
}
.send-btn:hover {
  background: #ec5c96;
  color: #fff;
}
.dropdown-form-mobile {
  display: none;
}
/* Responsive adjustments */
@media (max-width: 620px) {
  .dropdown-form-mobile {
    width: 95%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: transparent;
  }
  .hero-section {
    height: 40dvh;
  }
  .dropdown-form-mobile textarea {
    width: 100%;
    min-height: 50px;
    padding: 10px 10px 10px 36px;
    border: 1px solid #e1e1e1;
    color: white !important;
    -webkit-text-fill-color: white;
    border-radius: 5px;
    font-size: 14px;
    resize: vertical;
    background: transparent;
    font-family: inherit;
  }

  .send-btn-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .upload-btn {
    font-size: 8px;
    padding: 10px;
  }
  .dropdown-form {
    display: none;
  }
  .form-row-mobile {
    display: flex;
  }
  .send-btn {
    width: fit-content;
    align-self: center;
    font-size: 14px;
    padding: 12px 20px;
  }
}

/* Optional: gradient background for form wrapper area (matches your image) */
.dropdown-form-overlay {
  background: linear-gradient(90deg, #ec5c96 0%, #fc9668 100%);
}

/* ========= 2. Four Cards Section ========= */
.cards-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  max-height: 100dvh;
  padding: 80px;
  align-items: center;
  justify-content: center;
}
.cards-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 90%;
  max-width: 1250px;
  z-index: 3;
  position: relative;
}
.card {
  background: #fff;
  border: 1px solid #96969540;
  padding: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  transition: box-shadow 0.2s;
  margin-right: 20px;
}
.card-content h3 {
  font-size: 20px;
}
.card .icon {
  background: #f7faff;
  border-radius: 100%;
  padding: 20px;
}
.card p {
  color: #61717d;
  margin-top: 10px;
  font-size: 13px;
}
.card .arrow {
  margin-left: auto;
  background: linear-gradient(180deg, #e3376d 0%, #ed814a 100%);
  font-size: 1.6rem;
  transition: transform 0.15s;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 100%;
  cursor: pointer;
}
.card {
  position: relative; /* make card a positioned parent */
}

/* Desktop: center the button vertically and stick it to the right edge */
@media (min-width: 481px) {
  .card .arrow {
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0; /* remove auto margin */
  }
}

/* Mobile: keep button in the normal flow */
@media (max-width: 768px) {
  .card .arrow {
    position: static;
    transform: none;
    margin-left: 0;
    align-self: center;
    margin-top: 16px;
  }
}

/* Responsive adjustments */
@media (max-width: 1000px) {
  .cards-wrapper {
    height: fit-content;
    padding: 30px 0;
  }
  .cards-section {
    max-width: 700px;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr); /* keep 2 columns */
  }
  .card {
    padding: 24px 12px;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .cards-section {
    grid-template-columns: repeat(2, 1fr); /* force 2 cards side by side */
    max-width: 420px !important;
    gap: 16px;
  }
  .card {
    flex-direction: row;
    padding: 24px 24px;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .cards-wrapper {
    min-height: unset;
    padding: 24px;
  }
  .cards-section {
    grid-template-columns: repeat(2, 1fr); /* 2 side by side on phone */
    max-width: 95vw;
    gap: 10px;
  }
  .card {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    gap: 8px;
    margin-right: 0;
  }
  .card .arrow {
    align-self: flex-end;
    padding: 14px;
  }
  .card .icon {
    padding: 10px;
  }
  .card h3 {
    font-size: 14px;
    text-align: center;
  }
  .card p {
    font-size: 10px;
    text-align: center;
  }
}

/* Specialities & Procedures Section CSS */

.specialities-section {
  position: relative;
  padding: 40px 0 0 0;
  background: #f9fafd;
  height: 90dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.specialities-container {
  width: 85%;
  max-width: 1250px;
  margin: 0 auto;
}

.specialities-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  margin-bottom: 25px;
}

.specialities-header > div:first-child {
  flex: 1;
}

.specialities-header h2 {
  font-size: 1.3rem;
  margin: 0 0 10px 0;
  font-weight: 600;
}

.specialities-header p {
  color: #707070;
  margin-bottom: 20px;
  font-size: 0.97rem;
  line-height: 1.5;
  max-width: 430px;
}

.specialities-btn {
  background: linear-gradient(90deg, #e3376d 0%, #ed814a 100%);
  border: none;
  color: #fff;
  padding: 12px 40px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.18s;
}

.specialities-btn:hover {
  background: #f15949;
}

.doctor-img {
  position: absolute;
  width: 500px;
  top: 40px;
  left: 50%;
  max-width: 100%;
  border-radius: 7px;
  object-fit: cover;
  margin-top: -40px;
}

.tabs {
  margin: 40px 0 24px 0;
  font-size: 1.13rem;
  display: flex;
  gap: 18px;
}

.tab {
  padding: 0 0 9px 0;
  font-weight: 500;
  color: #b0b1b3;
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  transition: color 0.18s;
  margin-right: 8px;
}

.tab.active {
  color: #26272c;
  border-bottom: 2.5px solid #ff7b6f;
}

.specialities-list {
  display: flex;
  justify-content: flex-start;
  gap: 28px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.speciality-card-home {
  border-radius: 14px;
  width: 22%;
  padding: 0px 0px 14px 0px;
  transition: box-shadow 0.16s, transform 0.13s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  min-height: 180px;
}
.card-desktop {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.card-header-treatment {
  display: flex;
  padding: 14px 20px 14px 0;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.card-header-treatment img {
  width: 32px;
  height: 32px;
}
.card-desc {
  font-size: 14px;
  color: #545454;
  line-height: 1.55;
  padding: 20px 20px 20px 0;
  flex: 1;
}

.speciality-card-home h3 {
  margin: 0 0 9px 0;
  font-size: 1.09rem;
  font-weight: 600;
  color: #181c21;
}

.speciality-card-home p {
  color: #7c8185;
  font-size: 0.97rem;
  margin-bottom: 14px;
}

.speciality-card-home a {
  color: #26272c;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 20px 20px 20px 0;
}

.speciality-card-home a:hover {
  color: #f15949;
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
.card-mobile {
  display: none;
}
.extra-card {
  display: none;
}

/* Responsive */
@media (max-width: 900px) {
  .specialities-section {
    height: fit-content;
  }
  .doctor-img {
    display: none;
  }
  .specialities-header {
    flex-direction: column;
    gap: 22px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .specialities-list {
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 40px;
  }
  .speciality-card-home {
    width: 47%;
    margin-bottom: 13px;
  }
  .tabs {
    display: flex;
    justify-content: center;
  }
  .speciality-card-home a {
    padding: 0;
    margin-bottom: 10px;
  }
}

@media (max-width: 600px) {
  .specialities-container {
    margin: 24px;
  }
  .specialities-list {
    flex-direction: column;
    gap: 10px;
  }
  .speciality-card-home {
    width: 100%;
    min-width: 0;
    min-height: fit-content;
    box-sizing: border-box;
  }
  .card-mobile {
    display: flex;
    height: 100%;
    gap: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
  }
  .extra-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    width: 48%; /* For two cards side by side on mobile */
    box-sizing: border-box;
    margin-bottom: 10px;
  }
  .card-mobile p {
    font-size: 10px;
  }
  .card-desktop {
    display: none;
  }
  .specialities-list {
    flex-direction: row; /* Make it a row instead of column */
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between; /* Optional: space or center cards */
  }
  .speciality-card-home {
    width: 48%; /* Allows for two cards per row */
    min-width: 0;
    min-height: fit-content;
    box-sizing: border-box;
    margin-bottom: 0; /* Remove extra bottom margin */
  }
}

/* Meet Our Doctor */

.doctors-section {
  position: relative;
  padding: 40px 0 0 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section-header h2 {
  font-size: 24px;
  margin-bottom: 2px;
  font-weight: bold;
}
.section-header {
  display: flex;
  justify-content: space-between;
  width: 80%;
  align-items: center;
  margin-bottom: 28px;
  max-width: 1250px;
}
.section-header.heading {
  display: flex;
  flex-direction: column;
}
.heading p {
  color: #61717d;
  font-size: 14px;
}
.view-all-btn {
  background: linear-gradient(90deg, #e3376d 0%, #ed814a 100%);
  border: none;
  color: #fff;
  padding: 12px 40px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.18s;
}
.section-divider {
  display: flex;
  align-items: center;
  margin-bottom: 32px; /* Space below divider */
  margin-top: -12px; /* Pull closer to heading if needed */
  max-width: 1150px;
  width: 80%;
}

.divider-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff6998; /* Icon color */
  font-size: 1.12rem; /* Adjust size as needed */
  margin-right: 8px;
}

.divider-line {
  flex: 1;
  height: 1px;
  border-radius: 4px;
  background: #c8d6db;
  display: block;
}
.image-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  margin-bottom: 14px;
}

/* MAKE IMAGE CIRCULAR */
.circle-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* OVERLAY BACKGROUND + CONTENT */
.image-overlay {
  position: absolute;
  inset: 0;
  background: #ed7e4c60; /* darker overlay */
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}

/* ICON */
.overlay-icon {
  width: 40px;
  height: 40px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* BUTTON */
.overlay-btn {
  font-size: 10px;
  border: none;
  background: none;
  color: #fff;
  border-radius: 20px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  position: relative;
  padding-bottom: 4px;
}
/* Small center underline */
.overlay-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 12px; /* Adjust underline length */
  height: 2px;
  background-color: #fff;
}

/* ON HOVER: SHOW EVERYTHING */
.doctor-card:hover .image-overlay {
  opacity: 1;
  pointer-events: auto;
}

.doctor-card:hover .overlay-icon,
.doctor-card:hover .overlay-btn {
  opacity: 1;
}

.doctor-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin: 38px 0;
}
.doctor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 34px 22px 18px 22px;
  width: 22%;
  min-width: 210px;
}

.circle-img {
  border-radius: 100%;
}

.doctor-card h3 {
  font-size: 1rem;
  margin: 5px 0 4px 0;
  font-weight: 600;
  color: #23242a;
  text-align: center;
}

.doctor-card p {
  margin: 0;
  color: #70757a;
  font-size: 0.97rem;
  text-align: center;
}
.section-header-mobile {
  display: none;
}
/* Hide carousel by default, show only on mobile */
.doctor-carousel-container,
.arrow-btn {
  display: none;
}

@media (max-width: 768px) {
  .doctor-row {
    display: none; /* Hide desktop layout on small screens */
  }
  .doctor-carousel-container {
    display: block;
    position: relative;
    max-width: 400px;
    overflow: visible;
    padding: 30px 0;
    margin: auto;
  }
  .doctor-rows-wrapper {
    display: flex;
    transition: transform 0.3s ease-in-out;
    width: 100vw; /* will be multiplied by number of doctors via JS if needed */
  }
  .doctor-row-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 0;
  }
  .carousel-arrows {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 30px;
  }
  .slick-slide {
    opacity: 0.4;
    transform: scale(0.7);
    transition: all 0.5s ease;
  }

  .slick-slide.slick-center {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
  }
  .doctor-card h3{
    font-size: 12px;
  }
  .doctor-card p{
    font-size: 10px;
  }
  .arrow-btn {
    z-index: 10;
    background: transparent;
    border: 1px solid black;
    font-size: 20px;
    border-radius: 100%;
    cursor: pointer;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .arrow-left {
    left: 10px;
  }
  .arrow-right {
    right: 10px;
  }
  .arrow-btn img {
    width: 20px;
    height: 20px;
  }
  .arrow-btn:hover {
    background: #000;
    color: #fff;
  }
  .icon-hover {
    display: none;
  }
  .arrow-btn:hover .icon-hover {
    display: block;
  }
  .arrow-btn:hover .icon-default {
    display: none;
  }

  .arrow-left {
    left: 10px;
  }
  .arrow-right {
    right: 10px;
  }
}

@media (max-width: 768px) {
  .doctor-card {
    width: 90vw; /* Let the card fill most of the screen */
    max-width: 340px; /* Or max-width: 320px; for nice effect */
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .section-header {
    display: none;
  }
  .section-header-mobile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    padding: 10px 22px;
    align-items: center;
    margin-bottom: 28px;
    max-width: 1150px;
  }
  .heading-mobile {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
  .heading-mobile h2 {
    font-size: 20px;
  }
  .section-header-mobile p {
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
  }
  .view-all-btn {
    font-size: 10px;
    padding: 10px 30px;
  }
  .section-divider {
    padding: 0 22px;
  }
}

@media (max-width: 650px) {
  .doctor-card {
    width: 100%;
    min-width: unset;
  }
}

/* Care Section */
.care-section {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7faff;
  padding: 50px 0;
}
.care-wrapper {
  display: flex;
  width: 85%;
  flex-direction: column;
  min-width: 1150px;
  align-items: center;
  justify-content: center;
}
.content-image-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.image {
  width: 50%;
}
.image img {
  width: 600px;
}
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.content h2 {
  width: 300px;
  font-weight: 500;
}
.content span {
  font-weight: 700;
}
.content p {
  font-size: 14px;
  color: #61717d;
  width: 400px;
}
.carebtn {
  background: linear-gradient(90deg, #e3376d 0%, #ed814a 100%);
  width: fit-content;
  border: none;
  color: #fff;
  padding: 12px 40px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.18s;
}
.medical-packages {
  width: 100%;
  display: flex;
  max-width: 1100px;
  align-items: stretch;
  justify-content: center;
  margin-top: 50px;
  gap: 50px;
}
.packages-points {
  display: flex;
  flex-direction: column;
  width: 50%;
  gap: 30px;
}
.point {
  display: flex;
  align-items: center;
  gap: 20px;
}
.point img {
  height: 50px;
}
.point-heading {
  display: flex;
  flex-direction: column;
}
.point-heading p {
  font-size: 12px;
  color: #61717d;
}
.explore {
  width: 50%;
  display: flex;
  flex-direction: column;
  margin-left: 100px;
  gap: 20px;
}
.explore p {
  font-size: 14px;
  color: #61717d;
}
@media (max-width: 768px) {
  .care-wrapper {
    min-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    text-align: center;
  }
  .care-btn-wrapper {
    display: flex;
    justify-content: center;
  }
  .content-image-wrapper {
    flex-direction: column-reverse;
    gap: 20px;
    align-items: center;
    justify-content: center;
  }
  .image {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .image img {
    width: 350px;
    height: auto;
  }

  .content h2 {
    width: 100%;
    max-width: 100%;
    font-size: 24px;
  }

  .content p {
    width: 100%;
    max-width: 100%;
    font-size: 14px;
  }

  .medical-packages {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 40px;
    margin-top: 30px;
    padding: 0 10px;
  }
  .point {
    flex-direction: column;
  }
  .packages-points {
    width: 100%;
    gap: 40px;
    margin-top: 30px;
  }
  .point h3 {
    font-weight: 500;
  }
  .point img {
    height: 40px;
  }

  .explore {
    width: 100%;
    margin-left: 0;
    gap: 15px;
    padding: 0;
    text-align: center;
  }
  .explore h3 {
    font-size: 24px;
  }

  .explore p {
    font-size: 14px;
  }
}

/* Real Stories Section */

.real-stories {
  position: relative;
  padding: 40px 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.carousel-wrapper {
  display: flex;
  align-items: center;
  margin: auto;
  align-items: center;
  justify-content: center; /* Center the whole carousel horizontally */
  width: 100%;
}
.section-header-stories {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  margin-bottom: 28px;
  max-width: 1150px;
}
.carousel-container {
  display: flex;
  overflow: hidden;
  height: fit-content;
  width: 1100px; /* 3 cards * 320px width + margins */
}

.carousel-card {
  min-width: 350px;
  display: flex;
  flex-direction: column;
  margin: 0 10px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #96969540;
  padding: 24px;
  transition: transform 0.4s ease;
  box-sizing: border-box;
}
.carousel-card-heading {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}
.carousel-card-heading p {
  font-size: 10px;
  color: #61717d;
}
.carousel-arrow-wrapper {
  display: flex;
  gap: 20px;
}
.carousel-arrow {
  background: transparent;
  border: 1px solid black;
  font-size: 20px;
  border-radius: 100%;
  cursor: pointer;
  padding: 10px;
  display: flex;
  align-items: center;
}
.carousel-arrow img {
  width: 20px;
  height: 20px;
}
.carousel-arrow:hover {
  background: #000;
  color: #fff;
}
.icon-hover {
  display: none;
}
.carousel-arrow:hover .icon-hover {
  display: block;
}
.carousel-arrow:hover .icon-default {
  display: none;
}
.carousel-img {
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 768px) {
  .section-header-stories {
    padding: 10px 22px;
  }
  .section-header-stories h2 {
    font-size: 18px;
  }
  .carousel-arrow-wrapper {
    gap: 10px;
  }
  .carousel-arrow {
    background: transparent;
    padding: 10px;
    display: flex;
    align-items: center;
  }
  .carousel-arrow img {
    width: 14px;
    height: 14px;
  }
  .carousel-container {
    width: 100%;
    padding: 0 22px;
  }
  .carousel-card {
    min-width: 350px; /* Adjust as needed for your design */
  }
}

/* Health Blogs */
.carousel-wrapper-health {
  overflow: visible;
  max-width: 100vw;
  margin: 0 auto;
  padding: 0 10px;
}

.carousel-container-health {
  display: flex;
  overflow: hidden;
  height: fit-content;
  width: 1100px; 
}
.health-story-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.health-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.health-story-card {
  min-width: 350px;
  display: flex;
  margin: 0 10px;
  height: fit-content;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #96969540;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
  box-sizing: border-box;
}
.health-story-header {
  padding: 24px;
}
.health-story-header h5 {
  font-size: 18px;
}
.health-story-description {
  margin: 14px 0 10px 0;
  color: #61717d;
  font-size: 1rem;
  font-size: 12px;
}

.health-story-btn {
  border: 1px solid #e3376d;
  background: none;
  color: #273d55;
  padding: 7px 18px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  margin-bottom: 12px;
  transition: background 0.2s, color 0.2s;
}
.health-story-btn:hover {
  background: #fa6b6b;
  color: #fff;
}

.health-story-date {
  font-size: 12px;
  color: #61717d;
  display: flex;
  align-items: center;
  gap: 7px;
  border-top: 1px solid #d6e2e8;
  margin-top: 8px;
  padding-top: 4px;
}

.health-story-calendar {
  font-size: 1rem;
}
.slick-track{
  height: fit-content!important;
}
@media (max-width: 768px) {
  .carousel-container-health {
    width: 100%;
    overflow: hidden; /* hide overflow on mobile */
    display: flex;
    padding: 0 22px;
  }

  .health-story-card {
    min-width: 350px; /* or adjust to your card width */
    max-width: 90vw; /* responsive max width */
    margin: 0 5px; /* smaller side margin */
    box-sizing: border-box;
  }
}
