* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}
body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
}
nav.navbar {
    display: flex;
    justify-content: space-between;
    align-items: 1rem ; /*center;*/
    padding: 20px 5%;
    background: #0c8f8f;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
nav .logo {
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}
nav .logo i {
    font-size: 1.5rem;
}
nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}
nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 0;
    position: relative;
}
nav ul li a:hover {
    color: #1eb2cc;
}
nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #e0f7fa;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}
nav ul li a:hover::after {
    width: 100%;
}


#home {
    position: relative;
    height: 90vh;
    overflow: hidden;
  }
  
  .slides {
    height: 100%;
    display: flex;
    position: relative;
  }
  
  .slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    filter: brightness(0.8);
  }
  
  .slide.active {
    opacity: 1;
    z-index: 1;
  }
  
  .description {
    
    padding: 20px;
    color: #fff;
    border-radius: 15px;
    
    max-width: 700px;
  }
  
  .description h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: rgb(58, 11, 231);
  }

  .description h2, .description p {
  text-shadow: 0 2px 5px rgba(0,0,0,0.7);
  filter: brightness(20);

}
  
  .description p {
    font-size: 1.3rem;
  }
  
  .prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    padding: 15px;
    font-size: 2rem;
    cursor: pointer;
    border-radius: 50%;
    z-index: 2;
  }
  
  .prev {
    left: 20px;
  }
  
  .next {
    right: 20px;
  }
  
  .prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.7);
  }
  


.button {
    display: inline-block;
    padding: 12px 30px;
    background: #0c8f8f;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    margin-top: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.button:hover {
    background: transparent;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
section {
    padding: 80px 5%;
}
h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #0c8f8f;
    position: relative;
}
h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: #0c8f8f;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}
.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}
.card {
    background: #fff;
    border-radius: 15px;
    padding: 30px 25px;
    flex: 1 1 300px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.card i {
    font-size: 3rem;
    color: #0c8f8f;
    margin-bottom: 20px;
}
.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #0c8f8f;
}
.card p {
    color: #666;
}
  
  
.about-section {
    background-color: #f5f5f5;
}
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;

}
.about-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.about-image:hover img {
    transform: scale(1.05);
}
.about-content {
    flex: 1;
}
.about-content h3 {
    font-size: 1.8rem;
    color: #0c8f8f;
    margin-bottom: 20px;

}
.about-content p {
    margin-bottom: 15px;
    color: #555;
    text-align: justify;
}
.stats {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}
.stat-item {
    text-align: center;
    flex: 1;
}
.stat-item h4 {
    font-size: 2.5rem;
    color: #0c8f8f;
    margin-bottom: 5px;
}
.stat-item p {
    font-size: 0.9rem;
    color: #777;
    text-align: center;
}
.doctors-section {
    background-color: #f5f5f5;
}
.doctor-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}
.doctor-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.doctor-image {
    height: 300px;
    overflow: hidden;
}
.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.doctor-card:hover .doctor-image img {
    transform: scale(1.1);
}
.doctor-info {
    padding: 25px;
    text-align: center;
}
.doctor-info h3 {
    font-size: 1.5rem;
    color: #0c8f8f;
    margin-bottom: 5px;
}
.doctor-info p.specialty {
    color: #666;
    font-weight: 500;
    margin-bottom: 15px;
}
.doctor-info p {
    color: #555;
    margin-bottom: 15px;
    font-size: 0.9rem;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
.social-links a {
    color: #0c8f8f;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
.social-links a:hover {
    color: #056b6b;
    transform: translateY(-3px);
}
.appointment-section {
    background-color: #f5f5f5;
    text-align: center;
}
.appointment-form {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 25px;
}
.form-group input,
.form-group select,
.form-group textarea {
    flex: 1 1 45%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0c8f8f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(12, 143, 143, 0.1);
}
.form-group textarea {
    flex: 1 1 100%;
    resize: vertical;
    min-height: 120px;
}
.appointment-form button {
    background-color: #0c8f8f;
    color: #fff;
    border: none;
    padding: 16px 40px;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    margin-top: 10px;
}
.appointment-form button:hover {
    background-color: #056b6b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.confirmation-message {
    display: none;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}
.doctor-info-container {
    display: none;
    background: #f1f8fe;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    border-left: 4px solid #0c8f8f;
}
.doctor-info-container.active {
    display: block;
}
footer {
    background: #0c8f8f;
    color: #fff;
    padding: 40px 5%;
    text-align: center;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}
.footer-section {
    flex: 1 1 300px;
    text-align: left;
}
.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}
.footer-section p, .footer-section a {
    color: #12a0b3;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-section a:hover {
    color: #fff;
    padding-left: 5px;
}
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-icons a {
    color: #0e75a9;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}
.social-icons a:hover {
    transform: translateY(-5px);
    color: black;
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
    nav.navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    nav ul {
        gap: 15px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .about-container {
        flex-direction: column;
    }
    .stats {
        flex-direction: column;
        gap: 15px;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        flex: 1 1 100%;
    }
    section {
        padding: 60px 20px;
    }
    .card, .doctor-card {
        flex: 1 1 100%;
    }
}
