/* Section 1 Styles */
.section-1 {
    width: 100%;
    padding: 30px 12px;
}

.section-1-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* Card Item */
.s1-card-item {
    flex-shrink: 1;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 7px;
    box-shadow: 0px 1.6px 5px 0px #00000021;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.s1-card-item-title {
    font-size: 14px;
    font-weight: 500;
    color: #303030;
    line-height: 1.5;
    text-align: center;
}

.s1-title-span {
    font-size: 30px;
    font-weight: 700;
    color: #3660FD;
    line-height: 1;
}

.s1-title-span.tpe{
    font-size: 22px;
}

.s1-card-item-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    text-align: center;
    display: none;
}

/* Desktop styles */
@media (min-width: 768px) {
    .section-1 {
        padding: 0;
        margin-top: -150px; /* Move entire section upward */
        position: relative;
        z-index: 10;
    }

    .section-1-container {
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }

    .s1-card-item {
        flex: 0 0 auto;
        width: 300px;
        min-height: 300px;
        padding: 20px 7px;
        justify-content: space-around;
        box-shadow: 0px 4px 21.4px 0px #00000021;
    }

    .s1-card-item:hover {
        transform: translateY(-4px);
    }

    .s1-card-item-title {
        font-size: 20px;
        font-weight: 500;
    }

    .s1-card-item-title.bott {
        margin-top: 20px;
    }

    .s1-card-item-description {
        font-size: 16px;
        display: block;
    }

    .s1-title-span {
        font-size: 64px;
    }
    /* english only */
    .s1-title-span.tpe {
        font-size: 50px;
    }
}
