/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
/*=============== VARIABLES CSS ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
:root {
  --header-height: 3.5rem;
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(220, 68%, 54%);
  --first-color-lighten: hsl(219, 78%, 82%);
  --title-color: hsl(220, 48%, 28%);
  --text-color: hsl(220, 12%, 45%);
  --body-color: hsl(220, 100%, 99%);
  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Poppins", sans-serif;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;
  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;
  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}
@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/


body {
   max-width: 100%;
  overflow-x: hidden;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 2.5rem;
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 2px 8px hsla(220, 68%, 12%, 0.1);
  background-color: var(--body-color);
  z-index: var(--z-fixed);
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
}
.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: 0.25rem;
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  transition: color 0.3s;
}
.nav__logo i {
  font-size: 1.25rem;
}
.nav__logo:hover {
  color: var(--first-color);
}
.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
  margin-bottom: 15px;
}

.nav__toggle-menu{
  margin-bottom: 0;
  font-size: 2rem;
  color: var(--title-color);
  position: absolute;
  display: grid;
  place-items: center;
  inset: 0;
  cursor: pointer;
  transition: opacity 0.1s, transform 0.4s;
  margin-left: 120px;
}
 .nav__toggle-close {
  font-size: 2.15rem;
  color: var(--title-color);
  position: absolute;
  display: grid;
  place-items: center;
  inset: 0;
  cursor: pointer;
  transition: opacity 0.1s, transform 0.4s;
  margin-left: 120px;
}
.nav__toggle-close {
  opacity: 0;
}
@media screen and (max-width: 1118px) {
  .nav__menu {
    background-color: var(--body-color);
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    padding-block: 1.5rem 4rem;
    pointer-events: none;
    opacity: 0;
    transition: top 0.4s, opacity 0.3s;
  }
  .nav__menu::-webkit-scrollbar {
    width: 0.5rem;
  }
  .nav__menu::-webkit-scrollbar-thumb {
    background-color: hsl(220, 12%, 70%);
  }
}
.nav__link {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}
.nav__link:hover {
  background-color: var(--first-color-lighten);
}

/* Show menu */
.show-menu {
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
}

/* Show icon */
.show-icon .nav__toggle-menu {
  opacity: 0;
  transform: rotate(90deg);
}

.show-icon .nav__toggle-close {
  opacity: 1;
  transform: rotate(90deg);
}

/* ======Search Icon======== */

/*=============== DROPDOWN ===============*/
.dropdown__button {
  cursor: pointer;
}
.dropdown__arrow {
  font-size: 1.5rem;
  font-weight: initial;
  transition: transform 0.4s;
}
.dropdown__content, .dropdown__group, .dropdown__list {
  display: grid;
}
.dropdown__container {
  background-color: var(--first-color-lighten);
  height: 0;
  overflow: hidden;
  transition: height 0.4s;
}
.dropdown__content {
  row-gap: 1.75rem;
}
.dropdown__group {
  padding-left: 2.5rem;
  row-gap: 0.5rem;
}
.dropdown__group:first-child {
  margin-top: 1.25rem;
}
.dropdown__group:last-child {
  margin-bottom: 1.25rem;
}

.dropdown__title {
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}
.dropdown__list {
  row-gap: 0.25rem;
}
.dropdown__link {
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
  transition: color 0.3s;
}
.dropdown__link:hover {
  color: var(--title-color);
}

/* Rotate dropdown icon */
.show-dropdown .dropdown__arrow {
  transform: rotate(180deg);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 300px) {
  .dropdown__group {
    padding-left: 1.5rem;
  }
}
/* For large devices */
@media screen and (min-width: 1118px) {
  /* Nav */
  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }
  .nav__toggle {
    display: none;
  }
  .nav__list {
    display: flex;
    column-gap: 2rem;
    height: 100%;
  }
  .nav li {
    display: flex;
  }
  .nav__link {
    padding: 0;
  }
  .nav__link:hover {
    background-color: initial;
  }
  /* Dropdown */
  .dropdown__button {
    column-gap: 0.25rem;
    pointer-events: none;
  }
  .dropdown__container {
    height: max-content;
    position: absolute;
    left: 0;
    right: 0;
    top: 6.5rem;
    background-color: var(--body-color);
    box-shadow: 0 6px 8px hsla(220, 68%, 12%, 0.05);
    pointer-events: none;
    opacity: 0;
    transition: top 0.4s, opacity 0.3s;
  }
  .dropdown__content {
    grid-template-columns: repeat(4, max-content);
    column-gap: 6rem;
    max-width: 1120px;
    margin-inline: auto;
  }
  .dropdown__group {
    padding: 4rem 0;
    align-content: baseline;
    row-gap: 1.25rem;
  }
  .dropdown__group:first-child, .dropdown__group:last-child {
    margin: 0;
  }
  .dropdown__list {
    row-gap: 0.75rem;
  }
  .dropdown__title {
    font-size: var(--normal-font-size);
  }
  .dropdown__link {
    font-size: var(--small-font-size);
  }
  .dropdown__link:hover {
    color: var(--first-color);
  }
  .dropdown__item {
    cursor: pointer;
  }
  .dropdown__item:hover .dropdown__arrow {
    transform: rotate(180deg);
  }
  .dropdown__item:hover > .dropdown__container {
    top: 5.5rem;
    opacity: 1;
    pointer-events: initial;
    cursor: initial;
  }
}
@media screen and (min-width: 1152px) {
  .container {
    margin-inline: auto;
  }
}
 .carousel-caption-bottom {
      position: absolute;
      bottom: 40px;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 600px;
      padding: 0 15px;
      z-index: 10;
    }

    .search-box {
      position: relative;
      width: 100%;
    }

    .search-box input {
      width: 100%;
      padding: 12px 45px 12px 20px;
      border: 2px solid transparent;
      background-color: #fff;
      color: #000;
      font-size: 16px;
      outline: none;
      background-clip: padding-box;
      border-image-slice: 1;
      /* border-image-source: linear-gradient(to right, #ff0000, #ff6666); */
    }

    .search-box input::placeholder {
      color: #666;
    }

    .search-box button {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      color: #ff0000;
      font-size: 18px;
      cursor: pointer;
      padding: 0;
    }

    .search-box input:focus {
      box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    }

/* ======footer section====== */
.footer-gradient {
 /* background: linear-gradient(to bottom, #2d8ca8 0%, #2b71a4 100%); */
 background: linear-gradient(90deg,rgba(42, 123, 155, 1) 0%, rgba(87, 136, 199, 1) 73%, rgba(232, 228, 204, 1) 97%);
}

.footer-gradient a {
  color: #ffffffcc;
  text-decoration: none;
}

.footer-gradient a:hover {
  color: #ffffff;
  text-decoration: underline;
}
 /* About us */
.mb-4 {
    margin-bottom: 1.5rem !important;
}
.mt-4 {
    margin-top: 1.5rem !important;
}
.cta-section {
  background: linear-gradient(135deg, #ffffff, #90e0ef);
    color: #050505;
    padding: 60px 20px;
    text-align: center;
}

/* multiple card slider */
/* Rotate icon on hover and change border color */
.owl-carousel .card {
  border: 1px solid #d0e2f2;
  border-radius: 12px;
  transition: 0.3s ease;
}

.owl-carousel .card i {
  transition: transform 0.4s ease, color 0.3s;
}

.owl-carousel .card:hover {
  border-color: #28a745 !important; /* Bootstrap green */
  background-color: #f0fff5;
}

.owl-carousel .card:hover i {
  transform: rotate(360deg);
  color: #28a745 !important;
}
/* banner section */
.banner {
    width: 100%;
    text-align: center;
    margin: 20px 0;
}

.banner img {
  margin-top: 40px;
    max-width: 100%;
    height: auto;
    display: inline-block;
}


    .top-section{
      margin-top: 90px;
    }
     .hospital-card {
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      padding: 20px;
      margin-bottom: 20px;
    }
    .hospital-card img{
      width: 100%;
      border-radius: 10px;
      max-height: 160px;
      object-fit: cover;
    }
    .hospital-details a {
      display: block;
      font-size: 0.9rem;
      color: #007bff;
      text-decoration: none;
    }
    .hospital-details a:hover {
      text-decoration: underline;
    }
    .btn-call {
      background-image: linear-gradient(to right, #feb47b, #ff7e5f);
      border: none;
      color: black;
    }
    .btn-appointment {
      background-image: linear-gradient(to right, #4facfe, #00f2fe);
      color: white;
      border: none;
    }
    .top-section {
      padding: 30px 15px;
      background: #e9f6f8;
      text-align: center;
    }
    .search-bar {
      margin-top: 20px;
    }
    .btn-appointment:hover {
  background-image: linear-gradient(to right, #00f2fe, #4facfe);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.btn-light:hover {
  background: linear-gradient(to right, #4caf50, #81c784); /* Green gradient */
  color: white; /* Change text color for better contrast */
  transition: background 0.3s ease, color 0.3s ease;
}
 
/* for contact Us page */
.contact-box {
      background-color: #ffffff;
      border-radius: 10px;
      box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
      overflow: hidden;
    }

    .info-icon {
      font-size: 1.5rem;
      color: rgb(34, 33, 33);
    }

    .info-text {
      font-size: 0.95rem;
      color: #f8f9fa;
    }

    .form-control:focus {
      border-color: #0dcaf0;
      box-shadow: none;
    }

    .btn-custom {
      background-color: #0dcaf0;
      color: #fff;
      border: none;
    }

    .btn-custom:hover {
      background-color: #0aaed3;
    }
    .card-title {
  font-size: 14px;
  font-weight: 600;
}
.card-body p {
  font-size: 12px;
}

 /* video content */
 .video-350 {
  margin-top: 90px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.video-overlay {
  margin-top: 190px;
  z-index: 2;
  padding: 1rem;
  text-align: center;
  color: #fff;
}

.input-group input::placeholder {
  color: #ccc;
}
