@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&family=Poppins:wght@300;400;600;700;800&display=swap');

:root {
    --color-primary: #005b8f;
    --color-secondary: #00a7a7;
    --color-accent: #35d4c8;
    --color-dark: #111827;
    --color-light: #f4f7fb;
    --color-text: #6b7280;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius-lg: 16px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Cairo', sans-serif;
    background: var(--color-light);
    color: var(--color-dark);
    direction: rtl;
    text-align: right;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

html[dir="ltr"] body {
    direction: ltr;
    text-align: left;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover { color: var(--color-secondary); }

.btn-main {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff !important;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.2px;
    box-shadow: var(--shadow-soft);
}

.btn-main:hover { transform: translateY(-2px); color: #fff; }

.btn-outline-primary {
    border-radius: 999px;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 700;
    padding: 0.75rem 1.6rem;
    transition: all 0.25s ease;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.section-padding { padding: 80px 0; }

.section-title { text-align: center; margin-bottom: 40px; }

.section-title h2 { font-weight: 800; color: var(--color-primary); position: relative; display: inline-block; padding-bottom: 8px; }
.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary), var(--color-accent));
    box-shadow: 0 8px 24px rgba(0, 91, 143, 0.28);
}

.card-neo {
    background: #fff;
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: all 0.25s ease;
}

.card-neo:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0, 91, 143, 0.16); }
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 20px 50px rgba(0, 91, 143, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.glass-card:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 24px 60px rgba(0, 91, 143, 0.25); }
.glow-card {
    position: relative;
    overflow: hidden;
}
.glow-card::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 45deg, rgba(0, 167, 167, 0.18), rgba(0, 91, 143, 0.12), rgba(53, 212, 200, 0.18), transparent 55%);
    animation: spin 18s linear infinite;
}
.glow-card > * { position: relative; }

.navbar-custom {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(238, 249, 255, 0.92));
    box-shadow: 0 14px 30px rgba(0, 91, 143, 0.08);
    border-bottom: 1px solid rgba(0, 167, 167, 0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    padding: 10px 0;
}
.navbar-custom::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(0, 167, 167, 0.35), transparent);
    opacity: 0.7;
    pointer-events: none;
}
.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
}
.brand-logo {
    height: 58px;
    width: auto;
    display: block;
}
.navbar-custom .navbar-brand {
    letter-spacing: 0.5px;
    font-weight: 900;
    color: var(--color-primary);
    position: relative;
}
.nav-primary {
    gap: 8px;
}
.navbar-custom .nav-link {
    position: relative;
    font-weight: 700;
    color: var(--color-dark);
    padding: 10px 16px;
    border-radius: 999px;
    transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    right: 12px;
    left: 12px;
    bottom: 6px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.25s ease;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus {
    color: var(--color-primary);
    background: rgba(0, 167, 167, 0.08);
}
.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link:focus::after {
    opacity: 1;
    transform: translateY(0);
}
.navbar-custom .nav-link.active {
    color: var(--color-primary);
    background: rgba(0, 167, 167, 0.14);
    box-shadow: inset 0 0 0 1px rgba(0, 91, 143, 0.12);
}
.navbar-custom .nav-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 167, 167, 0.2);
}
.nav-actions {
    gap: 10px;
}

.nav-actions .btn-main {
    white-space: nowrap;
}

.nav-social a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 91, 143, 0.08);
    color: var(--color-primary);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav-social a:hover {
    transform: translateY(-1px);
    background: rgba(0, 167, 167, 0.2);
    color: var(--color-secondary);
}
.nav-lang {
    border: 1px solid rgba(0, 91, 143, 0.18);
    background: rgba(255, 255, 255, 0.7);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    color: var(--color-dark);
}
.nav-lang:hover,
.nav-lang:focus {
    color: var(--color-primary);
    background: rgba(0, 167, 167, 0.12);
}
.nav-cta {
    padding: 8px 16px !important;
    box-shadow: 0 12px 30px rgba(0, 91, 143, 0.2);
}
.navbar-toggler {
    border: 1px solid rgba(0, 91, 143, 0.18);
    background: #fff;
    border-radius: 12px;
    padding: 0.35rem 0.6rem;
    box-shadow: 0 8px 20px rgba(0, 91, 143, 0.12);
}
.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(0, 167, 167, 0.35);
}
.navbar-toggler-icon {
    background-image: none;
    width: 24px;
    height: 16px;
    position: relative;
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon span {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.navbar-toggler-icon::before { top: 0; }
.navbar-toggler-icon::after { bottom: 0; }
.navbar-toggler-icon span { top: 7px; }
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: translateY(7px) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: translateY(-7px) rotate(-45deg);
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span {
    opacity: 0;
}

@media (max-width: 991.98px) {
    .brand-logo { height: 52px; }
    .navbar-custom .navbar-collapse {
        margin-top: 12px;
        padding: 12px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow-soft);
    }
    .nav-primary {
        padding: 6px 0;
        gap: 6px;
    }
    .navbar-custom .nav-link {
        width: 100%;
        text-align: start;
    }
    .nav-actions {
        width: 100%;
        align-items: stretch;
        gap: 10px;
        margin-top: 6px;
    }
    .nav-social {
        justify-content: center;
    }
.nav-actions .nav-cta,
.nav-actions .nav-lang {
    width: 100%;
    justify-content: center;
}
}

@media (max-width: 575.98px) {
    .brand-logo { height: 46px; }
}

.navbar-custom .dropdown-menu {
    margin-top: 8px;
    border-radius: 16px;
    border: 1px solid rgba(0, 91, 143, 0.12);
    box-shadow: 0 18px 40px rgba(4, 24, 42, 0.14);
    padding: 10px;
    background: rgba(255, 255, 255, 0.98);
}
.navbar-custom .dropdown-item {
    border-radius: 12px;
    padding: 8px 12px;
    font-weight: 600;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.navbar-custom .dropdown-item:hover,
.navbar-custom .dropdown-item:focus {
    background: rgba(0, 167, 167, 0.12);
    color: var(--color-primary);
    transform: translateX(2px);
}
.navbar-custom .dropdown-item:active {
    background: rgba(0, 167, 167, 0.2);
}
.navbar-custom .dropdown-toggle::after {
    margin-inline-start: 6px;
    border-top-color: currentColor;
    opacity: 0.7;
}
html[dir="rtl"] .navbar-custom .dropdown-item:hover,
html[dir="rtl"] .navbar-custom .dropdown-item:focus {
    transform: translateX(-2px);
}
@media (max-width: 991.98px) {
    .navbar-custom .dropdown-menu {
        margin-top: 6px;
        box-shadow: none;
    }
}

.progress-scroll {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    z-index: 1200;
    background: rgba(0,0,0,0.04);
}
.progress-scroll .bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    box-shadow: 0 4px 12px rgba(0, 91, 143, 0.35);
    transition: width 0.12s ease-out;
}

.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
}


.arabic-overlay-text {
    color: #fafcff; /* أبيض نقي فاتح جداً */
    font-family: 'Cairo', 'Noto Sans Arabic', sans-serif;
    font-weight: 600;
    font-size: clamp(1.4rem, 5vw, 2.5rem);
    line-height: 1.3;
    letter-spacing: 0.3px;
    
    /* ظلال متعددة الطبقات للوضوح على الفاتح */
    text-shadow: 
        0 2px 4px rgba(0,0,0,0.85),     /* ظل رئيسي قوي */
        0 1px 1px rgba(0,0,0,0.75),     /* طبقة داخلية */
        1px 1px 3px rgba(0,0,0,0.65),   /* ظل جانبي */
        0 0 8px rgba(0,0,0,0.4);        /* هالة ناعمة */
    

    text-align: center;


    bottom: 3rem;
    left: 50%;
    z-index: 20;
    
    /* خلفية زجاجية كلين للتباين الإضافي */
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.4);
}

.hero-section {
    position: relative;
    min-height: 70vh;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(transparent 60%, rgba(0,0,0,0.4) 100%);
    z-index: 5;
}

.hero-section img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
}



.hero-slider .carousel-item { min-height: 80vh; position: relative; }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgb(255 255 255 / 0%), rgb(0 167 167 / 0%)); z-index: 1; }
.hero-glow {
    position: absolute;
    inset: 0;
    z-index: 1;
    mix-blend-mode: screen;
}
.kenburns {
    animation: kenburns 16s ease-in-out infinite;
}
.water-lines {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(255,255,255,0.06) 0%, transparent 40%, rgba(255,255,255,0.06) 80%);
    background-size: 200% 200%;
    animation: waterLines 14s ease-in-out infinite;
    mix-blend-mode: screen;
    z-index: 1;
    pointer-events: none;
}

.hero-bubbles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-bubbles span {
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent 60%);
    animation: float 12s ease-in-out infinite;
    border-radius: 50%;
    filter: blur(2px);
}

.hero-bubbles span:nth-child(1) { top: 10%; right: 10%; animation-delay: 0s; }
.hero-bubbles span:nth-child(2) { bottom: 5%; left: 15%; animation-delay: 2s; width: 160px; height: 160px; }
.hero-bubbles span:nth-child(3) { top: 30%; left: 40%; animation-delay: 4s; width: 90px; height: 90px; }

.hero-content { position: relative; z-index: 2; max-width: 780px; text-align: center; margin: 0 auto; }
.hero-lead {
    color: #f8f9fa;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
    background: rgba(0, 0, 0, 0.28);
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 12px;
    max-width: 100%;
}
.hero h1 { font-weight: 800; }
.hero h1 span { display: inline-block; background: linear-gradient(90deg, #fff, #c6f3ff); -webkit-background-clip: text; color: transparent; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); padding: 10px 16px; border-radius: 999px; backdrop-filter: blur(10px); }
.hero-indicators button { width: 12px; height: 12px; border-radius: 50%; border: none; margin: 0 4px; background: rgba(255, 255, 255, 0.5); }
.hero-indicators .active { background: #fff; width: 30px; border-radius: 999px; }

.badge-soft {
    background: rgba(0, 167, 167, 0.12);
    color: var(--color-secondary);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
}

.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 91, 143, 0.08);
    display: grid;
    place-items: center;
    color: var(--color-primary);
    font-size: 1.3rem;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 14px;
    color: var(--color-text);
}

.hover-lift { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.hover-lift:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 91, 143, 0.22); }

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(18px);
    opacity: 0.3;
    animation: float 12s ease-in-out infinite;
}
.floating-shape.blue { background: #0ea5e9; width: 140px; height: 140px; top: -30px; right: 15%; }
.floating-shape.teal { background: #22d3ee; width: 120px; height: 120px; bottom: -20px; left: 20%; animation-delay: 2s; }

.why-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(244, 247, 251, 0.8), #f7fbff);
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}
.stat-card {
    background: linear-gradient(135deg, #0d6ead, #00a7a7);
    color: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 16px 36px rgba(0, 91, 143, 0.25);
    position: relative;
    overflow: hidden;
}
.stat-card.pulse-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(53, 212, 200, 0.6), rgba(0, 91, 143, 0.4));
    opacity: 0.6;
    z-index: 0;
    animation: pulseGlow 3.2s ease-in-out infinite;
}
.stat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.35), transparent 45%);
    opacity: 0.7;
}
.stat-card strong {
    position: relative;
    z-index: 1;
    font-size: 2rem;
}
.stat-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #e5f7ff;
}
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 10px 30px rgba(0, 91, 143, 0.08);
}
.feature-list .icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(0, 167, 167, 0.12);
    color: var(--color-primary);
    font-size: 1.2rem;
}
.feature-list .icon.icon-pulse { animation: pulse 2.8s ease-in-out infinite; }
.feature-list h6 { margin: 0; font-weight: 800; color: var(--color-dark); }
.feature-list small { color: var(--color-text); }
.anim-scale {
    transform: translateY(20px) scale(0.96);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease, box-shadow 0.3s ease;
}
.anim-scale.in-view {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.glass-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 167, 167, 0.28);
    box-shadow: 0 0 60px rgba(0, 91, 143, 0.15);
    animation: float 9s ease-in-out infinite;
    pointer-events: none;
}
.glass-ring.small { width: 140px; height: 140px; top: 10%; right: 8%; }
.glass-ring.large { width: 240px; height: 240px; bottom: -12%; left: 4%; animation-delay: 2s; }

.sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.sparkles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #fff, #00a7a7);
    border-radius: 50%;
    filter: blur(0.3px);
    opacity: 0.6;
    animation: sparkle 6s ease-in-out infinite;
}
.sparkles span:nth-child(2) { width: 8px; height: 8px; left: 25%; top: 30%; animation-delay: 1s; }
.sparkles span:nth-child(3) { width: 10px; height: 10px; right: 18%; top: 18%; animation-delay: 2s; }
.sparkles span:nth-child(4) { width: 7px; height: 7px; left: 12%; bottom: 16%; animation-delay: 1.5s; }
.sparkles span:nth-child(5) { width: 5px; height: 5px; right: 28%; bottom: 12%; animation-delay: 0.5s; }

.accent-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}
.accent-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 167, 167, 0.12);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 20px rgba(0, 91, 143, 0.08);
}
.accent-chip i { color: var(--color-secondary); }

.tilt-target {
    will-change: transform;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form-control, .form-select, textarea {
    border-radius: 12px;
    border: 1px solid rgba(0, 91, 143, 0.18);
    padding: 12px 14px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
}
.form-control:focus, .form-select:focus, textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 167, 167, 0.15);
}

.preloader {
    position: fixed;
    inset: 0;
    background: #fff;
    display: grid;
    place-items: center;
    z-index: 2000;
    overflow: hidden;
    --preload-progress: 0;
    --preload-boost: 0;
    transition: opacity 0.45s ease;
}

.preloader.is-complete {
    --preload-boost: 0.08;
}

.preloader::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 251, 255, 0.92));
}

.preloader-water {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2%;
    height: calc(8% + (var(--preload-progress) * 92%) + (var(--preload-boost) * 100%));
    background: linear-gradient(180deg, rgba(176, 236, 248, 0.75) 0%, rgba(74, 184, 216, 0.9) 45%, rgba(0, 110, 160, 0.95) 100%);
    box-shadow: inset 0 10px 18px rgba(255, 255, 255, 0.35);
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    z-index: 2;
    transition: height 0.8s cubic-bezier(0.22, 0.9, 0.28, 1);
}

.preloader-water::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 45%);
    opacity: 0.7;
    pointer-events: none;
}

.preloader-caustics {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 65%, rgba(255, 255, 255, 0.25), transparent 55%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.18), transparent 60%),
        repeating-radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.15) 0, rgba(255, 255, 255, 0.15) 2px, transparent 10px, transparent 18px);
    mix-blend-mode: screen;
    opacity: 0.35;
    animation: preloaderCaustics 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 3;
    transform: translateZ(-10px);
}

.preloader-wave {
    position: absolute;
    left: -50%;
    width: 200%;
    height: 140px;
    top: -70px;
    background-size: 160px 90px;
    background-repeat: repeat-x;
    filter: blur(0.4px);
}

.preloader-foam {
    position: absolute;
    left: -5%;
    right: -5%;
    top: -26px;
    height: 50px;
    background:
        radial-gradient(40px 18px at 40px 38px, rgba(255, 255, 255, 0.8) 60%, transparent 65%),
        radial-gradient(40px 18px at 90px 40px, rgba(255, 255, 255, 0.7) 60%, transparent 65%),
        radial-gradient(42px 18px at 150px 42px, rgba(255, 255, 255, 0.75) 60%, transparent 65%);
    background-size: 160px 60px;
    background-repeat: repeat-x;
    opacity: 0.7;
    filter: blur(0.3px);
    mix-blend-mode: screen;
    animation: preloaderFoamDrift 9s ease-in-out infinite;
}

.preloader-waves {
    position: absolute;
    left: 0;
    right: 0;
    top: -36px;
    height: 110px;
    pointer-events: none;
    z-index: 3;
    opacity: 0.85;
}

.preloader-waves-svg {
    width: 100%;
    height: 100%;
}

.preloader-parallax > use {
    animation: preloaderWaveForever 12s ease-in-out infinite;
}

.preloader-parallax > use:nth-child(1) {
    animation-delay: -1.5s;
    animation-duration: 11s;
    opacity: 0.85;
}

.preloader-parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 16s;
    animation-direction: reverse;
    opacity: 0.75;
}

.preloader-waterfalls {
    position: absolute;
    left: 0;
    right: 0;
    top: 12%;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: screen;
    transform: translateZ(20px) rotateX(4deg);
}

.preloader-waterfall {
    position: absolute;
    top: -10%;
    width: 18%;
    height: 0;
    border-radius: 0 0 18px 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(102, 226, 237, 0.6) 40%, rgba(0, 153, 204, 0.75) 70%, rgba(0, 91, 143, 0.85) 100%);
    box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.45);
    filter: blur(0.4px);
    opacity: 0.75;
    animation: preloaderFall 3.2s ease-in-out infinite;
    transform: translateZ(10px);
}

.preloader-waterfall::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0 6px, rgba(255, 255, 255, 0.1) 6px 16px);
    opacity: 0.45;
    animation: preloaderFallShimmer 2.4s ease-in-out infinite;
}

.preloader-waterfall.wf-1 { left: 14%; animation-delay: 0s; }
.preloader-waterfall.wf-2 { left: 42%; width: 22%; animation-delay: 0.8s; opacity: 0.6; }
.preloader-waterfall.wf-3 { right: 12%; animation-delay: 1.4s; opacity: 0.7; }

.wave-back {
    background-image:
        radial-gradient(60px 24px at 40px 70px, rgba(0, 167, 167, 0.35) 62%, transparent 64%),
        radial-gradient(60px 24px at 120px 70px, rgba(0, 167, 167, 0.35) 62%, transparent 64%);
    opacity: 0.6;
    animation: preloaderWaveMove 18s ease-in-out infinite;
}

.wave-mid {
    background-image:
        radial-gradient(70px 28px at 50px 70px, rgba(53, 212, 200, 0.45) 62%, transparent 64%),
        radial-gradient(70px 28px at 140px 70px, rgba(53, 212, 200, 0.45) 62%, transparent 64%);
    opacity: 0.8;
    top: -58px;
    animation: preloaderWaveMoveReverse 13s ease-in-out infinite;
}

.wave-front {
    background-image:
        radial-gradient(80px 30px at 60px 70px, rgba(0, 120, 170, 0.55) 62%, transparent 64%),
        radial-gradient(80px 30px at 160px 70px, rgba(0, 120, 170, 0.55) 62%, transparent 64%);
    opacity: 0.9;
    top: -46px;
    animation: preloaderWaveMove 10s ease-in-out infinite;
}

.wave-highlight {
    top: -20px;
    height: 60px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.7) 50%, transparent 100%);
    opacity: 0.8;
    mix-blend-mode: screen;
    animation: preloaderWaveHighlight 7s ease-in-out infinite;
}

.preloader-logo {
    position: relative;
    z-index: 5;
    display: grid;
    place-items: center;
    padding: 14px 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 91, 143, 0.12);
}

.preloader-wordmark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(84vw, 820px);
    height: 120px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 4;
    opacity: 0.38;
}

.preloader-wordmark .word {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Poppins', 'Cairo', sans-serif;
    font-size: clamp(2.2rem, 6vw, 5.2rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.preloader-wordmark .outline {
    color: transparent;
    -webkit-text-stroke: 2px rgba(0, 118, 170, 0.55);
    text-shadow: 0 10px 30px rgba(0, 91, 143, 0.25);
}

.preloader-wordmark .fill {
    color: rgba(160, 232, 242, 0.9);
    animation: preloaderTextWave 4.2s ease-in-out infinite;
    filter: drop-shadow(0 10px 24px rgba(0, 91, 143, 0.2));
}

.preloader-logo::after {
    content: '';
    position: absolute;
    inset: -18px;
    border-radius: 32px;
    box-shadow: 0 0 55px rgba(0, 167, 167, 0.3);
    pointer-events: none;
}

.preloader-logo-dots {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(0, 167, 167, 0.85) 0 2px, transparent 3px),
        radial-gradient(circle, rgba(53, 212, 200, 0.7) 0 2px, transparent 3px);
    background-size: 12px 12px, 16px 16px;
    background-position: 0 0, 4px 6px;
    opacity: 0;
    -webkit-mask-image: var(--logo-mask);
    mask-image: var(--logo-mask);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    animation: preloaderDotShimmer 5s ease-in-out infinite;
    filter: drop-shadow(0 6px 16px rgba(0, 167, 167, 0.35));
}

.preloader-logo-dots.reflection {
    transform: translateY(110%) scaleY(-1);
    opacity: 0;
    filter: blur(1px);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 75%), var(--logo-mask);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 75%), var(--logo-mask);
    animation: preloaderDotShimmer 6s ease-in-out infinite reverse;
}

.preloader-logo .logo-main {
    position: relative;
    z-index: 2;
    height: clamp(56px, 8vw, 78px);
    width: auto;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(0, 91, 143, 0.25));
}

.preloader-logo .logo-reflection {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) scaleY(-1);
    height: 70px;
    width: auto;
    opacity: 0.22;
    filter: blur(1px);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 70%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 70%);
    pointer-events: none;
}

@supports ((-webkit-mask-image: url("")) or (mask-image: url(""))) {
    .preloader-logo-dots {
        opacity: 0.55;
    }
    .preloader-logo-dots.reflection {
        opacity: 0.2;
    }
    .preloader-logo .logo-main,
    .preloader-logo .logo-reflection {
        opacity: 1;
    }
}

.waterfall {
    position: absolute;
    top: -40%;
    left: 45%;
    width: 12%;
    height: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.65) 0%, rgba(53, 212, 200, 0.6) 50%, rgba(0, 91, 143, 0.85) 100%);
    filter: blur(0.5px);
    animation: fallStream 2.4s ease-in forwards;
    opacity: 0.9;
    overflow: hidden;
    z-index: 2;
}
.waterfall::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(transparent 0 14px, rgba(255,255,255,0.18) 14px 18px);
    mix-blend-mode: screen;
    animation: waterfallFlow 1s linear infinite;
}

.water-fill {
    position: absolute;
    left: -10%;
    bottom: -5%;
    width: 120%;
    height: 0%;
    background: linear-gradient(180deg, rgba(0, 167, 167, 0.85) 0%, rgba(0, 91, 143, 0.9) 100%);
    animation: fillWater 2.6s ease-in forwards;
    overflow: hidden;
    z-index: 1;
}

.wave {
    position: absolute;
    left: 0;
    width: 200%;
    height: 120px;
    background: radial-gradient(circle at 50% 60%, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 60%);
    opacity: 0.8;
    mix-blend-mode: screen;
}
.wave.wave1 {
    bottom: 0;
    animation: waveMove 4.5s linear infinite;
}
.wave.wave2 {
    bottom: 20px;
    opacity: 0.5;
    animation: waveMove 6s linear infinite reverse;
}
.wave.wave3 {
    bottom: 40px;
    opacity: 0.35;
    animation: waveMove 7s linear infinite;
}

.waterfall {
    position: absolute;
    top: -30%;
    left: 45%;
    width: 12%;
    height: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(0, 167, 167, 0.6) 60%, rgba(0, 91, 143, 0.8) 100%);
    filter: blur(0.7px);
    animation: fallStream 2.2s ease-in forwards;
    opacity: 0.9;
}

.water-ripples {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 4;
}
.water-ripples span {
    position: absolute;
    left: 50%;
    top: 65%;
    width: 140px;
    height: 140px;
    margin-left: -70px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    animation: rippleSpread 3.6s ease-out infinite;
}
.water-ripples span:nth-child(2) { animation-delay: 0.7s; }
.water-ripples span:nth-child(3) { animation-delay: 1.4s; }

.surface-waves {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 80%, rgba(255,255,255,0.18), transparent 45%);
    mix-blend-mode: screen;
    z-index: 3;
    animation: waveShimmer 6s ease-in-out infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fillWater {
    0% { height: 0%; }
    100% { height: 120%; }
}
@keyframes waveMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes fallStream {
    0% { height: 0; opacity: 0; }
    40% { height: 40%; opacity: 1; }
    100% { height: 90%; opacity: 1; }
}
@keyframes rippleSpread {
    0% { transform: scale(0.6); opacity: 0.6; }
    80% { transform: scale(1.4); opacity: 0; }
    100% { opacity: 0; }
}
@keyframes waterfallFlow {
    0% { transform: translateY(0); }
    100% { transform: translateY(100%); }
}
@keyframes waveShimmer {
    0% { transform: translateY(0); opacity: 0.55; }
    50% { transform: translateY(-6px); opacity: 0.9; }
    100% { transform: translateY(0); opacity: 0.55; }
}
@keyframes floatLogo {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

@keyframes preloaderWaveMove {
    0% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(-8%) translateY(-4px); }
    100% { transform: translateX(-16%) translateY(0); }
}

@keyframes preloaderWaveMoveReverse {
    0% { transform: translateX(-8%) translateY(0); }
    50% { transform: translateX(0) translateY(-3px); }
    100% { transform: translateX(8%) translateY(0); }
}

@keyframes preloaderWaveHighlight {
    0% { transform: translateX(-15%); opacity: 0.4; }
    50% { transform: translateX(0); opacity: 0.8; }
    100% { transform: translateX(15%); opacity: 0.4; }
}

@keyframes preloaderWaterRise {
    0% { height: 18%; }
    60% { height: 55%; }
    100% { height: 100%; }
}

@keyframes preloaderWaterShimmer {
    0% { transform: translateX(-10%); opacity: 0.2; }
    50% { transform: translateX(10%); opacity: 0.35; }
    100% { transform: translateX(-10%); opacity: 0.2; }
}

@keyframes preloaderDotShimmer {
    0% { background-position: 0 0, 4px 6px; opacity: 0.8; }
    50% { background-position: 12px -6px, 20px 4px; opacity: 1; }
    100% { background-position: 0 0, 4px 6px; opacity: 0.85; }
}

@keyframes preloaderWaterBob {
    0% { transform: translateZ(0) rotateX(6deg) translateY(0); }
    50% { transform: translateZ(0) rotateX(6deg) translateY(-6px); }
    100% { transform: translateZ(0) rotateX(6deg) translateY(0); }
}

@keyframes preloaderFoamDrift {
    0% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(-8%); opacity: 0.8; }
    100% { transform: translateX(0); opacity: 0.6; }
}

@keyframes preloaderWaveForever {
    0% { transform: translate3d(-90px, 0, 0); }
    100% { transform: translate3d(85px, 0, 0); }
}

@keyframes preloaderTextWave {
    0%,
    100% {
        clip-path: polygon(
            0% 55%,
            16% 54%,
            33% 58%,
            54% 64%,
            70% 64%,
            84% 60%,
            100% 56%,
            100% 100%,
            0% 100%
        );
    }
    50% {
        clip-path: polygon(
            0% 65%,
            15% 70%,
            34% 70%,
            51% 64%,
            67% 54%,
            84% 48%,
            100% 50%,
            100% 100%,
            0% 100%
        );
    }
}

@keyframes preloaderFall {
    0% { height: 0; opacity: 0; }
    25% { height: 28%; opacity: 0.75; }
    55% { height: 70%; opacity: 0.85; }
    100% { height: 96%; opacity: 0; }
}

@keyframes preloaderFallShimmer {
    0% { transform: translateY(0); opacity: 0.2; }
    50% { transform: translateY(18%); opacity: 0.6; }
    100% { transform: translateY(36%); opacity: 0.2; }
}

@keyframes preloaderRippleDrift {
    0% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(-4%) translateY(-3%); }
    100% { transform: translateX(0) translateY(0); }
}

@keyframes preloaderCaustics {
    0% { transform: translateY(0); opacity: 0.25; }
    50% { transform: translateY(-8px); opacity: 0.5; }
    100% { transform: translateY(0); opacity: 0.25; }
}

.back-to-top {
    position: fixed;
    left: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    z-index: 1500;
}

.back-to-top.show { display: flex; }

.floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-soft);
    z-index: 1500;
}

.footer {
    position: relative;
    background: linear-gradient(150deg, #05090f 0%, #071725 42%, #0a1f2e 70%, #0b2534 100%);
    color: #cbd5e1;
    padding: 60px 0 30px;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(0, 167, 167, 0.18), transparent 42%),
        radial-gradient(circle at 86% 10%, rgba(0, 91, 143, 0.35), transparent 40%),
        radial-gradient(circle at 70% 85%, rgba(53, 212, 200, 0.14), transparent 48%),
        linear-gradient(120deg, rgba(5, 12, 18, 0.9), rgba(8, 20, 30, 0.45) 55%, rgba(5, 10, 16, 0.9));
    opacity: 0.95;
    pointer-events: none;
}

.footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 420' fill='none' stroke='%2300a7a7' stroke-opacity='0.18' stroke-width='1.4'%3E%3Cpath d='M40 360L260 120L520 300L740 120L980 320L1160 140'/%3E%3Cpath d='M0 280L220 80L480 250L700 70L960 260L1200 100'/%3E%3Crect x='70' y='70' width='260' height='180' rx='18'/%3E%3Crect x='100' y='100' width='200' height='120' rx='14'/%3E%3Crect x='820' y='200' width='260' height='160' rx='18'/%3E%3Crect x='850' y='225' width='200' height='110' rx='14'/%3E%3Cpath d='M420 60h360'/%3E%3Cpath d='M380 380h440'/%3E%3Cpath d='M140 300h180'/%3E%3Cpath d='M900 120h220'/%3E%3Cpath d='M560 220c40-50 90-70 150-70 70 0 120 30 170 80'/%3E%3Cpath d='M560 140c30-20 60-30 90-30 40 0 70 15 100 40'/%3E%3C/svg%3E");
    background-size: 120px 120px, 120px 120px, cover;
    background-position: center, center, center bottom;
    opacity: 0.55;
    pointer-events: none;
    mix-blend-mode: screen;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.9rem;
    letter-spacing: 0.2px;
}

.footer-links li {
    margin-bottom: 0.45rem;
}

.footer-links a {
    color: #cbd5e1;
    transition: color 0.2s ease;
}

.footer-links a:hover { color: #fff; }

.footer .text-muted { color: rgba(226, 232, 240, 0.6) !important; }

.stat-box {
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(0, 91, 143, 0.9), rgba(0, 167, 167, 0.9));
    color: #fff;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.object-fit-cover { object-fit: cover; }

.wave-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 20% 20%, rgba(53, 212, 200, 0.1), transparent 40%), radial-gradient(circle at 80% 0%, rgba(0, 91, 143, 0.18), transparent 35%), linear-gradient(135deg, #f7fbff, #eef6fb);
}

.wave-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='1440' height='320' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%2300a7a7' fill-opacity='0.08' d='M0,224L48,224C96,224,192,224,288,197.3C384,171,480,117,576,96C672,75,768,85,864,112C960,139,1056,181,1152,197.3C1248,213,1344,203,1392,197.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    opacity: 0.6;
    pointer-events: none;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 91, 143, 0.08);
    color: var(--color-primary);
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 700;
}

.shine {
    position: relative;
    overflow: hidden;
}

.shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 2.8s infinite;
}

@keyframes shine { to { left: 150%; } }
@keyframes float { 0% { transform: translateY(0); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0); } }
@keyframes kenburns {
    0% { transform: scale(1) translateZ(0); }
    50% { transform: scale(1.06) translateZ(0); }
    100% { transform: scale(1) translateZ(0); }
}
@keyframes waterLines {
    0% { background-position: 0% 50%; opacity: 0.55; }
    50% { background-position: 100% 50%; opacity: 0.85; }
    100% { background-position: 0% 50%; opacity: 0.55; }
}

.ripple {
    position: relative;
    isolation: isolate;
}
.ripple::after {
    content: '';
    position: absolute;
    inset: -10%;
    border-radius: 50%;
    border: 1px solid rgba(0, 167, 167, 0.35);
    animation: ripple 6s infinite;
    z-index: -1;
}
@keyframes ripple {
    0% { transform: scale(0.8); opacity: 1; }
    70% { transform: scale(1.3); opacity: 0; }
    100% { opacity: 0; }
}
@keyframes sparkle {
    0% { transform: translateY(0) scale(0.8); opacity: 0.2; }
    50% { transform: translateY(-12px) scale(1.1); opacity: 0.9; }
    100% { transform: translateY(0) scale(0.8); opacity: 0.2; }
}
@keyframes pulseGlow {
    0% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.03); }
    100% { opacity: 0.3; transform: scale(1); }
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.marquee {
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 91, 143, 0.12), rgba(0, 167, 167, 0.12));
    border-radius: 999px;
    border: 1px solid rgba(0, 91, 143, 0.15);
    padding: 12px 0;
    box-shadow: var(--shadow-soft);
}
.marquee-track {
    display: flex;
    gap: 32px;
    animation: marquee 22s linear infinite;
    white-space: nowrap;
}
.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
    font-weight: 700;
    padding: 0 16px;
}
.marquee-item i { color: var(--color-secondary); }
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .hero { min-height: 60vh; }
}
