/* =========================================
   TRUE TECH SOLUTIONS
   MAIN STYLESHEET
   ========================================= */


/* ---------- BRAND VARIABLES ---------- */

:root {

    --primary: #002064;
    --primary-light: #2563eb;
    --primary-dark: #001540;

    --background: #ffffff;
    --background-light: #f3f6fb;

    --text-dark: #172033;
    --text-light: #5b6475;

    --border: #dfe5ee;

    --shadow:
        0 10px 30px rgba(0, 32, 100, 0.08);
}



/* ---------- GENERAL ---------- */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;

    color: var(--text-dark);
    background-color: var(--background);

    line-height: 1.5;
}


.container {
    width: 90%;
    max-width: 1100px;

    margin: 0 auto;
}



/* ---------- HEADER ---------- */

.site-header {
    background-color: var(--primary);

    padding: 16px 0;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.12);
}


.header-container {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 30px;
}



/* ---------- BRAND ---------- */

.brand {
    display: flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;
}


.logo-mark {
    width: 44px;
    height: 44px;

    display: flex;

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

    background-color: white;
    color: var(--primary);

    font-size: 18px;
    font-weight: 800;

    border-radius: 10px;

    flex-shrink: 0;
}


.brand-text {
    display: flex;

    flex-direction: column;
}


.logo {
    color: white;

    font-size: 22px;
    font-weight: 700;

    line-height: 1.2;
}


.brand-tagline {
    margin-top: 3px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 12px;
}



/* ---------- NAVIGATION ---------- */

.main-nav {
    display: flex;

    align-items: center;

    gap: 28px;
}


.main-nav a {
    color: white;

    font-size: 15px;
    font-weight: 500;

    text-decoration: none;

    transition: opacity 0.2s ease;
}


.main-nav a:hover {
    opacity: 0.7;
}



/* ---------- HERO ---------- */

.hero {
    background-color: var(--background-light);

    padding: 120px 0;
}


.hero-content {
    max-width: 760px;
}


.hero-label,
.section-label {
    margin-top: 0;
    margin-bottom: 15px;

    color: var(--primary-light);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1.6px;
}


.hero h1 {
    margin-top: 0;
    margin-bottom: 22px;

    max-width: 700px;

    color: var(--text-dark);

    font-size: 58px;
    line-height: 1.08;
}


.hero-description {
    max-width: 670px;

    margin-bottom: 32px;

    color: var(--text-light);

    font-size: 20px;
    line-height: 1.7;
}


.hero-buttons {
    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}



/* ---------- BUTTONS ---------- */

.primary-button {
    display: inline-block;

    padding: 14px 24px;

    border: 1px solid var(--primary-light);
    border-radius: 7px;

    background-color: var(--primary-light);
    color: white;

    font-size: 16px;
    font-weight: 600;

    text-decoration: none;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.primary-button:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;

    transform: translateY(-1px);
}


.secondary-button {
    display: inline-block;

    padding: 14px 24px;

    border: 1px solid var(--border);
    border-radius: 7px;

    background-color: white;
    color: var(--primary);

    font-size: 16px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}


.secondary-button:hover {
    background-color: #e9eef7;

    transform: translateY(-1px);
}



/* ---------- SERVICES ---------- */

.services {
    padding: 95px 0;
}


.section-heading {
    max-width: 700px;

    margin: 0 auto 55px;

    text-align: center;
}


.section-heading h2 {
    margin-top: 0;
    margin-bottom: 12px;

    font-size: 38px;
}


.section-heading > p:last-child {
    margin-bottom: 0;

    color: var(--text-light);

    font-size: 18px;
}


.service-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 28px;
}


.service-card {
    position: relative;

    padding: 36px;

    background-color: white;

    border: 1px solid var(--border);
    border-radius: 12px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


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

    box-shadow: var(--shadow);

    border-color: #cbd5e1;
}


.service-number {
    margin-bottom: 25px;

    color: var(--primary-light);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1px;
}


.service-card h3 {
    margin-top: 0;
    margin-bottom: 15px;

    font-size: 22px;
}


.service-card p {
    margin-bottom: 0;

    color: var(--text-light);

    line-height: 1.7;
}



/* ---------- ABOUT ---------- */

.about {
    padding: 95px 0;

    background-color: var(--background-light);
}


.about-content {
    max-width: 760px;

    margin: 0 auto;

    text-align: center;
}


.about-content h2 {
    margin-top: 0;
    margin-bottom: 25px;

    font-size: 38px;
}


.about-content p:not(.section-label) {
    color: var(--text-light);

    font-size: 18px;
    line-height: 1.8;
}



/* ---------- CONTACT ---------- */

.contact {
    padding: 95px 0;

    text-align: center;
}


.contact-content {
    max-width: 760px;

    margin: 0 auto;
}


.contact-content h2 {
    margin-top: 0;
    margin-bottom: 15px;

    font-size: 38px;
}


.contact-description {
    max-width: 600px;

    margin:
        0 auto
        32px;

    color: var(--text-light);

    font-size: 18px;
    line-height: 1.7;
}


.contact-buttons {
    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;
}


.contact-details {
    display: flex;

    justify-content: center;

    gap: 60px;

    margin-top: 45px;
}


.contact-item {
    display: flex;

    flex-direction: column;

    gap: 6px;
}


.contact-label {
    color: var(--text-light);

    font-size: 13px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.contact-item a {
    color: var(--primary);

    font-size: 17px;
    font-weight: 600;

    text-decoration: none;
}


.contact-item a:hover {
    text-decoration: underline;
}



/* ---------- FOOTER ---------- */

.site-footer {
    padding: 45px 0 20px;

    background-color: var(--primary);

    color: white;
}


.footer-content {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 30px;
}


.footer-brand {
    display: flex;

    align-items: center;

    gap: 12px;
}


.footer-logo-mark {
    width: 40px;
    height: 40px;

    display: flex;

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

    background-color: white;
    color: var(--primary);

    border-radius: 9px;

    font-weight: 800;
}


.footer-brand strong {
    font-size: 18px;
}


.footer-brand p {
    margin: 3px 0 0;

    color:
        rgba(255, 255, 255, 0.7);

    font-size: 13px;
}


.footer-contact {
    display: flex;

    flex-direction: column;

    gap: 6px;

    text-align: right;
}


.footer-contact a {
    color: white;

    text-decoration: none;
}


.footer-contact a:hover {
    text-decoration: underline;
}


.footer-bottom {
    margin-top: 35px;

    padding-top: 20px;

    border-top:
        1px solid rgba(255, 255, 255, 0.12);

    text-align: center;
}


.footer-bottom p {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.6);

    font-size: 13px;
}



/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {

    /* HEADER */

    .header-container {
        flex-direction: column;

        gap: 20px;

        text-align: center;
    }


    .brand {
        justify-content: center;
    }


    .main-nav {
        width: 100%;

        justify-content: center;

        gap: 18px;

        flex-wrap: wrap;
    }


    .main-nav a {
        font-size: 14px;
    }



    /* HERO */

    .hero {
        padding: 75px 0;
    }


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


    .hero-description {
        font-size: 18px;
    }


    .hero-buttons {
        flex-direction: column;
    }


    .hero-buttons a {
        width: 100%;

        text-align: center;
    }



    /* SERVICES */

    .services {
        padding: 70px 0;
    }


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


    .service-card {
        padding: 30px;
    }



    /* ABOUT */

    .about {
        padding: 70px 0;
    }



    /* CONTACT */

    .contact {
        padding: 70px 0;
    }


    .contact-buttons {
        flex-direction: column;
    }


    .contact-buttons a {
        width: 100%;

        text-align: center;
    }


    .contact-details {
        flex-direction: column;

        gap: 25px;
    }



    /* FOOTER */

    .footer-content {
        flex-direction: column;

        text-align: center;
    }


    .footer-brand {
        justify-content: center;
    }


    .footer-contact {
        text-align: center;
    }

}



/* =========================================
   VERY SMALL PHONES
   ========================================= */

@media (max-width: 480px) {

    .container {
        width: 92%;
    }


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


    .section-heading h2,
    .about-content h2,
    .contact-content h2 {
        font-size: 31px;
    }


    .logo {
        font-size: 19px;
    }


    .main-nav {
        gap: 12px;
    }

}