﻿:root {
    --primary-color: #2a7faa;
    --secondary-color: #6c757d;
    --accent-color: #f8f9fa;
    --dark-color: #1f2937;
    --light-bg: #f8fbff;
    --font-family: 'Inter', sans-serif;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-hover: 0 16px 40px rgba(0,0,0,0.12);
}

body {
    font-family: var(--font-family);
    color: #333;
    background: var(--light-bg);
    padding-top: 132px;
}

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1040;
    background: #eef7fb;
    border-bottom: 1px solid #dbeaf2;
}
/* Navbar */
.navbar {
    top: 40px;
    position: fixed;
    width: 100%;
    z-index: 1030;
}
.navbar-brand .brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #16a085);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(42, 127, 170, 0.25);
}

.navbar-brand .brand-text {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    color: #555 !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-color) !important;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        left: 1rem;
        bottom: 4px;
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: 0.3s ease;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: calc(100% - 2rem);
    }

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #1f6a8e);
    border-color: var(--primary-color);
    padding: 10px 22px;
    font-weight: 500;
    border-radius: 50px;
    box-shadow: 0 8px 18px rgba(42, 127, 170, 0.18);
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #1f6a8e, var(--primary-color));
        border-color: #1f6a8e;
        transform: translateY(-2px);
        box-shadow: var(--shadow-hover);
    }

/* =========================
   MODERN FOOTER
========================= */
.footer-area {
    background: linear-gradient(135deg, #123c4a 0%, #175b69 50%, #1d6873 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.footer-area::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    top: -120px;
    right: -80px;
}

.footer-area::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    bottom: -120px;
    left: -80px;
}

.footer-area .container {
    position: relative;
    z-index: 2;
}

.footer-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-text {
    color: rgba(255,255,255,0.78);
    line-height: 1.8;
    font-size: 14px;
    max-width: 430px;
}

.footer-links {
    margin: 0;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 11px;
    }

    .footer-links a {
        color: rgba(255,255,255,0.78);
        text-decoration: none;
        font-size: 14px;
        transition: all 0.3s ease;
    }

        .footer-links a:hover {
            color: #ffffff;
            padding-left: 6px;
        }

.footer-area p {
    color: rgba(255,255,255,0.82);
    font-size: 14px;
    margin-bottom: 12px;
}

    .footer-area p i {
        width: 20px;
        text-align: center;
    }

/* Social Icons */

.social-icons {
    display: flex;
    gap: 10px;
}

    .social-icons a {
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255,255,255,0.10);
        color: #ffffff;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .social-icons a:hover {
            background: #ffffff;
            color: var(--primary-color);
            transform: translateY(-4px);
        }

/* Footer Divider */

.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    opacity: 1;
    margin-top: 30px !important;
}

/* Copyright + Design */

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
    color: rgba(255,255,255,0.72);
    font-size: 13px;
    padding-bottom: 5px;
}

    .footer-bottom span {
        margin: 0;
    }

        .footer-bottom span + span {
            position: relative;
            padding-left: 15px;
        }

            .footer-bottom span + span::before {
                content: "|";
                position: absolute;
                left: 0;
                color: rgba(255,255,255,0.35);
            }

    .footer-bottom a {
        color: #ffffff;
        font-weight: 600;
        text-decoration: none;
        transition: 0.3s ease;
    }

        .footer-bottom a:hover {
            color: #b9f0e8;
        }

/* Mobile */

@media (max-width: 767px) {

    .footer-area {
        text-align: center;
    }

    .footer-text {
        margin-left: auto;
        margin-right: auto;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
        flex-wrap: wrap;
    }

        .footer-bottom span + span {
            padding-left: 0;
        }

            .footer-bottom span + span::before {
                display: none;
            }
}

/* Social Icons */
.social-icons a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: #fff;
    margin-right: 8px;
    transition: all 0.3s ease;
}

    .social-icons a:hover {
        background: var(--primary-color);
        transform: translateY(-3px);
    }

/* Main content spacing */
.main-content {
    min-height: 70vh;
}

/* Cards */
.service-card,
.service-detail-card,
.testimonial-card,
.common-card {
    border: none;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: all 0.35s ease;
    overflow: hidden;
}

    .service-card:hover,
    .service-detail-card:hover,
    .testimonial-card:hover,
    .common-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-hover);
    }

/* Icon box */
.icon-box {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(42, 127, 170, 0.12);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}

/* Section spacing */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-weight: 700;
    color: var(--dark-color);
}

.section-subtitle {
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Form */
.form-control,
.form-select {
    border-radius: 10px;
    padding: 12px 15px;
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.25rem rgba(42, 127, 170, 0.15);
    }

/* Fade animation */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    body {
        padding-top: 80px;
    }

    .navbar-nav {
        padding-top: 15px;
    }

    .nav-link::after {
        left: 0;
        width: 0;
    }

    .btn-primary {
        margin-top: 10px;
        width: 100%;
    }
}
.doctor-hero-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.doctor-image {
    max-height: 520px;
    object-fit: contain;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #1f6a8e);
    border-radius: 0;
}

.bg-primary-subtle {
    background: rgba(42, 127, 170, 0.10) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}
.badge.bg-primary-subtle {
    background: rgba(42, 127, 170, 0.10) !important;
    color: var(--primary-color) !important;
}

.common-card {
    border: none;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: all 0.35s ease;
}

    .common-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-hover);
    }
.service-list li {
    margin-bottom: 10px;
    color: #4b5563;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #1f6a8e);
    box-shadow: var(--shadow);
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(42, 127, 170, 0.12);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-list .icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.contact-info-list h5 {
    font-size: 1rem;
}