/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
  }
  
  .container {
    width: 85%;
    margin: auto;
    padding: 20px;
  }
  
  /* Header Section with Logo */
  .header-with-logo {
    background-color: #21D4FD;
    background-image: linear-gradient(270deg, #21D4FD 4%, #9d13d4 66%);
    color: #fff;
    padding: 30px 0;
  }
  
  .logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }
  
  .clinic-logo {
    width: 180px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background-color: white;
  }
  
  .text-box {
    max-width: 600px;
    text-align: left;
  }
  
  .text-box h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
  }
  
  .text-box p {
    font-size: 1.2em;
  }
  
  /* Navigation Bar */
  .navbar {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0;
  }
  
  .navbar li a {
    text-decoration: none;
    color: #6a0dad;
    font-weight: bold;
    padding: 10px 18px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 1.1em;
    border-radius: 8px;
  }
  
  .navbar li a:hover,
  .navbar li a.active {
    background-color: #6a0dad;
    color: #ffffff;
    box-shadow: none;
    border: none;
  }
  
  /* Image Carousel */
  .image-carousel {
    overflow: hidden;
    width: 100%;
    background-color: #f8f3ff;
    padding: 20px 0;
    box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.05);
  }
  
  .carousel-track {
    display: flex;
    gap: 30px;
    animation: scrollImages 30s linear infinite;
  }
  
  .carousel-track img {
    height: 180px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .carousel-track img:hover {
    transform: scale(1.05);
  }
  
  @keyframes scrollImages {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  
  /* Know Your Doctor Section */
  .doctor-section {
    background-color: #ffffff;
    padding: 60px 0;
  }
  
  .doctor-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
  }
  
  .doctor-image img {
    width: 300px;
    max-width: 90vw;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    animation: floatImage 3s ease-in-out infinite;
  }
  
  .doctor-info {
    max-width: 600px;
  }
  
  .doctor-info h2 {
    color: #6a0dad;
    font-size: 2.2em;
    margin-bottom: 10px;
  }
  
  .doctor-info h3 {
    color: #333;
    font-size: 1.4em;
    margin-bottom: 20px;
    font-weight: normal;
  }
  
  .doctor-info p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #555;
  }
  
  @keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  
  /* General Section Styling */
  section {
    padding: 40px 0;
    border-bottom: 1px solid #ccc;
    background-color: #fff;
  }
  
  section h2 {
    text-align: center;
    color: #6a0dad;
    margin-bottom: 20px;
    font-size: 2em;
  }
  
  ul {
    list-style: none;
    text-align: center;
  }
  
  ul li {
    display: inline-block;
    margin: 10px 15px;
    padding: 8px 15px;
    background-color: #f0e6ff;
    color: #333;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
  }
  
  ul li:hover {
    transform: scale(1.1);
    background-color: #dabfff;
  }
  
  /* Contact Us Section */
#contact {
    background-color: #f8f3ff;
    padding: 50px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(157, 19, 212, 0.1);
    max-width: 700px;
    margin: 40px auto;
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  #contact:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(157, 19, 212, 0.2);
  }
  
  #contact h2 {
    color: #6a0dad;
    font-size: 2em;
    margin-bottom: 20px;
  }
  
  #contact p {
    font-size: 1.1em;
    color: #555;
    margin: 12px 0;
    line-height: 1.6;
  }
  
  /* Contact Us Section */
#contact {
    background-color: #f8f3ff;
    padding: 50px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(157, 19, 212, 0.1);
    max-width: 700px;
    margin: 40px auto;
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  #contact:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(157, 19, 212, 0.2);
  }
  
  #contact h2 {
    color: #6a0dad;
    font-size: 2em;
    margin-bottom: 20px;
  }
  
  #contact p {
    font-size: 1.1em;
    color: #555;
    margin: 12px 0;
    line-height: 1.6;
  }
  
  /* Centered Opening Hours */
  .opening-hours {
    margin-top: 30px;
    text-align: center;
  }
  
  .opening-hours h3 {
    color: #6a0dad;
    font-size: 1.6em;
    margin-bottom: 15px;
  }
  
  .opening-hours ul {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
  }
  
  .opening-hours li {
    font-size: 1.2em;
    color: #333;
    margin: 10px 0;
  }
  
  .opening-hours li strong {
    color: #6a0dad;
  }
  
  
  
  /* Footer */
  footer {
    background-color: #21D4FD;
    background-image: linear-gradient(270deg, #21D4FD 4%, #9d13d4 66%);
    color: #fff;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
  }
  
  /* Call Button (optional styling if added) */
  .cta-phone {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #6a0dad;
    color: #fff;
    padding: 12px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    z-index: 999;
  }
  
  .cta-phone:hover {
    background-color: #4c007d;
  }
  
  /* Mobile Responsive Styles */
@media (max-width: 768px) {

  .container {
    width: 95%;
    padding: 10px;
  }

  .logo-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .text-box h1 {
    font-size: 1.8em;
  }

  .text-box p {
    font-size: 1em;
  }

  .navbar ul {
    flex-direction: column;
    gap: 15px;
  }

  .carousel-track {
    gap: 10px;
  }

  .carousel-track img {
    height: 120px;
  }

  .doctor-container {
    flex-direction: column;
    text-align: center;
  }

  .doctor-image img {
    max-width: 100%;
    height: auto;
  }

  .doctor-info h2 {
    font-size: 1.8em;
  }

  .about-content {
    flex-direction: column;
  }

  .map-container iframe {
    height: 250px;
  }

  .about-details, .map-container {
    width: 100%;
  }

  #services ul {
    padding-left: 20px;
  }

  .opening-hours ul {
    padding-left: 20px;
  }

  .cta-phone {
    font-size: 16px;
    bottom: 20px;
    right: 20px;
    padding: 10px 16px; 
  }

}

  