:root {
  --primar: #fdfdfd;
  --primary: #004797;
  --secondary: #379237;
  --text-light: #cfd9e6;
  --text-liight: white;
  --curve-bg: #d9e5f8;
  --dept-bg: #d9e5f8;
  --dept-text: #379237;
  --text-color: #333;
  --bg-gradient: linear-gradient(135deg, #379237, #58c8ff);
  --card-bg: #ffffff;
  --card-hover-bg: #f0f8ff;
  --icon-color: #379237;
  --btm-hover-colour: #379237;
  --btn-bg-1: linear-gradient(90deg, #004797, #379237);
  --btn-bg-2: linear-gradient(90deg, #004797, #379237);
  --btn-bg-3: linear-gradient(90deg, #004797, #379237);
  --btn-bg-4: linear-gradient(90deg, #004797, #379237);
  --btn-text: #fff;
  --btn-radius: 6px;
  --text-color: #000;
  --header-bg: #fff;
  --sticky-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --intro-text: #ffffff;
  --intro-text2: #004797;
  --from-input: #37923780;
}

a {
  text-decoration: none !important;
}

section {
  overflow: hidden;
}

.section-padding-100-20 {
  padding: 100px 0 20px 0;
}

/*Loader*/
.preloader-wrapper {
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  z-index: -1;
}

.preloader .ldr_prt {
  height: 100vh;
  width: 100vw;
  background: #fff;
  position: absolute;
  top: 0;
  left: 0;
  transition: 1.2s ease-in-out;
}

.preloader .cntr {
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100vh);
  max-width: 500px;
  width: 90%;
  transition: 1s;
  z-index: 1;
  text-align: center;
}

.preloader .cntr:after {
  content: "";
  width: 100%;
  left: 0;
  height: 100%;
  background: #fff;
  position: absolute;
  opacity: 1;
  animation: show 4s infinite;
  z-index: 1;
}

.preloader .cntr p {
  color: #737373;
  margin-top: 25px;
  font-size: 20px;
  line-height: 1.4;
}

.preloader .ldr {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: fixed;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
}

.preloader .ldr .fa {
  color: var(--secondary-color);
}

.preloader .ldr .ldrtxt {
  font-size: 16px;
  font-weight: 500;
  padding-left: 12px;
  margin: 10px auto;
  color: #bfbfbf;
}

@keyframes show {
  0% {
    opacity: .7;
    /*backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);*/
    transform: translateX(0%);
  }

  100% {
    opacity: .4;
    /*backdrop-filter: blur(0px);
      -webkit-backdrop-filter: blur(0px);*/
    transform: translateX(110%);
  }
}

@-webkit-keyframes show {
  0% {
    opacity: .7;
    /*backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);*/
    transform: translateX(0%);
  }

  100% {
    opacity: .4;
    /*backdrop-filter: blur(0px);
      -webkit-backdrop-filter: blur(0px);*/
    transform: translateX(110%);
  }
}

.preloader-wrapper.active {
  opacity: 1;
  visibility: visible;
  z-index: 99999999;
}

.preloader-wrapper.active .preloader .cntr {
  transform: translate(-50%, -50%);
}

.preloader .lft {
  transform: translateX(-220%);
}

.preloader .rgt {
  transform: translateX(220%);
}

.preloader-wrapper.active .preloader .lft {
  transform: translateX(0);
}

.preloader-wrapper.active .preloader .rgt {
  transform: translateX(0);
}

/*end*/


.breadcrumb {
  padding: 5px 0;
  margin: 0;
  background: var(--primary);
  color: #fff;
}

.breadcrumb a {
  color: var(--secondary);
}



.popup {
  max-height: 70vh;
  width: 500px;
  max-width: 90%;
  margin: 0 auto;
  border: 5px solid #194880;
  border-radius: 12px;
}

/* :: 4.0 Header Area CSS */
.header-area {
  position: absolute;
  z-index: 10000;
  width: 100%;
  height: auto;
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
}

.top-header-area {
  position: relative;
  z-index: 1;
  height: 45px;
  background-color: #379237;
  color: #fff;
}

.top-header-area p {
  margin-bottom: 0;
  color: #ffffff;
}

.top-header-area p span {
  color: #ffffff;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .top-header-area p {
    font-size: 13px;
  }
}

@media only screen and (max-width: 767px) {
  .top-header-area p {
    font-size: 12px;
  }
}

@media only screen and (max-width: 767px) {
  .top-header-area {
    height: auto;
    padding: 15px 0;
  }
}

.main-header-area {
  width: 100%;
  height: 110px;
  position: relative;
  z-index: 1;
  background-color: #004797;
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .main-header-area {
    height: 80px;
  }
}

@media only screen and (max-width: 767px) {
  .main-header-area {
    height: 70px;
  }
}

.is-sticky .main-header-area {
  width: 100%;
  z-index: 10000 !important;
  height: 80px;
  box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.2);
  background-color: #004797;
}

.main-header-area img {
  max-height: 100px;
}

@media only screen and (max-width: 767px) {
  .is-sticky .main-header-area {
    height: 70px;
  }

  .main-header-area img {
    max-height: 60px;
  }
}

.is-sticky .main-header-area img {
  max-height: 65px;
}

.header-area .main-menu .nav-link {
  font-size: 14px;
  text-transform: capitalize;
  padding: 10px 20px;
  color: #ffffff;
  font-weight: 500;
  margin: 0 1px;
}

.header-area .main-menu .nav-link:hover {
  background-color: #379237;
}

.header-area .main-menu .nav-link:focus {
  background-color: #379237;
}

.medilife-appoint-btn {
  display: inline-block;
  color: #ffffff;
  background-color: #ff0000;
  height: 50px;
  padding: 0 15px;
  line-height: 50px;
  font-size: 14px;
  min-width: 140px;
  border-radius: 0;
  font-weight: 500;
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
  text-transform: uppercase;
  box-shadow: none;
}

.medilife-appoint-btn span {
  font-weight: 700;
}

.medilife-appoint-btn:hover,
.medilife-appoint-btn:focus {
  color: #379237;
  background-color: #ffffff;
  box-shadow: none;
  font-weight: 500;
}

.medilife-appoint-btn:hover span,
.medilife-appoint-btn:focus span {
  font-weight: 700;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .header-area .main-menu .nav-link {
    padding: 10px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .header-area .main-menu .nav-link {
    padding: 10px 30px;
    margin: 1px 0;
  }
}

@media only screen and (max-width: 767px) {
  .header-area .main-menu .nav-link {
    padding: 10px 30px;
    margin: 1px 0;
  }
}

.header-area .main-menu .nav-item.active .nav-link {
  background-color: #379237;
}

.dropdown-menu.show {
  border: none;
  padding: 15px 0;
  box-shadow: 0 5px 40px rgba(0, 0, 0, 0.15);
  margin-top: 15px;
}

.dropdown-item {
  font-size: 13px;
  font-weight: 500;
  color: #5f5f5f;
  text-transform: uppercase;
}

.dropdown-item:hover {
  color: #379237;
  font-size: 13px;
  font-weight: 500;
  background-color: #f5f7f9;
}

.dropdown-item:focus {
  color: #379237;
  font-size: 13px;
  font-weight: 500;
  background-color: #f5f7f9;
}

.navbar {
  padding: 0;
}

.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .navbar-toggler {
    margin: 20px 0;
  }
}

@media only screen and (max-width: 767px) {
  .navbar-toggler {
    margin: 15px 0;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  #medilifeMenu {
    width: 100%;
    background-color: #004797;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    padding: 30px 15px;
    border-radius: 0 0 6px 6px;
    margin-top: -2px;
    border-radius: 0;
  }
}

@media only screen and (max-width: 767px) {
  #medilifeMenu {
    width: 100%;
    background-color: #004797;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    padding: 20px 10px;
    border-radius: 0 0 6px 6px;
    margin-top: -2px;
    border-radius: 0;
  }
}

/*Nav mobile menu button*/
.burger {
  position: relative;
  width: 30px;
  height: 22px;
  background: transparent;
  cursor: pointer;
  display: block;
}

.burger input {
  display: none;
}

.burger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--primary);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.burger span:nth-of-type(1) {
  top: 0px;
  transform-origin: left center;
}

.burger span:nth-of-type(2) {
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left center;
}

.burger span:nth-of-type(3) {
  top: 100%;
  transform-origin: left center;
  transform: translateY(-100%);
}

.burger input:checked~span:nth-of-type(1) {
  transform: rotate(45deg);
  top: 0px;
  left: 5px;
}

.burger input:checked~span:nth-of-type(2) {
  width: 0%;
  opacity: 0;
}

.burger input:checked~span:nth-of-type(3) {
  transform: rotate(-45deg);
  top: 21px;
  left: 5px;
}

/*end*/
/* banner */
.hero-slider {
  position: relative;
}

.sswiper {
  width: 100%;
  height: 90vh;
  aspect-ratio: 1920 / 639;
  position: relative;
  margin-top: 137px;

}

/* .swiper-slide,
.swiper-slide-next,
.swiper-slide-prev {
  background-size: cover !important;
  background-position: center !important;
  flex-shrink: 0 !important;
  height: 100% !important;
  display: block !important;
  transition-property: transform !important;
} */


.slider-overlay {
  position: absolute;
  top: 0;
  right: 5%;
  height: 100%;
  width: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  z-index: 5;
}

.slider-buttons {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
}

.slider-button {
  color: var(--btn-text);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  border-radius: var(--btn-radius);
  transition: 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slider-button i {
  font-size: 24px;
  margin-top: 2px;
}

.slider-button h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.slider-button p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.4;
  min-height: 36px;
}

.slider-buttons>a:nth-child(odd) .book {
  background: var(--secondary);
  color: var(--primar);


}

.slider-button.book svg {
  color: #fff;
}

.slider-buttons>a:nth-child(even) .book {
  background: var(--primary);
  color: var(--primar);
}



.slider-button:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

/* end */

/* OUR PROFESSIONALS */
.OUR-PROFESSIONALS {
  background-color: var(--dept-bg);
}


.doctor-card {
  background: linear-gradient(to bottom, #ffffff, #d9e5f8);
  border-radius: 24px;
  padding: 30px 20px;
  height: 492px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 10px 30px rgba(0, 56, 255, 0.07);
}

.top-info {
  margin-bottom: 20px;
  text-align: start;
}

.doctor-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.doctor-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--secondary);
  text-transform: uppercase;
  margin: 5px 0 0;
}

.specialty-icon {
  width: 36px;
  height: 36px;
  color: var(--secondary);
}

.image-box {
  margin: 20px auto;
  width: 258px;
  height: 270px;
  border-radius: 50%;
  border: 6px solid #ffffff;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.1);

}

.doctor-image {

  height: 261px;
  object-fit: cover;
}

.action-box {
  margin-top: 20px;
}

.btn-appointment {
  background: var(--secondary);
  color: var(--primar);
  padding: 9px 23px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 600;
  border: none;
  transition: background 0.3s;
  width: 146px;
  height: 36px;
}

.btn-appointment:hover {
  background: var(--primary);
  color: var(--btn-text);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 98, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--secondary);
  color: var(--primary);
  border-color: rgba(0, 98, 255, 0.3);
}

.social-icons img {
  width: 18px;
  height: 18px;
}

.action-box {
  padding-top: 14px;
  align-items: flex-end;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

/* end */
/* gallery */
/* 
 *  Core Owl Carousel CSS File
 */
/* --- Fix display issue --- */
.owl-carousel {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* --- Ensure Swiper works with Owl layout --- */
.owl-carousel .owl-stage-outer {
  overflow: hidden;
  transform: none !important;
}

.owl-carousel .owl-stage {
  display: flex !important;
  transition: transform 0.5s ease !important;
}

/* --- Swiper slide compatibility --- */
.owl-item {
  float: none !important;
  flex: 0 0 auto !important;
}

/* --- Optional: ensure arrows and dots visible --- */
.owl-controls {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.owl-item .single-gallery-item img {
  aspect-ratio: 3 / 3 !important;
  object-fit: cover;
  width: 100%;
}



/* end */
/* doctor section */
.hero-heading {
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-liight);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.learn {
  background-color: var(--secondary);
  color: var(--primar);
  border-radius: 21px 21px 21px 20px;
  height: 43px;
  width: 137px;
  font-size: 14px;
  align-content: center;
}

.call {
  border-radius: 21px 21px 21px 20px;
  height: 43px;
  width: 156px;
  font-size: 14px;
  align-content: center;
}

.learn:hover {
  background-color: var(--dept-bg);
  color: var(--primary);
}

.service {
  display: flex;
  flex-direction: column;
}

.hero-section {
  background-color: var(--primary);
  color: var(--text-light);
  position: relative;
  padding: 80px 0 120px;
}

.hero-section .text-gradient {
  background: linear-gradient(to right, #2596ff, #2ca5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.doctor-image-wrap {
  position: relative;
  z-index: 1;
  display: inline-block;
}

.circle-bg {
  position: absolute;
  top: -236px;
  left: 226px;
  width: 348px;
  height: 319px;
  border-radius: 50%;
  background: #ffffff0d;
  transform: translate(-50%, -50%);
  z-index: 0;
  box-shadow: 0 0 0 30px #ffffff24, 0 0 0 70px #ffffff24, 0 0 0 110px #ffffff24;
}

.box-text {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.doctor-img {
  position: absolute;
  z-index: 1;
  height: 830px;
  max-width: unset;
  aspect-ratio: 3 / 5;
  left: -26px;
  bottom: -112px;
}

.info-card {
  background-color: #7c8add96;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bottom-curve svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
}

.text {
  color: #b3b3b3;
}

/* end */
/* department section */
.department-section {
  padding: 60px 0;
  background: var(--dept-bg);
}

.dept-btn {
  background-color: var(--secondary);
  color: var(--primar);
}

.dept-name {
  max-width: calc(100% - 60px);
}

.dept-btn:hover {
  background-color: var(--primary-color);
  color: var(--text-liight);
}

.section-header .icon svg {
  width: 30px;
  height: 30px;
  color: var(--dept-text);
}

.section-header h6 {
  color: var(--dept-text);
  font-weight: 600;
  margin-top: 10px;
}

.section-header .title {
  font-size: 44px;
  font-weight: bold;
  margin: 10px 0;
  color: var(--primary);
  text-align: start;
}

.section-header .title span {
  color: var(--dept-text);
}

.section-header .description {
  color: var(--text-color);
  margin-bottom: 20px;
  text-align: start;
  color: #065794;
}

.department-section .btn-link {
  font-size: 13px;
}

.department-card {
  background: linear-gradient(to bottom, #ffffff, #d9e5f8);
  border-radius: 24px;
  padding: 30px 25px;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 0 0 rgb(217 229 248);
  /* text-align: center; */
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: 0.4s;
}

.department-card:hover {
  transform: translateY(-10px);
  background: linear-gradient(to bottom, #ffffff, #d9e5f8);
  box-shadow: 0px 30px 70px 0px rgba(166.22673913043477, 198.06515217391302, 239.7, 0.57);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

.department-section .number-circle {
  background: var(--icon-color);
  color: white;
  font-weight: 700;
  font-size: 14px;
  border-radius: 50%;
  padding-left: 2px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: #002057;
  margin: 0;
  line-height: 1.4;
  text-align: left;
}

.icon-wrapper {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.icon-bg {
  background-color: #d9ecfd;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  opacity: 0.3;
  position: absolute;
  top: 0;
  left: 0;
}

.icon-img {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  margin-top: 14px;
}

.card-text {
  color: #4d6c87;
  font-size: 14px;
  margin-bottom: 20px;
}

.card-link {
  color: #007bff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}


.btn-link:hover {
  text-decoration: underline;
}

.department-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: var(--secondary);
  color: var(--primar);
  /* Bootstrap Primary Blue */
  font-weight: 600;
  font-size: 14px;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.department-label .icon-svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.dept-heading {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  /* align-content: flex-start; */
  align-items: flex-start;
  align-items: flex-end;
  padding-left: 65px;
}

.dept-logo {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  /* align-content: flex-start; */
  justify-content: flex-start;
  align-items: flex-start;

}

.department-section .icon {
  position: relative;
  z-index: 1;
  margin: 30px 0 50px 0;
}

.department-section .icon::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 125px;
  aspect-ratio: 0.94 / 1;
  top: -6px;
  left: 20px;
  background-color: #e2eefe;
  border-radius: 50%;
  opacity: 0.5;
  transform: rotate(36deg);
}

.health-logo {
  height: 80px;
}

.health-desc {
  text-align: left;
  z-index: 1;
}

.health-count {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* end */

/*  Medical Introduction Section */
.medical-intro-section {
  background-color: var(--dept-bg);
  /*padding: 60px 20px;*/
}

.medi-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

.intro-badge {
  display: inline-block;
  background: #eaf4ff;
  color: var(--secondary);
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 14px;
}

.intro-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 40px;
  text-align: center;
}

.intro-title .highlight {
  color: var(--secondary);
}

.intro-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}

.intro-left,
.intro-right {
  flex: 1;
  /* min-width: 300px; */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: flex-start;
}

.video-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.intro-img {
  width: 100%;
  display: block;
  border-radius: 20px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.intro-text {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 20px;
}

.intro-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  font-weight: 580;
}

.intro-list li {
  font-size: 15px;
  color: var(--primary);
}

.intro-list li i {
  color: var(--secondary);
  margin-right: 10px;
}

.opening-hours {
  background: var(--icon-color);
  color: var(--btn-text);
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  height: 327px;
  width: 308px;
  z-index: 1;
  padding-top: 36px;
}

.opening-hours h4 {
  background: #fff;
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  height: 41px;
  width: 212px;
}

.opening-hours .time-row {
  font-size: 14px;
  margin: 5px 0;
}

.opening-hours .highlight {
  font-weight: 500;
  font-size: 14px;
  margin-top: 10px;
}

.intro-bottom-image {

  text-align: center;
}

.intro-bottom-image img {
  width: 100%;
  max-width: 782px;
  border-radius: 20px;
  /* display: inline-block; */
  position: relative;
  left: 239px;
  bottom: 190px;
}

/* end */
:root {
  --primary-color: #007bff;
  --bg-gradient: linear-gradient(to right, #003973, #e5e5be);
  --box-bg: rgba(0, 49, 102, 0.95);
  --text-light: #ffffff;
}

.stats-section {
  /*background: url('img/bg-counter.jpg') center center/cover no-repeat;*/
  position: relative;
  z-index: 1;
  background-color: var(--dept-bg);

}

/* .stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--box-bg);
  z-index: -1;
  border-radius: 40px;
} */
.vertical-divider {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background-color: rgba(255, 255, 255, 0.2);
}

.stats-box {
  position: relative;
  background-color: var(--secondary);
  background-blend-mode: overlay;
  background-size: cover;
  border-radius: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  padding: 70px;
  z-index: 1;
  overflow: hidden;
}

.stats-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--secondary);
  opacity: 0.85;
  border-radius: 40px;
  z-index: -1;
}

.static-num {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  color: var(--card-bg);
  align-items: center;
}

.avatar {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--text-light);
  margin-left: -10px;
}

.avatar:first-child {
  margin-left: 0;
}

.counter {
  font-weight: 700;
  font-size: 64px;
  color: var(--primar);
}

.stats-box h6,
.stats-box h5 {
  color: var(--text-light);
}


.logo-slide {
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  /* Makes logos white if needed */
  padding: 0 10px;
}

/* end */
/* OUR PROFESSIONALS */
.OUR-PROFESSIONALS {
  background-color: var(--dept-bg);
}


.doctor-card {
  background: linear-gradient(to bottom, #ffffff, #d9e5f8);
  border-radius: 24px;
  padding: 30px 20px;
  height: 492px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 10px 30px rgba(0, 56, 255, 0.07);
}

.top-info {
  margin-bottom: 20px;
  text-align: start;
}

.doctor-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.doctor-title {
  font-size: 10px;
  font-weight: 500;
  color: var(--secondary);
  text-transform: uppercase;
  margin: 5px 0 0;
}

.specialty-icon {
  width: 36px;
  height: 36px;
  color: var(--secondary);
}

.image-box {
  margin: 20px auto;
  border-radius: 50%;
  border: 6px solid #ffffff;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.1);

}

.doctor-image {
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.action-box {
  margin-top: 20px;
}

.btn-appointment {
  background: var(--secondary);
  color: var(--primar);
  padding: 9px 23px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 600;
  border: none;
  transition: background 0.3s;
  width: 210px;
  height: 36px;
}

.btn-appointment:hover {
  background: var(--primary);
  color: var(--btn-text);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 98, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--secondary);
  color: var(--primary);
  border-color: rgba(0, 98, 255, 0.3);
}

.social-icons img {
  width: 18px;
  height: 18px;
}

.action-box {
  padding-top: 14px;
  align-items: flex-end;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

/* end */

/* consultation section */
.consultation-section {
  background-color: var(--dept-bg);
  padding: 40px 0;
}

/* Main consultation bar */
.consultation-bar {
  background-color: var(--primary);
  border-radius: 60px;
  padding: 8px 26px;
  width: 100%;
  color: var(--white);
  font-weight: 600;
  font-size: 18px;
  /* gap: 17px; */
  width: 579px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

/* Left text */
.consultation-text {
  color: var(--text-liight);
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

/* CTA Button */
.consultation-btn {
  padding: 11px 18px;
  border: 1px solid var(--card-bg);
  border-radius: 50px;
  color: var(--text-liight);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  padding-left: 10px;
  padding-right: 10px;
}

.consultation-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.consultation-btn:hover {
  background-color: var(--secondary);
  color: var(--text-liight);
}

/* end */
/* step-follow */
.step-follow {
  background-color: var(--dept-bg);
}

.step-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 40px;
  text-align: center;
}

.step-title .highlight {
  color: var(--secondary);
}

.step-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  background-color: var(--secondary);
  color: var(--primar);
  /* Bootstrap Primary Blue */
  font-weight: 400;
  font-size: 14px;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.step-label .icon-svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.dept-heading {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  /* align-content: flex-start; */
  align-items: flex-start;
  align-items: flex-end;
  padding-left: 65px;
}

/* Hexagon container */
.hexagon {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto;
  clip-path: polygon(50% 0%,
      93% 25%,
      93% 75%,
      50% 100%,
      7% 75%,
      7% 25%);

  margin-top: 25px;

  border: 2px dashed #c0cfe6;
  overflow: hidden;
  background: #ffffff;
  transition: transform 0.3s ease;
}

.hex-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hexagon:hover .hex-image {
  transform: scale(0.95);
  /* Zoom-out effect */
}

/* Step badge */
.step-badge {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--secondary);
  color: var(--primar);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 50%;
  z-index: 1;
  /* /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
}

/* Titles & text */
.stepp-title {
  font-weight: 700;
  font-size: 16px;
  color: #0e2258;
  margin-top: 16px;
}

.stepp-desc {
  font-size: 14px;
  color: #5f6e89;
}

/* Arrows */
.arrow-img {
  position: absolute;
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
  width: 119px;
}

@media (max-width: 991.98px) {
  .arrow-img {
    display: none !important;
  }
}

/* end */
/* care-health */
.care-health {
  background-color: var(--primary);
  overflow: visible;
}

.care {
  max-width: 1140px;
  margin: 0 auto;
}

.care-img {
  position: absolute;
  z-index: 1;
  height: 503px;
  max-width: unset;
  /* aspect-ratio: 3 / 5; */
  left: -51px;
  bottom: -204px;

}

.her-heading {
  font-size: 47px;
  font-weight: 700;
  color: var(--text-liight);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.circl-bg {
  position: absolute;
  top: 63px;
  left: 269px;
  width: 332px;
  height: 322px;
  border-radius: 50%;
  background: #ffffff0d;
  transform: translate(-50%, -50%);
  z-index: 0;
  box-shadow: 0 0 0 30px #ffffff24, 0 0 0 70px #ffffff24, 0 0 0 110px #ffffff24;
  z-index: -1;
}

.free {
  background-color: var(--secondary);
  color: var(--primar);
  border-radius: 21px 21px 21px 20px;
  height: 43px;
  width: 166px;
  ;
  font-size: 14px;
  align-content: center;
}

.free:hover {
  background-color: var(--dept-bg);
  color: var(--primary);
}

.text-gradien {
  color: var(--secondary);
}

/* end */
/* overlay */
.appointment-overlay-section {
  background: var(--dept-bg);
  padding: 100px 0 60px;
  position: relative;
  overflow: visible;
}

/* White floating box */
.appointment-box {
  background: linear-gradient(to bottom, #ffffff, #d9e5f8);
  ;
  border-radius: 80px 80px 80px 80px;
  padding: 40px 50px;
  position: relative;
  z-index: 2;
  bottom: 131px;
  border: 10px solid #d9e5f8;

}

/* Heading styles */
.appointment-title {
  font-weight: 700;
  font-size: 28px;
  color: var(--primary);
  line-height: 1.4;
}

.appointment-title span {
  color: var(--secondary);
}

.appointment-subtitle {
  color: #5f6e89;
  font-size: 15px;
  margin-top: 12px;
}

/* Form controls */
.form-control-input {
  background: var(--from-input);
  border: none;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  flex: 1 1 calc(30% - 10px);
  min-width: 150px;
  transition: 0.3s;
  color: #f7f7f7;
}

.form-control-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}

/* Button */
.appointment-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.3s;
}

.appointment-btn:hover {
  background: var(--secondary);
}

@media (max-width: 768px) {
  .appointment-box {
    border-radius: 40px;
    padding: 30px 20px;
  }

  .form-control-input {
    flex: 1 1 100%;
  }

  .appointment-form {
    justify-content: center;
  }

  .appointment-btn {
    width: 100%;
    text-align: center;
  }
}

/* end */
/* patients-reviews */
.patients-reviews {
  background-color: var(--dept-bg);
}

.testimonial-section {
  background: var(--bg-light);
}

.testimonial-card {
  position: relative;
  background: linear-gradient(to bottom, #b9daff 10%, #ffffff 90%);
  border-radius: 60px;
  padding: 30px;
  padding-top: 50px;
  text-align: left;
  min-height: 320px;
}

.testimonial-card::after {
  position: relative;
  z-index: 1;
  border: 10px 10px 10px 10px;
  color: red;
}

.testimonial-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  position: absolute;
  top: -30px;
  left: 30px;
  border: 5px solid #d9e5f8;

}

.testimonial-text {
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 20px;
  padding-left: 24px;
}

.testimonial-footer h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.testimonial-role {
  font-size: 13px;
  color: var(--secondary);
  text-transform: uppercase;
}

.testimonial-stars {
  font-size: 18px;
  color: var(--secondary);
}

.btn-view-all {
  background: var(--secondary);
  color: var(--primar);
  padding: 12px 30px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s;
}

.btn-view-all:hover {
  background: var(--primary);
  color: var(--text-liight);
}

.testimonial-footer {

  display: flex;
  flex-direction: row;
  /* align-content: center; */
  align-items: center;
  justify-content: space-between;
  padding: 24px;
}

/* end */
/* blog */
.blog {
  background-color: var(--dept-bg);
}

.blog-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 13px;
  background-color: var(--secondary);
  color: var(--primar);
  font-weight: 400;
  font-size: 12px;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, );
}

.blog-label .icon-svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}



.blog-section {
  background: var(--bg-light);
}

.blog-card {
  background: linear-gradient(to bottom, #ffffff, #d9e5f8);
  border-radius: 25px;
  overflow: hidden;
}


.blog-img {
  position: relative;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: auto;
  border-radius: 29px 29px 0 0;
  object-fit: cover;
  border: 10px solid white;
}

.blog-category {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: var(--secondary);
  color: var(--primar);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 5px;
  border: 3px solid white;
}

.blog-content {
  padding: 28px;
}

.blog-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.blog-title:hover {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
}

.blog-meta {
  font-size: 14px;
  color: var(--primary);
}

.blog-meta i {
  color: var(--secondary);
  margin-right: 5px;
}

.blog-meta span {
  margin-right: 15px;
}

.blog-meta a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

/* end */
/* subscribe */
.subscribe {
  background-color: var(--secondary);
  /* Typically blue from your image */
  color: var(--primary);
  /* Usually white or light text */
}

.subscribe-icon svg {
  color: var(--primar);
}

.subscribe-bar h4,
.subscribe-bar p {
  margin: 0;
  color: var(--primar);
}

.subscribe-btn {
  padding: 11px 30px;
  border: 1px solid var(--card-bg);
  border-radius: 50px;
  color: var(--text-liight);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  background-color: transparent;
  transition: all 0.3s ease;
}

.subscribe-btn:hover {
  background-color: var(--primary);
  color: var(--text-liight);
}

/* footer */
.custom-footer {
  position: relative;
  background-color: var(--primary);
  overflow: hidden;
  color: var(--text-liight);
}

.custom-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--primary);
  opacity: 0.85;
  z-index: 0;
}

.footer-overlay {
  position: relative;
  z-index: 1;
}


.footer-bottom {
  background-color: var(--primary);
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-opening-hours {
  background: var(--dept-bg);
  color: var(--primary);
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  height: 393px;
  width: 308px;
  z-index: 1;
  padding-top: 36px;
}

.footer-opening-hours h4 {
  background: #fff;
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  height: 41px;
  width: 212px;
}

.footer-opening-hours .time-row {
  font-size: 14px;
  margin: 5px 0;
}

.footer-opening-hours .highlight {
  font-weight: 500;
  font-size: 14px;
  margin-top: 10px;
}

.footer-social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 98, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social-icons a:hover {
  background-color: var(--secondary);
  color: var(--primary);
  border-color: rgba(0, 98, 255, 0.3);
}

.footer-social-icons {

  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}


/*aboutus page*/
/*text*/
.ab-text {
  padding-left: 20px;
  padding-right: 20px;
  text-align: left;

}

.aboutus {
  background-color: var(--dept-bg);
}

/* --- General Layout --- */
.medilife-features-area {
  padding: 100px 0;
  background-color: #fff;
}

.features-content h2 {
  font-size: 34px;
  font-weight: 700;
  color: #1e2a5a;
  margin-bottom: 20px;
}

.features-content p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 30px;
}

.features-thumbnail img {
  width: 100%;
  border-radius: 10px;
}

.btn.medilife-btn {
  background-color: #2E7D32;
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn.medilife-btn:hover {
  background-color: #1b5e20;
}

/* --- Video Section --- */
.medilife-video-area {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 100px 0;
}

.video-box {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  z-index: 1;
}

.video-box img {
  width: 100%;
  border-radius: 10px;
}

.bg-overlay::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #379237;
  opacity: 0.85;
  z-index: 0;
}

.bg-overlay-black::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00000096;
}

.video-box .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.video-box .play-btn a img {
  width: 80px;
  height: 80px;
}

.video-box h6 {
  margin-top: 20px;
  font-weight: 600;
  color: #fff;
}

.video-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.video-content {
  position: absolute;
  z-index: 1;
}

.video-content p {
  color: #f1f1f1;
  line-height: 1.7;
}

/* --- Skills Section --- */
.our-skills-area {
  padding: 80px 0;
  background: #fff;
}

.single-pie-bar {
  margin-bottom: 30px;
}

.single-pie-bar h5 {
  margin-top: 15px;
  font-size: 18px;
  font-weight: 600;
  color: #1e2a5a;
}

.single-pie-bar p {
  color: #666;
  font-size: 14px;
}

/* --- Tabs Section --- */
.medilife-tabs-area {
  padding: 100px 0;
  background-color: #f9f9f9;
}

.nav-tabs {
  justify-content: center;
  border-bottom: none;
  margin-bottom: 40px;
}

.nav-tabs .nav-link {
  color: #333;
  font-weight: 600;
  padding: 12px 25px;
  border-radius: 0;
  border: none;
  border-bottom: 3px solid transparent;
  transition: 0.3s;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover {
  border-bottom: 3px solid #379237;
  color: #379237;
}

.medilife-tab-content {
  background: #fff;
  border: 1px solid #379237;
  border-radius: 6px;
  padding: 40px;
}

.medilife-tab-text h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e2a5a;
  margin-bottom: 15px;
}

.medilife-tab-text p {
  color: #555;
  line-height: 1.8;
}

.medilife-tab-img img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  margin-left: auto;
}

.tab-pane ol {
  margin-left: 20px;
}

.tab-pane ol h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #1e2a5a;
}

.tab-pane ol p {
  margin-bottom: 10px;
  color: #444;
}

/* --- Responsive Fixes --- */
@media (max-width: 992px) {
  .features-content {
    margin-bottom: 40px;
    text-align: center;
  }

  .video-content {
    text-align: center;
    margin-top: 30px;
  }

  .medilife-tab-content {
    flex-direction: column;
  }

  .medilife-tab-img img {
    margin: 20px auto 0;
  }
}

.single-pie-bar {
  position: relative;
  text-align: center;
  margin-bottom: 40px;
}

.bar-circle {
  transform: rotate(0deg);
}

.single-pie-bar h5 {
  margin-top: 15px;
  font-weight: 600;
  font-size: 16px;
  color: #222;
}

.single-pie-bar p {
  color: #777;
  font-size: 14px;
}

/* optional smooth appear */
.single-pie-bar {
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

.single-pie-bar.visible {
  opacity: 1;
}

/*end*/
/*map*/
.global-presence-section {
  background: var(--secondary);
  color: var(--primary);
  position: relative;
}

.display-4 {
  color: var(--primary);
  font-size: 75px;
  font-weight: 700;
}

.name {
  color: var(--primary);
}

.num {
  color: var(--primary);
}

.fet {
  color: white;
}

.bg-map-box {
  background-image: url('img/map.png');
  /* Replace with your map bg image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  backdrop-filter: brightness(0.9);
}

.our-fet {
  display: flex;
  flex-direction: row;
  align-items: center;
}

/*end*/
.brand-slider {
  background: var(--dept-bg);
}

.brand-slider img {
  max-height: 60px;
  margin: 0 auto;
}

.brand-slider .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-button-prev,
.brand-button-next {
  color: #333;
}

.text-secondar {
  color: var(--primary);
}

/*contact us page*/
.conl {
  color: var(--primary);
}

.contact-section {
  background-color: var(--dept-bg);
  padding: 60px 0;
  position: relative;
}

/* department section */
.cont-section {
  padding: 60px 0;
  background: var(--dept-bg);
}

.cont-btn {
  background-color: var(--secondary);
}

.cont-name {
  max-width: calc(100% - 60px);
}

.cont-btn:hover {
  background-color: var(--primary-color);
  color: var(--text-liight);
}

.section-header .icon svg {
  width: 30px;
  height: 30px;
  color: var(--dept-text);
}

.section-header h6 {
  color: var(--dept-text);
  font-weight: 600;
  margin-top: 10px;
}

.section-header .title {
  font-size: 44px;
  font-weight: bold;
  margin: 10px 0;
  color: var(--primary);
  text-align: start;
}

.section-header .title span {
  color: var(--dept-text);
}

.section-header .description {
  color: var(--text-color);
  margin-bottom: 20px;
  text-align: start;
  color: #065794;
}

.cont-section .btn-link {
  font-size: 13px;
}

.cont-card {
  background: linear-gradient(to bottom, #ffffff, #d9e5f8);
  border-radius: 24px;
  padding: 30px 25px;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 0 0 rgb(217 229 248);
  /* text-align: center; */
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: 0.4s;
}

.cont-card:hover {
  transform: translateY(-10px);
  background: linear-gradient(to bottom, #ffffff, #d9e5f8);
  box-shadow: 0px 30px 70px 0px rgba(166.22673913043477, 198.06515217391302, 239.7, 0.57);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

.cont-section .number-circle {
  background: var(--icon-color);
  color: white;
  font-weight: 700;
  font-size: 14px;
  border-radius: 50%;
  padding-left: 2px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: #002057;
  margin: 0;
  line-height: 1.4;
  text-align: left;
}

.icon-wrapper {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.icon-bg {
  background-color: #d9ecfd;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  opacity: 0.3;
  position: absolute;
  top: 0;
  left: 0;
}

.icon-img {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  margin-top: 14px;
}

.card-text {
  color: #4d6c87;
  font-size: 14px;
  margin-bottom: 20px;
}

.card-link {
  color: #007bff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}


.btn-link:hover {
  text-decoration: underline;
}

.cont-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: var(--secondary);
  color: var(--primar);
  /* Bootstrap Primary Blue */
  font-weight: 600;
  font-size: 14px;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.cont-label .icon-svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.cont-heading {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  /* align-content: flex-start; */
  align-items: flex-start;
  align-items: flex-end;
  padding-left: 65px;
}

.cont-logo {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  /* align-content: flex-start; */
  justify-content: flex-start;
  align-items: flex-start;

}

.cont-section .icon {
  position: relative;
  z-index: 1;
  margin: 30px 0 50px 0;
}

.cont-section .icon::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 125px;
  aspect-ratio: 0.94 / 1;
  top: 10px;
  left: 20px;
  background-color: #e2eefe;
  border-radius: 50%;
  opacity: 0.5;
  transform: rotate(36deg);
}

.ccont-logo {
  height: 80px;
}

.ccont-desc {
  text-align: left;
}

.follow {
  color: var(--primary);
}

.ccont-count {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* end */





.form-box {
  background: #fff;
  padding: 30px;
  border-radius: 25px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.form-control {
  border-radius: 20px;
  border: none;
  background-color: #a5d51d85;
  padding: 12px 20px;
}

.form-control:focus {
  box-shadow: none;
  border: 1px solid #ccc;
}

.send-btn {
  background-color: var(--secondary);
  border-radius: 25px;
  padding: 10px 30px;
  color: white;
  border: none;
  transition: 0.3s ease-in-out;
}

.send-btn:hover {
  background-color: #0056b3;
}

.doctor-imgg {
  /* max-width: 100%; */
  position: absolute;
  z-index: 1;
  height: 100%;
  max-width: unset;
  aspect-ratio: 5 / 5;
  left: 70%;
  bottom: 0px;
  transform: translateX(-50%);
  border-radius: 15px 15px 0 0;
}

.map-container {
  background-color: var(--dept-bg);
  border: 4px solid var(--primary);
}

.map-responsive iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: none;
}

@media (max-width: 768px) {
  .contact-section {
    padding: 30px 0;
  }
}

.connect-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 2px solid #b5dc2e;
  border-radius: 50%;
  font-size: 18px;
  transition: 0.3s ease;
  background-color: transparent;
  text-decoration: none;
  position: relative;
  left: 101px;
  bottom: 22px;
  margin-top: 24px;
}

.connect-icon:hover {
  background-color: #b5dc2e;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.connect-social-icons .icon {
  position: relative;
  z-index: 1;
  margin: 51px 0 50px 0;
}

.contact-header-section {
  /*background-image: url('../img/1500 x 800.png') center center / cover no-repeat;*/
  padding: 200px 0;
  position: relative;
  color: #fff;
  overflow: hidden;
}

.contact-header-section h1 {
  font-size: 3rem;
  z-index: 2;
  position: relative;
}

/* Optional: Add an overlay for better text contrast */
.contact-header-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #379237db;
  /* Blue overlay */
  z-index: 1;
}

/*health packages*/
.health-checkup-section {
  background-color: var(--dept-bg);
}

.health-checkup-section .card-header {
  font-size: 1rem;
  font-weight: bold;
  padding: 0.75rem 1rem;
}

.healthtext {
  color: var(--primary);
}

.custom-health-card {
  background: linear-gradient(to bottom, #ffffff, #d9e5f8);
  border-radius: 20px;
  padding: 30px 20px;
  /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); */
  transition: all 0.3s ease;
  text-align: center;
  height: 100%;
}

.health-up {
  background-color: var(--primary);
  border-radius: 21px 21px 0 0;
  display: flex;
  flex-direction: row;
  /* align-content: center; */
  flex-wrap: nowrap;
  justify-content: flex-start;
  margin-top: -30px;
  margin-bottom: 17px;
  margin-left: -19px;
  margin-right: -19px;
  gap: 15px;
  padding: 0 20px;
}

.card-number-circle {
  width: 40px;
  height: 40px;
  background-color: #a6dc2b;
  color: white;
  font-weight: bold;
  font-size: 14px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 17px;
  color: #ffffff;
}

.card-icon {
  margin-top: 10px;
}

.card-icon i {
  font-size: 40px;
  color: #ffffff;
  margin-bottom: 15px;
}

.check-list {
  list-style: none;
  padding: 10px;
  margin-bottom: 20px;
  text-align: left;
}

.check-list li {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 8px;
}

.check-list i {
  color: var(--primary);
  margin-right: 8px;
}

.book-btn {
  padding: 7px 110px;
  background-color: #a6dc2b;
  color: #012c7b;
  border: 2px solid #a6dc2b;
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.book-btn:hover {
  background-color: #8fc421;
  color: #fff;
}

/*end*/
/*from*/
.form {
  background: var(--dept-bg);
}

.booking-form {
  max-width: 522px;
  margin: 35px auto;
  padding: 26px;
  background: #a5d51d66;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);



}

.book-now-btn {
  padding: 7px 193px;
  background-color: #a6dc2b;
  color: #012c7b;
  border: 2px solid #a6dc2b;
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.book-now-btn:hover {
  background-color: #8fc421;
  color: #fff;
}

.form-group {
  margin-bottom: 15px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: #8ecf21;
}

.subscribe-btn {
  background-color: var(--primary);
  color: white;
  font-weight: bold;
  padding: 12px 30px;
  border: 2px solid white;
  border-radius: 40px;
  cursor: pointer;
  transition: background 0.3s ease;
  display: inline-block;
}

.subscribe-btn:hover {
  background-color: #76b716;
}

/*admission page*/
.inpatient-guide {
  /* max-width: 900px; */
  /* margin: 0px 206px; */
  padding: 37px 178px;
  color: var(--primary);
  background-color: var(--dept-bg);
}

.inpatient-guide h2 {
  color: var(--primary);


}

.inpatient-guide h3 {
  font-size: 20px;
  margin-top: 40px;
  color: var(--primary);
}

.custom-list {
  list-style: none;
  margin-top: 15px;
}

.custom-list li {
  position: relative;
  padding-left: 65px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.custom-list li::before {
  content: '';
  background-image: url('../img/hospitallogo.png');
  /* Replace with your logo path */
  background-size: contain;
  background-repeat: no-repeat;
  width: 60px;
  height: 25px;
  background-position: left;

  position: absolute;
  left: 0;
  top: 2px;
}

.li-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: middle;
}


/*Animations*/
@keyframes slide {
  0% {
    visibility: hidden;
    transform: translateY(70%);
  }

  100% {
    visibility: visible;
    transform: translateY(0%);
  }
}

@-webkit-keyframes slide {
  0% {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(-70%);
  }

  100% {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0%);
  }
}

@keyframes slidelr {
  0% {
    opacity: 0;
    transform: translateX(-70%);
  }

  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}

@-webkit-keyframes slidelr {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-70%);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
  }
}

@keyframes sliderl {
  0% {
    opacity: 0;
    transform: translateX(70%);
  }

  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}

@-webkit-keyframes sliderl {
  0% {
    opacity: 0;
    -webkit-transform: translateX(70%);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
  }
}

/*pulsh effect*/
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(185 0 76 / 33%), 0 0 0 0 rgb(185 0 76 / 63%);
  }

  40% {
    box-shadow: 0 0 0 50px rgba(99, 69, 238, 0), 0 0 0 0 rgb(185 0 76 / 47%);
  }

  80% {
    box-shadow: 0 0 0 50px rgba(99, 69, 238, 0), 0 0 0 30px rgba(99, 69, 238, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(99, 69, 238, 0), 0 0 0 30px rgba(99, 69, 238, 0);
  }
}

/* grow effect */
@keyframes grow {
  0% {
    transform: translate(-50%, -50%) scale(1.0);
  }

  40% {
    transform: translate(-50%, -50%) scale(1.1);
  }

  80% {
    transform: translate(-50%, -50%) scale(0.8);
  }

  100% {
    transform: translate(-50%, -50%) scale(1.0);
  }
}

/*end*/
/* :: 7.0 About Us Area CSS */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .medica-about-content {
    margin-bottom: 100px;
  }
}

@media only screen and (max-width: 767px) {
  .medica-about-content {
    margin-bottom: 100px;
  }
}

.medica-about-content h2 {
  font-size: 44px;
  margin-bottom: 30px;
}

@media only screen and (max-width: 767px) {
  .medica-about-content h2 {
    font-size: 30px;
  }
}

/* end */
@media (max-width: 991px) {
  body {
    overflow-x: hidden;
  }

  .slider-overlay {
    position: relative;
    width: 100%;
    background: #ffffffee;
    backdrop-filter: none;
    padding: 30px 20px;
    right: 0;
  }

  .slider-buttons {
    flex-direction: row;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .slider-buttons>a {
    width: calc(50% - 10px);
  }

  .slider-button {
    padding: 16px;
    height: 100%;
    text-align: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .slider-button img {
    min-width: 30px;
  }

  .slider-button h4 {
    font-size: 14px;
  }

  .slider-button p {
    min-height: auto;
    font-size: 10px;
  }

  .swiper-slide {
    height: 500px;
  }
}


@media (max-width: 767px) {
  body {
    font-size: 14px;
  }

  .m_off {
    display: none !important;
  }

  .m_on {
    display: block !important;
  }


  .intro-title {
    font-size: 28px;
  }

  .intro-content {
    flex-direction: column;
    align-items: center;
  }

  .dept-heading {
    padding-left: 0;
    flex-wrap: wrap;
  }

  .section-header .title {
    font-size: 26px;
  }



  .site_header {
    position: sticky;
    top: 0;
  }

  .header-row {
    padding-top: 25px;
  }

  .header-row>div {}

  .header-up-btn {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-end;
    position: absolute;
    top: 0px;
    background: var(--primary);
  }

  .btn-contact {
    font-size: 8px;
    margin-left: 0px;
  }

  .header-top img {
    max-width: 150px;
  }

  .her-heading,
  .step-title {
    font-size: 26px;
  }

  .header-middle {
    display: none;
  }

  .navbar-nav.custom-menu {
    width: 100%;
    text-align: left;
    max-height: calc(100vh - 153px);
    overflow: auto;
  }

  .custom-menu>li {
    border-bottom: 1px solid #efefef;
    position: relative;
    z-index: 1;
  }

  .custom-menu .navcticn {
    position: absolute;
    top: 2px;
    right: 0px;
    padding: 10px 14px;
    color: var(--primary);
  }

  .custom-menu>li>a {
    display: block;
    width: calc(100% - 40px);
  }

  .header-middle ul li:hover>.sub-menu {
    display: none;
  }

  .header-middle ul li>.sub-menu.active {
    display: block;
    width: 100%;
    z-index: 9;
    background: #fff;
    position: relative;
  }


  .hero-heading {
    font-size: 26px;
  }

  .hero-section .info-card {
    margin-top: 70vh !important;
    position: relative;
    z-index: 1;
  }

  .hero-section .doctor-img {
    position: absolute;
    z-index: 1;
    height: 75vh;
    max-width: 90vw;
    left: 50%;
    bottom: calc(0% + 1.5rem);
    transform: translateX(-50%);
  }

  .hero-section .circle-bg {
    top: 0;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -150%);
    z-index: -1;
  }

  .hero-section .box-text .service {
    padding: 0 5px !important;
  }

  .hero-section .box-text .service h5 {
    font-size: 16px;
  }

  .hero-section .box-text .service p {
    font-size: 11px;
    opacity: 0.7;
  }


  .department-section .top_dept {
    padding: 0 !important;
  }

  .department-section .top_dept .number-circle {
    width: 25px;
    height: 25px;
    font-size: 10px;
  }

  .department-section .top_dept .dept-name {
    max-width: calc(100% - 35px);
    font-size: 16px;
  }

  .department-section .top_dept .icon {
    margin: 30px 0 30px 0;
  }

  .department-section .top_dept .health-logo {
    height: 60px;
  }

  .health-desc {
    font-size: 10px;
  }


  .care-health {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding-bottom: 0 !important;
  }

  .care-img-cont {
    min-height: 450px;
    margin-bottom: 0 !important;
  }

  .care-img {
    left: 0;
    bottom: 0;
    object-fit: contain;
    height: unset;
    width: 100%;
  }

  .circl-bg {
    top: 50%;
    left: 50%;
  }


  .appointment-title {
    font-size: 20px;
  }

  .intro-bottom-image img {
    left: 0;
    bottom: 30px;
  }


  .testimonial-card {
    min-height: unset;
  }


  .avatar {
    width: 40px;
    height: 40px;
  }

  .counter {
    font-size: 2rem;
  }

  .stats-section::before {
    border-radius: 20px;
  }

  .stats-box {
    border-radius: 20px;
    margin-bottom: 40px;
    margin-top: 35px;
  }

  .stats-box::before {
    border-radius: 0;
  }



  .consultation-bar {
    width: 100%;
    border-radius: 15px;
  }

  .consultation-text {
    width: 50%;
    white-space: break-spaces;
    margin: 12px 0;
    font-size: 14px;
  }

  .consultation-btn {
    text-align: center;
    font-size: 12px;
  }


  .contact-header-section {
    padding: 60px 0;
  }

  .contact-header-section h1 {
    font-size: 26px;
  }
}

/* all service page */
/* :: 8.0 Service Area CSS */
.medica-services-area {
  position: relative;
  z-index: 1;
}

.single-service-area {
  margin-bottom: 30px;
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
}

.single-service-area .service-icon {
  width: 64px;
  height: 64px;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 64px;
  flex: 0 0 64px;
  margin-right: 30px;
  text-align: center;
  line-height: 64px;
  font-size: 30px;
  background-color: #379237;
  border-radius: 50%;
  color: #ffffff;
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
}

.single-service-area .service-content {
  margin-top: 15px;
}

.single-service-area .service-content h5 {
  font-size: 22px;
  margin-bottom: 15px;
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
}

.single-service-area .service-content p {
  margin-bottom: 0;
}

.single-service-area:hover .service-icon {
  background-color: #379237;
}

.single-service-area:hover .service-content h5 {
  color: #379237;
}

/* :: 16.0 Services Area CSS */
.medilife-services-area {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.singleServiceArea {
  position: relative;
  z-index: 1;
  width: 33.3333%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 70px 40px 100px;
  color: #fff;
  box-sizing: border-box;
  min-height: 550px;
}

/* Left (Green) */
.singleServiceArea:first-child {
  background-color: #379237;
}

/* Center Image */
.singleServiceArea.bg-img {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 0;
}

/* Right (Blue) */
.singleServiceArea:last-child {
  background-color: #004797;
}

/* Icon Styling */
.singleServiceArea .singleServiceIcon {
  margin-bottom: 20px;
}

.singleServiceArea .singleServiceIcon i {
  color: #ffffff;
  font-size: 70px;
}

/* Text Styling */
.singleServiceArea .singleServiceText {
  max-width: 480px;
}

.singleServiceArea .singleServiceText h2 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 36px;
  line-height: 1.3;
}

.singleServiceArea .singleServiceText p {
  color: #ffffff;
  line-height: 1.7;
  font-size: 16px;
}

/* Responsive */
@media (max-width: 991px) {
  .medilife-services-area {
    flex-direction: column;
  }

  .singleServiceArea {
    width: 100%;
    padding: 50px 30px;
  }

  .singleServiceArea.bg-img {
    min-height: 400px;
  }
}


/* :: 17.0 Single Benefits Area CSS */
.section-padding-100-50 {
  padding: 100px 0 50px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 70px;
}

.section-heading h2 {
  font-size: 42px;
  font-weight: 700;
  color: #003366;
  line-height: 1.3;
}

/* Benefits Layout */
.single-benefits-area {
  position: relative;
  margin-bottom: 50px;
}

.single-benefits-title {
  margin-bottom: 15px;
  position: relative;
}

.single-benefits-title h5 {
  font-size: 20px;
  font-weight: 700;
  color: #004aad;
  margin: 0;
}

.single-benefits-area p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* Green Box Icon */
.benefit-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #379237;
  margin: 0 10px;
  border-radius: 2px;
}

/* Image in center */
.single-benefits-thumb img {
  max-width: 380px;
  margin: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 991px) {
  .text-right {
    text-align: left !important;
  }

  .single-benefits-area {
    text-align: left !important;
  }

  .single-benefits-thumb img {
    margin: 40px auto;
  }
}

.service-icon svg {
  margin-bottom: 7px;
}
/* all blog page */
.blog-p {
  display: flex
;
    max-height: 342px;
    /* flex-direction: row; */
    flex-wrap: nowrap;
    align-items: stretch;
}
.section-5{
  background-color: var(--dept-bg);
}
/* === Blog Section === */
  .section-5 {
    padding: 80px 0;
    position: relative;
    z-index: 1;
  }

  /* Blog Card */
  .sec4item {
    position: relative;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    background: #fff;
    transition: all 0.3s ease-out;
    overflow: hidden;
  }

  .sec4item:hover {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
  }

  /* Blog Thumbnail */
  .sec4item .thumbimg {
    border-radius: 12px;
    overflow: hidden;
  }

  .sec4item .thumbimg img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .sec4item:hover .thumbimg img {
    transform: scale(1.05);
  }

  /* Blog Content */
  .sec4item .infocont {
    padding-top: 15px;
  }

  .sec4item .infocont .date {
    color: #a5b7d2;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
  }

  .sec4item .infocont h3 {
    color: #1e1e1e;
    font-size: 26px;
    font-weight: 700;
    margin: 10px 0;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .sec4item .infocont p {
    color: #6c6c6c;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
  }

  /* === Sidebar === */
  .auth_box {
    padding: 30px 25px;
    border-radius: 15px;
    background: linear-gradient(135deg, #379237, #379237);
    box-shadow: 0 15px 40px rgb(55 146 55 / 41%);
    margin-bottom: 40px;
  }

  .auth_box .auth_img {
    margin: 0 auto 20px;
    width: 130px;
    height: 130px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .auth_box .auth_img img {
    max-height: 70px;
    object-fit: contain;
  }

  .auth_box h2 {
    color: #fff;
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 10px;
  }

  .auth_box p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
  }

  /* Social Links */
  .auth_box .social ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
  }

  .auth_box .social li {
    font-size: 14px;
    color: var(--primary-color);
    background-color: #fff;
    height: 32px;
    width: 32px;
    border-radius: 50%;
    line-height: 32px;
    text-align: center;
    transition: all 0.3s ease;
  }

  .auth_box .social li:hover {
    transform: translateY(-5px);
    background-color: #ffb700;
    color: #fff;
  }

  /* === Sidebar Blocks === */
  .sidebrhd {
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
    border-left: 4px solid #379237;
    padding-left: 10px;
  }

  /* Recent Posts */
  .rcntpst {
    padding: 0;
    list-style: none;
  }

  .rcntpst li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
    transition: transform 0.3s ease;
  }

  .rcntpst li:hover {
    transform: translateX(5px);
  }

  .rcntpst .thumb {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
  }

  .rcntpst .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .rcntpst .blginfo {
    flex: 1;
  }

  .rcntpst .blginfo h4 {
    font-size: 15px;
    font-weight: 600;
    color: #2e2e2e;
    line-height: 1.4;
    margin-bottom: 3px;
  }

  .rcntpst .blginfo p.date {
    font-size: 12px;
    color: var(--primary);
  }

  /* Categories */
  .cat_lists {
    padding-left: 20px;
    list-style: none;
  }

  .cat_lists li {
    font-size: 15px;
    color: #494949;
    margin-bottom: 6px;
    transition: color 0.3s ease;
  }

  .cat_lists li:hover {
    color: #ef1770;
    font-weight: 600;
  }
.section-5 .container{
 max-width: 1140px; 
     margin: 0 auto;
}
.blogg-p{
  margin-left: 12px; margin-right: 12px;
}


  @media (max-width: 767px) {
    .doctor-card {
          width: 329px;
    }

    
  }
