﻿
:root {
    --primary-color: #057cf2;
    --smooth-gray-forText: #2f2f2f;
    --medical-background-blue: #eef6fe
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    color: var(--smooth-gray-forText);
}






























.doc-hero-wrapper {
    /*    background-image: url(../Images/medicalBackground.jpg);
*/ background-repeat: no-repeat;
    background-color: var(--medical-background-blue);
    background-size: cover;
    margin: 0 auto 0 auto;
    padding: 3% 0 0 0;
}

@media screen and (min-width: 1900px) {
    /*set the padding to 50px if user make the page biger than 1900px to prevent too much padding*/
    .doc-hero-wrapper {
        padding: 50px 0 0 0;
    }
}

@media screen and (max-width: 770px) {
    .doc-hero-wrapper {
        padding: 50px 0;
    }
}



.doc-hero {
    max-width: 1200px;
    display: flex;
    flex-wrap: nowrap;
    height: auto;
    margin: 0 auto;
    padding: 0 15px;
}

@media screen and (max-width: 650px) {
    .doc-hero {
        flex-wrap: wrap;
    }
}







.hero-left {
    width: 60%;
}

@media screen and (max-width: 650px) {
    .hero-left {
        width: 100%;
    }
}






.hero-left-content {
    padding-top: 10%;
}
@media screen and (max-width: 650px) {
    .hero-left-content {
        padding-top: 0;
    }
}




.hero-left-buttons {
    padding: 6% 0 0 0;
}

@media screen and (max-width: 650px) {
    .hero-left-buttons {
        display: none;
    }
}








.hero-left-buttons-mob {
    padding: 5% 0 0 0;
    display: none;
}

@media screen and (max-width: 650px) {
    .hero-left-buttons-mob {
        display: flex;
        gap: 15px;
    }
}




/* Main Hero Title */
.hero-left-content p:nth-child(1) {
    font-size: clamp(2.2rem, 4.1vw, 3.8rem);
    line-height: 1.13;
    font-weight: 700;
    color: var(--smooth-gray-forText, #2f2f2f);
    padding: 0 0 0.5em 0;
    margin: 0;
    letter-spacing: -1.2px;
    background: none;
    position: relative;
    /* Subtle shadow for extra pop */
    text-shadow: 0 3px 12px #b8e1ff0e, 0 1.5px 3px #fff;
    line-height: clamp(2.8rem, 4.1vw, 3.8rem);
}

    .hero-left-content p:nth-child(1) span {
        font-weight: 800;
        color: var(--primary-color, #057cf2); /* fallback for browsers without gradient text */
        background: linear-gradient(90deg, #0152a0 0%, #057cf2 70%, #3bb7ff 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent; /* gradient text */
        text-shadow: none !important; /* remove blueish shadow */
        animation: heroSpanGlow 1.7s cubic-bezier(.47,1.64,.41,.8) 0.3s both;
        filter: none;
    }

@keyframes heroSpanGlow {
    0% {
        filter: brightness(2.2) blur(4px);
    }

    100% {
        filter: none;
    }
}

/* Hero Description */
.hero-left-content p:nth-child(2) {
    font-weight: 500;
    font-size: clamp(16px, 1.2vw, 18px);
    padding: 0.35em 0 0 0;
    max-width: 85%;
    color: #466179;
    opacity: 0.93;
    letter-spacing: 0.01em;
    margin-bottom: 0.7em;
    background: none;
    /* Soft shadow for subtle depth */
    text-shadow: 0 1.5px 6px #b8e1ff19;
    /* Optional: slightly lighter for high-end look */
    /* filter: brightness(1.06); */
}

/* Responsive: Center on mobile */
@media screen and (max-width: 650px) {
    .hero-left-content p:nth-child(1),
    .hero-left-content p:nth-child(2) {
        text-align: center;
        margin:auto;
    }
}



.hero-right {
    width: 40%;
}

@media screen and (max-width: 650px) {
    .hero-right {
        display: none;
    }
}

.hero-right-content {
    position: relative;
    padding-top: 0;
    display: flex;
    justify-content: center;
}

    .hero-right-content img {
        position: relative;
        display: block !important;
        width: 70%;
        height: auto;
        object-fit: cover;
        z-index: 1;
    }



.hero-doc-big-icon1 {
    position: absolute;
    top: 50%;
    left: -15%;
    width: 12%;
    height: 70px;
    background-image: url(../Images/doc-hero-icon1.svg);
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 2;
}

.hero-doc-big-icon2 {
    position: absolute;
    top: 10%;
    left: 85%;
    width: 12%;
    height: 70px;
    background-image: url(../Images/doc-hero-icon2.svg);
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 2;
}


.hero-doc-big-icon3 {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 12%;
    height: 70px;
    background-image: url(../Images/doc-hero-icon3.svg);
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 2;
}

.doc-panel {
    position: absolute;
    width: 70%;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5); /* semi-transparent */
    backdrop-filter: blur(0.5px); /* blur the background */
    -webkit-backdrop-filter: blur(0.5px); /* for Safari */
    background-color: #ffffff8f;
    outline: 1px solid #fff;
    padding: 20px 35px;
    opacity: 0;
    /* Initial hidden state for animation */
}

/* Animation class to trigger the panel animation */
.animate-doc-panel {
    animation: docPanelFadeInUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

/* Keyframes for fade in up animation */
@keyframes docPanelFadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 40%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}


.doc-stars {
    display: block;
    width: 90px;
    height: 25px;
    background: url('../Images/5_stars.svg') no-repeat center / 100% 100%;
}

.doc-name {
    font-size: clamp(10px, 0.9vw, 14px);
    font-weight: 600;
    color: var(--primary-color);
    padding-top: 1%;
}

.doc-title {
    font-size: clamp(10px, 0.6vw, 11px);
    font-weight: 600;
    color: #6f6a6a;
}

.doc-des {
    font-size: clamp(10px, 0.8vw, 11px);
    font-weight: 600;
    padding-top: 10px;
}

/* Initial hidden state for animated elements */
.hero-left-content,
.hero-doc-big-icon1,
.hero-doc-big-icon2,
.hero-doc-big-icon3,
.hero-right-content img {
    opacity: 0;
}

/* Animation classes that will be added via JavaScript */
.animate-hero-left {
    animation: fadeInUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.animate-hero-img {
    animation: fadeInRight 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s forwards;
}

.animate-icon1 {
    animation: fadeInZoom 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.4s forwards;
}

.animate-icon2 {
    animation: fadeInZoom 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.6s forwards, heartbeat 1.2s cubic-bezier(0.4, 0, 0.6, 1) 1.2s 2;
}


.animate-icon3 {
    animation: fadeInZoom 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.8s forwards;
}

/* Keyframe animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInZoom {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}





/* Add this to your existing CSS */
@keyframes textShake {
    0%, 100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-2px);
    }

    40% {
        transform: translateX(2px);
    }

    60% {
        transform: translateX(-2px);
    }

    80% {
        transform: translateX(2px);
    }
}




/* Make TypeIt cursor thicker and more visible */
.ti-cursor {
    color: var(--primary-color, #057cf2);
    opacity: 0.7;
    font-weight: 700;
    font-size: 1em;
    border-right: 4px solid var(--primary-color, #057cf2); /* Thicker cursor */
    background: none;
    /* Hide the default text "pipe" if it exists */
    /* Optionally, force width for even thicker look: */
    width: 1.5em;
    animation: blink-fade 1s steps(1, end) infinite;
}

@keyframes blink-fade {
    0%, 100% {
        opacity: 0.7;
    }

    50% {
        opacity: 0.18;
    }
}




































.doctor-floating-container {
    display:none;
    position: relative;
    width: 100vw;
    max-width: 100%;
    min-height: 360px;
    height: 75vw;
    max-height: 480px;
    min-height:480px;
    margin: 0 auto;
    background: #fff;
    align-items: flex-end;
    justify-content: center;
    z-index: 2;
    border-bottom: 3px solid #057cf241;
    overflow:hidden;
    z-index: 2;
}

@media screen and (max-width: 650px){
    .doctor-floating-container{
        display:flex;
    }
}





/* Doctor photo in the center */
.doctor-photo {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 250px;
    z-index: 3;
    filter: drop-shadow(0 4px 18px rgb(60, 90, 150, 0.29));
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
    background: transparent;
}



.doctor-back1{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-image:url(../Images/doctorBack1.svg);
    background-position:center 100px;
    background-repeat:no-repeat;
    background-size:70%;
    z-index:1;
    opacity:0.2;
    
}




/* Animated floating icons */
ul.floatingIcons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 1;
    pointer-events: none;
}

    ul.floatingIcons li {
        position: absolute;
        bottom: -8rem;
        opacity: 0.8;
        animation: iconFloat 18s linear infinite;
        display: flex;
        align-items: center;
        justify-content: center;
    }
        /* Different icon sizes and positions */
        ul.floatingIcons li:nth-child(1) {
            width: 45px;
            height: 45px;
            left: 12%;
            animation-delay: 0s;
            animation-duration: 14s;
        }

        ul.floatingIcons li:nth-child(2) {
            width: 32px;
            height: 32px;
            left: 28%;
            animation-delay: 4s;
            animation-duration: 13s;
        }

        ul.floatingIcons li:nth-child(3) {
            width: 38px;
            height: 38px;
            left: 50%;
            animation-delay: 2s;
            animation-duration: 12s;
        }

        ul.floatingIcons li:nth-child(4) {
            width: 29px;
            height: 29px;
            left: 64%;
            animation-delay: 5s;
            animation-duration: 11s;
        }

        ul.floatingIcons li:nth-child(5) {
            width: 42px;
            height: 42px;
            left: 80%;
            animation-delay: 1s;
            animation-duration: 16s;
        }

        ul.floatingIcons li:nth-child(6) {
            width: 38px;
            height: 38px;
            left: 36%;
            animation-delay: 7s;
            animation-duration: 15s;
        }

        ul.floatingIcons li:nth-child(7) {
            width: 34px;
            height: 34px;
            left: 72%;
            animation-delay: 3s;
            animation-duration: 18s;
        }

        ul.floatingIcons li:nth-child(8) {
            width: 28px;
            height: 28px;
            left: 22%;
            animation-delay: 6s;
            animation-duration: 13.5s;
        }

        ul.floatingIcons li:nth-child(9) {
            width: 40px;
            height: 40px;
            left: 60%;
            animation-delay: 9s;
            animation-duration: 14.5s;
        }

        ul.floatingIcons li:nth-child(10) {
            width: 31px;
            height: 31px;
            left: 87%;
            animation-delay: 2s;
            animation-duration: 12.5s;
        }

@keyframes iconFloat {
    0% {
        transform: translateY(0) scale(0.95) rotate(0deg);
        opacity: 0;
    }

    12% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) scale(1.15) rotate(360deg);
        opacity: 0;
    }
}
/* Responsive for small screens */
@media (max-width: 480px) {
    .doctor-floating-container {
        max-width: 98vw;
        height: 75vw;
    }

    .doctor-photo {
        width: 46vw;
        max-width: 150px;
    }
}













































































/* Doctor Profile Section */
.doctor-profile-section {
    background: #fff;
    padding: 50px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.doc-profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
    position: relative;
}

    .section-title span {
        color: var(--primary-color);
        position: relative;
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: var(--primary-color);
    }

.doc-profile-content {
    display: flex;
    gap: 40px;
}

.doc-profile-left, .doc-profile-right {
    flex: 1;
}

.doc-profile-text p {
    font-size: clamp(1rem, 1.1vw, 1.1rem);
    line-height: 1.8;
    margin-bottom: 25px;
    color: #555;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

    .doc-profile-text p.visible {
        opacity: 1;
        transform: translateY(0);
    }

.doc-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.doc-stat-card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

    .doc-stat-card.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .doc-stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

.stat-number {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: clamp(0.85rem, 1vw, 1rem);
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .doc-profile-content {
        flex-direction: column;
    }

    .doc-stats-grid {
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .doc-stats-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }
}
























































/* Care Section Styles */
.doc-care-section {
    padding: 80px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.doc-care-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 50px;
}

.doc-care-left {
    flex: 1;
    min-width: 300px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.doc-care-right {
    flex: 1;
    min-width: 300px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.2s; /* Delayed start */
}

.doc-care-title {
    font-size: 2.5rem;
    line-height: 1.2;
    color: #2a4365;
    margin-bottom: 20px;
    font-weight: 500;
}

    .doc-care-title span {
        color: var(--primary-color);
        display: block;
        font-weight: 500;
    }

.doc-care-description {
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 30px;
    max-width: 90%;
}

.doc-care-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: scale(0.95);
    transition: transform 0.8s ease-out 0.4s; /* Additional scale animation */
}

/* Animation when section is in view */
.doc-care-section.in-view .doc-care-left,
.doc-care-section.in-view .doc-care-right {
    opacity: 1;
    transform: translateY(0);
}

.doc-care-section.in-view .doc-care-image img {
    transform: scale(1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .doc-care-container {
        gap: 30px;
    }

    .doc-care-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .doc-care-container {
        flex-direction: column;
    }

    .doc-care-left, .doc-care-right {
        width: 100%;
    }

    .doc-care-description {
        max-width: 100%;
    }

    .doc-care-image img {
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 480px) {
    .doc-care-title {
        font-size: 1.8rem;
    }

    .doc-care-description {
        font-size: 1rem;
    }
}




























/* Services Section Styles */
.doc-services-section {
    padding: 5% 0 9% 0;
    background-color: var(--medical-background-blue);
    overflow: hidden;
}

.doc-services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.doc-services-title {
    font-size: clamp(18px, 4vw, 36px);
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

    .doc-services-title span {
        display: block;
        color: var(--smooth-gray-forText);
        font-weight: 500;
        font-size: clamp(18px, 4vw, 36px);
    }

.doc-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    column-gap: 10%;
    row-gap: 10%;
    perspective: 1000px; /* For 3D effect */
}

.doc-service-card {
    display: flex;
    gap: 20px;
    padding: 5% 4%;
    border-radius: 10px;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    opacity: 0;
    transform: rotateY(20deg) translateY(30px) scale(0.95);
    transform-origin: center bottom;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

    .doc-service-card:nth-child(1) {
        transition-delay: 0.1s;
    }

    .doc-service-card:nth-child(2) {
        transition-delay: 0.2s;
    }

    .doc-service-card:nth-child(3) {
        transition-delay: 0.3s;
    }

    .doc-service-card:nth-child(4) {
        transition-delay: 0.4s;
    }

    .doc-service-card:hover {
        transform: translateY(-5px) rotateY(0deg) !important;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

.doc-service-icon {
    flex: 0 0 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(0);
}

    .doc-service-icon img {
        width: clamp(80px, 5vw, 80px);
        height: auto;
        transform: translate(-70%, 35%);
        transition: transform 0.3s ease;
    }

@media (max-width: 1300px) {
    .doc-service-icon img {
        transform: translate(0, 35%);
    }
}

.doc-service-content {
    flex: 1;
    transform: translateZ(0);
}

.doc-service-name {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.doc-service-description {
    font-size: 1rem;
    color: var(--smooth-gray-forText);
    line-height: 1.6;
}

/* Animation when section is in view */
.doc-services-section.in-view .doc-services-title {
    opacity: 1;
    transform: translateY(0);
}

.doc-services-section.in-view .doc-service-card {
    opacity: 1;
    transform: rotateY(0deg) translateY(0) scale(1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .doc-services-grid {
        gap: 20px;
    }

    .doc-service-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .doc-services-grid {
        grid-template-columns: 1fr;
    }

    .doc-service-card {
        padding: 20px;
    }

        /* Adjust animation delays for mobile */
        .doc-service-card:nth-child(1) {
            transition-delay: 0.1s;
        }

        .doc-service-card:nth-child(2) {
            transition-delay: 0.2s;
        }

        .doc-service-card:nth-child(3) {
            transition-delay: 0.3s;
        }

        .doc-service-card:nth-child(4) {
            transition-delay: 0.4s;
        }
}


























/* --- MEDICAL TEAM SLIDER - HIGH IMPACT VERTICAL DESIGN --- */

/* --- Main Wrapper --- */
.medical-team-slider-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5% 15px 5% 15px;
    font-family: 'Poppins', 'Arial', sans-serif;
    background: linear-gradient(120deg, #eef6fe 60%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: 0 12px 40px 0 rgba(5, 124, 242, 0.08), 0 2px 6px 0 rgba(5, 124, 242, 0.06);
    position: relative;
    overflow: visible;
    z-index: 1;
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: all 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

    /* Animate in view */
    .medical-team-slider-wrapper.in-view {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    /* Decorative blurred background shapes */
    .medical-team-slider-wrapper::before,
    .medical-team-slider-wrapper::after {
        content: '';
        position: absolute;
        z-index: 0;
        border-radius: 50%;
        filter: blur(40px);
        opacity: 0.14;
        pointer-events: none;
    }

    .medical-team-slider-wrapper::before {
        width: 260px;
        height: 260px;
        left: -90px;
        top: -70px;
        background: radial-gradient(circle at 60% 20%, #057cf2 60%, #eef6fe 100%);
    }

    .medical-team-slider-wrapper::after {
        width: 180px;
        height: 180px;
        right: -70px;
        bottom: -100px;
        background: radial-gradient(circle at 30% 60%, #057cf2 60%, #eef6fe 100%);
    }

/* --- Slider Section Header (Optional) --- */
.medical-team-slider-header {
    text-align: center;
    margin-bottom: 2.8rem;
    position: relative;
    z-index: 2;
}

    .medical-team-slider-header .title {
        font-size: clamp(2rem, 3.5vw, 2.5rem);
        font-weight: 700;
        color: var(--primary-color, #057cf2);
        margin-bottom: 0.4rem;
    }

    .medical-team-slider-header .subtitle {
        font-size: 1.2rem;
        color: #4b5563;
        margin-bottom: 0;
    }

/* --- Splide Slider Styles --- */
.medical-team-slider.splide {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}

/* --- Splide Track (allows hover pop effect to be visible) --- */
.medical-team-slider .splide__track {
    padding-top: 32px !important;
    padding-bottom: 24px !important;
    background: transparent;
    box-sizing: border-box;
    overflow: hidden;
}

/* --- Splide List --- */
.medical-team-slider .splide__list {
    margin-top: -16px !important;
    margin-bottom: -8px !important;
}

/* --- Slide Card --- */
.medical-team-slider .splide__slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 430px;
    padding: 2.5rem 1.3rem 2.1rem 1.3rem;
    background: linear-gradient(140deg, #057cf2 80%, #0597f2 100%);
    border-radius: 22px;
    box-shadow: 0 6px 24px rgba(5, 124, 242, 0.13), 0 1.5px 7px rgba(5,124,242,0.09);
    cursor: grab;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s, background 0.8s;
    opacity: 0;
    transform: scale(0.93) translateY(24px);
    z-index: 2;
    overflow: visible;
}

/* Animate slides in view with staggered delays */
.medical-team-slider-wrapper.in-view .splide__slide {
    opacity: 1;
    transform: scale(1) translateY(0);
}

    .medical-team-slider-wrapper.in-view .splide__slide:nth-child(1) {
        transition-delay: 0.13s;
    }

    .medical-team-slider-wrapper.in-view .splide__slide:nth-child(2) {
        transition-delay: 0.22s;
    }

    .medical-team-slider-wrapper.in-view .splide__slide:nth-child(3) {
        transition-delay: 0.31s;
    }

    .medical-team-slider-wrapper.in-view .splide__slide:nth-child(4) {
        transition-delay: 0.40s;
    }

    .medical-team-slider-wrapper.in-view .splide__slide:nth-child(5) {
        transition-delay: 0.49s;
    }

/* Slide hover effect */
.medical-team-slider .splide__slide:hover {
    background: linear-gradient(120deg, #0597f2 80%, #3bb7ff 100%);
    transform: translateY(-14px) scale(1.025) !important;
    box-shadow: 0 14px 32px 0 rgba(5, 124, 242, 0.17), 0 4px 14px rgba(5,124,242,0.13);
    z-index: 3;
}

/* --- Profile Image Container: Vertical Rectangle --- */
.medical-team-slider .staff-image-container {
    width: 180px;
    height: 240px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 1.1rem;
    border: 5px solid #eef6fe;
    background: linear-gradient(140deg,#fff 60%,#e3f0ff 100%);
    box-shadow: 0 3px 16px 0 rgba(5, 124, 242, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: border-color 0.3s, box-shadow 0.4s;
}

.medical-team-slider .splide__slide:hover .staff-image-container {
    border-color: #ffffff;
    box-shadow: 0 8px 32px 0 rgba(5,124,242,0.18);
    animation: popImage 0.4s cubic-bezier(.22,.68,.44,1.01);
}

@keyframes popImage {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }

    100% {
        transform: scale(1);
    }
}

/* --- Image fits vertical rectangle --- */
.medical-team-slider .staff-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    background: #fff;
    border: none;
    box-shadow: none;
    transition: transform 0.5s, box-shadow 0.3s;
}

.medical-team-slider .splide__slide:hover .staff-image {
    transform: scale(1.07) rotate(-2.5deg);
    box-shadow: 0 8px 24px rgba(5,124,242,0.20);
}

/* --- Stars Badge --- */
.medical-team-slider .stars {
    width: 110px;
    height: 26px;
    margin-bottom: 0.8rem;
    transition: transform 0.22s;
    filter: drop-shadow(0 1px 1.5px #fff8);
}

.medical-team-slider .splide__slide:hover .stars {
    transform: scale(1.12) rotate(-2deg);
    filter: drop-shadow(0 3px 3px #e6f2ff88);
}

/* --- Staff Name --- */
.medical-team-slider .staff-name {
    font-weight: 700;
    color: #eef6fe;
    margin-bottom: 0.19rem;
    font-size: 1.25rem;
    letter-spacing: 0.01em;
    text-shadow: 0 1.5px 4px #057cf236;
    transition: color 0.4s, text-shadow 0.3s;
    position: relative;
}

.medical-team-slider .splide__slide:hover .staff-name {
    color: #fff;
    animation: textShake 0.7s;
    text-shadow: 0 3px 10px #3bb7ff66, 0 2px 5px #0597f2aa;
}

/* --- Staff Title --- */
.medical-team-slider .staff-title {
    color: #e3f0ff;
    font-size: 1.02rem;
    font-weight: 500;
    opacity: 0.94;
    margin-bottom: 0.3rem;
    transition: color 0.3s;
    letter-spacing: 0.03em;
}

.medical-team-slider .splide__slide:hover .staff-title {
    color: #fff;
    opacity: 1;
}

/* --- Slide Gradient Accent Line --- */
.medical-team-slider .splide__slide::after {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    border-radius: 3px;
    background: linear-gradient(90deg, #eef6fe 0%, #3bb7ff 100%);
    margin: 0.65rem auto 0 auto;
    opacity: 0.58;
    transition: opacity 0.3s;
}

.medical-team-slider .splide__slide:hover::after {
    opacity: 1;
}

/* --- Keyframes for Name Shake --- */
@keyframes textShake {
    0%, 100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-2px);
    }

    40% {
        transform: translateX(2px);
    }

    60% {
        transform: translateX(-2px);
    }

    80% {
        transform: translateX(2px);
    }
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .medical-team-slider .splide__slide {
        min-height: 350px;
        padding: 1.8rem 0.8rem 1.2rem 0.8rem;
    }

    .medical-team-slider .staff-image-container {
        width: 140px;
        height: 190px;
    }
}

@media (max-width: 650px) {
    .medical-team-slider-wrapper {
        max-width: 99vw;
        padding: 7vw 0 7vw 0;
        border-radius: 13px;
    }

    .medical-team-slider .splide__slide {
        min-height: 260px;
        padding: 1.2rem 0.2rem 1rem 0.2rem;
        box-shadow: 0 3px 16px rgba(5,124,242,0.10);
    }

    .medical-team-slider .staff-image-container {
        width: 120px;
        height: 160px;
    }
}
/* On mobile, animations fire all at once for performance */
@media (max-width: 768px) {
    .medical-team-slider-wrapper.in-view .splide__slide {
        transition-delay: 0.13s !important;
    }
}




















































.excellence-section {
    background-color: white;
    padding: 80px 0;
    overflow: hidden;
}

.excellence-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 0 20px;
}

.excellence-image-wrapper {
    position: relative;
    flex: 1;
    min-width: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateX(-50px);
    opacity: 0;
    transition: all 0.8s ease;
}

    .excellence-image-wrapper.animated {
        transform: translateX(0);
        opacity: 1;
    }

.excellence-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.excellence-image-wrapper:hover .excellence-image {
    transform: scale(1.03);
}

/* Desktop button */
.excellence-image-wrapper .fly-btn {
    position: absolute;
    right: 30px;
    bottom: 30px;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.3s;
}

.excellence-image-wrapper.animated .fly-btn {
    transform: translateY(0);
    opacity: 1;
}

/* Mobile button - hidden by default */
.excellence-image-wrapper .fly-btn-mob {
    display: none;
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: auto;
    padding-right: 65px;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.3s;
}

.excellence-image-wrapper.animated .fly-btn-mob {
    transform: translateY(0);
    opacity: 1;
}

.excellence-content {
    flex: 1;
    transform: translateX(50px);
    opacity: 0;
    transition: all 0.8s ease 0.2s;
}

    .excellence-content.animated {
        transform: translateX(0);
        opacity: 1;
    }

.excellence-title {
    color: var(--primary-color);
    font-size: clamp(18px, 4vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.excellence-description {
    color: var(--smooth-gray-forText);
    font-size: clamp(12px, 2vw, 18px);
    line-height: 1.6;
    margin-bottom: 30px;
}

.excellence-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.excellence-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #334155;
    font-size: clamp(11px, 1.2vw, 16px);
    line-height: 1.5;
}

.feature-tick {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .excellence-container {
        flex-direction: column;
        gap: 40px;
    }

    .excellence-image-wrapper {
        min-width: 100%;
    }

    
}

@media (max-width: 650px) {
    /* Hide desktop button and show mobile button */
    .excellence-image-wrapper .fly-btn {
        display: none;
    }

    .excellence-image-wrapper .fly-btn-mob {
        display: flex;
    }
}

@media (max-width: 576px) {
   

    .excellence-image-wrapper .fly-btn-mob {
        font-size: 14px;
    }
}















































.wellness-section {
    position: relative;
    background-color: white;
    padding: 80px 0 0 0;
    overflow: visible;
    z-index: 2;
}

.wellness-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.wellness-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

    .wellness-header.animated {
        opacity: 1;
        transform: translateY(0);
    }

.wellness-title {
    color: var(--primary-color);
    font-size: clamp(18px, 4vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.wellness-description {
    color: var(--smooth-gray-forText);
    font-size: clamp(12px, 2vw, 18px);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 30px;
}

.wellness-button-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

    .wellness-button-wrapper.animated {
        opacity: 1;
        transform: translateY(0);
    }

.wellness-button-desktop {
    display: block;
}

.wellness-button-mobile {
    display: none;
}

.testimonials-header {
    text-align: center;
    opacity: 0;
    transform:translateY(30px);
    transition: all 0.8s ease 0.4s;
}

    .testimonials-header.animated {
        transform: translateY(0);
        opacity: 1;
    }

.testimonials-title {
    color: var(--primary-color);
    font-size: clamp(18px, 4vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.testimonials-description {
    color: var(--smooth-gray-forText);
    font-size: clamp(12px, 2vw, 18px);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

















.testimonial-wrapper {
    position: relative;
    z-index: 1;
    padding-bottom:8%;
}





































































/* ===== Enhanced Fly Buttons ===== */
.fly-btn, .fly-btn-white {
    font-family: "Poppins", sans-serif;
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 10px 30px;
    border-radius: 20px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: visible;
    text-decoration: none;
    margin-right: 35px; /* Space for the circle */
}

.fly-btn {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.25);
}

.fly-btn-white {
    background-color: white;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

    /* Circle with arrow */
    .fly-btn span, .fly-btn-white span {
        position: absolute;
        width: 40px;
        height: 40px;
        top: calc(50% - 20px);
        right: -20px;
        border-radius: 50%;
        background-size: 13px;
        background-repeat: no-repeat;
        background-position: center center;
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

.fly-btn span {
    background-color: var(--primary-color);
    background-image: url(../Images/white_arrow.svg);
    outline: 2px solid rgba(255, 255, 255, 0.5);
}

.fly-btn-white span {
    background-color: white;
    background-image: url(../Images/blue_arrow.svg);
    outline: 2px solid rgba(66, 153, 225, 0.5);
}

/* Hover Effects */
.fly-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(66, 153, 225, 0.35);
}

.fly-btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Arrow animation on hover */
.fly-btn:hover span {
    transform: translateX(5px);
    outline: 2px solid rgba(255, 255, 255, 0.8);
}

.fly-btn-white:hover span {
    transform: translateX(5px);
    outline: 2px solid rgba(66, 153, 225, 0.8);
}

/* Ripple effect */
.fly-btn::after, .fly-btn-white::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.fly-btn:hover::after, .fly-btn-white:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Disabled State */
.fly-btn:disabled, .fly-btn-white:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

    .fly-btn:disabled span, .fly-btn-white:disabled span {
        transform: none !important;
    }

/* For disabled state, the SVG colors should be:
   - fly-btn: keep white arrow (no change needed)
   - fly-btn-white: arrow should be #94a3b8 (a medium gray)
   You'll need to provide a gray version of your blue arrow SVG
*/

/* Active/Pressed State */
.fly-btn:active, .fly-btn-white:active {
    transform: translateY(1px) !important;
    transition: all 0.1s ease;
}























/* ===== Mobile Fly Buttons ===== */
.fly-btn-mob, .fly-btn-white-mob {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 4% 4%;
    border-radius: 12px;
    border: none;
    font-size: clamp(12px, 14px, 16px);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    text-decoration: none;
}

.fly-btn-mob {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.25);
}

.fly-btn-white-mob {
    background-color: white;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--primary-color);
}

    /* Arrow for mobile buttons */
    .fly-btn-mob span, .fly-btn-white-mob span {
        position: absolute;
        right: 17px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background-size: 14px;
        background-repeat: no-repeat;
        background-position: center center;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.fly-btn-mob span {
    background-color: rgba(255, 255, 255, 0.2);
    background-image: url(../Images/white_arrow.svg);
}

.fly-btn-white-mob span {
    background-color: rgba(66, 153, 225, 0.1);
    background-image: url(../Images/blue_arrow.svg);
}

/* Hover Effects for mobile */
.fly-btn-mob:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(66, 153, 225, 0.3);
}

.fly-btn-white-mob:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Arrow animation on hover */
.fly-btn-mob:hover span {
    transform: translateX(4px);
    background-color: rgba(255, 255, 255, 0.3);
}

.fly-btn-white-mob:hover span {
    transform: translateX(4px);
    background-color: rgba(66, 153, 225, 0.2);
}

/* Disabled State for mobile */
.fly-btn-mob:disabled, .fly-btn-white-mob:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

    .fly-btn-mob:disabled span, .fly-btn-white-mob:disabled span {
        transform: none !important;
    }

/* Active State for mobile */
.fly-btn-mob:active, .fly-btn-white-mob:active {
    transform: translateY(1px) !important;
}



/* Animate left content */
.hero-left-content,
.hero-right-content img,
.hero-doc-big-icon1,
.hero-doc-big-icon2,
.hero-doc-big-icon3 {
    opacity: 0;
}

/* Animate left content in */
.animate-hero-left {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 1.1s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Animate doctor image */
.animate-hero-img {
    opacity: 1 !important;
    transform: scale(1) translateY(0) !important;
    transition: all 1.1s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Animate icons */
.animate-icon1,
.animate-icon2,
.animate-icon3 {
    opacity: 1 !important;
    transform: scale(1) translateY(0) !important;
    transition: all 1s cubic-bezier(0.22,0.61,0.36,1);
}

.animate-icon2 {
    animation: heartbeat 1.4s cubic-bezier(0.4,0,0.6,1) 0.7s 2;
}





















