/* ============================================================
   DESIGN UPGRADE — Premium Animated Background & Floating Art
   Kyara Skin & Hair Clinic — Professional Dermatology Theme
   ============================================================ */

/* ── Global Page Background Upgrade ── */
body {
    background: #FEFCFF;
    position: relative;
}

/* Subtle animated gradient overlay on entire page */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(ellipse 800px 600px at 10% 20%, rgba(194, 24, 91, 0.03) 0%, transparent 70%),
        radial-gradient(ellipse 600px 800px at 90% 80%, rgba(233, 30, 140, 0.03) 0%, transparent 70%),
        radial-gradient(ellipse 400px 400px at 50% 50%, rgba(184, 134, 11, 0.02) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: bgPulse 12s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0%   { opacity: 0.5; }
    50%  { opacity: 1; }
    100% { opacity: 0.7; }
}

/* ============================================================
   CANVAS FLOATING ART — Animated Particle Layer
   ============================================================ */
#kyara-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
}

/* ============================================================
   AMBIENT GLOWING ORBS — Decorative Background Art
   ============================================================ */
.ambient-orbs {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    animation: orbFloat linear infinite;
}

.orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #E91E8C, transparent);
    top: -100px; left: -100px;
    animation-duration: 25s;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #C2185B, transparent);
    top: 40%; right: -150px;
    animation-duration: 30s;
    animation-delay: -8s;
}

.orb-3 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, #B8860B, transparent);
    bottom: 10%; left: 30%;
    animation-duration: 20s;
    animation-delay: -5s;
}

.orb-4 {
    width: 250px; height: 250px;
    background: radial-gradient(circle, #880E4F, transparent);
    top: 60%; left: 10%;
    animation-duration: 18s;
    animation-delay: -12s;
}

@keyframes orbFloat {
    0%   { transform: translate(0px, 0px) scale(1); }
    25%  { transform: translate(40px, -60px) scale(1.05); }
    50%  { transform: translate(-30px, -100px) scale(0.95); }
    75%  { transform: translate(60px, -40px) scale(1.08); }
    100% { transform: translate(0px, 0px) scale(1); }
}

/* ============================================================
   HERO TEXT BOX — Glassmorphism Panel
   ============================================================ */
.hero-text-box {
    max-width: 580px;
    padding: 42px 44px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 28px;
    box-shadow:
        0 8px 40px rgba(194, 24, 91, 0.09),
        0 2px 12px rgba(0,0,0,0.04),
        inset 0 1px 0 rgba(255,255,255,0.95);
    position: relative;
    overflow: visible;
}

.hero-text-box .sub-headline {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary) !important;
    background: rgba(194, 24, 91, 0.08);
    border: 1px solid rgba(194, 24, 91, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

/* ============================================================
   FLOATING DECORATIVE ELEMENTS — Page Art
   ============================================================ */
.floating-art {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.06;
}

.floating-art-circle {
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: artRotate 20s linear infinite;
}

.floating-art-square {
    border: 2px solid var(--primary-light);
    animation: artRotate 15s linear infinite reverse;
}

.floating-art-dot {
    background: var(--primary);
    border-radius: 50%;
    animation: artPulse 6s ease-in-out infinite;
}

@keyframes artRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes artPulse {
    0%, 100% { transform: scale(1); opacity: 0.04; }
    50%       { transform: scale(1.5); opacity: 0.02; }
}

/* ============================================================
   TRUST MARQUEE BAR
   ============================================================ */
.trust-marquee-bar {
    background: linear-gradient(90deg, #880E4F, #C2185B, #E91E8C);
    padding: 14px 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.marquee-wrapper {
    display: flex;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 50px;
    animation: marqueeScroll 28s linear infinite;
    white-space: nowrap;
    will-change: transform;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.92);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.marquee-item i {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.marquee-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    flex-shrink: 0;
}

/* ============================================================
   SECTION BACKGROUNDS
   ============================================================ */
.section-padding { position: relative; z-index: 1; }

.services-overview {
    background: linear-gradient(180deg, #FEFEFE 0%, #FDF6F9 50%, #FEFEFE 100%);
}

.why-choose-us {
    background: linear-gradient(135deg, #FFF9FC 0%, #FEFEFE 100%);
}

/* ── Feature items ── */
.feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    margin-bottom: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-light), var(--primary));
    border-radius: 3px 0 0 3px;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-sm);
    border-color: var(--border);
}

.feature:hover::before { transform: scaleY(1); }

.feature > i {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(194,24,91,0.25);
}

/* ── Img wrapper ── */
.img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(194,24,91,0.15), 0 4px 20px rgba(0,0,0,0.08);
}

.img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.img-wrapper:hover img { transform: scale(1.04); }

/* Floating image badge */
.img-badge {
    position: absolute;
    bottom: 24px; right: 24px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(194,24,91,0.15);
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.img-badge i { color: var(--primary); font-size: 1.3rem; }
.img-badge span { font-size: 0.78rem; font-weight: 700; color: var(--text-dark); line-height: 1.3; }

/* ============================================================
   STAT CARDS — Shine Effect
   ============================================================ */
.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(transparent 0deg, rgba(255,255,255,0.07) 60deg, transparent 120deg);
    animation: statShine 4s linear infinite;
    pointer-events: none;
}

@keyframes statShine {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ============================================================
   TESTIMONIALS — Premium
   ============================================================ */
.testimonials-section {
    background: linear-gradient(135deg, #FFF5F9 0%, #FEFEFE 50%, #FFF8F5 100%);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '"';
    position: absolute;
    top: 30px; left: 4%;
    font-size: 18rem;
    font-family: Georgia, serif;
    color: rgba(194,24,91,0.04);
    line-height: 1;
    pointer-events: none;
}

.testimonials-header { margin-bottom: 48px; text-align: center; }
.testimonials-header h2 { font-size: clamp(2rem, 4vw, 2.8rem); }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 32px 28px;
    border: 1px solid rgba(194,24,91,0.07);
    box-shadow: 0 4px 24px rgba(0,0,0,0.05);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(194,24,91,0.12);
    border-color: rgba(194,24,91,0.15);
}

.testimonial-card:hover::before { transform: scaleX(1); }

.quote-icon {
    color: var(--primary);
    font-size: 1.8rem;
    opacity: 0.25;
    margin-bottom: 16px;
    display: block;
}

.testimonial-text {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: 20px;
}

.patient-name {
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.patient-name::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    flex-shrink: 0;
}

/* ============================================================
   CERTIFICATIONS STRIP
   ============================================================ */
.cert-strip {
    background: white;
    padding: 28px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.cert-strip-inner {
    display: flex;
    gap: 60px;
    align-items: center;
    animation: marqueeScroll 22s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    opacity: 0.55;
    transition: opacity 0.3s;
}

.cert-item:hover { opacity: 1; }

.cert-item i { font-size: 1.6rem; color: var(--primary); }

.cert-item span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-medium);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ============================================================
   FOOTER — Clean Light Theme
   ============================================================ */
footer {
    background: #FFFFFF;
    color: var(--text-medium);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-light);
}

footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-light));
    pointer-events: none;
}

footer::after { display: none; }

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 56px;
    padding: 60px 0 40px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 18px;
    filter: none;
}

.footer-brand > p {
    color: var(--text-light);
    font-size: 0.87rem;
    line-height: 1.75;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(194, 24, 91, 0.06);
    border: 1px solid rgba(194, 24, 91, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(194,24,91,0.3);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--text-dark);
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: var(--font-body);
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}

.footer-links ul { list-style: none; padding: 0; }
.footer-links ul li { margin-bottom: 10px; }

.footer-links ul li a {
    color: var(--text-light);
    font-size: 0.87rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links ul li a::before {
    content: '›';
    font-size: 1rem;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.3s ease;
    color: var(--primary);
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-links ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact p {
    color: var(--text-light);
    font-size: 0.87rem;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.55;
}

.footer-contact p i {
    color: var(--primary);
    font-size: 0.85rem;
    width: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact p a { color: var(--text-light); transition: color 0.3s; }
.footer-contact p a:hover { color: var(--primary); }

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
}

.footer-bottom a { color: var(--primary); transition: color 0.3s; }
.footer-bottom a:hover { color: var(--primary-dark); }

/* ============================================================
   MOUSE GLOW CURSOR EFFECT
   ============================================================ */
#mouse-glow {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(194,24,91,0.055) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease;
    will-change: left, top;
}

/* ============================================================
   LOCATIONS LIST UPGRADE
   ============================================================ */
.locations-list { list-style: none !important; padding: 0 !important; }

.locations-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(194,24,91,0.09);
    margin-bottom: 10px !important;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.locations-list li:hover {
    background: rgba(194,24,91,0.03);
    border-color: rgba(194,24,91,0.18);
    transform: translateX(6px);
    box-shadow: 0 4px 16px rgba(194,24,91,0.08);
}

/* ============================================================
   SCROLL PROGRESS — Animated Gradient
   ============================================================ */
#scroll-progress {
    background: linear-gradient(90deg, #880E4F, #C2185B, #E91E8C, #FFB300, #E91E8C);
    background-size: 300% auto;
    animation: progressFlow 4s linear infinite;
}

@keyframes progressFlow {
    0%   { background-position: 0% center; }
    100% { background-position: 300% center; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .hero-text-box { padding: 28px 24px; max-width: 100%; }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 56px 0 36px;
    }

    .floating-art { display: none; }
}

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 44px 0 28px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .testimonial-grid { grid-template-columns: 1fr; }
}

