/* ==========================================================================
   BENGALI CLINIC - STYLES.CSS
   ========================================================================== 

   TABLE OF CONTENTS:
   1. Variables & Resets
   2. Global Typography & Utilities
   3. Buttons & Badges
   4. Navbar
   5. Hero Section
   5.5 Simple Process
   6. Why Choose Us
   7. Services
   8. Gallery
   9. Transformations (Before/After)
   10. Team
   11. Patient's Thoughts (Testimonials)
   12. FAQs
   13. Visit Us & Footer
   14. Swiper Plugin Styles
   15. Appointment Modal

   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variables & Resets
   -------------------------------------------------------------------------- */
:root {
    --primary-color: hsl(131, 35%, 93%);
    --primary-green: hsl(160, 90%, 24%);
    --light-green: hsl(158, 28%, 92%);
    --wa-green: #0e6b47;
    --dark-green: hsl(160, 38%, 25%);
    --subheading: #29395e;
    --text-main: hsl(160, 25%, 27%);
    --text-muted: #64748b;
    --alt-bg: #f8fafc;

    --font-sans: 'Poppins', sans-serif;
    --font-serif: 'Space Grotesk', serif;

    --radius-md: 16px;
    --radius-sm: 12px;

    --service-bg: hsl(181, 35%, 96%);
    --primary-hover: oklch(89.971% 0.08242 156.781);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: #ffffff;
    line-height: 1.6;
    width: 100vw;
    overflow-x: clip;
}

/* --------------------------------------------------------------------------
   2. Global Typography & Utilities
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6,
.font-serif {
    font-family: var(--font-serif);
    color: var(--primary-green);
    font-weight: 400;
}

h2 {
    color: var(--dark-green) !important;
}

.text-dark-green {
    color: var(--dark-green) !important;
}

.text-primary-custom {
    color: #0284c7 !important;
}

.bg-alt {
    background-color: var(--alt-bg);
}

.bg-color {
    background-color: oklch(97% 0.02 250);
}

.bg-color-gradient {
    background-color: oklch(97% 0.02 250);
    background: linear-gradient(125deg, hsl(135, 100%, 99%) 20%, hsl(150, 40%, 96%) 100%);
}

.radius-md {
    border-radius: var(--radius-md);
}

.section-details {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading {
    font-size: 2.45rem;
    font-weight: 600;
}

.section-description {
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .section-details {
        max-width: 95%;
    }

    .section-heading {
        font-size: 2.1rem;
    }

    .section-description {
        font-size: 1rem;
    }
}

/* --------------------------------------------------------------------------
   3. Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-navbar {
    padding: 6px 12px !important;
    border-radius: 8px;
    background-color: var(--dark-green);
    color: white;
    border: none;
}

.btn-whatsapp {
    background-color: var(--primary-green);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 500;
    width: auto;
}

.btn-primary-custom:hover,
.btn-primary-custom:active,
.btn-primary-custom:focus,
.btn-primary-custom:focus-visible {
    background-color: var(--primary-green) !important;
    border: 1px solid var(--primary-green) !important;
    filter: brightness(0.96);
}

.btn-whatsapp:hover,
.btn-whatsapp:active,
.btn-whatsapp:focus,
.btn-whatsapp:focus-visible,
.btn-navbar:hover,
.btn-navbar:active,
.btn-navbar:focus,
.btn-navbar:focus-visible {
    background-color: #0b5337 !important;
    color: white !important;
}

.badge-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.1rem;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    border-radius: 999px;
    background: var(--light-green);
    color: var(--primary-green);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    vertical-align: middle;
}

@media (max-width: 992px) {
    .btn-whatsapp {
        width: 100%;
    }

    .btn-navbar {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 768px) {
    .btn {
        font-size: 1.1rem;
    }
}

/* --------------------------------------------------------------------------
   4. Navbar
   -------------------------------------------------------------------------- */
.navbar {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.85) !important;
    box-shadow: 2px 2px 30px -5px rgba(28, 38, 62, 0.1);
    border-bottom: 1px solid rgba(28, 38, 62, 0.08);
}

.navbar .navbar-brand,
.navbar .navbar-brand:hover {
    color: var(--dark-green) !important;
    font-family: var(--font-sans) !important;
    transition: all 0.1s ease-in;
    font-weight: 500;
    font-size: 1.6rem;
}

.navbar img {
    border: 1px solid var(--primary-green);
    border-radius: 50%;
}

@media (max-width: 768px) {
    .navbar .navbar-brand {
        font-size: 1.2rem;
    }
}

/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */
.hero-gradient {
    background: radial-gradient(circle at 80% 0%, oklch(92.5% 0.045 156.781 / 0.738) 0%, rgba(255, 255, 255, 1) 80%);
}

.hero-badge {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    background: linear-gradient(125deg, hsl(50, 100%, 98%) 0%, hsl(43, 100%, 93%) 100%);
    border: 1px solid hsl(50, 87%, 65%);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    display: inline-flex;
    align-items: center;
    color: hsl(43, 85%, 40%);
    max-width: 100%;
    overflow: hidden;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

@media (max-width: 400px) {
    .hero-badge {
        font-size: 0.65rem;
        padding: 0.35rem 0.75rem;
    }
}

.hero-headline {
    font-size: 3.2rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: black;
}

.hero-paragraph {
    font-size: 1.3rem;
}

.avatar-stack {
    display: flex;
    flex-direction: row;
}

.avatar-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
    margin-left: -5px;
}

.avatar-stack .avatar-circle:first-child {
    margin-left: 0;
}

.social-proof-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.social-proof-top {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
}

.social-proof-bottom {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.hero-img-container {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hero-img-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    pointer-events: none;
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-md);
    aspect-ratio: auto;
}

.hero-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    color: white;
}

.hero-overlay-name {
    font-size: 2rem;
}

.hero-overlay-title {
    font-size: 1.65rem;
}

.hero-overlay-exp {
    font-size: 1.125rem;
}

@media (max-width: 992px) {
    .hero-img {
        height: auto;
        aspect-ratio: 5/4;
    }
}

@media (max-width: 768px) {
    .hero-gradient {
        background: radial-gradient(circle at 100% 30%, oklch(94% 0.035 156.781 / 0.8) 0%, rgba(255, 255, 255, 1) 70%);
    }

    .hero-headline {
        font-size: 2.8rem;
    }

    .hero-paragraph {
        font-size: 1.15rem;
    }

    .hero-img-container::after {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    }

    .hero-caption {
        bottom: 10px;
        left: 15px;
    }

    .hero-overlay-name {
        font-size: 1.4rem;
    }

    .hero-overlay-title {
        font-size: 1.25rem;
    }

    .hero-overlay-exp {
        font-size: 0.85rem;
    }
}

/* --------------------------------------------------------------------------
   5.5 Simple Process
   -------------------------------------------------------------------------- */

div.process-item h4.h5 {
    font-weight: 600;
}

div.process-item p {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.process-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: hsl(131, 35%, 95%);
    font-size: 2.3rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    color: var(--dark-green);
    transition: box-shadow 0.2s;
}

@media (max-width: 768px) {
    .process-icon {
        width: 55px;
        height: 55px;
        font-size: 2rem;
    }
}


@media (max-width: 768px) {
    div.process-item p {
        max-width: 260px;
    }
}



/* --------------------------------------------------------------------------
   6. Why Choose Us
   -------------------------------------------------------------------------- */
.why-choose-bg {
    background-color: hsl(240, 28%, 98%);
}

.clinic-name-sans {
    font-family: var(--font-sans) !important;
    font-weight: 500;
    color: var(--primary-green);
}

.why-desc {
    color: var(--text-muted);
    font-size: 1.3rem;
    font-family: var(--font-sans);
}

#why-choose-us .stats h3 {
    font-weight: 600;
}

.why-card {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease-in;
}

.why-card:hover {
    box-shadow: 0 0 15px -1px rgba(28, 38, 62, 0.1);
}

.why-card .card-body {
    padding: 1.5rem;
}

.icon-square-box {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--dark-green);
    transition: 0.3s;
}

.why-desc-box {
    color: var(--text-muted);
    font-size: 1rem;
    font-family: var(--font-sans);
}

@media (max-width: 768px) {
    .why-desc {
        font-size: 1rem;
    }
}

/* --------------------------------------------------------------------------
   7. Services
   -------------------------------------------------------------------------- */
.service-card {
    background-color: var(--service-bg);
    border-radius: var(--radius-md);
    border: none;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: 0.2s ease-in;
}

.service-card:hover {
    background-color: hsl(181, 33%, 94%);
}

.service-card h4 {
    font-weight: 600;
    color: var(--dark-green);
}

.service-card-image-wrap {
    width: 100%;
    flex-shrink: 0;
}

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

.service-card-icon-wrap {
    padding: 0 1.5rem;
    margin-top: -24px;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 1;
}

.icon-circle {
    width: 48px;
    height: 48px;
    background-color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--dark-green);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    transition: 0.3s ease-in-out;
}

.service-card:hover .icon-circle {
    font-size: 1.35rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-card-body {
    padding: 0.5rem 1.5rem 1.5rem;
    flex: 1;
}

/* --------------------------------------------------------------------------
   8. Gallery
   -------------------------------------------------------------------------- */
#gallery {
    background-color: hsl(30, 25%, 98%);
}

.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    aspect-ratio: auto;
}

@media (max-width: 992px) {
    .gallery-img {
        height: auto;
        aspect-ratio: 3/2;
    }
}

/* --------------------------------------------------------------------------
   9. Transformations (Before/After)
   -------------------------------------------------------------------------- */
#transformations {
    background-size: 28px 28px;
    background-image: radial-gradient(circle, hsl(160, 50%, 93%) 2px, transparent 1px);
}

.ba-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: #e2e8f0;
    user-select: none;
    border: 1px solid var(--text-main);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.ba-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ba-before {
    z-index: 1;
}

.ba-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 20;
    margin: 0;
}

.ba-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: white;
    margin-left: -1px;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.ba-label {
    position: absolute;
    top: 12px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    z-index: 10;
}

.ba-label-before {
    left: 12px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
}

.ba-label-after {
    right: 12px;
    background: var(--primary-color);
    color: var(--dark-green);
}


/* --------------------------------------------------------------------------
   10. Team
   -------------------------------------------------------------------------- */

#doctor-team {
    background-color: hsl(131, 40%, 97%);
    ;
}

.team-card {
    background-color: var(--service-bg);
    border-radius: var(--radius-md);
    border: none;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}


.team-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 95, 70, 0.7) 0%, transparent 100%);
    opacity: 0.7;
    transition: opacity 0.3s ease-in;
}

.team-card:hover .team-overlay::before {
    opacity: 1;
}

.team-card .team-designation {
    font-weight: 500;
    color: var(--primary-green);
}

.team-social-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    text-decoration: none;
    pointer-events: auto;
}

.team-social-icon:hover {
    background-color: var(--primary-green);
    color: white !important;
}

/* --------------------------------------------------------------------------
   11. Patient's Thoughts (Testimonials)
   -------------------------------------------------------------------------- */
#thoughts {
    position: relative;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--radius-sm);
    border: 1px solid rgb(239, 239, 239);
    padding: 1.75rem;
}

div.avatar img {
    border: 1.5px solid var(--text-main) !important;
}

div.avatar h6 {
    font-size: 1rem;
    font-family: var(--font-sans);
    color: var(--text-main) !important;
}

.stars {
    color: #e9b31f;
    font-size: 1.3rem;
}

.custom-shape-divider-bottom-1772378835 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom-1772378835 svg {
    position: relative;
    display: block;
    width: calc(120% + 1.3px);
    height: 32px;
}

.custom-shape-divider-bottom-1772378835 .shape-fill {
    fill: #FFFFFF;
}

@media (max-width: 767px) {
    .custom-shape-divider-bottom-1772378835 svg {
        width: calc(157% + 1.3px);
        height: 49px;
    }
}

/* --------------------------------------------------------------------------
   12. FAQs
   -------------------------------------------------------------------------- */

div.accordion-item h2 .accordion-button {
    font-family: var(--font-sans);
    color: hsl(146, 26%, 26%) !important;
}

div.accordion-item h2 .accordion-button:not(.collapsed) {
    color: white !important;
    background-color: var(--dark-green);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(29, 78, 137, 0.25);
}

.accordion-item {
    border-color: hsl(130, 5%, 75%);
}

.accordion-button:not(.collapsed)::after {
    filter: invert(180);
}


/* --------------------------------------------------------------------------
   13. Visit Us & Footer
   -------------------------------------------------------------------------- */
#visit-us {
    background-color: hsl(30, 25%, 98%);
}

.contact-icon-box {
    width: 37px;
    height: 37px;
    background-color: var(--primary-color);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--dark-green);
    flex-shrink: 0;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    aspect-ratio: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--text-main);
}

@media (max-width: 992px) {
    .map-wrapper iframe {
        height: auto;
        min-height: auto;
        aspect-ratio: 5/4;
    }
}

/* --------------------------------------------------------------------------
   14. Swiper Plugin Styles
   -------------------------------------------------------------------------- */
.swiper {
    padding-bottom: 3rem !important;
}

.swiper-slide {
    height: auto;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    transition: 0.1s all ease-in;
}

.swiper-pagination-bullet-active {
    background-color: var(--dark-green);
    width: 15px;
    border-radius: 5px;
}

/* --------------------------------------------------------------------------
   15. Appointment Modal
   -------------------------------------------------------------------------- */

.modal-dialog{
    --bs-modal-width : 460px !important;
}

.modal-title {
    font-weight: 600 !important;
}

.modal-subtitle {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--primary-green);
    font-weight: 600;
    opacity: 0.85;
}

.modal-text {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.btn-appt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    border: none;
    box-shadow: none !important;
    transition: all 0.2s;
}

.btn-appt-primary {
    background-color: #0d5f40;
    color: white;
}
.btn-appt-primary:hover,
.btn-appt-primary:active,
.btn-appt-primary:focus,
.btn-appt-primary:focus-visible {
    background-color: #094931 !important;
    color: white !important;
}

.btn-appt-secondary {
    background-color: hsl(155, 52%, 92%);
    color: #0d5f40;
}
.btn-appt-secondary:hover,
.btn-appt-secondary:active,
.btn-appt-secondary:focus,
.btn-appt-secondary:focus-visible {
    background-color: #d1eadf !important;
    color: #0b5337 !important;
}

.btn-appt-outline {
    background-color: transparent;
    color: #666;
    border: 2px solid #ddd;
}
.btn-appt-outline:hover,
.btn-appt-outline:active,
.btn-appt-outline:focus,
.btn-appt-outline:focus-visible {
    background-color: #ddd !important;
    color: #333 !important;
}

.modal-backdrop {
    --bs-backdrop-opacity: 0.3;
    background-color: #506454;
}

.squircle-icon {
    width: 42px;
    height: 42px;
    background-color: hsl(210, 40%, 96%) !important;
    box-shadow: none !important;
    border-radius: 12px !important;
    transition: all 0.2s;
}

.squircle-icon:hover {
    background-color: hsl(210, 40%, 88%) !important;
}

@media (max-width: 768px) {

    .modal-dialog-centered {
        align-items: end;
    }

    .modal-title {
        font-size: 1.15rem;
    }

    .modal-text {
        font-size: 0.88rem;
    }

    .btn-appt {
        font-size: 0.8rem !important;
        padding: 0.45rem 1rem !important;
    }

    .squircle-icon {
        width: 38px !important;
        height: 38px !important;
        border-radius: 10px !important;
    }
}