/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background: #071b2d;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}


/* =========================
   BACKGROUND
========================= */

.background {
    position: fixed;
    inset: 0;
    z-index: -2;

    background:
        linear-gradient(
            135deg,
            rgba(3, 20, 35, 0.95),
            rgba(8, 55, 75, 0.88)
        ),
        url("center1.jpg");

    background-size: cover;
    background-position: center;

    animation: backgroundMove 15s ease-in-out infinite alternate;
}

.background::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(0, 212, 170, 0.18),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(0, 140, 255, 0.15),
            transparent 30%
        );
}

@keyframes backgroundMove {

    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }

}


/* =========================
   NAVBAR
========================= */

.navbar {

    width: 100%;

    padding: 18px 6%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    position: relative;

    z-index: 10;

    background: rgba(3, 20, 35, 0.55);

    backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(255,255,255,0.12);
}


/* BRAND */

.brand {

    display: flex;

    align-items: center;

    gap: 15px;
}

.logo {

    width: 65px;

    height: 65px;

    object-fit: cover;

    border-radius: 50%;

    border: 2px solid rgba(255,255,255,0.7);

    box-shadow:
        0 0 20px rgba(0, 212, 170, 0.4);
}

.brand-text h3 {

    font-size: 21px;

    font-weight: 800;
}

.brand-text span {

    font-size: 13px;

    color: #b8d5dc;
}


/* NAV */

nav ul {

    display: flex;

    list-style: none;

    gap: 10px;
}

nav ul li a {

    color: #fff;

    text-decoration: none;

    font-size: 16px;

    padding: 10px 18px;

    border-radius: 30px;

    transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {

    background: rgba(255,255,255,0.12);

    color: #6fffe9;

    box-shadow:
        0 0 20px rgba(0, 212, 170, 0.15);
}


/* MENU */

.menu-icon {

    display: none;

    font-size: 28px;

    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {

    min-height: 650px;

    padding: 90px 8%;

    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    align-items: center;

    gap: 80px;
}


/* HERO CONTENT */

.hero-content {

    max-width: 750px;
}

.badge {

    display: inline-block;

    padding: 8px 18px;

    margin-bottom: 20px;

    border-radius: 30px;

    background: rgba(0, 212, 170, 0.12);

    border: 1px solid rgba(0, 212, 170, 0.3);

    color: #6fffe9;

    font-size: 14px;
}

.hero h1 {

    font-size: clamp(38px, 5vw, 65px);

    line-height: 1.4;

    margin-bottom: 25px;

    font-weight: 800;
}

.hero h1 span {

    display: block;

    color: #6fffe9;

    text-shadow:
        0 0 30px rgba(0, 212, 170, 0.25);
}

.intro {

    color: #d5e6eb;

    font-size: 18px;

    line-height: 2;

    max-width: 650px;

    margin-bottom: 35px;
}


/* BUTTONS */

.buttons {

    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}

.main-btn,
.second-btn {

    text-decoration: none;

    padding: 14px 28px;

    border-radius: 35px;

    font-size: 16px;

    font-weight: 700;

    transition: 0.3s;
}

.main-btn {

    background: #00c9a7;

    color: #06202d;

    box-shadow:
        0 10px 30px rgba(0, 201, 167, 0.25);
}

.main-btn:hover {

    transform: translateY(-4px);

    background: #6fffe9;

    box-shadow:
        0 15px 40px rgba(0, 201, 167, 0.4);
}

.second-btn {

    color: #fff;

    border: 1px solid rgba(255,255,255,0.25);

    background: rgba(255,255,255,0.06);
}

.second-btn:hover {

    background: rgba(255,255,255,0.15);

    transform: translateY(-4px);
}


/* =========================
   INFO CARD
========================= */

.info-card {

    padding: 40px;

    border-radius: 30px;

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.15);

    backdrop-filter: blur(20px);

    box-shadow:
        0 30px 80px rgba(0,0,0,0.25);

    transition: 0.4s;
}

.info-card:hover {

    transform: translateY(-8px);

    border-color: rgba(0, 212, 170, 0.4);
}

.icon {

    width: 70px;

    height: 70px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 20px;

    font-size: 32px;

    background: rgba(0, 212, 170, 0.15);

    margin-bottom: 25px;
}

.info-card h2 {

    font-size: 25px;

    margin-bottom: 15px;
}

.info-card p {

    color: #c6dce2;

    line-height: 2;
}

.card-line {

    height: 1px;

    background: rgba(255,255,255,0.15);

    margin: 25px 0;
}

.stats {

    display: flex;

    justify-content: space-between;

    gap: 15px;
}

.stats div {

    display: flex;

    flex-direction: column;

    gap: 5px;
}

.stats strong {

    color: #6fffe9;

    font-size: 22px;
}

.stats span {

    color: #b5ccd2;

    font-size: 12px;
}


/* =========================
   SECTIONS
========================= */

.about,
.services {

    padding: 90px 8%;

    background: rgba(2, 16, 28, 0.65);
}

.section-title {

    text-align: center;

    margin-bottom: 50px;
}

.section-title span {

    color: #6fffe9;

    font-size: 14px;
}

.section-title h2 {

    font-size: 35px;

    margin-top: 10px;
}


/* ABOUT GRID */

.about-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.about-card {

    position: relative;

    padding: 35px;

    border-radius: 25px;

    background: rgba(255,255,255,0.06);

    border: 1px solid rgba(255,255,255,0.1);

    transition: 0.4s;
}

.about-card:hover {

    transform: translateY(-8px);

    background: rgba(255,255,255,0.09);

    border-color: rgba(0, 212, 170, 0.35);
}

.number {

    font-size: 45px;

    font-weight: 800;

    color: rgba(0, 212, 170, 0.3);

    margin-bottom: 10px;
}

.about-card h3 {

    font-size: 22px;

    margin-bottom: 15px;
}

.about-card p {

    color: #c4d7dc;

    line-height: 2;

    font-size: 15px;
}


/* =========================
   SERVICES
========================= */

.service-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.service-card {

    text-align: center;

    padding: 35px 20px;

    border-radius: 25px;

    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.1);

    transition: 0.4s;
}

.service-card:hover {

    transform: translateY(-8px);

    background: rgba(0, 212, 170, 0.08);

    border-color: rgba(0, 212, 170, 0.3);
}

.service-icon {

    font-size: 35px;

    margin-bottom: 15px;
}

.service-card h3 {

    margin-bottom: 10px;
}

.service-card p {

    color: #bcd1d6;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================
   FOOTER
========================= */

footer {

    padding: 35px 8%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    background: rgba(1, 10, 18, 0.9);

    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-logo img {

    width: 50px;

    height: 50px;

    border-radius: 50%;
}

footer h3 {

    font-size: 18px;
}

footer p {

    color: #9eb8bf;

    font-size: 13px;
}

.footer-copy {

    color: #829ba2;

    font-size: 13px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    nav ul {

        gap: 0;
    }

    nav ul li a {

        font-size: 14px;

        padding: 8px 10px;
    }

    .hero {

        grid-template-columns: 1fr;

        gap: 40px;

        padding-top: 60px;
    }

    .info-card {

        max-width: 600px;
    }

    .about-grid {

        grid-template-columns: 1fr;
    }

    .service-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 700px) {

    .navbar {

        padding: 15px 5%;
    }

    nav {

        display: none;
    }

    .menu-icon {

        display: block;
    }

    .brand-text h3 {

        font-size: 17px;
    }

    .brand-text span {

        font-size: 11px;
    }

    .logo {

        width: 50px;

        height: 50px;
    }

    .hero {

        padding: 60px 6%;

        text-align: center;
    }

    .hero h1 {

        font-size: 38px;
    }

    .intro {

        font-size: 15px;
    }

    .buttons {

        justify-content: center;
    }

    .info-card {

        padding: 25px;

        text-align: right;
    }

    .service-grid {

        grid-template-columns: 1fr;
    }

    .about,
    .services {

        padding: 60px 6%;
    }

    .section-title h2 {

        font-size: 28px;
    }

    footer {

        flex-direction: column;

        text-align: center;
    }

}

