@import url('https://fonts.googleapis.com/css2?family=Roboto+Serif:ital,opsz,wght@0,8..144,100..900;1,8..144,100..900&display=swap');

:root {
    --brand: #0ea5e9;
    /* sky-500 */
    --brand-dark: #0284c7;
    /* sky-600 */
    --ink: #13588e;
    /* slate-900 */
}

body {

    color: var(--ink);

}

p {
    color: #030303;
    font-size: 16px;
    text-align: justify;
    font-family: "Roboto Serif", serif;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--ink);
    font-family: "Roboto Serif", serif;
    font-weight: 700;
}



/* navbar */
.nav-item a {
    color: #0f172a;
    font-weight: 500;
}

.nav-item a.active {
    color: #0ea5e9;
    font-weight: 700;
}

.nav-item a:hover {
    color: #0ea5e9;
}

.btn-brand {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff
}

.btn-brand:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff
}

.badge-soft {
    background: rgba(14, 165, 233, .12);
    color: var(--brand);
    border: 1px solid rgba(14, 165, 233, .25)
}

.badge-soft span {
    white-space: normal;
    font-size: 0.85rem;
}

.section-title {
    font-weight: 700;
}

.shadow-soft {
    box-shadow: 0 10px 30px rgba(2, 132, 199, .08)
}

.rounded-4 {
    border-radius: 1.25rem
}

/* Hero */
.hero {
    background: radial-gradient(1200px 700px at 80% -20%, rgba(14, 165, 233, .30), transparent 60%),
        linear-gradient(180deg, rgba(2, 132, 199, .06), rgba(2, 132, 199, 0));
}

.hero .doc-card {
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(2, 132, 199, .12);
}

.doc-card img {
    width: 215px;
    height: 215px;
}

.checklist i {
    color: var(--brand);
}

/* Sticky CTA */
.floating-cta {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1030;
}

.floating-cta a {
    display: inline-flex;
    align-items: center;
    gap: .5rem
}

@media (max-width: 576px) {
    .floating-cta .btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
        border-radius: 50px;
    }

    .floating-cta i {
        font-size: 1rem;
        margin-right: 0.3rem;
    }

    .doc-card img {
        width: 140px;
        height: 140px;
    }
}


/* Navbar */
.navbar-brand b {
    color: var(--brand-dark)
}

















/* Cards */
.feature-card:hover {
    transform: translateY(-4px);
    transition: .2s ease;
}

/* Small utilities */
.text-brand {
    color: var(--brand)
}



#about p {
    text-align: justify;
    font-size: 16px;
}


.hover-shadow:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-3px);
}

.transition {
    transition: all 0.3s ease-in-out;
}



.condition-badge {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    color: #0284c7;
}

.condition-badge:hover {
    background-color: var(--bs-primary-bg-subtle, #e7f1ff);
    border-color: var(--bs-primary, #0d6efd);
    color: var(--bs-primary, #0d6efd);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}




@media (max-width: 576px) {

    /* Make badge text wrap nicely and center */
    .hero .badge {
        display: block;
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
        white-space: normal;
        line-height: 1.4;
        text-align: center;
    }

    /* Reduce heading size for mobile */
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    /* Reduce lead paragraph padding */
    .hero p.lead {
        font-size: 0.95rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    /* Make doc-card take full width and add margin */
    .hero .doc-card {
        margin-top: 1.5rem;
        padding: 1.25rem;
    }

    /* Adjust phone number size for smaller screens */
    .hero .doc-card span.fw-bold {
        font-size: 1.1rem !important;
    }

    /* Checklist items - smaller text & spacing */
    .hero .doc-card ul.checklist li {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    /* Make icons and text features align nicely */
    .hero .row.g-3.small.text-muted>div {
        font-size: 0.85rem;
    }

    .navbar-toggler {
        border-radius: 10px;
    }

    .nav-logo {
        width: 115px;
    }
}

.logo {
    font-size: 18px;
}

.nav-logo {
    width: 270px;
}

.service-btn {
    background-color: #0ea5e9;
    color: #fff;
    border-radius: 50px;
    font-size: 12px;
}

.service-btn:hover {
    background-color: #084f72 !important;
    color: #fff;
}

.home-service-image {
    width: 190px;
}


#faq {

    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    overflow: hidden;
}

#expertise {
    background-color: #d6f1ff;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    overflow: hidden;
}

#about {
    background-color: #e8f7ff;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    overflow: hidden;
}


/* counter */
/* Stats Section */
#stats {
    scroll-margin-top: 80px;
    background-color: #e8f7ff;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    overflow: hidden;
}

#stats .rounded-4 {
    border-radius: 20px !important;
}

#stats .shadow-sm {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#stats .shadow-sm:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

#stats h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

#stats p {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Smooth Counter Number Look */
#stats .counter {
    display: inline-block;
    min-width: 70px;
    /* avoids “jumping” while counting */
}

/* Mobile Tweaks */
@media (max-width: 576px) {
    #stats h2 {
        font-size: 1.8rem;
    }

    #stats .p-4 {
        padding: 1.5rem !important;
    }
}

.doc-info img {
    border-width: 4px !important;
    border-color: #e5e5e5 !important;
}

.doc-info h4 {
    font-size: 1.5rem;
}

.text-brand {
    color: #0ea5e9;

}

.card {
    border-radius: 20px;
}

.card img {
    border-width: 4px !important;
    border-color: #e6e6e6 !important;
}

#why {
    background-color: #d6f1ff;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    overflow: hidden;
}


.footer-logo {
    width: 300px;
    border-radius: 10px;
}


footer a:hover {
    color: #0037e4 !important;
}

footer p {
    text-align: justify;
}


/* about */
/* Main Section Spacing */
.rts-doctors-details-area {
    background-color: #f8f9fc;
}

/* Doctor Image Box */
.large-team-details-thumbnail img {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.10);
}

/* Clinic Timings Box */
.bottom-doctor-details {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f1f1;
}

.single-shedule p {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.single-shedule span {
    font-size: 14px;
}

/* Certificate Image */
.doctor-certificate img {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.10);
}

/* Right Side: Doctor Intro */
.doctor-all-details-area .pre-title {
    font-size: 14px;
    letter-spacing: 1px;
}

.doctor-all-details-area .name {
    font-size: 28px;
    font-weight: 800;
}

/* Follow Me Social Icons */
.follow-me-social-area ul li a {
    color: #0ea5e9;
    font-size: 18px;
    transition: 0.3s;
}

.follow-me-social-area ul li a:hover {
    color: #0477b8;
}

/* Additional Details Grid */
.single-details-content-info {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: 0.3s ease;
}

.single-details-content-info:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);
    transform: translateY(-3px);
}

.single-details-content-info .title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.single-details-content-info p {
    margin-bottom: 6px;
    font-size: 15px;
    color: #555;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .doctor-all-details-area .name {
        font-size: 24px;
    }

    .large-team-details-thumbnail img {
        width: 80%;
    }

    .single-details-content-info {
        padding: 15px;
    }
}



.about-header-section {
    background: linear-gradient(135deg, #e0f4ff, #f8fbff);
    border-bottom: 1px solid #e5e5e5;
}

.page-title {
    letter-spacing: 1px;
    color: #0b84c9;
    animation: fadeInDown 0.8s ease;
}

/* Decorative Line */
.divider {
    width: 70px;
    height: 4px;
    background: #0ea5e9;
    border-radius: 10px;
    animation: fadeIn 1s ease-in-out;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 15px;
}

.breadcrumb-item a {
    color: #0ea5e9;
    font-weight: 500;
    transition: 0.3s;
}

.breadcrumb-item a:hover {
    color: #0477b8;
}

.breadcrumb-item.active {
    color: #555;
    font-weight: 600;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        width: 0;
    }

    to {
        opacity: 1;
        width: 70px;
    }
}

/* service section  */

/* Sidebar Box */
.services-link {
    background: #b2e8f096;
    border: 1px solid #015d92;
    transition: all 0.3s ease;
}

.services-link h4 {
    color: #1d3b53;
    font-size: 1.25rem;
}

/* Sidebar List Items */
.services-link ul li {
    margin-bottom: 10px;
}

/* Links Styling */
.services-link .dropdown-item {
    padding: 10px 14px;
    border-radius: 8px;
    display: block;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

/* Hover Effect */
.services-link .dropdown-item:hover {
    background: #d6e7ff;
    color: #0056b3;
    transform: translateX(4px);
}


.services-link .dropdown-item {
    background: #f3f8ff;
    color: #0056b3;

}

/* Active Link */
.services-link .dropdown-item.active {
    background: #0056b3;
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 86, 179, 0.3);
}

/* Sticky Sidebar */
.sticky-sidebar {
    position: sticky;
    top: 90px;
}

/* Shadow effect */
.services-link.shadow-sm {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06) !important;
}


.services-link h4 {
    border-bottom: 1px solid #444444;
    padding-bottom: 0.5rem;
    margin-bottom: 1.2rem;

}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #005dc1;
    transform: scale(1.1);
}

.floating-buttons {
    position: fixed;
    bottom: 25px;
    left: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

/* Common button style */
.floating-buttons a {
    width: 47px;
    height: 47px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease;
}

.floating-buttons a:hover {
    transform: scale(1.12);
}

/* WhatsApp */
.float-whatsapp {
    color: #25D366;
}

/* Call */
.float-call {
    background: #007bff;
}

/* ----------------------- */
/* MOBILE SMALL SIZE FIX   */
/* ----------------------- */
@media (max-width: 576px) {

    /* Back To Top */
    .back-to-top {
        width: 38px;
        height: 38px;
        font-size: 16px;
        bottom: 20px;
        right: 20px;
    }

    /* Floating buttons wrapper */
    .floating-buttons {
        bottom: 20px;
        left: 20px;
        gap: 10px;
    }

    /* WhatsApp + Call icons */
    .floating-buttons a {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }
}


/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Side Profile Box */
.profile-box {
    background: rgba(255, 255, 255, 0.25);
    border-left: 5px solid #2f82ee;



    /* Accent color */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
}


/* Responsive tweaks */
@media (max-width: 576px) {
    .profile-box {
        width: 100%;
        text-align: center;
        border-left: none;
        border-top: 5px solid #277fe4;
    }
}

.small-wrapper {
    max-width: 800px;
    /* adjust to your taste: 700 / 800 / 900 */
    margin: auto;
}