/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2e7d32; /* Dark Green */
    padding: 15px 30px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* Logo Section */
.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 50px;
    margin-right: 10px;
}

.website-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    z-index: 1001; 
}

.nav-links li {
    margin: 0 15px;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #c5e1a5; /* Light Green */
}

/* Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    background: #388e3c; /* Slightly lighter green */
    top: 100%;
    left: 0;
    width: 150px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.dropdown-content li {
    margin: 0;
    padding: 10px;
    text-align: left;
}

.dropdown-content a {
    display: block;
    color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Appointment Button */
.appointment-btn {
    background: #6cb974; /* Yellow */
    color: #ecf4ec; /* Dark Green */
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.appointment-btn:hover {
    background: #0e9b2c;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    background: white;
    height: 4px;
    width: 30px;
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        cursor: pointer;
    }

    @media (max-width: 767px){
        .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: #2e7d32;
        width: 100%;
        text-align: center;
        padding: 10px;
        transition: max-height 0.3s ease-in-out;
    }

    

    .appointment-btn {
        display: none; /* Hide Appointment button on mobile */
    }
}
/* Hover dropdown - desktop */
@media (min-width: 768px) {
  .dropdown:hover .dropdown-content {
    display: block;
  }
}

/* Toggle dropdown - mobile */


  .nav-links.active {
    display: flex;
  }

  .dropdown .dropdown-content {
    position: static;
  }

  .dropdown.open .dropdown-content {
    display: block;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
  }

  .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 4px;
    background: white;
  }

/* Hide menu-toggle on desktop */
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}
}
/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 400px;
    margin-top: 70px;
    overflow: hidden;
}

.hero-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide.active {
    display: block;
}

.text-overlay {
    position: absolute;
    bottom: 50px;
    left: 50px;
    background: rgba(27, 123, 3, 0.5);
    padding: 15px;
    color: white;
    border-radius: 5px;
}


/* Services Section */
.services {
    padding: 50px;
    text-align: center;
    background: #f5f5f5;
    margin-top: 100px;
}

.services h2 {
    font-size: 2rem;
    color: #2e7d32;
    margin-bottom: 20px;
}

.service-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.service-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 20%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service-card img {
    width: 100%;
    height:70%;
    border-radius: 10px;
}

.service-card h3 {
    margin-top: 15px;
    color: #2e7d32;
}

@media (max-width: 768px) {
    .service-cards {
        flex-direction: column;
    }

    .service-card {
        width: 100%;
    }
}

/* Footer */
.footer {
    background: #2e7d32;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.footer-section {
    flex: 1;
}

.footer-icons img {
    width: 30px;
    margin: 0 5px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
}
/* Blog Section */
#blog {
    padding: 50px;
    background-color: #b8edbf;
    margin-top: 100px;
  }
  
  #blog h1{
    text-align: center;
    font-size:35px;
    color: rgb(14, 96, 51);
    text-shadow: #93bb95;
    margin-bottom: 50px;

  }
  
  .blog-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .blog-post {
    background-color: rgb(160, 242, 162);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 500px;
    text-align: center;
  }
  
  .blog-post iframe {
    border-radius: 8px;
  }
  
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}


.doctors {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    margin-top: 50px;
}

.doctor-profile {
    text-align: center;
    background: #a0d0a2;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    width: 30%;
    transition: transform 0.3s;
}
.doctor-profile img {
    text-align: center;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
    width: 250px;
    height: 300px;
    transition: transform 0.3s;
}

.doctor-profile:hover {
    transform: translateY(-10px);
}
.services {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px;
    background-color: #f9f9f9;
}

.main-service {
    position: relative;
    display: block;
    width: 300px;
    margin: 10px;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-service:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.main-service img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
}

.main-service:hover img {
    transform: scale(1.1);
}

.overlay-text {
    position:static;
    bottom: 10px;
    right: 3px;
    left: 2px;
    background: #2e7d32; /* Green theme */
    color: white;
    padding: 10px;
    font-size: 20px;
    border-radius: 10px;
}

.sub-services {
    display:none;
    padding: 15px;
}

.sub-service {
    display:flow-root;
    align-items: center;
    margin-top: 10px;
}

.sub-service img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 10px;
}

.sub-service p {
    font-size: 25px;
    color: #076404;
    font-weight:bold;
}
.appointment-form {
    max-width: 600px;
    margin: 200px auto;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.appointment-form h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #026916;
}

.appointment-form label {
    font-weight: bold;
    margin-top: 10px;
    display: block;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea,
.appointment-form button {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.appointment-form button {
    background:  #026916;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.appointment-form button:hover {
    background: #003680;
}
/* General Reset */
body, ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f3f9f3;
    color: #333;
}
