* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Cairo", sans-serif;
    background: #ffffff;
    color: #163b5d;
    overflow-x: hidden;
}

:root {
    --blue: #0868b8;
    --dark-blue: #074d86;
    --light-blue: #eef7ff;
    --border: #e1edf6;
    --text: #163b5d;
    --muted: #71859a;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    height: 76px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid #edf2f6;
}

.nav-container {
    width: min(1200px, 92%);
    height: 100%;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}

.brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.brand strong {
    display: block;
    font-size: 13px;
    color: var(--blue);
}

.brand span {
    display: block;
    font-size: 10px;
    color: #91a0ad;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #47637b;
    font-size: 14px;
    font-weight: 600;
    transition: 0.25s;
}

.nav-links a:hover {
    color: var(--blue);
}

/* .center-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-weight: 700;
    font-size: 13px;
}

.center-brand img {
    width: 45px;
    height: 45px;
    object-fit: contain;
} */

.menu-btn {
    display: none;
    border: 0;
    background: none;
    color: var(--blue);
    font-size: 25px;
    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 690px;
    padding-top: 76px;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
}

.hero::before {
    content: "";
    position: absolute;

    width: 550px;
    height: 550px;

    right: -250px;
    top: 100px;

    background: #edf7ff;
    border-radius: 50%;
}

.hero::after {
    content: "";
    position: absolute;

    width: 300px;
    height: 300px;

    left: -150px;
    bottom: -100px;

    background: #f1f9ff;
    border-radius: 50%;
}

.hero-image {
    position: absolute;

    right: 0;
    bottom: 0;

    width: 45%;
    height: 90%;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            rgba(255,255,255,.25) 100%
        ),
        url("images/hero.jpg") center/cover;

    opacity: .18;
}

.hero-content {
    width: min(850px, 92%);
    text-align: center;

    position: relative;
    z-index: 2;

    animation: heroIn .8s ease;
}

@keyframes heroIn {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.hero-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.hero-logos img {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.small-title {
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.hero h1 {
    font-size: clamp(55px, 8vw, 90px);
    line-height: 1;
    color: var(--blue);
    font-weight: 900;
}

.hero h2 {
    margin-top: 12px;
    font-size: clamp(24px, 4vw, 38px);
    color: var(--dark-blue);
}

.hero-text {
    margin-top: 12px;
    color: var(--muted);
    font-size: 17px;
}

.main-button {
    display: inline-block;

    margin-top: 28px;

    padding: 13px 35px;

    border-radius: 10px;

    background: var(--blue);
    color: white;

    font-size: 15px;
    font-weight: 700;

    transition: .25s;

    box-shadow: 0 8px 25px rgba(8,104,184,.18);
}

.main-button:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 90px 0;
}

/* .container {
    width: min(1050px, 92%);
    margin: auto;
} */

.section-heading {
    text-align: center;
    margin-bottom: 35px;
}

.section-heading h2 {
    font-size: 32px;
    color: var(--blue);
    margin-bottom: 7px;
}

.section-heading p {
    color: var(--muted);
    font-size: 15px;
}


/* =========================
   VIDEO
========================= */

.video-card {
    width: min(900px, 100%);
    margin: auto;

    padding: 8px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: white;

    box-shadow:
        0 15px 45px rgba(20,80,120,.08);
}

.video-card video {
    width: 100%;
    display: block;

    aspect-ratio: 16 / 9;

    object-fit: cover;

    border-radius: 14px;

    background: #071d30;
}


/* =========================
   GALLERY
========================= */

/* .gallery-section {
    background: #f8fbfe;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    height: 230px;
    overflow: hidden;

    border-radius: 15px;

    background: #edf5fb;

    border: 3px solid white;

    box-shadow:
        0 10px 30px rgba(20,80,120,.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .4s;
}

.gallery-item:hover img {
    transform: scale(1.05);
} */


/* =========================
   MESSAGE
========================= */

.message {
    padding: 80px 0;
}

.message-box {
    min-height: 250px;

    padding: 45px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            120deg,
            #eef8ff,
            #f9fcff
        );

    border: 1px solid #deedf8;

    border-radius: 25px;

    position: relative;

    overflow: hidden;
}

.message-box::after {
    content: "6";
    position: absolute;

    left: 20px;
    bottom: -80px;

    font-size: 280px;
    font-weight: 900;

    color: #0a6db9;
    opacity: .025;
}

.message-box div {
    max-width: 700px;
    margin: auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.message-box span {
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
}

.message-box h2 {
    margin: 10px 0;

    color: var(--dark-blue);
    font-size: 28px;
}

.message-box p {
    color: #657d92;
    line-height: 2;
    font-size: 16px;
}


/* =========================
   REGISTER
========================= */

.register-section {
    background: #f8fbfe;
}

.form-card {
    width: min(750px, 100%);
    margin: auto;

    padding: 40px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 22px;

    box-shadow:
        0 20px 55px rgba(20,80,120,.09);
}

.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: block;

    margin-bottom: 7px;

    color: #36566f;

    font-size: 14px;
    font-weight: 700;
}

.input-group input,
.input-group select {
    width: 100%;
    height: 50px;

    padding: 0 15px;

    border: 1px solid #d9e6ef;

    border-radius: 10px;

    background: #fcfeff;

    color: var(--text);

    font-family: inherit;

    outline: none;

    transition: .2s;
}

.input-group input:focus,
.input-group select:focus {
    border-color: #2381ca;

    box-shadow:
        0 0 0 3px rgba(35,129,202,.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.submit-button {
    width: 100%;
    height: 52px;

    border: 0;
    border-radius: 10px;

    background: var(--blue);

    color: white;

    font-family: inherit;

    font-size: 16px;
    font-weight: 800;

    cursor: pointer;

    transition: .25s;
}

.submit-button:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}

#status {
    text-align: center;
    margin-top: 15px;
    font-weight: 700;
    font-size: 14px;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 30px 0;

    background: white;

    border-top: 1px solid #e8eef3;

    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.footer-content img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.footer-content strong {
    color: var(--blue);
    font-size: 13px;
}

.footer-content p {
    color: #8293a2;
    font-size: 12px;
}

footer small {
    display: block;
    margin-top: 10px;
    color: #9aa8b5;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 850px) {

    .nav-links {
        display: none;

        position: absolute;

        top: 76px;
        right: 0;
        left: 0;

        padding: 20px;

        background: white;

        border-bottom: 1px solid #e5edf4;

        flex-direction: column;

        align-items: center;

        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .center-brand {
        display: none;
    }

    .brand span {
        display: none;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-image {
        width: 100%;
        opacity: .1;
    }

}

@media (max-width: 600px) {

    .navbar {
        height: 68px;
    }

    .brand img {
        width: 42px;
        height: 42px;
    }

    .brand strong {
        font-size: 11px;
    }

    .hero {
        min-height: 600px;
        padding-top: 68px;
    }

    .hero-logos img {
        width: 65px;
        height: 65px;
    }

    .hero h1 {
        font-size: 55px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .section {
        padding: 65px 0;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    /* .gallery {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 250px;
    } */

    .form-card {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .message-box {
        padding: 35px 20px;
    }

}





  footer a {

            color: #8fd3f4;

            text-decoration: none;

            font-weight: 700;
        }


        /* =========================================
           DEVELOPER PORTFOLIO BUTTON
        ========================================= */

        .developer-portfolio {

            display: inline-flex;

            align-items: center;

            justify-content: center;

            gap: 10px;

            margin-top: 14px;

            padding: 10px 20px;

            border-radius: 30px;

            text-decoration: none;

            color: #8fd3f4;

            background:
                rgba(143,211,244,.06);

            border:
                1px solid
                rgba(143,211,244,.25);

            font-family:
                "Poppins",
                "Cairo",
                sans-serif;

            font-size: 12px;

            font-weight: 700;

            transition: .3s;

            position: relative;

            overflow: hidden;
        }


        .developer-portfolio::before {

            content: "";

            position: absolute;

            inset: 0;

            background:
                linear-gradient(
                    90deg,
                    transparent,
                    rgba(143,211,244,.12),
                    transparent
                );

            transform:
                translateX(-100%);

            transition: .5s;
        }


        .developer-portfolio:hover::before {

            transform:
                translateX(100%);
        }


        .developer-portfolio:hover {

            color: #071b32;

            background: #8fd3f4;

            border-color: #8fd3f4;

            transform:
                translateY(-3px);

            box-shadow:
                0 10px 28px
                rgba(143,211,244,.22);
        }
