/* ========================================
   GLOBAL RESET
======================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/* ========================================
   GLOBAL PAGE STYLES
======================================== */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    font-family: Arial, Helvetica, sans-serif;
    color: #183247;
    background-color: #ffffff;
    line-height: 1.6;
}

main {
    flex: 1;
}

p {
    max-width: 850px;
    margin-bottom: 20px;
}

a {
    color: #176b8f;
}


/* ========================================
   HEADER
======================================== */

header {
    background-color: #ffffff;
    padding: 6px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2edf2;
}

header h1 {
    font-size: 22px;
    color: #123c56;
}


/* ========================================
   LOGO
======================================== */

.logo img {
    width: 300px;
    height: auto;
    display: block;
}


/* ========================================
   NAVIGATION
======================================== */

nav {
    display: flex;
    transform: translateY(24px);
    align-items: center;
    gap: 28px;
}

nav a {
    color: #183247;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.2px;
    padding-bottom: 6px;
}

nav a:hover {
    color: #176b8f;
}

nav a.active {
    color: #176b8f;
    border-bottom: 2px solid #176b8f;
}

nav a:last-child {
    background-color: #176b8f;
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 30px;
}


/* ========================================
   GENERAL PAGE SECTIONS
======================================== */

main > section {
    padding: 40px 7%;
}

h2 {
    color: #123c56;
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 24px;
    max-width: 800px;
}


/* ========================================
   HOME HERO
======================================== */

main > section:first-child {
    min-height: 480px;
    background: linear-gradient(
        135deg,
        #f5fbfd 0%,
        #e8f5f8 100%
    );
}

main > section:first-child > p:first-child {
    color: #176b8f;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

main > section:first-child a {
    display: inline-block;
    width: fit-content;
    background-color: #176b8f;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: 30px;
    margin-top: 10px;
}


/* ========================================
   HOME HERO LAYOUT
======================================== */

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero-text {
    max-width: 650px;
}

.hero-text .section-label {
    color: #176b8f;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.8px;
    line-height: 1.4;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-text h1 {
    color: #123c56;
    font-size: 38px;
    line-height: 1.12;
    max-width: 640px;
    margin: 0 0 24px;
}

.hero-description {
    color: #5a6b75;
    font-size: 17px;
    line-height: 1.65;
    max-width: 620px;
    margin-bottom: 28px;
}

.hero-image img {
    width: 112%;
    max-width: none;
    height: auto;
    transform: translateX(-30px);
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(18, 60, 86, 0.14);
    margin-top: 0;
}


/* ========================================
   SERVICES SECTION
======================================== */

.services-section {
    background-color: #ffffff;
    padding-top: 34px;
    padding-bottom: 36px;
}

.section-heading {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 26px;
}

.section-heading .section-label {
    color: #176b8f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.section-heading h2 {
    color: #183247;
    font-size: 28px;
    line-height: 1.25;
    max-width: 760px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.service-card {
    background-color: #ffffff;
    border: 1px solid #dce8ee;
    border-radius: 14px;
    padding: 18px 24px;
    min-height: 215px;
}

.service-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
    margin-bottom: 16px;
}

.service-card h3 {
    color: #123c56;
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.service-card p {
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.55;
}


/* ========================================
   ABOUT PAGE HERO
======================================== */

.about-hero {
    position: relative;
    min-height: auto !important;
    padding: 42px 7%;
    overflow: hidden;

    background: linear-gradient(
        135deg,
        #f5fbfd 0%,
        #e8f5f8 100%
    );
}

.about-hero-image {
    display: block;
    width: 100%;
    max-width: 1080px;
    height: auto;
    margin: 0 auto;

    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(18, 60, 86, 0.16);
}

.about-hero-content {
    position: absolute;
    top: 42px;
    bottom: 42px;
    left: 50%;

    width: min(86%, 1080px);
    transform: translateX(-50%);
}

.about-heading {
    position: absolute;
    top: 11%;
    left: 53%;

    width: 43%;
    max-width: 500px;
}

.about-intro {
    margin: 0 0 8px;

    color: #176b8f;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.3;
    text-transform: uppercase;
}

.about-heading h1 {
    margin: 0 0 8px;

    color: #123c56;
    font-size: 38px;
    line-height: 1.15;
}

.about-heading h1 span {
    font-weight: 600;
}

.about-title {
    margin: 0;

    color: #176b8f;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.about-biography {
    position: absolute;
    top: 42%;
    left: 53%;

    width: 44%;
    max-width: 530px;
}

.about-biography p {
    max-width: none;
    margin: 0;

    color: #176b8f;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.55;
}

.about-biography p + p {
    margin-top: 18px;
}
.about-title::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    margin-top: 18px;
    background: #b78325;
    border-radius: 2px;
}

/* ========================================
   CONSULTATION PAGE HERO
======================================== */

.consultation-hero {
    min-height: auto !important;
    padding: 48px 24px 18px;
    background: #eaf7fb !important;
}

.consultation-card {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 34px 44px 36px;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.78);
    border-left: 6px solid #b78325;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(18, 60, 86, 0.08);

    text-align: left;
}



.consultation-card .eyebrow {
    margin-bottom: 10px;
    color: #176b8f;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
}

.consultation-card h1 {
    margin-bottom: 12px;
    color: #123c56;
    font-size: 38px;
    line-height: 1.2;
}

.consultation-card p {
    max-width: 690px;
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
}


/* ========================================
   CONSULTATION FORM SECTION
======================================== */

.consultation-form-section {
    padding: 14px 24px 50px;
    background: #eaf7fb;
}


/* ========================================
   CONSULTATION FORM
======================================== */

.consultation-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 34px;

    background-color: #ffffff;
    border-radius: 16px;

    display: flex;
    flex-direction: column;
    gap: 14px;
}


/* ========================================
   FORM GROUPS
======================================== */

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label,
.form-label {
    font-weight: 600;
    color: #163b63;
    font-size: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

fieldset.form-group {
    min-width: 0;
    margin-inline: 0;
    padding: 0;
    border: 0;
}

fieldset.form-group legend {
    padding: 0;
    margin-bottom: 5px;
}


/* ========================================
   FORM INPUTS
======================================== */

.consultation-form input[type="text"],
.consultation-form input[type="email"],
.consultation-form input[type="tel"],
.consultation-form select,
.consultation-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #b9c9d3;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.96rem;
    color: #263746;
    background-color: #ffffff;
}


/* ========================================
   FORM FOCUS EFFECT
======================================== */

.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
    outline: none;
    border-color: #1f6f9f;
    box-shadow: 0 0 0 3px rgba(31, 111, 159, 0.12);
}


/* ========================================
   FORM HOVER EFFECT
======================================== */

.consultation-form input[type="text"]:hover,
.consultation-form input[type="email"]:hover,
.consultation-form input[type="tel"]:hover,
.consultation-form select:hover,
.consultation-form textarea:hover {
    border-color: #8fa9b8;
}


/* ========================================
   MESSAGE BOX
======================================== */

.consultation-form textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.5;
}


/* ========================================
   CONTACT OPTIONS
======================================== */

.checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    align-items: center;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 400;
    color: #425563;
    cursor: pointer;
}

.checkbox-grid.compact {
    margin-top: 2px;
}


/* ========================================
   CHECKBOXES
======================================== */

.consultation-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}


/* ========================================
   PRIVACY NOTICE
======================================== */

.privacy-note {
    padding: 16px 18px;
    margin-bottom: 0;
    background-color: #eef6f8;
    border-left: 4px solid #1f6f9f;
    border-radius: 4px;
    color: #425563;
    font-size: 0.92rem;
    line-height: 1.6;
}


/* ========================================
   CONFIRMATION CHECKBOX
======================================== */

.confirmation-box {
    padding: 16px 18px;
    background-color: #f8fafb;
    border: 1px solid #dce8ee;
    border-radius: 8px;
}

.confirmation-box label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #425563;
    font-size: 0.95rem;
    line-height: 1.5;
    cursor: pointer;
}

.confirmation-box input[type="checkbox"] {
    flex: 0 0 auto;
    margin-top: 3px;
}


/* ========================================
   ANTI-SPAM HONEYPOT
======================================== */

.honeypot-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


/* ========================================
   SUBMIT BUTTON
======================================== */

.consultation-form button {
    align-self: flex-start;
    padding: 13px 26px;
    border: none;
    border-radius: 30px;
    background-color: #163b63;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.consultation-form button:not(:disabled):hover {
    background-color: #1f6f9f;
    transform: translateY(-1px);
}

.submit-button:disabled {
    cursor: not-allowed;
    opacity: 0.65;
    transform: none;
}

.consultation-form button:focus-visible,
.return-home-button:focus-visible,
nav a:focus-visible {
    outline: 3px solid rgba(31, 111, 159, 0.35);
    outline-offset: 3px;
}


/* ========================================
   FORM STATUS
======================================== */

.form-status {
    min-height: 3rem;
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 1.45;
}

.form-status.error {
    color: #9b2c2c;
    font-weight: 600;
}

.form-status.success {
    color: #246b45;
    font-weight: 600;
}


/* ========================================
   FORM CLOSING MESSAGE
======================================== */

.form-closing-note {
    max-width: 760px;
    margin: 32px auto 0;
    text-align: center;
    color: #526675;
    font-size: 0.95rem;
    line-height: 1.6;
}


/* ========================================
   FOOTER
======================================== */

footer {
    width: 100%;
    background-color: #123c56;
    color: #ffffff;
    text-align: center;
    padding: 10px 7%;
}

footer p {
    max-width: none;
    margin: 0;
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
}


/* ========================================
   TABLET RESPONSIVE DESIGN
======================================== */

@media (max-width: 900px) {

    .hero {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .hero-text h2 {
        font-size: 32px;
    }



    .about-hero-image {
    max-width: 100%;
}

.about-heading {
    top: 10%;
    left: 51%;
    width: 46%;
}

.about-heading h1 {
    font-size: 30px;
}

.about-title {
    font-size: 15px;
}

.about-biography {
    top: 43%;
    left: 51%;
    width: 46%;
}

.about-biography p {
    font-size: 14px;
    line-height: 1.45;
}

.about-biography p + p {
    margin-top: 14px;
}
}


/* ========================================
   MOBILE RESPONSIVE DESIGN
======================================== */
@media (max-width: 700px) {

    header {
        flex-direction: column;
        gap: 18px;
    }

    nav {
        transform: none;
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    main > section {
        padding: 55px 6%;
    }

    h2 {
        font-size: 30px;
    }

    main > section:first-child {
        min-height: 480px;
    }
.about-hero {
    padding: 32px 6%;
}

.about-hero-image {
    height: 430px;
    object-fit: cover;
    object-position: left center;
}

.about-hero-content {
    position: static;
    width: 100%;
    transform: none;
}

.about-heading,
.about-biography {
    position: static;
    width: 100%;
    max-width: none;
}

.about-heading {
    margin-top: 28px;
}

.about-heading h1 {
    font-size: 30px;
}

.about-biography {
    margin-top: 26px;
}

.about-biography p {
    font-size: 16px;
    line-height: 1.6;
}
    .services-grid {
        grid-template-columns: 1fr;
    }

    .consultation-card {
        padding: 36px 24px;
    }

    .consultation-card h1 {
        font-size: 32px;
    }

    .consultation-form-section {
        padding: 28px 20px;
    }

    .consultation-form {
        padding: 28px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkbox-grid {
        gap: 12px 18px;
    }

    .consultation-form button {
        width: 100%;
    }
}


/* ========================================
   THANK-YOU PAGE
======================================== */

.thank-you-section {
    min-height: calc(100vh - 190px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    background: #eaf7fb;
}

.thank-you-card {
    width: 100%;
    max-width: 760px;
    padding: 52px 48px;
    background: rgba(255, 255, 255, 0.82);
    border-left: 6px solid #b78325;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(18, 60, 86, 0.1);
    text-align: center;
}

.thank-you-eyebrow {
    margin: 0 0 10px;
    color: #176b8f;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.thank-you-card h1 {
    margin-bottom: 18px;
    color: #123c56;
    font-size: 38px;
    line-height: 1.2;
}

.thank-you-message {
    max-width: 610px;
    margin: 0 auto 28px;
    color: #425563;
    font-size: 17px;
    line-height: 1.65;
}

.return-home-button {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 30px;
    background: #163b63;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.return-home-button:hover {
    background: #1f6f9f;
}

@media (max-width: 700px) {

    .thank-you-section {
        padding: 36px 20px;
    }

    .thank-you-card {
        padding: 38px 24px;
    }

    .thank-you-card h1 {
        font-size: 30px;
    }
}
/* ========================================
   PHONE LANDSCAPE RESPONSIVE DESIGN
======================================== */

@media (orientation: landscape) and (max-height: 500px) and (max-width: 950px) {

    .about-hero {
        position: relative;
        display: block;
        min-height: auto !important;
        padding: 22px 5% 28px;
        overflow: hidden;
    }

    .about-hero-image {
        position: static;
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 16px;
    }

    .about-hero-content {
        position: absolute;
        top: 22px;
        bottom: 28px;
        left: 5%;

        width: 90%;
        height: auto;
        transform: none;
    }

    .about-heading {
        position: absolute;
        top: 8%;
        left: 48%;

        width: 49%;
        max-width: none;
        transform: none;
    }

    .about-intro {
        margin-bottom: 4px;
        font-size: 11px;
    }

    .about-heading h1 {
        margin-bottom: 5px;
        font-size: 27px;
        line-height: 1.05;
    }

    .about-title {
        font-size: 12px;
        line-height: 1.25;
    }

    .about-title::after {
        width: 100%;
        height: 2px;
        margin-top: 9px;
    }

    .about-biography {
        position: absolute;
        top: 39%;
        left: 48%;

        width: 49%;
        max-width: none;
        margin: 0;
        transform: none;
    }

    .about-biography p {
        font-size: 12px;
        line-height: 1.35;
    }

    .about-biography p + p {
        margin-top: 10px;
    }
}