* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #ffffff;
    color: #0b1f3a;
    line-height: 1.6;
}


/* NAVBAR */

header {
    background: #0b1f3a;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1150px;
    margin: auto;
    padding: 18px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: white;
    text-decoration: none;

    display: flex;
    flex-direction: column;
}

.logo span {
    font-size: 25px;
    font-weight: bold;
}

.logo small {
    font-size: 11px;
    opacity: 0.7;
}

.nav-links {
    list-style: none;

    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 15px;
}

.nav-links a:hover {
    opacity: 0.7;
}

.nav-btn {
    background: white;
    color: #0b1f3a !important;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: bold;
}

.menu-btn {
    display: none;

    background: none;
    border: none;
    color: white;

    font-size: 27px;
}


/* HERO */

.hero {
    max-width: 1150px;
    margin: auto;

    min-height: 650px;
    padding: 80px 25px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.small-title {
    color: #315b91;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: 55px;
    line-height: 1.1;
    margin: 18px 0;
}

.hero h1 span {
    display: block;
    color: #315b91;
}

.hero-description {
    max-width: 520px;
    color: #555;
    font-size: 18px;
}

.hero-buttons {
    margin-top: 30px;

    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    text-decoration: none;
    padding: 14px 23px;
    border-radius: 7px;
    display: inline-block;
    font-weight: bold;
}

.primary-btn {
    background: #0b1f3a;
    color: white;
}

.secondary-btn {
    border: 2px solid #0b1f3a;
    color: #0b1f3a;
}

.primary-btn:hover,
.secondary-btn:hover {
    opacity: 0.8;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
    display: block;
}


/* SECTIONS */

.section {
    max-width: 1150px;
    margin: auto;
    padding: 90px 25px;
}

.services-section {
    max-width: none;
    background: #f4f7fb;
}

.services-section .section-title,
.services-section .cards {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title p {
    color: #315b91;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 13px;
}

.section-title h2 {
    font-size: 38px;
    margin-top: 8px;
}


/* ABOUT */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.about-text,
.about-card {
    padding: 35px;
    border-radius: 12px;
}

.about-text {
    background: #f4f7fb;
}

.about-text h3,
.about-card h3 {
    font-size: 25px;
    margin-bottom: 15px;
}

.about-text p {
    color: #555;
    margin-bottom: 15px;
}

.about-card {
    background: #0b1f3a;
    color: white;
}


/* SERVICE CARDS */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background: white;
    padding: 35px;
    border-radius: 12px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.card-icon {
    font-size: 35px;
    margin-bottom: 18px;
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    color: #666;
}


/* WHAT I BUILD */

.build-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.build-card {
    border: 1px solid #e1e6ec;
    border-radius: 12px;
    padding: 30px;
}

.build-card span {
    font-size: 35px;
}

.build-card h3 {
    margin: 15px 0 8px;
}

.build-card p {
    color: #666;
}

.build-cta {
    margin-top: 50px;
    padding: 45px;
    text-align: center;
    background: #0b1f3a;
    color: white;
    border-radius: 15px;
}

.build-cta h3 {
    font-size: 30px;
}

.build-cta p {
    margin: 10px 0 25px;
}

.build-cta .primary-btn {
    background: white;
    color: #0b1f3a;
}


/* CONTACT */

.contact-section {
    background: #f4f7fb;
    max-width: none;
}

.contact-section .section-title,
.contact-grid {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.contact-card {
    text-decoration: none;
    color: #0b1f3a;

    background: white;
    padding: 25px;
    border-radius: 12px;

    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-card > span {
    font-size: 30px;
}

.contact-card h3 {
    margin-bottom: 4px;
}

.contact-card p {
    color: #666;
}


/* FOOTER */

footer {
    background: #0b1f3a;
    color: white;
    text-align: center;
    padding: 45px 20px;
}

footer h3 {
    font-size: 25px;
}

footer p {
    opacity: 0.7;
    margin: 5px 0 20px;
}

footer a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

footer .copyright {
    margin-top: 30px;
    font-size: 13px;
}


/* MOBILE */

@media (max-width: 800px) {

    .menu-btn {
        display: block;
    }

    .nav-links {
        display: none;

        position: absolute;
        top: 75px;
        left: 0;

        width: 100%;
        background: #0b1f3a;

        padding: 25px;

        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links.show {
        display: flex;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 55px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .build-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 500px) {

    .hero h1 {
        font-size: 34px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .build-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        text-align: center;
        width: 100%;
    }

}