:root {
    /* Brand colors (from your brief) */
    --color-main: #39739d;
    --color-secondary: #558cb8;
    --color-sub-0: #afc6d8;
    --color-sub-1: #c0ddf5;
    --color-sub-2: #c4c4c4;

    /* Neutrals */
    --color-bg: #f5f6f9;
    --color-white: #ffffff;
    --color-text: #222222;
    --color-border: #dfdfdf;

    /* Feedback */
    --color-success: #2f855a;
    --color-warning: #b7791f;
    --color-error: #b54a4a;

    /* Layout */
    --container-width: 100%;
    --radius-md: 8px;
    --radius-lg: 16px;
    --btn-radius: 999px;

    /* Spacing (4/8px scale) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 40px;
    --space-8: 48px;
    --space-9: 50px;
    --space-10: 100px;
    --space-11: 200px;

    /* fonts */
    --buttton-1: 1.2rem;
}
.hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    width: auto;
    height: 100vh;
    padding: var(--space-7) 0;
    padding-top: 50px;
    background-color: var(--color-main-dark-2);
    background:
        url('../img/hero-img/synergy-solutions-nc-design-2500.webp') center/cover no-repeat;
}
/* Overlay */
/* .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-secondary); 
    z-index: 1;
    opacity: 40%;
} */
.hero .container{
    padding-top: var(--space-11);
    margin-left: 10%;
    position: relative;
    z-index: 2;
    text-align: center;
}
.contact-logo {
    margin-top: 150px;
    width: 500px;
    margin-bottom: 16px;
}
.hero-lead{
    margin-top: 50px;
    color: var(--color-main);
    text-shadow: none;
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
   
}
.hero-title{
    color: var(--color-secondary);
    text-shadow: none;
    font-size: 2rem;
   
}
/* 1920 ish screens */
@media (min-width: 1500px) and (max-width: 2000px) {
    .hero .container{
        padding-top: var(--space-9);
    }
    .hero{
        width: 100%;
        height: 100vh;
        background:
        url('../img/hero-img/synergy-solutions-nc-design-1920.webp') center/cover no-repeat;
    }
    .hero-kicker{
        margin-top: 50px;
    }
    .hero-actions{
        margin-top: 20px;
    }
    .btn-primary{
        background-color: rgba(255, 255, 255, 0.37) ;
    }
    .hero-title{
        max-width: 150ch;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        color: var(--color-secondary);
        
    }
    .hero-lead{
        max-width: 65ch;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        
    }
    
}
    
@media (max-width: 768px) {
    .hero .container{
        padding-top: var(--space-9);
        margin-left: 5%;
    }
    .hero{
        width: 100vw;
        background:
        url('../img/hero-img/synergy-solutions-nc-design-850.webp') center/cover no-repeat;
    }
    .hero-actions{
        margin-top: 100px;
    }
    .contact-logo {
        margin-top: 50px;
        width: 380px;
        margin-bottom: 16px;
    }
    
}
@media (max-width: 360px) {
    .contact-logo {
        margin-left: -20px;
        margin-top: 50px;
        width: 250px;
        margin-bottom: 16px;
    }
    .hero-title{
        font-size: 1.5rem;
    }
    .hero-lead{
        font-size: 1.2rem;
    }
}

/* ============================================================
   Contact Page Layout
   - Form (left)
   - Direct Contact (right)
============================================================ */
.hp-field{
    display: none;
}
.wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: var(--space-11);
}

/* Desktop layout */
@media (min-width: 768px) {
    .wrapper {
        flex-direction: row;
        align-items: flex-start;
    }

    .contact-form {
        flex: 2;
        margin-top: var(--space-7);
    }

    .contact-direct {
        flex: 1;
        position: sticky;
        top: 120px;
    }
}

/* ============================================================
   Form Styling
============================================================ */

.contact-form {
    width: 100%;
}

.form-grid {
    display: grid;
    gap: 16px;
}

.form-grid-2 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .form-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: 10px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    font-size: 14px;
}

.form-field textarea {
    resize: vertical;
}

/* ============================================================
   Fieldset Styling (semantic groups)
============================================================ */

fieldset {
    border: 1px solid #e5e7eb;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

legend {
    padding: 0 8px;
    font-weight: 700;
    color: #1f2e4c;
}

/* ============================================================
   Contact Direct (RIGHT SIDE)
============================================================ */

.contact-direct {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
}



.contact-direct-intro {
    margin-bottom: 16px;
}

.contact-direct-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
#contactPhone, #contactEmail{
    text-decoration: none;
}
.contact-direct-list li {
    margin-bottom: 10px;
}
li a{
    color: var(--color-main);
}
/* ============================================================
   Buttons (ensure consistency)
============================================================ */
.recaptcha-field{
    margin-top: 50px;
}
.form-actions {
    margin-top: 16px;
}

/* success message */
.form-message-success{
    margin-bottom: 20px;
    border-style: dotted;
    border-color: #31bb76;
    background-color: #7aa4c02c;
    border-width: 2px;
    border-radius: 999px;
    padding-left: 15px;
}

/* error message */
.form-message-error{
    margin-bottom: 20px;
    border-style: dotted;
    border-color: #ff7741;
    background-color: #7aa4c02c;
    border-width: 2px;
    border-radius: 999px;
    padding-left: 15px;
}

.btn{
    border-radius: 999px;
}

@media (max-width: 768px) {
    /* success message */

    .contact-form {
        margin-top: var(--space-10);
    }
    .form-message-success{
        margin-bottom: 20px;
        border-style: dotted;
        border-color: #31bb76;
        background-color: #7aa4c02c;
        border-width: 2px;
        border-radius: 0px;
        padding-left: 15px;
    }
    .form-message-success p{
        font-size: 1.1rem;
    }

    /* error message */
    .form-message-error{
        margin-bottom: 20px;
        border-style: dotted;
        border-color: #ff7741;
        background-color: #7aa4c02c;
        border-width: 2px;
        border-radius: 0px;
        padding-left: 15px;
    }

    .form-message-error p{
        font-size: 1.1rem;
    }

}