/* =========================================================
   JYOTI ENT CLINIC - COMMON CSS
========================================================= */

:root {

    /* MAIN CLIENT COLOR */
    --primary: #3BC2F1;

    /* SUPPORTING COLORS */
    --primary-dark: #159BCB;
    --primary-light: #EAF9FE;

    --black: #111111;
    --dark: #17202A;

    --text: #536273;
    --muted: #718096;

    --white: #ffffff;
    --light: #F7FCFE;

    --border: #DCEFF5;

    /* SHADOWS */
    --shadow-sm: 0 8px 25px rgba(0,0,0,.06);
    --shadow-md: 0 15px 40px rgba(0,0,0,.08);
    --shadow-lg: 0 25px 60px rgba(0,0,0,.12);

    /* RADIUS */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;

    --transition: all .35s ease;
}


/* =========================================================
   GLOBAL
========================================================= */

html {
    scroll-behavior: smooth;
}

body {

    margin: 0;

    padding: 0;

    font-family: 'Inter', sans-serif;

    color: var(--text);

    background: var(--white);

    overflow-x: hidden;

    padding-top: 140px;

    transition: padding-top 0.3s ease;
}


h1,
h2,
h3,
h4,
h5,
h6 {

    font-family: 'Plus Jakarta Sans', sans-serif;

    color: var(--dark);

    font-weight: 700;
}


a {

    text-decoration: none;

    transition: var(--transition);
}


img {

    max-width: 100%;

    height: auto;
}


section {

    position: relative;
}


.container {

    position: relative;
}


/* =========================================================
   TOPBAR
========================================================= */

.topbar {

    background: var(--dark);

    color: rgba(255,255,255,.8);

    font-size: 13px;

    transition: transform 0.3s ease;

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    z-index: 1001;
}


.topbar-inner {

    min-height: 40px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.topbar-left,
.topbar-right {

    display: flex;

    align-items: center;

    gap: 18px;
}


.topbar a,
.topbar span {

    color: rgba(255,255,255,.8);

    display: inline-flex;

    align-items: center;

    gap: 7px;
}


.topbar a:hover {

    color: var(--primary);
}


.topbar i {

    color: var(--primary);
}


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

.site-header {

    position: fixed;

    top: 40px;

    left: 0;

    right: 0;

    z-index: 1000;

    width: 100%;

    transition: top 0.3s ease;

    will-change: top;
}


.site-navbar {

    background: rgba(255,255,255,.97);

    padding: 14px 0;

    transition: var(--transition);
}


.site-header.scrolled .site-navbar {

    box-shadow: 0 8px 30px rgba(0,0,0,.08);

    padding: 9px 0;

    backdrop-filter: blur(12px);
}


body.scrolled .topbar {

    transform: translateY(-100%);

}


body.scrolled .site-header {

    top: 0;
}


body.scrolled {

    padding-top: 100px;
}


@media (max-width: 767px) {

    .site-header {

        top: 0 !important;
    }

    .topbar {

        position: relative;
    }

    body {

        padding-top: 70px;
    }

}


.navbar-brand {

    display: inline-flex;

    align-items: center;
}


.site-logo {

    max-height: 65px;

    width: auto;

    object-fit: contain;
}


.navbar-nav {

    gap: 5px;
}


.nav-link {

    color: var(--dark) !important;

    font-weight: 600;

    padding: 11px 15px !important;

    position: relative;
}


.nav-link::after {

    content: '';

    position: absolute;

    left: 15px;

    right: 15px;

    bottom: 3px;

    height: 2px;

    background: var(--primary);

    transform: scaleX(0);

    transform-origin: center;

    transition: var(--transition);
}


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

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


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

    transform: scaleX(1);
}


/* =========================================================
   DEFAULT LOGO
========================================================= */

.default-logo {

    display: flex;

    align-items: center;

    gap: 12px;
}


.logo-icon {

    width: 48px;

    height: 48px;

    border-radius: 14px;

    background: var(--primary);

    color: var(--white);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 20px;
}


.default-logo strong {

    display: block;

    color: var(--dark);

    font-size: 18px;
}


.default-logo small {

    display: block;

    color: var(--muted);

    font-size: 11px;

    margin-top: 2px;
}


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

.btn-primary {

    background: var(--primary) !important;

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

    color: var(--white) !important;

    font-weight: 700;

    border-radius: 12px;

    padding: 13px 23px;

    box-shadow: 0 8px 20px rgba(59,194,241,.25);

    transition: var(--transition);
}


.btn-primary:hover {

    background: var(--primary-dark) !important;

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

    transform: translateY(-2px);

    box-shadow: 0 12px 28px rgba(59,194,241,.35);
}


.nav-appointment {

    white-space: nowrap;

    padding: 11px 18px !important;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    background: var(--dark);

    color: rgba(255,255,255,.7);
}


.footer-main {

    padding: 75px 0 50px;
}


.footer-widget {

    height: 100%;
}


.footer-widget h5 {

    color: var(--white);

    font-size: 18px;

    margin-bottom: 25px;

    position: relative;

    padding-bottom: 12px;
}


.footer-widget h5::after {

    content: '';

    position: absolute;

    left: 0;

    bottom: 0;

    width: 38px;

    height: 3px;

    background: var(--primary);

    border-radius: 10px;
}


.footer-logo {

    max-height: 60px;

    width: auto;

    margin-bottom: 20px;

    background: var(--white);

    padding: 6px 10px;

    border-radius: 10px;
}


.footer-description {

    line-height: 1.8;

    max-width: 400px;

    margin-bottom: 25px;
}


/* =========================================================
   FOOTER BRAND
========================================================= */

.footer-brand {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 20px;
}


.footer-logo-icon {

    width: 50px;

    height: 50px;

    border-radius: 14px;

    background: var(--primary);

    color: var(--white);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 20px;
}


.footer-brand strong {

    color: var(--white);

    display: block;

    font-size: 18px;
}


.footer-brand small {

    color: rgba(255,255,255,.6);

    font-size: 11px;
}


/* =========================================================
   FOOTER SOCIAL
========================================================= */

.footer-social {

    display: flex;

    gap: 10px;
}


.footer-social a {

    width: 40px;

    height: 40px;

    border-radius: 50%;

    background: rgba(255,255,255,.08);

    color: var(--white);

    display: flex;

    align-items: center;

    justify-content: center;
}


.footer-social a:hover {

    /* background: var(--primary); */
    background: #5c655f;

    transform: translateY(-3px);
}


/* =========================================================
   FOOTER LINKS
========================================================= */

.footer-links {

    list-style: none;

    margin: 0;

    padding: 0;
}


.footer-links li {

    margin-bottom: 13px;
}


.footer-links a {

    color: rgba(255,255,255,.68);

    display: inline-flex;

    align-items: center;

    gap: 8px;
}


.footer-links a i {

    color: var(--primary);

    font-size: 11px;
}


.footer-links a:hover {

    color: var(--primary);

    transform: translateX(4px);
}


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

.footer-contact-item {

    display: flex;

    gap: 13px;

    margin-bottom: 22px;
}


.contact-icon {

    flex: 0 0 40px;

    width: 40px;

    height: 40px;

    border-radius: 10px;

    background: rgba(59,194,241,.12);

    color: var(--primary);

    display: flex;

    align-items: center;

    justify-content: center;
}


.footer-contact-item strong {

    display: block;

    color: var(--white);

    font-size: 14px;

    margin-bottom: 4px;
}


.footer-contact-item p {

    margin: 0;

    line-height: 1.6;

    font-size: 13px;
}


.footer-contact-item a {

    color: rgba(255,255,255,.7);
}


.footer-contact-item a:hover {

    color: var(--primary);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {

    border-top: 1px solid rgba(255,255,255,.08);

    padding: 20px 0;
}


.footer-bottom-inner {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;
}


.footer-bottom p {

    font-size: 13px;

    color: rgba(255,255,255,.55);
}


.footer-bottom strong {

    color: var(--primary);
}


.footer-bottom-links {

    display: flex;

    gap: 20px;
}


.footer-bottom-links a {

    font-size: 13px;

    color: rgba(255,255,255,.55);
}


.footer-bottom-links a:hover {

    color: var(--primary);
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 46px;

    height: 46px;

    background: var(--primary);

    color: var(--white);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    visibility: hidden;

    transform: translateY(15px);

    z-index: 999;

    box-shadow: var(--shadow-md);
}


.back-to-top.show {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


.back-to-top:hover {

    background: var(--primary-dark);

    color: var(--white);

    transform: translateY(-3px);
}


/* =========================================================
   MOBILE CALL
========================================================= */

.mobile-call-button {

    display: none;

    position: fixed;

    left: 18px;

    bottom: 18px;

    width: 48px;

    height: 48px;

    background: var(--primary);

    color: var(--white);

    border-radius: 50%;

    align-items: center;

    justify-content: center;

    z-index: 998;

    box-shadow: var(--shadow-md);

    animation: phonePulse 2s infinite;
}


@keyframes phonePulse {

    0% {
        box-shadow: 0 0 0 0 rgba(59,194,241,.5);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(59,194,241,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59,194,241,0);
    }

}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal {

    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}


.reveal.revealed {

    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .topbar-left span {

        display: none;
    }


    .topbar-inner {

        justify-content: center;
    }


    .site-navbar {

        padding: 10px 0;
    }


    .navbar-nav {

        padding-top: 15px;

        align-items: stretch !important;
    }


    .nav-link {

        padding: 10px 0 !important;
    }


    .nav-link::after {

        left: 0;

        right: auto;

        width: 30px;
    }


    .nav-appointment {

        margin-top: 10px;

        display: inline-flex;

        width: fit-content;
    }

    body {

        padding-top: 110px;
    }

    body.scrolled {

        padding-top: 70px;
    }

}


@media (max-width: 767px) {

    .topbar {

        display: none;
    }


    .site-logo {

        max-height: 52px;
    }


    .footer-main {

        padding: 55px 0 35px;
    }


    .footer-bottom-inner {

        flex-direction: column;

        text-align: center;
    }


    .footer-bottom-links {

        justify-content: center;

        flex-wrap: wrap;
    }


    .mobile-call-button {

        display: flex;
    }


    .back-to-top {

        right: 18px;

        bottom: 78px;
    }

    body {

        padding-top: 70px;
    }

}


@media (max-width: 575px) {

    .default-logo strong {

        font-size: 15px;
    }


    .default-logo small {

        font-size: 9px;
    }


    .logo-icon {

        width: 42px;

        height: 42px;
    }


    .footer-bottom-links {

        gap: 12px;
    }

}


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

.hero-section {

    position: relative;

    overflow: hidden;
}


.hero-slide {

    min-height: 680px;

    position: relative;

    display: flex;

    align-items: center;

    overflow: hidden;
}


.hero-background {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;
}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10,25,35,.92) 0%,
            rgba(10,25,35,.70) 45%,
            rgba(10,25,35,.18) 100%
        );
}


.hero-content {

    position: relative;

    z-index: 2;

    max-width: 680px;

    padding: 100px 0;
}


.hero-subtitle {

    display: inline-block;

    color: var(--primary);

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 18px;
}


.hero-content h1 {

    color: var(--white);

    font-size: clamp(42px, 5vw, 68px);

    line-height: 1.1;

    margin-bottom: 24px;

    font-weight: 800;
}


.hero-content p {

    color: rgba(255,255,255,.82);

    font-size: 18px;

    line-height: 1.8;

    max-width: 600px;

    margin-bottom: 30px;
}


.hero-buttons {

    display: flex;

    gap: 14px;

    flex-wrap: wrap;
}


.hero-outline-btn {

    border: 1px solid rgba(255,255,255,.45);

    color: var(--white);

    border-radius: 12px;

    padding: 13px 23px;

    font-weight: 700;
}


.hero-outline-btn:hover {

    background: var(--white);

    color: var(--dark);
}


.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {

    width: 7%;

    z-index: 5;
}


.hero-section .carousel-indicators {

    z-index: 5;
}


.hero-section .carousel-indicators button {

    width: 30px;

    height: 4px;

    border: 0;

    border-radius: 10px;
}



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

.section-padding {

    padding: 100px 0;
}


.section-heading {

    max-width: 750px;

    margin: 0 auto 55px;
}


.section-label {

    color: var(--primary-dark);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;

    display: inline-block;

    margin-bottom: 12px;
}


.section-title {

    font-size: clamp(32px, 4vw, 46px);

    line-height: 1.15;

    margin-bottom: 18px;
}


.section-heading > p {

    line-height: 1.8;

    margin-bottom: 0;
}


.lead-text {

    font-size: 18px;

    color: var(--dark);

    line-height: 1.7;
}



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

.about-section {

    background: var(--white);
}


.about-image-wrap {

    position: relative;

    padding-right: 30px;

    padding-bottom: 30px;
}


.about-image {

    position: relative;

    overflow: hidden;

    border-radius: 30px;

    box-shadow: var(--shadow-lg);
}


.about-image img {

    width: 100%;

    height: 550px;

    object-fit: cover;

    transition: transform .7s ease;
}


.about-image:hover img {

    transform: scale(1.05);
}


.about-experience {

    position: absolute;

    left: -10px;

    bottom: 45px;

    background: var(--primary);

    color: var(--white);

    border-radius: 20px;

    padding: 20px 25px;

    box-shadow: var(--shadow-md);

    display: flex;

    flex-direction: column;
}


.about-experience strong {

    font-size: 28px;
}


.about-experience span {

    font-size: 12px;

    opacity: .9;
}


.about-decoration {

    position: absolute;

    right: 0;

    bottom: 0;

    width: 130px;

    height: 130px;

    border: 15px solid var(--primary-light);

    border-radius: 30px;

    z-index: -1;
}


.about-features {

    margin-top: 28px;
}


.about-feature {

    display: flex;

    gap: 14px;

    margin-bottom: 20px;
}


.about-feature > span {

    flex: 0 0 28px;

    color: var(--primary-dark);

    font-size: 20px;
}


.about-feature strong {

    color: var(--dark);

    display: block;

    margin-bottom: 4px;
}


.about-feature p {

    margin: 0;

    font-size: 14px;

    line-height: 1.6;
}



/* =========================================================
   STATS
========================================================= */

.stats-section {

    background: var(--dark);

    color: var(--white);

    padding: 30px 0;
}


.stat-item {

    min-height: 110px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 16px;

    border-right: 1px solid rgba(255,255,255,.1);
}


.stat-item:last-child {

    border-right: 0;
}


.stat-icon {

    width: 52px;

    height: 52px;

    border-radius: 15px;

    background: rgba(59,194,241,.12);

    color: var(--primary);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 20px;
}


.stat-item h3 {

    color: var(--white);

    margin: 0;

    font-size: 28px;
}


.stat-item p {

    margin: 3px 0 0;

    font-size: 12px;

    color: rgba(255,255,255,.6);
}



/* =========================================================
   SERVICES
========================================================= */

.services-section {

    background: var(--light);

    overflow: hidden;
}


.services-slider-wrapper {

    overflow: hidden;

    width: 100%;
}


.services-track {

    display: flex;

    width: max-content;

    gap: 24px;

    animation: servicesScroll 35s linear infinite;
}


.services-track:hover {

    animation-play-state: paused;
}


.service-card {

    width: 330px;

    background: var(--white);

    border-radius: 24px;

    overflow: hidden;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);

    flex-shrink: 0;
}


.service-card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-lg);
}


.service-card-image {

    height: 200px;

    background: var(--primary-light);

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: center;
}


.service-card-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;
}


.service-icon {

    width: 75px;

    height: 75px;

    background: var(--primary);

    color: var(--white);

    border-radius: 22px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 30px;
}


.service-card-body {

    padding: 25px;
}


.service-card-body h4 {

    font-size: 20px;

    margin-bottom: 10px;
}


.service-card-body p {

    font-size: 14px;

    line-height: 1.7;

    min-height: 48px;
}


.service-link {

    color: var(--primary-dark);

    font-size: 14px;

    font-weight: 700;

    display: inline-flex;

    align-items: center;

    gap: 8px;
}


.service-link:hover {

    color: var(--dark);

    gap: 12px;
}


@keyframes servicesScroll {

    from {

        transform: translateX(0);

    }

    to {

        transform: translateX(-50%);

    }

}



/* =========================================================
   TREATMENTS
========================================================= */

.treatment-section {

    background: var(--white);
}


.treatment-card {

    position: relative;

    background: var(--light);

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

    border-radius: 22px;

    padding: 30px;

    height: 100%;

    overflow: hidden;

    transition: var(--transition);
}


.treatment-card:hover {

    /* background: var(--white); */
     background: #4a28d3; 
    color: #ffffff; 
    h4 {
        color: #ffffff;
    }

    transform: translateY(-7px);

    box-shadow: var(--shadow-md);

    border-color: transparent;
}


.treatment-icon {

    width: 58px;

    height: 58px;

    border-radius: 16px;

    /* background: var(--primary-light); */
     background: var(--primary);

    color: var(--primary-dark);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 30px;

    margin-bottom: 22px;

    transition: var(--transition);
}


.treatment-card:hover .treatment-icon {

    background: var(--primary);

    color: var(--white);
}


.treatment-number {

    position: absolute;

    top: 25px;

    right: 25px;

    color: rgba(59,194,241,.35);

    font-size: 12px;

    font-weight: 800;
}


.treatment-card h4 {

    font-size: 18px;

    margin-bottom: 12px;
}


.treatment-card p {

    font-size: 13px;

    line-height: 1.7;

    margin: 0;
}


.treatment-arrow {

    position: absolute;

    right: 25px;

    bottom: 25px;

    width: 34px;

    height: 34px;

    border-radius: 50%;

    background: var(--primary-light);

    color: var(--primary-dark);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 12px;

    opacity: 0;

    transform: translateX(-8px);

    transition: var(--transition);
}


.treatment-card:hover .treatment-arrow {

    opacity: 1;

    transform: translateX(0);
}



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

.why-section {

    background: var(--light);
}


.why-card {

    position: relative;

    height: 100%;

    padding: 30px;

    background: var(--white);

    border-radius: 22px;

    display: flex;

    gap: 18px;

    border: 1px solid transparent;

    transition: var(--transition);

    overflow: hidden;
}


.why-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow-md);

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


.why-number {

    position: absolute;

    top: 20px;

    right: 25px;

    font-size: 38px;

    font-weight: 800;

    color: rgba(59,194,241,.10);
}


.why-icon {

    flex: 0 0 54px;

    width: 54px;

    height: 54px;

    border-radius: 15px;

    background: var(--primary-light);

    color: var(--primary-dark);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 21px;
}


.why-card h4 {

    font-size: 18px;

    margin-bottom: 8px;
}


.why-card p {

    font-size: 13px;

    line-height: 1.7;

    margin: 0;
}



/* =========================================================
   GALLERY
========================================================= */

/* =========================================================
   GALLERY
========================================================= */

.gallery-section {
    background: var(--white);
}


.gallery-card {
    position: relative;

    width: 100%;

    padding: 0;
    margin: 0;

    border: 0;

    border-radius: 22px;

    overflow: hidden;

    background: var(--white);

    box-shadow: var(--shadow-sm);

    cursor: zoom-in;

    transition: var(--transition);

    text-align: left;
}


.gallery-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow-md);
}


/* =========================================================
   IMAGE
========================================================= */

.gallery-card img {
    display: block;

    width: 100%;
    height: auto;

    max-width: 100%;

    object-fit: initial;

    object-position: initial;

    transition: transform .6s ease;
}


.gallery-card:hover img {
    transform: scale(1.03);
}


/* =========================================================
   CAPTION
========================================================= */

.gallery-caption {
    position: absolute;

    left: 15px;
    right: 15px;
    bottom: 15px;

    background: rgba(17, 17, 17, .75);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    color: var(--white);

    border-radius: 12px;

    padding: 12px 15px;

    font-size: 14px;

    line-height: 1.5;

    z-index: 2;

    pointer-events: none;
}


/* =========================================================
   SWIPER
========================================================= */

.gallerySwiper {
    padding-bottom: 50px;
}


.gallerySwiper .swiper-slide {
    height: auto;
}


.gallerySwiper .swiper-wrapper {
    align-items: flex-start;
}


.gallerySwiper .swiper-pagination-bullet-active {
    background: var(--primary);
}


/* =========================================================
   KEYBOARD ACCESSIBILITY
========================================================= */

.gallery-card:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .gallery-card {
        border-radius: 18px;
    }


    .gallery-caption {
        left: 10px;
        right: 10px;
        bottom: 10px;

        padding: 10px 12px;

        font-size: 13px;
    }

}


/* =========================================================
   GALLERY LIGHTBOX
========================================================= */

.gallery-image-open {
    position: relative;

    display: block;

    width: 100%;
    height: 280px;

    padding: 0;
    margin: 0;

    border: 0;

    background: #f5f5f5;

    cursor: zoom-in;

    overflow: hidden;

    text-align: left;
}


.gallery-image-open img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;
}


.gallery-image-open:hover img {
    transform: scale(1.08);
}


/* Keep overlay working */

.gallery-image-open .gallery-page-overlay {
    pointer-events: none;
}


.gallery-image-open:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}


/* =========================================================
   LIGHTBOX
========================================================= */

.gallery-lightbox {
    width: 100%;
    height: 100%;

    max-width: none;
    max-height: none;

    padding: 30px;

    margin: 0;

    border: 0;

    background: rgba(0, 0, 0, 0.92);

    overflow: hidden;
}


/* Dark fullscreen backdrop */

.gallery-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.92);
}


/* Main container */

.gallery-lightbox-inner {
    position: relative;

    width: 100%;
    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 15px;
}


/* =========================================================
   FULL IMAGE
========================================================= */

.gallery-lightbox-image-wrap {
    width: 100%;
    height: calc(100vh - 100px);

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;
}


.gallery-lightbox-image-wrap img {
    display: block;

    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 8px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.gallery-lightbox-close {
    position: fixed;

    top: 20px;
    right: 25px;

    z-index: 20;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);

    color: #fff;

    font-size: 20px;

    cursor: pointer;

    transition: var(--transition);
}


.gallery-lightbox-close:hover {
    background: var(--primary);

    transform: rotate(90deg);
}


/* =========================================================
   TITLE
========================================================= */

.gallery-lightbox-title {
    color: #fff;

    font-size: 16px;

    font-weight: 600;

    text-align: center;

    max-width: 800px;

    padding: 0 20px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .gallery-image-open {
        height: 230px;
    }


    .gallery-lightbox {
        padding: 15px;
    }


    .gallery-lightbox-image-wrap {
        height: calc(100vh - 80px);
    }


    .gallery-lightbox-close {
        top: 12px;
        right: 12px;

        width: 42px;
        height: 42px;

        font-size: 18px;
    }


    .gallery-lightbox-title {
        font-size: 14px;
    }

}
/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .gallery-card {
        border-radius: 18px;
    }

    .gallery-card img {
        width: 100%;
        height: auto;
    }

    .gallery-caption {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 10px 12px;
        font-size: 13px;
    }
}

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

.testimonial-section {

    background: var(--light);
}


.testimonialSwiper {

    padding: 10px 5px 55px;
}


.testimonial-card {

    background: var(--white);

    border-radius: 24px;

    padding: 35px;

    box-shadow: var(--shadow-sm);

    position: relative;

    height: 100%;
}


.testimonial-stars {

    color: #F6B800;

    font-size: 13px;

    margin-bottom: 18px;
}


.testimonial-quote {

    position: absolute;

    right: 30px;

    top: 25px;

    color: var(--primary-light);

    font-size: 40px;
}


.testimonial-card > p {

    font-size: 15px;

    line-height: 1.8;

    margin-bottom: 25px;
}


.testimonial-user {

    display: flex;

    align-items: center;

    gap: 12px;
}


.testimonial-user img,
.testimonial-avatar {

    width: 48px;

    height: 48px;

    border-radius: 50%;

    object-fit: cover;
}


.testimonial-avatar {

    background: var(--primary-light);

    color: var(--primary-dark);

    display: flex;

    align-items: center;

    justify-content: center;
}


.testimonial-user strong {

    display: block;

    color: var(--dark);
}


.testimonial-user small {

    color: var(--muted);
}



/* =========================================================
   SYMPTOMS
========================================================= */

.symptoms-section {

    background: var(--white);
}


.symptom-card {

    background: var(--light);

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

    border-radius: 20px;

    padding: 28px;

    height: 100%;

    position: relative;

    transition: var(--transition);
}


.symptom-card:hover {

    /* background: var(--white); */
    background: #4a28d3; 
    color: #ffffff; 
    h4 {
        color: #ffffff;
    }
    box-shadow: var(--shadow-md);

    transform: translateY(-6px);
}


.symptom-icon {

    width: 65px;

    height: 65px;

    border-radius: 15px;

    background: var(--primary-light);

    color: var(--primary-dark);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 32px;

    margin-bottom: 20px;
}


.symptom-card h4 {

    font-size: 18px;

    margin-bottom: 9px;
}


.symptom-card p {

    font-size: 13px;

    line-height: 1.7;

    margin: 0;

    padding-right: 25px;
}


.symptom-card > a {

    position: absolute;

    right: 25px;

    bottom: 25px;

    width: 34px;

    height: 34px;

    border-radius: 50%;

    background: var(--primary);

    color: var(--white);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 11px;
}



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

.appointment-cta {

    padding: 40px 0 100px;

    background: var(--white);
}


.cta-box {

    background:
        linear-gradient(
            135deg,
            var(--dark),
            #203847
        );

    border-radius: 30px;

    padding: 60px;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;
}


.cta-content {

    position: relative;

    z-index: 2;

    max-width: 750px;
}


.cta-content .section-label {

    color: var(--primary);
}


.cta-content h2 {

    color: var(--white);

    font-size: clamp(30px, 4vw, 45px);

    line-height: 1.2;

    margin-bottom: 16px;
}


.cta-content p {

    color: rgba(255,255,255,.7);

    line-height: 1.8;

    margin-bottom: 25px;
}


.cta-buttons {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}


.btn-light {

    border-radius: 12px;

    padding: 13px 22px;

    font-weight: 700;
}


.cta-phone-btn {

    color: var(--white);

    border: 1px solid rgba(255,255,255,.25);

    border-radius: 12px;

    padding: 13px 22px;

    font-weight: 700;
}


.cta-phone-btn:hover {

    background: var(--primary);

    color: var(--white);

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


.cta-icon {

    position: absolute;

    right: 70px;

    bottom: -40px;

    font-size: 230px;

    color: rgba(59,194,241,.08);

    transform: rotate(-8deg);
}



/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .hero-slide {

        min-height: 600px;
    }


    .about-image img {

        height: 450px;
    }


    .stat-item {

        border-bottom: 1px solid rgba(255,255,255,.1);
    }


    .stat-item:nth-child(2) {

        border-right: 0;
    }


    .cta-box {

        padding: 45px;
    }

}


@media (max-width: 767px) {

    .section-padding {

        padding: 70px 0;
    }


    .hero-slide {

        min-height: 570px;
    }


    .hero-content {

        padding: 70px 0;
    }


    .hero-content h1 {

        font-size: 40px;
    }


    .hero-content p {

        font-size: 15px;
    }


    .about-image-wrap {

        padding-right: 10px;

        padding-bottom: 20px;
    }


    .about-image img {

        height: 400px;
    }


    .about-experience {

        left: 0;

        bottom: 20px;
    }


    .stat-item {

        justify-content: flex-start;

        padding: 15px;
    }


    .stat-item h3 {

        font-size: 22px;
    }


    .service-card {

        width: 285px;
    }


    .cta-box {

        padding: 35px 25px;

        border-radius: 22px;
    }


    .cta-icon {

        display: none;
    }

}


@media (max-width: 575px) {

    .hero-buttons {

        flex-direction: column;

        align-items: flex-start;
    }


    .hero-buttons .btn {

        width: 100%;

        text-align: center;
    }


    .stat-icon {

        width: 42px;

        height: 42px;

        font-size: 16px;
    }


    .stat-item h3 {

        font-size: 19px;
    }


    .stat-item p {

        font-size: 10px;
    }


    .testimonial-card {

        padding: 25px;
    }


    .why-card {

        padding: 25px;
    }

}


/* =========================================================
   FLOATING WHATSAPP BUTTON
========================================================= */

.floating-whatsapp {
    position: fixed;
    left: 22px;
    bottom: 22px;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25D366;
    color: #fff;

    border-radius: 50%;

    text-decoration: none;

    font-size: 24px;

    z-index: 9999;

    box-shadow:
        0 8px 25px rgba(37, 211, 102, 0.35);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;

    animation: whatsappPulse 2s infinite;
}

.floating-whatsapp:hover {
    color: #fff;
    background: #20bd5a;

    transform: translateY(-4px) scale(1.05);

    box-shadow:
        0 12px 32px rgba(37, 211, 102, 0.45);

    animation: none;
}


/* Tooltip */

.floating-whatsapp-tooltip {
    position: absolute;

    left: 65px;
    top: 50%;

    transform: translateY(-50%) translateX(-5px);

    background: #111;
    color: #fff;

    padding: 8px 13px;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;

    pointer-events: none;
}

.floating-whatsapp-tooltip::before {
    content: "";

    position: absolute;

    left: -6px;
    top: 50%;

    transform: translateY(-50%);

    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid #111;
}

.floating-whatsapp:hover .floating-whatsapp-tooltip {
    opacity: 1;
    visibility: visible;

    transform: translateY(-50%) translateX(0);
}


/* Pulse */

@keyframes whatsappPulse {

    0% {
        box-shadow:
            0 0 0 0 rgba(37, 211, 102, 0.45),
            0 8px 25px rgba(37, 211, 102, 0.30);
    }

    70% {
        box-shadow:
            0 0 0 14px rgba(37, 211, 102, 0),
            0 8px 25px rgba(37, 211, 102, 0.30);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(37, 211, 102, 0),
            0 8px 25px rgba(37, 211, 102, 0.30);
    }

}


/* Mobile */

@media (max-width: 767px) {

    .floating-whatsapp {
        left: 15px;
        bottom: 15px;

        width: 52px;
        height: 52px;

        font-size: 25px;
    }

    .floating-whatsapp-tooltip {
        display: none;
    }

}
