/* =========================================
   ERINITE SOLUTIONS — CONTACT HERO
   SECTION 01
========================================= */

.contact-hero {
    background: #F8FAFC;
    padding: 48px 24px 24px;
    overflow: hidden;
}

.contact-hero-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 64px;
}


/* =========================================
   LEFT CONTENT
========================================= */

.contact-hero-content {
    max-width: 620px;
}

.contact-eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: #2563EB;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    position: relative;
}

.contact-eyebrow::after {
    content: "";

    display: block;

    width: 40px;
    height: 2px;

    margin-top: 12px;

    background: #2563EB;
}


/* =========================================
   HEADING
========================================= */

.contact-hero h1 {
    margin: 0;

    color: #0B1F2A;

    font-family: "Poppins", sans-serif;
    font-size: clamp(44px, 4.4vw, 60px);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.025em;
        width: 740px;

}

.contact-hero h1 span {
    display: block;
}


/* =========================================
   DESCRIPTION
========================================= */

.contact-hero-description {
    max-width: 590px;

    margin: 30px 0 0;

    color: #64748B;

    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
}


/* =========================================
   CTA
========================================= */

.contact-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;

    min-height: 68px;

    margin-top: 16px;
    padding: 0 30px;

    background: #2563EB;
    color: #FFFFFF;

    border: 1px solid #2563EB;
    border-radius: 11px;

    font-family: "Inter", sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1;

    text-decoration: none;

    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.14);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.contact-hero-cta:hover {
    background: #1D4ED8;
    color: #FFFFFF;

    transform: translateY(-2px);

    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.20);
}

.contact-hero-cta .cta-arrow {
    font-size: 25px;
    font-weight: 400;
    line-height: 1;

    transition: transform 0.25s ease;
}

.contact-hero-cta:hover .cta-arrow {
    transform: translateX(5px);
}


/* =========================================
   RIGHT VISUAL
========================================= */

.contact-hero-visual {
    width: 100%;
    min-width: 0;
}

.contact-hero-image-wrap {
    position: relative;

    width: 100%;

    border-radius: 18px;

    overflow: hidden;
}

.contact-hero-image-wrap::before {
    content: "";

    position: absolute;
    inset: -20px;

    background:
        radial-gradient(
            circle at 70% 35%,
            rgba(56, 189, 248, 0.13),
            transparent 48%
        );

    pointer-events: none;
    z-index: 0;
}

.contact-hero-image {
    display: block;

    position: relative;
    z-index: 1;

    width: 100%;
    height: auto;

    border-radius: 18px;

    object-fit: cover;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

    .contact-hero {
        padding: 80px 28px 90px;
    }

    .contact-hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 42px;
    }

    .contact-hero h1 {
        font-size: clamp(40px, 5vw, 52px);
    }

    .contact-hero-description {
        font-size: 17px;
    }

    .contact-hero-cta {
        min-height: 62px;
        padding: 0 26px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .contact-hero {
        padding: 64px 20px 72px;
    }

    .contact-hero-container {
        display: flex;
        flex-direction: column;

        gap: 46px;

        align-items: stretch;
    }

    .contact-hero-content {
        max-width: none;
    }

    .contact-eyebrow {
        margin-bottom: 16px;

        font-size: 12px;
    }

    .contact-eyebrow::after {
        width: 34px;
        height: 2px;

        margin-top: 10px;
    }

    .contact-hero h1 {
        font-size: clamp(38px, 10vw, 48px);
        line-height: 1.1;
        letter-spacing: -0.02em;
    }

    .contact-hero-description {
        margin-top: 24px;

        font-size: 16px;
        line-height: 1.65;
    }

    .contact-hero-cta {
        width: fit-content;
        min-height: 58px;

        margin-top: 30px;
        padding: 0 24px;

        font-size: 16px;
    }

    .contact-hero-image-wrap,
    .contact-hero-image {
        border-radius: 14px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .contact-hero {
        padding: 54px 20px 64px;
    }

    .contact-hero h1 {
        font-size: 36px;
    }

    .contact-hero-description {
        font-size: 15.5px;
    }

    .contact-hero-cta {
        width: 100%;
    }
}

/* =========================================
   ERINITE SOLUTIONS — CONTACT PAGE
   SECTION 02 — LET'S TALK
========================================= */


/* =========================================
   CONTACT TALK — SECTION
========================================= */

.contact-talk {
    width: 100%;
    background: #F8FAFC;
    padding: 24px 24px;
    box-sizing: border-box;
}


/* =========================================
   MAIN CONTAINER
========================================= */

.contact-talk-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 70px;

    align-items: center;
}


/* =========================================
   LEFT — CONTACT INFORMATION
========================================= */

.contact-talk-info {
    width: 100%;
}


/* Eyebrow */

.contact-eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    color: #2563EB;

    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* Small blue line */

.contact-eyebrow::after {
    content: "";

    display: block;

    width: 40px;
    height: 2px;

    margin-top: 7px;

    background: #2563EB;
}


/* =========================================
   HEADING
========================================= */

.contact-talk-info h2 {
    margin: 0;

    color: #0B1F2A;

    font-family: "Poppins", sans-serif;
    font-size: 42px;
    font-weight: 700;

    line-height: 1.15;
    letter-spacing: -0.02em;
}


/* =========================================
   DESCRIPTION
========================================= */

.contact-talk-description {
    max-width: 520px;

    margin: 26px 0 22px;

    color: #64748B;

    font-family: "Inter", sans-serif;
    font-size: 17px;
    font-weight: 400;

    line-height: 1.7;
}


/* =========================================
   CONTACT DETAILS
========================================= */

.contact-detail {
    display: flex;

    align-items: center;

    width: 100%;

    padding: 10px 0;

    border-bottom: 1px solid #E2E8F0;
}


/* Icon */

.contact-detail-icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 20px;

    border-radius: 12px;
    background: transparent;

    color: #2563EB;
    font-size: 25px;
}

/* Contact detail image icons */
.contact-detail-icon img {
    width: 66px;
    height: 66px;
    display: block;
    object-fit: contain;
}

/* Detail content */

.contact-detail-content {
    min-width: 0;
}


.contact-detail-content h3 {
    margin: 0 0 5px;

    color: #0B1F2A;

    font-family: "Poppins", sans-serif;
    font-size: 17px;
    font-weight: 600;

    line-height: 1.4;
}


.contact-detail-content a,
.contact-detail-content p {
    display: block;

    margin: 0;

    color: #64748B;

    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;

    line-height: 1.5;

    text-decoration: none;
}


.contact-detail-content a {
    color: #2563EB;

    transition:
        color 0.2s ease;
}


.contact-detail-content a:hover {
    color: #0B1F2A;
}


/* =========================================
   SMALL PROJECT STATEMENT
========================================= */

.contact-talk-note {
    display: flex;

    align-items: flex-start;

    gap: 18px;

    margin-top: 32px;
}


.contact-note-icon  {
    width: 56px;
    height: 56px;

    flex: 0 0 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    

    color: #2563EB;

    font-size: 24px;
}

.contact-note-icon img {
    width: 76px;
    height: 76px;
    display: block;
    object-fit: contain;
}

.contact-talk-note h3 {
    margin: 2px 0 6px;

    color: #0B1F2A;

    font-family: "Poppins", sans-serif;
    font-size: 17px;
    font-weight: 600;

    line-height: 1.4;
}


.contact-talk-note p {
    max-width: 360px;

    margin: 0;

    color: #64748B;

    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 400;

    line-height: 1.6;
}


/* =========================================
   RIGHT — FORM CARD
========================================= */

.contact-form-card {
    width: 100%;

    padding: 34px 36px;

    background: #FFFFFF;

    border: 1px solid #E2E8F0;

    border-radius: 18px;

    box-sizing: border-box;

    box-shadow:
        0 12px 35px rgba(11, 31, 42, 0.05);
}


/* =========================================
   FORM HEADER
========================================= */

.contact-form-header {
    margin-bottom: 22px;
}


.contact-form-header h3 {
    margin: 0 0 10px;

    color: #0B1F2A;

    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 700;

    line-height: 1.25;
}


.contact-form-header p {
    margin: 0;

    color: #64748B;

    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 400;

    line-height: 1.6;
}


/* =========================================
   FORM
========================================= */

.contact-form {
    width: 100%;
}


.contact-form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 24px;

    margin-bottom: 20px;
}


/* =========================================
   FORM GROUP
========================================= */

.form-group {
    width: 100%;

    margin-bottom: 18px;
}


.contact-form-row .form-group {
    margin-bottom: 0;
}


/* Labels */

.form-group label {
    display: block;

    margin-bottom: 9px;

    color: #0B1F2A;

    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;

    line-height: 1.4;
}


.form-group label span {
    color: #2563EB;
}


/* =========================================
   INPUTS
========================================= */

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    box-sizing: border-box;

    padding: 15px 16px;

    border: 1px solid #E2E8F0;

    border-radius: 9px;

    background: #FFFFFF;

    color: #0B1F2A;

    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 400;

    line-height: 1.5;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* Placeholder */

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94A3B8;

    opacity: 1;
}


/* Focus */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2563EB;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.08);
}


/* =========================================
   SELECT
========================================= */

.form-group select {
    appearance: none;

    cursor: pointer;

    padding-right: 44px;

    background-image:
        linear-gradient(45deg, transparent 50%, #64748B 50%),
        linear-gradient(135deg, #64748B 50%, transparent 50%);

    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 13px) 50%;

    background-size:
        6px 6px,
        6px 6px;

    background-repeat: no-repeat;
}


/* =========================================
   TEXTAREA
========================================= */

.form-group textarea {
    min-height: 140px;

    resize: vertical;
}


/* =========================================
   SUBMIT BUTTON
========================================= */

.contact-form-submit {
    width: 100%;

    min-height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    margin-top: 4px;

    padding: 15px 24px;

    border: 0;

    border-radius: 10px;

    background: #2563EB;

    color: #FFFFFF;

    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


.contact-form-submit:hover {
    background: #1D4ED8;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.18);
}


.contact-form-submit:active {
    transform: translateY(0);
}


/* Arrow */

.contact-submit-arrow {
    font-size: 21px;

    line-height: 1;

    transition:
        transform 0.2s ease;
}


.contact-form-submit:hover .contact-submit-arrow {
    transform: translateX(4px);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

    .contact-talk {
        padding: 80px 24px;
    }

    .contact-talk-container {
        grid-template-columns: 1fr;

        gap: 55px;

        max-width: 760px;
    }

    .contact-talk-info {
        max-width: 680px;
    }

    .contact-form-card {
        padding: 48px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .contact-talk {
        padding: 72px 20px;
    }


    .contact-talk-container {
        gap: 45px;
    }


    .contact-eyebrow {
        font-size: 12px;
        margin-bottom: 18px;
    }


    .contact-talk-info h2 {
        font-size: 34px;

        line-height: 1.15;
    }


    .contact-talk-description {
        margin: 22px 0 32px;

        font-size: 16px;
    }


    .contact-detail {
        padding: 17px 0;
    }


    .contact-detail-icon {
        width: 50px;
        height: 50px;

        flex-basis: 50px;

        margin-right: 16px;
    }


    .contact-form-card {
        padding: 34px 24px;

        border-radius: 16px;
    }


    .contact-form-header {
        margin-bottom: 30px;
    }


    .contact-form-header h3 {
        font-size: 24px;
    }


    .contact-form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .contact-form-row .form-group {
        margin-bottom: 24px;
    }


    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 15px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .contact-talk {
        padding: 60px 20px;
    }


    .contact-talk-info h2 {
        font-size: 30px;
    }


    .contact-talk-description {
        font-size: 15px;
    }


    .contact-detail-icon {
        width: 46px;
        height: 46px;

        flex-basis: 46px;
    }


    .contact-form-card {
        padding: 28px 20px;
    }


    .contact-form-header h3 {
        font-size: 22px;
    }


    .contact-form-submit {
        min-height: 54px;
    }

}

/* =========================================
   SECTION 03 — FINAL CTA
========================================= */

.contact-final-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    width: 100%;

    background: #07182D;
    color: #FFFFFF;

    padding: 44px 24px 115px;
}


/* =========================================
   FULL BACKGROUND IMAGE
========================================= */

.contact-final-bg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 0;

    pointer-events: none;
    user-select: none;
}


/* =========================================
   MAIN CONTAINER
========================================= */

.contact-final-cta-container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1100px;

    margin: 0 auto;

    text-align: center;
}


/* =========================================
   EYEBROW
========================================= */

.contact-final-eyebrow {
    display: inline-block;

    font-family: "Poppins", sans-serif;

    font-size: 18px;
    font-weight: 600;

    line-height: 1.4;
    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: #38BDF8;

    margin-bottom: 24px;
}


/* =========================================
   ACCENT LINE
========================================= */

.contact-final-line {
    display: block;

    width: 64px;
    height: 2px;

    margin: 0 auto 32px;

    background: #2563EB;
}


/* =========================================
   HEADING
========================================= */

.contact-final-cta h2 {
    margin: 0 auto;

    max-width: 950px;

    font-family: "Poppins", sans-serif;

    font-size: 56px;
    font-weight: 600;

    line-height: 1.12;
    letter-spacing: -0.025em;

    color: #FFFFFF;
}


/* =========================================
   DESCRIPTION
========================================= */

.contact-final-description {
    max-width: 526px;

    margin: 18px auto 0;

    font-family: "Inter", sans-serif;

    font-size: 18px;
    font-weight: 400;

    line-height: 1.7;

    color: #CBD5E1;
}


/* =========================================
   CTA ACTIONS
========================================= */

.contact-final-actions {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 32px;

    margin-top: 52px;
}


/* =========================================
   BOTH BUTTONS
========================================= */

.contact-final-primary,
.contact-final-secondary {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 26px;

    min-width: 300px;
    min-height: 56px;

    padding: 0 38px;

    border-radius: 12px;

    font-family: "Inter", sans-serif;

    font-size: 18px;
    font-weight: 600;

    line-height: 1;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}


/* =========================================
   PRIMARY BUTTON
========================================= */

.contact-final-primary {
    background: #2563EB;

    color: #FFFFFF;

    border: 1px solid #2563EB;
}


/* =========================================
   SECONDARY BUTTON
========================================= */

.contact-final-secondary {
    background: transparent;

    color: #FFFFFF;

    border: 1px solid #64748B;
}


/* =========================================
   ARROWS
========================================= */

.contact-final-primary .cta-arrow,
.contact-final-secondary .cta-arrow {
    display: inline-block;

    font-size: 30px;
    font-weight: 400;

    line-height: 1;

    transition: transform 0.25s ease;
}


/* =========================================
   HOVER
========================================= */

.contact-final-primary:hover,
.contact-final-secondary:hover {
    transform: translateY(-3px);
}


.contact-final-primary:hover {
    background: #1D4ED8;
    border-color: #1D4ED8;
}


.contact-final-secondary:hover {
    border-color: #38BDF8;
}


.contact-final-primary:hover .cta-arrow,
.contact-final-secondary:hover .cta-arrow {
    transform: translateX(5px);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .contact-final-cta {
        padding: 90px 24px 95px;
    }


    .contact-final-cta h2 {
        font-size: 46px;
    }


    .contact-final-description {
        font-size: 17px;
    }


    .contact-final-actions {
        gap: 20px;
    }


    .contact-final-primary,
    .contact-final-secondary {
        min-width: 300px;
        min-height: 72px;

        padding: 0 28px;

        font-size: 17px;
    }
}


/* =========================================
   CONTACT PAGE — 768px TABLET
   ONLY FOR 768px AND BELOW
========================================= */

@media (max-width: 768px) {

    /* =====================================
       SECTION 01 — CONTACT HERO
    ===================================== */

    .contact-hero {
        padding: 64px 32px 72px;
        text-align: center;
    }

    .contact-hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .contact-hero-content {
        width: 100%;
        max-width: 680px;
        text-align: center;
    }

    .contact-hero-eyebrow {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .contact-hero-line {
        width: 52px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 28px;
    }

    .contact-hero h1 {
        width: 100%;
        max-width: 680px;

        margin-left: auto;
        margin-right: auto;

        font-size: 42px;
        line-height: 1.14;

        letter-spacing: -0.02em;

        text-align: center;
    }

    .contact-hero-description {
        width: 100%;
        max-width: 620px;

        margin: 26px auto 0;

        font-size: 16px;
        line-height: 1.7;

        text-align: center;
    }

    /* CTA */
    .contact-hero-actions {
        display: flex;
        justify-content: center;
        align-items: center;

        width: 100%;

        margin-top: 32px;
    }

    .contact-hero-cta {
        width: auto;
        min-width: 0;

        min-height: 60px;

        padding: 0 26px;

        font-size: 16px;

        gap: 18px;

        margin: 0 auto;
    }

    /* HERO IMAGE */
    .contact-hero-visual {
        width: 100%;
        max-width: 680px;

        margin-top: 48px;
    }

    .contact-hero-image-wrap {
        width: 100%;
        margin: 0 auto;
    }

    .contact-hero-image {
        display: block;

        width: 100%;
        height: auto;

        border-radius: 16px;
    }
}



/* =========================================
   CONTACT HERO — SMALL MOBILE
   Max Width: 480px
========================================= */

@media (max-width: 480px) {

    /* Hero spacing */
    .contact-hero {
        padding: 48px 20px 56px;
        text-align: center;
    }


    /* Hero content */
    .contact-hero-content {
        width: 100%;
        text-align: center;
    }


    /* Eyebrow */
    .contact-hero-eyebrow {
        font-size: 12px;
        margin-bottom: 16px;
    }


    /* Accent line */
    .contact-hero-line {
        width: 50px;

        margin-left: auto;
        margin-right: auto;

        margin-bottom: 24px;
    }


    /* Heading */
    .contact-hero h1 {
        width: 100%;
        max-width: 360px;

        margin-left: auto;
        margin-right: auto;

        font-size: 32px;
        line-height: 1.16;

        letter-spacing: -0.02em;

        text-align: center;
    }


    /* Description */
    .contact-hero-description {
        width: 100%;
        max-width: 350px;

        margin: 24px auto 0;

        font-size: 15px;
        line-height: 1.65;

        text-align: center;
    }


    /* CTA wrapper */
    .contact-hero-actions {
        display: flex;

        justify-content: center;
        align-items: center;

        width: 100%;

        margin-top: 30px;
    }


    /* CTA button */
    .contact-hero-cta {
        width: auto;
        min-width: 0;

        min-height: 58px;

        padding: 0 22px;

        font-size: 15px;

        gap: 16px;

        margin: 0 auto;
    }


    /* CTA arrow */
    .contact-hero-cta .cta-arrow {
        font-size: 25px;
    }


    /* Hero image */
    .contact-hero-image-wrap {
        width: 100%;

        margin-top: 38px;
    }


    .contact-hero-image {
        width: 100%;
        height: auto;

        border-radius: 14px;
    }

}