.btn, .card-image, .solution-card {
    overflow: hidden
}

.btn, .card-content, .card-image, .solution-card {
    position: relative;
    z-index: 1
}

    .btn::before, .solution-card::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 0%
    }

:root {
    --primary-color: #00313d;
    --primary-light: #004b5c;
    --text-dark: #1f2937;
    --text-muted: #000000ad;
    --bg-color: #ffffff;
    --bg-alt: #f9fafb;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1)
}

.btn, .card-icon, .card-image img, .solution-card {
    transition: var(--transition)
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

.hero-section {
    text-align: center;
    padding: 7rem 0 5rem;
    background: linear-gradient(135deg,#f3f4f6 0,#fff 100%);
    border-bottom: 1px solid #f3f4f6
}

    .hero-section h1 {
        font-size: 4rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        color: var(--primary-color);
        letter-spacing: -1px
    }

    .hero-section p {
        font-size: 17px;
        color: var(--text-muted);
        max-width: 700px;
        margin: 0 auto
    }

.solutions-container {
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    gap: 4rem
}

.card-title-wrap, .solution-card {
    align-items: center;
    display: flex
}

.solution-card {
    gap: 5rem;
    background: #fff;
    border-radius: 24px;
    padding: 50px;
    border: 1px solid transparent;
    box-shadow: 4px 4px 15px 4px rgb(162 162 162 / 67%);
    border: 1px solid #00313d;
}

    .solution-card::before {
        background: linear-gradient(to top,rgba(0,49,61,.05) 0,rgba(0,49,61,0) 100%);
        transition: height .6s cubic-bezier(.25, .8, .25, 1);
        z-index: 0
    }

    .solution-card:hover {
        box-shadow: 0 25px 50px -12px rgb(108 166 177);
        transform: translateY(-5px);
        border: 1px solid #f3f4f6;
        color: #fff;
        transform: rotate(5deg) scale(1.05);
    }

        .solution-card:hover::before {
            height: 100%
        }

    .solution-card:nth-child(2n) {
        flex-direction: row-reverse
    }

.card-image {
    flex: 1;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,49,61,.1)
}

    .card-image img {
        width: 100%;
        height: 295px;
        aspect-ratio: 4/2;
        object-fit: cover;
        display: block
    }

.solution-card:hover .card-image img {
    transform: scale(1.03)
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.card-title-wrap {
    gap: 1rem;
    margin-bottom: 1rem
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0
}

    .card-icon svg {
        width: 24px;
        height: 24px;
        stroke: currentColor;
        stroke-width: 2;
        fill: none
    }

.card-content h2 {
    font-size: 23px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0
}

.card-content p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 2.5rem;
    text-align: justify
}

.card-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .9rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer
}

    .btn::before {
        transition: .4s cubic-bezier(.25, .8, .25, 1);
        z-index: -1;
        border-radius: 0 0 50px 50px
    }

    .btn:hover::before {
        height: 100%;
        border-radius: 50px
    }

.btn-primary, .btn-secondary {
    border: 2px solid var(--primary-color)
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform .3s cubic-bezier(.25, .8, .25, 1)
}

.btn:hover svg {
    transform: translateX(4px)
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(0,49,61,.2)
}

    .btn-primary::before {
        background-color: var(--primary-light)
    }

    .btn-primary:hover {
        border-color: var(--primary-light);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,49,61,.3)
    }

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color)
}

    .btn-secondary::before {
        background-color: var(--primary-color)
    }

    .btn-secondary:hover {
        color: #fff;
        transform: translateY(-2px)
    }

.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    visibility: hidden;
    transition: opacity .8s ease-out,transform .8s ease-out;
    will-change: opacity,visibility
}

    .fade-in-section.is-visible {
        opacity: 1;
        transform: none;
        visibility: visible
    }

@media (max-width:992px) {
    .solution-card, .solution-card:nth-child(2n) {
        flex-direction: column;
        gap: 3rem;
        padding: 1rem
    }

    .card-content {
        text-align: center
    }

    .card-actions {
        justify-content: center
    }
}

@media (max-width:768px) {
    .hero-section h1 {
        font-size: 2.8rem
    }

    .hero-section {
        padding: 5rem 0 3rem
    }

    .solutions-container {
        padding: 1rem;
        gap: 4rem
    }

    .card-content h2 {
        font-size: 20px
    }

    .card-image img {
        height: auto
    }

    .card-content p {
        font-size: 15px
    }
}
