﻿.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border: 1.5px solid var(--primary);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background: transparent;
    box-shadow: 0 4px 12px rgba(20,184,166,0.15);
    position: relative;
    overflow: hidden;
    cursor: default;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

    .hero-badge:hover {
        transform: translateY(-1.5px) scale(1.03);
        box-shadow: 0 6px 18px rgba(20,184,166,0.25);
    }

.heartbeat-icon-top {
    color: var(--primary);
    font-size: 14px;
    animation: heartbeat 1.5s infinite;
}

/* حركة نبض مستمرة */
@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.15);
    }
}


.hero-visual {
    position: relative;
    width: 480px;
    height: 480px;
    margin: auto;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.core-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: grid;
    place-items: center;
    font-size: 52px;
    color: var(--bg-white);
    z-index: 10;
    box-shadow: 0 0 60px rgba(20, 184, 166, 0.5), 0 20px 40px rgba(20, 184, 166, 0.3), inset 0 -5px 15px rgba(0, 0, 0, 0.1);
    animation: corePulse 3.5s cubic-bezier(.4,0,.2,1) infinite;
}

    .core-circle::before {
        content: '';
        position: absolute;
        inset: -8px;
        border-radius: 50%;
        background: inherit;
        filter: blur(20px);
        opacity: 0.6;
        z-index: -1;
        animation: pulse-aura 3s ease-in-out infinite;
    }

@keyframes pulse-aura {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.3;
    }
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 3px solid rgba(20, 184, 166, 0.25);
    z-index: 4;
    animation: spin linear infinite;
}

.ring-1 {
    width: 260px;
    height: 260px;
    animation-duration: 22s;
    border-style: dashed;
}

.ring-2 {
    width: 370px;
    height: 370px;
    animation-duration: 38s;
    animation-direction: reverse;
    border-color: rgba(6, 182, 212, 0.2);
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(20, 184, 166, 0.12);
    z-index: 2;
}

.orbit-1 {
    width: 410px;
    height: 410px;
    animation: spin 55s linear infinite;
}

.orbit-2 {
    width: 310px;
    height: 310px;
    animation: spin 35s linear infinite reverse;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    padding: 14px 24px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    z-index: 8;
    animation: float 7s ease-in-out infinite;
    border: 1px solid rgba(20, 184, 166, 0.15);
    transition: all 0.4s ease;
}

    .floating-card:hover {
        transform: translateY(-8px) scale(1.05);
        box-shadow: 0 20px 60px rgba(20, 184, 166, 0.25);
    }

    .floating-card i {
        color: var(--primary);
        font-size: 22px;
    }

.card-1 {
    top: 10%;
    left: 2%;
}

.card-2 {
    top: 6%;
    right: 2%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 4s;
}

.data-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 20px var(--primary), 0 0 40px rgba(20, 184, 166, 0.5);
    animation: blink 3.5s infinite;
}

.dot-1 {
    top: 22%;
    left: 50%;
}

.dot-2 {
    bottom: 32%;
    right: 18%;
    animation-delay: 1.2s;
}

.dot-3 {
    top: 62%;
    left: 12%;
    animation-delay: 2.4s;
}

.status-pill {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-white);
    padding: 10px 28px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 12;
    border: 1px solid rgba(20, 184, 166, 0.2);
}

.pulse {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(16, 185, 129, 0);
    }
}

@keyframes corePulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-24px);
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 0.25;
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

/* ================= SERVICES SECTION ================= */
.services-modern {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 50%, #ecfdf5 100%);
    position: relative;
    overflow: hidden;
}

    .services-modern::before {
        content: '';
        position: absolute;
        top: -200px;
        right: -200px;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 70%);
        border-radius: 50%;
        animation: morphing 15s ease-in-out infinite;
    }

    .services-modern::after {
        content: '';
        position: absolute;
        bottom: -300px;
        left: -200px;
        width: 700px;
        height: 700px;
        background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
        border-radius: 50%;
        animation: morphing 20s ease-in-out infinite reverse;
    }

@keyframes morphing {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 1;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.service-card-modern {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 48px 36px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
    cursor: pointer;
}

    .service-card-modern::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 28px;
        padding: 2px;
        background: linear-gradient(135deg, #14b8a6, #06b6d4, #10b981);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    .service-card-modern:hover::before {
        opacity: 1;
    }

    .service-card-modern::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent 30%, rgba(20, 184, 166, 0.05) 50%, transparent 70%);
        transform: rotate(0deg);
        transition: all 0.8s ease;
        opacity: 0;
    }

    .service-card-modern:hover::after {
        transform: rotate(180deg);
        opacity: 1;
    }

    .service-card-modern:hover {
        transform: translateY(-16px) scale(1.02);
        box-shadow: 0 25px 60px rgba(20, 184, 166, 0.25);
    }

.icon-wrapper-modern {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
    border-radius: 24px;
    margin: 0 auto 28px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.15), inset 0 -2px 10px rgba(20, 184, 166, 0.1);
}

    .icon-wrapper-modern::before {
        content: '';
        position: absolute;
        inset: -4px;
        background: linear-gradient(135deg, #14b8a6, #06b6d4);
        border-radius: 26px;
        z-index: -1;
        opacity: 0;
        transition: opacity 0.5s ease;
        filter: blur(10px);
    }

.service-card-modern:hover .icon-wrapper-modern::before {
    opacity: 0.6;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(0.95);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.icon-wrapper-modern::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8) 0%, transparent 50%);
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-modern:hover .icon-wrapper-modern::after {
    opacity: 1;
}

.service-card-modern:hover .icon-wrapper-modern {
    transform: translateY(-8px) rotate(-5deg) scale(1.12);
    box-shadow: 0 20px 50px rgba(20, 184, 166, 0.3), inset 0 -3px 15px rgba(20, 184, 166, 0.2);
}

.icon-wrapper-modern i {
    color: var(--primary);
    font-size: 42px;
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.service-card-modern:hover .icon-wrapper-modern i {
    color: var(--primary-dark);
    transform: scale(1.15) rotateY(360deg);
    filter: drop-shadow(0 4px 8px rgba(20, 184, 166, 0.3));
}

.pulse-glow .icon-wrapper-modern {
    animation: icon-pulse 3s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(20, 184, 166, 0.15), inset 0 -2px 10px rgba(20, 184, 166, 0.1);
    }

    50% {
        box-shadow: 0 15px 45px rgba(20, 184, 166, 0.3), inset 0 -3px 15px rgba(20, 184, 166, 0.2);
    }
}

.heartbeat-glow .icon-wrapper-modern {
    animation: heartbeat-icon 2s ease-in-out infinite;
}

@keyframes heartbeat-icon {
    0%, 100% {
        transform: scale(1);
    }

    10%, 30% {
        transform: scale(1.05);
    }

    20% {
        transform: scale(1.12);
    }
}

.rotate-hover:hover {
    animation: rotate-wobble 0.8s ease-in-out;
}

@keyframes rotate-wobble {
    0% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(-15deg) scale(1.1);
    }

    50% {
        transform: rotate(15deg) scale(1.15);
    }

    75% {
        transform: rotate(-10deg) scale(1.1);
    }

    100% {
        transform: rotate(0deg) scale(1.12);
    }
}

.service-card-modern h5 {
    font-size: 1.65rem;
    color: var(--text-dark);
    margin-bottom: 18px;
    font-weight: 800;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.service-card-modern:hover h5 {
    color: var(--primary-dark);
    transform: translateY(-4px);
}

.service-card-modern p {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.9;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.service-card-modern:hover p {
    color: var(--text-dark);
}

.card-bubbles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 28px;
    pointer-events: none;
}

    .card-bubbles span {
        position: absolute;
        width: 6px;
        height: 6px;
        background: linear-gradient(135deg, var(--primary-light), var(--primary));
        border-radius: 50%;
        opacity: 0;
        box-shadow: 0 0 10px rgba(20, 184, 166, 0.5);
        animation: float-particles 6s ease-in-out infinite;
    }

.service-card-modern:hover .card-bubbles span {
    opacity: 1;
}

.card-bubbles span:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.card-bubbles span:nth-child(2) {
    bottom: 25%;
    right: 20%;
    animation-delay: 1.5s;
    width: 8px;
    height: 8px;
}

.card-bubbles span:nth-child(3) {
    top: 60%;
    right: 15%;
    animation-delay: 3s;
    width: 5px;
    height: 5px;
}

@keyframes float-particles {
    0% {
        transform: translateY(0) translateX(0) scale(0);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateY(-80px) translateX(20px) scale(1.5);
        opacity: 0;
    }
}

/* ================= WHY ASHTU SECTION ================= */
.why-ashtu {
    padding: 120px 0;
    background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 50%, #a7f3d0 100%);
    position: relative;
    overflow: hidden;
}

    .why-ashtu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 20% 30%, rgba(20, 184, 166, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
        animation: gradient-shift 15s ease-in-out infinite;
    }

@keyframes gradient-shift {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.section-header {
    position: relative;
    z-index: 2;
}

    .section-header h2 {
        font-size: 3rem;
        color: var(--text-dark);
        font-weight: 900;
        margin-bottom: 16px;
        position: relative;
        display: inline-block;
    }

        .section-header h2::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 120px;
            height: 4px;
            background: var(--gradient-primary);
            border-radius: 2px;
            animation: expand-line 2s ease-in-out infinite;
        }

@keyframes expand-line {
    0%, 100% {
        width: 120px;
        opacity: 1;
    }

    50% {
        width: 180px;
        opacity: 0.7;
    }
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 70px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    position: relative;
    z-index: 2;
}

.why-item {
    text-align: center;
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

    .why-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        transition: left 0.7s ease;
    }

    .why-item:hover::before {
        left: 100%;
    }

    .why-item::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 32px;
        padding: 2px;
        background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    .why-item:hover::after {
        opacity: 1;
    }

    .why-item:hover {
        transform: translateY(-12px) scale(1.03);
        box-shadow: 0 25px 70px rgba(20, 184, 166, 0.2);
    }

.why-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    font-size: 36px;
    color: var(--bg-white);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 35px rgba(20, 184, 166, 0.3);
    position: relative;
}

    .why-icon::before {
        content: '';
        position: absolute;
        inset: -6px;
        border-radius: 50%;
        background: inherit;
        filter: blur(15px);
        opacity: 0;
        transition: opacity 0.5s ease;
        z-index: -1;
    }

.why-item:hover .why-icon::before {
    opacity: 0.7;
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.4;
    }
}

.why-item:hover .why-icon {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 15px 50px rgba(20, 184, 166, 0.5);
}

.pulse-hover {
    animation: continuous-pulse 3s ease-in-out infinite;
}

@keyframes continuous-pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

.glow-hover:hover {
    animation: glow-wave 1.5s ease-in-out infinite;
}

@keyframes glow-wave {
    0%, 100% {
        box-shadow: 0 10px 35px rgba(20, 184, 166, 0.3);
    }

    50% {
        box-shadow: 0 10px 50px rgba(20, 184, 166, 0.6), 0 0 30px rgba(20, 184, 166, 0.4);
    }
}

.rotate-hover:hover {
    animation: rotate-3d 1s ease-in-out;
}

@keyframes rotate-3d {
    0% {
        transform: perspective(400px) rotateY(0deg);
    }

    100% {
        transform: perspective(400px) rotateY(360deg);
    }
}

.why-item h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 14px;
    transition: all 0.4s ease;
}

.why-item:hover h4 {
    color: var(--primary-dark);
    transform: translateY(-4px);
}

.why-item p {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.8;
    transition: all 0.4s ease;
}

.why-item:hover p {
    color: var(--text-dark);
}

/* ================= ECG SECTION ================= */
.ecg-ultra {
    position: relative;
    min-height: 60vh;
    background: var(--gradient-dark);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.ecg-ultra::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(20, 184, 166, 0.1), transparent 70%);
    pointer-events: none;
}

.ecg-ultra-line {
    position: absolute;
    width: 120%;
    height: 200px;
    top: 50%;
    left: -10%;
    transform: translateY(-50%);
    z-index: 1;
}

    .ecg-ultra-line polyline {
        fill: none;
        stroke: var(--primary-light);
        stroke-width: 3;
        stroke-linecap: round;
        stroke-dasharray: 2000;
        stroke-dashoffset: 2000;
        animation: ecgMove 3s linear infinite;
        filter: drop-shadow(0 0 15px rgba(20, 184, 166, 0.8));
    }

@keyframes ecgMove {
    to {
        stroke-dashoffset: -2000;
    }
}

.ecg-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-light);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary-light);
    animation: particleFloat 7s infinite ease-in-out;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: 1;
    }
}

.ecg-ultra-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ecg-ultra-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #5eead4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ecg-ultra-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-btn {
    display: inline-block;
    padding: 18px 48px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--gradient-primary);
    color: var(--bg-white);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    transition: all 0.3s ease;
}

    .cta-btn:hover {
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 0 60px rgba(20, 184, 166, 0.8);
        color: var(--bg-white);
    }

/* ================= TESTIMONIALS - ULTRA MODERN DESIGN ================= */
.testimonials-modern {
    background: radial-gradient(circle at 10% 20%, rgba(20, 184, 166, 0.06) 0%, transparent 50%), radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%), linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

    /* Decorative elements */
    .testimonials-modern::before {
        content: '';
        position: absolute;
        top: 10%;
        right: 5%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 65%);
        border-radius: 50%;
        filter: blur(80px);
        animation: float-gentle 20s ease-in-out infinite;
    }

    .testimonials-modern::after {
        content: '';
        position: absolute;
        bottom: 15%;
        left: 8%;
        width: 350px;
        height: 350px;
        background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 65%);
        border-radius: 50%;
        filter: blur(70px);
        animation: float-gentle 18s ease-in-out infinite reverse;
    }

@keyframes float-gentle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(40px, -40px) scale(1.15);
        opacity: 0.9;
    }
}

/* Section header */
.testimonials-modern .text-center {
    position: relative;
    z-index: 10;
}

.testimonials-modern h2 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

    .testimonials-modern h2::before {
        content: '💬';
        position: absolute;
        top: -30px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 2.5rem;
        opacity: 0.15;
        animation: bounce-soft 3s ease-in-out infinite;
    }

@keyframes bounce-soft {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.testimonials-modern h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 5px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    animation: line-expand 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.4);
}

@keyframes line-expand {
    0%, 100% {
        width: 80px;
    }

    50% {
        width: 140px;
    }
}

.testimonials-modern > .container > .text-center > p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    font-weight: 400;
}

.testimonials-modern .text-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    position: relative;
    display: inline-block;
}

/* Carousel container */
#testimonialCarouselModern {
    position: relative;
    z-index: 5;
    padding: 40px 0;
}

/* Premium testimonial card */
.testimonial-card-modern {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 253, 254, 0.95) 50%, rgba(250, 251, 252, 0.98) 100%);
    backdrop-filter: blur(40px) saturate(200%);
    border-radius: 40px;
    padding: 80px 60px 70px;
    max-width: 750px;
    margin: auto;
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.08), 0 10px 30px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

    /* Luxury gradient border */
    .testimonial-card-modern::before {
        content: '';
        position: absolute;
        inset: -3px;
        border-radius: 40px;
        padding: 3px;
        background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 20%, #10b981 40%, #06b6d4 60%, #14b8a6 80%, #0ea5e9 100%);
        background-size: 300% 300%;
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0;
        transition: opacity 0.7s ease;
        animation: gradient-shift 6s ease infinite;
    }

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.testimonial-card-modern:hover::before {
    opacity: 1;
}

/* Light rays effect */
.testimonial-card-modern::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: conic-gradient( from 0deg at 50% 50%, transparent 0deg, rgba(20, 184, 166, 0.08) 90deg, transparent 180deg, rgba(16, 185, 129, 0.06) 270deg, transparent 360deg );
    animation: rotate-rays 20s linear infinite;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.7s ease;
}

@keyframes rotate-rays {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.testimonial-card-modern:hover::after {
    opacity: 1;
}

.testimonial-card-modern:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 40px 120px rgba(20, 184, 166, 0.15), 0 20px 60px rgba(15, 23, 42, 0.08), inset 0 2px 0 rgba(255, 255, 255, 1);
}

/* Elegant stars rating */
.testimonial-stars {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
}

    .testimonial-stars i {
        color: #fbbf24;
        font-size: 1.4rem;
        animation: star-entrance 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
        filter: drop-shadow(0 3px 8px rgba(251, 191, 36, 0.35));
        transition: all 0.3s ease;
    }

.testimonial-card-modern:hover .testimonial-stars i {
    transform: scale(1.15) rotate(15deg);
    filter: drop-shadow(0 5px 15px rgba(251, 191, 36, 0.5));
}

.testimonial-stars i:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonial-stars i:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-stars i:nth-child(3) {
    animation-delay: 0.3s;
}

.testimonial-stars i:nth-child(4) {
    animation-delay: 0.4s;
}

.testimonial-stars i:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes star-entrance {
    0% {
        transform: scale(0) rotate(-360deg);
        opacity: 0;
    }

    80% {
        transform: scale(1.3) rotate(20deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Refined quote text */
.testimonial-text {
    font-size: 1.4rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 45px;
    line-height: 2.2;
    position: relative;
    padding: 0 60px;
    z-index: 2;
    font-style: normal;
    letter-spacing: 0.3px;
}

    .testimonial-text::before {
        content: """; font-size: 10rem; font-family: 'Georgia', serif; color: var(--primary);
        position: absolute;
        right: -20px;
        top: -70px;
        opacity: 0.08;
        font-weight: 900;
        line-height: 1;
        z-index: -1;
        animation: quote-breathe 5s ease-in-out infinite;
    }

@keyframes quote-breathe {
    0%, 100% {
        transform: scale(1);
        opacity: 0.08;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.12;
    }
}

.testimonial-text::after {
    content: "";
    display: block;
    width: 100px;
    height: 5px;
    background: var(--gradient-primary);
    margin: 35px auto 0;
    border-radius: var(--radius-full);
    box-shadow: 0 3px 15px rgba(20, 184, 166, 0.4);
    animation: line-pulse 3s ease-in-out infinite;
}

@keyframes line-pulse {
    0%, 100% {
        width: 100px;
        opacity: 1;
    }

    50% {
        width: 130px;
        opacity: 0.8;
    }
}

/* Luxury profile section */
.testimonial-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    font-weight: 900;
    box-shadow: 0 15px 40px rgba(20, 184, 166, 0.35), inset 0 -3px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 4px solid rgba(255, 255, 255, 0.9);
}

    .testimonial-avatar::before {
        content: '';
        position: absolute;
        inset: -8px;
        border-radius: 50%;
        background: var(--gradient-primary);
        filter: blur(15px);
        opacity: 0.5;
        z-index: -1;
        animation: avatar-glow 3s ease-in-out infinite;
    }

@keyframes avatar-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

.testimonial-card-modern:hover .testimonial-avatar {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 20px 50px rgba(20, 184, 166, 0.5), inset 0 -3px 12px rgba(0, 0, 0, 0.15);
}

.testimonial-info {
    text-align: right;
}

.testimonial-name {
    font-weight: 900;
    color: var(--text-dark);
    font-size: 1.6rem;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    letter-spacing: -0.3px;
}

.testimonial-location {
    font-size: 1.15rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
    font-weight: 500;
}

    .testimonial-location::before {
        content: '📍';
        font-size: 1.2rem;
        animation: location-bounce 2.5s ease-in-out infinite;
    }

@keyframes location-bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Ultra-modern carousel controls */
.carousel-control-prev,
.carousel-control-next {
    width: 80px;
    height: 80px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 251, 252, 0.95) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 15px 50px rgba(15, 23, 42, 0.12), inset 0 2px 4px rgba(255, 255, 255, 1), inset 0 -2px 4px rgba(15, 23, 42, 0.05);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid rgba(20, 184, 166, 0.08);
    opacity: 1;
    z-index: 10;
}

.carousel-control-prev {
    left: -100px;
}

.carousel-control-next {
    right: -100px;
}

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        background: var(--gradient-primary);
        transform: translateY(-50%) scale(1.25) rotate(15deg);
        box-shadow: 0 25px 80px rgba(20, 184, 166, 0.5), inset 0 2px 8px rgba(255, 255, 255, 0.4);
        border-color: transparent;
    }

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 32px;
    height: 32px;
    background-size: 100%;
    filter: brightness(0) saturate(100%) invert(56%) sepia(71%) saturate(491%) hue-rotate(125deg) brightness(95%) contrast(91%);
    transition: all 0.5s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    filter: brightness(0) invert(1);
    transform: scale(1.2);
}

/* Premium animated indicators */
.carousel-indicators {
    margin-top: 60px !important;
    margin-bottom: 0 !important;
    gap: 12px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

    .carousel-indicators button {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: rgba(20, 184, 166, 0.2);
        opacity: 1;
        transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border: none;
        margin: 0 6px;
        position: relative;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
        cursor: pointer;
    }

        /* Ring effect around indicators */
        .carousel-indicators button::before {
            content: '';
            position: absolute;
            inset: -8px;
            border-radius: 50%;
            border: 2px solid rgba(20, 184, 166, 0);
            transition: all 0.6s ease;
        }

        /* Glow effect */
        .carousel-indicators button::after {
            content: '';
            position: absolute;
            inset: -4px;
            border-radius: 50%;
            background: var(--gradient-primary);
            opacity: 0;
            filter: blur(8px);
            transition: opacity 0.5s ease;
        }

    .carousel-indicators .active {
        width: 60px;
        border-radius: var(--radius-full);
        background: var(--gradient-primary);
        box-shadow: 0 8px 25px rgba(20, 184, 166, 0.5), inset 0 1px 4px rgba(255, 255, 255, 0.4);
    }

        .carousel-indicators .active::before {
            border-color: rgba(20, 184, 166, 0.3);
            transform: scale(1.5);
            animation: ring-pulse 2s ease-in-out infinite;
        }

@keyframes ring-pulse {
    0%, 100% {
        transform: scale(1.5);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.7);
        opacity: 0.6;
    }
}

.carousel-indicators .active::after {
    opacity: 0.9;
}

.carousel-indicators button:hover:not(.active) {
    background: var(--primary);
    transform: scale(1.5);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}

    .carousel-indicators button:hover:not(.active)::after {
        opacity: 0.6;
    }

/* Responsive design */
@media (max-width: 992px) {
    .carousel-control-prev {
        left: -50px;
    }

    .carousel-control-next {
        right: -50px;
    }
}

@media (max-width: 768px) {
    .testimonials-modern h2 {
        font-size: 2.5rem;
    }

    .testimonial-card-modern {
        padding: 60px 40px 55px;
    }

    .testimonial-text {
        font-size: 1.15rem;
        padding: 0 35px;
    }

        .testimonial-text::before {
            font-size: 6rem;
            right: -10px;
            top: -45px;
        }

    .carousel-control-prev,
    .carousel-control-next {
        width: 60px;
        height: 60px;
    }

    .carousel-control-prev {
        left: -20px;
    }

    .carousel-control-next {
        right: -20px;
    }

    .testimonial-avatar {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
    }

    .carousel-indicators .active {
        width: 45px;
    }
}












.statistics-section {
    background: radial-gradient(circle at 15% 20%, rgba(20, 184, 166, 0.08) 0%, transparent 50%), radial-gradient(circle at 85% 80%, rgba(6, 182, 212, 0.06) 0%, transparent 50%), linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 50%, #e0f2fe 100%);
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
    padding-top: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
}

.stat-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 40px 20px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: var(--shadow-md);
}

    .stat-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-glow);
    }

.stat-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--primary-light);
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}




.patient-journey {
    padding: 140px 0;
    background: linear-gradient(180deg, #f9fdfb, #ffffff);
    position: relative;
}

.journey-header h5 {
    font-size: 35px;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--primary);
}

.journey-header p {
    font-size: 19px;
    color: var(--text-gray);
    max-width: 650px;
    margin: 16px auto 0;
    line-height: 1.9;
}

.journey-steps {
    max-width: 880px;
    margin: 80px auto 0;
    display: flex;
    flex-direction: column;
    gap: 70px;
    position: relative;
}

    .journey-steps::before {
        content: "";
        position: absolute;
        right: 28px;
        top: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(to bottom, transparent, var(--accent-teal), transparent);
        opacity: 0.6;
        border-radius: 2px;
    }

.journey-step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    position: relative;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

    .journey-step[data-aos] {
        opacity: 0;
        transform: translateX(-50px);
    }

        .journey-step[data-aos].aos-animate {
            opacity: 1;
            transform: translateX(0);
        }

.step-number {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    background: rgba(20,184,166,0.18);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.journey-step:hover .step-number {
    background: rgba(20,184,166,0.35);
    box-shadow: 0 0 20px rgba(20,184,166,0.4);
}

.step-content h4 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.step-content p {
    font-size: 16.4px;
    line-height: 2;
    color: var(--text-dark);
    opacity: 0.92;
}

@media (max-width: 992px) {
    .journey-header h2 {
        font-size: 38px;
    }

    .journey-steps {
        gap: 50px;
    }

        .journey-steps::before {
            display: none;
        }
}



























.doctors-premium {
    background: #f5f9fb;
}

.doctor-card-modern {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .doctor-card-modern:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 45px rgba(0,0,0,0.15);
    }

.doctor-header {
    position: relative;
    width: 100%;
    padding-top: 50px;
    text-align: center;
}

    .doctor-header img {
        width: 120px;
        height: 120px;
        object-fit: cover;
        border-radius: 50%;
        border: 5px solid #fff;
        box-shadow: 0 6px 18px rgba(0,0,0,0.12);
        transform: translateY(-40px);
    }

.doctor-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #3bc9b6;
    color: #fff;
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 12px;
}

    .doctor-badge.bg-danger {
        background: #e74c3c;
    }

.doctor-body {
    padding: 25px 20px;
    text-align: center;
}

.doc-name {
    font-size: 1.32rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #222;
}

.doc-specialty {
    font-size: 0.95rem;
    color: #5a5a5a;
    margin-bottom: 12px;
}

.doc-meta {
    display: flex;
    justify-content: center;
    gap: 18px;
    font-size: 0.88rem;
    color: #555;
    margin-bottom: 18px;
}

    .doc-meta .rating {
        color: #fbcc2a;
    }

.btn-book-modern {
    display: inline-block;
    font-size: 0.96rem;
    font-weight: 600;
    padding: 10px 26px;
    border-radius: 28px;
    background: linear-gradient(135deg, #3bc9b6, #2aa89e);
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .btn-book-modern:hover {
        background: linear-gradient(135deg, #2aa89e, #36b69f);
        color: #fff;
    }

    .btn-book-modern.disabled {
        background: #adb5bd;
        pointer-events: none;
        opacity: 0.7;
    }

.btn-view-all {
    font-size: 1rem;
    font-weight: 700;
    color: #3bc9b6;
    text-decoration: none;
}

    .btn-view-all:hover {
        text-decoration: underline;
    }

.doc-city {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #3bc9b6;
    background: rgba(59, 201, 182, 0.12);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    font-weight: 600;
}


.doctor-card-modern::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(59,201,182,0.18), transparent);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

.doctor-card-modern:hover::after {
    opacity: 1;
}


.doc-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}


.doctors-premium {
    padding-top: 90px;
    padding-bottom: 90px;
}

.doctorsSwiper,
.doctorsSwiper .swiper-wrapper,
.doctorsSwiper .swiper-slide {
    background: transparent !important;
}

.btn-view-all {
    font-size: 1rem;
    font-weight: 700;
    color: #3bc9b6;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border: 2px solid #3bc9b6;
    border-radius: 30px;
    transition: all 0.3s ease;
}

    .btn-view-all:hover {
        background: #3bc9b6;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(59, 201, 182, 0.3);
        text-decoration: none;
    }
















.medical-specialties-section {
    background: linear-gradient(180deg, #f5f9fb, #ffffff);
    padding: 90px 0;
}

.specialties-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
}


.specialty-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    font-weight: 600;
    font-size: 0.95rem;
    color: #1f2d3d;
    text-decoration: none;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s ease, background 0.35s ease;
    animation: floatSoft 6s ease-in-out infinite;
}

    .specialty-pill i {
        font-size: 1.1rem;
        color: #3bc9b6;
        transition: transform 0.35s ease;
    }

    .specialty-pill:hover {
        transform: translateY(-8px) scale(1.04);
        box-shadow: 0 25px 45px rgba(59,201,182,0.25);
        background: #ffffff;
    }

        .specialty-pill:hover i {
            transform: rotate(-8deg) scale(1.15);
        }

@keyframes floatSoft {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0);
    }
}
