/* ========================================
   GENERAL SETTINGS
   ======================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f7fa;
    color: #172033;
}


/* ========================================
   NAVIGATION BAR
   ======================================== */

.navbar {
    height: 82px;
    padding: 0 6%;
    background-color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #e5e8ed;
}


/* Logo */

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    display: block;
    width: 125px;
    height: auto;
}


/* Navigation links */

nav {
    display: flex;
    gap: 32px;
}

nav a {
    text-decoration: none;
    color: #172033;
    font-size: 14px;
    font-weight: 600;

    transition: color 0.2s ease;
}

nav a:hover {
    color: #315b8c;
}


/* Quote button */

.nav-button {
    text-decoration: none;
    background-color: #172033;
    color: #ffffff;

    padding: 13px 20px;

    font-size: 13px;
    font-weight: 700;

    border-radius: 4px;

    transition: background-color 0.2s ease;
}

.nav-button:hover {
    background-color: #315b8c;
}


/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: calc(100vh - 82px);

    display: flex;
    align-items: center;

    padding: 80px 10%;

    background-color: #f5f7fa;
}


/* Hero content */

.hero-content {
    max-width: 800px;
}


/* Small heading */

.eyebrow {
    margin: 0 0 20px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;

    color: #315b8c;
}


/* Main heading */

.hero h1 {
    margin: 0;

    font-size: clamp(50px, 7vw, 92px);

    line-height: 0.98;

    letter-spacing: -3px;

    font-weight: 800;
}

.hero h1 span {
    display: block;
    color: #315b8c;
}


/* Hero paragraph */

.hero-text {
    max-width: 650px;

    margin-top: 30px;

    font-size: 19px;
    line-height: 1.7;

    color: #5c6677;
}


/* Buttons */

.hero-buttons {
    display: flex;
    gap: 15px;

    margin-top: 35px;
}

.primary-button,
.secondary-button {
    display: inline-block;

    padding: 16px 25px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    border-radius: 4px;

    transition: all 0.2s ease;
}


/* Main button */

.primary-button {
    background-color: #172033;
    color: #ffffff;
}

.primary-button:hover {
    background-color: #315b8c;
}


/* Secondary button */

.secondary-button {
    border: 1px solid #172033;
    color: #172033;
    background-color: transparent;
}

.secondary-button:hover {
    background-color: #172033;
    color: #ffffff;
}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 800px) {

    .navbar {
        height: auto;
        padding: 20px 6%;

        flex-wrap: wrap;
        gap: 20px;
    }
.logo img {
    width: 105px;
}
    nav {
        order: 3;
        width: 100%;

        justify-content: center;

        gap: 18px;
    }

    .nav-button {
        padding: 11px 15px;
    }

    .hero {
        min-height: auto;

        padding: 80px 7%;
    }

    .hero h1 {
        font-size: 52px;
        letter-spacing: -2px;
    }

    .hero-text {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-button,
    .secondary-button {
        text-align: center;
    }
}/* ========================================
   SERVICES SECTION
   ======================================== */

.services {
    padding: 120px 10%;
    background-color: #ffffff;
}


/* Section heading */

.section-heading {
    max-width: 750px;
    margin-bottom: 60px;
}

.section-heading h2 {
    margin: 0;

    font-size: clamp(40px, 5vw, 65px);

    line-height: 1.05;

    letter-spacing: -2px;
}

.section-heading h2 span {
    color: #315b8c;
}

.section-heading > p:last-child {
    max-width: 650px;

    margin-top: 25px;

    font-size: 18px;

    line-height: 1.7;

    color: #687386;
}


/* Service cards */

.service-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}


.service-card {
    padding: 40px;

    min-height: 300px;

    border: 1px solid #e2e6eb;

    background-color: #f8f9fb;

    display: flex;

    flex-direction: column;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.service-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 15px 35px rgba(23, 32, 51, 0.08);
}


/* Number */

.service-number {
    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

    color: #315b8c;

    margin-bottom: 30px;
}


/* Card heading */

.service-card h3 {
    margin: 0;

    font-size: 25px;

    line-height: 1.2;
}


/* Card description */

.service-card p {
    margin-top: 18px;

    font-size: 16px;

    line-height: 1.7;

    color: #687386;
}


/* Card link */

.service-card a {
    margin-top: auto;

    padding-top: 25px;

    text-decoration: none;

    color: #172033;

    font-size: 14px;

    font-weight: 700;
}

.service-card a:hover {
    color: #315b8c;
}


/* ========================================
   SERVICES - MOBILE
   ======================================== */

@media (max-width: 800px) {

    .services {
        padding: 80px 7%;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

}
/* ========================================
   HOW IT WORKS SECTION
   ======================================== */

.process {
    padding: 120px 10%;

    background-color: #172033;

    color: #ffffff;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;
}


/* Introduction */

.process-intro {
    max-width: 550px;
}

.process-intro .eyebrow {
    color: #7da4d0;
}

.process-intro h2 {
    margin: 0;

    font-size: clamp(40px, 5vw, 65px);

    line-height: 1.05;

    letter-spacing: -2px;
}

.process-intro h2 span {
    display: block;

    color: #7da4d0;
}

.process-intro > p:last-child {
    margin-top: 30px;

    font-size: 18px;

    line-height: 1.7;

    color: #c4ccd8;
}


/* Steps */

.process-steps {
    border-top: 1px solid #3a4558;
}


/* Individual step */

.process-step {
    display: grid;

    grid-template-columns: 70px 1fr;

    gap: 25px;

    padding: 30px 0;

    border-bottom: 1px solid #3a4558;
}


/* Step number */

.step-number {
    font-size: 14px;

    font-weight: 700;

    letter-spacing: 2px;

    color: #7da4d0;
}


/* Step heading */

.step-content h3 {
    margin: 0;

    font-size: 24px;
}


/* Step description */

.step-content p {
    margin: 12px 0 0;

    font-size: 16px;

    line-height: 1.7;

    color: #c4ccd8;
}


/* ========================================
   PROCESS - MOBILE
   ======================================== */

@media (max-width: 800px) {

    .process {
        padding: 80px 7%;

        grid-template-columns: 1fr;

        gap: 60px;
    }
  
}   
/* ========================================
   PORTFOLIO SECTION
   ======================================== */

.portfolio {
    padding: 120px 10%;

    background-color: #f5f7fa;
}


/* Portfolio heading */

.portfolio-heading {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 60px;

    margin-bottom: 60px;
}

.portfolio-heading h2 {
    margin: 0;

    font-size: clamp(40px, 5vw, 65px);

    line-height: 1.05;

    letter-spacing: -2px;
}

.portfolio-heading h2 span {
    color: #315b8c;
}

.portfolio-heading > p {
    max-width: 450px;

    margin: 0;

    font-size: 17px;

    line-height: 1.7;

    color: #687386;
}


/* Portfolio grid */

.portfolio-grid {
    display: grid;

    grid-template-columns: 2fr 1fr;

    grid-template-rows: 260px 260px;

    gap: 20px;
}


/* Portfolio items */

.portfolio-item {
    position: relative;
    overflow: hidden;
    background-color: #dfe4ea;
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.03);
}

.portfolio-label {
    position: absolute;
    left: 25px;
    bottom: 25px;
}

.portfolio-label span {
    display: inline-block;
    padding: 11px 16px;
    background-color: #ffffff;
    color: #172033;
    font-size: 16px;
    font-weight: 700;
}

/* Temporary image placeholders */

.portfolio-placeholder {
    width: 100%;

    height: 100%;

    background-color: #dfe4ea;

    display: flex;

    align-items: flex-end;

    padding: 30px;

    position: relative;

    transition: transform 0.3s ease;
}


.portfolio-placeholder:hover {
    transform: scale(1.02);
}


.portfolio-placeholder span {
    font-size: 20px;

    font-weight: 700;

    color: #172033;

    background-color: #ffffff;

    padding: 10px 15px;
}


/* ========================================
   PORTFOLIO - MOBILE
   ======================================== */

@media (max-width: 800px) {

    .portfolio {
        padding: 80px 7%;
    }

    .portfolio-heading {
        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;

        grid-template-rows: 250px 250px 250px;
    }

    .portfolio-large {
        grid-row: auto;
    }

}
/* ========================================
   PORTFOLIO SECTION
   ======================================== */

.portfolio {
    padding: 120px 10%;

    background-color: #f5f7fa;
}


/* Portfolio heading */

.portfolio-heading {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 60px;

    margin-bottom: 60px;
}

.portfolio-heading h2 {
    margin: 0;

    font-size: clamp(40px, 5vw, 65px);

    line-height: 1.05;

    letter-spacing: -2px;
}

.portfolio-heading h2 span {
    color: #315b8c;
}

.portfolio-heading > p {
    max-width: 450px;

    margin: 0;

    font-size: 17px;

    line-height: 1.7;

    color: #687386;
}


/* Portfolio grid */

.portfolio-grid {
    display: grid;

    grid-template-columns: 2fr 1fr;

    grid-template-rows: 260px 260px;

    gap: 20px;
}


/* Portfolio items */

.portfolio-item {
    overflow: hidden;
}


/* Make first item span two rows */

.portfolio-large {
    grid-row: span 2;
}


/* Temporary image placeholders */

.portfolio-placeholder {
    width: 100%;

    height: 100%;

    background-color: #dfe4ea;

    display: flex;

    align-items: flex-end;

    padding: 30px;

    position: relative;

    transition: transform 0.3s ease;
}


.portfolio-placeholder:hover {
    transform: scale(1.02);
}


.portfolio-placeholder span {
    font-size: 20px;

    font-weight: 700;

    color: #172033;

    background-color: #ffffff;

    padding: 10px 15px;
}


/* ========================================
   PORTFOLIO - MOBILE
   ======================================== */

@media (max-width: 800px) {

    .portfolio {
        padding: 80px 7%;
    }

    .portfolio-heading {
        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;

        grid-template-rows: 250px 250px 250px;
    }

    .portfolio-large {
        grid-row: auto;
    }
}
/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    padding: 120px 10%;
    background-color: #ffffff;

    display: grid;
    grid-template-columns: 1fr 2fr;

    gap: 80px;
}


.about-label {
    padding-top: 10px;
}


.about-content {
    max-width: 850px;
}


.about-content h2 {
    margin: 0;

    font-size: clamp(40px, 5vw, 65px);

    line-height: 1.05;

    letter-spacing: -2px;

    color: #172033;
}


.about-content h2 span {
    display: block;

    color: #315b8c;
}


.about-text {
    max-width: 680px;

    margin-top: 45px;
}


.about-text p {
    margin: 0 0 20px;

    font-size: 18px;

    line-height: 1.8;

    color: #687386;
}


/* ========================================
   ABOUT - MOBILE
   ======================================== */

@media (max-width: 800px) {

    .about {
        padding: 80px 7%;

        grid-template-columns: 1fr;

        gap: 30px;
    }

}
/* ========================================
   QUOTE SECTION
   ======================================== */

.quote {
    padding: 120px 10%;

    background-color: #f5f7fa;

    display: grid;

    grid-template-columns: 1fr 1.4fr;

    gap: 100px;
}


/* Quote introduction */

.quote-intro {
    max-width: 520px;
}


.quote-intro h2 {
    margin: 0;

    font-size: clamp(45px, 5vw, 70px);

    line-height: 1;

    letter-spacing: -2px;

    color: #172033;
}


.quote-intro h2 span {
    display: block;

    color: #315b8c;
}


.quote-intro > p {
    margin-top: 30px;

    font-size: 18px;

    line-height: 1.7;

    color: #687386;
}


/* Attachment information */

.quote-note {
    margin-top: 50px;

    padding-top: 25px;

    border-top: 1px solid #d7dce3;
}


.quote-note strong {
    font-size: 16px;

    color: #172033;
}


.quote-note p {
    margin: 10px 0 0;

    font-size: 15px;

    line-height: 1.7;

    color: #687386;
}


/* ========================================
   QUOTE FORM
   ======================================== */

.quote-form {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 25px;

    padding: 45px;

    background-color: #ffffff;

    border: 1px solid #e1e5ea;
}


/* Full-width form elements */

.full-width {
    grid-column: 1 / -1;
}


/* Individual field */

.form-group {
    display: flex;

    flex-direction: column;

    gap: 9px;
}


.form-group label {
    font-size: 13px;

    font-weight: 700;

    color: #172033;
}


/* Inputs */

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 15px;

    border: 1px solid #cfd5dd;

    background-color: #ffffff;

    color: #172033;

    font-family: Arial, sans-serif;

    font-size: 15px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* Selected field */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #315b8c;

    box-shadow: 0 0 0 3px rgba(49, 91, 140, 0.1);
}


/* Text area */

.form-group textarea {
    resize: vertical;

    min-height: 150px;
}


/* File input */

.form-group input[type="file"] {
    background-color: #f8f9fb;

    cursor: pointer;
}


.file-help {
    font-size: 12px;

    color: #7b8493;
}


/* Submit area */

.form-submit {
    margin-top: 10px;
}


.form-submit button {
    width: 100%;

    padding: 18px 25px;

    border: none;

    background-color: #172033;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition: background-color 0.2s ease;
}


.form-submit button:hover {
    background-color: #315b8c;
}


.form-submit p {
    margin: 12px 0 0;

    text-align: center;

    font-size: 12px;

    color: #7b8493;
}


/* ========================================
   QUOTE - MOBILE
   ======================================== */

@media (max-width: 800px) {

    .quote {
        padding: 80px 7%;

        grid-template-columns: 1fr;

        gap: 50px;
    }


    .quote-form {
        grid-template-columns: 1fr;

        padding: 25px;
    }


    .full-width {
        grid-column: auto;
    }

}
/* FORM MESSAGES */

.form-message {
    display: none;
    margin-top: 20px;
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
    border-radius: 4px;
}

.form-message.success {
    display: block;
    background-color: #eef6f0;
    border: 1px solid #bdd8c4;
    color: #245c32;
}

.form-message.error {
    display: block;
    background-color: #fff1f1;
    border: 1px solid #e5bcbc;
    color: #8a2c2c;
}

.form-submit button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}


/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    background-color: #172033;
    color: #ffffff;
    padding: 75px 10% 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr;
    gap: 80px;
    padding-bottom: 60px;
}

.footer-brand {
    max-width: 420px;
}

.footer-logo {
    display: block;
    width: 150px;
    height: auto;
    margin-bottom: 25px;
}

.footer-brand p {
    margin: 0;
    color: #b8c1cf;
    font-size: 15px;
    line-height: 1.8;
}

.footer-links h3,
.footer-contact h3 {
    margin: 0 0 25px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #7da4d0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 14px;
    font-size: 15px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #7da4d0;
}

.footer-contact p {
    margin: 0 0 18px;
    color: #b8c1cf;
    font-size: 15px;
    line-height: 1.6;
}

.footer-contact strong {
    display: block;
    margin-bottom: 3px;
    color: #ffffff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.footer-contact a {
    color: #b8c1cf;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-bottom p {
    margin: 0;
    color: #8f9aaa;
    font-size: 13px;
}


/* Footer - Mobile */

@media (max-width: 800px) {

    .site-footer {
        padding: 60px 7% 0;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 45px;
        padding-bottom: 45px;
    }

    .footer-logo {
        width: 130px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
/* Quote Form Privacy Notice */

.privacy-note {
    margin: 18px 0 0;
    max-width: 650px;
    font-size: 12px;
    line-height: 1.6;
    color: #7a8494;
}

/* =========================================
   PRIVACY PAGE
   ========================================= */

.privacy-header {
    min-height: 100px;
    padding: 18px 10%;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e6eb;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.privacy-logo {
    display: block;
    text-decoration: none;
}

.privacy-logo img {
    display: block;
    width: 125px;
    height: auto;
}

.privacy-back {
    color: #172033;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 2px solid #315b8c;
}

.privacy-back:hover {
    color: #315b8c;
}


.privacy-page {
    padding: 90px 10% 110px;
    background-color: #f5f7fa;
}

.privacy-content {
    max-width: 850px;
    margin: 0 auto;
}

.privacy-content > .eyebrow {
    margin-bottom: 15px;
}

.privacy-content h1 {
    margin: 0 0 15px;
    color: #172033;
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1;
    letter-spacing: -2px;
}

.privacy-updated {
    margin: 0 0 40px;
    color: #7a8494;
    font-size: 13px;
}

.privacy-intro {
    margin: 0 0 60px;
    color: #4f5b6c;
    font-size: 19px;
    line-height: 1.8;
}

.privacy-content section {
    padding: 35px 0;
    border-top: 1px solid #dce1e7;
}

.privacy-content section h2 {
    margin: 0 0 18px;
    color: #172033;
    font-size: 24px;
    letter-spacing: -0.4px;
}

.privacy-content section p {
    margin: 0 0 16px;
    color: #5f6b7b;
    font-size: 15px;
    line-height: 1.8;
}

.privacy-content section p:last-child {
    margin-bottom: 0;
}

.privacy-content section strong {
    color: #172033;
}

.privacy-content section a {
    color: #315b8c;
    font-weight: 700;
    text-decoration: none;
}

.privacy-content section a:hover {
    text-decoration: underline;
}

.privacy-home-link {
    margin-top: 40px;
}

.privacy-home-link a {
    display: inline-block;
    padding: 14px 22px;
    background-color: #172033;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.privacy-home-link a:hover {
    background-color: #315b8c;
}


/* Privacy Page - Mobile */

@media (max-width: 800px) {

    .privacy-header {
        min-height: 85px;
        padding: 15px 7%;
    }

    .privacy-logo img {
        width: 105px;
    }

    .privacy-back {
        font-size: 13px;
    }

    .privacy-page {
        padding: 65px 7% 80px;
    }

    .privacy-content h1 {
        letter-spacing: -1.5px;
    }

    .privacy-intro {
        margin-bottom: 45px;
        font-size: 17px;
    }

    .privacy-content section {
        padding: 30px 0;
    }

    .privacy-content section h2 {
        font-size: 21px;
    }
}

.privacy-note a {
    color: #315b8c;
    font-weight: 700;
    text-decoration: none;
}

.privacy-note a:hover {
    text-decoration: underline;
}