@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ===========================
   GLOBAL VARIABLES & FONTS
=========================== */

html,
body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar,
.btn,
.badge,
.nav-link {
    font-family: 'Lato', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

.navbar,
.nav-link,
.btn {
    font-weight: 600;
}

.badge {
    font-weight: 600;
}

.text-primary-custom {
    color: #0b3b5c !important;
}

.bg-primary-custom {
    background-color: #0b3b5c !important;
}

.text-accent {
    color: #1e7e34 !important;
}

.btn-accent {
    background-color: #1e7e34;
    border-color: #1e7e34;
    color: #fff;
}

.btn-accent:hover {
    background-color: #16692b;
    border-color: #16692b;
    color: #fff;
}

.btn-outline-accent {
    color: #0b3b5c;
    border-color: #0b3b5c;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 8px 18px rgba(11, 59, 92, 0.08);
}

.btn-outline-accent:hover {
    background: linear-gradient(135deg, #1e7e34 0%, #2b9953 100%);
    border-color: #1e7e34;
    color: #fff;
    box-shadow: 0 12px 20px rgba(30, 126, 52, 0.22);
}

.badge.bg-accent-subtle {
    background-color: #d4edda !important;
    color: #155724 !important;
}

.navbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 1030 !important;
    background: var(--bs-body-bg) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    transition: background 0.3s, box-shadow 0.3s;
}

.navbar-brand img {
    max-height: 65px;
    width: auto;
    object-fit: contain;
    background: transparent;
}

.navbar-toggler {
    border: none !important;
    box-shadow: none !important;
    padding: 0.5rem 0.75rem !important;
}

.navbar-nav .nav-link {
    border-radius: 0.75rem;
    padding: 0.7rem 1rem !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: rgba(30, 126, 52, 0.08);
    color: #0b3b5c;
}

[data-bs-theme="dark"] .navbar-nav .nav-link:hover,
[data-bs-theme="dark"] .navbar-nav .nav-link.active {
    background: rgba(139, 195, 74, 0.12);
    color: #eaf2ff;
}

/* Theme toggle button consistent sizing */
#themeToggle {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* All primary CTA buttons — consistent size site-wide */
.btn-accent.rounded-pill,
.btn-outline-accent.rounded-pill {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    min-height: unset !important;
}

@media (max-width: 991px) {
    .navbar {
        padding-top: 0.85rem;
        padding-bottom: 0.85rem;
    }

    .navbar-brand img {
        max-height: 64px;
    }

    .navbar-collapse {
        margin-top: 0.8rem;
        border: 1px solid rgba(11, 59, 92, 0.08);
        border-radius: 1rem;
        background: rgba(255, 255, 255, 0.96);
        padding: 0.7rem;
        box-shadow: 0 10px 30px rgba(11, 59, 92, 0.08);
    }

    [data-bs-theme="dark"] .navbar-collapse {
        background: rgba(17, 27, 36, 0.96);
        border-color: rgba(255, 255, 255, 0.08);
    }

    .navbar-nav {
        gap: 0.25rem;
    }

    .navbar-nav .nav-link {
        padding: 0.8rem 0.9rem !important;
    }

    .d-flex.align-items-center.gap-3 .btn-accent {
        font-size: 0.9rem;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        max-height: 54px;
    }
}



img {

    max-width: 100%;

}



a {

    text-decoration: none;

    transition: .3s;

}



ul {

    list-style: none;

    padding: 0;

}



/* ===========================
   COMMON SECTION STYLE
=========================== */


section {
    scroll-margin-top: 100px;
}

.page-header {
    background: #f8fafc;
    border-bottom: 1px solid #e9ecef;
}

[data-bs-theme="dark"] .page-header {
    background: #111b24;
    border-bottom-color: rgba(255, 255, 255, 0.08);
    color: #dfeaf6;
}



.section-title span {

    display: inline-block;

    color: var(--primary-color);

    font-size: 15px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 12px;

}



.section-title h2 {

    color: var(--dark-color);

    font-size: 42px;

    font-weight: 800;

    margin-bottom: 15px;

}



.section-title p {

    max-width: 650px;

    margin: auto;

}



/* ===========================
   TOP HEADER
=========================== */

/* Top header uses Bootstrap bg-body for theme-aware background.
   Do NOT set a fixed background here — let bg-body handle it. */
.top-header {
    font-size: 14px;
}

[data-bs-theme="dark"] .top-header {
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}





/* ===========================
   NAVBAR
=========================== */


.medical-navbar {

    background: white;

    padding: 15px 0;

    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);

}



.brand-wrapper {

    display: flex;

    align-items: center;

    gap: 12px;

}



.doctor-logo {

    width: 48px;

    height: 48px;

    background: var(--primary-color);

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    font-size: 25px;

}



.brand-wrapper h5 {

    margin: 0;

    color: var(--dark-color);

    font-weight: 800;

}



.brand-wrapper small {

    color: #64748b;

}



.nav-link {

    color: #344054;

    font-weight: 500;

    margin: 0 10px;

}



.nav-link:hover,
.nav-link.active {

    color: var(--primary-color);

}



.appointment-btn {

    border-radius: 30px;

    padding: 12px 25px;

}





/* ===========================
   HERO SECTION
=========================== */


.hero-section {

    background:

        linear-gradient(120deg,
            #f5faff,
            #ffffff);

    overflow: hidden;

}



.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: #e7f1ff;

    color: var(--primary-color);

    padding: 8px 18px;

    border-radius: 30px;

    font-weight: 600;

    margin-bottom: 20px;

}



.hero-section h1 {

    color: var(--dark-color);

    font-size: 56px;

    line-height: 1.15;

    font-weight: 800;

}



.hero-section p {

    font-size: 18px;

    margin: 25px 0;

}



.hero-buttons {

    display: flex;

    gap: 15px;

    flex-wrap: wrap;

}



.btn {

    border-radius: 30px;

    padding: 13px 30px;

    font-weight: 600;

}



.hero-features {

    display: flex;

    gap: 25px;

    margin-top: 35px;

    flex-wrap: wrap;

}



.hero-features div {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 14px;

    font-weight: 600;

}



.hero-features i {

    color: var(--primary-color);

    font-size: 20px;

}





.hero-image-wrapper {

    position: relative;

}



.doctor-image {

    border-radius: 30px;

}



.experience-card {

    position: absolute;

    left: 0;

    bottom: 40px;

    background: white;

    padding: 20px;

    border-radius: 15px;

    box-shadow: var(--shadow);

}



.experience-card h3 {

    color: var(--primary-color);

    font-size: 35px;

    margin: 0;

}



.experience-card p {

    margin: 0;

}



.appointment-card {

    position: absolute;

    right: 20px;

    top: 40px;

    background: white;

    padding: 20px;

    display: flex;

    gap: 12px;

    align-items: center;

    border-radius: 15px;

    box-shadow: var(--shadow);

}



.appointment-card i {

    color: var(--primary-color);

    font-size: 30px;

}





/* ===========================
   SERVICE CARDS
=========================== */


.services-section {

    background: var(--light-bg);

}



.service-card {

    background: white;

    padding: 35px;

    border-radius: 20px;

    height: 100%;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);

    transition: .3s;

}



.service-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow);

}



.service-card .icon {

    width: 65px;

    height: 65px;

    background: #e7f1ff;

    color: var(--primary-color);

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 15px;

    font-size: 30px;

    margin-bottom: 20px;

}



.service-card h4 {

    color: var(--dark-color);

    font-weight: 700;

}



.service-card a {

    color: var(--primary-color);

    font-weight: 600;

}





/* ===========================
   ABOUT SECTION
=========================== */


.about-image-wrapper {

    position: relative;

}



.about-image-wrapper img {

    border-radius: 25px;

}



.qualification-box {

    position: absolute;

    bottom: 25px;

    left: 25px;

    background: white;

    padding: 20px;

    border-radius: 15px;

    display: flex;

    gap: 15px;

    box-shadow: var(--shadow);

}



.qualification-box i {

    color: var(--primary-color);

    font-size: 35px;

}



.doctor-details {

    margin-top: 25px;

}



.detail-item {

    display: flex;

    gap: 15px;

    margin-bottom: 20px;

}



.detail-item i {

    color: var(--primary-color);

    font-size: 25px;

}



/* ===========================
 WHY CHOOSE
=========================== */


.why-section {

    background: #f9fbff;

}



.feature-card {

    background: white;

    padding: 30px;

    text-align: center;

    border-radius: 20px;

    height: 100%;

}



.feature-icon {

    font-size: 40px;

    color: var(--primary-color);

    margin-bottom: 15px;

}



.feature-card h4 {

    color: var(--dark-color);

}



/* ===========================
 STATISTICS
=========================== */


.stats-section {

    background: var(--primary-color);

    color: white;

}



.stat-box i {

    font-size: 40px;

}



.stat-box h2 {

    font-size: 45px;

    margin: 10px 0;

}

/* ===========================
   APPOINTMENT CTA
=========================== */


.appointment-section {

    padding: 70px 0;

}



.appointment-wrapper {

    background:
        linear-gradient(135deg,
            var(--primary-color),
            var(--secondary-color));

    /* color: white; */

    padding: 50px;

    border-radius: 30px;

}



.appointment-wrapper h2 {

    font-size: 38px;

    font-weight: 800;

}



.appointment-wrapper p {

    font-size: 18px;

    opacity: .9;

}





/* ===========================
   AVAILABILITY SECTION
=========================== */


.availability-section {

    background: #f8fafc;

}



.availability-card {

    background: white;

    padding: 35px;

    border-radius: 25px;

    box-shadow: var(--shadow);

}



.availability-header {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 25px;

}



.availability-header i {

    font-size: 35px;

    color: var(--primary-color);

}



.availability-header h4 {

    color: var(--dark-color);

    margin: 0;

}



.schedule-row {

    display: flex;

    justify-content: space-between;

    padding: 18px 0;

    border-bottom: 1px solid var(--border-color);

}



.schedule-row:last-child {

    border: none;

}



.schedule-row strong {

    color: var(--dark-color);

}



.schedule-row .available {

    color: #16a34a;

}





/* ===========================
   TELEMEDICINE
=========================== */


.telemedicine-section {

    overflow: hidden;

}



.tele-features {

    margin: 30px 0;

}



.tele-item {

    display: flex;

    gap: 18px;

    margin-bottom: 25px;

}



.tele-item i {

    width: 55px;

    height: 55px;

    background: #e7f1ff;

    color: var(--primary-color);

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    font-size: 24px;

}



.tele-item h5 {

    color: var(--dark-color);

    margin-bottom: 5px;

}



.telemedicine-image {

    position: relative;

}



.telemedicine-image img {

    border-radius: 30px;

}



.video-status {

    position: absolute;

    bottom: 30px;

    left: 30px;

    background: white;

    padding: 15px 25px;

    border-radius: 30px;

    box-shadow: var(--shadow);

    font-weight: 600;

}



.video-status span {

    width: 10px;

    height: 10px;

    background: #22c55e;

    display: inline-block;

    border-radius: 50%;

    margin-right: 10px;

}





/* ===========================
   TESTIMONIAL
=========================== */


.testimonial-section {

    background: #f8fafc;

}



.testimonial-card {

    background: white;

    padding: 35px;

    border-radius: 25px;

    height: 100%;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);

}



.quote-icon {

    font-size: 45px;

    color: var(--primary-color);

}



.patient-info {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-top: 25px;

}



.patient-info img {

    width: 55px;

    height: 55px;

    border-radius: 50%;

    object-fit: cover;

}



.patient-info h5 {

    margin: 0;

    color: var(--dark-color);

}





/* ===========================
   BLOG SECTION
=========================== */


.blog-card {

    background: white;

    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);

    height: 100%;

}



.blog-card img {

    width: 100%;

    height: 230px;

    object-fit: cover;

}



.blog-content {

    padding: 25px;

}



.blog-content span {

    color: var(--primary-color);

    font-size: 14px;

    font-weight: 700;

}



.blog-content h4 {

    color: var(--dark-color);

    margin: 15px 0;

}





/* ===========================
   FAQ
=========================== */


.faq-section {

    background: #f8fafc;

}



.accordion-item {

    border: none;

    margin-bottom: 15px;

    border-radius: 15px;

    overflow: hidden;

}



.accordion-button {

    font-weight: 600;

    padding: 20px;

}



.accordion-button:not(.collapsed) {

    background: var(--primary-color);

    color: #131212;

}





/* ===========================
   CONTACT
=========================== */


.contact-section {

    padding: 80px 0;

}



.contact-box {

    text-align: center;

    background: #eef6ff;

    padding: 60px 30px;

    border-radius: 30px;

}



.contact-box h2 {

    color: var(--dark-color);

    font-size: 40px;

    font-weight: 800;

}





/* ===========================
   FOOTER & FAB
=========================== */

.footer {
    background: #f8fafc;
    border-top: 1px solid #e9ecef;
}

[data-bs-theme="dark"] .footer {
    background: #111b24;
    border-top-color: #1e2a36;
    color: #b0c4d9;
}

.footer a {
    color: #1e7e34;
    text-decoration: none;
}

.footer a:hover {
    color: #0b3b5c;
}

[data-bs-theme="dark"] .footer a {
    color: #8bc34a;
}

[data-bs-theme="dark"] .footer a:hover {
    color: #e9ecef;
}

.footer h3,
.footer h5 {
    margin-bottom: 20px;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer hr {
    border-color: rgba(0, 0, 0, 0.1);
    margin: 30px 0 20px;
}

[data-bs-theme="dark"] .footer hr {
    border-color: rgba(255, 255, 255, 0.15);
}

/* FAB */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.fab-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    background-color: #0b3b5c;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.fab-btn:hover {
    background-color: #1e7e34;
    transform: translateY(-3px) scale(1.05);
    color: #fff;
}

.fab-btn.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.5);
    pointer-events: none;
}





/* ===========================
   BUTTON EFFECT
=========================== */


.btn-primary {

    background: var(--primary-color);

    border-color: var(--primary-color);

}



.btn-primary:hover {

    background: var(--secondary-color);

    border-color: var(--secondary-color);

}





/* ===========================
   ANIMATION HELPERS
=========================== */


.hover-up {

    transition: .3s;

}



.hover-up:hover {

    transform: translateY(-8px);

}





/* ===========================
   BACKGROUND UTILITIES
=========================== */


.bg-light-blue {

    background: #f7faff;

}



.text-primary {

    color: var(--primary-color) !important;

}

/* ===========================
   DARK MODE OVERRIDES
=========================== */
[data-bs-theme="dark"] {
    --dark-color: #f3f4f6;
    --text-color: #cbd5e1;
    --light-bg: #111827;
    --white: #1e293b;
    --border-color: #334155;
}

[data-bs-theme="dark"] body {
    background-color: #0f172a;
    color: #cbd5e1;
}

[data-bs-theme="dark"] .service-card,
[data-bs-theme="dark"] .feature-card,
[data-bs-theme="dark"] .testimonial-card,
[data-bs-theme="dark"] .blog-card,
[data-bs-theme="dark"] .availability-card,
[data-bs-theme="dark"] .appointment-form-card,
[data-bs-theme="dark"] .contact-panel,
[data-bs-theme="dark"] .practice-panel,
[data-bs-theme="dark"] .appointment-card,
[data-bs-theme="dark"] .qualification-box,
[data-bs-theme="dark"] .video-status,
[data-bs-theme="dark"] .top-header {
    background-color: #1e293b !important;
    color: #e2e8f0;
    border-color: #334155 !important;
}

[data-bs-theme="dark"] .services-section,
[data-bs-theme="dark"] .why-section,
[data-bs-theme="dark"] .testimonial-section,
[data-bs-theme="dark"] .faq-section,
[data-bs-theme="dark"] .availability-section,
[data-bs-theme="dark"] .appointment-form-section,
[data-bs-theme="dark"] .contact-box {
    background-color: #0f172a !important;
}

[data-bs-theme="dark"] .text-primary-custom,
[data-bs-theme="dark"] h1,
[data-bs-theme="dark"] h2,
[data-bs-theme="dark"] h3,
[data-bs-theme="dark"] h4,
[data-bs-theme="dark"] h5,
[data-bs-theme="dark"] h6 {
    color: #f8fafc !important;
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
    background-color: #0f172a;
    color: #f8fafc;
    border-color: #334155;
}

[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
    background-color: #0f172a;
    color: #f8fafc;
    border-color: var(--primary-color);
}

[data-bs-theme="dark"] .page-header {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #f8fafc;
}

[data-bs-theme="dark"] .service-card .icon,
[data-bs-theme="dark"] .tele-item i {
    background-color: #334155;
    color: #38bdf8;
}



/*---------------------------------------*/

/*---------------------------------------*/

.practice-location {
    height: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(11, 59, 92, 0.12);
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.practice-location .practice-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(30, 126, 52, 0.1);
    color: #1e7e34;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.practice-location strong {
    display: block;
    font-weight: 700;
    color: #0b3b5c;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.practice-location small {
    display: block;
    line-height: 1.4;
    color: #64748b;
    font-size: 0.82rem;
}

.location-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    color: #1e7e34;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.location-link:hover {
    color: #16692b;
    text-decoration: underline;
}

.practice-location:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(11, 59, 92, 0.08);
    border-color: rgba(30, 126, 52, 0.4);
}

/* Dark Mode Support for Practice Location */
[data-bs-theme="dark"] .practice-location {
    background: #1e293b;
    border-color: #334155;
}

[data-bs-theme="dark"] .practice-location strong {
    color: #f8fafc;
}

[data-bs-theme="dark"] .practice-location small {
    color: #94a3b8;
}

[data-bs-theme="dark"] .practice-location .practice-icon-box {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
}

[data-bs-theme="dark"] .location-link {
    color: #38bdf8;
}

[data-bs-theme="dark"] .location-link:hover {
    color: #7dd3fc;
}