﻿/* ========================================
           sthero Section
           ======================================== */
.sthero-section {
    position: relative;
    padding: 5rem 0;
    background: var(--webyan-gradient-light);
    overflow: hidden;
}

.sthero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 10% 20%, rgba(39, 196, 244, 0.1) 0%, transparent 50%), radial-gradient(circle at 90% 80%, rgba(29, 59, 139, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.sthero-content {
    position: relative;
    z-index: 2;
}

.sthero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--webyan-gradient);
    color: var(--webyan-white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.sthero-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--webyan-dark-blue);
    line-height: 1.3;
    margin-bottom: 1.25rem;
}

.sthero-description {
    font-size: 1.125rem;
    color: var(--webyan-text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

.sthero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: var(--webyan-gradient);
    color: var(--webyan-white);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

    .btn-primary-custom:hover {
        color: var(--webyan-white);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(29, 59, 139, 0.3);
    }

.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: transparent;
    color: var(--webyan-dark-blue);
    font-weight: 600;
    border: 2px solid var(--webyan-dark-blue);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

    .btn-outline-custom:hover {
        background-color: var(--webyan-dark-blue);
        color: var(--webyan-white);
    }

/* sthero Carousel */
.sthero-carousel-wrapper {
    position: relative;
    z-index: 2;
}

.sthero-slide {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

    .sthero-slide img {
        width: 100%;
        height: 400px;
        object-fit: cover;
    }

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(29, 59, 139, 0.9) 0%, transparent 100%);
}

.slide-label {
    color: var(--webyan-white);
    font-size: 1.25rem;
    font-weight: 600;
}

.sthero-carousel-wrapper .carousel-control-prev,
.sthero-carousel-wrapper .carousel-control-next {
    width: 48px;
    height: 48px;
    background-color: var(--webyan-white);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    box-shadow: var(--shadow-md);
}

.sthero-carousel-wrapper .carousel-control-prev {
    right: auto;
    left: -24px;
}

.sthero-carousel-wrapper .carousel-control-next {
    left: auto;
    right: -24px;
}

.sthero-carousel-wrapper .carousel-control-prev-icon,
.sthero-carousel-wrapper .carousel-control-next-icon {
    filter: invert(1) grayscale(100%);
    width: 20px;
    height: 20px;
}

.sthero-carousel-wrapper .carousel-indicators {
    bottom: 1rem;
}

    .sthero-carousel-wrapper .carousel-indicators button {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: var(--webyan-white);
        opacity: 0.5;
    }

        .sthero-carousel-wrapper .carousel-indicators button.active {
            opacity: 1;
            background-color: var(--webyan-sky-blue);
        }

@media (max-width: 767.98px) {

    .sthero-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 1199.98px) {
    .sthero-title {
        font-size: 2.25rem;
    }

    .sthero-slide img {
        height: 350px;
    }
}

@media (max-width: 991.98px) {
    .sthero-section {
        padding: 3rem 0;
    }

    .sthero-content {
        text-align: center;
        margin-bottom: 2rem;
    }

    .sthero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .sthero-buttons {
        justify-content: center;
    }

    .sthero-carousel-wrapper .carousel-control-prev,
    .sthero-carousel-wrapper .carousel-control-next {
        display: none;
    }

    .sthero-description {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .sthero-buttons {
        flex-direction: column;
    }
}

/* ========================================
           stcategories Section
           ======================================== */
.stcategories-section {
    padding: 5rem 0;
    background-color: var(--webyan-white);
}

.stcategory-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    background-color: var(--webyan-light-gray);
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    text-decoration: none;
    transition: var(--transition);
}

    .stcategory-card:hover {
        border-color: var(--tj-color-theme-primary);
        background-color: var(--webyan-white);
        box-shadow: var(--shadow-md);
        transform: translateY(-4px);
    }

.stcategory-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--webyan-gradient);
    color: var(--webyan-white);
    font-size: 1.75rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.stcategory-card:hover .stcategory-icon {
    transform: scale(1.1);
}

.stcategory-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--webyan-text-dark);
    text-align: center;
    margin: 0;
}
