/* =====================================
   SGEX Website
   Final Style
===================================== */


/* ---------- Fonts ---------- */

@font-face {
    font-family: "Vazirmatn";
    src: url("assets/fonts/Vazirmatn[wght].ttf") format("truetype");
    font-weight: 100 900;
}

@font-face {
    font-family: "Urbanist";
    src: url("assets/fonts/Urbanist[wght].ttf") format("truetype");
    font-weight: 100 900;
}

@font-face {
    font-family: "FontAwesome";
    src: url("assets/fonts/fontawesome-webfont.woff2") format("woff2");
}


/* ---------- Reset ---------- */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Vazirmatn", Tahoma, sans-serif;
    direction: rtl;
    color: #2B2F36;
    background: #fff;
    line-height: 1.9;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1180px, 90%);
    margin: auto;
}


/* ---------- Header ---------- */

.header {
    height: 90px;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 35px;
}

.nav a {
    font-size: 15px;
    font-weight: 500;
    transition: .3s;
}

.nav a:hover {
    color: #00C2FF;
}


/* ---------- Hero ---------- */

.hero {
    min-height: 620px;

    background: linear-gradient(
        135deg,
        #0A2540,
        #07182b
    );

    color: white;

    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.brand-label {
    font-family: "Urbanist", sans-serif;
    color: #00C2FF;
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 46px;
    line-height: 1.5;
    font-weight: 800;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #00C2FF;
}

.hero p {
    font-size: 18px;
    color: #d6e0ea;
    max-width: 600px;
}

.hero-logo {
    flex: 0 0 320px;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-logo::before {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    background: #00C2FF;
    opacity: .15;
    filter: blur(70px);
    border-radius: 50%;
}

.hero-logo img {
    width: 270px;
    height: 270px;
    object-fit: contain;

    position: relative;
    z-index: 1;
}


/* ---------- Hero Tags ---------- */

.hero-tags {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 25px;
    margin-bottom: 10px;
}

.hero-tags span {
    font-size: 14px;
    color: #d6e0ea;
    background: none;
    border: none;
    padding: 0;
}

.hero-tags i {
    font-style: normal;
    color: #00C2FF;
}


/* ---------- Buttons ---------- */

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.btn {
    padding: 13px 32px;
    border-radius: 8px;
    font-weight: 500;
    transition: .3s;
}

.primary {
    background: #00C2FF;
    color: #062033;
}

.primary:hover {
    transform: translateY(-3px);
}

.secondary {
    border: 1px solid rgba(255,255,255,.5);
    color: white;
}

.secondary:hover {
    background: white;
    color: #0A2540;
}


/* ---------- General Sections ---------- */

.section {
    padding: 90px 0;
}

.section-tag {
    color: #00C2FF;
    font-size: 16px;
    font-weight: 700;
}

.section h2 {
    color: #0A2540;
    font-size: 38px;
    font-weight: 800;
    margin: 15px 0 25px;
}

.section-text {
    max-width: 850px;
    font-size: 17px;
    color: #555;
}


/* ---------- About ---------- */

.about-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;

    transform: translateY(60px);
}

.about-card {
    background: #f7f9fb;

    padding: 20px;

    border-radius: 15px;

    border: 1px solid #e5e9ef;

    transition: .3s;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: #00C2FF;
}

.about-card h3 {
    color: #0A2540;
    font-size: 20px;
    margin-bottom: 10px;
}

.about-card p {
    color: #666;
    font-size: 14px;
}


/* ---------- Services ---------- */

.services-section {
    background: #f7f9fb;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;

    margin-top: 40px;
}

.service-card {
    background: white;

    padding: 30px;

    border-radius: 15px;

    border: 1px solid #e5e9ef;

    transition: .3s;
}

.service-card:hover {
    transform: translateY(-8px);

    border-color: #00C2FF;

    box-shadow: 0 15px 35px rgba(0,194,255,.15);
}

.service-icon {
    width: 60px;
    height: 60px;

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

    background: rgba(0,194,255,.12);

    color: #00C2FF;

    border-radius: 15px;

    font-family: "FontAwesome";

    font-size: 30px;

    margin-bottom: 20px;
}

.service-card h3 {
    color: #0A2540;
    font-size: 21px;
    margin-bottom: 10px;
}

.service-card p {
    color: #666;
    font-size: 15px;
}


/* ---------- Why SGEX ---------- */

.why-section {
    background: #0A2540;
    color: white;

    padding: 90px 0;
}

.why-section h2 {
    color: white;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    margin-top: 40px;
}

.features div {
    background: rgba(255,255,255,.05);

    padding: 30px;

    border-radius: 15px;
}

.features h3 {
    color: #00C2FF;
    margin-bottom: 10px;
}


/* ---------- Capabilities ---------- */

.capabilities-section {
    background: #fff;
}

.capabilities-section .services-grid {
    margin-top: 40px;
}


/* ---------- Contact ---------- */

.contact {
    background: linear-gradient(
        135deg,
        #00C2FF,
        #0A2540
    );

    color: white;

    padding: 90px 0;
}

.contact-container {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;
}

.contact-text h2 {
    color: white;

    font-size: 42px;

    font-weight: 800;

    line-height: 1.6;

    margin-bottom: 25px;
}

.contact-text p {
    font-size: 19px;

    line-height: 2.3;

    margin-top: 35px;

    color: #e8f4ff;

    max-width: 550px;
}

.contact-info {
    display: grid;

    grid-template-columns: 1fr;

    gap: 18px;
}

.contact-card {
    background: rgba(10,37,64,.45);

    border: 1px solid rgba(255,255,255,.25);

    padding: 22px 25px;

    border-radius: 14px;

    backdrop-filter: blur(8px);

    transition: .3s;
}

.contact-card:hover {
    transform: translateY(-4px);

    border-color: #00C2FF;
}

.contact-card h3 {
    color: #00C2FF;

    font-size: 20px;

    font-weight: 800;

    margin-bottom: 12px;
}

.contact-card p {
    color: #ffffff;

    font-size: 17px;

    font-weight: 500;

    line-height: 1.8;

    margin: 0;
}

.contact-card a {
    color: white;

    text-decoration: none;

    transition: .3s;
}

.contact-card a:hover {
    color: #00C2FF;
}


/* ---------- Footer ---------- */

.footer {
    background: #06182b;

    color: #ccc;

    text-align: center;

    padding: 40px 0;
}

.footer-logo img {
    width: 85px;
    height: 85px;

    object-fit: contain;

    margin: 0 auto 15px;
}


/* =====================================
   Mobile
===================================== */

@media (max-width: 900px) {

    /* ---------- Header ---------- */

    .header {
        display: none;
    }


    /* ---------- Hero ---------- */

    .hero {
        min-height: auto;
        padding: 35px 0 50px;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 10px;
    }

    .hero-logo {
        margin-bottom: -60px;
    }

    .hero-logo img {
        width: 170px;
        height: 170px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-tags {
        justify-content: center;
        flex-wrap: wrap;
    }


    /* ---------- Sections ---------- */

    .section h2 {
        font-size: 30px;
    }


    /* ---------- About ---------- */

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

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

        gap: 12px;

        transform: translateY(0);

        margin-top: -35px;
    }

    .about-card {
        padding: 20px;
    }

    .about-card h3 {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .about-card p {
        font-size: 14px;
        line-height: 1.8;
    }


    /* ---------- Services ---------- */

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


    /* ---------- Why SGEX ---------- */

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


    /* ---------- Contact ---------- */

    .contact {
        padding: 50px 0;
    }

    .contact-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-text h2 {
        font-size: 32px;
    }

}