/* =========================================
   HERO
========================================= */

.contact-hero {
    padding: 95px 0 115px;
    background: #ffffff;
}

.contact-hero-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;

    align-items: center;

    gap: 90px;
}

.page-label {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--primary);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;
}

.contact-hero-content h1 {
    max-width: 650px;

    margin-bottom: 24px;

    color: var(--navy);

    font-size: clamp(42px, 5vw, 66px);
    font-weight: 700;

    line-height: 1.1;

    letter-spacing: -2px;
}

.contact-hero-content h1 span {
    display: block;

    color: var(--primary);
}

.contact-hero-content p {
    max-width: 580px;

    color: var(--text-muted);

    font-size: 14px;
    line-height: 1.9;
}


/* =========================================
   HERO VISUAL
========================================= */

.contact-hero-visual {
    position: relative;

    min-height: 470px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-hero-card {
    position: relative;

    z-index: 4;

    width: 78%;

    padding: 55px 48px;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: 32px;

    box-shadow:
        0 22px 55px rgba(17, 74, 45, 0.09);
}

.contact-hero-icon {
    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    background: #eef8f1;

    color: var(--primary);

    border-radius: 18px;

    font-size: 25px;
}

.contact-hero-card > span {
    display: block;

    margin-bottom: 12px;

    color: var(--primary);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.8px;
}

.contact-hero-card h3 {
    max-width: 390px;

    margin-bottom: 14px;

    color: var(--navy);

    font-size: 25px;
    line-height: 1.35;
}

.contact-hero-card p {
    color: var(--text-muted);

    font-size: 11px;
    line-height: 1.8;
}

.contact-shape {
    position: absolute;

    border-radius: 50%;
}

.contact-shape-one {
    width: 340px;
    height: 340px;

    right: 0;
    top: 10px;

    background:
        rgba(118, 191, 53, 0.11);
}

.contact-shape-two {
    width: 210px;
    height: 210px;

    left: 15px;
    bottom: 20px;

    background:
        rgba(17, 148, 71, 0.07);
}


/* =========================================
   COMMON HEADING
========================================= */

.contact-section-heading {
    max-width: 700px;

    margin-bottom: 50px;
}

.contact-section-heading h2,
.contact-form-intro h2,
.contact-service h2 {
    color: var(--navy);

    font-size: clamp(34px, 4vw, 50px);
    font-weight: 700;

    line-height: 1.18;

    letter-spacing: -1.5px;
}

.contact-section-heading h2 span,
.contact-form-intro h2 span,
.contact-service h2 span {
    display: block;

    color: var(--primary);
}

.contact-section-heading > p {
    margin-top: 15px;

    color: var(--text-muted);

    font-size: 12px;
    line-height: 1.8;
}


/* =========================================
   CONTACT INFO
========================================= */

.contact-info-section {
    padding: 105px 0;

    background: var(--background-soft);
}

.contact-info-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}

.contact-info-card {
    padding: 32px;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: 22px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 40px rgba(17, 74, 45, 0.08);
}

.contact-info-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    background: #eef8f1;

    border-radius: 14px;

    font-size: 20px;
}

.contact-info-card > span {
    display: block;

    margin-bottom: 8px;

    color: var(--primary);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.7px;
}

.contact-info-card h3 {
    margin-bottom: 10px;

    color: var(--navy);

    font-size: 17px;
}

.contact-info-card p {
    min-height: 75px;

    margin-bottom: 18px;

    color: var(--text-muted);

    font-size: 10px;
    line-height: 1.8;
}

.contact-info-card a {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: var(--primary);

    font-size: 10px;
    font-weight: 700;
}


/* =========================================
   FORM
========================================= */

.contact-form-section {
    padding: 110px 0;

    background: #ffffff;
}

.contact-form-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;

    gap: 90px;
}

.contact-form-intro > p {
    max-width: 470px;

    margin-top: 20px;

    color: var(--text-muted);

    font-size: 12px;
    line-height: 1.9;
}

.contact-note {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-top: 30px;

    padding: 18px;

    background: var(--background-soft);

    border: 1px solid var(--border);
    border-radius: 15px;
}

.contact-note > div {
    width: 28px;
    height: 28px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary);

    color: #ffffff;

    border-radius: 50%;

    font-size: 11px;
}

.contact-note p {
    margin: 0;

    color: var(--text-muted);

    font-size: 9px;
    line-height: 1.7;
}


/* FORM CARD */

/* =========================================
   FORM CARD
========================================= */

.contact-form-card {
    width: 100%;
    max-width: 860px;

    padding: 56px;

    background:
        linear-gradient(
            180deg,
            #f8fcf9 0%,
            #f4faf6 100%
        );

    border: 1px solid rgba(17, 148, 71, 0.12);
    border-radius: 30px;

    box-shadow:
        0 18px 45px
        rgba(16, 42, 67, 0.05);
}


/* =========================================
   FORM ROW
========================================= */

.form-row {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}


/* =========================================
   FORM GROUP
========================================= */

.form-group {
    display: flex;
    flex-direction: column;

    margin-bottom: 22px;
}


.form-group label {
    margin-bottom: 9px;

    color: var(--navy);

    font-size: 11px;
    font-weight: 600;
}


/* =========================================
   INPUT / SELECT / TEXTAREA
========================================= */

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 16px 17px;

    background: #ffffff;

    color: var(--text);

    border: 1px solid var(--border);
    border-radius: 14px;

    outline: none;

    font-family: inherit;

    font-size: 12px;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


/* INPUT & SELECT HEIGHT */

.form-group input,
.form-group select {
    min-height: 56px;
}


/* TEXTAREA */

.form-group textarea {
    min-height: 170px;

    resize: vertical;

    line-height: 1.7;
}


/* PLACEHOLDER */

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #93a0aa;
}


/* =========================================
   FOCUS
========================================= */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);

    background: #ffffff;

    box-shadow:
        0 0 0 4px
        rgba(17, 148, 71, 0.08);
}


/* =========================================
   SUBMIT BUTTON
========================================= */

.contact-submit {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 52px;

    padding: 0 25px;

    background:
        var(--primary);

    color: #ffffff;

    border: none;
    border-radius: 13px;

    font-family: inherit;

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 10px 25px
        rgba(17, 148, 71, 0.15);

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        gap 0.3s ease,
        box-shadow 0.3s ease;
}


.contact-submit:hover {
    background:
        var(--primary-dark);

    transform:
        translateY(-2px);

    gap: 14px;

    box-shadow:
        0 14px 30px
        rgba(17, 148, 71, 0.22);
}


/* =========================================
   FORM STATUS
========================================= */

.form-status {
    margin-top: 14px;

    color:
        var(--primary);

    font-size: 10px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .contact-form-card {
        max-width: 100%;

        padding: 45px;
    }

}


@media (max-width: 700px) {

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .contact-form-card {
        padding: 32px 24px;

        border-radius: 24px;
    }


    .form-group input,
    .form-group select {
        min-height: 54px;
    }


    .form-group textarea {
        min-height: 150px;
    }


    .contact-submit {
        width: 100%;
    }

}


/* =========================================
   SERVICE
========================================= */

.contact-service {
    padding: 110px 0;

    background: var(--background-soft);
}

.contact-service-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 100px;
}

.contact-service-list {
    display: flex;
    flex-direction: column;

    gap: 15px;
}

.service-item {
    display: flex;

    gap: 22px;

    padding: 24px;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: 18px;
}

.service-item > span {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eef8f1;

    color: var(--primary);

    border-radius: 12px;

    font-size: 10px;
    font-weight: 700;
}

.service-item h3 {
    margin-bottom: 7px;

    color: var(--navy);

    font-size: 14px;
}

.service-item p {
    color: var(--text-muted);

    font-size: 9px;
    line-height: 1.8;
}


/* =========================================
   CTA
========================================= */

/* =========================================
   HOME CTA
========================================= */

.home-cta {
    padding: 110px 0;

    background: #ffffff;
}


/* CARD */

.home-cta-card {
    position: relative;

    width: min(100%, 1050px);

    margin: 0 auto;

    overflow: hidden;

    display: grid;

    grid-template-columns:
        1.2fr 0.8fr;

    align-items: center;

    min-height: 390px;

    padding: 60px;

    border-radius: 34px;

    background:
        linear-gradient(
            145deg,
            #087438 0%,
            #119447 58%,
            #169e4f 100%
        );

    box-shadow:
        0 28px 70px
        rgba(17, 74, 45, 0.16);
}


/* =========================================
   CONTENT
========================================= */

.home-cta-content {
    position: relative;

    z-index: 3;

    max-width: 590px;
}


.home-cta-label {
    display: inline-flex;

    margin-bottom: 20px;

    padding: 7px 13px;

    border:
        1px solid rgba(255,255,255,.16);

    border-radius: 999px;

    background:
        rgba(255,255,255,.08);

    color:
        rgba(255,255,255,.80);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.8px;
}


.home-cta-content h2 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size:
        clamp(38px, 4vw, 54px);

    font-weight: 700;

    line-height: 1.08;

    letter-spacing: -1.7px;
}


.home-cta-content h2 span {
    display: block;

    color: #dff3a6;
}


.home-cta-content p {
    max-width: 520px;

    margin: 0;

    color:
        rgba(255,255,255,.72);

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================
   RIGHT SIDE
========================================= */

.home-cta-side {
    position: relative;

    min-height: 260px;

    display: flex;

    align-items: center;
    justify-content: center;
}


/* =========================================
   DECORATION
========================================= */

.home-cta-circle {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}


.circle-one {
    width: 300px;
    height: 300px;

    right: -80px;
    top: -120px;

    background:
        rgba(255,255,255,.07);
}


.circle-two {
    width: 170px;
    height: 170px;

    left: 0;
    bottom: -70px;

    background:
        rgba(214,241,151,.10);
}


/* =========================================
   ACTION
========================================= */

.home-cta-actions {
    position: relative;

    z-index: 4;

    width: 220px;

    display: flex;

    flex-direction: column;

    gap: 12px;
}


.home-cta-primary,
.home-cta-secondary {
    min-height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 0 20px;

    border-radius: 14px;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform .25s ease,
        gap .25s ease,
        background .25s ease;
}


/* PRIMARY */

.home-cta-primary {
    background: #ffffff;

    color: var(--primary);

    box-shadow:
        0 12px 30px
        rgba(0,0,0,.09);
}


.home-cta-primary:hover {
    transform: translateY(-3px);

    gap: 15px;
}


/* SECONDARY */

.home-cta-secondary {
    border:
        1px solid rgba(255,255,255,.35);

    background:
        rgba(255,255,255,.06);

    color: #ffffff;
}


.home-cta-secondary:hover {
    transform: translateY(-3px);

    background:
        rgba(255,255,255,.12);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .home-cta-card {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 50px;

        min-height: auto;
    }


    .home-cta-side {
        min-height: auto;

        justify-content: flex-start;
    }


    .home-cta-actions {
        width: 100%;

        max-width: 430px;

        flex-direction: row;
    }


    .home-cta-primary,
    .home-cta-secondary {
        flex: 1;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .home-cta {
        padding: 80px 0;
    }


    .home-cta-card {
        padding: 38px 27px;

        border-radius: 26px;
    }


    .home-cta-content h2 span {
        display: inline;
    }


    .home-cta-actions {
        flex-direction: column;

        max-width: none;
    }

}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .contact-hero-container,
    .contact-form-container,
    .contact-service-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 650px) {

    .contact-hero {
        padding-top: 65px;
    }

    .contact-hero-visual {
        min-height: 400px;
    }

    .contact-hero-card {
        width: 92%;

        padding: 40px 30px;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .contact-form {
        padding: 28px 20px;
    }

    .contact-cta-box {
        flex-direction: column;
        align-items: flex-start;

        padding: 40px 30px;
    }

}
.contact-info-link {
    width: fit-content;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-top: 22px;
    padding: 11px 18px;

    background: rgba(17, 148, 71, 0.08);
    color: var(--primary);

    border: 1px solid rgba(17, 148, 71, 0.18);
    border-radius: 10px;

    font-size: 13px;
    font-weight: 600;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.contact-info-link span {
    font-size: 17px;
    transition: transform 0.25s ease;
}

.contact-info-card:hover .contact-info-link {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.contact-info-card:hover .contact-info-link span {
    transform: translateX(4px);
}