/* =========================================================
   SMAN 2 Kubu Babussalam — Modern Design Tokens & Stylesheet
   Design Direction: Modern Academic, Premium Educational Institution
   Color Palette: Primary Navy / Secondary Navy / Accent Blue / Crisp Border
   Framework: Bootstrap 5.3 + Custom Component Refinements
   ========================================================= */

:root {
    /* --- Colors (SMAN 2 Kubu Babussalam Design System) --- */
    --color-primary: #101B32;          /* Primary Navy */
    --color-primary-dark: #0A1222;     /* Ultra Dark Navy */
    --color-primary-light: #173D6C;    /* Secondary Navy */
    --color-secondary: #173D6C;        /* Secondary Navy */
    --color-secondary-light: #EBF3FA;  /* Soft Navy Tint */
    --color-accent: #32B9ED;           /* Accent Blue */
    --color-accent-dark: #1CA2D7;      /* Deep Accent Blue */
    --color-accent-light: #E6F7FD;     /* Soft Accent Blue Tint */
    --color-bg: #F5F8FC;               /* Clean Academic Background */
    --color-surface: #FFFFFF;          /* Pure White */
    --color-text: #17243A;             /* Primary Text */
    --color-text-muted: #64748B;       /* Secondary Text */
    --color-border: #E2E8F0;           /* Crisp Border */

    /* --- Typography (Plus Jakarta Sans System) --- */
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    /* --- Layout & Shapes --- */
    --radius-xl: 18px;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 4px;
    --shadow-xs: 0 1px 2px 0 rgba(16, 27, 50, 0.04);
    --shadow-soft: 0 4px 20px -2px rgba(16, 27, 50, 0.06), 0 2px 6px -1px rgba(16, 27, 50, 0.03);
    --shadow-lift: 0 12px 28px -4px rgba(16, 27, 50, 0.10), 0 4px 10px -2px rgba(16, 27, 50, 0.04);
    --section-spacing: 5rem;
}

/* =========================================================
   Base & Reset
   ========================================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.65;
    font-size: 15px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.125rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.35rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
h5 { font-size: 1.05rem; font-weight: 600; }
h6 { font-size: 0.9375rem; font-weight: 600; }

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.15s ease, opacity 0.15s ease;
}
a:hover {
    color: var(--color-accent-dark);
}

/* Accessible visible focus states (WCAG 2.2 AA) */
:focus-visible {
    outline: 2px solid var(--color-accent) !important;
    outline-offset: 2px !important;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Helper Utilities */
.text-accent { color: var(--color-accent) !important; }
.text-accent-dark { color: var(--color-accent-dark) !important; }
.bg-accent { background-color: var(--color-accent) !important; color: #101B32 !important; }
.bg-accent-light { background-color: var(--color-accent-light) !important; }
.fs-7 { font-size: 0.85rem !important; }
.fs-8 { font-size: 0.75rem !important; }
.rounded-4 { border-radius: var(--radius-xl) !important; }
.shadow-soft { box-shadow: var(--shadow-soft) !important; }
.shadow-lift { box-shadow: var(--shadow-lift) !important; }

/* ---- Standardized Icon Display ---- */
.bi {
    display: inline-block;
    vertical-align: -0.125em;
    line-height: 1;
}
.btn .bi {
    vertical-align: -0.1em;
}

/* =========================================================
   Section Helpers & Headers
   ========================================================= */
.section {
    padding: var(--section-spacing) 0;
    position: relative;
}
.section-alt {
    background-color: var(--color-surface);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-secondary);
    background-color: var(--color-secondary-light);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(23, 61, 108, 0.12);
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
    color: var(--color-primary);
    line-height: 1.25;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1rem;
    max-width: 640px;
    line-height: 1.65;
}

/* =========================================================
   Buttons & Form Controls
   ========================================================= */
.btn-accent {
    background-color: var(--color-accent);
    border: 1.5px solid var(--color-accent);
    color: #101B32;
    font-weight: 700;
    border-radius: var(--radius-sm);
    padding: 0.65rem 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    vertical-align: middle;
    transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 4px 14px rgba(50, 185, 237, 0.32);
}
.btn-accent:hover, .btn-accent:focus {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: #101B32;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(50, 185, 237, 0.42);
}
.btn-accent:active {
    transform: translateY(0);
}

.btn-outline-primary-custom {
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
    background-color: transparent;
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    vertical-align: middle;
    transition: all 0.18s ease;
}
.btn-outline-primary-custom:hover, .btn-outline-primary-custom:focus {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 27, 50, 0.18);
}

/* Consistent button sizes */
.btn-sm.btn-accent,
.btn-sm.btn-outline-primary-custom,
.btn-sm.btn-outline-secondary {
    padding: 0.38rem 0.95rem;
    font-size: 0.84rem;
    line-height: 1.4;
    border-width: 1.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

/* =========================================================
   Filter Tabs & Category Pills (Symmetrical Alignment)
   ========================================================= */
.filter-pills-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.25rem;
}

.filter-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 1.25rem;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1;
    border-radius: 9999px;
    border: 1.5px solid #cbd5e1;
    background-color: #ffffff;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    vertical-align: middle;
    white-space: nowrap;
}

.filter-pill-btn:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background-color: #f8fafc;
    transform: translateY(-1px);
}

.filter-pill-btn.active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.32);
}

.form-control, .form-select {
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    color: var(--color-text);
    background-color: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-control:focus, .form-select:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.15);
    outline: none;
}

/* =========================================================
   Top Announcement Bar (Running Text)
   ========================================================= */
.top-announcement-bar {
    background: #081830;
    color: #ffffff;
    height: 38px;
    display: flex;
    align-items: center;
    z-index: 1035;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.announcement-badge {
    background-color: var(--color-accent);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-xs);
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
}
.ticker-wrapper {
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    height: 24px;
    display: flex;
    align-items: center;
}
.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: tickerMove 32s linear infinite;
    font-weight: 500;
}
.ticker-wrapper:hover .ticker-content {
    animation-play-state: paused;
}
@keyframes tickerMove {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* =========================================================
   Navbar
   ========================================================= */
.navbar-smk {
    background-color: #ffffff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 2px 10px rgba(15, 44, 89, 0.04);
    padding: 0.65rem 0;
    transition: all 0.25s ease;
}
.navbar-smk.has-ticker {
    top: 38px;
}
.navbar-smk.is-sticky {
    box-shadow: var(--shadow-lift);
    padding: 0.45rem 0;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
}

.navbar-spacer {
    height: 68px;
}
.navbar-spacer.has-ticker {
    height: 106px;
}

.navbar-smk .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0;
    margin-right: 1.25rem;
    max-width: 320px;
    flex-shrink: 0;
}
.navbar-smk .navbar-brand img {
    height: 40px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}
.navbar-smk .navbar-brand-text {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.18;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.navbar-smk .nav-link {
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.5rem 0.75rem !important;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.navbar-smk .nav-link:hover {
    color: var(--color-primary-light);
    background-color: var(--color-secondary-light);
}
.navbar-smk .nav-link.active {
    color: var(--color-secondary);
    background-color: var(--color-secondary-light);
    font-weight: 700;
}

/* Dropdown Menu Styling */
.navbar-smk .dropdown-menu {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(16, 27, 50, 0.12);
    padding: 0.5rem;
    background-color: #ffffff;
    min-width: 220px;
}
.navbar-smk .dropdown-item {
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.95rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-text);
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
}
.navbar-smk .dropdown-item:hover,
.navbar-smk .dropdown-item:focus {
    background-color: var(--color-bg);
    color: var(--color-secondary);
    transform: translateX(3px);
}
.navbar-smk .dropdown-item.active {
    background-color: var(--color-secondary-light);
    color: var(--color-secondary);
    font-weight: 600;
}

/* Desktop Dropdown Hover */
@media (min-width: 1200px) {
    .navbar-smk .dropdown:hover > .dropdown-menu {
        display: block;
        animation: dropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
}
@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1199.98px) {
    .navbar-smk .navbar-collapse {
        margin-top: 0.75rem;
        padding: 1rem;
        background-color: #ffffff;
        border-radius: var(--radius);
        border: 1px solid var(--color-border);
        box-shadow: var(--shadow-lift);
    }
    .navbar-smk .nav-link {
        padding: 0.75rem 1rem !important;
        min-height: 44px;
        border-bottom: 1px solid var(--color-bg);
    }
    .navbar-smk .dropdown-menu {
        box-shadow: none;
        border: 1px solid var(--color-border);
        margin: 0.25rem 0 0.5rem 0;
        background-color: var(--color-bg);
    }
    .navbar-smk .dropdown-item {
        padding: 0.65rem 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    .top-announcement-bar {
        font-size: 0.76rem;
    }
}

/* =========================================================
   Hero / Banner Slider
   ========================================================= */
.hero-slider {
    position: relative;
    background-color: var(--color-primary-dark);
    width: 100%;
}
.hero-slide {
    min-height: 520px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 4rem 0;
}
@media (min-width: 992px) {
    /* Full Desktop Screen (Without Ticker) */
    .hero-slide {
        min-height: calc(100vh - 68px);
        min-height: calc(100dvh - 68px);
        padding: 5rem 0;
    }
    /* Full Desktop Screen (With Ticker) */
    .hero-slider.has-ticker-offset .hero-slide,
    body:has(.top-announcement-bar) .hero-slide {
        min-height: calc(100vh - 106px);
        min-height: calc(100dvh - 106px);
    }
}
.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16, 27, 50, 0.88) 0%, rgba(16, 27, 50, 0.68) 50%, rgba(16, 27, 50, 0.28) 100%);
    z-index: 1;
}
.hero-slide .container {
    position: relative;
    z-index: 2;
}
.hero-slide h1,
.hero-slide .hero-title {
    color: #ffffff;
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 800;
    max-width: 720px;
    letter-spacing: -0.025em;
    line-height: 1.18;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.hero-slide p {
    color: rgba(255, 255, 255, 0.92);
    max-width: 600px;
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    line-height: 1.65;
    margin-bottom: 1.75rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-btn-group {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.75rem 1.65rem;
    min-height: 48px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
}
.btn-hero-primary {
    background-color: var(--color-accent);
    border: 2px solid var(--color-accent);
    color: #101B32;
    box-shadow: 0 4px 16px rgba(50, 185, 237, 0.38);
}
.btn-hero-primary:hover, .btn-hero-primary:focus {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: #101B32;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(50, 185, 237, 0.48);
}
.btn-hero-outline {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #ffffff;
    backdrop-filter: blur(6px);
}
.btn-hero-outline:hover, .btn-hero-outline:focus {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.hero-slider .carousel-indicators {
    bottom: 1.5rem;
    margin-bottom: 0;
    gap: 8px;
}
.hero-slider .carousel-indicators [data-bs-target] {
    width: 24px;
    height: 6px;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    margin: 0;
    transition: all 0.3s ease;
}
.hero-slider .carousel-indicators .active {
    width: 42px;
    background-color: var(--color-accent);
}
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background-color: rgba(16, 27, 50, 0.45);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 3;
    opacity: 0.85;
    margin: 0 1.25rem;
    transition: all 0.2s ease;
}
.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    background-color: var(--color-accent);
    color: #101B32;
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}

/* =========================================================
   Sambutan Kepala Sekolah (Editorial Institutional Layout)
   ========================================================= */
.sambutan-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    padding: clamp(2rem, 3.5vw, 3rem);
    position: relative;
    overflow: hidden;
}
.sambutan-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-primary-light) 100%);
}
.sambutan-photo-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lift);
    border: 1px solid var(--color-border);
    background-color: var(--color-bg);
    position: relative;
    max-width: 320px;
}
.sambutan-photo-frame img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
}
.sambutan-placeholder-frame {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: linear-gradient(145deg, #101B32 0%, #173D6C 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    padding: 2rem 1.5rem;
    text-align: center;
}
.sambutan-placeholder-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(50, 185, 237, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}
.sambutan-quote-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--color-accent-light);
    color: var(--color-primary);
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(50, 185, 237, 0.25);
}
.sambutan-quote-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text);
}

/* =========================================================
   Profil Ringkas & Fact Boxes
   ========================================================= */
.profil-fact-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.25rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.profil-fact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}
.profil-fact-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: var(--color-secondary-light);
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}
.profil-fact-label {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.profil-fact-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

/* Backward compatibility fact item */
.profil-fact {
    display: flex;
    gap: 0.9rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--color-border);
}
.profil-fact:last-child { border-bottom: none; }
.profil-fact .bi {
    color: var(--color-accent);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* =========================================================
   Jurusan Cards (Program Keahlian)
   ========================================================= */
.jurusan-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.2s ease;
    height: 100%;
    position: relative;
}
.jurusan-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
    border-color: #cbd5e1;
}
.jurusan-card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 190px;
    background-color: #e2e8f0;
}
.jurusan-card-img {
    height: 190px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.4s ease;
}
.jurusan-card:hover .jurusan-card-img {
    transform: scale(1.05);
}
.jurusan-code-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-primary);
    color: #ffffff;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    border-left: 3px solid var(--color-accent);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.jurusan-card-body {
    padding: 1.4rem;
}
.jurusan-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}
.jurusan-card-desc {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* =========================================================
   Keunggulan Vokasi & Feature Cards (Jurusan Highlights)
   ========================================================= */
.vokasi-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1rem;
    height: 100%;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.2s ease;
}
.vokasi-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(50, 185, 237, 0.5);
}
.vokasi-icon-circle {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem auto;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 0;
    line-height: 1;
}
.vokasi-icon-circle i {
    font-size: 1.45rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    vertical-align: 0;
}
.vokasi-feature-card:hover .vokasi-icon-circle {
    transform: scale(1.1);
}
.vokasi-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--color-text);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}
.vokasi-subtitle {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    line-height: 1.35;
    margin-bottom: 0;
}

/* =========================================================
   Berita Cards
   ========================================================= */
.berita-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
    height: 100%;
}
.berita-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lift);
}
.berita-card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 190px;
    background-color: #e2e8f0;
}
.berita-card-img {
    height: 190px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.4s ease;
}
.berita-card:hover .berita-card-img {
    transform: scale(1.05);
}
.berita-card-body {
    padding: 1.35rem;
}
.berita-category-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--color-secondary-light);
    color: var(--color-secondary);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    margin-bottom: 0.65rem;
}
.berita-meta {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.berita-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.berita-card-title a {
    color: var(--color-primary);
}
.berita-card-title a:hover {
    color: var(--color-secondary);
}
.berita-card-excerpt {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

/* =========================================================
   Testimoni Alumni Cards
   ========================================================= */
.testimoni-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.testimoni-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
}
.testimoni-photo {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-secondary-light);
}
.testimoni-name {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.15rem;
}
.testimoni-role {
    font-size: 0.82rem;
    color: var(--color-text-muted);
}
.testimoni-text {
    font-style: italic;
    color: var(--color-text);
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================================
   Partner / Mitra Industri Infinite Running Marquee
   ========================================================= */
.partner-marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1.25rem 0;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.partner-marquee-track {
    display: flex;
    width: max-content;
    animation: partnerMarquee 26s linear infinite;
}

.partner-marquee-container:hover .partner-marquee-track {
    animation-play-state: paused;
}

@keyframes partnerMarquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.partner-logo-box {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    width: 190px;
    margin: 0 10px;
    flex-shrink: 0;
    filter: grayscale(0.85);
    opacity: 0.85;
    box-shadow: 0 2px 8px rgba(15, 44, 89, 0.04);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-logo-box:hover {
    filter: grayscale(0);
    opacity: 1;
    border-color: var(--color-accent);
    box-shadow: 0 8px 20px rgba(15, 44, 89, 0.12);
    transform: translateY(-4px);
}

.partner-logo-box img {
    max-height: 52px;
    max-width: 140px;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .partner-marquee-track {
        animation-duration: 18s;
    }
    .partner-logo-box {
        width: 150px;
        height: 80px;
        padding: 0.75rem 1rem;
        margin: 0 6px;
    }
    .partner-logo-box img {
        max-height: 42px;
        max-width: 110px;
    }
}

/* =========================================================
   Galeri Grid & Enhanced Photo Cards
   ========================================================= */
.galeri-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 3;
    display: block;
    box-shadow: var(--shadow-soft);
    background-color: #f1f5f9;
    border: 1px solid var(--color-border);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.galeri-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
}
.galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.galeri-item:hover img {
    transform: scale(1.08);
}
.galeri-item-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
    border-radius: 20px;
    background: rgba(15, 44, 89, 0.85);
    color: #ffffff;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.galeri-item-caption {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(8, 24, 48, 0.95) 0%, rgba(8, 24, 48, 0.6) 60%, transparent 100%);
    color: #ffffff;
    padding: 2.25rem 1rem 0.85rem;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    transition: all 0.25s ease;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.galeri-item-zoom-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.9);
    color: #0F2C59;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    opacity: 0.9;
    transition: transform 0.2s ease;
}
.galeri-item:hover .galeri-item-zoom-icon {
    transform: scale(1.15);
}

/* =========================================================
   Statistik Counter Section
   ========================================================= */
.statistik-section {
    background: #101B32;
    color: #ffffff;
    padding: 4.5rem 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.statistik-card {
    padding: 1.75rem 1.25rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    transition: transform 0.2s ease, background 0.2s ease;
}
.statistik-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-3px);
}
.statistik-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(50, 185, 237, 0.15);
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 0.85rem;
}
.statistik-value {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 3.8vw, 2.75rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.statistik-label {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
    margin-top: 0.35rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* =========================================================
   Video Profile Section (Modern Video Facade)
   ========================================================= */
.section-video-tour {
    background: linear-gradient(135deg, #101B32 0%, #0A1222 100%);
    color: #ffffff;
    padding: 5.5rem 0;
    position: relative;
}
.video-container-card {
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: #0A1222;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    position: relative;
}
.video-container-card iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.video-facade {
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.video-play-btn {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: #101B32;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 0;
    box-shadow: 0 0 0 10px rgba(50, 185, 237, 0.28), 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.video-facade:hover .video-play-btn,
.video-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 16px rgba(50, 185, 237, 0.38), 0 12px 28px rgba(0, 0, 0, 0.4);
}

/* =========================================================
   Footer
   ========================================================= */
.footer-smk {
    background: #0A1222;
    color: rgba(255, 255, 255, 0.75);
    border-top: 3px solid var(--color-accent);
}
.footer-smk h6 {
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.footer-smk a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.15s ease;
}
.footer-smk a:hover {
    color: var(--color-accent);
}
.footer-smk .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.4rem;
    margin-top: 3rem;
    font-size: 0.88rem;
}
.social-icon-circle {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    max-width: 38px;
    max-height: 38px;
    aspect-ratio: 1 / 1;
    flex: 0 0 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.social-icon-circle i {
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: 0;
    margin: 0;
}
.social-icon-circle:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #101B32;
    transform: translateY(-3px);
}

/* =========================================================
   Floating Helpers & Widgets
   ========================================================= */
.btn-back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1000;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #ffffff;
    display: none;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: var(--shadow-lift);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.btn-back-to-top:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
}
.btn-back-to-top.show {
    display: flex;
}

/* WhatsApp Floating Multi-CS Widget */
.wa-widget-wrapper {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1040;
}
.btn-wa-float {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}
.btn-wa-float:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
    color: #ffffff;
}
.wa-popup-card {
    position: absolute;
    bottom: 68px;
    right: 0;
    width: 320px;
    background: #ffffff;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lift);
    overflow: hidden;
    animation: waPopupFade 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes waPopupFade {
    from { opacity: 0; transform: translateY(12px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.wa-popup-header {
    background: #075E54;
    padding: 0.9rem 1.1rem;
}
.wa-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius-sm);
    background-color: var(--color-bg);
    text-decoration: none;
    transition: background-color 0.15s ease, transform 0.15s ease;
}
.wa-contact-item:hover {
    background-color: #e2e8f0;
    transform: translateX(3px);
}
.wa-contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

/* =========================================================
   Top Page Progress Bar
   ========================================================= */
#page-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3.5px;
    background: var(--color-accent);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.8);
    z-index: 99999;
    transition: width 0.25s ease, opacity 0.3s ease;
    pointer-events: none;
}

/* =========================================================
   Scroll Animations (Safe & Non-blocking)
   ========================================================= */
.hover-lift {
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lift);
}

/* Default visible to prevent blank/broken pages */
.reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-zoom, .reveal-fade {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animate only when animation class is active */
.js-anim .reveal-up {
    opacity: 0;
    transform: translateY(28px);
}
.js-anim .reveal-left {
    opacity: 0;
    transform: translateX(-30px);
}
.js-anim .reveal-right {
    opacity: 0;
    transform: translateX(30px);
}
.js-anim .reveal-zoom {
    opacity: 0;
    transform: scale(0.94);
}
.js-anim .reveal-fade {
    opacity: 0;
}

.js-anim .is-revealed {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* =========================================================
   Mobile Precision & Deep Responsiveness Design System
   ========================================================= */

/* Global Mobile Fixes */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-text-size-adjust: 100%;
}

/* Prevent iOS Auto-Zoom on Form Focus */
@media (max-width: 767.98px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="tel"],
    input[type="url"],
    input[type="search"],
    input[type="date"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Responsive Touch Targets */
button, .btn, .nav-link, .dropdown-item, .page-link {
    touch-action: manipulation;
}

/* Responsive Section Spacing */
@media (max-width: 991.98px) {
    :root {
        --section-spacing: 3.5rem;
    }
    .section-header {
        margin-bottom: 2.25rem;
    }
}

@media (max-width: 575.98px) {
    :root {
        --section-spacing: 2.75rem;
    }
    .section-title {
        font-size: 1.55rem;
        line-height: 1.25;
    }
    .section-subtitle {
        font-size: 0.88rem;
    }
}

/* Desktop Medium Laptops (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .navbar-smk .navbar-brand {
        max-width: 250px;
        margin-right: 0.65rem;
    }
    .navbar-smk .navbar-brand-text {
        font-size: 0.88rem;
    }
    .navbar-smk .nav-link {
        font-size: 0.88rem;
        padding: 0.4rem 0.5rem !important;
    }
}

/* =========================================================
   Navbar & Mobile Menu Precision
   ========================================================= */
@media (max-width: 1199.98px) {
    .navbar-smk .navbar-brand {
        max-width: calc(100vw - 160px);
        margin-right: auto;
    }
    .navbar-smk .navbar-brand-text {
        font-size: 0.9rem;
        max-width: 100%;
    }
    .navbar-smk .navbar-collapse {
        background: #ffffff;
        border-radius: var(--radius);
        box-shadow: 0 16px 36px rgba(15, 44, 89, 0.14);
        border: 1px solid var(--color-border);
        padding: 1rem;
        margin-top: 0.65rem;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .navbar-smk .nav-link {
        padding: 0.7rem 0.85rem !important;
        border-bottom: 1px solid rgba(226, 232, 240, 0.6);
        border-radius: 8px;
        font-size: 0.95rem;
    }
    .navbar-smk .nav-link:last-child {
        border-bottom: none;
    }
    .navbar-smk .dropdown-menu {
        background-color: #f8fafc;
        border: 1px solid var(--color-border);
        border-radius: 10px;
        margin: 0.35rem 0 0.5rem;
        padding: 0.4rem;
        box-shadow: none;
    }
    .navbar-smk .dropdown-item {
        padding: 0.6rem 0.85rem;
        font-size: 0.9rem;
    }
    .navbar-smk .dropdown-item:hover {
        transform: translateX(4px);
    }
}

@media (max-width: 575.98px) {
    .top-announcement-bar {
        height: 32px;
        font-size: 0.72rem;
    }
    .announcement-badge {
        font-size: 0.62rem;
        padding: 0.15rem 0.4rem;
    }
    .navbar-smk.has-ticker {
        top: 32px;
    }
    .navbar-spacer.has-ticker {
        height: 94px;
    }
    .navbar-spacer {
        height: 62px;
    }
    .navbar-smk .navbar-brand {
        max-width: calc(100vw - 110px);
        margin-right: 0.35rem;
    }
    .navbar-smk .navbar-brand img {
        height: 32px;
        width: auto;
        flex-shrink: 0;
    }
    .navbar-smk .navbar-brand-text {
        font-size: 0.84rem;
        max-width: calc(100vw - 160px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 375px) {
    .navbar-smk .navbar-brand {
        max-width: calc(100vw - 100px);
    }
    .navbar-smk .navbar-brand-text {
        max-width: calc(100vw - 145px);
        font-size: 0.78rem;
    }
}

/* =========================================================
   Hero Slider Mobile Precision
   ========================================================= */
@media (max-width: 767.98px) {
    .hero-slide {
        min-height: 440px;
        padding: 3.5rem 0 4.5rem;
        text-align: center;
    }
    .hero-slide .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .hero-slide .row {
        width: 100%;
        justify-content: center;
        margin: 0;
    }
    .hero-slide .row > [class*="col-"] {
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-slide h1 {
        font-size: clamp(1.6rem, 5.5vw, 2.1rem);
        line-height: 1.25;
        margin: 0 auto 0.85rem;
        max-width: 100%;
        text-align: center;
    }
    .hero-slide p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin: 0 auto 1.5rem;
        max-width: 92%;
        text-align: center;
    }
    .hero-btn-group {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        gap: 0.75rem;
    }
    .btn-hero {
        width: 100%;
        max-width: 100%;
        min-height: 48px;
        font-size: 0.95rem;
        padding: 0.75rem 1.25rem;
        border-radius: 10px;
    }
    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        display: none;
    }
    .hero-slider .carousel-indicators {
        bottom: 0.85rem;
    }
}

/* =========================================================
   Cards, Grids & Sambutan Mobile Precision
   ========================================================= */
@media (max-width: 767.98px) {
    .sambutan-card {
        padding: 1.5rem 1.25rem;
    }
    .sambutan-photo-frame {
        max-width: 220px;
        margin: 0 auto 1.25rem;
    }
    .sambutan-photo-frame img {
        height: 260px;
    }
    .sambutan-card .sambutan-quote-icon {
        display: none;
    }
}

/* Stat & Fact Cards */
@media (max-width: 575.98px) {
    .stats-counter {
        padding: 1.25rem 0.85rem;
    }
    .stats-counter-number {
        font-size: 1.75rem;
    }
    .stats-counter-label {
        font-size: 0.8rem;
    }
    .profil-fact {
        padding: 0.85rem 0;
        gap: 0.75rem;
    }
    .profil-fact .bi {
        font-size: 1.15rem;
    }
    .profil-fact-label {
        font-size: 0.75rem;
    }
    .profil-fact-value {
        font-size: 0.88rem;
    }
}

/* Floating Widgets on Mobile */
@media (max-width: 575.98px) {
    .wa-widget-wrapper {
        bottom: 14px;
        right: 14px;
    }
    .btn-wa-float {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }
    .wa-popup-card {
        width: calc(100vw - 28px);
        right: 0;
        bottom: 60px;
        max-height: 75vh;
    }
    .btn-back-to-top {
        bottom: 14px;
        left: 14px;
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}

/* =========================================================
   History Timeline (Sejarah Sekolah)
   ========================================================= */
.history-timeline {
    position: relative;
    padding-left: 2.5rem;
    margin: 2.5rem 0;
}
.history-timeline::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 17px;
    width: 3px;
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-primary) 100%);
    border-radius: 3px;
}
.history-timeline-item {
    position: relative;
    margin-bottom: 2.25rem;
}
.history-timeline-item:last-child {
    margin-bottom: 0;
}
.history-timeline-dot {
    position: absolute;
    left: -2.5rem;
    top: 4px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
    z-index: 2;
}
.history-timeline-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.history-timeline-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-lift);
}
.history-timeline-year {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-bottom: 0.35rem;
}
@media (max-width: 575.98px) {
    .history-timeline {
        padding-left: 2rem;
    }
    .history-timeline::before {
        left: 13px;
    }
    .history-timeline-dot {
        left: -2rem;
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
        top: 2px;
    }
    .history-timeline-card {
        padding: 1.15rem 1rem;
    }
}

/* =========================================================
   Universal Mobile Precision & Touch Ergonomics (< 768px)
   ========================================================= */
@media (max-width: 767.98px) {
    /* Section Headers */
    .section {
        padding: 3rem 0;
    }
    .section-header {
        margin-bottom: 2rem;
    }
    .section-title {
        font-size: clamp(1.4rem, 5vw, 1.85rem);
        line-height: 1.28;
    }
    .section-subtitle {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    /* Cards & Grids */
    .jurusan-card-img-wrap,
    .berita-card-img-wrap {
        height: 175px;
    }
    .jurusan-card-body,
    .berita-card-body {
        padding: 1.15rem;
    }
    .jurusan-card-title,
    .berita-card-title {
        font-size: 1.05rem;
    }
    .testimoni-card {
        padding: 1.25rem 1rem;
    }

    /* Filter Pills Nav (Touch-Friendly Horizontal Scroll) */
    .filter-pills-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
        margin-bottom: 1.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .filter-pills-nav::-webkit-scrollbar {
        display: none;
    }
    .filter-pills-nav .btn {
        flex-shrink: 0;
        font-size: 0.82rem;
        padding: 0.4rem 0.85rem;
    }

    /* Video Tour */
    .section-video-tour {
        padding: 3.25rem 0;
    }
    .video-container-card {
        border-radius: var(--radius);
        border-width: 2px;
    }

    /* Footer Layout on Mobile */
    .footer-smk {
        padding-top: 3rem;
    }
    .footer-smk .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.25rem;
    }

    /* Breadcrumbs */
    .breadcrumb {
        font-size: 0.78rem;
        flex-wrap: wrap;
    }

    /* Modals & Dialogs */
    .modal-dialog {
        margin: 0.75rem;
    }

    /* SKL Countdown on Mobile */
    #countdownWrapper > div {
        min-width: 65px !important;
        padding: 0.65rem 0.4rem !important;
    }
    #countdownWrapper .display-6 {
        font-size: 1.5rem !important;
    }
}

/* Fractional Spacing Utilities Support */
.p-1\.5 { padding: 0.375rem !important; }
.p-2\.5 { padding: 0.625rem !important; }
.p-3\.5 { padding: 1.15rem !important; }
.py-1\.5 { padding-top: 0.375rem !important; padding-bottom: 0.375rem !important; }
.px-1\.5 { padding-left: 0.375rem !important; padding-right: 0.375rem !important; }
.py-2\.5 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }
.px-2\.5 { padding-left: 0.625rem !important; padding-right: 0.625rem !important; }
.gap-2\.5 { gap: 0.625rem !important; }

/* =========================================================
   PPDB Fast-Action Landing Page Banner Card (Solid Clean)
   ========================================================= */
.ppdb-cta-card {
    background: linear-gradient(135deg, #101B32 0%, #173D6C 100%);
    border-radius: var(--radius-xl);
    padding: clamp(2.25rem, 4vw, 3.25rem);
    color: #ffffff;
    position: relative;
    box-shadow: 0 16px 36px rgba(16, 27, 50, 0.24);
    border: 1px solid rgba(50, 185, 237, 0.25);
}
.ppdb-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    padding: 0.4rem 1rem;
    border-radius: 50px;
}
.ppdb-cta-title {
    font-size: clamp(1.6rem, 3.2vw, 2.25rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-top: 1rem;
    margin-bottom: 0.85rem;
}
.ppdb-cta-desc {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 680px;
}
.ppdb-cta-highlight {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 0.7rem 1.15rem;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #ffffff;
    font-size: 0.88rem;
}
@media (max-width: 767.98px) {
    .ppdb-cta-card {
        padding: 2rem 1.35rem;
        border-radius: 16px;
    }
}
