/* =========================
   BASIC SETTINGS
========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #111111;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    transition: 0.3s;
}


/* =========================
   HEADER
========================= */

header {
    width: 100%;
    min-height: 125px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 8px 60px;

    background-color: #000000;

    position: relative;
    z-index: 100;
}


/* LOGO */

.logo {
    width: 260px;
    height: 110px;

    overflow: hidden;

    display: flex;
    align-items: center;
}

.logo a {
    display: block;
}

.logo img {
    width: 260px;
    height: 260px;

    object-fit: cover;

    transform: translateY(12px);
}


/* =========================
   NAVIGATION
========================= */

nav {
    display: flex;
    align-items: center;

    gap: 32px;
}

nav a {
    color: white;

    text-decoration: none;

    font-size: 16px;
    font-weight: 500;
}

nav a:hover {
    color: #d71920;
}


/* =========================
   HAMBURGER BUTTON
========================= */

.menu-toggle {
    display: none;

    width: 45px;
    height: 45px;

    padding: 9px;

    border: 1px solid #333333;

    border-radius: 5px;

    background: transparent;

    cursor: pointer;

    flex-direction: column;

    justify-content: center;

    gap: 6px;
}

.menu-toggle span {
    width: 100%;
    height: 2px;

    display: block;

    background-color: white;

    transition: 0.3s;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 650px;

    display: flex;
    align-items: center;

    padding: 60px 80px;

    background: linear-gradient(
        135deg,
        #111111 0%,
        #1c1c1c 100%
    );
}

.hero-content {
    max-width: 900px;
}

.hero-small {
    margin: 0 0 28px;

    color: #d71920;

    font-size: 14px;
    font-weight: bold;

    letter-spacing: 4px;
}

.hero h1 {
    margin: 0 0 30px;

    font-size: 72px;
    line-height: 1.05;

    color: white;
}

.hero h1 span {
    color: #d71920;
}

.hero-text {
    max-width: 720px;

    margin-bottom: 38px;

    color: #c7c7c7;

    font-size: 20px;
    line-height: 1.7;
}


/* =========================
   BUTTONS
========================= */

.hero-buttons {
    display: flex;
    gap: 18px;
}

.btn-primary,
.btn-secondary,
.contact-outline {
    display: inline-block;

    padding: 17px 30px;

    border-radius: 5px;

    text-decoration: none;

    font-size: 16px;
    font-weight: bold;
}

.btn-primary {
    background-color: #d71920;
    color: white;
}

.btn-primary:hover {
    background-color: white;
    color: #111111;
}

.btn-secondary {
    border: 1px solid white;

    color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: #111111;
}


/* =========================
   STATS
========================= */

.stats {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    background-color: #000000;

    border-top: 1px solid #272727;
    border-bottom: 1px solid #272727;
}

.stat-box {
    padding: 40px 20px;

    text-align: center;

    border-right: 1px solid #272727;
}

.stat-box:last-child {
    border-right: none;
}

.stat-box h2 {
    margin: 0 0 8px;

    color: #d71920;

    font-size: 42px;
}

.stat-box p {
    margin: 0;

    color: #bdbdbd;
}


/* =========================
   SECTION LABEL
========================= */

.section-label {
    margin: 0 0 25px;

    color: #d71920;

    font-size: 13px;
    font-weight: bold;

    letter-spacing: 4px;
}


/* =========================
   ABOUT
========================= */

.about {
    padding: 110px 80px;

    background-color: #f4f4f4;

    color: #111111;
}

.about-container {
    max-width: 1400px;

    margin: auto;

    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 100px;
}

.about-left h2 {
    margin: 0;

    font-size: 58px;
    line-height: 1.08;
}

.about-left h2 span {
    color: #d71920;
}

.about-right {
    max-width: 720px;
}

.about-right p {
    color: #666666;

    font-size: 18px;
    line-height: 1.8;

    margin-top: 0;
    margin-bottom: 22px;
}

.about-right .about-intro {
    color: #111111;

    font-size: 23px;
    line-height: 1.55;

    font-weight: 600;
}


/* ABOUT HIGHLIGHTS */

.about-highlights {
    margin-top: 45px;

    display: grid;

    grid-template-columns: repeat(2, 1fr);
}

.highlight {
    min-height: 120px;

    padding: 25px;

    border-top: 1px solid #cccccc;

    display: flex;

    gap: 18px;
}

.highlight:nth-child(odd) {
    border-right: 1px solid #cccccc;
}

.highlight span {
    color: #d71920;

    font-weight: bold;
}

.highlight p {
    margin: 0;

    color: #222222;

    font-size: 15px;

    font-weight: 600;
}


/* =========================
   SERVICES
========================= */

.services {
    padding: 110px 80px;

    background-color: #0c0c0c;
}

.services-heading {
    max-width: 850px;

    margin-bottom: 70px;
}

.services-heading h2 {
    margin: 0 0 25px;

    font-size: 58px;
    line-height: 1.08;
}

.services-heading h2 span {
    color: #d71920;
}

.services-heading > p:last-child {
    max-width: 700px;

    color: #aaaaaa;

    font-size: 18px;
    line-height: 1.7;
}


/* SERVICE GRID */

.services-grid {
    max-width: 1400px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    border-top: 1px solid #333333;
    border-left: 1px solid #333333;
}

.service-card {
    min-height: 430px;

    padding: 45px;

    border-right: 1px solid #333333;
    border-bottom: 1px solid #333333;

    background-color: #111111;
}

.service-card:hover {
    background-color: #171717;

    transform: translateY(-4px);
}

.service-number {
    margin-bottom: 35px;

    color: #d71920;

    font-size: 14px;
    font-weight: bold;
}

.service-card h3 {
    margin: 0 0 18px;

    font-size: 34px;
}

.service-card > p {
    color: #aaaaaa;

    font-size: 16px;
    line-height: 1.7;
}

.service-card ul {
    margin: 30px 0 0;

    padding: 0;

    list-style: none;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;
}

.service-card li {
    position: relative;

    padding-left: 18px;

    color: #dddddd;

    font-size: 14px;
}

.service-card li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 6px;

    width: 6px;
    height: 6px;

    background-color: #d71920;
}

.services-cta {
    max-width: 1400px;

    margin: 50px auto 0;
}


/* =========================
   CLIENTS
========================= */

.clients {
    padding: 110px 80px;

    background-color: #f4f4f4;

    color: #111111;
}

.clients-heading {
    max-width: 1400px;

    margin: 0 auto 65px;
}

.clients-heading h2 {
    margin: 0 0 25px;

    font-size: 58px;
    line-height: 1.08;
}

.clients-heading h2 span {
    color: #d71920;
}

.clients-heading > p:last-child {
    max-width: 720px;

    margin: 0;

    color: #666666;

    font-size: 18px;
    line-height: 1.7;
}


/* CLIENT GRID */

.clients-grid {
    max-width: 1400px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
}

.client-card {
    min-height: 150px;

    padding: 25px;

    border-right: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;

    display: flex;

    justify-content: center;
    align-items: center;

    text-align: center;

    background-color: white;

    color: #222222;

    font-size: 20px;
    font-weight: 700;
}

.client-card:hover {
    background-color: #111111;

    color: white;

    transform: translateY(-4px);
}


/* CLIENT BOTTOM */

.clients-bottom {
    max-width: 1400px;

    margin: 55px auto 0;

    padding-top: 35px;

    border-top: 1px solid #cccccc;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 50px;
}

.clients-bottom > div {
    display: flex;

    align-items: center;

    gap: 18px;
}

.clients-bottom strong {
    color: #d71920;

    font-size: 54px;
}

.clients-bottom span {
    color: #222222;

    font-size: 18px;
    font-weight: bold;
}

.clients-bottom p {
    max-width: 520px;

    margin: 0;

    color: #666666;

    line-height: 1.7;
}


/* =========================
   CONTACT
========================= */

.contact {
    padding: 110px 80px;

    background-color: #0a0a0a;
}

.contact-container {
    max-width: 1400px;

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;
}

.contact-left h2 {
    margin: 0 0 30px;

    font-size: 58px;
    line-height: 1.08;
}

.contact-left h2 span {
    color: #d71920;
}

.contact-intro {
    max-width: 620px;

    margin: 0;

    color: #aaaaaa;

    font-size: 18px;
    line-height: 1.8;
}


/* CONTACT BUTTONS */

.contact-buttons {
    margin-top: 40px;

    display: flex;

    flex-wrap: wrap;

    gap: 15px;
}

.contact-outline {
    border: 1px solid #555555;

    color: white;
}

.contact-outline:hover {
    border-color: #d71920;

    background-color: #d71920;
}


/* =========================
   SOCIAL MEDIA
========================= */

.social-media {
    margin-top: 50px;
}

.social-media > p {
    margin: 0 0 18px;

    color: #777777;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 3px;
}

.social-links {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.social-button {
    min-height: 50px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 11px 17px;

    border: 1px solid #444444;

    border-radius: 5px;

    color: white;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;
}

.social-button svg {
    width: 22px;

    height: 22px;

    flex-shrink: 0;
}

.social-button:hover {
    background-color: #d71920;

    border-color: #d71920;

    transform: translateY(-2px);
}


/* CONTACT DETAILS */

.contact-right {
    border-top: 1px solid #333333;
}

.contact-item {
    min-height: 125px;

    padding: 28px 0;

    border-bottom: 1px solid #333333;

    display: grid;

    grid-template-columns: 70px 1fr;

    align-items: start;
}

.contact-item > span {
    color: #d71920;

    font-size: 13px;

    font-weight: bold;
}

.contact-item p {
    margin: 0 0 10px;

    color: #777777;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 3px;
}

.contact-item a {
    color: white;

    text-decoration: none;

    font-size: 20px;

    font-weight: 600;
}

.contact-item a:hover {
    color: #d71920;
}

.contact-item h4 {
    margin: 0;

    color: white;

    font-size: 18px;

    line-height: 1.6;

    font-weight: 500;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 55px 80px 25px;

    background-color: #000000;

    border-top: 1px solid #222222;
}

.footer-top {
    max-width: 1400px;

    margin: auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 50px;
}

.footer-brand {
    max-width: 520px;
}

.footer-brand img {
    width: 180px;

    display: block;

    margin-bottom: 15px;
}

.footer-brand p {
    margin: 0;

    color: #888888;

    font-size: 14px;

    line-height: 1.6;
}

.footer-right {
    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 25px;
}

.footer-links {
    display: flex;

    flex-wrap: wrap;

    justify-content: flex-end;

    gap: 24px;
}

.footer-links a {
    color: #cccccc;

    text-decoration: none;

    font-size: 14px;
}

.footer-links a:hover {
    color: #d71920;
}


/* FOOTER SOCIAL */

.footer-social {
    display: flex;

    gap: 12px;

    justify-content: flex-end;
}

.footer-social a {
    width: 42px;

    height: 42px;

    border: 1px solid #333333;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #aaaaaa;

    text-decoration: none;
}

.footer-social svg {
    width: 19px;

    height: 19px;
}

.footer-social a:hover {
    color: white;

    background-color: #d71920;

    border-color: #d71920;

    transform: translateY(-3px);
}


/* FOOTER BOTTOM */

.footer-bottom {
    max-width: 1400px;

    margin: 45px auto 0;

    padding-top: 25px;

    border-top: 1px solid #222222;

    display: flex;

    justify-content: space-between;

    gap: 25px;
}

.footer-bottom p {
    margin: 0;

    color: #666666;

    font-size: 13px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {

    header {
        padding: 10px 30px;
    }

    nav {
        gap: 18px;
    }

    .hero {
        padding: 60px 40px;
    }

    .hero h1 {
        font-size: 58px;
    }

    .about,
    .services,
    .clients,
    .contact {
        padding-left: 40px;
        padding-right: 40px;
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    header {
        min-height: 95px;

        padding: 8px 22px;

        flex-direction: row;
    }


    /* SMALLER MOBILE LOGO */

    .logo {
        width: 190px;
        height: 80px;

        margin: 0;
    }

    .logo img {
        width: 190px;
        height: 190px;

        transform: translateY(9px);
    }


    /* SHOW HAMBURGER */

    .menu-toggle {
        display: flex;
    }


    /* MOBILE NAVIGATION */

    nav {
        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        max-height: 0;

        overflow: hidden;

        opacity: 0;
        visibility: hidden;

        padding: 0 25px;

        background-color: #000000;

        flex-direction: column;

        align-items: flex-start;

        gap: 0;

        transition:
            max-height 0.35s ease,
            opacity 0.25s ease,
            padding 0.35s ease;
    }


    nav.open {
        max-height: 500px;

        opacity: 1;
        visibility: visible;

        padding: 10px 25px 22px;

        border-top: 1px solid #222222;

        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.45);
    }


    nav a {
        width: 100%;

        padding: 15px 0;

        border-bottom: 1px solid #222222;

        font-size: 16px;
    }


    nav a:last-child {
        border-bottom: none;
    }


    /* HAMBURGER TO X */

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }


    /* PAGE CONTENT */

    .hero {
        min-height: auto;

        padding: 70px 25px;
    }

    .hero h1 {
        font-size: 46px;
    }

    .hero-text {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .about,
    .services,
    .clients,
    .contact {
        padding: 70px 25px;
    }

    .about-left h2,
    .services-heading h2,
    .clients-heading h2,
    .contact-left h2 {
        font-size: 43px;
    }

    .about-highlights,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .highlight:nth-child(odd) {
        border-right: none;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-bottom {
        flex-direction: column;

        align-items: flex-start;
    }

    .contact-buttons {
        flex-direction: column;

        align-items: flex-start;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;
    }

    .footer-right {
        align-items: flex-start;
    }

    .footer-links,
    .footer-social {
        justify-content: flex-start;
    }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

    .hero h1 {
        font-size: 38px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .stat-box {
        border-right: none;

        border-bottom: 1px solid #272727;
    }

    .about-left h2,
    .services-heading h2,
    .clients-heading h2,
    .contact-left h2 {
        font-size: 36px;
    }

    .service-card ul {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .contact-item {
        grid-template-columns: 45px 1fr;
    }

    .social-links {
        flex-direction: column;

        align-items: flex-start;
    }

    footer {
        padding-left: 25px;
        padding-right: 25px;
    }

}