
/* =========================================================
   SIGMAEQI CONTACT PAGE
   Professional Contact / Enquiry Page
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --contact-navy: #142b52;
    --contact-navy-dark: #0c1d39;

    --contact-red: #b6253a;
    --contact-red-dark: #921d30;

    --contact-blue: #1d66a8;

    --contact-text: #162c50;
    --contact-muted: #66748a;

    --contact-border: #e2e8f0;

    --contact-light: #f5f7fb;

    --contact-white: #ffffff;

    --contact-shadow:
        0 18px 50px rgba(20, 43, 82, 0.09);

    --contact-soft-shadow:
        0 10px 30px rgba(20, 43, 82, 0.07);

}


/* =========================================================
   PAGE BASE
========================================================= */

.contact-page {

    width: 100%;

    overflow: hidden;

    background: #ffffff;

    color: var(--contact-text);

}


.contact-container {

    width: min(100% - 70px, 1380px);

    margin: 0 auto;

}


/* =========================================================
   HERO
========================================================= */

.contact-hero {

    position: relative;

    padding: 82px 0 90px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(182, 37, 58, 0.08),
            transparent 28%
        ),
        radial-gradient(
            circle at 15% 70%,
            rgba(29, 102, 168, 0.07),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f8fafc 0%,
            #ffffff 58%,
            #faf7f8 100%
        );

}


.contact-hero::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #dfe5ed,
            transparent
        );

}


.contact-hero .contact-container {

    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(340px, 0.65fr);

    gap: 70px;

    align-items: center;

}

/* =========================================================
   CONTACT FLASH MESSAGE
========================================================= */

.contact-flash-container {
    width: min(1200px, 92%);
    margin: 25px auto 0;
}

.contact-flash {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 15px 18px;

    border-radius: 12px;

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

    box-shadow: 0 8px 25px rgba(20, 47, 95, 0.08);
}

.contact-flash i {
    font-size: 18px;
}

.contact-flash-success {
    color: #176b42;
    background: #edf9f2;
    border: 1px solid #bde7cf;
}

.contact-flash-error {
    color: #a51f38;
    background: #fff1f4;
    border: 1px solid #f0c3cd;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.contact-hero-content {

    max-width: 780px;

}


.contact-eyebrow {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 20px;

    color: var(--contact-red);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 3px;

}


.contact-eyebrow span {

    width: 34px;

    height: 2px;

    background: var(--contact-red);

    border-radius: 3px;

}


.contact-hero h1 {

    margin: 0;

    max-width: 800px;

    color: var(--contact-navy);

    font-size: clamp(48px, 5vw, 76px);

    line-height: 1.02;

    letter-spacing: -3px;

    font-weight: 800;

}


.contact-hero h1 span {

    display: block;

    color: var(--contact-red);

}


.contact-hero-content > p {

    max-width: 680px;

    margin: 28px 0 0;

    color: var(--contact-muted);

    font-size: 17px;

    line-height: 1.8;

}


/* =========================================================
   HERO HIGHLIGHTS
========================================================= */

.contact-hero-highlights {

    display: flex;

    flex-wrap: wrap;

    gap: 24px;

    margin-top: 32px;

}


.contact-highlight {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: #344967;

    font-size: 13px;

    font-weight: 650;

}


.contact-highlight i {

    color: var(--contact-red);

    font-size: 15px;

}


/* =========================================================
   HERO SIDE CARD
========================================================= */

.contact-hero-card {

    position: relative;

    padding: 38px;

    overflow: hidden;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            var(--contact-navy-dark),
            var(--contact-navy) 55%,
            #263f6d
        );

    color: #ffffff;

    box-shadow:
        0 22px 55px rgba(20, 43, 82, 0.22);

}


.contact-hero-card::before {

    content: "";

    position: absolute;

    width: 190px;

    height: 190px;

    right: -75px;

    top: -80px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,0.10);

}


.contact-hero-card::after {

    content: "";

    position: absolute;

    width: 270px;

    height: 270px;

    right: -120px;

    bottom: -170px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,0.08);

}


.contact-hero-card-icon {

    width: 56px;

    height: 56px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 25px;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            #2778bd,
            #1b568d
        );

    color: #ffffff;

    font-size: 21px;

}


.contact-hero-card > span {

    color: #b8cee6;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

}


.contact-hero-card h2 {

    position: relative;

    z-index: 1;

    margin: 12px 0 14px;

    max-width: 300px;

    color: #ffffff;

    font-size: 34px;

    line-height: 1.12;

    letter-spacing: -1px;

}


.contact-hero-card p {

    position: relative;

    z-index: 1;

    margin: 0;

    color: #d9e3ef;

    font-size: 14px;

    line-height: 1.7;

}


.contact-hero-button {

    position: relative;

    z-index: 2;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 11px;

    min-height: 48px;

    margin-top: 28px;

    padding: 0 19px;

    border: 1px solid rgba(255,255,255,0.35);

    border-radius: 9px;

    background: rgba(255,255,255,0.08);

    color: #ffffff;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    transition:
        background 0.25s ease,
        transform 0.25s ease;

}


.contact-hero-button:hover {

    background: rgba(255,255,255,0.15);

    color: #ffffff;

    transform: translateY(-2px);

}

.contact-flash-messages {
    margin-bottom: 20px;
}

.contact-flash {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 14px 16px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;
}

.contact-flash.success {
    color: #176b45;
    background: #edf9f3;
    border: 1px solid #bce8d2;
}

.contact-flash.error {
    color: #a51e39;
    background: #fff1f3;
    border: 1px solid #f2c4cc;
}

/*Honey pot */
.website-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* =========================================================
   QUICK CONTACT SECTION
========================================================= */

/* WhatsApp contact card */
.contact-quick-icon.whatsapp {
    background: #e8f8ee;
    color: #20a65a;
}

.whatsapp-card:hover .contact-quick-icon.whatsapp {
    background: #d7f3e2;
}

.contact-quick-card.whatsapp-card:hover {
    border-color: #b8e6c9;
}

/* Consistent card content */
.contact-quick-content {
    min-width: 0;
}

/* Responsive contact cards */
@media (max-width: 700px) {
    .contact-quick-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}


.contact-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}


.contact-quick-card {

    min-height: 86px;

    display: grid;

    grid-template-columns: auto 1fr auto;

    align-items: center;

    gap: 15px;

    padding: 15px 18px;

    border: 1px solid var(--contact-border);

    border-radius: 13px;

    background: #ffffff;

    color: var(--contact-text);

    text-decoration: none;

    box-shadow:
        0 5px 20px rgba(20, 43, 82, 0.035);

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

}


.contact-quick-card:hover {

    transform: translateY(-3px);

    border-color: #cbd6e4;

    box-shadow: var(--contact-soft-shadow);

}


.contact-quick-icon {

    width: 47px;

    height: 47px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius: 12px;

    font-size: 17px;

}


.contact-quick-icon.blue {

    background: #eaf3fb;

    color: #1764a5;

}


.contact-quick-icon.red {

    background: #fcecef;

    color: var(--contact-red);

}


.contact-quick-icon.navy {

    background: #edf1f7;

    color: var(--contact-navy);

}


.contact-quick-card span {

    display: block;

    margin-bottom: 4px;

    color: #78869a;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.7px;

    text-transform: uppercase;

}


.contact-quick-card strong {

    display: block;

    color: var(--contact-text);

    font-size: 14px;

    font-weight: 700;

    overflow-wrap: anywhere;

}


.contact-quick-arrow {

    color: #9aa6b7;

    font-size: 13px;

    transition:
        color 0.2s ease,
        transform 0.2s ease;

}


.contact-quick-card:hover
.contact-quick-arrow {

    color: var(--contact-red);

    transform: translateX(3px);

}


/* =========================================================
   MAIN CONTACT SECTION
========================================================= */

.contact-main-section {

    padding: 70px 0 95px;

    background:
        linear-gradient(
            180deg,
            #f8fafc 0%,
            #ffffff 100%
        );

}


.contact-main-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 0.82fr)
        minmax(0, 1.18fr);

    gap: 65px;

    align-items: start;

}


/* =========================================================
   LEFT INFORMATION
========================================================= */

.contact-information {

    padding-top: 10px;

}


.contact-section-label {

    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 18px;

    color: var(--contact-red);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2.5px;

}


.contact-section-label span {

    width: 30px;

    height: 2px;

    background: var(--contact-red);

}


.contact-information h2 {

    margin: 0;

    color: var(--contact-navy);

    font-size: 43px;

    line-height: 1.08;

    letter-spacing: -1.5px;

}


.contact-information h2 span {

    color: var(--contact-red);

}


.contact-intro {

    margin: 20px 0 0;

    color: var(--contact-muted);

    font-size: 15px;

    line-height: 1.8;

}


/* =========================================================
   SERVICE BOX
========================================================= */

.contact-service-box {

    margin-top: 32px;

    padding: 25px;

    border: 1px solid var(--contact-border);

    border-radius: 16px;

    background: #ffffff;

    box-shadow: var(--contact-soft-shadow);

}


.contact-service-heading {

    display: flex;

    align-items: center;

    gap: 14px;

    padding-bottom: 18px;

    border-bottom: 1px solid #edf0f4;

}


.contact-service-heading-icon {

    width: 43px;

    height: 43px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 11px;

    background: #edf3fa;

    color: var(--contact-navy);

}


.contact-service-heading span {

    display: block;

    margin-bottom: 3px;

    color: #8490a2;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.contact-service-heading h3 {

    margin: 0;

    color: var(--contact-navy);

    font-size: 18px;

}


.contact-service-list {

    display: grid;

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

    gap: 10px;

    padding-top: 18px;

}


.contact-service-item {

    display: flex;

    align-items: center;

    gap: 9px;

    min-height: 40px;

    padding: 0 10px;

    border-radius: 8px;

    background: #f8fafc;

    color: #344967;

    font-size: 12px;

    font-weight: 600;

}


.contact-service-item i {

    width: 18px;

    color: var(--contact-red);

    text-align: center;

}


/* =========================================================
   LOCATION BOX
========================================================= */

.contact-location-box {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 22px;

    padding: 18px;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            #f3f6fa,
            #ffffff
        );

}


.contact-location-icon {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius: 11px;

    background: #fcecef;

    color: var(--contact-red);

}


.contact-location-box span {

    display: block;

    margin-bottom: 5px;

    color: #8290a3;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.4px;

}


.contact-location-box p {

    margin: 0;

    color: #344967;

    font-size: 12px;

    font-weight: 600;

    line-height: 1.6;

}


/* =========================================================
   CONTACT FORM CARD
========================================================= */

.contact-form-card {

    padding: 36px;

    border: 1px solid var(--contact-border);

    border-radius: 20px;

    background: #ffffff;

    box-shadow: var(--contact-shadow);

}


.contact-form-header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 25px;

    padding-bottom: 25px;

    margin-bottom: 25px;

    border-bottom: 1px solid #edf0f4;

}


.contact-form-kicker {

    display: block;

    margin-bottom: 8px;

    color: var(--contact-red);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

}


.contact-form-header h2 {

    margin: 0;

    color: var(--contact-navy);

    font-size: 28px;

    line-height: 1.2;

    letter-spacing: -0.7px;

}


.contact-form-header p {

    max-width: 560px;

    margin: 9px 0 0;

    color: var(--contact-muted);

    font-size: 13px;

    line-height: 1.65;

}


.contact-form-icon {

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            var(--contact-navy),
            #28518b
        );

    color: #ffffff;

    font-size: 17px;

}


/* =========================================================
   FORM ROW
========================================================= */

.contact-form-row {

    display: grid;

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

    gap: 18px;

}


.form-field {

    margin-bottom: 18px;

}


.form-field label {

    display: block;

    margin-bottom: 8px;

    color: var(--contact-text);

    font-size: 12px;

    font-weight: 700;

}


.form-field label span {

    color: var(--contact-red);

}


.input-wrapper {

    position: relative;

}


.input-wrapper > i:first-child {

    position: absolute;

    left: 15px;

    top: 50%;

    z-index: 2;

    color: #8290a3;

    font-size: 14px;

    transform: translateY(-50%);

    pointer-events: none;

}


.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {

    width: 100%;

    box-sizing: border-box;

    border: 1px solid #dfe5ed;

    border-radius: 9px;

    background: #ffffff;

    color: var(--contact-text);

    font-family: inherit;

    font-size: 13px;

    outline: none;

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

}


.input-wrapper input,
.input-wrapper select {

    height: 50px;

    padding:
        0
        42px
        0
        42px;

}


.input-wrapper textarea {

    min-height: 140px;

    padding:
        15px
        15px
        15px
        42px;

    line-height: 1.6;

    resize: vertical;

}


.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {

    color: #a2adbb;

}


.input-wrapper input:hover,
.input-wrapper select:hover,
.input-wrapper textarea:hover {

    border-color: #cbd5e1;

}


.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {

    border-color: #7191b7;

    background: #fcfdff;

    box-shadow:
        0 0 0 3px rgba(29, 102, 168, 0.08);

}


/* =========================================================
   SELECT
========================================================= */

.select-wrapper select {

    appearance: none;

    -webkit-appearance: none;

    cursor: pointer;

}


.select-wrapper .select-arrow {

    position: absolute;

    right: 15px;

    top: 50%;

    color: #7e8a9d;

    font-size: 11px;

    transform: translateY(-50%);

    pointer-events: none;

}


/* =========================================================
   TEXTAREA ICON
========================================================= */

.textarea-wrapper > i:first-child {

    top: 17px;

    transform: none;

}


/* =========================================================
   FORM ERROR
========================================================= */

.form-error {

    display: block;

    min-height: 15px;

    margin-top: 5px;

    color: var(--contact-red);

    font-size: 10.5px;

    line-height: 1.3;

}


.form-field.has-error
.input-wrapper input,
.form-field.has-error
.input-wrapper select,
.form-field.has-error
.input-wrapper textarea {

    border-color: var(--contact-red);

    box-shadow:
        0 0 0 3px rgba(182, 37, 58, 0.06);

}


/* =========================================================
   CONSENT
========================================================= */

.contact-consent {

    margin-top: 1px;

}


.consent-label {

   

    align-items: start;

    column-gap: 9px;

    cursor: pointer;

}


.consent-label input {

    position: absolute;

    opacity: 0;

    pointer-events: none;

}


.custom-checkbox {

    width: 18px;

    height: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #cbd5e1;

    border-radius: 4px;

    background: #ffffff;

}


.custom-checkbox i {

    display: none;

    color: #ffffff;

    font-size: 10px;

}


.consent-label input:checked
+ .custom-checkbox {

    border-color: var(--contact-red);

    background: var(--contact-red);

}


.consent-label input:checked
+ .custom-checkbox i {

    display: block;

}


.consent-text {

    color: #68768b;

    font-size: 11px;

    line-height: 1.55;

}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.contact-submit-button {

    width: 100%;

    min-height: 54px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin-top: 18px;

    border: none;

    border-radius: 10px;

    background:
        linear-gradient(
            110deg,
            var(--contact-navy),
            #263e6c 50%,
            var(--contact-red)
        );

    color: #ffffff;

    font-family: inherit;

    font-size: 14px;

    font-weight: 750;

    cursor: pointer;

    box-shadow:
        0 9px 22px rgba(65, 38, 70, 0.16);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;

}


.contact-submit-button:hover {

    transform: translateY(-2px);

    box-shadow:
        0 13px 28px rgba(65, 38, 70, 0.23);

}


.contact-submit-button:active {

    transform: translateY(0);

}


.contact-submit-button i {

    transition:
        transform 0.2s ease;

}


.contact-submit-button:hover i {

    transform: translateX(4px);

}


/* =========================================================
   STATUS
========================================================= */

.contact-form-status {

    display: none;

    margin-top: 14px;

    padding: 12px 14px;

    border-radius: 8px;

    font-size: 12px;

    line-height: 1.5;

}


.contact-form-status.success {

    display: block;

    background: #edf8f1;

    color: #217044;

}


.contact-form-status.error {

    display: block;

    background: #fdf0f2;

    color: #a52138;

}


/* =========================================================
   FINAL CTA
========================================================= */

.contact-final-section {

    padding: 0 0 90px;

    background: #ffffff;

}


.contact-final-card {

    position: relative;

    overflow: hidden;

    display: grid;

    grid-template-columns: auto 1fr auto;

    align-items: center;

    gap: 27px;

    padding: 32px 38px;

    border-radius: 19px;

    background:
        linear-gradient(
            110deg,
            #102d5a 0%,
            #203f78 53%,
            #bd2342 100%
        );

    box-shadow:
        0 18px 45px rgba(20, 43, 82, 0.17);

}


.contact-final-card::after {

    content: "";

    position: absolute;

    width: 280px;

    height: 280px;

    right: -130px;

    top: -170px;

    border: 1px solid rgba(255,255,255,0.10);

    border-radius: 50%;

}


.contact-final-icon {

    position: relative;

    z-index: 1;

    width: 58px;

    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 15px;

    background: rgba(255,255,255,0.12);

    color: #ffffff;

    font-size: 22px;

}


.contact-final-content {

    position: relative;

    z-index: 1;

}


.contact-final-content > span {

    display: block;

    margin-bottom: 7px;

    color: #c8d9eb;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

}


.contact-final-content h2 {

    margin: 0;

    color: #ffffff;

    font-size: 27px;

    line-height: 1.2;

}


.contact-final-content p {

    margin: 7px 0 0;

    color: #d7e1ec;

    font-size: 13px;

}


.contact-final-button {

    position: relative;

    z-index: 2;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 48px;

    padding: 0 20px;

    border: 1px solid rgba(255,255,255,0.45);

    border-radius: 9px;

    color: #ffffff;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease;

}


.contact-final-button:hover {

    background: rgba(255,255,255,0.12);

    color: #ffffff;

    transform: translateY(-2px);

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .contact-container {

        width: min(100% - 50px, 1000px);

    }


    .contact-hero .contact-container {

        grid-template-columns: 1fr;

        gap: 40px;

    }


    .contact-hero-content {

        max-width: 850px;

    }


    .contact-hero-card {

        max-width: 650px;

    }


    .contact-main-grid {

        grid-template-columns: 1fr;

        gap: 45px;

    }


    .contact-information {

        max-width: 850px;

    }


    .contact-form-card {

        max-width: 850px;

    }

}


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

@media (max-width: 700px) {

    .contact-container {

        width: calc(100% - 30px);

    }


    /* HERO */

    .contact-hero {

        padding: 52px 0 60px;

    }


    .contact-hero h1 {

        font-size: 43px;

        letter-spacing: -1.8px;

    }


    .contact-hero-content > p {

        font-size: 14px;

        line-height: 1.75;

    }


    .contact-hero-highlights {

        flex-direction: column;

        gap: 12px;

    }


    .contact-hero-card {

        padding: 28px;

        border-radius: 18px;

    }


    .contact-hero-card h2 {

        font-size: 30px;

    }


    /* QUICK CONTACT */

    .contact-quick-section {

        padding: 18px 0;

    }


    .contact-quick-grid {

        grid-template-columns: 1fr;

        gap: 10px;

    }


    .contact-quick-card {

        min-height: 76px;

    }


    /* MAIN */

    .contact-main-section {

        padding: 50px 0 65px;

    }


    .contact-information h2 {

        font-size: 35px;

    }


    .contact-intro {

        font-size: 14px;

    }


    .contact-service-box {

        padding: 20px;

    }


    .contact-service-list {

        grid-template-columns: 1fr;

    }


    .contact-location-box {

        align-items: flex-start;

    }


    /* FORM */

    .contact-form-card {

        padding: 24px 18px;

        border-radius: 16px;

    }


    .contact-form-header {

        flex-direction: column;

        gap: 16px;

    }


    .contact-form-header h2 {

        font-size: 25px;

    }


    .contact-form-icon {

        width: 43px;

        height: 43px;

    }


    .contact-form-row {

        grid-template-columns: 1fr;

        gap: 0;

    }


    .input-wrapper textarea {

        min-height: 125px;

    }


    /* FINAL CTA */

    .contact-final-section {

        padding-bottom: 60px;

    }


    .contact-final-card {

        grid-template-columns: 1fr;

        gap: 18px;

        padding: 28px 22px;

        text-align: center;

    }


    .contact-final-icon {

        margin: 0 auto;

    }


    .contact-final-content h2 {

        font-size: 24px;

    }


    .contact-final-button {

        width: 100%;

    }

}


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

@media (max-width: 430px) {

    .contact-container {

        width: calc(100% - 24px);

    }


    .contact-hero {

        padding-top: 42px;

    }


    .contact-eyebrow {

        font-size: 10px;

        letter-spacing: 2px;

    }


    .contact-hero h1 {

        font-size: 37px;

        letter-spacing: -1.5px;

    }


    .contact-hero-card {

        padding: 23px;

    }


    .contact-information h2 {

        font-size: 31px;

    }


    .contact-service-box {

        padding: 17px;

    }


    .contact-form-card {

        padding: 21px 15px;

    }


    .consent-text {

        font-size: 10.5px;

    }

}


/* =========================================================
   RESPONSIVE AREA OF INTEREST DROPDOWN
========================================================= */

/* Prevent the form and its fields from overflowing */
.contact-main-grid,
.contact-main-grid > *,
.contact-form-card,
.sigma-contact-form,
.form-field,
.input-wrapper,
.select-wrapper {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

/* Keep the dropdown within the available form width */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 50px;
    box-sizing: border-box;

    /* Space for the left icon and right arrow */
    padding: 0 38px 0 42px;

    font-family: inherit;
    font-size: 13px;
    line-height: normal;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Tablet */
@media (max-width: 1100px) {
    .contact-main-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-form-card {
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 700px) {
    .select-wrapper select {
        height: 48px;
        padding-left: 40px;
        padding-right: 36px;
        font-size: 16px;
    }

    .select-wrapper > i:first-child {
        left: 13px;
    }

    .select-wrapper .select-arrow {
        right: 12px;
    }
}

/* Small mobile screens */
@media (max-width: 360px) {
    .select-wrapper select {
        padding-left: 36px;
        padding-right: 32px;
    }

    .select-wrapper > i:first-child {
        left: 11px;
        font-size: 12px;
    }

    .select-wrapper .select-arrow {
        right: 10px;
        font-size: 10px;
    }
}

/* Area of Interest: responsive custom dropdown */
.custom-select-wrapper {
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-width: 0;
    height: 50px;
    padding: 0 40px 0 42px;
    border: 1px solid #dfe5ed;
    border-radius: 9px;
    background: #fff;
    color: var(--contact-text);
    font: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}

.custom-select-trigger > span {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.custom-select-wrapper .select-leading-icon {
    position: absolute;
    z-index: 2;
    top: 18px;
    left: 15px;
    color: #8290a3;
    font-size: 14px;
    pointer-events: none;
}

.custom-select-wrapper .select-arrow {
    position: absolute;
    top: 19px;
    right: 15px;
    color: #7e8a9d;
    font-size: 11px;
    pointer-events: none;
}

.custom-select-options {
    position: absolute;
    z-index: 1000;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    max-height: min(220px, 35vh);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #dfe5ed;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(20, 35, 60, 0.14);
    box-sizing: border-box;
}

.custom-select-options[hidden] {
    display: none;
}

.custom-select-options button {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 12px 15px;
    border: 0;
    background: #fff;
    color: var(--contact-text);
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
    box-sizing: border-box;
}

.custom-select-options button:hover,
.custom-select-options button:focus-visible {
    background: #f1f4f8;
    outline: none;
}

.custom-select-options button[aria-selected="true"] {
    color: var(--contact-red);
    font-weight: 600;
}

@media (max-width: 700px) {
    .custom-select-trigger {
        height: 48px;
        font-size: 16px;
    }

    .custom-select-options {
        max-height: 30vh;
    }
}
