:root {
    --primary-color: #1a5f7a;
    --secondary-color: #2d8c9f;
    --accent-color: #57c3c2;
    --light-color: #f7fdff;
    --dark-color: #2c3e50;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f9f9f9;
    padding-top: 0;
    /* Removed fixed header padding */
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Playfair Display', serif;
}



/* Header Styles */
header {
    background-color: #EDF8FE;
    color: black;
    padding: 10px 0;
    /* Adjusted padding for header */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.clinic-info h1 {
    font-size: 1rem;
    margin-top: 05px;
    line-height: 1.2;

}

.clinic-info p {
    font-size: 14px;
}

.clinic-info img {
    width: 200px;
    height: 80px;
    border-radius: 10px;
}

.doctor-name {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 2px;
}

.qualifications {
    font-size: 0.8rem;
    margin-bottom: 0;
}

.header-contact {
    font-size: 0.85rem;
}

.header-contact p {
    margin-bottom: 2px;
}

.header-btn {
    padding: 6px 12px;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Navigation */
.navbar {
    background-color:#f4f4f4;
    padding: 0;
}

.navbar h3 a {
    margin-left: 20px;
}

.navbar-nav .nav-link {
    color: black !important;
    padding: 0.8rem 1.2rem;
    transition: all 0.3s;
    font-weight: 500;
    margin-left: 60px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
    background-color: var(--secondary-color);
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.25rem 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='black' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* Hero Section */
.hero {
    background-image: url(./img/banner.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    color: black;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
    color: black;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}


.containers {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
}

.left-section {
    width: 50%;
    padding-right: 20px;
}

.specialities-title {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.main-title {
    font-size: 36px;
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
}

.right-section {
    width: 50%;

    padding-left: 0px;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-item:hover {
    background-color: #f1f1f1;
    transform: translateX(10px);
}

.service-item:last-child {
    border-bottom: none;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-right: 10px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon img {
    transform: scale(1.1);
}

.service-name {
    font-size: 16px;
    color: #333;
    margin-right: 10px;
    transition: color 0.3s ease;
}

.service-name.highlighted {
    color: #d32f2f;
}

.service-item:hover .service-name {
    color: #d32f2f;
}

.arrow {
    color: #d32f2f;
    font-size: 18px;
    transition: color 0.3s ease;
}

.service-item:hover .arrow {
    color: #a52727;
}

.collapse-content {
    display: none;
    padding: 15px 0;
    color: #666;
    line-height: 1.6;
}

.collapse-content.active {
    display: block;
}

/* Contact Section */
.contact {
    padding: 70px 0;
    background-color: white;
}

.contact-info {
    text-align: center;
    margin-bottom: 40px;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-icon {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.map iframe {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    width: 100%;
    height: 350px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 30px 0 15px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-bottom {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    color: white;
    font-size: 1.3rem;
    margin-right: 12px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--accent-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    line-height: 45px;
    font-size: 1.1rem;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .clinic-info h1 {
        font-size: 1.2rem;
    }

    .doctor-name {
        font-size: 0.9rem;
    }

    .header-contact {
        font-size: 0.8rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 20px 0;
    }

    .header-content {
        text-align: center;
    }

    .header-btn-container {
        margin-top: 10px;
    }

    .row.align-items-center {
        flex-direction: column;
        text-align: center;
    }

    .col-md-5,
    .col-md-4,
    .col-md-3 {
        width: 100%;
        margin-bottom: 15px;
    }

    .hero {
        padding: 60px 0;
    }

    .services,
    .about,
    .contact {
        padding: 50px 0;
    }

    .navbar-nav .nav-link {
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 576px) {
    .clinic-info img {
        width: 250px;
        height: 100px;
        border-radius: 10px;
    }

    .clinic-info h1 {
        font-size: 1.2rem;
        margin-top: 20px;
    }

    .hide {
        display: none;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .service-card {
        padding: 15px;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .hero {
        background-color: lightpink;
        padding: 80px 0;
        text-align: center;
        background-image: none;
    }

    .containers {
        width: 100%;
        margin: 0 auto;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;

    }

    .left-section {
        width: 100%;
    }

    .right-section {
        width: 100%;
    }
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: transform 0.3s;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button img {
    width: 30px;
    height: 30px;
}


.profile {
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.profile-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-left: 70%;
}

@media (max-width: 576px) {

    .profile-image img {
        width: 100px;
        height: 100px;
        border-radius: 50%;

        margin-left: 60%;
    }
}

.profile-info h2 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.profile-info p {
    margin: 5px 0;
    color: #666;
}



.docyrorcard-body {
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 20vh;
      font-family: 'Roboto', sans-serif;
    padding: 0px;
}

.docyrorcard {
    width: 380px;
    height: 150px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.docyrorcard-exp {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e9ecef;
    color: #495057;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.docyrorcard-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #212529;
}

.docyrorcard-qualifications {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 15px;
}

.docyrorcard-position {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: #343a40;
}

.docyrorcard-specialization {
    font-size: 0.95rem;
    color: #495057;
    font-weight: 500;
}

.docyrorcard-divider {
    height: 1px;
    background: #dee2e6;
    margin: 12px 0;
}

.docyrorcard-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
 
    border: 3px solid #e9ecef;
    margin-right: 15px;
}

.docyrorcard-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.docyrorcard-content {
    flex: 1;
}


.location {
    display: flex;
    align-items: center;
    color: #666;
}

.location span {
    margin: 0 5px;
}

.location .dot {
    font-size: 10px;
}

.divider {
    border-bottom: 1px solid #ddd;
    margin: 10px 0;
}

.specialization-qualification {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.specialization-qualification h3 {
    color: #d32f2f;
    font-size: 16px;
    margin: 0;
    border-bottom: 2px solid #d32f2f;
    padding-bottom: 5px;
}

.specialization-qualification ul {
    list-style: none;
    padding: 0;
}

.specialization-qualification ul li {
    color: #666;
    margin: 5px 0;
    display: flex;
    align-items: center;
}

.specialization-qualification ul li::before {
    content: "✔";
    color: #666;
    margin-right: 10px;
}

.about-text {
    text-align: justify;
    color: #666;
    margin-top: 15px;
}

.about-text p {
    margin: 10px 0;
}

.about-text strong {
    color: #333;
}