
:root {
    --bs-spmb-bg-subtle: #ffe0ef;
    --bs-spmb-rgb: 255, 64, 129;
    --bs-spmb: #ff4081;
}

.bg-spmb {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-spmb-rgb), var(--bs-bg-opacity)) !important;
}

.bg-spmb-subtle {
    background-color: var(--bs-spmb-bg-subtle) !important;
}

.text-spmb {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-spmb-rgb), var(--bs-text-opacity)) !important;
}

.link-spmb:hover {
    color: rgba(var(--bs-spmb-rgb), var(--bs-text-opacity)) !important;
    text-decoration-color: rgba(var(--bs-spmb-rgb), var(--bs-link-underline-opacity, 1)) !important;
}

.btn.bg-spmb-subtle:hover {
    background-color: var(--bs-spmb) !important;
    color: var(--bs-white) !important;
}

.topbar-image {
    background-image: url("../images/frontend-pages/topbar-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-menyala {
    --bs-bg-opacity: 1;
    background-color: rgba(169, 47, 47, var(--bs-bg-opacity)) !important;
}

.main {
    flex: 1;
    /* Pushes footer to the bottom */
}

:root {
    --spmb-blue: #0d47a1;
    --spmb-blue-dark: #082e6b;
    --spmb-blue-light: #1565c0;
    --spmb-red: #c62828;
    --spmb-gold: #f9a825;
    --spmb-teal: #00695c;
    --spmb-green: #2e7d32;
    --spmb-gray-light: #f5f7fa;
    --spmb-gray: #6c757d;
}

/* Stats */
.stats-section {
    background: #fff;
    padding: 32px 0;
    border-bottom: 1px solid #e9ecef;

    color: var(--spmb-blue);
    font-weight: 700;
    font-size: 0.8rem;
}

.stat-item {
    text-align: center;
    padding: 16px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--spmb-blue);
    line-height: 1;
}

.stat-number span {
    font-size: 1.2rem;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--spmb-gray);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    background-color: #dee2e6;
    align-self: stretch;
}

.stats-icon {
    width: 48px;
    height: 48px;
    background: rgb(227, 242, 253);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--spmb-blue);
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Track Section */
.track-section {
    padding: 50px 0;
}

.section-header {
    margin-bottom: 36px;
}

.section-badge {
    display: inline-block;
    background: #e3f2fd;
    color: var(--spmb-blue);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: #212529;
}

.section-title span {
    color: var(--spmb-blue);
}

.menu-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
    transition:
        transform 0.25s,
        box-shadow 0.25s;
    border: 1px solid #e9ecef;
    cursor: pointer;
    text-decoration: none;
    display: block;
    height: 100%;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(13, 71, 161, 0.12);
    border-color: var(--spmb-blue);
}

.menu-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin: 0 auto 16px;
}

.menu-card h6 {
    font-weight: 700;
    font-size: 0.9rem;
    color: #212529;
    margin-bottom: 6px;
}

.menu-card p {
    font-size: 0.78rem;
    color: var(--spmb-gray);
    margin: 0;
    line-height: 1.5;
}

.icon-blue {
    background-color: #e3f2fd;
    color: var(--spmb-blue);
}

.icon-green {
    background-color: #e8f5e9;
    color: var(--spmb-green);
}

.icon-red {
    background-color: #ffebee;
    color: var(--spmb-red);
}

.icon-teal {
    background-color: #e0f2f1;
    color: var(--spmb-teal);
}

.icon-gold {
    background-color: #fff8e1;
    color: #e65100;
}

.icon-purple {
    background-color: #ede7f6;
    color: #512da8;
}

/* End Track Section */

.mt-10 {
    margin-top: 7rem !important;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(18px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.2;
    color: white;
    text-align: center;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    /* font-size: 14px; */
    color: white;
    text-align: center;
}

.top-info {
    transition: all .3s ease;
}

.top-info.hide {
    transform: translateY(-100%);
    opacity: 0;
    height: 0;
    padding: 0 !important;
    overflow: hidden;
}

/* Registration period */
.period-section {
    background: linear-gradient(135deg, #e3f2fd, #f0f4ff);
    padding: 50px 0;
}

.period-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #e3f2fd;
    height: 100%;
}

.period-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.period-badge-sma {
    background: #e3f2fd;
    color: var(--spmb-blue);
}

.period-badge-smk {
    background: #e8f5e9;
    color: var(--spmb-green);
}

.period-card h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.timeline-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}

.timeline-dot-blue {
    background-color: var(--spmb-blue);
}
.timeline-dot-green {
    background-color: var(--spmb-green);
}
.timeline-dot-gold {
    background-color: var(--spmb-gold);
}
.timeline-dot-red {
    background-color: var(--spmb-red);
}

.timeline-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #212529;
}

.timeline-date {
    font-size: 0.75rem;
    color: var(--spmb-gray);
    margin-top: 2px;
}


/* Footer */
.main-footer {
    /* background-color: #0a1929; */
    color: #90a4ae;
    padding: 50px 0 0;
}

.footer-brand h5 {
    color: var(--bs-spmb) !important;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
}

.footer-brand p {
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #90a4ae;
    font-size: 0.9rem;
    text-decoration: none;
    transition:
        background 0.2s,
        color 0.2s;
    margin-right: 6px;
}

.footer-social a:hover {
    background: var(--spmb-blue);
    color: #fff;
}

.footer-heading {
    color: var(--bs-spmb) !important;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--bs-spmb);
    display: inline-block;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #90a4ae;
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: #2c2f31;
}

.footer-links a::before {
    content: "›";
    color: var(--spmb-blue);
    font-weight: 700;
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.footer-contact-item i {
    color: var(--spmb-gold);
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-item span {
    font-size: 0.8rem;
    line-height: 1.5;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 14px 0;
    margin-top: 40px;
    font-size: 0.78rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #607d8b;
}

/* Coba coba */
.section-banner {
    background: #5d87ff;
    /* background: #11393c; */
}

.img-banner {
    position: relative;
    overflow: hidden;
}

.img-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/frontend-pages/banner-pattern.svg");
    background-repeat: repeat;
    background-size: auto;
    opacity: .15;
    z-index: 0;
}

.img-banner>* {
    position: relative;
    z-index: 1;
}

@media (max-width: 576px) {
    .d-max-sm-none {
        display: none !important;
    }
}

/* .section-banner {
    background: #5d87ff;
    background: #11393c;
    width: 100wh;
    height: 88dvh;
    min-height: 100vh;
}
.img-banner {
    background-image: url("{{ asset(env('THEME_ASSETS_PATH') . '/images/frontend-pages/banner-pattern.svg') }}");
    opacity: .15;
    position: absolute;
    width: 100%;
    height: auto;
    top: 30rem;
    left: 50%;
    transform: translate(-50%, -50%);
} */
    