* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-1: #d6f3e2;
    --bg-2: #b7e6c8;
    --bg-3: #8bcf9f;
    --glass: rgba(255, 255, 255, 0.18);
    --glass-strong: rgba(255, 255, 255, 0.26);
    --text: #104d2e;
    --text-soft: #236443;
    --accent: #5ccf86;
    --accent-deep: #2f9d59;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.35), transparent 32%),
        radial-gradient(circle at 85% 20%, rgba(112, 215, 146, 0.35), transparent 28%),
        linear-gradient(145deg, var(--bg-1) 0%, var(--bg-2) 45%, var(--bg-3) 100%);
    position: relative;
    overflow-x: hidden;
    color: var(--text);
    font-family: 'Cairo', sans-serif;
    display: grid;
    place-items: center;
    padding: 10px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 18% 25%, rgba(255, 255, 255, 0.24), transparent 25%),
        radial-gradient(circle at 78% 72%, rgba(55, 167, 97, 0.18), transparent 30%);
    animation: softBgMove 18s infinite alternate ease-in-out;
    pointer-events: none;
    z-index: 0;
}

@keyframes softBgMove {
    0% {
        opacity: 0.55;
        transform: scale(1) rotate(0deg);
    }
    100% {
        opacity: 0.95;
        transform: scale(1.04) rotate(1deg);
    }
}

.glass-container {
    position: relative;
    z-index: 1;
    width: min(1160px, 100%);
    margin: 0 auto;
    height: min(calc(100dvh - 20px), 100vh);
    max-height: calc(100dvh - 20px);
    padding: clamp(16px, 2.1vw, 26px) clamp(14px, 2.2vw, 28px);
    border-radius: 36px;
    text-align: center;
    /* background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.12)); */
    /* backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%); */
    
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(8px, 1.1vh, 14px);
    animation: floatIn 0.9s cubic-bezier(0.12, 0.71, 0.33, 1);
    overflow: hidden;
}

@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(28px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.main-title {
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(2.1rem, 7.5vw, 4.8rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #134b2c 0%, #2f8d53 48%, #71c98f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 8px 20px rgba(20, 90, 46, 0.16);
    animation: titleReveal 0.9s ease-out;
}

@keyframes titleReveal {
    0% {
        opacity: 0;
        letter-spacing: 12px;
        filter: blur(6px);
    }
    100% {
        opacity: 1;
        letter-spacing: -0.03em;
        filter: blur(0);
    }
}

.arabic-slogan {
    font-size: clamp(0.9rem, 2vw, 1.28rem);
    color: var(--text-soft);
    font-weight: 600;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.coming-soon-showcase {
    margin: 2px 0;
    perspective: 600px;
}

.letters-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: clamp(4px, 0.8vh, 8px) 0;
}

.word-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 8px;
    width: 100%;
}

.letter {
    font-family: 'Quicksand', 'Cairo', sans-serif;
    font-size: clamp(1.45rem, 3.1vw + 0.9vh, 3.35rem);
    font-weight: 700;
    text-transform: uppercase;
    color: #165f37;
    display: inline-block;
    position: relative;
    text-shadow: 0 0 12px rgba(112, 201, 143, 0.32);
    backface-visibility: hidden;
    transform-style: preserve-3d;
    opacity: 0;
    animation: letterEnter 0.65s forwards, letterGentlePulse 4s infinite alternate 0.9s;
    animation-delay: calc(0.05s * var(--i));
    transition: transform 0.2s ease-out, text-shadow 0.2s, color 0.2s;
    will-change: transform, text-shadow;
}

@keyframes letterEnter {
    0% {
        opacity: 0;
        transform: rotateX(80deg) translateY(24px) scale(0.6);
        filter: blur(6px);
    }
    100% {
        opacity: 1;
        transform: rotateX(0) translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes letterGentlePulse {
    0% {
        text-shadow: 0 0 8px rgba(123, 214, 153, 0.42), 0 0 18px rgba(73, 173, 108, 0.24);
        transform: translateY(0);
    }
    100% {
        text-shadow: 0 0 16px rgba(184, 242, 205, 0.72), 0 0 32px rgba(93, 194, 124, 0.35);
        transform: translateY(-3px);
    }
}

.letter:hover {
    transform: scale(1.15) rotateZ(-2deg) translateY(-6px) !important;
    color: #0f6b3d;
    text-shadow: 0 0 18px rgba(138, 230, 167, 0.65), 0 0 32px rgba(96, 192, 124, 0.45);
}

.space-letter {
    min-width: clamp(14px, 3vw, 42px);
    display: inline-block;
    opacity: 0.22;
    pointer-events: none;
    text-shadow: none;
    animation: none !important;
}

.coming-soon-line {
    width: clamp(96px, 22vw, 220px);
    height: 3px;
    margin: 8px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #5bcf84, #b4f0c7, #5bcf84, transparent);
    filter: blur(1px);
    animation: linePulse 4s infinite alternate;
}

@keyframes linePulse {
    0% {
        opacity: 0.45;
        width: 100px;
    }
    100% {
        opacity: 1;
        width: 240px;
    }
}

.footer-note {
    margin-top: 2px;
    color: #1f6b42;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    font-weight: 600;
    font-size: clamp(0.8rem, 1.55vw, 0.98rem);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 18px rgba(92, 207, 134, 0.75);
    animation: dotPulse 2.4s infinite;
}

@keyframes dotPulse {
    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.4);
    }
}

.team-section {
    width: 100%;
    margin-top: clamp(8px, 1.2vh, 14px);
    padding: clamp(12px, 1.6vw, 18px);
    border-radius: 30px;
    /* background: linear-gradient(180deg, rgba(38, 126, 68, 0.16), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    overflow: hidden; */
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-heading {
    margin-bottom: clamp(8px, 1.2vh, 12px);
}

.section-kicker {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(76, 190, 112, 0.18);
    color: #176338;
    font-size: clamp(0.68rem, 1vw, 0.82rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin-top: 6px;
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(1.25rem, 3.2vw, 2rem);
    color: #134b2c;
}

.section-heading p {
    margin-top: 4px;
    color: rgba(19, 75, 44, 0.78);
    font-size: clamp(0.84rem, 1.4vw, 0.96rem);
}

.team-slider {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.team-slider::before,
.team-slider::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(26px, 5vw, 56px);
    z-index: 2;
    pointer-events: none;
}

.team-slider::before {
    left: 0;
    background: linear-gradient(90deg, rgba(212, 245, 221, 0.96), rgba(212, 245, 221, 0));
}

.team-slider::after {
    right: 0;
    background: linear-gradient(270deg, rgba(212, 245, 221, 0.96), rgba(212, 245, 221, 0));
}

.team-track {
    display: flex;
    width: max-content;
    padding: 4px 0;
    animation: teamScroll 32s linear infinite;
}

.team-group {
    display: flex;
    gap: clamp(10px, 1.5vw, 14px);
    margin-right: clamp(10px, 1.5vw, 14px);
}

@keyframes teamScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.team-card {
    flex: 0 0 clamp(150px, 18vw, 200px);
    border-radius: 26px;
    padding: clamp(10px, 1.1vw, 13px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.14));
    border: 1px solid rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    box-shadow: 0 18px 36px rgba(11, 76, 39, 0.12);
    text-align: center;
    color: #134b2c;
    transform: translateZ(0);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 45%);
    pointer-events: none;
}

.team-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 24px 48px rgba(11, 76, 39, 0.16);
}

.team-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    object-fit: cover;
    display: block;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.team-name {
    margin-top: 8px;
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(0.82rem, 1.25vw, 1rem);
    font-weight: 700;
    color: #0f5b33;
}

.team-role {
    margin-top: 4px;
    font-size: clamp(0.74rem, 1.1vw, 0.9rem);
    color: rgba(19, 75, 44, 0.82);
}

@media (max-width: 720px) {
    .glass-container {
        border-radius: 24px;
        height: min(calc(100dvh - 14px), 100vh);
        max-height: calc(100dvh - 14px);
        padding: 14px 12px;
        gap: 8px;
        overflow-y: auto;
    }

    .word-group {
        flex-wrap: nowrap;
    }

    .team-section {
        padding: 10px;
        border-radius: 22px;
    }

    .team-card {
        flex-basis: clamp(138px, 47vw, 172px);
    }

    .team-slider::before,
    .team-slider::after {
        width: 24px;
    }

    .main-title {
        font-size: clamp(1.85rem, 9.2vw, 2.5rem);
    }

    .arabic-slogan {
        font-size: clamp(0.78rem, 3.35vw, 0.98rem);
    }

    .letter {
        font-size: clamp(1.2rem, 8.6vw, 2.1rem);
    }

    .footer-note {
        font-size: 0.76rem;
        gap: 8px;
    }
}

@media (max-height: 760px) {
    .glass-container {
        padding-top: 12px;
        padding-bottom: 12px;
        gap: 6px;
    }

    .main-title {
        font-size: clamp(1.8rem, 5.8vh, 2.6rem);
    }

    .arabic-slogan {
        font-size: clamp(0.75rem, 2.1vh, 0.95rem);
    }

    .letter {
        font-size: clamp(1.1rem, 4.8vh, 1.9rem);
    }

    .team-section {
        margin-top: 6px;
        padding: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        scroll-behavior: auto !important;
        transition: none !important;
    }
}