* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #198754 !important;
}

.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding-top: 80px;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(25, 135, 84, 0.2);
}

.about-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.doctor-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-success {
    background: linear-gradient(45deg, #198754, #20c997);
    border: none;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.4);
    background: linear-gradient(45deg, #157347, #1ea085);
}

.btn-outline-success {
    border: 2px solid #198754;
    color: #198754;
}

.btn-outline-success:hover {
    background: #198754;
    color: #fff;
    transform: translateY(-2px);
}

.display-5 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.text-success {
    color: #198754 !important;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(25, 135, 84, 0.2);
    border-color: #198754;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #198754, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 2rem;
}

.service-card h4 {
    color: #198754;
    margin-bottom: 1rem;
    font-weight: 600;
}

.review-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border-left: 4px solid #198754;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stars {
    color: #ffc107;
}

.reviewer {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    text-align: center;
    min-width: 30px;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-control,
.form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.stat-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 1rem 0;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

footer {
    background: linear-gradient(45deg, #212529, #343a40);
}

/* Ensure footer is positioned relative for absolute placement */
footer {
    position: relative;
}

/* Remove underlines on social links */
.social-icons a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Enlarge icons on hover */
.social-icons a:hover {
    transform: scale(1.2);
    color: #20c997 !important;
    /* Accent color */
}

/* Ensure no dot or default marker */
.social-icons {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Compact map styling */
.map-compact {
    height: 200px;
    overflow: hidden;
}

.map-compact iframe {
    width: 100%;
    height: 100%;
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .map-compact {
        max-width: 100%;
        margin-left: 0 !important;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.75rem;
    }

    .display-5 {
        font-size: 1.5rem;
    }

    p.lead {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-item i {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 320px) {
    .hero-img {
        max-width: 280px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .display-5 {
        font-size: 1.25rem;
    }

    p.lead {
        font-size: 0.8rem;
    }

    .btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 360px) {
    .navbar .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
        white-space: nowrap;
    }

    .navbar-toggler {
        padding: 0.25rem 0.5rem;
    }

    .navbar-collapse {
        flex-wrap: nowrap;
    }
}

@media (max-width: 576px) {
    .social-icons {
        text-align: center;
        margin-top: 1rem;
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}