/* =====================================================
   Dr. Dipanjan Mukherjee — Home page styles
   Built on Bootstrap 5
   ===================================================== */

:root {
    --brand: #009dff;
    --brand-dark: #0181f5;
    --brand-light: #5db2ff;
    --ink: #1f1f1f;
    --muted: #727272;
    --soft: #f7f7f7;
    --footer-bg: #303030;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

/* ---------------- Shared utilities ---------------- */

.section-padding {
    padding: 80px 0;
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(26px, 3.2vw, 38px);
    line-height: 1.25;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 18px;
}

.section-subtext,
.body-text {
    font-size: 16.5px;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 22px;
}

.btn-brand {
    background: linear-gradient(to right, var(--brand-dark) 0%, var(--brand-light) 100%);
    color: #fff !important;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 13px 34px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.35s ease;
}

.btn-brand:hover,
.btn-brand:focus {
    background: #fff;
    color: var(--brand) !important;
    border-color: var(--brand);
}

.btn-outline-brand {
    background: transparent;
    color: var(--brand-light) !important;
    border: 1px solid var(--brand-light);
    border-radius: 6px;
    padding: 13px 34px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.35s ease;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
    background: var(--brand-light);
    color: #fff !important;
    border-color: var(--brand-light);
}

/* ---------------- Navbar ---------------- */

.site-navbar {
    background: #fff;
    padding: 6px 0;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.06);
}

.site-navbar .navbar-brand img {
    height: 120px;
    width: auto;
}

.site-navbar .nav-link {
    font-size: 15.5px;
    font-weight: 500;
    color: var(--ink);
    padding: 8px 16px !important;
    transition: color 0.3s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--brand);
}

.site-navbar .navbar-toggler {
    border: 0;
    padding: 4px 8px;
    font-size: 22px;
}

.site-navbar .navbar-toggler:focus {
    box-shadow: none;
}

/* ---------------- Hero ---------------- */

.hero {
    background: var(--soft);
    padding: 75px 0;
}

.hero-title {
    font-size: clamp(30px, 4.2vw, 48px);
    line-height: 1.22;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: var(--ink);
    margin-bottom: 22px;
}

.hero-title strong {
    font-weight: 700;
}

.hero-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 24px;
}

.hero-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.hero-list li {
    font-size: 15px;
    color: #5c5c5c;
    margin-bottom: 10px;
}

.hero-list li i {
    color: var(--brand);
    margin-right: 10px;
    font-size: 17px;
}

.hero-image img {
    display: block;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

/* ---------------- Home slider ---------------- */

.home-slider {
    position: relative;
}

.slide-inner {
    position: relative;
    min-height: 620px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.slide-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(9, 74, 116, 0.62), rgba(9, 74, 116, 0.28));
}

.slide-inner .container {
    position: relative;
    z-index: 1;
}

.slide-bg-1 {
    background-image: url(../img/banner/bann4.png);
}

.slide-bg-2 {
    background-image: url(../img/banner/bann1.png);
}

.slider_text h3 {
    font-size: clamp(34px, 5vw, 70px);
    line-height: 1.2;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #fff;
    margin: 0;
}

.slider_text h3 span {
    font-weight: 700;
}

.home-slider .carousel-indicators {
    margin-bottom: 26px;
}

.home-slider .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.55);
    border: 0;
    opacity: 1;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.home-slider .carousel-indicators .active {
    background-color: var(--brand);
    transform: scale(1.25);
}

/* ---------------- Service strip ---------------- */

.service-strip {
    background: #fff;
}

.strip-item {
    text-align: center;
    padding: 42px 15px;
    border-right: 1px solid #eee;
    transition: background 0.3s ease;
}

.strip-item:hover {
    background: var(--soft);
}

.strip-item i {
    font-size: 34px;
    color: var(--brand);
    display: inline-block;
    margin-bottom: 14px;
}

.strip-item h3 {
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
    margin: 0;
}

.service-strip .col-6:last-child .strip-item {
    border-right: 0;
}

/* ---------------- Meet the doctor ---------------- */

.doctor-profile {
    background: #fff;
}

.profile-image img {
    display: block;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.designation {
    font-size: 16px;
    font-weight: 500;
    color: var(--brand);
    margin-bottom: 18px;
}

/* ---------------- About ---------------- */

.about {
    background: var(--soft);
}

.about-thumbs {
    position: relative;
    padding-bottom: 70px;
}

.about-thumbs .thumb-main {
    width: 84%;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.about-thumbs .thumb-small {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 46%;
    border: 6px solid #fff;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.qualification-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin: 6px 0 14px;
}

.qualification-list {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
}

.qualification-list li {
    font-size: 15.5px;
    color: #5c5c5c;
    margin-bottom: 10px;
}

.qualification-list li i {
    color: var(--brand);
    margin-right: 10px;
    font-size: 17px;
}

/* ---------------- Services cards ---------------- */

.services {
    background: #fff;
}

.service-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.1);
}

.service-thumb img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.service-body {
    padding: 24px;
}

.service-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--brand);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.learn-more:hover {
    color: var(--brand-dark);
    gap: 10px;
}

/* ---------------- Reviews ---------------- */

.reviews {
    background: var(--soft);
    text-align: center;
}

.review-carousel {
    max-width: 820px;
    margin: 10px auto 0;
}

.review-slide {
    padding: 18px 20px 6px;
}

.review-quote-icon {
    display: block;
    font-size: 44px;
    line-height: 1;
    color: var(--brand);
    opacity: 0.28;
    margin-bottom: 10px;
}

.review-slide p {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
    color: #5c5c5c;
    margin-bottom: 18px;
}

.review-name {
    display: inline-block;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--brand);
}

.review-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 14px;
}

.review-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #dcdcdc;
    background: #fff;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.review-btn:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.review-controls .carousel-indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #c9c9c9;
    border: 0;
    margin: 0 4px;
    opacity: 1;
}

.review-controls .carousel-indicators .active {
    background: var(--brand);
}

/* ---------------- Emergency contact ---------------- */

.emergency-card {
    position: relative;
    min-height: 250px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.emergency-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(9, 74, 116, 0.78), rgba(9, 74, 116, 0.45));
}

.emergency-content {
    position: relative;
    z-index: 1;
    padding: 32px 42px;
    color: #fff;
}

.emergency-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #fff;
}

.emergency-1 {
    background-image: url(../img/banner/emergency-1.png);
}

.emergency-2 {
    background-image: url(../img/banner/emergency-2.png);
}

.btn-light-outline {
    border: 1px solid #fff;
    color: #fff !important;
    background: transparent;
    border-radius: 30px;
    padding: 10px 26px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.35s ease;
}

.btn-light-outline:hover {
    background: #fff;
    color: var(--ink) !important;
}

/* ---------------- Footer ---------------- */

.site-footer {
    background: var(--footer-bg);
    color: #bebebe;
    padding-top: 70px;
}

.footer-logo img {
    height: 52px;
    width: auto;
    margin-bottom: 18px;
}

.footer-text {
    font-size: 15px;
    line-height: 1.85;
    color: #bebebe;
    margin-bottom: 18px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 15px;
    color: #bebebe;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--brand);
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.footer-contact {
    color: #bebebe;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-contact:hover {
    color: var(--brand);
}

.footer-contact i {
    margin-right: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding: 20px 0;
}

.footer-bottom p {
    margin: 0;
    text-align: center;
    font-size: 14px;
    color: #9b9b9b;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--brand);
}

.footer-bottom .bi-heart-fill {
    color: var(--brand);
    font-size: 12px;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 991.98px) {
    .section-padding {
        padding: 55px 0;
    }

    .hero {
        padding: 50px 0;
    }

    .slide-inner {
        min-height: 480px;
    }

    .site-navbar .navbar-collapse {
        padding-top: 12px;
    }

    .site-navbar .nav-link {
        padding: 9px 0 !important;
    }

    .profile-image {
        margin-bottom: 10px;
    }

    .about-thumbs {
        padding-bottom: 55px;
    }

    .emergency-card {
        min-height: 215px;
    }
}

@media (max-width: 767.98px) {
    .site-navbar .navbar-brand img {
        height: 96px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-text {
        font-size: 15.5px;
    }

    .slide-inner {
        min-height: 420px;
    }

    .home-slider .carousel-indicators {
        margin-bottom: 16px;
    }

    .strip-item {
        padding: 28px 10px;
        border-bottom: 1px solid #eee;
    }

    .strip-item i {
        font-size: 27px;
        margin-bottom: 10px;
    }

    .strip-item h3 {
        font-size: 14.5px;
    }

    .service-thumb img {
        height: 205px;
    }

    .about-thumbs .thumb-main {
        width: 100%;
    }

    .about-thumbs .thumb-small {
        width: 56%;
        border-width: 5px;
    }

    .emergency-content {
        padding: 26px 24px;
    }

    .emergency-content h3 {
        font-size: 20px;
    }

    .footer-bottom {
        margin-top: 35px;
    }
}
