@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
/* html {
  scroll-behavior: smooth;
} */
body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* ------------------------------------------navbar---------------------------------------------- */
/* Smooth scroll */

/* Sticky & blurred navbar */
/* --- Top Bar (Header Layout) --- */
.top-header-bar {
  position: relative;
  background: #ea1450; /* fallback light green */
  padding: 0.15rem 0;
  /* border-bottom: 1px solid rgba(0, 0, 0, 0.08); */
  color: #343a40;
  overflow: hidden;
  z-index: 1;
}

.top-header-bar::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: #1cafa9; /* light red */
  transform: skewX(20deg); /* tilt angle */
  transform-origin: top right;
  z-index: 0;
}

.top-header-bar .container-fluid {
  position: relative;
  z-index: 1; /* Make sure content stays on top of the ::before */
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-left: 1rem;
  padding-right: 1rem;
}

.top-header-bar .contact-info,
.top-header-bar .social-icons {
  display: flex;
  align-items: center;
  gap: 15px;
  color: white;
}

.top-header-bar .contact-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.95rem;
  font-weight: 500;
  color: white; /* Dark grey text */
}

.top-header-bar .contact-item i {
  color: #639cd8; /* Main brand blue */
  font-size: 1.1rem;
}

.top-header-bar .social-icons a {
  color: white; /* Main brand blue */
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.top-header-bar .social-icons a:hover {
  color: #0056b3; /* Darker blue on hover */
}

/* --- Main Navbar Styling --- */
.main-navbar {
  position: sticky;
  top: 0;
  z-index: 1020;
  background-color: rgba(255, 255, 255, 0.98); /* Near-white background */
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Light shadow */
  padding: 0.5rem 1rem;
}

.main-navbar .navbar-brand img {
  height: 110px; /* Adjusted logo size for better balance */
  width: auto;
}

/* Nav Links Styling */
.navbar-nav .nav-link {
  color: #343a40 !important; /* Dark grey */
  font-weight: 600;
  font-size: 1.05rem;
  padding: 10px 18px !important;
  border-radius: 30px;
  margin: 0 6px;
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-nav .nav-link i {
  font-size: 1.1em;
  color: #007bff; /* Main brand blue */
}

.navbar-nav .nav-link:hover {
  background-color: #e0f2f7; /* Very light blue */
  color: #0056b3 !important; /* Darker blue */
  transform: translateY(-2px);
}

.navbar-nav .nav-item.active .nav-link {
  background-color: #e0f2f7; /* Medium blue for active state */
  color: #343a40 !important; /* Dark text for active state */
  font-weight: 700;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08); /* Subtle shadow */
}

.navbar-nav .nav-link i {
  /* font-size: 1.1em; */
  color: #0699d6;
}

/* Dropdown Menu Styling */
.dropdown-menu {
  border-radius: 0.75rem;
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.15); /* Deeper shadow */
  border: none;
  padding: 0.75rem 0;
  animation: fadeInSlideDown 0.3s ease-out forwards;
}

@keyframes fadeInSlideDown {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  color: #343a40 !important; /* Dark grey */
  padding: 0.75rem 1.5rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.dropdown-item i {
  color: #0699d6; /* Main brand blue */
  font-size: 1.05em;
}

.dropdown-item:hover {
  background-color: #e0f2f7; /* Very light blue */
  color: #0056b3 !important; /* Darker blue */
}

/* Appointment Button Styling */
.btn-appointment {
  color: #ffffff; /* White text */
  background-color: #0498d4; /* Main brand blue */
  border: 2px solid #007bff;
  border-radius: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease,
    box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.btn-appointment:hover {
  background-color: #0056b3; /* Darker blue on hover */
  border-color: #0056b3;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-appointment i {
  font-size: 1.1em;
}

/* --- Responsive Media Queries --- */

@media (max-width: 1406px){
  .navbar-nav .nav-link {
    /*font-size:xx-small;*/
    padding:8px 8px  !important;
  }
  .btn-appointment{
    /*font-size: xx-small;*/
    padding: 3px 6px;
  }
  .btn-appointment i {
    font-size: 10px;
  }
}
@media (max-width: 991.98px) {
  /* Hide top header bar on small screens */
  .main-navbar .navbar-brand img {
    height: 85px; /* Adjusted logo size for better balance */
    width: auto;
  }
  .top-header-bar {
    display: none;
  }

  /* Tablet and Mobile Navbar Adjustments */
  .main-navbar .navbar-toggler {
    border-color: #007bff; /* Blue border for toggler */
  }
  .main-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgb(0, 123, 255)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  .main-navbar .navbar-collapse {
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 1rem;
    background-color: rgba(
      255,
      255,
      255,
      0.98
    ); /* Ensure background is set for collapsed menu */
  }

  .navbar-nav {
    width: 100%; /* Ensure full width for nav items in collapsed menu */
  }

  .navbar-nav .nav-item {
    width: 100%; /* Ensure full width for nav items */
  }

  .navbar-nav .nav-link {
    font-size: 1rem;
    padding: 0.75rem 1rem !important;
    margin: 5px 0; /* Add vertical margin for spacing */
    border-radius: 0.375rem;
    justify-content: flex-start;
    background-color: #f8f9fa; /* Slightly off-white for mobile links */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); /* Very light shadow for mobile links */
  }

  .navbar-nav .nav-link:hover {
    background-color: #e0f2f7; /* Keep hover consistent */
    transform: none; /* Remove lift on mobile hover */
  }

  .navbar-nav .nav-item.active .nav-link {
    background-color: #add8e6; /* Medium blue for active on mobile */
    color: #343a40 !important;
    box-shadow: none; /* No shadow for active on mobile */
  }

  .dropdown-menu {
    width: calc(100% - 2rem); /* Full width minus container padding */
    border-radius: 0.375rem;
    position: static !important;
    float: none;
    transform: none !important;
    margin-top: 0.5rem;
    margin-left: 1rem; /* Indent dropdown slightly */
    margin-right: 1rem;
    background-color: #f0f8ff; /* AliceBlue for dropdown background on mobile */
    box-shadow: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0; /* Adjust padding for mobile dropdown */
  }

  .dropdown-item {
    padding: 0.6rem 1.5rem; /* Adjust padding for mobile dropdown items */
    font-size: 0.9rem; /* Slightly smaller font */
    background-color: transparent; /* Default transparent */
  }

  .dropdown-item:hover {
    background-color: #e0f2f7; /* Hover for mobile dropdown items */
  }
}

@media (min-width: 992px) {
  /* Desktop specific alignments */
  .main-navbar .navbar-nav {
    flex-grow: 1;
    justify-content: center;
    margin-left: 0;
    margin-right: auto;
  }

  .main-navbar .navbar-brand {
    margin-right: 2rem;
  }
}
/* ------------------------------------------section-1---------------------------------------------- */
.hero-tagline {
  text-align: justify;
  font-weight: 400;
}
.hero-content-wrapper {
  position: relative;
  width: 100%;
  height: 85vh; /* Full height of viewport */
  background: linear-gradient(
    135deg,
    #e6f7ff,
    #ffe6f7
  ); /* Light pastel gradient */
  border-bottom: 1px dotted black;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  overflow: hidden;
  z-index: 1;
}

.hero-content-wrapper::before,
.hero-content-wrapper::after {
  content: "";
  position: absolute;
  background-color: #ff99cc; /* Secondary pink */
  border-radius: 50%;
  opacity: 0.3;
  z-index: 0;
}

.hero-content-wrapper::before {
  width: 150px;
  height: 150px;
  top: -50px;
  left: -50px;
  transform: rotate(20deg);
}

.hero-content-wrapper::after {
  width: 200px;
  height: 200px;
  bottom: -80px;
  right: -80px;
  transform: rotate(-30deg);
  background-color: #66b3ff; /* Primary blue */
  opacity: 0.2;
}

/* New flex container for text and image sections */
.hero-main-content {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.carousel-inner {
  height: 100%;
  width: 100%;
}

.carousel-item {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  transition: none;
}

.hero-text-content {
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  z-index: 1;
}

.carousel-item.active .hero-text-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-image-column {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-text-column {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.doctor-image-container {
  width: 540px;
  height: 540px;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid #ff99cc; /* Secondary pink */
  background-color: #66b3ff; /* Primary blue */
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.doctor-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}

.doctor-image-container img.active-image {
  opacity: 1;
}

.welcome-badge {
  background-color: #ff99cc; /* Secondary pink */
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 15px;
}

.hero-tagline {
  font-size: 1.2rem;
  color: #6c757d; /* Light text */
  margin-bottom: 30px;
}

.hero-btn {
  background-color: #4caf50; /* Button background */
  color: #fff;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero-btn:hover {
  background-color: #45a049; /* Button hover */
  transform: translateY(-3px);
}

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 20px;
  z-index: 1000;
  width: auto;
  opacity: 1;
}

.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  padding: 10px;
  display: block;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  opacity: 1;
}

.carousel-control-prev-icon::before,
.carousel-control-next-icon::before {
  content: none;
}

/* --- Responsive adjustments --- */
@media (max-width: 992px) {
  .hero-content-wrapper {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    height: auto;
    min-height: 500px;
  }

  .hero-main-content {
    flex-direction: column;
  }

  .hero-text-column,
  .hero-image-column {
    width: 100%;
  }

  .hero-text-column {
    order: 2;
    margin-top: 30px;
  }

  .hero-image-column {
    order: 1;
    margin-bottom: 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .doctor-image-container {
    width: 280px;
    height: 280px;
    border: 6px solid #ff99cc; /* Secondary pink */
  }

  .carousel-control-prev,
  .carousel-control-next {
    top: 10px;
    padding: 5px;
  }

  .carousel-control-prev {
    left: 10px;
  }

  .carousel-control-next {
    right: 10px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.7rem;
  }

  .hero-tagline {
    font-size: 0.9rem;
  }

  .hero-btn {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-content-wrapper {
    /* width: 95%; */
    padding: 15px;
  }

  .doctor-image-container {
    width: 220px;
    height: 220px;
    border: 5px solid #ff99cc; /* Secondary pink */
  }

  .welcome-badge {
    font-size: 0.8rem;
    padding: 4px 10px;
  }
}
/* ------------------------------------------section-2---------------------------------------------- */
/* Welcome Section Styling */
.welcome-section {
  padding: 6rem 1.5rem;
  background: linear-gradient(
    135deg,
    #e6f7ff,
    #ffe6f7
  ); /* Soft blue-to-pink gradient */
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* --- 3. Floating Decorative Shapes --- */
.decorative-shape {
  position: absolute;
  opacity: 0.15;
  z-index: 0;
  animation-duration: 12s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.shape-circle-large {
  width: 500px;
  height: 500px;
  background-color: #0699d6;
  border-radius: 50%;
  top: 55%;
  left: -150px;
  transform: translateY(-50%);
  animation-name: float-subtle;
}

.shape-square-medium {
  width: 180px;
  height: 180px;
  background-color: #ff6b81; /* Soft pink */
  border-radius: 30px;
  top: 15%;
  right: 5%;
  transform: rotate(30deg);
  animation-name: fade-zoom;
  animation-delay: 2s;
}

/* --- 4. Content Layout (Image & Text) --- */
.content-wrapper {
  position: relative;
  z-index: 1; /* Keep content above shapes */
}

.image-card {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  opacity: 0; /* For entry animation */
  transform: scale(0.9); /* For entry animation */
  animation: zoomIn 1s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation-delay: 1s;
}

.image-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.image-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.image-card:hover img {
  transform: scale(1.05);
}

.text-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 1.5rem;
  position: relative;
  opacity: 0; /* For entry animation */
  transform: translateY(-30px); /* For entry animation */
  animation: fadeInDown 1s forwards cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation-delay: 0.3s;
}

.text-content h1 span {
  color: #0699d6; /* Primary blue */
}

.text-content h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 5px;
  background-color: #0699d6;
  margin-top: 10px;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  animation: growUnderline 0.8s forwards ease-out;
  animation-delay: 1.5s;
}

.text-content p {
  font-size: 1.1rem;
  font-weight: 400;
  color: #495057;
  margin-bottom: 2rem;
  line-height: 1.8;
  opacity: 0; /* For entry animation */
  transform: translateY(-20px); /* For entry animation */
  animation: fadeInDown 1s forwards cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation-delay: 0.6s;
}

.btn-discover {
  background-color: #28a745; /* Action green */
  border-color: #28a745;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
  display: inline-flex;
  align-items: center;
  opacity: 0; /* For entry animation */
  transform: translateY(20px); /* For entry animation */
  animation: fadeInUp 1s forwards cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation-delay: 0.9s;
}

.btn-discover:hover {
  background-color: #218838;
  border-color: #1e7e34;
  transform: translateY(15px) scale(1.03); /* Keep consistent with Code 1 hover */
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
  color: #ffffff;
}

.btn-discover i {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.btn-discover:hover i {
  transform: translateX(5px);
}

/* --- 5. Fact Circles Section --- */
.fact-circles-section {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
}

.fact-circle {
  background-color: #ffffff;
  border: 3px solid #0699d6;
  border-radius: 50%;
  width: 160px;
  height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  opacity: 0; /* For entry animation */
  transform: translateY(30px) scale(0.9); /* For entry animation */
}

/* Apply staggered animations */
.fact-circle.animate-in {
  animation: fadeInUpScale 1s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fact-circle:hover {
  transform: translateY(0) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: #ff6b81; /* Pink accent on hover */
}

.fact-circle .number {
  font-size: 2.8rem;
  font-weight: 800;
  color: #0699d6;
  line-height: 1;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.fact-circle:hover .number {
  color: #ff6b81; /* Pink accent on hover */
}

.fact-circle .description {
  font-size: 0.95rem;
  font-weight: 600;
  color: #495057;
  text-align: center;
  padding: 0 10px;
}

/* --- 6. Keyframe Animations --- */
@keyframes fadeInDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes zoomIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fadeInUpScale {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes float-subtle {
  0%,
  100% {
    transform: translateY(-50%) rotate(0deg);
  }
  50% {
    transform: translateY(-50%) translateY(-20px) rotate(5deg);
  }
}
@keyframes fade-zoom {
  0%,
  100% {
    transform: scale(1) rotate(30deg);
    opacity: 0.15;
  }
  50% {
    transform: scale(1.1) rotate(35deg);
    opacity: 0.25;
  }
}
@keyframes growUnderline {
  to {
    transform: scaleX(1);
  }
}

/* --- 7. Responsive Design --- */
@media (max-width: 991.98px) {
  .welcome-section {
    padding: 4rem 1rem;
  }
  .content-wrapper {
    text-align: center;
  }
  .image-column {
    margin-bottom: 3rem;
  }
  .text-content h1 {
    font-size: 2.5rem;
  }
  .text-content h1::after {
    margin: 10px auto 0;
  }
  .shape-circle-large,
  .shape-square-medium {
    opacity: 0.1;
  }
  .fact-circle {
    width: 140px;
    height: 140px;
  }
  .fact-circle .number {
    font-size: 2.4rem;
  }
}

@media (max-width: 767.98px) {
  .welcome-section {
    padding: 3rem 1rem;
  }
  .text-content h1 {
    font-size: 2rem;
  }
  .text-content p {
    font-size: 1rem;
  }
  .fact-circles-section {
    margin-top: 3rem;
    padding-top: 3rem;
  }
  .fact-circle {
    width: 120px;
    height: 120px;
    margin: 15px;
  }
  .fact-circle .number {
    font-size: 2rem;
  }
  .fact-circle .description {
    font-size: 0.8rem;
  }
  /* Hide decorative shapes on small mobiles for performance and clarity */
  .decorative-shape {
    display: none;
  }
}
/* ------------------------------------------section-3---------------------------------------------- */
.athrav-specialties-section {
  padding: 4rem 1rem;
  background: #f1f5f8;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px dotted black;
}

.athrav-decorative-element {
  position: absolute;
  opacity: 0.3;
  z-index: 0;
  animation-duration: 8s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes float-gentle {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes rotate-slow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.athrav-element-steth {
  top: 10%;
  left: 5%;
  font-size: 4rem;
  color: rgba(255, 193, 7, 0.694);
  animation-name: float-gentle;
}

.athrav-element-heartbeat {
  bottom: 10%;
  right: 5%;
  font-size: 5rem;
  color: rgba(40, 167, 70, 0.735);
  animation-name: rotate-slow;
}

.athrav-section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.athrav-section-heading::after {
  content: "";
  display: block;
  width: 60%;
  height: 4px;
  background: #ff4081;
  margin: 0.5rem auto 0;
  border-radius: 2px;
  animation: grow-line 1s ease forwards;
}

@keyframes grow-line {
  from {
    width: 0%;
    opacity: 0;
  }
  to {
    width: 60%;
    opacity: 1;
  }
}
.athrav-section-heading span {
  color: #ff4081;
}

.athrav-swiper {
  padding: 15px 0 10px 0; /* space below for pagination dots */
  position: relative;
  z-index: 1;
}

.athrav-swiper .swiper-slide {
  display: flex;
  justify-content: center;
}

.athrav-card {
  background: linear-gradient(145deg, #f9f9f9, #ffffff);
  border-radius: 15px;
  padding: 2rem 1.2rem;
  transition: all 0.4s ease;
  min-height: 260px;
  max-width: 330px;
  width: 100%;
  text-align: center;
  border: 1px solid rgba(220, 220, 220, 0.5);
  position: relative;
}

.athrav-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2), 0 0 0 5px rgba(255, 64, 129, 0.1);
  border-color: transparent;
}

.athrav-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  background-color: #ffe6f0;
  border-radius: 50%;
  /*padding: 0.8rem;*/
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  
}

.athrav-icon img {
  height: 3rem;
  width: 3rem;
  object-fit: cover;
  border-radius:50%;
}

.athrav-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 0.5rem;
}

.athrav-card-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.athrav-button-next,
.athrav-button-prev {
  color: #ff4081;
}

.athrav-pagination {
  margin-top: 30px;
  position: relative;
  bottom: 0;
}

.athrav-pagination .swiper-pagination-bullet-active {
  background: #ff4081;
}

@media (max-width: 768px) {
  .athrav-element-steth,
  .athrav-element-heartbeat {
    display: none;
  }
}
/* ------------------------------------------section-4---------------------------------------------- */
/* Doctors Section Styling */
/* Doctors Section Styling */
.Experienced {
  color: #007bff;
}
.doctors-section {
  background: linear-gradient(
    135deg,
    #e6f7ff,
    #ffe6f7
  ); /* Softer, more inviting gradient */
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Subtle overall shadow */
  border-top: 1px dotted black;
}

.doctors-section .section-title {
  font-size: 3rem;
  font-weight: 700;
  color: #212529; /* Darker, more prominent title */
  margin-bottom: 1.5rem;
  position: relative; /* For underline effect */
  display: inline-block; /* To contain the pseudo-element */
}

.doctors-section .section-title::after {
  content: "";
  display: block;
  width: 60%;
  height: 4px;
  background-color: #007bff; /* Primary blue for emphasis */
  margin: 10px auto 0;
  border-radius: 2px;
  animation: grow-line 1s ease forwards;
}
@keyframes grow-line {
  from {
    width: 0%;
    opacity: 0;
  }
  to {
    width: 60%;
    opacity: 1;
  }
}

.doctors-section .section-description {
  font-size: 1.15rem;
  color: #555;
  max-width: 850px;
  margin: 0 auto 4rem auto; /* More space below description */
  line-height: 1.8;
}

/* Decorative Elements (Updated Icons and Animations) */
.decorative-element {
  position: absolute;
  opacity: 0.6;
  z-index: 0;
  animation-duration: 6s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes float-gentle {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(5deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes fade-in-out {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 0.3;
  }
}

.icon-plus {
  top: 15%;
  left: 8%;
  font-size: 4rem;
  color: rgba(0, 123, 255, 0.3); /* Blue with transparency */
  animation-name: float-gentle;
  animation-delay: 0s;
}

.icon-heartbeat {
  bottom: 10%;
  right: 12%;
  font-size: 3.5rem;
  color: rgba(255, 99, 132, 0.3); /* Pink with transparency */
  animation-name: float-gentle;
  animation-delay: 1.5s;
  transform: rotate(-20deg);
}

.icon-star {
  top: 5%;
  right: 20%;
  font-size: 2.5rem;
  color: rgba(255, 193, 7, 0.3); /* Yellow with transparency */
  animation-name: fade-in-out;
  animation-delay: 0.8s;
}

/* Doctor Card Styling */
.doctor-card {
  background: linear-gradient(
    160deg,
    #fdfdfd,
    #eff9ff
  ); /* Very subtle light gradient for a soft feel */
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden; /* Crucial for clipping the pseudo-element */
  border: 1px solid #e0e0e0; /* Slightly more visible initial border */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  z-index: 1; /* Ensure card content is above the pseudo-element */
}

/* NEW HALF-CIRCLE DESIGN ELEMENT */
.doctor-card::before {
  content: "";
  position: absolute;
  bottom: -50px; /* Position it partially off the bottom */
  left: -50px; /* Position it partially off the left */
  width: 200px; /* Large enough to form a significant arc */
  height: 200px;
  background-color: rgba(0, 123, 255, 0.08); /* Light blue with transparency */
  border-radius: 50%; /* Makes it a circle */
  z-index: -1; /* Place it behind the card content */
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth animation */
  box-shadow: 0 0 40px rgba(0, 123, 255, 0.15); /* Soft shadow for the circle */
}

.doctor-card::after {
  /* Another subtle element for complexity */
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background-color: rgba(255, 64, 129, 0.05); /* Very light pink */
  border-radius: 50%;
  z-index: -1;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(0.5); /* Start smaller */
}

.doctor-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18), 0 0 0 5px rgba(0, 123, 255, 0.1); /* Deeper shadow + subtle blue border glow */
  border-color: transparent; /* Make original border transparent on hover */
}

.doctor-card:hover::before {
  bottom: -20px; /* Moves up slightly */
  left: -20px; /* Moves right slightly */
  transform: scale(1.1) rotate(5deg); /* Grows and rotates */
  background-color: rgba(0, 123, 255, 0.15); /* Becomes slightly more opaque */
}

.doctor-card:hover::after {
  transform: scale(1) rotate(-10deg); /* Grows to full size and rotates */
  background-color: rgba(255, 64, 129, 0.1); /* Becomes slightly more opaque */
}

.doctor-image-wrapper {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f0f8ff; /* Very light blue background */
  border: 5px solid #007bff; /* Primary blue border */
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 2; /* Ensure image is above pseudo-elements within card */
  position: relative; /* Needed for z-index to work against siblings */
}

.doctor-card:hover .doctor-image-wrapper {
  transform: scale(1.08) rotate(2deg);
  border-color: #28a745; /* Green border on hover */
  box-shadow: 0 0 25px rgba(0, 123, 255, 0.5),
    inset 0 0 15px rgba(0, 123, 255, 0.2); /* More visible blue glow with inner glow */
}

.doctor-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.doctor-card:hover .doctor-image-wrapper img {
  transform: scale(1.15); /* More pronounced zoom image slightly on hover */
}

.doctor-name {
  font-size: 1.8rem;
  font-weight: 700; /* Made bolder */
  color: #2c3e50; /* Darker, more prominent name */
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
  z-index: 2; /* Ensure text is above pseudo-elements */
  position: relative;
}

.doctor-degree {
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-weight: 500; /* Slightly bolder for readability */
  z-index: 2; /* Ensure text is above pseudo-elements */
  position: relative;
}

.btn-view-all {
  background-color: #007bff; /* Bootstrap primary blue */
  border-color: #007bff;
  color: #ffffff;
  padding: 0.9rem 3rem; /* Larger button */
  font-size: 1.2rem;
  border-radius: 50px; /* Pill-shaped button */
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
  text-transform: uppercase; /* Uppercase text */
  letter-spacing: 1px;
  margin-top: 2rem; /* Space above button */
  z-index: 2; /* Ensure button is above pseudo-elements */
  position: relative;
}

.btn-view-all:hover {
  background-color: #0056b3; /* Darker blue on hover */
  border-color: #0056b3;
  color: #ffffff;
  transform: translateY(-3px); /* Slight lift on hover */
  box-shadow: 0 8px 15px rgba(0, 123, 255, 0.3);
}

/* Ensure consistent card heights */
.doctors-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem; /* Gap between columns for better spacing */
}

/* Doctor column sizing for different screen sizes */
.doctor-col {
  flex: 0 0 auto; /* Prevent stretching */
  /* Default for extra-small screens (less than 576px) */
  width: 90%; /* Make cards wider on smallest screens */
  max-width: 400px; /* Max width for individual cards */
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .doctor-col {
    width: 45%; /* Two columns on medium screens, maintaining some gap */
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .doctor-col {
    width: 30%; /* Three columns on large screens */
  }
}

/* Responsive Adjustments for smaller font sizes and hidden elements */
@media (max-width: 767.98px) {
  .doctors-section .section-title {
    font-size: 2.2rem;
  }
  .doctors-section .section-description {
    font-size: 1rem;
  }
  .decorative-element {
    display: none; /* Hide decorative elements on small screens */
    animation: none;
  }
  .doctor-card::before,
  .doctor-card::after {
    display: none; /* Hide decorative shapes on small screens */
  }
  .doctor-image-wrapper {
    width: 150px;
    height: 150px;
  }
  .doctor-name {
    font-size: 1.4rem;
  }
  .doctor-degree {
    font-size: 0.9rem;
  }
  .btn-view-all {
    padding: 0.75rem 2.5rem;
    font-size: 1rem;
  }
}
/* ------------------------------------------section-5---------------------------------------------- */
/* General Body and Typography */

/* Emergency Section Styling */
.top-emergency-banner svg {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  vertical-align: middle;
  fill: white; /* Or any color you want */
}

.phoneicon {
  height: 50px;
}
/* 🔴 Top Emergency Banner */
.top-emergency-banner {
  background-color: #dc3545;
  color: white;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.5px;
}

/* Emergency Section Styling */
.emergency-section {
  background: #f1f5f8;
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
}

/* Decorative Icons */
.decorative-emergency-icon {
  position: absolute;
  opacity: 0.5;
  z-index: 0;
  animation-duration: 8s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes float-subtle {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(3deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes pulse-fade {
  0% {
    transform: scale(0.9);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.6;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.4;
  }
}

.icon-cross {
  top: 15%;
  left: 5%;
  font-size: 5rem;
  color: rgba(255, 99, 71, 0.3);
  animation-name: float-subtle;
  transform: rotate(-15deg);
}

.icon-ambulance {
  bottom: 10%;
  right: 8%;
  font-size: 6rem;
  color: rgba(0, 123, 255, 0.3);
  animation-name: pulse-fade;
  transform: rotate(10deg);
}

/* Text Content Styling */
.emergency-text-col {
  position: relative;
  z-index: 1;
}

.emergency-text-col h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #dc3545;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.emergency-text-col h2::after {
  content: "";
  display: block;
  width: 70%;
  height: 4px;
  background-color: #dc3545; /* Matching red underline */
  margin: 10px auto 0;
  border-radius: 2px;
  animation: grow-line 1s ease forwards;
}

@keyframes grow-line {
  from {
    width: 0%;
    opacity: 0;
  }
  to {
    width: 60%;
    opacity: 1;
  }
}

.emergency-text-col p {
  font-size: 1.15rem;
  color: #495057;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  line-height: 1.7;
}

/* Divider Line */
.divider-line {
  width: 100px;
  margin: 2rem auto;
  border-top: 3px solid #ffc107;
  border-radius: 2px;
  opacity: 0.8;
}

/* Call Label */
.call-label {
  font-size: 1.3rem;
  font-weight: 600;
  color: #28a745;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-icon-animated {
  font-size: 1.8rem;
  color: #28a745;
  margin-right: 10px;
  animation: ring-animation 1s infinite ease-in-out;
}

@keyframes ring-animation {
  0% {
    transform: rotate(0deg);
  }
  15% {
    transform: rotate(5deg);
  }
  30% {
    transform: rotate(-5deg);
  }
  45% {
    transform: rotate(5deg);
  }
  60% {
    transform: rotate(-5deg);
  }
  75% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.phone-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #343a40;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

.phone-number:hover {
  color: #007bff;
}

/* Responsive */
@media (max-width: 767.98px) {
  .emergency-section {
    padding: 3rem 1rem;
  }
  .emergency-text-col h2 {
    font-size: 2.2rem;
  }
  .emergency-text-col p {
    font-size: 1rem;
  }
  .phone-number {
    font-size: 1.9rem;
  }
  .decorative-emergency-icon {
    display: none;
    animation: none;
  }
  .call-label {
    font-size: 1.1rem;
  }
  .phone-icon-animated {
    font-size: 1.5rem;
  }
  .top-emergency-banner {
    font-size: 0.95rem;
    padding: 0.6rem 0.8rem;
  }
}
/* ------------------------------------------section-6---------------------------------------------- */
/* Why Choose Us Section Styling */
.why-choose-section {
  padding: 4rem 1.5rem; /* Slightly reduced padding */
  background: linear-gradient(
    135deg,
    #e0f8f7,
    #f0e6ff
  ); /* Light mint to light lavender gradient */
  text-align: center;
  position: relative;
  overflow: hidden;
   border-top: 1px dotted black;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Subtle overall shadow */
}

.why-choose-title {
  font-size: 2.5rem; /* Adjusted: Smaller from 3rem */
  font-weight: 700;
  color: #212529; /* Darker, prominent title */
  margin-bottom: 1.2rem; /* Adjusted */
  position: relative;
  display: inline-block;
}

.why-choose-title span {
  color: #007bff; /* Primary blue for emphasis, consistent with doctors section */
}

.why-choose-title::after {
  content: "";
  display: block;
  width: 60%;
  height: 4px;
  background-color: #007bff; /* Matching blue underline */
  margin: 8px auto 0; /* Adjusted */
  border-radius: 2px;
  animation: grow-line 1s ease forwards;
}

@keyframes grow-line {
  from {
    width: 0%;
    opacity: 0;
  }
  to {
    width: 60%;
    opacity: 1;
  }
}

.why-choose-description {
  font-size: 1rem; /* Adjusted: Smaller from 1.15rem */
  color: #555;
  max-width: 750px; /* Slightly narrower for better line length */
  margin: 0 auto 3rem auto; /* Adjusted space below description */
  line-height: 1.7; /* Slightly reduced line height */
}

/* Decorative Elements (New Icons & Animations) */
.decorative-why-icon {
  position: absolute;
  opacity: 0.4; /* Softer opacity */
  z-index: 0;
  animation-duration: 7s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes float-loop {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(3deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes rotate-fade {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: rotate(360deg) scale(1.1);
    opacity: 0.5;
  }
  100% {
    transform: rotate(720deg) scale(1);
    opacity: 0.3;
  }
}

.icon-medical-cross {
  top: 10%;
  left: 5%;
  font-size: 4.5rem; /* Adjusted: Smaller from 5rem */
  color: rgba(23, 162, 184, 0.3); /* Info blue with transparency */
  animation-name: float-loop;
  animation-delay: 0s;
  transform: rotate(-20deg);
}

.icon-puzzle-piece {
  bottom: 15%;
  right: 10%;
  font-size: 3.5rem; /* Adjusted: Smaller from 4rem */
  color: rgba(255, 193, 7, 0.3); /* Warning yellow with transparency */
  animation-name: rotate-fade;
  animation-delay: 1s;
}

/* Feature Grid and Individual Feature Cards */
.why-choose-features {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(220px, 1fr)
  ); /* Adjusted min-width for slightly smaller cards */
  gap: 1.5rem; /* Adjusted gap for better spacing */
  max-width: 1100px; /* Slightly narrower max-width for the grid */
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.feature-card {
  /* background: #ffffff; */ /* Replaced with gradient */
  padding: 1.8rem 1rem; /* Reduced padding */
  border-radius: 15px; /* Softer corners */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); /* Deeper, softer shadow */
  transition: all 0.4s ease; /* Smooth transition for hover effects */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px; /* Adjusted: Smaller min-height for all cards */
  position: relative; /* For pseudo-elements */
  overflow: hidden; /* Crucial for clipping pseudo-elements */
  z-index: 1; /* Ensure card content is above pseudo-elements */

  /* --- NEW & ENHANCED STYLES FOR THE CARD --- */
  background: linear-gradient(
    160deg,
    #ffffff,
    #f0faff
  ); /* Light gradient for a clean look */
  border: 1px solid #e0e0e0; /* Subtle initial border */
}

/* NEW HALF-CIRCLE DESIGN ELEMENT for Feature Cards */
.feature-card::before {
  content: "";
  position: absolute;
  top: -40px; /* Position it partially off the top */
  right: -40px; /* Position it partially off the right */
  width: 120px; /* Adjust size for smaller cards */
  height: 120px;
  background-color: rgba(153, 204, 255, 0.1); /* Light blue with transparency */
  border-radius: 50%;
  z-index: -1; /* Place behind content */
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.08); /* Soft shadow */
}

.feature-card::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 80px;
  height: 80px;
  background-color: rgba(
    102,
    204,
    102,
    0.05
  ); /* Light green with transparency */
  border-radius: 50%;
  z-index: -1;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(0.6); /* Start smaller */
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18), 0 0 0 4px rgba(0, 123, 255, 0.1); /* Deeper shadow + subtle blue glow */
  background: linear-gradient(
    to bottom right,
    #eaf5ff,
    #d8f0f0
  ); /* Subtle gradient on hover */
  border-color: transparent; /* Hide original border on hover */
}

.feature-card:hover::before {
  top: -20px; /* Move up slightly */
  right: -20px; /* Move left slightly */
  transform: scale(1.1) rotate(10deg); /* Grow and rotate */
  background-color: rgba(153, 204, 255, 0.2); /* Become more opaque */
}

.feature-card:hover::after {
  bottom: -10px; /* Move up slightly */
  left: -10px; /* Move right slightly */
  transform: scale(1) rotate(-5deg); /* Grow to full size and rotate */
  background-color: rgba(102, 204, 102, 0.1); /* Become more opaque */
}

.feature-card i {
  font-size: 3rem; /* Adjusted: Smaller from 3.5rem */
  color: #0699d6; /* Primary blue, consistent with heading */
  margin-bottom: 0.8rem; /* Adjusted */
  transition: transform 0.3s ease, color 0.3s ease;
  z-index: 2; /* Ensure icon is above pseudo-elements */
  position: relative; /* Needed for z-index */
}

.feature-card:hover i {
  transform: rotateY(360deg) scale(1.1); /* Spin and slightly enlarge icon on hover */
  color: #28a745; /* Green on hover */
}

.feature-card h3 {
  font-size: 1.2rem; /* Adjusted: Smaller from 1.4rem */
  font-weight: 600;
  color: #343a40; /* Darker text */
  margin-bottom: 0;
  z-index: 2; /* Ensure text is above pseudo-elements */
  position: relative;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .why-choose-features {
    grid-template-columns: repeat(
      auto-fit,
      minmax(180px, 1fr)
    ); /* Adjusted min-width */
    gap: 1.2rem; /* Adjusted gap */
  }
  .feature-card {
    padding: 1.5rem 0.8rem; /* Further reduced padding */
    min-height: 160px; /* Adjusted min-height */
  }
  .feature-card i {
    font-size: 2.8rem; /* Adjusted */
  }
  .feature-card h3 {
    font-size: 1.1rem; /* Adjusted */
  }
  .feature-card::before {
    width: 100px;
    height: 100px;
    top: -30px;
    right: -30px;
  }
  .feature-card::after {
    width: 60px;
    height: 60px;
    bottom: -20px;
    left: -20px;
  }
}

@media (max-width: 767.98px) {
  .why-choose-section {
    padding: 2.5rem 1rem; /* Further reduced padding */
  }
  .why-choose-title {
    font-size: 2rem; /* Adjusted */
  }
  .why-choose-description {
    font-size: 0.9rem; /* Adjusted */
    margin-bottom: 2rem; /* Adjusted */
  }
  .decorative-why-icon {
    display: none;
    animation: none;
  }
  .why-choose-features {
    grid-template-columns: repeat(
      auto-fit,
      minmax(130px, 1fr)
    ); /* Adjusted min-width */
    gap: 0.8rem; /* Adjusted gap */
  }
  .feature-card {
    padding: 1rem 0.5rem; /* Minimal padding */
    min-height: 130px; /* Adjusted min-height */
  }
  .feature-card i {
    font-size: 2.2rem; /* Adjusted */
  }
  .feature-card h3 {
    font-size: 0.9rem; /* Adjusted */
  }
  .feature-card::before,
  .feature-card::after {
    display: none; /* Hide decorative shapes on small screens to avoid clutter */
  }
}
/* ------------------------------------------footer---------------------------------------------- */
.footer {
  background-color: #aecef0;
  color: black;
  padding: 40px 20px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around; /* Spread items evenly */
  gap: 100px; /* Add space between columns */
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.footer-column {
  flex: 1 1 300px;
  margin: 10px;
}

.footer-logo {
  height: 105px; /* Adjusted logo size for better balance */
  width: auto;
  padding: 10px;
  margin-bottom: 10px;
  background-color: white;
  border-radius: 25px;
}

.footer-column h4 {
  margin-bottom: 15px;
  font-size: 18px;
  border-bottom: 2px solid black;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-column p,
.footer-column a {
  color: black;
  text-decoration: none;
  margin: 5px 0;
  display: block;
  font-size: 15px;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: black;
  border-top: 1px solid #ffffff30;
  padding-top: 15px;
}

/* Font Awesome Icon Spacing */
.footer-column i {
  margin-right: 10px;
  color: black;
}
@media (max-width: 520px) {
  .footer-container {
    flex-wrap: wrap;
    gap: 20px; /* ✅ Reduce gap on small screens */
    justify-content: left; /* Optional: center-align columns */
  }

  .footer-column {
    flex: 1 1 100%; /* Stack columns full-width */
    text-align: left; /* Optional: center text */
  }

  .footer-logo {
    margin: 0 auto 10px; /* Center logo */
  }
}
/* ------------------------------------------scroll-divider-------------------------------------- */
.fade-top-divider {
  position: relative;
  width: 100%;
  height: 50px;
  margin-top: -74px; /* Pull it up over the previous section */
  z-index: 1;
}

.fade-top-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}


/* ----------------------------------------About US Page-----------------------------------*/

.section-sp1 {
    padding-top: 100px;
    padding-bottom: 70px;
        background: linear-gradient(135deg, #e6f7ff, #ffe6f7);
        position: relative;
        border-top: 1px dotted black;
}
.heading-bx {
    margin-bottom: 45px;
}
.heading-bx .title-ext {
    font-weight: 700;
    display: inline-block;
    /* padding: 3px 15px; */
    background-position: center;
    background-repeat: repeat;
    margin-bottom: 15px;
        font-size: 33px;
    color: #0699d6 !important;
}
.img-style{
  border-radius: 50%;
  border:5px solid #007bff;
  transition: all 0.4s ease; /* Smooth animation */
}

.img-style:hover {
    transform: scale(1.08) rotate(2deg);
    border-color: #28a745;
    box-shadow: 0 0 25px rgba(0, 123, 255, 0.5),
    inset 0 0 15px rgba(0, 123, 255, 0.2);
}

.icon-heartbeat1 {
    bottom: 40%;
    right: 8%;
    font-size: 3.5rem;
    color: rgba(255, 99, 132, 0.3);
    animation-name: float-gentle;
    animation-delay: 1.5s;
    transform: rotate(-20deg);
}

.breadcrumb-section {
  /* margin: 50px 50px 0 50px;
  border-radius: 15px; */
  padding-block-start: 70px;
  padding-block-end: 20px;
  /* margin-top: -30px; */
  background-color: #0498d4;
  position: relative;
}

.breadcrumb-title {
  /* font-size: 2rem; */
  margin-bottom: 0.5rem;
  color: #fff;
  font-weight: 700;
}

.breadcrumb {
  font-size: 0.9rem;
  color: #fff;
}

.breadcrumb-link {
  text-decoration: none;
  color: #fff;
}

.breadcrumb-separator {
  margin: 0 0.5em;
}

.breadcrumb-current {
  color: #fff;
  font-weight: 500;
}
.title{
  line-height: 1.8;
}
.title-content{
  color: #495057;
  line-height: 1.8;
}

.icon-medical-cross1 {
    /* position: absolute; */
    top: 60%;
    right: 10%;
    font-size: 4.5rem;
    color: rgb(234 20 80);
    animation-name: float-loop;
    animation-delay: 0s;
    transform: rotate(-20deg);
}

.icon-star1 {
    /* position: absolute; */
    top: 51%;
    right: 50%;
    font-size: 2.5rem;
    color: rgb(255 255 255);
    animation-name: fade-in-out;
    animation-delay: 0.8s;
   
}

/*----------------------------------------Contact US Page -----------------------------------*/


.contact-section{
  background-color: #f1f5f8;
  padding: 50px 0;
}
.contact-section::before,
.contact-section::after {
  content: "";
  position: absolute;
  background-color: #ff99cc;
  border-radius: 50%;
  opacity: 0.3;
  z-index: 0;
}

.contact-section::before {
  width: 150px;
  height: 150px;
  top: 20px;          /* Stick to top */
  left: 40px;         /* Stick to left */
  transform: translate(-50%, -50%) rotate(20deg); /* Move it slightly outside */
}

.contact-section .contact-wraper {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
}

.contact-section .contact-form .form-group {
  margin-bottom: 20px;
}

.contact-section .contact-form .form-control {
  border: 1px solid #ccc;
  padding: 10px 15px;
  border-radius: 4px;
  width: 100%;
}

.contact-section .contact-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.contact-section .contact-form .btn {
  background-color: #0498d4;
  border: none;
  color: #fff;
  transition: background-color 0.3s ease;
  font-weight: 700;
}

.contact-section .contact-form .btn:hover {
  background-color: #0056b3;
}

.contact-section .contact-info {
  padding: 50px 50px 30px;
  color: #fff;
  overflow: hidden;
  border-radius: 8px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 50px;
}

.contact-section .contact-info.ovpr-dark {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  z-index: 1;
  border-radius: 8px;
  overflow: hidden;
}

.contact-section .contact-info.ovpr-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 0;
}
.contact-section {
  position: relative;
  overflow: hidden; /* Optional, hides overflow if blob goes outside */
  z-index: 1;
}

.contact-section::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  bottom: 20px;         /* Stick to bottom */
  right: 20px;          /* Stick to right */
  transform: translate(50%, 50%) rotate(-30deg); /* Push outside and rotate */
  background-color: #66b3ff;
  border-radius: 50%;
  opacity: 0.2;
  z-index: 0;
}


.contact-section .contact-info .info-inner {
  position: relative;
  z-index: 1;
}

.contact-section .contact-info .title {
  font-size: 24px;
  font-weight: 600;
}

.contact-section .contact-info .icon-box {
  margin-bottom: 20px;
}

.contact-section .contact-info .icon-box h6.title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-section .contact-info .icon-box p,
.contact-section .contact-info .icon-box a {
  margin: 0;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
}

.contact-section .social-media {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.contact-section .social-media li a {
  color: #fff;
  font-size: 18px;
  display: inline-block;
  transition: color 0.3s ease;
}

.contact-section .social-media li a:hover {
  color: #0498d4;
}

.contact-section .captcha img {
  max-height: 45px;
  border-radius: 4px;
}

.contact-section .reload {
  padding: 0 10px;
  font-size: 20px;
  border-radius: 4px;
}

.contact-section .form-select {
  width: 100%;
  padding: 10px 15px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.contact-section .ajax-message {
  margin-bottom: 10px;
  color: green;
  font-weight: 500;
}

.contact-section .form-field {
  margin-top: 15px;
}


.section-sp1 {
    padding-top: 100px;
    padding-bottom: 70px;
}

.feature-bx4 {
    background-color: #fff;
    border-radius: 8px;
    padding: 45px 35px 35px;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0px 5px 30px 0px rgba(31, 34, 120, 0.08);
    border: 1px solid;
    border-color: #4c3f3d;
}
.feature-container {
    position: relative;
}
.feature-bx4 .feature-icon {
    position: relative;
    margin-bottom: 25px;
}
.icon-md {
    display: inline-block;
    text-align: center;
}
.icon-content {
    overflow: hidden;
}
.feature-bx4 .icon-content .ttr-title {
    color: #4d403e;
    margin: 0 0 12px;
}
.feature-bx4.feature4 .feature-icon:after {
    background-color: #f8f0ff;
}
.feature-bx4 .feature-icon:after {
    content: "";
    width: 65px;
    height: 65px;
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    top: -18px;
    right: -22px;
}
.icon-md img {
    vertical-align: middle;
    max-width: 100%;
    width: auto;
    height: 50px;
}

.feature-bx4.feature3 .feature-icon:after {
    background-color: #fff0f0;
}
.feature-bx4 .feature-icon:after {
    content: "";
    width: 65px;
    height: 65px;
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    top: -18px;
    right: -22px;
}
.feature-bx4.feature2 .feature-icon:after {
    background-color: #eefff4;
}
.feature-bx4 .feature-icon:after {
    content: "";
    width: 65px;
    height: 65px;
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    top: -18px;
    right: -22px;
}

/*--------------------------------------Blog Page--------------------------------------------*/

section h2 {
 font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2c3e50;
}
section a {
  display: inline-block;
  text-decoration: none;
}
section .container-design {
  margin-top: 5em;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* two cards per row on tablets */


/* one card per row on phones */
@media (max-width: 480px) {
  section .container-design {
    grid-template-columns: 1fr;
  }
}


section .container-design .card:nth-child(1) .box .icon .iconBox {
  background: #0498d4;
}
section .container-design .card:nth-child(2) .box .icon .iconBox {
  background: #0498d4;
}
section .container-design .card:nth-child(3) .box .icon .iconBox {
  background: #0498d4;
}
section .container-design .card:nth-child(4) .box .icon .iconBox {
  background: #0498d4;
}
section .container-design .card:nth-child(5) .box .icon .iconBox {
  background: #0498d4;
}
section .container-design .card:nth-child(6) .box .icon .iconBox {
  background: #0498d4;
}

section .container-design .card ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.625rem;
}
section .container-design .card ul li {
  text-transform: uppercase;
  background: var(--clr-tag);
  color: #282828;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.375rem 0.625rem;
  border-radius: 0.188rem;
}
section .container-design .card ul .branding {
  color: #704a31;
}
section .container-design .card ul .packaging {
  color: #1e3938;
}
section .container-design .card ul .marketing {
  color: #4d1637;
}
section .container-design .card .content {
  padding: 0.938rem 0.625rem;
}
section .container-design .card .content h3 {
  text-transform: capitalize;
  font-size: clamp(1.5rem, 1.3909rem + 0.4364vw, 1.8rem);
}
section .container-design .card .content p {
  margin: 0.625rem 0 1.25rem;
  color: #565656;
}
section .container-design .card-inner {
  position: relative;
  width: inherit;
  height: 18.75rem;
  background: var(--clr);
  border-radius: 1.25rem;
  border-bottom-right-radius: 0;
  overflow: hidden;
}
section .container-design .card-inner .box {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
}
section .container-design .card-inner .box .imgBox {
  position: absolute;
  inset: 0;
}
section .container-design .card-inner .box .imgBox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
section .container-design .card-inner .box .icon {
  position: absolute;
  bottom: -0.375rem;
  right: -0.375rem;
  width: 6rem;
  height: 6rem;
  background: var(--clr);
  border-top-left-radius: 50%;
}
section .container-design .card-inner .box .icon:hover .iconBox {
  transform: scale(1.1);
}
section .container-design .card-inner .box .icon::before {
  position: absolute;
  content: "";
  bottom: 0.375rem;
  left: -1.25rem;
  background: transparent;
  width: 1.25rem;
  height: 1.25rem;
  border-bottom-right-radius: 1.25rem;
  box-shadow: 0.313rem 0.313rem 0 0.313rem #fff;
}
section .container-design .card-inner .box .icon::after {
  position: absolute;
  content: "";
  top: -1.25rem;
  right: 0.375rem;
  background: transparent;
  width: 1.25rem;
  height: 1.25rem;
  border-bottom-right-radius: 1.25rem;
  box-shadow: 0.313rem 0.313rem 0 0.313rem var(--clr);
}
section .container-design .card-inner .box .icon .iconBox {
  position: absolute;
  inset: 0.625rem;
  background: #282828;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}
section .container-design .card-inner .box .icon .iconBox span {
  color: #fff;
  font-size: 1.5rem;
}

.card-design{
  border: none;
  height: 450px;
}
.js-clickable-card {
  cursor: pointer;   /* gives the user the clickable affordance */
}


/* Blog Detail Page */

/* Sidebar container */
.aside-bx {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.highlight{
  color: #0495d1;
}
.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #2c3e50;
}

.section-description {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.sub-title {
  font-size: 20px;
  font-weight: 600;
  margin-top: 25px;
  color: #000;
}

.section-points {
  padding-left: 20px;
  margin-top: 10px;
  color: #444;
}

.section-points li {
  margin-bottom: 10px;
  position: relative;
}

.section-points li::before {
  content: "•";
  color: #7c5dfa;
  font-size: 20px;
  position: absolute;
  left: -15px;
  top: 0;
}


/* Widget title */
.widget-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  color: #000;
  padding-bottom: 4px;
}
.widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  border-radius: 2px;
  background: #0495d1;  /* accent color */
}

/* Posts list */
.widget-post-bx {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Individual post entry */
.widget-post {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}
.widget-post:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Thumbnail */
.ttr-post-media {
  flex-shrink: 0;
}
.ttr-post-media a {
  display: block;
  overflow: hidden;
  border-radius: 4px;
}
.ttr-post-media img {
  display: block;
  width: 80px;
  height: 56px;
  object-fit: cover;
}

/* Text info */
.ttr-post-info {
  flex: 1;
  margin-left: 12px;
}

/* Title/link */
.post-title {
  margin: 0;
  line-height: 1.3;
  font-size: 1rem;
}
.post-title a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
}
.post-title a:hover {
  color: #7c5dfa;
}

/* Meta (date) */
.post-meta {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  color: #777;
  font-size: 0.875rem;
}
.post-meta li {
  display: flex;
  align-items: center;
}
.post-meta .date svg {
  width: 14px;
  height: 14px;
  margin-right: 4px;
  fill: #777;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .ttr-post-media img {
    width: 70px;
    height: 50px;
  }
  .post-title {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .widget-post {
    flex-direction: column;
  }
  .ttr-post-info {
    margin-left: 0;
    margin-top: 8px;
  }
  .ttr-post-media img {
    width: 100%;
    height: auto;
  }
}

/* override Bootstrap’s .sticky-top default */
.aside-bx.sticky-top {
  position: sticky;  /* ensure it’s sticky */
  top: 70px;         /* height of your header */
  z-index: 10;       /* keep it above page content but below any header z-index */
}

/* Gallery Page  */

.gallery-section {
  padding: 60px 15px;
  background-color: #f9f9f9;
  position: relative;
}

.gallery-item {
  background: #fff;
  padding: 10px;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  /*transform: rotate(-2deg);*/
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}


.athrav-element-heartbeat1 {
    bottom: 80%;
    right: 4%;
    font-size: 5rem;
    color: rgba(40, 167, 70, 0.735);
    animation-name: rotate-slow;
}

/* Speciality Page */

.pediatric-section {
  padding: 10px 15px;
  background-color: #fafafa;
}

/* Image styling with hexagon clip-path */
.image-col .pediatric-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius:20%;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-col .pediatric-img:hover {
  transform: scale(1.05);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.15);
}

 /*Text column */
.pediatric-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2c3e50;
}


.pediatric-title-h1{
    text-transform: capitalize;
    letter-spacing: 0.025em;
    /*font-size: clamp(1.5rem, 1.8125rem + 0.75vw, 2.6rem);*/
    margin-bottom:20px;
    text-align:center;
    font-size:30px;
}

.pediatric-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* Ensure gutters on smaller screens */
.gy-4 {
  row-gap: 1.5rem !important;
}

.btn-appointment1 {
    color: #ffffff;
    background-color: #0498d4;
    border: 2px solid #007bff;
    border-radius: 0.5rem;
    padding: 0.3rem 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease,
    box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}
.btn-appointment1:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

#lightboxImage {
  object-fit: contain;
  max-height: 90vh;  /* ensure it never exceeds viewport height */
}
.modal-content {
  background: transparent !important;
}


/* Book Appointment Page */

.appointment-section {
  background-color: #f5f6ff;
}

.appointment-form {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.appointment-form h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #3e3e3e;
}

.form-control {
  border: 1.5px solid #cbcbee;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  height: auto;
  font-size: 0.95rem;
}

.form-control:focus {
  border-color: #7c5dfa;
  box-shadow: none;
}

.captcha-row {
  gap: 0.5rem;
}

.captcha-img {
  height: 50px;
  object-fit: cover;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.refresh-btn {
  background-color: #ff3b5c;
  color: #fff;
  border: none;
  border-radius: 6px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.refresh-btn:hover {
  background-color: #e03253;
}

.submit-btn {
  background-color: #3e2e28;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  border: none;
}
.submit-btn:hover {
  background-color: #2f2420;
}



.swiper-button-next, .swiper-button-prev {
    position: absolute;
    top: var(--swiper-navigation-top-offset,35%)!important;
    width: calc(var(--swiper-navigation-size)/ 44 * 27);
    height: var(--swiper-navigation-size);
    margin-top: calc(0px - (var(--swiper-navigation-size)/ 2));
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--swiper-navigation-color,var(--swiper-theme-color));
}

.blog-content img{
    width:100%!important;
    max-height:350px;
    object-fit:cover
}
 .pediatric-section img{
    width:100%!important;
    max-height:450px;
    object-fit:cover
}


@media (max-width: 768px) {
  section .container-design {
    grid-template-columns: repeat(2, 1fr);
  }
  p{text-align:justify;}
  .breadcrumb-section {
    padding-block-start: 30px;
    padding-block-end: 20px;
    /* margin-top: -30px; */
    background-color: #0498d4;
    position: relative;
}
.contact-section .contact-info {
 margin-top:30px;
  margin-left: 0px;
}
.feature-bx4{
    margin-bottom:30px;
    height:auto;
}


.col-lg-4:last-child .feature-bx4{
    margin-bottom:0px;
    height:auto;
}
}