/* =========================
   General
========================= */

:root {
    --bg-dark: #06131c;
    --bg-dark-2: #0a1d28;

    --blue: #20b8f5;
    --blue-light: #55d4ff;
    --blue-dark: #087da9;

    --white: #ffffff;
    --text-light: #d7e5eb;
    --text-muted: #8ea5af;

    --border: rgba(255, 255, 255, 0.08);

    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);

    --container: 1280px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        "Cairo",
        "Segoe UI",
        Tahoma,
        Arial,
        sans-serif;
    background: var(--bg-dark);
    color: var(--white);
    line-height: 1.8;
}


a {
    text-decoration: none;
    color: inherit;
}


img {
    max-width: 100%;
    display: block;
}


/* =========================
   Navbar
========================= */

.navbar {
    width: 100%;
    min-height: 85px;

    padding: 12px 5%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(6, 19, 28, 0.96);

    border-bottom: 1px solid var(--border);

    position: sticky;
    top: 0;

    z-index: 1000;

    backdrop-filter: blur(12px);
}


/* Logo */

.logo {
    width: 150px;
}


.logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}


/* Navigation */

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}


.nav-links a {
    color: var(--text-light);

    font-size: 16px;

    position: relative;

    transition: 0.3s ease;
}


.nav-links a:hover {
    color: var(--blue);
}


.nav-links a::after {
    content: "";

    position: absolute;

    width: 0;
    height: 2px;

    right: 0;
    bottom: -8px;

    background: var(--blue);

    transition: 0.3s ease;
}


.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}


.nav-links a.active {
    color: var(--blue);
}


/* Phone */

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--white);

    font-weight: bold;

    transition: 0.3s ease;
}


.nav-phone span:first-child {
    color: var(--blue);

    font-size: 20px;
}


.nav-phone:hover {
    color: var(--blue);
}


/* =========================
   Page Header
========================= */

.page-header {
    min-height: 480px;

    display: flex;
    align-items: center;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(circle at 80% 50%,
            rgba(32, 184, 245, 0.15),
            transparent 40%),
        linear-gradient(135deg,
            var(--bg-dark),
            var(--bg-dark-2));
}


.page-header::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border: 1px solid rgba(32, 184, 245, 0.08);

    border-radius: 50%;

    left: -200px;
    top: -100px;
}


.page-header-content {
    width: min(var(--container), 90%);

    margin: auto;

    position: relative;

    z-index: 2;
}


.section-label {
    display: inline-block;

    color: var(--blue);

    font-size: 15px;

    font-weight: bold;

    margin-bottom: 12px;

    letter-spacing: 1px;
}


.page-header h1 {
    font-size: clamp(38px, 5vw, 70px);

    line-height: 1.25;

    margin-bottom: 25px;
}


.page-header h1 span {
    color: var(--blue);
}


.page-header p {
    max-width: 700px;

    color: var(--text-light);

    font-size: 18px;

    line-height: 2;
}


/* =========================
   Intro
========================= */

.services-intro {
    padding: 100px 5%;

    background: var(--bg-dark-2);
}


.intro-content {
    width: min(900px, 100%);

    margin: auto;

    text-align: center;
}


.intro-content h2 {
    font-size: 38px;

    margin-bottom: 25px;
}


.intro-content p {
    color: var(--text-muted);

    font-size: 17px;

    margin-bottom: 15px;
}


/* =========================
   Services Section
========================= */

.services-section {
    width: min(var(--container), 90%);

    margin: auto;

    padding: 100px 0;
}


.section-title {
    text-align: center;

    margin-bottom: 55px;
}


.section-title h2 {
    font-size: 42px;

    margin-bottom: 10px;
}


.section-title p {
    color: var(--text-muted);
}


/* Services Grid */

.services-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}


/* Service Card */

.service-card {
    padding: 40px;

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.015));

    border: 1px solid var(--border);

    border-radius: 18px;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;

    position: relative;

    overflow: hidden;
}


.service-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    background: rgba(32, 184, 245, 0.07);

    top: -100px;
    left: -80px;

    transition: 0.4s ease;
}


.service-card:hover {
    transform: translateY(-8px);

    border-color: rgba(32, 184, 245, 0.4);

    background:
        linear-gradient(145deg,
            rgba(32, 184, 245, 0.08),
            rgba(255, 255, 255, 0.02));
}


.service-card:hover::before {
    transform: scale(1.5);
}


/* Service Icon */

.service-icon {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(32, 184, 245, 0.1);

    border: 1px solid rgba(32, 184, 245, 0.2);

    border-radius: 14px;

    color: var(--blue);

    font-size: 28px;

    margin-bottom: 25px;

    position: relative;

    z-index: 2;
}


/* Service Content */

.service-card-content {
    position: relative;

    z-index: 2;
}


.service-card h3 {
    font-size: 25px;

    margin-bottom: 15px;
}


.service-card p {
    color: var(--text-muted);

    font-size: 16px;

    line-height: 2;

    margin-bottom: 12px;
}


/* =========================
   Additional Services
========================= */

.additional-services {
    padding: 100px 5%;

    background: var(--bg-dark-2);

    border-top: 1px solid var(--border);
}


.additional-grid {
    width: min(var(--container), 100%);

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


.empty-service {
    min-height: 270px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;
}


.empty-service .service-icon {
    font-size: 30px;
}


.empty-service h3 {
    position: relative;
    z-index: 2;

    margin-bottom: 8px;
}


.empty-service p {
    position: relative;
    z-index: 2;

    margin: 0;
}


/* =========================
   CTA
========================= */

.services-cta {
    padding: 100px 5%;

    background:
        linear-gradient(135deg,
            rgba(32, 184, 245, 0.14),
            rgba(6, 19, 28, 0.2));
}


.cta-content {
    width: min(850px, 100%);

    margin: auto;

    text-align: center;
}


.cta-content h2 {
    font-size: 40px;

    margin-bottom: 18px;
}


.cta-content p {
    color: var(--text-light);

    font-size: 17px;

    margin-bottom: 30px;
}


.cta-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 14px 35px;

    background: var(--blue);

    color: #031019;

    border-radius: 8px;

    font-weight: bold;

    transition: 0.3s ease;
}


.cta-button:hover {
    background: var(--blue-light);

    transform: translateY(-3px);
}


/* =========================
   Footer
========================= */

.footer {
    background: #040d14;

    border-top: 1px solid var(--border);
}


.footer-container {
    width: min(var(--container), 90%);

    margin: auto;

    padding: 70px 0;

    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 60px;
}


/* Footer Brand */

.footer-brand img {
    width: 150px;

    margin-bottom: 20px;
}


.footer-brand p {
    max-width: 350px;

    color: var(--text-muted);

    line-height: 2;
}


/* Footer Headings */

.footer h3 {
    font-size: 19px;

    margin-bottom: 20px;

    color: var(--white);
}


/* Footer Links */

.footer-links {
    display: flex;

    flex-direction: column;

    gap: 10px;
}


.footer-links a {
    color: var(--text-muted);

    transition: 0.3s ease;
}


.footer-links a:hover {
    color: var(--blue);

    transform: translateX(-5px);
}


/* Footer Contact */

.footer-contact p {
    color: var(--text-muted);

    margin-bottom: 10px;
}


/* Footer Bottom */

.footer-bottom {
    padding: 20px 5%;

    border-top: 1px solid var(--border);

    text-align: center;
}


.footer-bottom p {
    color: var(--text-muted);

    font-size: 14px;
}


/* =========================
   Responsive
========================= */

@media (max-width: 900px) {

    .navbar {
        padding: 12px 4%;
    }


    .nav-links {
        gap: 18px;
    }


    .services-grid {
        grid-template-columns: 1fr;
    }


    .additional-grid {
        grid-template-columns: 1fr 1fr;
    }


    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 700px) {

    .navbar {
        flex-wrap: wrap;

        gap: 15px;
    }


    .logo {
        width: 125px;
    }


    .nav-links {
        width: 100%;

        order: 3;

        justify-content: center;

        flex-wrap: wrap;

        gap: 15px;
    }


    .nav-phone {
        font-size: 14px;
    }


    .page-header {
        min-height: 420px;
    }


    .page-header p {
        font-size: 16px;
    }


    .services-intro,
    .services-section,
    .additional-services,
    .services-cta {
        padding: 70px 5%;
    }


    .section-title h2,
    .intro-content h2 {
        font-size: 32px;
    }


    .cta-content h2 {
        font-size: 31px;
    }


    .additional-grid {
        grid-template-columns: 1fr;
    }


    .footer-container {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 55px 0;
    }

}


@media (max-width: 450px) {

    .navbar {
        justify-content: center;
    }


    .logo {
        width: 115px;
    }


    .nav-phone {
        display: none;
    }


    .nav-links a {
        font-size: 14px;
    }


    .page-header h1 {
        font-size: 36px;
    }


    .service-card {
        padding: 28px;
    }


    .service-card h3 {
        font-size: 22px;
    }


    .service-card p {
        font-size: 15px;
    }

}

/* =========================
   Mobile Menu Button
========================= */

.menu-button {
    display: none;

    background: transparent;
    border: none;

    color: var(--white);

    font-size: 30px;

    cursor: pointer;

    padding: 5px;
}


/* =========================
   Mobile Navbar
========================= */

@media (max-width: 700px) {

    .navbar {
        min-height: 75px;

        padding: 10px 5%;

        display: grid;

        grid-template-columns: 1fr auto;

        align-items: center;
    }


    .logo {
        width: 125px;
    }


    .menu-button {
        display: block;
    }


    .nav-phone {
        display: none;
    }


    .nav-links {
        display: none;

        width: 100%;

        grid-column: 1 / -1;

        order: 3;

        flex-direction: column;

        align-items: center;

        gap: 0;

        padding: 15px 0 10px;

        border-top: 1px solid var(--border);

        margin-top: 10px;
    }


    .nav-links.show {
        display: flex;
    }


    .nav-links a {
        width: 100%;

        text-align: center;

        padding: 10px 0;

        font-size: 16px;
    }


    .nav-links a::after {
        display: none;
    }

}