/* =========================================
   SOLUTIONS HERO
========================================= */

.solutions-hero {
    isolation: isolate;
}


/* =========================================
   DECORATIVE ORBS
========================================= */

.solutions-orb {
    position: absolute;
    width: 16rem;
    height: 16rem;
    border: 1px solid rgba(0, 103, 214, 0.15);
    border-radius: 999px;
    pointer-events: none;
}


.solutions-orb-left {
    top: 18%;
    left: -7rem;
    box-shadow:
        0 0 70px rgba(0, 103, 214, 0.08),
        inset 0 0 50px rgba(0, 103, 214, 0.04);
}


.solutions-orb-right {
    right: -7rem;
    bottom: 12%;
    width: 20rem;
    height: 20rem;
    border-color: rgba(34, 211, 238, 0.12);
    box-shadow:
        0 0 80px rgba(34, 211, 238, 0.06),
        inset 0 0 50px rgba(34, 211, 238, 0.03);
}


/* =========================================
   GRADIENT LINES
========================================= */

.solutions-line,
.solutions-bottom-line {
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(0, 103, 214, 0.3),
            #0067D6,
            rgba(34, 211, 238, 0.8),
            rgba(0, 103, 214, 0.3),
            transparent);
    box-shadow: 0 0 18px rgba(0, 103, 214, 0.4);
}


.solutions-line {
    width: min(100%, 32rem);
}


.solutions-bottom-line {
    width: min(100%, 42rem);
    opacity: 0.75;
}


/* =========================================
   ENTRANCE ANIMATION
========================================= */

.solutions-animate {
    opacity: 0;
    transform: translateY(28px);
    animation: solutionsEntrance 0.8s ease forwards;
}


.solutions-label {
    animation-delay: 0.1s;
}


.solutions-title {
    animation-delay: 0.2s;
}


.solutions-description {
    animation-delay: 0.35s;
}


.solutions-line {
    animation-delay: 0.5s;
}


.solutions-actions {
    animation-delay: 0.65s;
}


.solutions-support {
    animation-delay: 0.8s;
}


.solutions-bottom-line {
    animation-delay: 0.95s;
}


@keyframes solutionsEntrance {

    from {
        opacity: 0;
        transform: translateY(28px);
    }

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

}


/* =========================================
   SMOOTH SCROLL
========================================= */

html {
    scroll-behavior: smooth;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 639px) {

    .solutions-hero {
        min-height: auto;
    }


    .solutions-orb-left {
        left: -10rem;
        top: 10%;
    }


    .solutions-orb-right {
        right: -12rem;
        bottom: 5%;
    }

}


@media (max-width: 480px) {

    .solutions-title {
        font-size: 2.35rem;
    }


    .solutions-description {
        line-height: 1.75rem;
    }


    .solutions-line {
        width: 85%;
    }


    .solutions-bottom-line {
        width: 90%;
    }

}

/* =========================================
   SOLUTIONS PAGE
   ========================================= */

html {
    scroll-behavior: smooth;
}

body {
    background: #020617;
}


/* =========================================
   SCROLL ANIMATION
   ========================================= */

.scroll-animate {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.scroll-animate.show {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================
   SOLUTION CARD
   ========================================= */

.solution-card {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border: 1px solid rgba(71, 85, 105, 0.35);
    border-radius: 1.25rem;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.82), rgba(2, 6, 23, 0.72));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 10px 35px rgba(0, 0, 0, 0.18);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}


/* Subtle glass highlight */

.solution-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.55), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}


/* Background glow */

.solution-card::after {
    content: "";
    position: absolute;
    top: -90px;
    right: -90px;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: rgba(0, 103, 214, 0.09);
    filter: blur(55px);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}


.solution-card:hover {
    transform: translateY(-7px);
    border-color: rgba(0, 103, 214, 0.65);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(3, 12, 30, 0.88));
    box-shadow: 0 20px 55px rgba(0, 103, 214, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}


.solution-card:hover::before,
.solution-card:hover::after {
    opacity: 1;
}


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

.solution-icon {
    position: relative;
    z-index: 2;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 0.95rem;
    background: linear-gradient(135deg, rgba(0, 103, 214, 0.18), rgba(34, 211, 238, 0.07));
    color: #38bdf8;
    box-shadow: inset 0 0 20px rgba(0, 103, 214, 0.08);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}


.solution-icon svg {
    width: 25px;
    height: 25px;
    stroke-width: 1.7;
}


.solution-card:hover .solution-icon {
    transform: scale(1.07);
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 0 25px rgba(0, 103, 214, 0.2);
}


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

.solution-content {
    position: relative;
    z-index: 2;
    flex: 1;
}


.solution-content h3 {
    margin: 0 0 0.75rem;
    color: #ffffff;
    font-size: 1.08rem;
    line-height: 1.45;
    font-weight: 700;
    letter-spacing: -0.01em;
}


.solution-content p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.7;
}


/* =========================================
   FEATURE TAGS
   ========================================= */

.solution-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.25rem;
}


.solution-features span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.3rem 0.65rem;
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.65);
    color: #94a3b8;
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1;
    transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}


.solution-card:hover .solution-features span {
    border-color: rgba(14, 165, 233, 0.2);
    background: rgba(14, 165, 233, 0.06);
    color: #bae6fd;
}


/* =========================================
   ARROW
   ========================================= */

.solution-arrow {
    position: absolute;
    right: 1.35rem;
    bottom: 1.35rem;
    z-index: 3;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.65);
    color: #64748b;
    transition: transform 0.35s ease, color 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}


.solution-arrow svg {
    width: 16px;
    height: 16px;
}


.solution-card:hover .solution-arrow {
    transform: translate(2px, -2px);
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(0, 103, 214, 0.12);
    color: #38bdf8;
}


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

@media (max-width: 1023px) {

    .solution-card {
        min-height: 310px;
        padding: 1.35rem;
    }

}


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

@media (max-width: 639px) {

    .solution-card {
        min-height: 0;
        padding: 1.35rem;
        border-radius: 1.1rem;
    }

    .solution-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }

    .solution-icon svg {
        width: 23px;
        height: 23px;
    }

    .solution-content h3 {
        font-size: 1rem;
    }

    .solution-content p {
        font-size: 0.83rem;
        line-height: 1.65;
    }

    .solution-features {
        padding-right: 2.5rem;
    }

}


/* =========================================
   REDUCED MOTION
   ========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .scroll-animate {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .solution-card,
    .solution-icon,
    .solution-arrow {
        transition: none;
    }

}






/* =========================================
   SOLUTION ENQUIRY SECTION
========================================= */

.solution-form-wrapper {
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    border: 1px solid rgba(51, 65, 85, 0.75);
    border-radius: 1.5rem;
    background:
        linear-gradient(
            145deg,
            rgba(15, 23, 42, 0.9),
            rgba(2, 6, 23, 0.82)
        );
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}


/* =========================================
   LEFT FEATURE ITEMS
========================================= */

.solution-enquiry-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #cbd5e1;
    font-size: 0.88rem;
}


.solution-enquiry-feature > div {
    display: flex;
    height: 2.5rem;
    width: 2.5rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 103, 214, 0.25);
    border-radius: 0.75rem;
    background: rgba(0, 103, 214, 0.1);
    color: #38bdf8;
}


.solution-enquiry-feature svg {
    height: 1rem;
    width: 1rem;
}


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

.solution-input-group,
.solution-select-group,
.solution-textarea-group {
    position: relative;
}


.solution-input-group > svg,
.solution-select-group > svg:first-child,
.solution-textarea-group > svg {
    pointer-events: none;
    position: absolute;
    left: 1rem;
    top: 50%;
    z-index: 1;
    height: 1rem;
    width: 1rem;
    transform: translateY(-50%);
    color: #64748b;
    transition: color 0.3s ease;
}


.solution-textarea-group > svg {
    top: 1rem;
    transform: none;
}


.solution-input-group:focus-within > svg,
.solution-select-group:focus-within > svg:first-child,
.solution-textarea-group:focus-within > svg {
    color: #38bdf8;
}


.solution-input-group input,
.solution-select-group select,
.solution-textarea-group textarea {
    width: 100%;
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 0.85rem;
    background: rgba(2, 6, 23, 0.6);
    color: #ffffff;
    outline: none;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


.solution-input-group input {
    height: 3.1rem;
    padding: 0 1rem 0 2.9rem;
}


.solution-select-group select {
    height: 3.1rem;
    appearance: none;
    padding: 0 3rem 0 2.9rem;
    cursor: pointer;
}


.solution-textarea-group textarea {
    min-height: 8rem;
    resize: vertical;
    padding: 0.9rem 1rem 0.9rem 2.9rem;
}


.solution-input-group input::placeholder,
.solution-textarea-group textarea::placeholder {
    color: #64748b;
}


.solution-input-group input:focus,
.solution-select-group select:focus,
.solution-textarea-group textarea:focus {
    border-color: rgba(0, 103, 214, 0.9);
    background: rgba(0, 103, 214, 0.04);
    box-shadow: 0 0 0 4px rgba(0, 103, 214, 0.08);
}


/* Select Arrow */

.solution-select-arrow {
    pointer-events: none;
    position: absolute;
    right: 1rem;
    top: 50%;
    height: 1rem;
    width: 1rem;
    transform: translateY(-50%);
    color: #64748b;
}


/* Dropdown Options */

.solution-select-group select option {
    background: #0f172a;
    color: #ffffff;
}


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

.solution-submit-btn {
    display: inline-flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    border: none;
    border-radius: 0.9rem;
    background: linear-gradient(
        90deg,
        #0067D6,
        #2563eb,
        #0ea5e9
    );
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow:
        0 12px 30px rgba(0, 103, 214, 0.2);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        opacity 0.3s ease;
}


.solution-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 35px rgba(0, 103, 214, 0.35);
}


.solution-submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}


/* =========================================
   SCROLL ANIMATION
========================================= */

.solution-enquiry-animate {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


.solution-enquiry-animate.show {
    opacity: 1;
    transform: translateY(0);
}


.solution-enquiry-delay {
    transition-delay: 0.15s;
}


/* =========================================
   SUCCESS MODAL
========================================= */

.solution-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}


.solution-modal.hidden {
    display: none;
}


.solution-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: solutionOverlayIn 0.3s ease forwards;
}


.solution-modal-box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 25rem;
    padding: 2rem;
    border: 1px solid rgba(0, 103, 214, 0.35);
    border-radius: 1.5rem;
    background:
        linear-gradient(
            145deg,
            rgba(15, 23, 42, 0.98),
            rgba(2, 6, 23, 0.98)
        );
    text-align: center;
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(0, 103, 214, 0.1);
    animation: solutionModalIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}


.solution-modal-icon {
    display: flex;
    height: 4.5rem;
    width: 4.5rem;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 999px;
    background: rgba(0, 103, 214, 0.12);
    color: #38bdf8;
    box-shadow:
        0 0 35px rgba(0, 103, 214, 0.15);
}


.solution-modal-icon svg {
    height: 2.2rem;
    width: 2.2rem;
}


.solution-modal-box h3 {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
}


.solution-modal-box p {
    margin-top: 0.8rem;
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.7;
}


.solution-modal-box button {
    margin-top: 1.5rem;
    min-width: 9rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        #0067D6,
        #2563eb
    );
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.solution-modal-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 103, 214, 0.3);
}


/* Modal Closing Animation */

.solution-modal.closing .solution-modal-box {
    animation: solutionModalOut 0.35s ease forwards;
}


.solution-modal.closing .solution-modal-overlay {
    animation: solutionOverlayOut 0.35s ease forwards;
}


/* =========================================
   MODAL KEYFRAMES
========================================= */

@keyframes solutionModalIn {

    from {
        opacity: 0;
        transform: translateY(35px) scale(0.92);
    }

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

}


@keyframes solutionModalOut {

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

    to {
        opacity: 0;
        transform: translateY(35px) scale(0.94);
    }

}


@keyframes solutionOverlayIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}


@keyframes solutionOverlayOut {

    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }

}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1023px) {

    .solution-form-wrapper {
        padding: 1.35rem;
    }

}


@media (max-width: 639px) {

    .solution-enquiry-feature {
        font-size: 0.84rem;
    }


    .solution-form-wrapper {
        padding: 1.2rem;
        border-radius: 1.2rem;
    }


    .solution-modal-box {
        padding: 1.5rem;
        border-radius: 1.25rem;
    }


    .solution-modal-icon {
        height: 4rem;
        width: 4rem;
    }

}