* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  




  /* Hero Slider Styles */
.hero-slider {
  position: relative;
  width: 100%;
  height: 90vh;
  max-height: 1000px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  max-width: 600px;
  padding: 40px;
  /* background: rgba(0, 0, 0, 0.5); */
  /* backdrop-filter: blur(5px); */
  border-radius: 10px;
  color: white;
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-40%); }
  to { opacity: 1; transform: translateY(-50%); }
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.learn-more-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid #23ABDA;
  border-radius: 50px;
  background: rgba(35, 171, 218, 0.2);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.learn-more-btn:hover {
  background: #23ABDA;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.learn-more-btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.learn-more-btn:hover i {
  transform: translateX(3px);
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: white;
  transform: scale(1.2);
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  background: rgba(0,0,0,0.6);
  transform: translateY(-50%) scale(1.1);
}

.left-arrow {
  left: 30px;
}

.right-arrow {
  right: 30px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero-slider {
    height: 80vh;
  }
  
  .hero-content {
    left: 8%;
    max-width: 500px;
    padding: 30px;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
}

@media (max-width: 992px) {
  .hero-slider {
    height: 70vh;
  }
  
  .hero-content {
    left: 5%;
    max-width: 450px;
    padding: 25px;
    backdrop-filter: blur(3px);
  }
  
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .learn-more-btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
  
  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: 60vh;
  }
  
  .hero-content {
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: none;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .slider-arrow {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .left-arrow {
    left: 15px;
  }
  
  .right-arrow {
    right: 15px;
  }
  
  .slider-nav {
    bottom: 20px;
  }
}

@media (max-width: 576px) {
  .hero-slider {
    height: 50vh;
  }
  
  .hero-content {
    padding: 15px;
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
  
  .learn-more-btn {
    padding: 8px 20px;
    font-size: 0.8rem;
  }
  
  .slider-dot {
    width: 10px;
    height: 10px;
  }
  
  .slider-arrow {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  .hero-slider {
    height: 45vh;
  }
  
  .hero-content h1 {
    font-size: 1.3rem;
  }
  
  .hero-content p {
    font-size: 0.8rem;
  }
  
  .slider-arrow {
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
  }
}

/* Fix for mobile viewport height */
@media (max-height: 600px) and (max-width: 768px) {
  .hero-slider {
    height: 100vh;
  }
}








  
  .why-choose {
    padding: 100px 20px;
    background-color: #fff;
  }
  
  .container-why {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
  }
  
  .text-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
  }
  
  .image-content {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .text-content h2 {
    font-size: 2.25rem;
    margin-bottom: 25px;
    color: #1a365d;
    line-height: 1.3;
    font-weight: 700;
  }
  
  .text-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 20px;
  }
  
  .text-content ul {
    padding-left: 0;
    margin: 25px 0;
    list-style: none;
  }
  
  .text-content ul li {
    margin-bottom: 12px;
    padding-left: 32px;
    position: relative;
    line-height: 1.6;
    color: #4a5568;
  }
  
  .text-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2323ABDA'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
  }
  
  .text-content h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: #1a365d;
  }
  
  .view-btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: #23ABDA;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(35, 171, 218, 0.3);
  }
  
  .view-btn:hover {
    background-color: #1e96c1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(35, 171, 218, 0.4);
  }
  
  /* Responsive adjustments */
  @media (max-width: 992px) {
    .container-why {
      flex-direction: column;
      gap: 40px;
    }
    
    .text-content {
      padding-right: 0;
      order: 2;
    }
    
    .image-content {
      order: 1;
    }
  }
  
  @media (max-width: 768px) {
    .why-choose {
      padding: 70px 20px;
    }
    
    .text-content h2 {
      font-size: 1.8rem;
    }
  }







 /* Gallery Section - Professional Medical Design */
.gallery-section {
  background-color: #f8fafc;
  padding: 5rem 2rem;
  position: relative;
}

/* Swiper Container */
.swiper {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 
              0 10px 10px -5px rgba(0, 0, 0, 0.04);
  margin-bottom: 4rem;
}

.swiper-slide {
  position: relative;
  display: flex;
  align-items: flex-end;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.swiper-slide:hover img {
  transform: scale(1.03);
}

/* Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
  width: 48px;
  height: 48px;
  /* background: rgba(255, 255, 255, 0.9); */
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  color: #0ea5e9;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: white;
  transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.2rem;
  font-weight: bold;
}

/* Pagination */
.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.7);
  opacity: 1;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #0ea5e9;
  width: 24px;
  border-radius: 6px;
}

/* Cards Container */
.cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual Cards */
.card1 {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card1:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #0ea5e9, #3b82f6);
}

/* Card Content */
.card-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 1.5rem;
  object-fit: contain;
}

.card1 h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.card1 h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: #0ea5e9;
  border-radius: 3px;
}

.card1 p {
  color: #64748b;
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Gallery Section Responsive Adjustments */
@media (max-width: 1200px) {
  .gallery-section {
    padding: 4rem 1.5rem;
  }
  
  .cards {
    gap: 1.5rem;
  }
  
  .card1 {
    padding: 2rem;
    max-width: 450px;
  }
}

@media (max-width: 992px) {
  .swiper {
    height: 450px;
    margin-bottom: 3rem;
  }
  
  .card1 {
    max-width: 100%;
  }
  
  .card-icon {
    width: 65px;
    height: 65px;
  }
}

@media (max-width: 768px) {
  .gallery-section {
    padding: 3rem 1rem;
  }
  
  .swiper {
    height: 400px;
    border-radius: 8px;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    width: 30px;
    height: 30px;
  }
  
  .card1 {
    padding: 1.5rem;
  }
  
  .card1 h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .swiper {
    height: 350px;
    margin-bottom: 2rem;
  }
  
  .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }
  
  .swiper-pagination-bullet-active {
    width: 20px;
  }
  
  .cards {
    gap: 1rem;
  }
  
  .card1 {
    padding: 1.25rem;
  }
  
  .card-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 1rem;
  }
  
  .card1 h3 {
    font-size: 1.2rem;
  }
  
  .card1 p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

@media (max-width: 400px) {
  .swiper {
    height: 300px;
  }
  
  .card1 {
    padding: 1rem;
  }
  
  .card1 h3 {
    font-size: 1.1rem;
  }
  
  .card1 p br {
    display: none;
  }
}




  
.health-services {
  padding: 80px 20px;
  background: linear-gradient(to bottom, #f0fbff, #ffffff);
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.health-services h2 {
  font-size: 36px;
  font-weight: 700;
  color: #002f4b;
  margin-bottom: 16px;
}

.health-services p {
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #555;
  line-height: 1.6;
}

.services-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow {
  background: #ffffff;
  border: 2px solid #00aaff;
  font-size: 32px;
  cursor: pointer;
  color: #00aaff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 170, 255, 0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow:hover {
  background: #00aaff;
  color: white;
  transform: scale(1.1);
}

.services-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 30px;
  padding: 20px;
  max-width: 1100px;
  scroll-snap-type: x mandatory;
}

.service-card {
  flex: 0 0 300px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  scroll-snap-align: start;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  height: 200px;
  object-fit: cover;
}

.service-card h3 {
  font-size: 20px;
  margin: 20px 20px 10px;
  font-weight: 600;
  color: #002f4b;
}

.underline {
  width: 50px;
  height: 4px;
  background-color: #00aaff;
  margin: 0 20px 15px;
  border-radius: 2px;
}

.service-card p {
  font-size: 15px;
  color: #666;
  margin: 0 20px 20px;
  line-height: 1.5;
}

/* Optional: Hide scrollbar on WebKit browsers */
.services-track::-webkit-scrollbar {
  display: none;
}

.services-track {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Health Services Responsive Styles */
@media (max-width: 1200px) {
  .health-services {
    padding: 70px 20px;
  }
  
  .services-track {
    max-width: 900px;
    gap: 25px;
  }
  
  .service-card {
    flex: 0 0 280px;
  }
}

@media (max-width: 992px) {
  .health-services h2 {
    font-size: 32px;
  }
  
  .health-services p {
    font-size: 17px;
    margin-bottom: 40px;
  }
  
  .carousel-arrow {
    width: 45px;
    height: 45px;
    font-size: 28px;
  }
  
  .service-card img {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .health-services {
    padding: 60px 15px;
  }
  
  .health-services h2 {
    font-size: 28px;
  }
  
  .health-services p {
    font-size: 16px;
    margin-bottom: 35px;
    padding: 0 15px;
  }
  
  .services-track {
    gap: 20px;
    padding: 15px;
  }
  
  .service-card {
    flex: 0 0 260px;
  }
  
  .service-card h3 {
    font-size: 18px;
    margin: 15px 15px 8px;
  }
  
  .service-card p {
    font-size: 14px;
    margin: 0 15px 15px;
  }
  
  .underline {
    margin: 0 15px 12px;
  }
}

@media (max-width: 576px) {
  .health-services {
    padding: 50px 10px;
  }
  
  .health-services h2 {
    font-size: 24px;
  }
  
  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 24px;
    display: none; /* Hide arrows on smallest screens */
  }
  
  .services-track {
    gap: 15px;
    padding: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  
  .service-card {
    flex: 0 0 240px;
  }
  
  .service-card img {
    height: 160px;
  }
  
  .service-card h3 {
    font-size: 17px;
  }
}

@media (max-width: 400px) {
  .health-services p {
    font-size: 15px;
  }
  
  .service-card {
    flex: 0 0 220px;
  }
  
  .service-card img {
    height: 140px;
  }
  
  .service-card h3 {
    font-size: 16px;
  }
  
  .service-card p {
    font-size: 13px;
  }
}

/* iPhone SE (320px) and similar small devices */
@media (max-width: 375px) {
  .health-services {
    padding: 40px 10px;
  }
  
  .health-services h2 {
    font-size: 22px;
    margin-bottom: 12px;
  }
  
  .health-services p {
    font-size: 14px;
    margin-bottom: 30px;
    padding: 0;
  }
  
  .services-track {
    gap: 12px;
    padding: 8px 10px;
  }
  
  .service-card {
    flex: 0 0 200px;
    border-radius: 12px;
  }
  
  .service-card img {
    height: 120px;
    border-radius: 12px 12px 0 0;
  }
  
  .service-card h3 {
    font-size: 15px;
    margin: 12px 12px 6px;
  }
  
  .service-card p {
    font-size: 12px;
    margin: 0 12px 12px;
    line-height: 1.4;
  }
  
  .underline {
    width: 40px;
    height: 3px;
    margin: 0 12px 10px;
  }
  
  /* Force smooth scrolling */
  .services-track {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  
  /* Hide scroll arrows completely */
  .carousel-arrow {
    display: none !important;
  }
}

/* Additional fixes for landscape mode */
@media (max-width: 667px) and (orientation: landscape) {
  .service-card {
    flex: 0 0 180px;
  }
  
  .service-card img {
    height: 100px;
  }
}
  
 /* Specialties & Departments Section - Professional Design */
.specialties {
  padding: 80px 20px;
  background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
  position: relative;
}

.departments-section {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.departments-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.departments-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #0ea5e9, #3b82f6);
  border-radius: 2px;
}

.specialties-desc {
  max-width: 800px;
  margin: 0 auto 3rem;
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.6;
}

.departments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 3rem;
}

.department {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.department::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #0ea5e9, #3b82f6);
}

.department:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.department img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-right: 25px;
  filter: drop-shadow(0 4px 8px rgba(14, 165, 233, 0.2));
}

.department h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.department p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.find-more-wrapper {
  margin-top: 2rem;
}

.find-btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: transparent;
  color: #0ea5e9;
  border: 2px solid #0ea5e9;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.find-btn-outline:hover {
  background: #0ea5e9;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(14, 165, 233, 0.3);
}






/* Doctors Section - Professional Design */
.doctors-section {
  max-width: 1200px;
  margin: 5rem auto 0;
  text-align: center;
  padding: 0 20px;
}

.doctors-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.doctors-section h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #0ea5e9, #3b82f6);
  border-radius: 2px;
}

.subtext {
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.6;
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 2rem;
}

.doctor-card {
  background: white;
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.doctor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #0ea5e9, #3b82f6);
}

.avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  background: #e0f2fe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0ea5e9;
  font-size: 2.5rem;
  font-weight: bold;
  position: relative;
  overflow: hidden;
}

.avatar::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('/image/doctor\ \(1\).webp') no-repeat center/cover;
  opacity: 0.9;
}

.doctor-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 1rem 0 0.5rem;
}

.specialty {
  display: inline-block;
  background: #e0f2fe;
  color: #0ea5e9;
  padding: 6px 15px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.doctor-card:hover .specialty {
  background: #0ea5e9;
  color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .departments-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .departments-section h2,
  .doctors-section h1 {
    font-size: 2rem;
  }
  
  .department {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }
  
  .department img {
    margin-right: 0;
    margin-bottom: 20px;
  }
  
  .doctors-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  .specialties {
    padding: 60px 15px;
  }
  
  .departments-grid {
    grid-template-columns: 1fr;
  }
  
  .doctor-card {
    padding: 25px 20px;
  }
  
  .avatar {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
}








  .footer-section {
    background-color: #02214d;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    
  }
  
  .footer-top {
    background-color: #0098d8;
    color: white;
    padding: 20px;
    text-align: center;
    display: flex;
    gap: 100px;
    
  }
  
  .footer-top h3 {
    font-size: 23px;
    font-weight: 800;
    margin-left: 160px;
    margin-top: 10px;
  }
  
  .footer-btn {
    margin-top: 10px;
    background: white;
    color: #0098d8;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .footer-btn:hover {
    background-color: #f1f1f1;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    margin-left: 190px;
    margin-right: 190px;
  }
  
  .footer-logo img {
    max-width: 80px;
    margin-bottom: 10px;
  }
  
  .footer-logo p {
    color: #d1d1d1;
    font-size: 15px;
    line-height: 1.6;
  }
  
  .footer-links h4,
  .footer-contact h4 {
    border-bottom: 2px solid #00aaff;
    padding-bottom: 5px;
    margin-bottom: 10px;
    font-size: 18px;
  }
  
  .footer-links ul,
  .footer-contact ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
    color: #ccc;
  }
  .footer-links a {
    text-decoration: none;
    color:#ffffff;
    transition: all 0.3s ease;
  }
  
  .footer-links a:hover {
    color: #fff;
    text-decoration: underline;
  }
  .footer-links ul li,
  .footer-contact ul li {
    margin-bottom: 8px;
  }
  
  .footer-bottom {
    border-top: 1px solid #005d8f;
    padding: 10px 20px;
    text-align: center;
    font-size: 14px;
    color: #aaa;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  
  #location i{
    margin-right: 10px;
    font-size: 50px;
    position: relative;
    top: 20px;
    right: 20px;
    color:#23abda;
    
  }
#clock i{
  margin-right: 10px;
    font-size: 50px;
    position: relative;
    top: 20px;
    right: 20px;
    color:#23abda;
  
}

/* Responsive Design */
@media (max-width: 1200px) {
  .logo img {
    margin-left: 30px;
    height: 65px;
    width: 70px;
  }

  .highlight {
    left: 0;
  }

  .footer-content {
    margin-left: 60px;
    margin-right: 60px;
  }
}

@media (max-width: 992px) {
  .top-bar .container {
    flex-direction: column;
    align-items: center;
  }

  .info > div:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #ccc;
  }

  .container-why {
    flex-direction: column;
  }

  .departments-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .doctors-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-content {
    margin-left: 30px;
    margin-right: 30px;
  }
}

@media (max-width: 768px) {
  .logo img {
    height: 50px;
    width: 65px;
  }

  .info {
    flex-direction: column;
    padding: 10px;
  }

  .navbar ul {
    flex-direction: column;
    gap: 10px;
  }

  .hero-slider {
    margin: 20px auto;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .service-card {
    flex: 0 0 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    margin: 0 20px;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 50px;
    width: 65px;
    margin-left: 10px;
  }

  .highlight {
    width: 100%;
    left: 0;
    margin: 10px 0;
    text-align: center;
  }

  .text-content h2 {
    font-size: 24px;
  }

  .text-content p,
  .text-content ul li {
    font-size: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .carousel-arrow {
    font-size: 24px;
  }
}

.menu-toggle {
  width: 30px;
  cursor: pointer;
  display: none; /* Hidden by default */
  flex-direction: column;
  justify-content: space-between;
  height: 22px;
}

.bar {
  height: 4px;
  background-color: #333;
  border-radius: 2px;
}
.swiper {
  width:60%;
  height: 40%;
  /* max-width: 1000px; */
  padding: 20px 0;
}

.swiper-slide img {
  width: 100%;
  height: 40%;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}


/* Responsive Design */
@media (max-width: 1200px) {
  .logo img {
    margin-left: 20px;
  }

  .highlight {
    left: 0;
  }
.highlight a{
  color: #ffffff;
   text-decoration: none;
}
  .footer-content {
    margin-left: 60px;
    margin-right: 60px;
  }
}

@media (max-width: 992px) {
  .top-bar .container {
    flex-direction: row;
    align-items: center;
  }

  .info > div:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #ccc;
  }

  .container-why {
    flex-direction: column;
  }

  .departments-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .doctors-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-content {
    margin-left: 30px;
    margin-right: 30px;
  }
}
@media (max-width:1024px) {
  .container {
    flex-direction: row; /* Row me hi rahenge */
    justify-content: space-between;
    align-items: center;
  }

  .info {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
  #location i{
   display: flex;
   top: 50px;
   right: 30px;
   
  }
  #location{
    gap: 20px;
  }
  #navbar-links{
    position: relative;
    right:200px;
  }
  .highlight{
    position: relative;
    left: 40px;
  }
}
@media (max-width: 768px) {
  ::-webkit-scrollbar {
    display: none;
  }
  .logo img {
   justify-content: flex-start;
  }

  .info {
    flex-direction: column;
    padding: 10px;
  }

  .navbar ul {
    flex-direction: column;
    gap: 10px;
  }

  .hero-slider {
    margin: 20px auto;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .service-card {
    flex: 0 0 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    margin: 0 20px;
  }
}

@media (max-width: 480px) {
  .logo img {
    margin-left: 10px;
  }

  .highlight {
    width: 100%;
    left: 0;
    margin: 10px 0;
    text-align: center;
  }

  .text-content h2 {
    font-size: 24px;
  }

  .text-content p,
  .text-content ul li {
    font-size: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .carousel-arrow {
    font-size: 24px;
  }
}


@media (max-width: 768px) {
  .menu-icon {
    display: flex;
  }
}
@media (max-width:820px) {
  .logo img{
    height: 120px;
    width: 150px;
  }
  #navbar-link{
    display: flex;
    justify-items: center;
    position: relative;
    left:300px;
  }
}


@media (max-width: 768px) {
  .hero-slider {
      margin-top: -1px; /* Removes hairline gap */
      position: relative;
      top: -1px;
  }
  
  /* If using fixed navbar */
  .navbar.fixed-top + .hero-slider {
      margin-top: 0;
      padding-top: 0;
  }
}