.solutions-section {
    padding: 80px 0 120px;
    background: linear-gradient(180deg, #e9eff5 0%, #ffffff 100%);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-header h2 {
    font-size: clamp(32px, 4vw, 40px);
    line-height: 1.2;
    font-weight: 600;
    color: #22407A;
}

.section-header .button-secondary {
    display: inline-block;
    font-size: 16px;
    padding: 8px 30px 8px 16px;
    border: 1px solid #c6191c;
    color: #c6191c;
    text-decoration: none;
    border-radius: 24px;
    font-weight: 600;
    position: relative;
    transition: all 0.8s ease;
    margin-top: 48px;
}

.section-header .button-secondary svg {
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.section-header .button-secondary svg path {
    transition: fill 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .section-header .button-secondary:hover {
        background-color: #c6191c;
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(198, 25, 28, 0.25);
    }

    .section-header .button-secondary:hover svg {
        transform: translateY(-50%) translateX(4px);
    }

    .section-header .button-secondary:hover svg path {
        fill: #fff;
    }
}

.section-header .subtitle {
    color: #8292ac;
    font-size: 16px;
    margin-bottom: 8px;
}

.section-header .highlight {
    color: #22407a;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    max-width: 1600px;
    width: 100%;
}

.solution-card {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.solution-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            rgba(10, 14, 39, 0.4) 0%,
            rgba(10, 14, 39, 0.8) 100%);
    z-index: 1;
}

.card-content {
    position: absolute;
    z-index: 2;
    padding: 40px;
    gap: 24px;
    left: 0;
    right: 0;
    top: -125px;
    display: flex;
    flex-direction: column;
    transform: translateY(calc(640px - 120px));
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-card:hover .card-content {
    transform: translateY(0);
    top: 0;
}

.card-title {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 0px !important;
}

.card-info {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.solution-card:hover .card-info {
    opacity: 1;
    transform: translateY(0);
}

.info-item {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding-left: 0;
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: opacity 0.3s ease-in-out;
}

/* Khi info-item là thẻ a (link trực tiếp) - gạch chân text */
/* a.info-item::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

a.info-item:hover::before {
    opacity: 1;
}

a.info-item:hover {
    opacity: 0.8;
    color: white;
    cursor: pointer;
} */

/* Khi info-item là div chứa text và sub-list */
.info-item .info-item-text {
    position: relative;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.info-item .info-item-text::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.info-item .info-item-text:hover::before {
    opacity: 1;
}

.info-item .info-item-text:hover {
    opacity: 1;
}

.sub-list li:hover {
    color: white;
    cursor: pointer;
}

.sub-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 8px;
}

.sub-list li {
    margin-bottom: 5px;
    list-style: disc;
}

.sub-list li a {
    position: relative;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    color: white;
    line-height: 2.0;
    transition: opacity 0.3s ease-in-out;
}

.sub-list li a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.sub-list li a:hover::before {
    opacity: 1;
}

.sub-list li a:hover {
    opacity: 1;
}

.card-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    opacity: 0;
    transform: translate(30px, 30px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.solution-card:hover .card-arrow {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.card-arrow svg {
    width: 24px;
    height: 24px;
    stroke: #0a0e27;
    stroke-width: 2;
    fill: none;
    transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .card-arrow svg:hover {
        transform: translateX(5px);
    }
}

/* Tablet - iPad Air, iPad (768px - 1024px) */
@media (max-width: 1024px) {
    .solutions-section {
        padding: 60px 0 80px;
    }

    .section-header {
        margin-bottom: 40px;
        gap: 16px;
    }

    .section-header h2 {
        font-size: clamp(28px, 4vw, 36px);
    }

    .section-header .subtitle {
        font-size: 16px;
    }

    .section-header .button-secondary {
        font-size: 14px;
        padding: 8px 28px 8px 14px;
        margin-top: 24px;
    }

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .solution-card {
        height: 420px;
        border-radius: 16px;
    }

    .card-content {
        padding: 28px;
        gap: 18px;
        transform: translateY(calc(420px - 100px));
    }

    .solution-card:hover .card-content {
        transform: translateY(0);
    }

    .card-title {
        font-size: 24px;
    }

    .card-info {
        gap: 10px;
    }

    .info-item {
        font-size: 14px;
        line-height: 1.5;
    }

    .sub-list li a {
        font-size: 13px;
    }

    .card-arrow {
        width: 36px;
        height: 36px;
    }

    .card-arrow svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) {
    .solutions-section {
        padding: 40px 0 60px;
    }

    .section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 40px;
        gap: 12px;
    }

    .section-header h2 {
        font-size: clamp(32px, 6vw, 32px);
        line-height: 1.3;
    }

    .section-header .subtitle {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .section-header .button-secondary {
        margin-top: 15px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        justify-items: center;
    }

    .solution-card {
        width: 100%;
        max-width: 100%;
        height: 450px;
        border-radius: 20px;
    }

    .card-content {
        padding: 24px;
        gap: 15px;
        top: 25px;
        transform: translateY(calc(420px - 90px));
    }

    .solution-card:hover .card-content {
        transform: translateY(0);
    }

    .card-title {
        font-size: 22px;
    }

    .card-info {
        gap: 12px;
    }

    .info-item {
        font-size: 14px;
        line-height: 1.5;
    }

    .sub-list li {
        font-size: 14px;
        padding: 2px 0;
    }

    .card-arrow {
        bottom: 20px;
        right: 20px;
        width: 35px;
        height: 35px;
    }

    .card-arrow svg {
        width: 20px;
        height: 20px;
    }

    .info-item:hover:not(:has(ul)),
    .sub-list li:hover {
        text-decoration: none;
    }
}