/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Poppins:wght@600&display=swap');

:root {
  --primary-color: #0073B1;
  --accent-color: #FFA500;
  --light-bg: #f4f8fc;
  --dark-text: #333;
  --heading-font: 'Poppins', sans-serif;
  --body-font: 'Open Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--body-font);
  background-color: var(--light-bg);
  color: var(--dark-text);
  line-height: 1.6;
}


h2, h3, h5 {
    font-family: var(--heading-font);
    color: var(--primary-color);
  }

header {
  background-color: white;
  padding: 1rem 2rem;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: 600;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}


nav a {
  text-decoration: none;
  color: var(--dark-text);
  font-weight: 600;
}

nav a:hover {
  color: var(--primary-color);
}

.hero {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.hero-image{
    width:100%;
}

.hero h1 {
  font-size: 2.5rem;
  font-family: var(--heading-font);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
}

section1 /*need check this again*/ {
  padding: 4rem 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-family: var(--heading-font);
  font-size: 2rem;
  color: var(--primary-color);
}





.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}

.card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
}

 .card-img-top {
  width: auto !important;
  height: 400px !important;
  object-fit: contain;
  margin-bottom: 1rem;
}

.card h3 {
  font-family: var(--heading-font);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
}

.testimonial {
  background: white;
  padding: 1.5rem;
  border-left: 4px solid var(--primary-color);
  margin-bottom: 1rem;
  border-radius: 5px;
}

.testimonial h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  font-weight: bold;
}

footer {
  background-color: #005080;
  color: white;
  text-align: center;
  padding: 1.5rem 2rem;
  font-size: 0.9rem;
}

/* Mobile-Responsive Styling */
@media (max-width: 768px) {
  body {
    padding-bottom: 20px; /* Ensure mobile space for footer */
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .logo {
    font-size: 1.6rem; /* Adjust logo size on mobile */
  }

  .hero {
    padding: 3rem 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .specializations {
    padding: 2rem 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .card {
    padding: 1.2rem;
  }

  .card img {
    width: 60px;
    height: 60px;
  }

  .card h3 {
    font-size: 1.1rem;
  }

  .ratings p {
    font-size: 1.1rem;
  }

  footer {
    padding: 1.5rem 1rem;
  }
}

/* Additional Mobile Optimizations for Smaller Screens */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .card img {
    width: 80px;
    height: 80px;
  }

  footer {
    font-size: 0.8rem;
  }
}


/* Home */



  .section-title {
    font-family: var(--heading-font);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
  }

  .hero-carousel img {
    object-fit: cover;
    height: 450px;
  }

  .carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
  }

  .about-card {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
  }

  .about-card:hover {
    transform: translateY(-5px);
  }

  .specialization-card {
    border-left: 4px solid var(--primary-color);
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 20px;
    height: 100%;
    transition: all 0.3s ease-in-out;
  }

  .specialization-card:hover {
    background-color: var(--light-bg);
  }

  .appointment-banner {
  background-color: #00B8A9;
  color: white !important;
  padding: 60px 20px;
  text-align: center;
}

  .testimonial {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }

  .btn-primary {
    background-color: var(--primary-color);
    border: none;
  }

  .btn-primary:hover {
    background-color: #005B9F;
  }

  footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 15px 0;
  }




/* About - us */




    .section-title {
      font-family: var(--heading-font);
      color: var(--primary-color);
      font-weight: 600;
      margin-bottom: 2rem;
      text-align: center;
    }

    .about-img {
      width: 100%;
      border-radius: 8px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .card-title {
      font-family: var(--heading-font);
      color: var(--primary-color);
    }

    .membership-card img {
      height: 80px;
      object-fit: contain;
      margin-bottom: 1rem;
    }

    .membership-card {
      background-color: #fff;
      border-radius: 8px;
      padding: 1rem;
      text-align: center;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    footer {
      background-color: #005080;
      color: white;
      text-align: center;
      padding: 1.5rem 2rem;
      font-size: 0.9rem;
    }



    /* Services */

    
  
  
  
      .section-title {
        text-align: center;
        margin-bottom: 2rem;
        color: var(--primary-color);
      }
  
      .card {
        border: none;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
        background-color: white;
      }
  
      .card:hover {
        transform: translateY(-5px);
      }
  
      .card-title {
        font-size: 1.2rem;
        font-weight: bold;
      }
  
      footer {
        background-color: var(--primary-color);
        color: white;
        text-align: center;
        padding: 1rem 0;
        margin-top: 3rem;
      }
  
