 /* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
}

.top-bar {
  background: #e6f0f5;
  color: #000;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.top-bar i {
  margin-right: 5px;
}

.social-icons a {
  color: #000;
  margin-left: 10px;
  font-size: 16px;
  text-decoration: none;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 10px 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: static; /* default for larger screens */
  top: auto;
  width: auto;
  z-index: 999;
}

/* For mobile screens only */
@media (max-width: 768px) {
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
  }
}


#logo {
  height: 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#logo img {
  height: 100px; /* Increase the image size */
  transform: scale(1.2); /* Optional: for fine-tuning size */
  object-fit: contain;
  margin-top: -10px; /* Pull image upward if needed */

}
@media (max-width: 768px) {
  #logo img {
    height: 60px; /* Smaller logo height for mobile */
    transform: scale(1); /* Reset scale on mobile */
    margin-top: 0; /* Reset any upward pull */
  }
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-links li a:hover {
  color: #0077cc;
}

.hero-section {
  position: relative;
  background: url('image/1st\ background.jpeg') center center/cover no-repeat;
  height: 100vh;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 51, 102, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.consultation-btn {
  background: linear-gradient(270deg, #00c853, #2196f3);
  background-size: 400% 400%;
  color: white;
  padding: 12px 24px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
  animation: animatedGradient 6s ease infinite;
}

.consultation-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Keyframes for animated gradient */
@keyframes animatedGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

footer {
  text-align: center;
  padding: 15px;
  background: #f4f4f4;
  font-size: 14px;
}
.top-bar {
  background: #e6f0f5;
  color: #000;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  flex-wrap: wrap;
}

.left-info {
  display: flex;
  gap: 15px;
  align-items: center;
}

.right-info {
  display: flex;
  gap: 15px;
  align-items: center;
}

.right-info .social-icons a {
  margin-left: 10px;
  color: #000;
  font-size: 16px;
  text-decoration: none;

}
/* NAV HOVER UNDERLINE ANIMATION */
.nav-links li a {
  position: relative;
  padding: 8px 12px;
  text-decoration: none;
  color: #000;
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: #007bff;
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* BOOK AN APPOINTMENT ANIMATION */
.appointment-btn {
  color: #fff;
  background: #007bff;
  border-radius: 30px;
  padding: 8px 18px;
  animation: pulse-glow 2s infinite;
  font-weight: bold;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
  }
  90% {
    box-shadow: 0 0 0 12px rgba(0, 123, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}

/* PHONE ICON PULSE ANIMATION */
.left-info i.fa-phone {
  color: green;
  animation: pulse-phone 1.5s infinite;
}

@keyframes pulse-phone {
  0% {
    transform: scale(1);
    color: #00cc00;
  }
  50% {
    transform: scale(1.2);
    color: #33ff33;
  }
  100% {
    transform: scale(1);
    color: #00cc00;
  }
}

.right-info a {
  color: #000;
  text-decoration: none;
}


.social-icons a.facebook:hover {
  color: #3b5998; /* Facebook blue */
}

.social-icons a.instagram:hover {
  color: #e1306c; /* Instagram pink/red tone */
}
.cta-container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center; /* Or use 'left' if it's left-aligned on your design */
}

.cta-phone {
  font-size: 16px;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}
/* HAMBURGER MENU & RESPONSIVE NAV */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #000;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: white;
    display: none;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    margin: 10px 0;
  }

  .navbar {
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
  }

  #logo img {
    height: 80px;
  }
}
.nav-item.active {
  color: #007bff;
  border-bottom: 2px solid #007bff;
}

.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
}
.hero-section {
  padding-top: 120px; /* More space to avoid overlap */
}
/* Hide mobile button by default */
.appointment-mobile {
  display: none;
}

/* Mobile View */
@media (max-width: 768px) {
  .appointment-desktop {
    display: none; /* hide from nav list */
  }

  .appointment-mobile {
    display: inline-block;
    position: absolute;
    top: 15px;
    right: 60px;
    font-size: 14px;
    padding: 6px 14px;
    z-index: 1000;
  }
}

/* Desktop View */
@media (min-width: 769px) {
  .appointment-desktop {
    display: inline-block;
  }

  .appointment-mobile {
    display: none;
  }
}
/* Parent dropdown container */
.nav-item.dropdown {
  position: relative;
}

.nav-item .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  border-top: 2px solid #007bff;
  z-index: 999;
  border-radius: 4px;
  min-width: 180px;
}

/* Show on hover */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

/* Dropdown menu items */
.dropdown-menu li {
  padding: 10px 15px;
  white-space: nowrap;
}

.dropdown-menu li a {
  color: #333;
  text-decoration: none;
  display: block;
  font-weight: 500;
}

.dropdown-menu li:hover {
  background-color: #f0f0f0;
}
.doctor-consultation-icon {
  cursor: pointer;
  text-align: center;
}

.icon-circle {
  width: 80px;
  height: 80px;
  margin: auto;
  background-color: #00aaff; /* Bright blue */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  animation: subtle-pulse 1.2s infinite ease-in-out;
  box-shadow: 0 0 10px rgba(0, 170, 255, 0.6);
  transition: transform 0.3s ease;
}

.icon-circle img {
  height: 40px;
}

.doctor-consultation-icon p {
  font-size: 16px;
  color: #0077cc;
  font-weight: bold;
}

/* Subtle pulse animation */
@keyframes subtle-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.6);
  }
  50% {
    transform: scale(0.75);
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.9);
  }
}
.service-card:hover p {
  color: #c9dff5 !important; /* Light Blue */
  text-shadow:
    -1px -1px 0 #0a1a33,
     1px -1px 0 #0a1a33,
    -1px  1px 0 #0a1a33,
     1px  1px 0 #0a1a33; /* Dark navy blue border */
}


  .clinic-times-btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #007bff;
    color: white;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    text-decoration: none;
    animation: glowBlink 1.5s infinite ease-in-out;
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.6);
  }

  .clinic-times-btn:hover {
    transform: scale(1.08);
  }

  @keyframes glowBlink {
    0% {
      box-shadow: 0 0 5px rgba(0, 123, 255, 0.4), 0 0 10px rgba(0, 123, 255, 0.4);
      background-color: #007bff;
    }
    50% {
      box-shadow: 0 0 20px rgba(0, 123, 255, 1), 0 0 30px rgba(0, 123, 255, 0.9);
      background-color: #339dff;
    }
    100% {
      box-shadow: 0 0 5px rgba(0, 123, 255, 0.4), 0 0 10px rgba(0, 123, 255, 0.4);
      background-color: #007bff;
    }
  }
html {
  scroll-behavior: smooth;
}

#appointment-form {
  scroll-margin-top: 120px;
}
.read-more-btn {
  display: inline-block;
  margin-top: 10px;
  color: #253647;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid #007BFF;
  padding: 8px 16px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
  
}

.read-more-btn::before {
  color: white;
  content: '';
  position: absolute;
  width: 120%;
  height: 0%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  background: #007BFF;
  transition: all 0.5s ease;
  z-index: 0;
}

.read-more-btn:hover::before {
  height: 500%;
  color: white;
}

.read-more-btn:hover {
  color: white;
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

/* Text inside button */
.read-more-btn span {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
  color: white;
}

/* Make text white on hover */
.read-more-btn:hover span {
  color: white;
}
#rhinoplasty,
#gynaecomastia,
#lipoma,
#ophthalmology {
  scroll-margin-top: 130px; /* Adjust based on your fixed navbar height */
}
html {
  scroll-behavior: smooth;
}
.top-bar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}
.navbar {
  position: fixed;
  top: 40px;
  width: 100%;
  z-index: 999;
}
.hero-section {
  padding-top: 160px;
}
.why-choose-section {
  padding: 60px 20px;
  background-color:rgb(227, 240, 250);
}

.why-choose-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.why-choose-left {
  flex: 1 1 500px;
}

.why-choose-left h4 {
  color: #6c757d;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.why-choose-left h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
}

.why-choose-left p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.features-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature-item img {
  width: 40px;
}

.feature-item p {
  margin: 0;
}

/* Right side layout */
.why-choose-right {
  flex: 1 1 500px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-choose-right .top-row {
  display: flex;
  gap: 20px;
}

.why-choose-right .top-row img {
  flex: 1;
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  height: 200px;
}

.why-choose-right .bottom-row img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  height: 320px;
}
.feature-item img {
  width: 50px;
  height: 50px;
  padding: 8px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* Soft shadow instead of border */
}
.before-after-section {
  padding: 60px 20px;
  background: 
    linear-gradient(rgba(241, 247, 241, 0.9), rgba(241, 247, 241, 0.9)), 
    url('image/2nd\ bckg.webp'); /* replace with your image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.before-after-container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.before-after-heading {
  font-weight: 800;
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #2d2f38;
}

.before-after-description {
  font-size: 1.1rem;
  color: #4a4a4a;
  margin-bottom: 30px;
  line-height: 1.6;
}

.surgery-services {
  padding: 40px 20px;
  background: linear-gradient(to right, #a8e6cf, #d0f0fd); /* light green to light blue */
  text-align: center;
}


.service-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.service-card {
  padding: 15px 25px;
  background: #007BFF;
  color: rgb(45, 28, 28);
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s, background 0.3s;
}

.service-card:hover {
  
  transform: scale(1.05);
}

.service-images {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeIn 0.5s ease-in-out;
}

.service-images img {
  width: 250px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.photo-gallery-section {
  padding: 40px 20px;
  background-color: #fff;
  font-family: Arial, sans-serif;
}

.photo-gallery-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.photo-gallery-left {
  flex: 1 1 25%;
  min-width: 220px;
}

.photo-gallery-left h2 {
  font-size: 24px;
  color: #3390d4;
  line-height: 1.4;
  margin: 0;
}

.photo-gallery-right {
  flex: 1 1 75%;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: flex-start;
}

.image-card {
  width: 150px;
  background-color: #007bff;
  border-radius: 12px;
  overflow: hidden;
  padding: 8px;
  box-sizing: border-box;
}

.image-card img {
  width: 100%;
  border-radius: 6px;
  display: block;
}
/* Blog Section Base */
.blog-section {
  padding: 60px 20px;
  background-color:#b4d6ef;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-subtitle {
  color: #888;
  font-size: 16px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 32px;
  font-weight: bold;
}

/* Blog Cards Container */
.blog-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* Each Blog Card */
.blog-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  width: 32%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.blog-info {
  padding: 20px;
}

.blog-date {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.blog-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.blog-text {
  font-size: 15px;
  color: #333;
}

/* Tablet View - 2 per row */
@media (max-width: 992px) {
  .blog-card {
    width: 48%;
  }
}

/* Mobile View - Full Width */
@media (max-width: 768px) {
  .blog-card {
    width: 100%;
  }
}
.read-more-btn {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 8px 14px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 14px;
  transition: background 0.3s ease;
}

.read-more-btn:hover {
  background-color: #0056b3;
}
@media (max-width: 600px) {
  .header {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }

  .header .logo {
    width: 130px;
    margin-bottom: 5px;
  }

  .header .appointment-button {
    font-size: 13px;
    padding: 6px 10px;
    margin-bottom: 5px;
    white-space: nowrap;
  }

  .header .menu-icon {
    font-size: 24px;
  }
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}
@media (max-width: 600px) {
  .header {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
  }

  .header .logo img {
    height: 40px;
    margin-bottom: 5px;
  }

  .header .appointment-button {
    font-size: 12px;
    padding: 6px 10px;
    margin-bottom: 5px;
    white-space: nowrap;
  }

  .header .menu-icon {
    font-size: 22px;
  }
}
@media (max-width: 600px) {
  .header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    text-align: center;
    gap: 10px;
  }

  .header .logo img {
    height: 40px;
  }

  .header .appointment-button {
    font-size: 13px;
    padding: 6px 10px;
    white-space: nowrap;
  }

  .header .menu-icon {
    font-size: 22px;
    margin-left: auto;
  }

  .header .top-bar {
    flex-direction: column;
    text-align: center;
  }

  .header .top-bar a, 
  .header .top-bar span {
    display: block;
    margin: 2px 0;
    font-size: 14px;
  }
}
/* Prevent horizontal overflow on all devices */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
/* Ensure all images are responsive */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Wrap header contact section properly on small screens */
.header-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* Prevent button or link overflows */
.call-now {
  max-width: 100%;
  word-wrap: break-word;
  overflow-x: auto;
}
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 6vw;
    text-align: center;
  }

  .hero-section p {
    font-size: 4vw;
    text-align: center;
  }

  .call-now {
    font-size: 4vw;
    padding: 8px 16px;
  }
}
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 20px;
}
/* Fix for header layout on small screens */
@media (max-width: 768px) {
  .header-main {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .call-appointment-btn {
    width: 90%;
    text-align: center;
    font-size: 4vw;
  }

  .menu-icon {
    align-self: flex-end;
  }
}
@media (max-width: 768px) {
  .top-bar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 15px;
    background-color: #e6f0f5;
    gap: 4px;
  }

 .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background-color: white;
  z-index: 10;
  position: relative;
  margin-top: 30px;  /* 👈 increased spacing */
  border-top: 1px solid #ddd;
}



  .hero-section {
    margin-top: 10px; /* to give space after navbar */
  }

  #logo img {
    width: 140px;
    height: auto;
  }

  .hamburger {
    font-size: 24px;
    cursor: pointer;
  }

  .appointment-mobile {
    display: inline-block;
    margin-left: auto;
    padding: 6px 12px;
    font-size: 14px;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    z-index: 9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }
}
.testimonial-section {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(135deg, #b4d6ef, #f0f8ff, #ffffff);
  background-size: 300% 300%;
  animation: testimonialGradientShift 15s ease infinite;
}

@keyframes testimonialGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


.section-header h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.section-header p {
  color: #555;
  font-size: 16px;
  margin-bottom: 20px;
}

#contactBtn {
  background-color: #0077b6;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  margin-bottom: 10px;
}

#phoneNumber {
  font-size: 18px;
  font-weight: bold;
  color: #222;
  margin-top: 15px; /* Ensure spacing below button */
}

.hidden {
  display: none;
}

.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
  padding: 20px;
  max-width: 300px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center; /* ✅ This centers the image */
}


.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.testimonial-card h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.testimonial-card .role {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}

.testimonial-card .stars {
  color: gold;
  font-size: 20px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .testimonial-cards {
    flex-direction: column;
    align-items: center;
  }
}
.surgery-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.surgery-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0 20px;
}

.surgery-image {
  flex: 1 1 50%;
  text-align: center;
}

.surgery-image img {
  max-width: 100%;
  height: auto;
}

.surgery-content {
  flex: 1 1 50%;
  padding: 20px;
}

.section-subtitle {
  color: #7c8ba0;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-size: 14px;
  text-transform: uppercase;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1b1e23;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  margin-bottom: 15px;
  font-size: 16px;
  color: #333;
}

/* Responsive for small devices */
@media screen and (max-width: 768px) {
  .surgery-container {
    flex-direction: column;
    text-align: center;
  }

  .surgery-content {
    padding-top: 30px;
  }
}
.surgery-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.surgery-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0 20px;
}

.surgery-image {
  flex: 1 1 50%;
  text-align: center;
}

.surgery-image img {
  max-width: 100%;
  height: auto;
}

.surgery-content {
  flex: 1 1 50%;
  padding: 20px;
}

.section-subtitle {
  color: #7c8ba0;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-size: 14px;
  text-transform: uppercase;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1b1e23;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  margin-bottom: 15px;
  font-size: 16px;
  color: #333;
  font-weight: bolder;
}

/* Responsive for small devices */
@media screen and (max-width: 768px) {
  .surgery-container {
    flex-direction: column;
    text-align: center;
  }

  .surgery-content {
    padding-top: 30px;
  }
}
.faq-section {
  background-color: #f8f9fa;
  padding: 60px 20px;
}

.faq-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.faq-left img {
  width: 100%;
  max-width: 500px;
}

.faq-right {
  flex: 1;
  min-width: 300px;
}

.faq-right h2 {
  font-size: 28px;
  color: #1e1e1e;
  font-weight: 700;
}

.faq-right p {
  font-size: 17px;
  font-weight: bolder;
  color: #555;
  margin: 10px 0 30px;
}

.faq-item {
  border-bottom: 1px solid #ccc;
  margin-bottom: 15px;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  padding: 15px;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: '▼';
  position: absolute;
  right: 15px;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 15px 15px;
  font-size: 15px;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-container {
    flex-direction: column;
  }

  .faq-left img {
    max-width: 100%;
  }
}
/* Hide top bar on screens smaller than 768px */
@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
}
.navbar {
  width: 100%;
  margin: 0;
  padding: 10px 20px;
  background-color: #fff; /* or your nav color */
  position: relative; /* or fixed/sticky if needed */
  top: 0;
  z-index: 1000;
}
@media (max-width: 768px) {
  .navbar {
    position: sticky;
    top: 0;
  }
}
/* Show top-bar by default */
.top-bar {
  display: flex; /* or block/grid, based on your layout */
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px;
  background-color: #f5f5f5; /* your top bar color */
  font-size: 14px;
}

/* Hide top-bar on screens smaller than 768px */
@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
}
@media (max-width: 768px) {
  .photo-gallery-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    justify-content: center;     /* Ensures grid is centered */
    align-items: center;
    max-width: 500px;            /* Keeps layout narrow and centered */
    margin: 0 auto;              /* Centers the grid block itself */
  }

  .image-card {
    display: flex;
    justify-content: center;     /* Centers image inside the card */
  }

  .image-card img {
    width: 100%;                 /* Or reduce a bit if you want spacing */
    max-width: 100%;
  }
}
.general-surgery-section {
  padding: 40px 20px;
  text-align: center;
  background: linear-gradient(135deg, #e3f2fd, #e0f7fa, #e6f9e6); /* light blue to light green */
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
  color: #333;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


.toggle-btn {
  background-color:rgb(13, 90, 138);
  color: #fff;
  padding: 12px 24px;
  border: none;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 20px;
}

.hidden-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.disease-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

.disease-card {
  width: 150px;
  background: #fff;
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.disease-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
}

.disease-card p {
  margin-top: 10px;
  font-weight: 500;
  color: #333;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
/* Sliding marquee text */
.insurance-marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  background: #fff; /* Optional */
}

.insurance-marquee p {
  display: inline-block;
  font-size: 35px;
  font-weight: bold;
  color: green;
  padding-left: 100%; /* Start from right */
  animation: scrollText 40s linear infinite;
}

@keyframes scrollText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}


/* Logo grid section */
.insurance-logos {
  background-color: #000; /* black background */
  padding: 30px 20px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns on mobile */
  gap: 20px;
  justify-items: center;
  align-items: center;
  padding-top: 20px;
}

.logo-grid img {
  width: 100px;
  height: auto;
  background: white;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  object-fit: contain;
}

/* Responsive for tablets and larger */
@media (min-width: 600px) {
  .logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Responsive for desktops */
@media (min-width: 900px) {
  .logo-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.patients-journey-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.section-header h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #333;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  justify-content: center;
}

.journey-step {
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ccc; /* Border added */
  border-radius: 10px;
  transition: transform 0.3s;
}

.journey-step img {
  max-width: 60px;
  margin: 0 auto 10px;
  display: block; /* Center image */
}

.journey-step h4 {
  font-size: 16px;
  margin: 10px 0 5px;
  color: #333;
  text-align: center;
}

.journey-title{
  text-align: center;
  font-weight:bold;
  font: size 200px;
  padding-top: 50px;
  padding-bottom: 50px;
  font-size: xx-large;
}

.journey-step p {
  font-size: 14px;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .journey-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.image-slider-wrapper {
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 0;
  background-color:lightcyan;
  border-radius: 5%;
  
  
}

.image-slider {
  display: flex;
  width: 200%;
  transition: transform 1s ease-in-out;
  justify-content: center;
}

.image-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0px; /* no gaps for tight layout */
  justify-items: center;
  align-items: center;
  padding-bottom: 85px;
  margin: 0;
  box-sizing: border-box;
}

.img-box {
  text-align: center;
  margin: 0;
  padding: 0;
}

.img-box img {
  width: 120px;   /* Increased size for desktop/laptop */
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  margin: 0 auto;
}

.img-box p {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 500;
  color: #222;
}

/* Mobile: keep 3x3 but smaller and tighter */
@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .img-box img {
    width: 68px;
    height: 68px;
  }

  .img-box p {
    font-size: 11px;
    margin-top: 2px;
  }
}

/* ==== Popup Overlay ==== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* ==== Popup Box ==== */
.popup-content {
  background: #fff;
  border-radius: 15px;
  max-width: 350px;
  width: 90%;
  padding: 20px;
  position: relative;
  animation: slideUp 0.4s ease-out;
}

/* ==== Header ==== */
.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  background: #337ce4;
  padding: 10px 15px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  margin: -20px -20px 20px -20px;
}

.popup-header h3 {
  margin: 0;
  font-size: 16px;
}

.close-btn {
  font-size: 20px;
  cursor: pointer;
}

/* ==== Form Fields ==== */
.popup-content input,
.popup-content select {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

/* ==== Submit Button ==== */
.book-btn {
  background: #ff7a00;
  color: white;
  font-weight: bold;
  padding: 12px;
  border: none;
  border-radius: 8px;
  width: 100%;
  position: relative;
  font-size: 16px;
  cursor: pointer;
}

/* ==== Green Ribbon on Button ==== */
.ribbon {
  background: #28a745;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 5px;
  position: absolute;
  top: -10px;
  left: 10px;
}

/* ==== Slide Animation ==== */
@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.why-choose-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
}

.top-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: nowrap; /* force side-by-side */
}

.top-row img {
  width: 100%;
  max-width: 48%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

/* Optional: Reduce size slightly for small screens */
@media (max-width: 600px) {
  .top-row img {
    max-width: 45%;
  }
}

.bottom-row img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}
