/* =========================================
   CONTACT SECTION
   Unified Card — Black + Light Green Theme
========================================= */

.contact-one {
    position: relative;
    padding: 70px 0 60px;
    background: #f2f8f4;
    overflow: hidden;
}

.contact-one .container {
    position: relative;
    z-index: 2;
}


/* =========================================
   BACKGROUND BLOBS (page-level, behind card)
========================================= */

.contact-one::before {
    content: "";
    position: absolute;
    top: -160px;
    right: -140px;
    width: 420px;
    height: 420px;
    background: rgba(85, 233, 133, 0.10);
    border-radius: 50%;
    pointer-events: none;
}

.contact-one::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: -10%;
    width: 60%;
    height: 260px;
    background: rgba(85, 233, 133, 0.10);
    border-radius: 50%;
    pointer-events: none;
}


/* =========================================
   MAIN CARD
========================================= */

.contact-card {
    position: relative;

    background: #ffffff;

    border: 1px solid #eaf1ec;
    border-radius: 26px;

    padding: 55px 60px;

    box-shadow:
        0 25px 70px rgba(17, 35, 23, 0.08);

    overflow: hidden;
}

.contact-card__row {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.contact-card__info {
    flex: 0 0 42%;
    max-width: 42%;
}

.contact-card__form {
    flex: 1;
    min-width: 0;

    background: #fafcfb;
    border: 1px solid #e9efec;
    border-radius: 18px;
    margin: auto 0px !important;
    padding: 30px;
}


/* =========================================
   DECORATIONS
========================================= */

.contact-card__dots {
    position: absolute;
    z-index: 1;

    width: 90px;
    height: 70px;

    background-image: radial-gradient(rgba(85, 233, 133, 0.55) 1.6px, transparent 1.6px);
    background-size: 16px 16px;

    pointer-events: none;
}

.contact-card__dots--tr {
    top: 26px;
    right: 26px;
}

.contact-card__dots--bl {
    bottom: 26px;
    left: 26px;
    opacity: .6;
}

.contact-card__blob--bl {
    position: absolute;
    z-index: 0;

    bottom: -90px;
    left: -90px;

    width: 220px;
    height: 220px;

    background: rgba(85, 233, 133, 0.14);
    border-radius: 50%;

    pointer-events: none;
}


/* =========================================
   SECTION TITLE / HEADING
========================================= */

.contact-card .sec-title_title {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 20px;
    padding: 8px 18px;

    color: #1d9b50;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;

    border: 1px solid rgba(29, 155, 80, 0.25);
    border-radius: 30px;

    background: rgba(29, 155, 80, 0.06);
}

.contact-card .sec-title_heading {
    margin: 0 0 18px;

    color: #111111;

    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
}

.contact-card .sec-title_heading .highlight {
    color: #1fae5a;
}

.heading-underline {
    display: block;
    width: 90px;
    height: 4px;
    margin-bottom: 22px;

    background: #55e985;
    border-radius: 4px;
}

.contact-card .sec-title_text {
    max-width: 420px;
    margin: 0 0 34px;

    color: #6b746e;

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================
   CONTACT INFO LIST
========================================= */

.contact-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    margin-bottom: 22px;
}

.contact-info-list li:last-child {
    margin-bottom: 0;
}

.contact-info-list_icon {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    color: #1d9b50;
    font-size: 17px;

    background: #eefcf3;
    border: 1px solid rgba(85, 233, 133, 0.35);
    border-radius: 50%;

    transition: transform .3s ease, background .3s ease, color .3s ease;
}

.contact-info-list li:hover .contact-info-list_icon {
    color: #ffffff;
    background: #111111;
    transform: translateY(-3px);
}

.contact-info-list_text .label {
    display: block;
    margin-bottom: 4px;

    color: #1d9b50;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.contact-info-list_text p {
    margin: 0;

    color: #333c36;

    font-size: 14.5px;
    line-height: 1.6;
}

.contact-info-list_text a {
    color: #333c36;
    text-decoration: none;
    transition: color .3s ease;
}

.contact-info-list_text a:hover {
    color: #1d9b50;
}


/* =========================================
   FORM INPUTS
========================================= */

.contact-form {
    width: 100%;
}

.contact-form .row {
    margin-left: -8px;
    margin-right: -8px;
}

.contact-form .form-group {
    position: relative;

    padding-left: 8px;
    padding-right: 8px;

    margin-bottom: 18px;
}

.contact-form .form-group_icon {
    position: absolute;
    top: 50%;
    left: 26px;
    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 26px;
    height: 26px;

    color: #1d9b50;
    font-size: 14px;

    background: #eefcf3;
    border-radius: 6px;

    pointer-events: none;
}



.contact-form .form-group_icon--top {
    top: 20px;
    transform: none;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    display: block;

    padding: 16px 20px 16px 56px;

    color: #111111;

    font-family: inherit;
    font-size: 14px;

    background: #ffffff;

    border: 1px solid #e1e8e3;
    border-radius: 10px;

    outline: none;
    box-shadow: none;

    transition:
        border-color .3s ease,
        background .3s ease,
        box-shadow .3s ease,
        transform .3s ease;
}



.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #8a938d;
    opacity: 1;
    transition: color .3s ease;
}



.contact-form input:focus,
.contact-form textarea:focus {
    background: transparent;
    border-color: #65e78b;

    box-shadow:
        0 0 0 3px rgba(101, 231, 139, 0.12),
        0 8px 25px rgba(17, 35, 23, 0.04);

    transform: translateY(-1px);
}


.contact-form input:focus::placeholder,
.contact-form textarea:focus::placeholder {
    color: #a5afa9;
}

.contact-form textarea {
    min-height: 165px;
    padding-top: 18px;
    resize: vertical;
    line-height: 1.7;
}


/* =========================================
   BUTTON
========================================= */

.contact-form .button-box {
    margin-top: 4px;
}

.contact-form .btn-style-three {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 56px;

    padding: 0 30px;

    color: #ffffff;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    background: #111111;
    border: 1px solid #111111;
    border-radius: 8px;

    overflow: hidden;
    cursor: pointer;

    transition:
        background .35s ease,
        border-color .35s ease,
        transform .35s ease,
        box-shadow .35s ease;
}

.contact-form .btn-style-three::before {
    content: "";
    position: absolute;

    top: 0;
    left: -120%;

    width: 100%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(114, 255, 154, 0.25),
        rgba(114, 255, 154, 0.75),
        rgba(114, 255, 154, 0.25),
        transparent
    );

    transform: skewX(-20deg);
    transition: left .6s ease;
}

.contact-form .btn-style-three:hover {
    color: #111111;
    background: #72ff9a;
    border-color: #72ff9a;

    transform: translateY(-3px);

    box-shadow: 0 10px 30px rgba(85, 233, 133, 0.25);
}

.contact-form .btn-style-three:hover::before {
    left: 120%;
}

.contact-form .btn-wrap {
    position: relative;
    z-index: 2;

    display: block;
    overflow: hidden;
}

.contact-form .text-one,
.contact-form .text-two {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    transition: transform .35s ease;
}

.contact-form .text-two {
    position: absolute;

    left: 0;
    top: 100%;

    width: 100%;
}

.contact-form .btn-style-three:hover .text-one,
.contact-form .btn-style-three:hover .text-two {
    transform: translateY(-100%);
}

.contact-form .btn-style-three:active {
    transform: translateY(-1px);
}


/* =========================================
   DIVIDER
========================================= */

.contact-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    margin-top: 45px;
}

.contact-divider_line {
    width: 140px;
    height: 1px;
    background: rgba(85, 233, 133, 0.4);
}

.contact-divider_leaf {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    color: #1d9b50;
    font-size: 15px;

    background: #f1fff5;
    border: 1px solid rgba(85, 233, 133, 0.35);
    border-radius: 50%;
}


/* =========================================
   ANIMATIONS
========================================= */

/* Generic scroll-reveal: fade + rise */
.c-reveal {
    opacity: 0;
    transform: translateY(26px);

    transition:
        opacity .7s cubic-bezier(.22, .68, 0, 1.02),
        transform .7s cubic-bezier(.22, .68, 0, 1.02);

    will-change: opacity, transform;
}

.c-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Info-list rows slide in from the left */
.c-reveal.c-reveal--left {
    transform: translate(-24px, 0);
}

.c-reveal.c-reveal--left.is-visible {
    transform: none;
}

/* Form card rises from the right */
.c-reveal.c-reveal--right {
    transform: translate(24px, 10px);
}

.c-reveal.c-reveal--right.is-visible {
    transform: none;
}

/* Underline draws in rather than fades */
.c-reveal.c-reveal--line {
    transform: none;
    width: 0;
    transition:
        width .6s cubic-bezier(.22, .68, 0, 1.02),
        opacity .3s ease;
}

.c-reveal.c-reveal--line.is-visible {
    width: 90px;
}

/* Badge paper-plane: gentle continuous wiggle */
.c-badge-icon {
    display: inline-block;
    animation: cBadgeWiggle 2.6s ease-in-out infinite;
}

@keyframes cBadgeWiggle {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    50%      { transform: rotate(-12deg) translateY(-1px); }
}

/* Ambient drifting background blobs */
.contact-one::before {
    animation: cBlobDriftA 14s ease-in-out infinite;
}

.contact-one::after {
    animation: cBlobDriftB 16s ease-in-out infinite;
}

.contact-card__blob--bl {
    animation: cBlobDriftB 12s ease-in-out infinite;
}

@keyframes cBlobDriftA {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-18px, 14px) scale(1.06); }
}

@keyframes cBlobDriftB {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(16px, -12px) scale(1.05); }
}

/* Divider leaf: subtle breathing pulse */
.contact-divider_leaf {
    animation: cLeafPulse 2.8s ease-in-out infinite;
}

@keyframes cLeafPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(85, 233, 133, 0); }
    50%      { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(85, 233, 133, 0.12); }
}

@media (prefers-reduced-motion: reduce) {
    .c-reveal,
    .c-badge-icon,
    .contact-one::before,
    .contact-one::after,
    .contact-card__blob--bl,
    .contact-divider_leaf {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
        width: auto !important;
    }
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .contact-one {
        padding: 60px 0 50px;
    }

    .contact-card {
        padding: 40px 32px;
    }

    .contact-card__row {
        flex-direction: column;
        gap: 40px;
    }

    .contact-card__info,
    .contact-card__form {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .contact-card .sec-title_heading {
        font-size: 36px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .contact-card {
        padding: 30px 20px;
        border-radius: 18px;
    }

    .contact-card .sec-title_heading {
        font-size: 30px;
    }

    .contact-card .sec-title_text {
        font-size: 14px;
    }

    .contact-card__form {
        padding: 20px;
    }

    .contact-form input,
    .contact-form textarea {
        padding-left: 50px;
    }

    .contact-form .form-group_icon {
        left: 20px;
    }

    .contact-divider_line {
        width: 70px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .contact-card .sec-title_heading {
        font-size: 26px;
    }

    .contact-info-list_icon {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }
}