/* =========================================================
   HYRO TECHNOLOGIES FZE
   WHY CHOOSE HYRO TECHNOLOGIES SECTION

   Full server path:
   /home/hyrotechnologie/public_html/hyrotechnologies.com/assets/css/why-choose.css
========================================================= */

.why-choose-section {
    position: relative;
    overflow: hidden;

    padding: 100px 0;

    background:
        radial-gradient(
            circle at 7% 10%,
            rgba(229, 43, 135, 0.07) 0,
            transparent 27%
        ),
        radial-gradient(
            circle at 94% 88%,
            rgba(132, 87, 232, 0.09) 0,
            transparent 30%
        ),
        #ffffff;
}

/* Decorative background circle */

.why-choose-section::before {
    content: "";

    position: absolute;
    top: -135px;
    right: -120px;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        rgba(229, 43, 135, 0.07),
        rgba(132, 87, 232, 0.12)
    );

    pointer-events: none;
}

.why-choose-section::after {
    content: "";

    position: absolute;
    left: -120px;
    bottom: -150px;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        rgba(229, 43, 135, 0.05),
        rgba(132, 87, 232, 0.09)
    );

    pointer-events: none;
}

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

/* =========================================================
   MAIN LAYOUT
========================================================= */

.why-choose-layout {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;

    gap: 62px;
    align-items: center;
}

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

.why-choose-copy {
    max-width: 520px;
}

.why-choose-copy .eyebrow {
    display: inline-flex;
    align-items: center;

    margin-bottom: 15px;

    color: #d62f83;

    font-size: 13px;
    line-height: 1.4;
    font-weight: 800;

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

.why-choose-copy .eyebrow::before {
    content: "";

    width: 28px;
    height: 3px;

    margin-right: 10px;

    border-radius: 10px;

    background: linear-gradient(
        90deg,
        #e52b87 0%,
        #c738ad 52%,
        #8b63f5 100%
    );
}

.why-choose-copy h2 {
    margin: 0;

    color: #182033;

    font-size: clamp(38px, 4vw, 52px);
    line-height: 1.14;
    font-weight: 700;

    letter-spacing: -1.7px;
}

.why-choose-copy h2 span {
    color: transparent;

    background: linear-gradient(
        100deg,
        #df2b83 0%,
        #c937ad 50%,
        #8059ec 100%
    );

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

.why-choose-copy > p {
    margin: 21px 0 0;

    color: #667085;

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

/* =========================================================
   TRUST BOX
========================================================= */

.why-trust-box {
    position: relative;
    overflow: hidden;

    margin-top: 31px;
    padding: 25px 25px 25px 29px;

    color: #ffffff;

    background: linear-gradient(
        125deg,
        #e32b86 0%,
        #c437ad 50%,
        #805eea 100%
    );

    border-radius: 21px;

    box-shadow:
        0 18px 42px rgba(177, 54, 164, 0.22);
}

.why-trust-box::before {
    content: "";

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

    width: 5px;
    height: 100%;

    background: rgba(255, 255, 255, 0.75);
}

.why-trust-box::after {
    content: "";

    position: absolute;
    top: -55px;
    right: -45px;

    width: 135px;
    height: 135px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.11);
}

.why-trust-box strong {
    position: relative;
    z-index: 2;

    display: block;

    margin-bottom: 7px;

    color: #ffffff;

    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

.why-trust-box span {
    position: relative;
    z-index: 2;

    display: block;

    color: rgba(255, 255, 255, 0.90);

    font-size: 13px;
    line-height: 1.72;
}

/* =========================================================
   BUTTONS
========================================================= */

.why-choose-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 28px;
}

.why-choose-actions .btn-primary {
    color: #ffffff;

    background: linear-gradient(
        135deg,
        #e52b87 0%,
        #ca35a8 52%,
        #895ff0 100%
    );

    box-shadow:
        0 12px 28px rgba(204, 51, 161, 0.22);
}

.why-choose-actions .btn-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 17px 34px rgba(133, 84, 226, 0.28);
}

.why-choose-actions .btn-secondary {
    color: #182033;
    background: #ffffff;

    border-color: #d9dce5;
}

.why-choose-actions .btn-secondary:hover {
    color: #d62f83;

    border-color: rgba(214, 47, 131, 0.38);
}

/* =========================================================
   RIGHT-SIDE CARDS
========================================================= */

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

    gap: 19px;
}

.why-card {
    position: relative;
    overflow: hidden;

    min-height: 225px;

    padding: 27px 24px 25px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.995),
            rgba(253, 250, 255, 0.98)
        );

    border: 1px solid rgba(227, 226, 237, 0.96);
    border-radius: 22px;

    box-shadow:
        0 13px 36px rgba(31, 40, 70, 0.055);

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

/* Gradient top border */

.why-card::before {
    content: "";

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

    width: 100%;
    height: 4px;

    background: linear-gradient(
        90deg,
        #e52b87 0%,
        #c73cad 52%,
        #865fea 100%
    );

    opacity: 0;

    transition: opacity 0.25s ease;
}

/* Decorative card circle */

.why-card::after {
    content: "";

    position: absolute;
    right: -44px;
    bottom: -48px;

    width: 110px;
    height: 110px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        rgba(229, 43, 135, 0.04),
        rgba(132, 87, 232, 0.10)
    );

    pointer-events: none;
}

.why-card:hover {
    transform: translateY(-7px);

    border-color: rgba(211, 51, 153, 0.25);

    box-shadow:
        0 23px 52px rgba(70, 45, 108, 0.11);
}

.why-card:hover::before {
    opacity: 1;
}

/* =========================================================
   CARD ICON
========================================================= */

.why-icon {
    position: relative;
    z-index: 2;

    width: 55px;
    height: 55px;

    margin-bottom: 20px;

    display: grid;
    place-items: center;

    color: #ffffff;

    background: linear-gradient(
        140deg,
        #e52b87 0%,
        #ca3cad 50%,
        #835fee 100%
    );

    border-radius: 16px;

    box-shadow:
        0 12px 26px rgba(200, 56, 173, 0.21);

    font-size: 23px;
    line-height: 1;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.why-card:hover .why-icon {
    transform: scale(1.07) rotate(-3deg);

    box-shadow:
        0 16px 31px rgba(132, 87, 232, 0.27);
}

/* =========================================================
   CARD TEXT
========================================================= */

.why-card h3 {
    position: relative;
    z-index: 2;

    margin: 0 0 9px;

    color: #182033;

    font-size: 19px;
    line-height: 1.35;
    font-weight: 700;
}

.why-card p {
    position: relative;
    z-index: 2;

    margin: 0;

    color: #667085;

    font-size: 13px;
    line-height: 1.72;
}

/* =========================================================
   HIGHLIGHT CARD
========================================================= */

.why-card.highlight {
    background: linear-gradient(
        145deg,
        #eefcf3 0%,
        #e3faeb 48%,
        #dff5d2 100%
    );

    border-color: rgba(32, 179, 88, 0.23);

    box-shadow:
        0 16px 40px rgba(32, 179, 88, 0.10);
}

.why-card.highlight::before {
    opacity: 1;

    background: linear-gradient(
        90deg,
        #20b358 0%,
        #58c96f 48%,
        #a3db68 100%
    );
}

.why-card.highlight::after {
    background: linear-gradient(
        135deg,
        rgba(32, 179, 88, 0.06),
        rgba(169, 220, 99, 0.14)
    );
}

.why-card.highlight .why-icon {
    background: linear-gradient(
        140deg,
        #18ac52 0%,
        #32c46b 52%,
        #87cf5f 100%
    );

    box-shadow:
        0 12px 26px rgba(32, 179, 88, 0.20);
}

.why-card.highlight h3 {
    color: #173227;
}

.why-card.highlight p {
    color: #435d50;
}

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

@media (max-width: 980px) {

    .why-choose-section {
        padding: 84px 0;
    }

    .why-choose-layout {
        grid-template-columns: 1fr;

        gap: 46px;
    }

    .why-choose-copy {
        max-width: 760px;
    }
}

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

@media (max-width: 640px) {

    .why-choose-section {
        padding: 68px 0 72px;
    }

    .why-choose-layout {
        gap: 36px;
    }

    .why-choose-copy h2 {
        font-size: 35px;
        letter-spacing: -0.9px;
    }

    .why-choose-copy > p {
        font-size: 15px;
    }

    .why-trust-box {
        padding: 23px 21px 23px 25px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;

        gap: 17px;
    }

    .why-card {
        min-height: auto;

        padding: 25px 22px;
    }

    .why-choose-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .why-choose-actions .btn {
        width: 100%;
    }
}