/* =========================================
   SYSDEV TECHNOLOGIES
   Main Website Styles
   ========================================= */


/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f9fc;
    color: #172033;
    line-height: 1.6;
}


/* ---------- GLOBAL ---------- */

a {
    text-decoration: none;
    color: inherit;
}

p {
    color: #5c6678;
}

section {
    padding: 90px 8%;
}

h1,
h2,
h3 {
    line-height: 1.2;
}

.eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #1677ff;
    margin-bottom: 15px;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 45px;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #111827;
}


/* ---------- HEADER ---------- */

header {
    width: 100%;
    background: #081525;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    min-height: 75px;
    padding: 0 8%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 180px;
    height: auto;
    display: block;
}

.nav-links {
    list-style: none;

    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: #dbe5f2;
    font-size: 0.92rem;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: #3d9bff;
}


/* ---------- HERO ---------- */

.hero {
    min-height: 85vh;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(4, 15, 29, 0.97),
            rgba(4, 15, 29, 0.82),
            rgba(4, 15, 29, 0.65)
        ),
        url("../images/hero.jpeg");

    background-size: cover;
    background-position: center;

    color: white;
}

.hero-content {
    max-width: 850px;
}

.hero .eyebrow {
    color: #49a3ff;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.hero p:not(.eyebrow) {
    max-width: 650px;
    color: #d5dfeb;
    font-size: 1.1rem;
    margin-bottom: 35px;
}


/* ---------- BUTTONS ---------- */

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;

    padding: 13px 25px;

    border-radius: 5px;

    font-weight: 700;
    font-size: 0.9rem;

    transition: 0.3s ease;
}

.primary-btn {
    background: #1677ff;
    color: white;
}

.primary-btn:hover {
    background: #005ed8;
    transform: translateY(-2px);
}

.secondary-btn {
    border: 1px solid #8da4bd;
    color: white;
}

.secondary-btn:hover {
    background: white;
    color: #081525;
}


/* ---------- INTRODUCTION ---------- */

.introduction {
    background: white;
}

.introduction .section-heading {
    margin-bottom: 20px;
}

.introduction > p {
    max-width: 800px;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.introduction > a,
.industries-preview > a,
.view-more {
    color: #1677ff;
    font-weight: 700;
}


/* ---------- CARDS ---------- */

.card-container {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.card {
    background: white;

    padding: 30px;

    border: 1px solid #e4e9f0;
    border-radius: 8px;

    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);

    border-color: #1677ff;

    box-shadow:
        0 15px 35px rgba(20, 40, 70, 0.08);
}

.card h3 {
    margin-bottom: 15px;
    color: #111827;
}

.capabilities {
    background: #fd7f02;
}

.view-more {
    display: inline-block;
    margin-top: 35px;
}


/* ---------- INDUSTRIES PREVIEW ---------- */

.industries-preview {
    background: #081525;
    color: white;
}

.industries-preview h2 {
    color: white;
    max-width: 700px;
}

.industries-preview p:not(.eyebrow) {
    max-width: 700px;
    color: #c6d2df;
    margin-bottom: 25px;
}

.industries-preview a {
    color: #49a3ff;
}


/* ---------- CTA ---------- */

.cta {
    text-align: center;
    background: #eaf3ff;
}

.cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
    color: #111827;
}

.cta p {
    margin-bottom: 30px;
}


/* ---------- PAGE HEADER ---------- */

.page-header-about {
    background: url("../images/about.jpeg");
    background-position: center;
    background-size: cover;
    color: white;

    padding-top: 110px;
    padding-bottom: 110px;
}

.page-header-about h1 {
    max-width: 850px;

    font-size: clamp(
        2.8rem,
        6vw,
        5rem
    );

    margin-bottom: 25px;
}


.page-header-about > p:last-child {
    max-width: 700px;
    color: white;
    font-size: 1.1rem;
}
.page-header-services {
    background: url("../images/support.jpeg");
    background-position: center;
    background-size: cover;
    color: black;

    padding-top: 110px;
    padding-bottom: 110px;
}

.page-header-services h1 {
    max-width: 850px;

    font-size: clamp(
        2.8rem,
        6vw,
        5rem
    );

    margin-bottom: 25px;
}


.page-header-services > p:last-child {
    max-width: 700px;
    color: chocolate;
    font-size: 1.1rem;
}

.page-header-industries {
    background: url("../images/industry.jpg");
    background-position: center;
    background-size: cover;
    color: white;

    padding-top: 110px;
    padding-bottom: 110px;
}

.page-header-industries h1 {
    max-width: 850px;

    font-size: clamp(
        2.8rem,
        6vw,
        5rem
    );

    margin-bottom: 25px;
}


.page-header-industries > p:last-child {
    max-width: 700px;
    color: chocolate;
    font-size: 1.1rem;
}
.page-header-contact {
    background: url("../images/contact.jpeg");
    background-position: center;
    background-size: cover;
    color: white;

    padding-top: 110px;
    padding-bottom: 110px;
}

.page-header-contact h1 {
    max-width: 850px;

    font-size: clamp(
        2.8rem,
        6vw,
        5rem
    );

    margin-bottom: 25px;
}


.page-header-contact > p:last-child {
    max-width: 700px;
    color: #c6d2df;
    font-size: 1.1rem;
}

/* ---------- ABOUT ---------- */

.about-content {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 70px;

    background: white;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-content p:not(.eyebrow) {
    margin-bottom: 20px;
}

.mission {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;

    background: #f7f9fc;
}

.mission .card {
    padding: 40px;
}

.mission h2 {
    margin-bottom: 15px;

}


/* ---------- SERVICES ---------- */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

    background: #fd7f02;
}

.service-card {
    background: white;

    padding: 35px;

    min-height: 280px;

    border: 1px solid #e1e7ef;

    border-radius: 8px;

    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(20, 40, 70, 0.08);

    border-color: #1677ff;
}

.service-card span {
    display: block;

    color: #1677ff;

    font-size: 0.8rem;
    font-weight: 800;

    margin-bottom: 30px;
}

.service-card h2 {
    font-size: 1.35rem;
    margin-bottom: 15px;
}


/* ---------- INDUSTRIES ---------- */

.industries-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    background: #fd7f02;
}

.industry-card {
    background: white;

    padding: 35px;

    min-height: 220px;

    border-left: 4px solid #1677ff;

    border-radius: 5px;

    box-shadow:
        0 5px 20px rgba(20, 40, 70, 0.04);
}

.industry-card h2 {
    margin-bottom: 15px;
    color: #111827;
}


/* ---------- CONTACT ---------- */

.contact-section {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    background: white;
}

.contact-information h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-information > p:not(.eyebrow) {
    margin-bottom: 35px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item h3 {
    font-size: 0.85rem;
    color: #1677ff;
    margin-bottom: 5px;
}

.contact-item p {
    color: #172033;
}


/* ---------- FORM ---------- */

.contact-form {
    background: #f7f9fc;

    padding: 35px;

    border-radius: 8px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-weight: 700;

    font-size: 0.85rem;

    margin-bottom: 7px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    padding: 13px 15px;

    margin-bottom: 20px;

    border: 1px solid #d6dde7;

    border-radius: 4px;

    background: white;

    font-family: inherit;

    font-size: 0.95rem;

    outline: none;

    transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #1677ff;

    box-shadow:
        0 0 0 3px rgba(22, 119, 255, 0.1);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    border: none;
    cursor: pointer;
}


/* ---------- FOOTER ---------- */

footer {
    background: #050e19;

    color: #9eacbd;

    text-align: center;

    padding: 30px 8%;

    font-size: 0.85rem;
}


/* =========================================
   RESPONSIVE DESIGN
   ========================================= */


/* ---------- TABLETS ---------- */

@media (max-width: 1000px) {

    .card-container {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .industries-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* ---------- MOBILE ---------- */

@media (max-width: 700px) {

    nav {
        flex-direction: column;

        padding: 20px 6%;

        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;

        justify-content: center;

        gap: 15px;
    }

    .nav-links a {
        font-size: 0.8rem;
    }


    section {
        padding: 65px 6%;
    }


    .hero {
        min-height: 80vh;

        background-position: center;
    }

    .hero h1 {
        font-size: 3rem;
        letter-spacing: -1px;
    }

    .hero p:not(.eyebrow) {
        font-size: 1rem;
    }


    .page-header {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .page-header h1 {
        font-size: 2.8rem;
    }


    .card-container,
    .services-grid,
    .industries-grid,
    .about-content,
    .mission,
    .contact-section {
        grid-template-columns: 1fr;
    }


    .contact-section {
        gap: 40px;
    }


    .contact-form {
        padding: 25px;
    }

}
/* =========================================
   JAVASCRIPT INTERACTIONS
   ========================================= */


/* ---------- ACTIVE NAVIGATION ---------- */

.nav-links a.active {
    color: #49a3ff;
}


/* ---------- MOBILE MENU BUTTON ---------- */

.menu-button {
    display: none;

    background: none;

    border: none;

    color: white;

    font-size: 1.7rem;

    cursor: pointer;
}


/* ---------- SCROLL REVEAL ---------- */

.reveal {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* ---------- MOBILE NAVIGATION ---------- */

@media (max-width: 700px) {

    .menu-button {
        display: block;

        position: absolute;

        right: 6%;
        top: 18px;
    }

    nav {
        position: relative;

        align-items: flex-start;
    }

    .nav-links {
        display: none;

        width: 100%;

        flex-direction: column;

        align-items: flex-start;

        padding-top: 15px;
    }

    .nav-links.mobile-active {
        display: flex;
    }

}