/* ==========================================================================
   CLASSES PAGE - SITKONAS MODERN REDESIGN (MATCHING MOCKUP)
   ========================================================================== */

:root {
    --sitkon-navy: #0c2b5e;
    --sitkon-navy-dark: #081c3a;
    --sitkon-navy-light: #133e87;
    --sitkon-navy-hover: #164696;
    --sitkon-accent-red: #dc2626;
    --sitkon-soft-blue: #f0f7fd;
    --sitkon-soft-blue-card: #f3f8fd;
    --sitkon-border: #e2e8f0;
    --sitkon-text-dark: #0f172a;
    --sitkon-text-muted: #64748b;
}

/* ==========================================================================
   HERO BANNER SECTION
   ========================================================================== */
.classes-hero-wrapper {
    position: relative;
    background: #eaf2fb url('/assets/default/img/classes-hero-banner.png') right center / cover no-repeat;
    border-radius: 20px;
    padding: 46px 44px;
    margin-top: 24px;
    margin-bottom: 44px;
    border: 1px solid #dbeafe;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    align-items: center;
}

.classes-hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 60%;
    background: linear-gradient(90deg, rgba(234, 242, 251, 0.98) 0%, rgba(234, 242, 251, 0.95) 60%, rgba(234, 242, 251, 0.75) 80%, rgba(234, 242, 251, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.classes-hero-content {
    position: relative;
    z-index: 2;
    max-width: 580px;
}

.classes-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dc2626;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.classes-hero-tag .tag-dash {
    display: inline-block;
    width: 20px;
    height: 3px;
    background-color: #dc2626;
    border-radius: 2px;
}

.classes-hero-heading {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--sitkon-navy);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.classes-hero-desc {
    color: #475569;
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 480px;
}

/* Hero Pill Search Box */
.classes-hero-search-box {
    background: #ffffff;
    border: 1.5px solid #dce4ee;
    border-radius: 50px;
    padding: 6px 6px 6px 18px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 25px -5px rgba(12, 43, 94, 0.08);
    transition: all 0.2s ease;
    max-width: 460px;
    margin-bottom: 28px;
}

.classes-hero-search-box:focus-within {
    border-color: var(--sitkon-navy);
    box-shadow: 0 10px 25px -5px rgba(12, 43, 94, 0.18);
}

.classes-hero-search-box .search-icon-prefix {
    color: #94a3b8;
    margin-right: 10px;
    flex-shrink: 0;
}

.classes-hero-search-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 13.5px;
    color: #1e293b;
    width: 100%;
    padding-right: 8px;
}

.classes-hero-search-input::placeholder {
    color: #94a3b8;
}

.classes-hero-search-btn {
    background: var(--sitkon-navy);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 9px 24px;
    font-size: 13.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.classes-hero-search-btn:hover {
    background: var(--sitkon-navy-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(12, 43, 94, 0.25);
}

/* Feature Badges Row */
.classes-hero-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}

.classes-hero-stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.classes-stat-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #e0eefb;
    color: var(--sitkon-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.classes-stat-info .stat-num {
    font-size: 14px;
    font-weight: 800;
    color: var(--sitkon-navy);
    line-height: 1.2;
}

.classes-stat-info .stat-label {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.2;
}

/* Hero Floating Quote on Right */
.classes-hero-floating-quote {
    position: absolute;
    right: 420px;
    top: 90px;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    max-width: 140px;
}

.classes-hero-floating-quote .quote-red-bar {
    width: 3px;
    height: 100%;
    min-height: 48px;
    background-color: #dc2626;
    border-radius: 2px;
    flex-shrink: 0;
}

.classes-hero-floating-quote .quote-text {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--sitkon-navy);
}

/* ==========================================================================
   MAIN SECTION: PELATIHAN TERBAIK UNTUK ANDA
   ========================================================================== */
.classes-main-section {
    margin-bottom: 50px;
}

.classes-section-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--sitkon-navy);
    letter-spacing: -0.3px;
    margin-bottom: 22px;
}

/* Horizontal Filter Toolbar */
.classes-filter-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.classes-filter-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.classes-select-wrap {
    position: relative;
}

.classes-filter-select {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 34px 8px 14px;
    font-size: 13.5px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230c2b5e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    transition: all 0.2s ease;
    min-width: 140px;
}

.classes-filter-select:hover,
.classes-filter-select:focus {
    border-color: var(--sitkon-navy);
    outline: none;
    box-shadow: 0 0 0 3px rgba(12, 43, 94, 0.08);
}

.classes-filter-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 13.5px;
    font-weight: 500;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.classes-filter-btn:hover {
    border-color: var(--sitkon-navy);
    color: var(--sitkon-navy);
    background: var(--sitkon-soft-blue);
}

.classes-sort-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.classes-sort-label {
    font-size: 13.5px;
    color: #64748b;
    font-weight: 500;
    white-space: nowrap;
}

/* ==========================================================================
   COURSE CARDS GRID (3 COLUMNS)
   ========================================================================== */
.classes-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.classes-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px -8px rgba(12, 43, 94, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}

.classes-card-thumb {
    position: relative;
    width: 100%;
    height: 185px;
    background: #f1f5f9;
    overflow: hidden;
}

.classes-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.classes-card:hover .classes-card-thumb img {
    transform: scale(1.03);
}

/* Card Badges (Top Left) */
.classes-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.badge-cat-navy {
    background-color: var(--sitkon-navy);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    display: inline-block;
    width: fit-content;
}

.badge-mode-online {
    background: rgba(255, 255, 255, 0.95);
    color: var(--sitkon-navy);
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 5px;
    border: 1px solid rgba(12, 43, 94, 0.2);
    backdrop-filter: blur(4px);
    display: inline-block;
    width: fit-content;
}

/* Bookmark Button (Top Right) */
.classes-card-bookmark {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--sitkon-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.classes-card-bookmark:hover {
    background: #ffffff;
    color: #ef4444;
    transform: scale(1.1);
}

/* Card Body Content */
.classes-card-body {
    padding: 16px 18px 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.classes-card-instructor {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.classes-card-instructor img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e2e8f0;
}

.classes-card-instructor span {
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.classes-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--sitkon-navy);
    line-height: 1.35;
    min-height: 42px;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.classes-card-title:hover {
    color: var(--sitkon-navy-light);
}

.classes-card-subcat {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.classes-card-meta {
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 14px;
}

.classes-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Card Price & Action Button */
.classes-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.classes-price-free {
    font-size: 17px;
    font-weight: 800;
    color: var(--sitkon-navy);
}

.classes-price-val {
    font-size: 17px;
    font-weight: 800;
    color: var(--sitkon-navy);
}

.classes-price-old {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-right: 6px;
}

.classes-badge-discount-red {
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.classes-card-arrow-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid #dce4ee;
    background: #ffffff;
    color: var(--sitkon-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.classes-card-arrow-btn:hover {
    background: var(--sitkon-navy);
    border-color: var(--sitkon-navy);
    color: #ffffff;
    transform: translateX(2px);
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.classes-pagination-wrapper {
    margin-top: 36px;
    margin-bottom: 50px;
}

.classes-custom-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.classes-custom-pagination li a,
.classes-custom-pagination li span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.classes-custom-pagination li.active span,
.classes-custom-pagination li a.active {
    background: var(--sitkon-navy);
    border-color: var(--sitkon-navy);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(12, 43, 94, 0.3);
}

.classes-custom-pagination li a:hover {
    border-color: var(--sitkon-navy);
    color: var(--sitkon-navy);
    background: var(--sitkon-soft-blue);
}

.classes-custom-pagination li.disabled span {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ==========================================================================
   MENGAPA BELAJAR DI SITKONAS SECTION
   ========================================================================== */
.classes-why-wrapper {
    background: var(--sitkon-soft-blue-card);
    border-radius: 20px;
    padding: 40px 36px;
    margin-top: 20px;
    margin-bottom: 48px;
    border: 1px solid #e2eef9;
}

.classes-why-card {
    background: #ffffff;
    border: 1px solid #e8f1f8;
    border-radius: 14px;
    padding: 22px 20px;
    height: 100%;
    transition: all 0.2s ease;
}

.classes-why-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 24px -6px rgba(12, 43, 94, 0.08);
    transform: translateY(-2px);
}

.classes-why-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #e0eefb;
    color: var(--sitkon-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.classes-why-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--sitkon-navy);
    margin-bottom: 6px;
}

.classes-why-desc {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.classes-cta-banner {
    background: linear-gradient(135deg, #091c3a 0%, #0c2b5e 50%, #133e87 100%);
    border-radius: 18px;
    padding: 34px 40px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 14px 32px -8px rgba(12, 43, 94, 0.35);
    margin-bottom: 60px;
}

/* Red Accent Lines */
.classes-cta-banner::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 18px;
    width: 24px;
    height: 3px;
    background: #ef4444;
    border-radius: 2px;
    transform: rotate(-30deg);
}

.classes-cta-banner::after {
    content: '';
    position: absolute;
    bottom: 12px;
    right: 18px;
    width: 24px;
    height: 3px;
    background: #ef4444;
    border-radius: 2px;
    transform: rotate(-30deg);
}

.classes-cta-left {
    display: flex;
    align-items: center;
    gap: 18px;
    z-index: 1;
}

.classes-cta-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--sitkon-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.classes-cta-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.classes-cta-subtitle {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.classes-cta-btn {
    background: #ffffff;
    color: var(--sitkon-navy);
    font-weight: 700;
    font-size: 14px;
    padding: 12px 26px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    z-index: 1;
}

.classes-cta-btn:hover {
    background: var(--sitkon-soft-blue);
    color: var(--sitkon-navy-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media (max-width: 991px) {
    .classes-hero-wrapper {
        padding: 30px 24px;
        background-position: right -120px center;
    }

    .classes-hero-wrapper::before {
        width: 100%;
        background: linear-gradient(90deg, rgba(234, 242, 251, 0.96) 0%, rgba(234, 242, 251, 0.9) 70%, rgba(234, 242, 251, 0.8) 100%);
    }

    .classes-hero-floating-quote {
        display: none;
    }

    .classes-cta-banner {
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .classes-hero-wrapper {
        padding: 24px 18px;
    }

    .classes-hero-heading {
        font-size: 24px;
    }

    .classes-hero-search-box {
        flex-direction: column;
        border-radius: 16px;
        padding: 10px;
        gap: 8px;
    }

    .classes-hero-search-btn {
        width: 100%;
        justify-content: center;
    }

    .classes-filter-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .classes-filter-select {
        width: 100%;
    }

    .classes-sort-group {
        width: 100%;
        justify-content: space-between;
    }

    .classes-sort-group .classes-filter-select {
        flex-grow: 1;
    }
}
