/* ═══════════════════════════════════════════
   ELIWO ZORG — WOW Premium Design System
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* ─── Rose-White Healthcare Palette ─── */
    --primary:        #1a0a2e;
    --primary-mid:    #2d1b4e;
    --primary-light:  #4a2d72;
    --primary-rgb:    26, 10, 46;

    --rose:           #e8a0b4;
    --rose-light:     #f5d0db;
    --rose-lightest:  #fef2f5;
    --rose-dark:      #c76b8a;
    --rose-rgb:       232, 160, 180;
    --rose-vivid:     #ff6b9d;

    --accent:         #d4547a;
    --accent-hover:   #bf3d66;
    --accent-light:   rgba(212, 84, 122, 0.08);
    --accent-rgb:     212, 84, 122;

    --teal:           #3db5a6;
    --teal-light:     rgba(61, 181, 166, 0.08);
    --teal-dark:      #2e9a8d;

    --gold:           #f0c27f;
    --gold-dark:      #d4a259;

    --bg:             #fffafb;
    --bg-white:       #ffffff;
    --bg-section:     #fef7f9;
    --bg-glass:       rgba(255, 250, 251, 0.7);

    --text:           #2e2135;
    --text-muted:     #7a6b82;
    --text-light:     #f8f0f3;

    --border:         #f0dce3;
    --border-light:   #f8e8ee;

    /* ─── Typography ─── */
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    /* ─── Spacing ─── */
    --container: 1200px;
    --sp-xs: 0.25rem;
    --sp-sm: 0.5rem;
    --sp-md: 1rem;
    --sp-lg: 2rem;
    --sp-xl: 3.5rem;
    --sp-2xl: 6rem;

    /* ─── Radii ─── */
    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-full: 9999px;

    /* ─── Shadows ─── */
    --shadow-sm: 0 2px 8px rgba(var(--primary-rgb), 0.04);
    --shadow-md: 0 8px 30px rgba(var(--rose-rgb), 0.1);
    --shadow-lg: 0 20px 60px rgba(var(--rose-rgb), 0.15);
    --shadow-xl: 0 25px 80px rgba(var(--primary-rgb), 0.12);
    --shadow-glow: 0 0 50px rgba(var(--accent-rgb), 0.2);

    /* ─── Transitions ─── */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast: 0.2s var(--ease);
    --t-normal: 0.4s var(--ease);
    --t-slow: 0.7s var(--ease);
}

/* ━━━━━━━━━━━━━━ RESET & BASE ━━━━━━━━━━━━━━ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font);
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary);
    margin-bottom: var(--sp-md);
    letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p {
    margin-bottom: var(--sp-md);
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.02rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--t-fast);
}
a:hover { color: var(--accent-hover); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

::selection {
    background: var(--rose-light);
    color: var(--primary);
}

/* ━━━━━━━━━━━━━━ UTILITIES ━━━━━━━━━━━━━━ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--sp-lg);
}
.text-center { text-align: center; }
.mt-1 { margin-top: var(--sp-sm); }
.mt-2 { margin-top: var(--sp-md); }
.mt-3 { margin-top: var(--sp-lg); }
.mt-4 { margin-top: var(--sp-xl); }
.mb-2 { margin-bottom: var(--sp-md); }
.mb-3 { margin-bottom: var(--sp-lg); }
.mb-4 { margin-bottom: var(--sp-xl); }

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--rose-vivid), var(--rose-dark));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-text-shift 4s ease infinite;
}

/* ━━━━━━━━━━━━━━ SECTIONS ━━━━━━━━━━━━━━ */
.section {
    padding: var(--sp-2xl) 0;
    position: relative;
    overflow: hidden;
}
.section-light { background-color: var(--bg-section); }
.section-white { background-color: var(--bg-white); }

.section-dark {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 50%, var(--primary-light) 100%);
    color: var(--text-light);
}
.section-dark h2, .section-dark h3, .section-dark p { color: var(--text-light); }

.section-title {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    margin-bottom: var(--sp-sm);
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--rose), var(--accent));
    border-radius: var(--r-full);
    margin: 14px auto 0;
}

.section-subtitle {
    text-align: center;
    max-width: 620px;
    margin: 0 auto var(--sp-xl) auto;
    font-size: 1.08rem;
}

/* Wave section dividers */
.wave-top, .wave-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}
.wave-top { top: -1px; }
.wave-bottom { bottom: -1px; transform: rotate(180deg); }
.wave-top svg, .wave-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* ━━━━━━━━━━━━━━ BUTTONS ━━━━━━━━━━━━━━ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--r-full);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--t-normal);
    border: none;
    font-family: var(--font);
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}
.btn:hover::before { left: 100%; }

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--rose-vivid) 100%);
    color: var(--bg-white);
    box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.35);
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(var(--accent-rgb), 0.45);
    color: var(--bg-white);
}

.btn-accent {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: var(--bg-white);
    box-shadow: 0 6px 20px rgba(61, 181, 166, 0.35);
}
.btn-accent:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(61, 181, 166, 0.45);
    color: var(--bg-white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}
.btn-outline:hover {
    background: linear-gradient(135deg, var(--accent), var(--rose-vivid));
    color: var(--bg-white);
    border-color: transparent;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(var(--accent-rgb), 0.3);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: var(--bg-white);
}
.btn-outline-light:hover {
    background: var(--bg-white);
    color: var(--primary);
    border-color: var(--bg-white);
}

/* ━━━━━━━━━━━━━━ NAVBAR ━━━━━━━━━━━━━━ */
.navbar {
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border-bottom: 1px solid rgba(240, 220, 227, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: all var(--t-normal);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 6px;
    align-items: center;
}

.nav-item {
    font-weight: 600;
    color: var(--text);
    position: relative;
    padding: 8px 16px;
    border-radius: var(--r-full);
    transition: all var(--t-fast);
    font-size: 0.93rem;
}
.nav-item:hover, .nav-item.active {
    color: var(--accent);
    background: var(--accent-light);
}

.nav-links .btn {
    padding: 8px 14px;
    font-size: 0.82rem;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.4rem;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    transition: background var(--t-fast);
}
.mobile-menu-btn:hover { background: var(--rose-lightest); }

/* ━━━━━━━━━━━━━━ FOOTER ━━━━━━━━━━━━━━ */
.footer {
    background: linear-gradient(180deg, var(--primary) 0%, #0d0518 100%);
    color: var(--text-light);
    padding: var(--sp-2xl) 0 var(--sp-lg);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--rose), var(--accent), var(--rose-vivid), var(--teal), var(--rose));
    background-size: 200% 200%;
    animation: gradient-text-shift 6s ease infinite;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--sp-xl);
    margin-bottom: var(--sp-xl);
}

.footer-col h4 {
    color: var(--bg-white);
    margin-bottom: var(--sp-md);
    position: relative;
    padding-bottom: 12px;
    font-size: 1.05rem;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--rose), var(--accent));
    border-radius: var(--r-full);
}

.footer-col p, .footer-col a {
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 10px;
    display: block;
    font-size: 0.93rem;
    transition: all var(--t-fast);
}
.footer-col a:hover {
    color: var(--rose-light);
    padding-left: 6px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--sp-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 1.2rem;
    text-decoration: none;
}
.footer-logo-img {
    height: 36px;
    width: auto;
    display: block;
}

/* ━━━━━━━━━━━━━━ ANIMATIONS ━━━━━━━━━━━━━━ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-12px) rotate(2deg); }
    66% { transform: translateY(-6px) rotate(-1deg); }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes pulse-soft {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes gradient-text-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes blob {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    50% { border-radius: 50% 60% 30% 60% / 40% 30% 60% 50%; }
    75% { border-radius: 40% 60% 50% 40% / 60% 50% 30% 70%; }
}

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: none; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: none; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: none; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: none; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: none; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: none; }

/* ━━━━━━━━━━━━━━ RESPONSIVE ━━━━━━━━━━━━━━ */

/* Ensure form elements are always interactive */
.form-group,
.form-control,
.form-label,
select.form-control,
textarea.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="file"],
button[type="submit"],
label,
.upload-box,
.upload-label {
    position: relative;
    z-index: 5;
}

/* ─── Desktop-small / Tablet landscape (< 1100px) ─── */
@media (max-width: 1100px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        padding: var(--sp-md) var(--sp-lg);
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--border);
        gap: 4px;
        z-index: 999;
    }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: flex; }

    .nav-links .nav-item {
        width: 100%;
        padding: 12px 16px;
        text-align: left;
    }
    .nav-links .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 12px 16px;
    }
}

/* ─── Tablet portrait (< 992px) ─── */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    
    /* Contact page grid */
    .grid[style*="grid-template-columns: 1fr 1.5fr"] {
        grid-template-columns: 1fr !important;
    }
}

/* ─── Mobile (< 768px) ─── */
@media (max-width: 768px) {
    .section { padding: var(--sp-xl) 0; }
    .container { padding: 0 var(--sp-md); }
    
    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: var(--sp-lg); }
    .footer-col { text-align: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .footer-bottom { font-size: 0.8rem; }
    .footer-bottom p { line-height: 1.6; }
    
    /* Typography scaling */
    h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
    h2 { font-size: clamp(1.4rem, 5vw, 1.8rem); }
    
    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    .hero-cta .btn,
    div[style*="display: flex"] .btn {
        width: 100%;
    }
    
    /* Form grids — always stack on mobile */
    .grid[style*="grid-template-columns: 1fr 1fr"],
    .grid[style*="grid-template-columns: 2fr 1fr"],
    .grid[style*="grid-template-columns: 1fr 2fr"],
    .grid[style*="grid-template-columns: 1fr 1.5fr"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Trust badges */
    .trust-badges {
        gap: var(--sp-md);
    }
    .trust-badge {
        font-size: 0.85rem;
        gap: 8px;
    }
    .trust-badge i {
        font-size: 1.4rem;
    }
    
    /* Section text */
    .section-title { font-size: clamp(1.4rem, 5vw, 1.8rem); }
    .section-subtitle { font-size: 0.95rem; }
    
    /* Vision tags */
    .vision-tag {
        padding: 8px 14px;
        font-size: 0.82rem;
    }
}

/* ─── Small mobile (< 480px) ─── */
@media (max-width: 480px) {
    .container { padding: 0 var(--sp-sm); }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: var(--sp-sm);
    }
    
    .footer { padding: var(--sp-xl) 0 var(--sp-md); }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.88rem;
    }
}

