body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    text-align: center;
    /* overflow: hidden; Prevents the outer scrollbar */
}

.container {
    width: 80%;
    margin: auto;
    /* overflow: auto; Adds an inner scrollbar */
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /* max-height: 100vh; Ensures the container does not exceed the viewport height */
}


h1, h2, h3 {
    color: #0056b3;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

p {
    margin: 10px 0;
}

.about-us {
    text-align: center;
    padding: 50px 0;
}

.about-us p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.about-us .highlight {
    color: #0056b3;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: .50px; /* Reduced padding */
    background: #00072D;
    color: #fff;
    position: fixed;
    width: 100%;
    bottom: 0;
    font-size: 0.9em; /* Reduced font size */
    /* overflow-y: auto; Added vertical scrollbar */
    /* max-height: 100px; Adjust the max height as needed */
}

/* Navigation bar styling */
.nav-bar {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    background-color: #00072D;
}

.nav-bar li {
    margin: 0 15px;
}

.nav-bar {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    background-color: #00072D;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-bar a {
    color: white;
    text-decoration: none;
}
/* Mobile responsiveness */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 10px;
    }

    .about-us {
        padding: 20px 0;
    }

    .about-us p {
        font-size: 1em;
    }

    footer {
        padding: 10px;
    }
}
/* Slideshow container */
.slideshow {
    position: relative;
    max-width: 40%;
    margin: auto;
    overflow: hidden;
}

.slide {
    display: none;
}

.slide img {
    width: 100%;
    height: auto;
}

/* .fade {
    animation: fadeEffect 4s infinite;
} */

@keyframes fadeEffect {
    0% { opacity: 0; }
    25% { opacity: 1; }
    50% { opacity: 1; }
    75% { opacity: 0; }
    100% { opacity: 0; }
}
/* #appointment-section {
    margin: 40px auto;
    max-width: 600px;
    text-align: center;
}

#appointment-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

#appointment-form label {
    font-weight: bold;
    align-self: flex-start;
    margin-left: 10px;
}

#appointment-form input,
#appointment-form textarea {
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

#appointment-form button {
    padding: 10px 20px;
    font-size: 1em;
    color: white;
    background-color: #0056b3;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#appointment-form button:hover {
    background-color: #003f7f;
}

#form-status {
    margin-top: 10px;
    font-weight: bold;
    color: green;
} */

#appointment-section {
    margin: 40px auto;
    max-width: 600px;
    text-align: left;
}

#appointment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#appointment-form label {
    font-weight: bold;
    margin-bottom: 5px;
}

#appointment-form input,
#appointment-form textarea {
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

#appointment-form button {
    padding: 10px 20px;
    font-size: 1em;
    color: white;
    background-color: #0056b3;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#appointment-form button:hover {
    background-color: #003f7f;
}

#form-status {
    margin-top: 10px;
    font-weight: bold;
    color: green;
}

/* ...existing code... */
.logo {
    height: 40px; /*Adjust the height as needed */
    margin-right: 15px;
  width: 80px;
  height: auto;
  max-height: 80px;
} /* Adjust the margin as needed */

/* ...existing code... */

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin: 40px 0;
}
.service-item {
  background: #fff;
  border: 2px solid #131a35;
  border-radius: 8px;
  padding: 24px 18px 18px 18px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(19,26,53,0.07);
  position: relative;
}
.service-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
  background: #f6f6f6;
  border: 2px solid #d6b999;
}
.learn-more {
  display: inline-block;
  margin-top: 12px;
  background: #d6b999;
  color: #131a35;
  font-weight: bold;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.learn-more:hover {
  background: #131a35;
  color: #d6b999;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(19,26,53,0.7);
  justify-content: center;
  align-items: center;
}

.modal[style*="display: block"], .modal.show {
  display: flex !important;
}

.modal-content {
  background: #fff;
  margin: auto;
  padding: 32px 24px;
  border-radius: 12px;
  max-width: 600px;
  width: 90vw;
  box-shadow: 0 4px 24px rgba(19,26,53,0.18);
  position: relative;
}

.close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 2rem;
  color: #131a35;
  cursor: pointer;
  font-weight: bold;
}
@media (max-width: 600px) {
  .modal-content {
    max-width: 95vw;
    padding: 18px 8px;
  }
}

/* Modal content styling */
#modalContent h2 {
    color: #0056b3;
    margin-top: 0;
}

#modalContent h3 {
    color: #003f7f;
    margin-top: 20px;
}

#modalContent ul {
    padding-left: 20px;
}

#modalContent li {
    margin-bottom: 8px;
}


/* Additional styling for sports injury content */
.service-item[data-service="sports-injury"] {
    background: linear-gradient(to bottom right, #f0f8ff, #e6f0fa);
}

#modalContent h3:contains("Why Choose Us?") {
    background-color: #0056b3;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
}

/* Highlight sport-specific points */
#modalContent li:contains("sport-specific"),
#modalContent li:contains("athlete") {
    font-weight: 600;
    color: #003366;
}

/* Responsive adjustments for sports images */
@media (max-width: 600px) {
    .modal-content {
        padding: 15px;
    }
    
    #modalContent h3 {
        font-size: 1.2em;
    }
    
    #modalContent ul {
        padding: 10px;
    }
}


.sports-icons {
    text-align: center;
    margin: 15px 0;
    font-size: 1.5em;
}

.sport-icon {
    margin: 0 10px;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Neurological Rehabilitation specific styles */
.neuro-icons {
    text-align: center;
    margin: 15px 0;
    font-size: 1.8em;
}

.neuro-icon {
    margin: 0 10px;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.service-item[data-service="neurological"] {
    background: linear-gradient(to bottom right, #f0f5ff, #e6f0ff);
    border-left: 4px solid #0056b3;
}

#modalContent h3:contains("Neuroplasticity") {
    color: #0056b3;
    font-weight: bold;
}

/* Highlight important neurological terms */
#modalContent li:contains("neuroplasticity"),
#modalContent li:contains("cognitive") {
    font-weight: 600;
    color: #003366;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .neuro-icons {
        font-size: 1.4em;
    }
    
    .neuro-icon {
        margin: 0 5px;
    }
}



/* Pediatric Physiotherapy specific styles */
.pediatric-icons {
    text-align: center;
    margin: 15px 0;
    font-size: 1.8em;
}

.pediatric-icon {
    margin: 0 10px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.service-item[data-service="pediatric"] {
    background: linear-gradient(to bottom right, #fff0f5, #ffe6ee);
    border-left: 4px solid #ff69b4;
}

#modalContent h3:contains("Developmental") {
    color: #ff69b4;
    font-weight: bold;
}

/* Highlight important pediatric terms */
#modalContent li:contains("child"),
#modalContent li:contains("developmental") {
    font-weight: 600;
    color: #d6336c;
}

/* Make lists more child-friendly */
#modalContent ul {
    list-style-type: none;
    padding-left: 0;
}

#modalContent li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

#modalContent li:before {
    content: "👉";
    position: absolute;
    left: 0;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .pediatric-icons {
        font-size: 1.4em;
    }
    
    .pediatric-icon {
        margin: 0 5px;
    }
}


/* Women's Health specific styles */
.womens-health-icons {
    text-align: center;
    margin: 15px 0;
    font-size: 1.8em;
}

.womens-health-icon {
    margin: 0 10px;
    display: inline-block;
    animation: gentlePulse 3s infinite;
}

@keyframes gentlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.service-item[data-service="womens-health"] {
    background: linear-gradient(to bottom right, #fff0f7, #ffe6f2);
    border-left: 4px solid #e83e8c;
}

#modalContent h3:contains("Pelvic") {
    color: #e83e8c;
    font-weight: bold;
}

/* Highlight important women's health terms */
#modalContent li:contains("pelvic"),
#modalContent li:contains("postnatal") {
    font-weight: 600;
    color: #c2185b;
}

/* Style lists with feminine touch */
#modalContent ul {
    list-style-type: none;
    padding-left: 0;
}

#modalContent li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

#modalContent li:before {
    content: "🌸";
    position: absolute;
    left: 0;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .womens-health-icons {
        font-size: 1.4em;
    }
    
    .womens-health-icon {
        margin: 0 5px;
    }
}

/* HERO SECTION */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Fill the screen */
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-slideshow .slide {
  position: absolute;
  width: 100%; height: 100%;
  display: none;
}

/* .hero-slideshow .slide img {
  width: 100%; height: 100%;
  object-fit: cover;
} */

.hero-slideshow .slide img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  filter: blur(3px); /* Adjust the px value for more/less blur */
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.4);
  color: #fff;
  z-index: 2;
}

.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 10px;
    color: #131a35;
  font-weight: bold;
}

.hero-overlay p {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.cta-btn {
  background: #d6b999;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background 0.3s ease;
  z-index: 3;
}

.cta-btn:hover {
  background: #003f7f;
}

/* NAVBAR - must float above everything */
.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #131a35;
  padding: 0 32px;
  min-height: 70px;
}

.nav-logo {
  flex: 0 0 auto;
}

.main-nav-bar {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  align-items: center;
  justify-content: center;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
  /* background: #131a35; */
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(19,26,53,0.10);
}

.main-nav-bar li a {
  font-weight: bold;
  background: #131a35;
  color: #fff;
  padding: 18px 18px;
  border-radius: 10px;
  margin: 0 6px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(19,26,53,0.10);
  border: 2px solid #d6b999;
  min-width: 90px;
  text-align: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.main-nav-bar li a:hover,
.main-nav-bar li a:focus {
  background: #fff;
  color: #131a35;
  box-shadow: 0 4px 16px rgba(19,26,53,0.18);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 12px;
  }
  .main-nav-bar {
    display: none; /* Hide desktop nav on mobile, use hamburger */
  }
  .nav-social {
    margin-left: auto;
  }
}

/* Desktop/Laptop: logo left, nav center */
@media (min-width: 769px) {
  .navbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 3;
  }
  .nav-logo {
    flex: 0 0 auto;
    text-align: left;
    margin-left: 30px;
  }
  .nav-bar {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    background: transparent;
  }
  .nav-social {
    margin-left: auto;
    margin-right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
}

/* Mobile: logo center, hamburger left */
@media (max-width: 768px) {
  .navbar {
    justify-content: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    height: 60px;
    width: 100%;
    z-index: 1002;
    background: rgba(0,0,0,0.7);
  }
  .nav-logo {
    flex: 1;
    text-align: center;
    position: absolute;
    left: 0; right: 0;
    margin: auto;
    top: 10px;
  }
  .nav-toggle {
    display: block;
  }
  .nav-bar {
    position: fixed;
    top: 60px;
    left: -220px;
    width: 200px;
    background: #00072D;
    height: 100vh;
    flex-direction: column;
    transition: left 0.3s ease;
    z-index: 1001;
    box-shadow: 2px 0 8px rgba(0,0,0,0.2);
  }
  .nav-bar.open {
    left: 0;
  }
  .nav-bar li {
    margin: 15px 0;
    text-align: left;
    padding-left: 20px;
  }
  .nav-bar a {
    padding: 10px 0;
    font-size: 1.1em;
  }
}

/* Hide hamburger on desktop */
@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }
}

/* Hamburger button style */
.nav-toggle {
  display: block;
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 2001;
  background: #131a35;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  border-radius: 8px;
  padding: 6px 14px;
  cursor: pointer;
}

/* Fullscreen menu overlay */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;      /* Fill the entire viewport width */
  height: 100vh;     /* Fill the entire viewport height */
  background: #131a35;
  color: white;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end; /* Align menu items to the right */
  z-index: 10000;
  margin: 0;
  padding: 0;
}

.fullscreen-menu.active {
  display: flex;
}

.fullscreen-menu ul {
  width: 80vw; /* Make menu items fill most of the right side */
  margin: 0;
  padding: 0 40px 0 0;
  list-style: none;
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.fullscreen-menu ul li {
  margin: 20px 0;
  width: 100%;
}

.fullscreen-menu ul li a {
  color: #fff !important;
  font-size: 1.2rem;
  text-decoration: none;
  padding: 12px 0;
  display: block;
  width: 100%;
  background: transparent;
  transition: background 0.2s, color 0.2s;
  font-weight: bold;
  text-align: right;
}

.fullscreen-menu ul li a:hover {
  background: #fff;
  color: #131a35 !important;
}

/* Close button stays top right */
.fullscreen-menu .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 10001;
}

/* Ensure main content starts below hero section */
main#content {
  margin-top: 0; /* Remove if you have margin-top: 100vh; */
  padding-top: 40px; /* Optional: add some padding for spacing */
  background: #fff;
}

/* Optional: Style for home highlights grid */
.home-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 30px 0;
}

.home-highlights div {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.07);
}

/* Why Choose Us grid: 4 columns on desktop, 1 column on mobile */
.home-highlights {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
  margin: 30px 0;
}

@media (min-width: 992px) {
  .home-highlights {
    grid-template-columns: repeat(4, 1fr);
  }
}




.maincontent {
  margin-top: 100vh; 
  padding: 0 20px 40px 20px; 
  background: #fff;
  min-height: 400px;
  z-index: 0;
}

/* ...existing code... */
.alt-section {
  margin: 40px 0;
}
.alt-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.alt-content.reverse {
  flex-direction: row-reverse;
}
.alt-text {
  text-align: left;
}

/* Desktop view - add flex */
@media (min-width: 769px) {
  .alt-text {
    flex: 1 1 350px;
  }
}

/* Mobile view - remove flex */
@media (max-width: 768px) {
  .alt-text {
    flex: none; /* effectively removes flex behavior */
  }
}

.alt-image {
  flex: 1 1 350px;
  text-align: center;
}
.alt-image img {
  max-width: 350px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
@media (max-width: 900px) {
  .alt-content, .alt-content.reverse {
    flex-direction: column !important;
    gap: 20px;
    text-align: center;
  }
  .alt-text {
    text-align: center;
  }
}

/* ...existing code... */
.alt-text ul,
.alt-text li,
.home-highlights ul,
.home-highlights li,
.service-list ul,
.service-list li {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.alt-text ul,
.home-highlights ul,
.service-list ul {
  margin-bottom: 0;
}

.alt-text li,
.home-highlights li,
.service-list li {
  margin-bottom: 8px;
  padding-left: 0;
}

/* Animation keyframes */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply animation to home highlights and why choose us cards */
.home-highlights > div,
.service-item {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

/* Stagger the animation for each card */
.home-highlights > div:nth-child(1) { animation-delay: 0.1s; }
.home-highlights > div:nth-child(2) { animation-delay: 0.2s; }
.home-highlights > div:nth-child(3) { animation-delay: 0.3s; }
.home-highlights > div:nth-child(4) { animation-delay: 0.4s; }
.home-highlights > div:nth-child(5) { animation-delay: 0.5s; }
.home-highlights > div:nth-child(6) { animation-delay: 0.6s; }
.home-highlights > div:nth-child(7) { animation-delay: 0.7s; }
.home-highlights > div:nth-child(8) { animation-delay: 0.8s; }

.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.3s; }
.service-item:nth-child(4) { animation-delay: 0.4s; }
.service-item:nth-child(5) { animation-delay: 0.5s; }
.service-item:nth-child(6) { animation-delay: 0.6s; }
/* ...existing code... */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  background: #25D366;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 24px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s;
  margin-top: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.whatsapp-btn:hover {
  background: #128C7E;
}
.whatsapp-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  vertical-align: middle;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
}

.nav-icon img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: box-shadow 0.2s, transform 0.2s;
  vertical-align: middle;
}

.whatsapp-nav img {
  background: #25D366;
  padding: 2px;
}

.instagram-nav img {
  background: #fff;
  padding: 2px;
}

.nav-icon:hover img {
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transform: scale(1.1);
}

/* Desktop/Laptop: social icons right */
@media (min-width: 769px) {
  .navbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 3;
  }
  .nav-logo {
    flex: 0 0 auto;
    text-align: left;
    margin-left: 30px;
  }
  .nav-bar {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    background: transparent;
  }
  .nav-social {
    margin-left: auto;
    margin-right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
}

/* Mobile: social icons below logo or menu (optional, keep as is or adjust as needed) */
@media (max-width: 768px) {
  .nav-social {
    position: absolute;
    right: 15px;
    top: 10px;
    gap: 10px;
  }
}

/* Remove previous black/white gap */
body::after {
  display: none;
}

/* Add a 5px white gap above the footer */
.page-gap {
  width: 100%;
  height: 10px;
  background: #fff;
  margin: 0;
  padding: 0;
}

.google-review-btn {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #4285F4;
  border: 2px solid #4285F4;
  border-radius: 24px;
  padding: 8px 18px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  margin-top: 10px;
}
.google-review-btn:hover {
  background: #4285F4;
  color: #fff;
}

/* ...existing code... */
.review-slideshow {
  position: relative;
  max-width: 500px;
  margin: 30px auto 0 auto;
  min-height: 120px;
}
.review-slide {
  display: none;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 25px 20px 15px 20px;
  font-size: 1.1em;
  color: #333;
  animation: fadeUp 0.8s ease;
}
.review-slide.active {
  display: block;
}
.review-slide blockquote {
  margin: 0 0 10px 0;
  font-style: italic;
  color: #0056b3;
}
.review-slide cite {
  font-size: 0.95em;
  color: #555;
  display: block;
  text-align: right;
}



/* Move only Clinic Facilities content to the right on desktop */
/* @media (min-width: 769px) {
  .alt-section.clinic-facilities .alt-content .alt-text {
    margin-left: 60px;
  }
} */

@media (min-width: 769px) {
   .alt-section .alt-content .alt-text h3 {
     margin-left: 30px;
   }
   .alt-section .alt-content .alt-text ul,
   .alt-section .alt-content .alt-text p {
     margin-left: 200px;
   }
 }

 @media (min-width: 769px) {
  .alt-section .alt-content .alt-text h3 {
    margin-left: 150px;
  }
  .alt-section .alt-content .alt-text ul,
  .alt-section .alt-content .alt-text p {
    margin-left: 200px;
  }
}

/* Add this to your styles.css */
.outline-box {
  border: 2px solid #222;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 30px rgba(0,0,0,0.60);
  padding: 24px;
  margin-bottom: 32px;
}


/* .nav-bar a {
    color: white;
    text-decoration: none;
} */


.nav-bar a {
    color: #131a35; /* Dark blue by default */
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: background 0.3s, color 0.3s;
}

.nav-bar a:hover {
    background: white;
    color: #131a35; /* Dark blue text on white */
    border-radius: 5px;
}

/* Hamburger button */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    padding: 10px 20px;
    background: #00072D;
}

/* Mobile menu */
@media (max-width: 768px) {
    .nav-bar {
        flex-direction: column;
        display: none; /* hidden by default */
        background: #00072D;
        width: 100%;
        text-align: left;
    }

    .nav-bar.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .nav-bar li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .nav-bar li a::after {
        content: " >";
        float: right;
    }
}



/* Make navbar appear above the intro video so clicks reach it */
.navbar {
  position: fixed; /* keep navbar on top */
  top: 0;
  left: 0;
  right: 0;
  z-index: 10010; /* > 9999 (intro video) so nav is clickable */
}

/* Ensure mobile menu visibility when toggled */
.nav-bar {
  transition: max-height 0.3s ease;
}
.nav-bar.active {
  display: flex; /* shown when JS toggles the class */
  max-height: 100vh;
}

/* Mobile hamburger styles (if you don't already have them) */
.nav-toggle {
  display: none; /* visible only on small screens via media query below */
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  z-index: 10011; /* even higher to keep it clickable */
}

/* Mobile layout */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-bar {
    flex-direction: column;
    display: none;        /* hidden until .active */
    width: 100%;
    background: #00072D;
    text-align: left;
    padding-top: 60px;    /* make room for fixed navbar */
    z-index: 10010;
  }
  .nav-bar.active { display: flex; }
  .nav-bar li { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-bar li a::after { content: " >"; float: right; }

/* Base Nav */
#nav {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #00072D;
  height: 4rem;
  line-height: 4rem;
  padding: 0 1rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10010;
}

/* Logo */
#nav .nav-logo img {
  height: 40px;
}

/* Links */
#nav ul.links {
  display: flex;
  flex-grow: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

#nav ul.links li a {
  display: block;
  padding: 0 1rem;
  text-decoration: none;
  color: #131a35; /* dark blue */
  transition: background 0.3s, color 0.3s;
}

#nav ul.links li a:hover {
  background: #fff;
  color: #131a35;
  border-radius: 5px;
}

/* Social Icons */
#nav ul.icons {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#nav ul.icons img {
  height: 24px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  margin-right: 1rem;
  z-index: 10011;
}

/* Mobile menu */
@media screen and (max-width: 980px) {
  #nav {
    flex-wrap: wrap;
    height: auto;
    padding: 0.5rem 1rem;
  }

  .nav-toggle {
    display: block;
  }

  #nav ul.links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #00072D;
    margin-top: 0.5rem;
  }

  #nav ul.links.active {
    display: flex;
  }

  #nav ul.links li {
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  #nav ul.links li a::after {
    content: " >";
    float: right;
  }
}


/* Bold navbar items and set dark blue background, white text, white hover background */
.nav-bar li a {
  font-weight: bold;
  background: #131a35; /* dark blue */
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-block;
}

.nav-bar li a:hover,
.nav-bar li a:focus {
  background: #fff;
  color: #002366;
  text-decoration: none;
}

/* Optional: spacing between items */
.nav-bar li {
  margin: 0 6px;
}

/* Ensure the hero section fills the viewport */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* Make the slideshow and image fill the hero section */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  margin: 0;
  padding: 0;
}

.hero-slideshow .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  display: none;
  margin: 0;
  padding: 0;
}

.hero-slideshow .slide img {
  width: 100vw;
  height: 120vh;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  filter: blur(3px);
}



/* Make Book Appointment button match navbar style */
/* Style Book Appointment button with #d6b999 background and matching hover */
.cta-btn.whatsapp-btn {
  background: #d6b999;
  color: #131a35;
  font-weight: bold;
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.cta-btn.whatsapp-btn:hover,
.cta-btn.whatsapp-btn:focus {
  background: #131a35;
  color: #d6b999;
  text-decoration: none;
}

/* Hamburger hidden on desktop */
.nav-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 10001;
}

/* Fullscreen menu overlay (mobile only) */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #131a35;
  color: white;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.fullscreen-menu.active {
  display: flex;
}

/* Close button */
.fullscreen-menu .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Menu items */
.fullscreen-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.fullscreen-menu ul li {
  margin: 20px 0;
}

.fullscreen-menu ul li a {
  color: #fff !important;      /* Ensure white text */
  font-size: 1.2rem;           /* Or 18px for better visibility */
  text-decoration: none;
  padding: 12px 0;
  display: block;
  width: 100%;
  background: transparent;      /* Remove any background that could hide text */
  transition: background 0.2s, color 0.2s;
  font-weight: bold;
  text-align: right;
}

.fullscreen-menu ul li a:hover {
  background: #fff;
  color: #131a35 !important;   /* Dark blue on hover */
}

/* Social icons */
.fullscreen-menu .nav-social {
  margin-top: 40px;
}

.fullscreen-menu .nav-social img {
  height: 32px;
  margin: 0 10px;
}

/* Mobile breakpoint */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-bar {
    display: none; /* hide normal nav bar in mobile */
  }
}

/* Move the hero slideshow image a little bit down from the top */
.hero-slideshow .slide img {
  margin-top: 150px; /* Adjust value as needed */
}

/* Fill the hero slideshow image on the desktop screen */
@media (min-width: 769px) {
  .hero-slideshow .slide img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    margin-top: 0; /* Remove extra top margin for desktop */
  }
}


}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin: 40px 0;
}
.service-item {
  background: #fff;
  border: 2px solid #131a35;
  border-radius: 8px;
  padding: 24px 18px 18px 18px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(19,26,53,0.07);
  position: relative;
}
.service-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
  background: #f6f6f6;
  border: 2px solid #d6b999;
}
.learn-more {
  display: inline-block;
  margin-top: 12px;
  background: #d6b999;
  color: #131a35;
  font-weight: bold;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.learn-more:hover {
  background: #131a35;
  color: #d6b999;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(19,26,53,0.7);
  justify-content: center;
  align-items: center;
}

.modal[style*="display: block"], .modal.show {
  display: flex !important;
}

.modal-content {
  background: #fff;
  margin: auto;
  padding: 32px 24px;
  border-radius: 12px;
  max-width: 600px;
  width: 90vw;
  box-shadow: 0 4px 24px rgba(19,26,53,0.18);
  position: relative;
}

.close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 2rem;
  color: #131a35;
  cursor: pointer;
  font-weight: bold;
}
@media (max-width: 600px) {
  .modal-content {
    max-width: 95vw;
    padding: 18px 8px;
  }
}

/* Modal content styling */
#modalContent h2 {
    color: #0056b3;
    margin-top: 0;
}

#modalContent h3 {
    color: #003f7f;
    margin-top: 20px;
}

#modalContent ul {
    padding-left: 20px;
}

#modalContent li {
    margin-bottom: 8px;
}


/* Additional styling for sports injury content */
.service-item[data-service="sports-injury"] {
    background: linear-gradient(to bottom right, #f0f8ff, #e6f0fa);
}

#modalContent h3:contains("Why Choose Us?") {
    background-color: #0056b3;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
}

/* Highlight sport-specific points */
#modalContent li:contains("sport-specific"),
#modalContent li:contains("athlete") {
    font-weight: 600;
    color: #003366;
}

/* Responsive adjustments for sports images */
@media (max-width: 600px) {
    .modal-content {
        padding: 15px;
    }
    
    #modalContent h3 {
        font-size: 1.2em;
    }
    
    #modalContent ul {
        padding: 10px;
    }
}


.sports-icons {
    text-align: center;
    margin: 15px 0;
    font-size: 1.5em;
}

.sport-icon {
    margin: 0 10px;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Neurological Rehabilitation specific styles */
.neuro-icons {
    text-align: center;
    margin: 15px 0;
    font-size: 1.8em;
}

.neuro-icon {
    margin: 0 10px;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.service-item[data-service="neurological"] {
    background: linear-gradient(to bottom right, #f0f5ff, #e6f0ff);
    border-left: 4px solid #0056b3;
}

#modalContent h3:contains("Neuroplasticity") {
    color: #0056b3;
    font-weight: bold;
}

/* Highlight important neurological terms */
#modalContent li:contains("neuroplasticity"),
#modalContent li:contains("cognitive") {
    font-weight: 600;
    color: #003366;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .neuro-icons {
        font-size: 1.4em;
    }
    
    .neuro-icon {
        margin: 0 5px;
    }
}



/* Pediatric Physiotherapy specific styles */
.pediatric-icons {
    text-align: center;
    margin: 15px 0;
    font-size: 1.8em;
}

.pediatric-icon {
    margin: 0 10px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.service-item[data-service="pediatric"] {
    background: linear-gradient(to bottom right, #fff0f5, #ffe6ee);
    border-left: 4px solid #ff69b4;
}

#modalContent h3:contains("Developmental") {
    color: #ff69b4;
    font-weight: bold;
}

/* Highlight important pediatric terms */
#modalContent li:contains("child"),
#modalContent li:contains("developmental") {
    font-weight: 600;
    color: #d6336c;
}

/* Make lists more child-friendly */
#modalContent ul {
    list-style-type: none;
    padding-left: 0;
}

#modalContent li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

#modalContent li:before {
    content: "👉";
    position: absolute;
    left: 0;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .pediatric-icons {
        font-size: 1.4em;
    }
    
    .pediatric-icon {
        margin: 0 5px;
    }
}


/* Women's Health specific styles */
.womens-health-icons {
    text-align: center;
    margin: 15px 0;
    font-size: 1.8em;
}

.womens-health-icon {
    margin: 0 10px;
    display: inline-block;
    animation: gentlePulse 3s infinite;
}

@keyframes gentlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.service-item[data-service="womens-health"] {
    background: linear-gradient(to bottom right, #fff0f7, #ffe6f2);
    border-left: 4px solid #e83e8c;
}

#modalContent h3:contains("Pelvic") {
    color: #e83e8c;
    font-weight: bold;
}

/* Highlight important women's health terms */
#modalContent li:contains("pelvic"),
#modalContent li:contains("postnatal") {
    font-weight: 600;
    color: #c2185b;
}

/* Style lists with feminine touch */
#modalContent ul {
    list-style-type: none;
    padding-left: 0;
}

#modalContent li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

#modalContent li:before {
    content: "🌸";
    position: absolute;
    left: 0;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .womens-health-icons {
        font-size: 1.4em;
    }
    
    .womens-health-icon {
        margin: 0 5px;
    }
}

/* HERO SECTION */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Fill the screen */
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-slideshow .slide {
  position: absolute;
  width: 100%; height: 100%;
  display: none;
}

/* .hero-slideshow .slide img {
  width: 100%; height: 100%;
  object-fit: cover;
} */

.hero-slideshow .slide img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  filter: blur(3px); /* Adjust the px value for more/less blur */
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.4);
  color: #fff;
  z-index: 2;
}

.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 10px;
    color: #131a35;
  font-weight: bold;
}

.hero-overlay p {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.cta-btn {
  background: #d6b999;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background 0.3s ease;
  z-index: 3;
}

.cta-btn:hover {
  background: #003f7f;
}

/* NAVBAR - must float above everything */
.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #131a35;
  padding: 0 32px;
  min-height: 70px;
}

.nav-logo {
  flex: 0 0 auto;
}

.main-nav-bar {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  align-items: center;
  justify-content: center;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
  /* background: #131a35; */
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(19,26,53,0.10);
}

.main-nav-bar li a {
  font-weight: bold;
  background: #131a35;
  color: #fff;
  padding: 18px 18px;
  border-radius: 10px;
  margin: 0 6px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(19,26,53,0.10);
  border: 2px solid #d6b999;
  min-width: 90px;
  text-align: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.main-nav-bar li a:hover,
.main-nav-bar li a:focus {
  background: #fff;
  color: #131a35;
  box-shadow: 0 4px 16px rgba(19,26,53,0.18);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 12px;
  }
  .main-nav-bar {
    display: none; /* Hide desktop nav on mobile, use hamburger */
  }
  .nav-social {
    margin-left: auto;
  }
}

/* Desktop/Laptop: logo left, nav center */
@media (min-width: 769px) {
  .navbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 3;
  }
  .nav-logo {
    flex: 0 0 auto;
    text-align: left;
    margin-left: 30px;
  }
  .nav-bar {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    background: transparent;
  }
  .nav-social {
    margin-left: auto;
    margin-right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
}

/* Mobile: logo center, hamburger left */
@media (max-width: 768px) {
  .navbar {
    justify-content: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    height: 60px;
    width: 100%;
    z-index: 1002;
    background: rgba(0,0,0,0.7);
  }
  .nav-logo {
    flex: 1;
    text-align: center;
    position: absolute;
    left: 0; right: 0;
    margin: auto;
    top: 10px;
  }
  .nav-toggle {
    display: block;
  }
  .nav-bar {
    position: fixed;
    top: 60px;
    left: -220px;
    width: 200px;
    background: #00072D;
    height: 100vh;
    flex-direction: column;
    transition: left 0.3s ease;
    z-index: 1001;
    box-shadow: 2px 0 8px rgba(0,0,0,0.2);
  }
  .nav-bar.open {
    left: 0;
  }
  .nav-bar li {
    margin: 15px 0;
    text-align: left;
    padding-left: 20px;
  }
  .nav-bar a {
    padding: 10px 0;
    font-size: 1.1em;
  }
}

/* Hide hamburger on desktop */
@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }
}

/* Hamburger button style */
.nav-toggle {
  display: block;
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 2001;
  background: #131a35;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  border-radius: 8px;
  padding: 6px 14px;
  cursor: pointer;
}

/* Fullscreen menu overlay */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;      /* Fill the entire viewport width */
  height: 100vh;     /* Fill the entire viewport height */
  background: #131a35;
  color: white;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end; /* Align menu items to the right */
  z-index: 10000;
  margin: 0;
  padding: 0;
}

.fullscreen-menu.active {
  display: flex;
}

.fullscreen-menu ul {
  width: 80vw; /* Make menu items fill most of the right side */
  margin: 0;
  padding: 0 40px 0 0;
  list-style: none;
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.fullscreen-menu ul li {
  margin: 20px 0;
  width: 100%;
}

.fullscreen-menu ul li a {
  color: #fff !important;
  font-size: 1.2rem;
  text-decoration: none;
  padding: 12px 0;
  display: block;
  width: 100%;
  background: transparent;
  transition: background 0.2s, color 0.2s;
  font-weight: bold;
  text-align: right;
}

.fullscreen-menu ul li a:hover {
  background: #fff;
  color: #131a35 !important;
}

/* Close button stays top right */
.fullscreen-menu .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Ensure main content starts below hero section */
main#content {
  margin-top: 0; /* Remove if you have margin-top: 100vh; */
  padding-top: 40px; /* Optional: add some padding for spacing */
  background: #fff;
}

/* Optional: Style for home highlights grid */
.home-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 30px 0;
}

.home-highlights div {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.07);
}

/* Why Choose Us grid: 4 columns on desktop, 1 column on mobile */
.home-highlights {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
  margin: 30px 0;
}

@media (min-width: 992px) {
  .home-highlights {
    grid-template-columns: repeat(4, 1fr);
  }
}




.maincontent {
  margin-top: 100vh; 
  padding: 0 20px 40px 20px; 
  background: #fff;
  min-height: 400px;
  z-index: 0;
}

/* ...existing code... */
.alt-section {
  margin: 40px 0;
}
.alt-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.alt-content.reverse {
  flex-direction: row-reverse;
}
.alt-text {
  text-align: left;
}

/* Desktop view - add flex */
@media (min-width: 769px) {
  .alt-text {
    flex: 1 1 350px;
  }
}

/* Mobile view - remove flex */
@media (max-width: 768px) {
  .alt-text {
    flex: none; /* effectively removes flex behavior */
  }
}

.alt-image {
  flex: 1 1 350px;
  text-align: center;
}
.alt-image img {
  max-width: 350px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
@media (max-width: 900px) {
  .alt-content, .alt-content.reverse {
    flex-direction: column !important;
    gap: 20px;
    text-align: center;
  }
  .alt-text {
    text-align: center;
  }
}

/* ...existing code... */
.alt-text ul,
.alt-text li,
.home-highlights ul,
.home-highlights li,
.service-list ul,
.service-list li {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.alt-text ul,
.home-highlights ul,
.service-list ul {
  margin-bottom: 0;
}

.alt-text li,
.home-highlights li,
.service-list li {
  margin-bottom: 8px;
  padding-left: 0;
}

/* Animation keyframes */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply animation to home highlights and why choose us cards */
.home-highlights > div,
.service-item {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

/* Stagger the animation for each card */
.home-highlights > div:nth-child(1) { animation-delay: 0.1s; }
.home-highlights > div:nth-child(2) { animation-delay: 0.2s; }
.home-highlights > div:nth-child(3) { animation-delay: 0.3s; }
.home-highlights > div:nth-child(4) { animation-delay: 0.4s; }
.home-highlights > div:nth-child(5) { animation-delay: 0.5s; }
.home-highlights > div:nth-child(6) { animation-delay: 0.6s; }
.home-highlights > div:nth-child(7) { animation-delay: 0.7s; }
.home-highlights > div:nth-child(8) { animation-delay: 0.8s; }

.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.3s; }
.service-item:nth-child(4) { animation-delay: 0.4s; }
.service-item:nth-child(5) { animation-delay: 0.5s; }
.service-item:nth-child(6) { animation-delay: 0.6s; }
/* ...existing code... */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  background: #25D366;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 24px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s;
  margin-top: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.whatsapp-btn:hover {
  background: #128C7E;
}
.whatsapp-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  vertical-align: middle;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
}

.nav-icon img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: box-shadow 0.2s, transform 0.2s;
  vertical-align: middle;
}

.whatsapp-nav img {
  background: #25D366;
  padding: 2px;
}

.instagram-nav img {
  background: #fff;
  padding: 2px;
}

.nav-icon:hover img {
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transform: scale(1.1);
}

/* Desktop/Laptop: social icons right */
@media (min-width: 769px) {
  .navbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 3;
  }
  .nav-logo {
    flex: 0 0 auto;
    text-align: left;
    margin-left: 30px;
  }
  .nav-bar {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    background: transparent;
  }
  .nav-social {
    margin-left: auto;
    margin-right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
}

/* Mobile: social icons below logo or menu (optional, keep as is or adjust as needed) */
@media (max-width: 768px) {
  .nav-social {
    position: absolute;
    right: 15px;
    top: 10px;
    gap: 10px;
  }
}

/* Remove previous black/white gap */
body::after {
  display: none;
}

/* Add a 5px white gap above the footer */
.page-gap {
  width: 100%;
  height: 10px;
  background: #fff;
  margin: 0;
  padding: 0;
}

.google-review-btn {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #4285F4;
  border: 2px solid #4285F4;
  border-radius: 24px;
  padding: 8px 18px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  margin-top: 10px;
}
.google-review-btn:hover {
  background: #4285F4;
  color: #fff;
}

/* ...existing code... */
.review-slideshow {
  position: relative;
  max-width: 500px;
  margin: 30px auto 0 auto;
  min-height: 120px;
}
.review-slide {
  display: none;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 25px 20px 15px 20px;
  font-size: 1.1em;
  color: #333;
  animation: fadeUp 0.8s ease;
}
.review-slide.active {
  display: block;
}
.review-slide blockquote {
  margin: 0 0 10px 0;
  font-style: italic;
  color: #0056b3;
}
.review-slide cite {
  font-size: 0.95em;
  color: #555;
  display: block;
  text-align: right;
}



/* Move only Clinic Facilities content to the right on desktop */
/* @media (min-width: 769px) {
  .alt-section.clinic-facilities .alt-content .alt-text {
    margin-left: 60px;
  }
} */

@media (min-width: 769px) {
   .alt-section .alt-content .alt-text h3 {
     margin-left: 30px;
   }
   .alt-section .alt-content .alt-text ul,
   .alt-section .alt-content .alt-text p {
     margin-left: 200px;
   }
 }

 @media (min-width: 769px) {
  .alt-section .alt-content .alt-text h3 {
    margin-left: 150px;
  }
  .alt-section .alt-content .alt-text ul,
  .alt-section .alt-content .alt-text p {
    margin-left: 200px;
  }
}

/* Add this to your styles.css */
.outline-box {
  border: 2px solid #222;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 30px rgba(0,0,0,0.60);
  padding: 24px;
  margin-bottom: 32px;
}


/* .nav-bar a {
    color: white;
    text-decoration: none;
} */


.nav-bar a {
    color: #131a35; /* Dark blue by default */
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: background 0.3s, color 0.3s;
}

.nav-bar a:hover {
    background: white;
    color: #131a35; /* Dark blue text on white */
    border-radius: 5px;
}

/* Hamburger button */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    padding: 10px 20px;
    background: #00072D;
}

/* Mobile menu */
@media (max-width: 768px) {
    .nav-bar {
        flex-direction: column;
        display: none; /* hidden by default */
        background: #00072D;
        width: 100%;
        text-align: left;
    }

    .nav-bar.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .nav-bar li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .nav-bar li a::after {
        content: " >";
        float: right;
    }
}



/* Make navbar appear above the intro video so clicks reach it */
.navbar {
  position: fixed; /* keep navbar on top */
  top: 0;
  left: 0;
  right: 0;
  z-index: 10010; /* > 9999 (intro video) so nav is clickable */
}

/* Ensure mobile menu visibility when toggled */
.nav-bar {
  transition: max-height 0.3s ease;
}
.nav-bar.active {
  display: flex; /* shown when JS toggles the class */
  max-height: 100vh;
}

/* Mobile hamburger styles (if you don't already have them) */
.nav-toggle {
  display: none; /* visible only on small screens via media query below */
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  z-index: 10011; /* even higher to keep it clickable */
}

/* Mobile layout */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-bar {
    flex-direction: column;
    display: none;        /* hidden until .active */
    width: 100%;
    background: #00072D;
    text-align: left;
    padding-top: 60px;    /* make room for fixed navbar */
    z-index: 10010;
  }
  .nav-bar.active { display: flex; }
  .nav-bar li { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-bar li a::after { content: " >"; float: right; }

/* Base Nav */
#nav {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #00072D;
  height: 4rem;
  line-height: 4rem;
  padding: 0 1rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10010;
}

/* Logo */
#nav .nav-logo img {
  height: 40px;
}

/* Links */
#nav ul.links {
  display: flex;
  flex-grow: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

#nav ul.links li a {
  display: block;
  padding: 0 1rem;
  text-decoration: none;
  color: #131a35; /* dark blue */
  transition: background 0.3s, color 0.3s;
}

#nav ul.links li a:hover {
  background: #fff;
  color: #131a35;
  border-radius: 5px;
}

/* Social Icons */
#nav ul.icons {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#nav ul.icons img {
  height: 24px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  margin-right: 1rem;
  z-index: 10011;
}

/* Mobile menu */
@media screen and (max-width: 980px) {
  #nav {
    flex-wrap: wrap;
    height: auto;
    padding: 0.5rem 1rem;
  }

  .nav-toggle {
    display: block;
  }

  #nav ul.links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #00072D;
    margin-top: 0.5rem;
  }

  #nav ul.links.active {
    display: flex;
  }

  #nav ul.links li {
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  #nav ul.links li a::after {
    content: " >";
    float: right;
  }
}


/* Bold navbar items and set dark blue background, white text, white hover background */
.nav-bar li a {
  font-weight: bold;
  background: #131a35; /* dark blue */
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-block;
}

.nav-bar li a:hover,
.nav-bar li a:focus {
  background: #fff;
  color: #002366;
  text-decoration: none;
}

/* Optional: spacing between items */
.nav-bar li {
  margin: 0 6px;
}

/* Ensure the hero section fills the viewport */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* Make the slideshow and image fill the hero section */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  margin: 0;
  padding: 0;
}

.hero-slideshow .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  display: none;
  margin: 0;
  padding: 0;
}

.hero-slideshow .slide img {
  width: 100vw;
  height: 120vh;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  filter: blur(3px);
}



/* Make Book Appointment button match navbar style */
/* Style Book Appointment button with #d6b999 background and matching hover */
.cta-btn.whatsapp-btn {
  background: #d6b999;
  color: #131a35;
  font-weight: bold;
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.cta-btn.whatsapp-btn:hover,
.cta-btn.whatsapp-btn:focus {
  background: #131a35;
  color: #d6b999;
  text-decoration: none;
}

/* Hamburger hidden on desktop */
.nav-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 10001;
}

/* Fullscreen menu overlay (mobile only) */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #131a35;
  color: white;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.fullscreen-menu.active {
  display: flex;
}

/* Close button */
.fullscreen-menu .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Menu items */
.fullscreen-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.fullscreen-menu ul li {
  margin: 20px 0;
}

.fullscreen-menu ul li a {
  color: #fff !important;      /* Ensure white text */
  font-size: 1.2rem;           /* Or 18px for better visibility */
  text-decoration: none;
  padding: 12px 0;
  display: block;
  width: 100%;
  background: transparent;      /* Remove any background that could hide text */
  transition: background 0.2s, color 0.2s;
  font-weight: bold;
  text-align: right;
}

.fullscreen-menu ul li a:hover {
  background: #fff;
  color: #131a35 !important;   /* Dark blue on hover */
}

/* Social icons */
.fullscreen-menu .nav-social {
  margin-top: 40px;
}

.fullscreen-menu .nav-social img {
  height: 32px;
  margin: 0 10px;
}

/* Mobile breakpoint */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-bar {
    display: none; /* hide normal nav bar in mobile */
  }
}

/* Move the hero slideshow image a little bit down from the top */
.hero-slideshow .slide img {
  margin-top: 150px; /* Adjust value as needed */
}

/* Fill the hero slideshow image on the desktop screen */
@media (min-width: 769px) {
  .hero-slideshow .slide img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    margin-top: 0; /* Remove extra top margin for desktop */
  }
}
