/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #dcefdd !important;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #000000;
}

/* Navigation Styles */
.navbar {
    background-color: rgb(54, 153, 11);
}

.navbar .navbar-nav .nav-link {
    color: rgb(1, 15, 9) !important;
    transition: color 0.3s ease-in-out;
    font-size: 18px;
    margin-left: 25px;
}

.navbar .navbar-nav .nav-link:hover {
    color: #584206 !important;
    font-weight: bolder;
}

.navbar-nav .nav-item {
    padding: 0 15px;
    color: rgb(4, 39, 27);
}

.appointment-btn {
    background-color: darkgreen !important;
    color: white !important;
    border-radius: 25px;
    padding: 8px 15px;
    font-weight: bolder;
}

.appointment-btn:hover {
    background-color: #3ce84a !important;
    color: white;
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    width: 100%;
}

.hero .banner {
    position: relative;
    width: 100%;
    
}

.hero .banner img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
}

/* Text Overlay */
.hero-text {
    
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: darkgreen;
    font-family:'Dancing Script', cursive;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: #d0eada99;
    padding: 10px 20px;
    border-radius: 8px;
}

/* About Us Section */
.about-doctor {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 30px;
    text-align: center;
}

.about-doctor img {
    width: 300px;
    border-radius: 10px;
}
.see-more-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.see-more-btn {
    background-color: darkgreen !important;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.see-more-btn:hover {
    background-color: #1ab009 !important;
    
}


/* Doctor Info */
.doctor-info {
    max-width: 600px;
    text-align: left;
}

/* Treatment Section */
.treatment-section {
    text-align: center;
    padding: 50px 20px;
    background: #f4efe1;
}

.section-title h2 {
    font-size: 28px;
    color: #4b2e12;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 16px;
    color: #6d5845;
}

/* Treatment Cards */
.treatment-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1000px;
    margin: auto;
}

/* Service Card Styling */
.service-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid transparent; /* Default border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease-in-out;
}

/* Golden border & hover effect */
.service-card:hover {
    border-color: #d4af37; /* Golden border */
    transform: scale(1.05); /* Slight increase in size */
    box-shadow: 0 6px 12px rgba(212, 175, 55, 0.4); /* Soft golden glow */
}

/* Image Styling */
.service-card img {
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

/* Image zoom effect on hover */
.service-card:hover img {
    transform: scale(1.1);
}

/* Title Styling */
.service-card .card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

/* Description Styling */
.service-card .card-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

/* See More Button Styling */
.see-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #37d44e; /* Green color */
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}

/* Button hover effect */
.see-more-btn:hover {
    background: #52b52e; 
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-card {
        padding: 10px;
    }

    .service-card .card-title {
        font-size: 1rem;
    }

    .service-card .card-text {
        font-size: 0.9rem;
    }
}




/*contact css*/

/* General Section Styling */
.contact-section {
    width: 80%; /* Adjust for responsiveness */
    max-width: 1200px; /* Prevents it from being too wide */
    margin: 30px auto; /* Centers it */
    background: #f2f1f0;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.container {
    max-width: 100%;
    padding: 0 15px; /* Prevents side shifting */
}
/* Prevents row from overflowing */
.row {
    margin-right: 0;
    margin-left: 0;
}


/* Contact Info Styling */
.contact-info {
    text-align: left;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-info a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.contact-info a:hover {
    color: #007bff;
}

/* Contact Form Styling */
form {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background: #127321;
    border: none;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

form button:hover {
    background: #0056b3;
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact-section {
        width: 95%;
        padding: 30px;
    }
    .contact-info, .col-md-6 {
        text-align: center;
    }
    .contact-info p {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }
    .contact-info, .col-md-6 {
        width: 100%;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        
        padding: 15px;
    }
    .container {
        padding: 0 10px;
    }

    form {
        padding: 15px;
    }
    form button {
        font-size: 14px;
        padding: 8px;
    }
}

  /* Feedback Section Styling */
  
  #feedback {
    background:   #dcefdd !important;
    
}

/* Card Styling */
.feedback-card {
    background:  #167316e8;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    margin: auto;
}

.feedback-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.feedback-card p {
    font-size: 1rem;
    color: #e7e1e1;
}

.feedback-card h5 {
    font-weight: bold;
    color: #fcfcfc;
    margin-top: 10px;
}

/* Carousel Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .feedback-card {
        padding: 15px;
        font-size: 0.9rem;
    }

    .feedback-card img {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .feedback-card {
        padding: 10px;
    }

    .feedback-card img {
        width: 60px;
        height: 60px;
    }

    .feedback-card p {
        font-size: 0.85rem;
    }
}








/* Footer Styles */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.footer h5 {
    color: #e9c46a;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #e9c46a;
}

.footer p {
    color: #d1d1d1;
    line-height: 1.6;
}

.footer-link {
    display: block;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #e9c46a !important;
    transform: translateX(5px);
}

.footer i {
    color: #e9c46a;
    margin-right: 10px;
    width: 16px;
}

.footer .social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer .social-icons a:hover {
    background-color: #e9c46a;
    color: #1a1a1a !important;
    transform: translateY(-3px);
}

.footer hr {
    background-color: rgba(255, 255, 255, 0.1);
    margin: 25px 0;
}

.footer .copyright {
    color: #888;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-text {
        font-size: 22px;
        padding: 8px 15px;
    }
    
    .about-doctor {
        flex-direction: column;
        text-align: center;
    }

    .doctor-info {
        text-align: center;
    }

    .doctor-info h2 {
        font-size: 22px;
    }

    .doctor-info p {
        font-size: 14px;
    }

    .about-doctor img {
        width: 250px;
    }
    
    .treatment-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-text {
        font-size: 18px;
        padding: 6px 12px;
    }
    
    .hero .banner img {
        max-height: 350px;
    }
    
    .about-doctor {
        padding: 20px;
    }

    .doctor-info h2 {
        font-size: 20px;
    }

    .doctor-info p {
        font-size: 14px;
    }

    .about-doctor img {
        width: 220px;
    }

    .cta-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (min-width: 1200px) {
    .navmenu {
        padding: 0;
    }
}
