:root {
    --navy: #092f4d;
    --navy-dark: #061d30;
    --blue: #0c5d91;
    --white: #ffffff;
    --text: #13202b;
    --muted: #5e6b76;
    --footer: #eaf0f4;
    --highlight: #ffd166;
    --shadow: 0 20px 55px rgba(5, 26, 46, 0.22);
    --radius: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
    background: #ffffff;
}

body.is-rtl {
    text-align: right;
}

/* Navigation blur effect */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;

    display: flex;
    justify-content: center;
    gap: clamp(18px, 8vw, 120px);

    padding: 12px 20px;
    background: rgba(5, 28, 47, 0.58);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.nav-button {
    border: none;
    background: transparent;
    color: var(--white);

    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.02em;

    cursor: pointer;
    padding: 6px 10px;
    border-radius: 999px;

    transition:
            transform 200ms ease,
            background 200ms ease,
            color 200ms ease;
}

.nav-button:hover,
.nav-button:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.16);
    outline: none;
}

/* Hero section */
.hero {
    min-height: 100vh; /* makes hero cover the full first screen */
    min-height: 100svh; /* better mobile support */

    display: grid;
    place-items: center;
    text-align: center;

    padding: 120px clamp(20px, 9vw, 140px) 80px;
    color: var(--white);

    background:
            linear-gradient(
                    180deg,
                    rgba(4, 25, 44, 0.48),
                    rgba(9, 47, 77, 0.2) 52%,
                    rgba(4, 25, 44, 0.38)
            ),
            url("hero-airplane.jpg") center / cover no-repeat;

    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 180px; /* this keeps the fade effect */
    background: linear-gradient(
            0deg,
            rgba(255, 255, 255, 1),
            rgba(255, 255, 255, 0)
    );

    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;

    max-width: min(900px, 92vw);
    animation: heroReveal 900ms cubic-bezier(0.2, 0.8, 0.2, 1) 120ms both;
}

.hero h1 {
    font-size: clamp(3.6rem, 10vw, 8.2rem);
    line-height: 1;
    letter-spacing: 0;
    margin-bottom: 20px;
    color: transparent;
    background: linear-gradient(90deg, #18c7d2 0%, #249fe8 52%, #5a72ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 24px rgba(3, 15, 26, 0.58));
}

body.is-rtl .hero-content {
    text-align: center;
}

body.is-rtl .hero h1,
body.is-rtl .section-title,
body.is-rtl .nav-button {
    letter-spacing: 0;
}

body.is-rtl .hero h1 {
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.6vw, 2.15rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    text-shadow: 0 8px 24px rgba(3, 15, 26, 0.66);
    animation: heroSubtitleReveal 800ms ease-out 420ms both;
}

/* Buttons */
.btn {
    position: relative;
    isolation: isolate;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 0 24px;

    border: none;
    border-radius: 10px;

    background: var(--white);
    color: var(--navy);

    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;

    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);

    transition:
            transform 220ms ease,
            box-shadow 220ms ease;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    z-index: -1;

    width: 55%;
    height: 100%;

    background: linear-gradient(
            90deg,
            transparent,
            rgba(12, 93, 145, 0.18),
            transparent
    );

    transform: skewX(-20deg);
    transition: left 480ms ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26);
    outline: none;
}

.btn:hover::before,
.btn:focus-visible::before {
    left: 125%;
}

/* Main sections */
.section {
    scroll-margin-top: 82px;
    padding: clamp(58px, 8vw, 96px) clamp(20px, 7vw, 110px);
}

.section-title {
    text-align: center;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
    margin-bottom: 36px;
    letter-spacing: -0.04em;
}

.section-title::after {
    content: "";
    display: block;

    width: 120px;
    height: 5px;

    margin: 12px auto 0;
    border-radius: 999px;
    background: var(--text);
}

/* About section */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: clamp(34px, 7vw, 88px);

    max-width: 1180px;
    margin: 0 auto;
}

.about-text {
    font-size: clamp(1.05rem, 1.7vw, 1.28rem);
    text-align: center;
}

.about-visual {
    min-height: 360px;
    border-radius: 20px;
    background: url("about-us.jpg") center center / cover no-repeat;
    box-shadow: var(--shadow);
}

.about-visual::after {
    left: 20%;
    right: 20%;
    bottom: 110px;

    height: 92px;
    border-radius: 12px 12px 26px 26px;

    background: rgba(7, 22, 35, 0.86);
    box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.06);
}


/* Goals section */
.goals {
    padding-top: 30px;
    background: linear-gradient(180deg, #ffffff, #f6fbff);
}

.goals p {
    max-width: 1130px;
    margin: 0 auto;
    text-align: center;
    font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

body.is-rtl .about-text,
body.is-rtl .goals p {
    text-align: right;
}

/* Footer */
.footer {
    scroll-margin-top: 82px;
    padding: 30px clamp(20px, 5vw, 70px) 24px;
    background: var(--footer);
    color: var(--text);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 34px 120px;
    align-items: flex-start;
    margin-bottom: 36px;
}

.footer-box {
    padding: 12px 16px;
    border-radius: 14px;

    transition:
            background 250ms ease,
            box-shadow 250ms ease,
            transform 250ms ease;
}

.footer-box h3 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.footer-box p {
    color: var(--text);
    font-size: 0.95rem;
}

.phone-number {
    direction: ltr;
    unicode-bidi: isolate;
}

.language-switch {
    border: 0;
    background: transparent;
    color: var(--blue);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.language-switch:hover,
.language-switch:focus-visible {
    color: var(--navy-dark);
    outline: none;
}

.language-switch:focus-visible {
    box-shadow: 0 0 0 3px rgba(12, 93, 145, 0.2);
    border-radius: 4px;
}

.footer-box.highlight {
    background: rgba(255, 209, 102, 0.55);
    box-shadow:
            0 0 0 4px rgba(255, 209, 102, 0.28),
            0 12px 30px rgba(9, 47, 77, 0.12);

    transform: translateY(-3px);
    animation: pulseHighlight 1.2s ease-in-out 2;
}

.copyright {
    color: var(--muted);
    font-size: 0.92rem;
}

/* Footer highlight animation */
@keyframes pulseHighlight {
    0%,
    100% {
        box-shadow:
                0 0 0 4px rgba(255, 209, 102, 0.28),
                0 12px 30px rgba(9, 47, 77, 0.12);
    }

    50% {
        box-shadow:
                0 0 0 10px rgba(255, 209, 102, 0.14),
                0 18px 36px rgba(9, 47, 77, 0.2);
    }
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(26px) scale(0.98);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes heroSubtitleReveal {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 780px) {
    .site-nav {
        top: 10px;
        left: 12px;
        right: 12px;

        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px;

        padding: 5px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 999px;
        background: rgba(5, 28, 47, 0.72);
    }

    .nav-button {
        min-height: 36px;
        padding: 0 6px;
        border-radius: 999px;
        font-size: 0.8rem;
        line-height: 1.15;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .nav-button:hover,
    .nav-button:focus-visible {
        transform: none;
        background: rgba(255, 255, 255, 0.14);
    }

    .hero {
        min-height: 650px;
        padding: 118px 18px 64px;
        background:
                linear-gradient(
                        180deg,
                        rgba(4, 25, 44, 0.6),
                        rgba(9, 47, 77, 0.18) 46%,
                        rgba(4, 25, 44, 0.46)
                ),
                url("hero-airplane.jpg") 6% center / cover no-repeat;
    }

    .hero-subtitle {
        font-size: 1.16rem;
    }

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

    .about-visual {
        min-height: 280px;
    }

    .footer-content {
        gap: 18px 40px;
    }
}
