/* =========================================================
   HYRO TECHNOLOGIES FZE
   CONTACT / DEMO ENQUIRY SECTION
========================================================= */

.contact-section {
    position: relative;
    overflow: hidden;

    padding: 100px 0 105px;

    background:
        radial-gradient(circle at 8% 12%, rgba(229,43,135,.07), transparent 27%),
        radial-gradient(circle at 94% 88%, rgba(132,87,232,.08), transparent 30%),
        #ffffff;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

/* =========================================================
   GRID
========================================================= */

.contact-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;

    gap: 48px;
    align-items: start;
}

/* =========================================================
   LEFT CONTENT
========================================================= */

.contact-copy .eyebrow {
    display: inline-block;

    margin-bottom: 14px;

    color: #d62f83;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.contact-copy h2 {
    margin: 0;

    color: #182033;

    font-size: clamp(36px, 4vw, 50px);
    line-height: 1.15;

    letter-spacing: -1.6px;
}

.contact-copy h2 span {
    color: transparent;

    background: linear-gradient(
        100deg,
        #df2b83,
        #865fea
    );

    -webkit-background-clip: text;
    background-clip: text;
}

.contact-copy > p {
    margin: 20px 0 0;

    color: #667085;

    font-size: 16px;
    line-height: 1.8;
}

/* =========================================================
   CONTACT ITEMS
========================================================= */

.contact-info-list {
    display: grid;
    gap: 14px;

    margin-top: 30px;
}

.contact-info-item{
    display:flex;
    align-items:center;
    gap:16px;

    padding:16px 18px;

    background:#fff;
    border:1px solid #e5e5ee;
    border-radius:16px;

    box-shadow:0 10px 28px rgba(31,40,70,.05);

    overflow:hidden;
}
.contact-info-icon{
    width:54px;
    height:54px;

    min-width:54px;
    min-height:54px;

    display:flex;
    align-items:center;
    justify-content:center;

    flex-shrink:0;

    color:#ffffff;

    border-radius:16px;

    background:linear-gradient(
        135deg,
        #e52b87,
        #865fea
    );

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

.contact-info-item.whatsapp .contact-info-icon {
    background: linear-gradient(
        135deg,
        #20b358,
        #6fce73
    );
}

.contact-info-item strong {
    display: block;

    color: #182033;

    font-size: 13px;
}

/* =========================================================
   CONTACT TEXT - DO NOT AFFECT ICON
========================================================= */

.contact-info-item > span:not(.contact-info-icon) {
    display: block;
    margin-top: 0;
    color: #667085;
    font-size: 12px;
}

.contact-info-item > span:not(.contact-info-icon) > strong {
    display: block;
    margin-bottom: 3px;
    color: #182033;
    font-size: 13px;
    font-weight: 700;
}

.contact-info-item > span:not(.contact-info-icon) > span {
    display: block;
    margin: 0;
    color: #667085;
    font-size: 12px;
}


/* =========================================================
   CONTACT ICON - FORCE CORRECT SIZE
========================================================= */

.contact-info-item .contact-info-icon {
    width: 54px;
    height: 54px;

    min-width: 54px;
    min-height: 54px;

    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 54px;

    color: #ffffff;

    border-radius: 16px;

    font-size: 22px;
    line-height: 1;
    font-weight: 700;
}


/* WhatsApp */

.contact-info-item .contact-info-icon.whatsapp-icon {
    background: linear-gradient(
        135deg,
        #20b358,
        #67cf73
    );

    color: #ffffff;
}


/* Phone */

.contact-info-item .contact-info-icon.phone-icon {
    background: linear-gradient(
        135deg,
        #e52b87,
        #8a60ea
    );

    color: #ffffff;
}


/* Email */

.contact-info-item .contact-info-icon.email-icon {
    background: linear-gradient(
        135deg,
        #8a60ea,
        #5e7de8
    );

    color: #ffffff;
}

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

.contact-form-card {
    position: relative;
    overflow: hidden;

    padding: 32px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #fcfaff
        );

    border: 1px solid #e5e5ee;
    border-radius: 26px;

    box-shadow:
        0 20px 55px rgba(31,40,70,.09);
}

.contact-form-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: linear-gradient(
        90deg,
        #e52b87,
        #c63bad,
        #865fea
    );
}


/* =========================================================
   FINAL CTA CONTACT ICONS
========================================================= */

.final-contact-icon{
    width:54px;
    height:54px;

    min-width:54px;
    min-height:54px;

    display:flex;
    align-items:center;
    justify-content:center;

    flex-shrink:0;

    border-radius:16px;

    color:#ffffff;

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

    transition:.25s;
}

/* WhatsApp */

.final-contact-icon.whatsapp{
    background:linear-gradient(
        135deg,
        #20b358,
        #67cf73
    );
}

/* Phone */

.final-contact-icon.phone{
    background:linear-gradient(
        135deg,
        #e52b87,
        #8a60ea
    );
}

/* Email */

.final-contact-icon.email{
    background:linear-gradient(
        135deg,
        #6b6ff2,
        #8a60ea
    );
}

.final-contact-option:hover .final-contact-icon{
    transform:scale(1.08);
}

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

.hyro-contact-form {
    position: relative;
    z-index: 2;

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

    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 7px;

    color: #263247;

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

.form-group label .required {
    color: #d62f83;
    margin-left: 3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 13px 14px;

    color: #182033;

    background: #ffffff;

    border: 1px solid #d8dbe5;
    border-radius: 12px;

    font: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color .20s ease,
        box-shadow .20s ease,
        background .20s ease;
}

/* Required fields visually obvious */

.form-group.required-field input,
.form-group.required-field select {
    border-left: 4px solid #d62f83;
    background: #fffafd;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(214,47,131,.55);

    box-shadow:
        0 0 0 4px rgba(214,47,131,.08);
}

.form-group textarea {
    min-height: 125px;
    resize: vertical;
}

/* =========================================================
   PRODUCT OPTIONS
========================================================= */

.product-interest {
    display: grid;
    grid-template-columns: repeat(3,1fr);

    gap: 10px;
}

.product-interest label {
    margin: 0;

    padding: 13px 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    border: 1px solid #e2e3eb;
    border-radius: 12px;

    background: #ffffff;

    cursor: pointer;

    font-size: 12px;
}

.product-interest input {
    width: auto;
    margin: 0;
}

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

.contact-submit {
    grid-column: 1 / -1;

    margin-top: 4px;
}

.contact-submit .btn {
    width: 100%;
}

.contact-form-note {
    grid-column: 1 / -1;

    margin: 0;

    color: #667085;

    text-align: center;

    font-size: 11px;
    line-height: 1.6;
}

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

@media (max-width: 980px) {

    .contact-section {
        padding: 84px 0 90px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

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

@media (max-width: 640px) {

    .contact-section {
        padding: 68px 0 74px;
    }

    .contact-copy h2 {
        font-size: 35px;
    }

    .contact-form-card {
        padding: 24px 18px;
    }

    .hyro-contact-form {
        grid-template-columns: 1fr;
    }

    .form-group,
    .form-group.full,
    .contact-submit,
    .contact-form-note {
        grid-column: 1;
    }

    .product-interest {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   CONTACT ICON COLORS
========================================================= */

.contact-info-icon.whatsapp-icon {
    background: linear-gradient(
        135deg,
        #20b358,
        #67cf73
    );

    color: #ffffff;
}

.contact-info-icon.phone-icon {
    background: linear-gradient(
        135deg,
        #e52b87,
        #8a60ea
    );

    color: #ffffff;
}

.contact-info-icon.email-icon {
    background: linear-gradient(
        135deg,
        #8a60ea,
        #5e7de8
    );

    color: #ffffff;
}


/* =========================================================
   CONTACT FORM STATUS
========================================================= */

.contact-form-status {
    grid-column: 1 / -1;

    display: none;

    padding: 13px 15px;

    border-radius: 12px;

    font-size: 13px;
    line-height: 1.6;
    font-weight: 700;
}

.contact-form-status.success {
    display: block;

    color: #146c38;

    background: #ecfff3;

    border: 1px solid #a9e8bf;
}

.contact-form-status.error {
    display: block;

    color: #a52638;

    background: #fff1f3;

    border: 1px solid #f1b4bd;
}

.hyro-contact-form button:disabled {
    opacity: .65;
    cursor: wait;
}

/* ======================================================
   HYRO FORM SUCCESS / ERROR POPUP
====================================================== */

.hyro-message-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(20, 24, 45, 0.45);
    backdrop-filter: blur(4px);
}

.hyro-message-popup {
    width: 100%;
    max-width: 440px;

    background: #ffffff;

    border-radius: 24px;

    padding: 34px 30px 28px;

    text-align: center;

    box-shadow:
        0 25px 70px rgba(30, 35, 60, 0.22);

    animation: hyroPopupIn 0.25s ease;
}

.hyro-popup-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

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

.hyro-message-popup.success .hyro-popup-icon {
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #e72d8b,
        #8b5cf6
    );
}

.hyro-message-popup.error .hyro-popup-icon {
    color: #ffffff;
    background: #dc3545;
}

.hyro-message-popup h3 {
    margin: 0 0 12px;

    font-size: 24px;
    color: #172033;
}

.hyro-message-popup p {
    margin: 0 0 24px;

    font-size: 15px;
    line-height: 1.7;

    color: #67728a;
}

.hyro-popup-close {
    min-width: 130px;

    border: 0;
    border-radius: 12px;

    padding: 12px 26px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    background: linear-gradient(
        135deg,
        #e72d8b,
        #8b5cf6
    );

    box-shadow:
        0 10px 25px rgba(192, 61, 183, 0.22);
}

.hyro-popup-close:hover {
    transform: translateY(-1px);
}

@keyframes hyroPopupIn {

    from {
        opacity: 0;
        transform: translateY(15px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}

@media (max-width: 576px) {

    .hyro-message-popup {
        max-width: 92%;
        padding: 28px 22px 24px;
    }

    .hyro-message-popup h3 {
        font-size: 21px;
    }

}