/* ============================================================
   DARUL MUSTHOFA — Design System & Custom Styles
   ============================================================
   Teknologi: Bootstrap 5.3.x + Custom CSS
   Karakter: Islami, Modern, Hangat, Profesional
   ============================================================ */

/* ============================================================
   0. FONT FACE — Self-hosted Google Fonts
   ============================================================ */

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('../vendor/fonts/outfit-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
        U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../vendor/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
        U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   1. CSS VARIABLES — Design Tokens
   ============================================================ */

:root {
    /* Layout, Typography & Geometry Tokens (Global) */
    --dm-bg: #FFFFFF;
    --dm-text: #2D2D2D;
    --dm-text-light: #555555;
    --dm-muted: #888888;
    --dm-radius: 8px;
    --dm-radius-lg: 16px;
    --dm-radius-xl: 24px;
    --dm-transition: 0.3s ease;
    --dm-transition-slow: 0.5s ease;
    --dm-font-heading: 'Outfit', 'Segoe UI', sans-serif;
    --dm-font-body: 'Inter', 'Segoe UI', sans-serif;
    --dm-section-py: 5rem;
    --dm-section-py-sm: 3.5rem;

    /* Fallback / Default Palette: Emerald Pesantren */
    --dm-primary: #1B6B3A;
    --dm-primary-rgb: 27, 107, 58;
    --dm-primary-dark: #0F4D28;
    --dm-primary-light: #2D8B4E;
    --dm-secondary: #3DA35D;
    --dm-secondary-light: #5CB97A;
    --dm-accent: #C5A55A;
    --dm-accent-rgb: 197, 165, 90;
    --dm-accent-light: #D4BA7A;
    --dm-accent-dark: #A88B3D;
    --dm-bg-alt: #F8F6F1;
    --dm-surface: #FBF9F4;
    --dm-border: #E8E4DC;
    --dm-shadow-sm: 0 2px 8px rgba(27, 107, 58, 0.06);
    --dm-shadow: 0 4px 20px rgba(27, 107, 58, 0.08);
    --dm-shadow-lg: 0 8px 40px rgba(27, 107, 58, 0.12);
    --dm-shadow-accent: 0 4px 20px rgba(197, 165, 90, 0.15);
}

/* ============================================================
   5 THEME COLOR PALETTES (Frontend & Public Website)
   ============================================================ */

/* 1. Emerald Pesantren (Default / Klasik Islami) */
:root[data-palette="emerald"],
[data-palette="emerald"] {
    --dm-primary: #1B6B3A;
    --dm-primary-rgb: 27, 107, 58;
    --dm-primary-dark: #0F4D28;
    --dm-primary-light: #2D8B4E;
    --dm-secondary: #3DA35D;
    --dm-secondary-light: #5CB97A;
    --dm-accent: #C5A55A;
    --dm-accent-rgb: 197, 165, 90;
    --dm-accent-light: #D4BA7A;
    --dm-accent-dark: #A88B3D;
    --dm-bg-alt: #F8F6F1;
    --dm-surface: #FBF9F4;
    --dm-border: #E8E4DC;
    --dm-shadow-sm: 0 2px 8px rgba(27, 107, 58, 0.06);
    --dm-shadow: 0 4px 20px rgba(27, 107, 58, 0.08);
    --dm-shadow-lg: 0 8px 40px rgba(27, 107, 58, 0.12);
    --dm-shadow-accent: 0 4px 20px rgba(197, 165, 90, 0.15);
}

/* 2. Ocean Midnight (Biru Profesional Modern) */
:root[data-palette="ocean"],
[data-palette="ocean"] {
    --dm-primary: #1A5F8A;
    --dm-primary-rgb: 26, 95, 138;
    --dm-primary-dark: #0D3E5D;
    --dm-primary-light: #2A7BAE;
    --dm-secondary: #257BAE;
    --dm-secondary-light: #489BCF;
    --dm-accent: #0284C7;
    --dm-accent-rgb: 2, 132, 199;
    --dm-accent-light: #38BDF8;
    --dm-accent-dark: #0369A1;
    --dm-bg-alt: #F0F5FA;
    --dm-surface: #F6F9FC;
    --dm-border: #DDE7F0;
    --dm-shadow-sm: 0 2px 8px rgba(26, 95, 138, 0.06);
    --dm-shadow: 0 4px 20px rgba(26, 95, 138, 0.08);
    --dm-shadow-lg: 0 8px 40px rgba(26, 95, 138, 0.12);
    --dm-shadow-accent: 0 4px 20px rgba(2, 132, 199, 0.15);
}

/* 3. Royal Amethyst (Ungu Bangsawan & Mewah) */
:root[data-palette="amethyst"],
[data-palette="amethyst"] {
    --dm-primary: #6B21A8;
    --dm-primary-rgb: 107, 33, 168;
    --dm-primary-dark: #4C1D95;
    --dm-primary-light: #8B3DC9;
    --dm-secondary: #7E22CE;
    --dm-secondary-light: #A855F7;
    --dm-accent: #C084FC;
    --dm-accent-rgb: 192, 132, 252;
    --dm-accent-light: #E9D5FF;
    --dm-accent-dark: #9333EA;
    --dm-bg-alt: #F7F3FA;
    --dm-surface: #FAF7FC;
    --dm-border: #E8DFF5;
    --dm-shadow-sm: 0 2px 8px rgba(107, 33, 168, 0.06);
    --dm-shadow: 0 4px 20px rgba(107, 33, 168, 0.08);
    --dm-shadow-lg: 0 8px 40px rgba(107, 33, 168, 0.12);
    --dm-shadow-accent: 0 4px 20px rgba(192, 132, 252, 0.18);
}

/* 4. Crimson Dusk (Merah Marun & Emas Senja) */
:root[data-palette="crimson"],
[data-palette="crimson"] {
    --dm-primary: #991B1B;
    --dm-primary-rgb: 153, 27, 27;
    --dm-primary-dark: #7F1D1D;
    --dm-primary-light: #B91C1C;
    --dm-secondary: #B45309;
    --dm-secondary-light: #D97706;
    --dm-accent: #F59E0B;
    --dm-accent-rgb: 245, 158, 11;
    --dm-accent-light: #FDE68A;
    --dm-accent-dark: #D97706;
    --dm-bg-alt: #FAF4F4;
    --dm-surface: #FDF8F8;
    --dm-border: #EEDCDC;
    --dm-shadow-sm: 0 2px 8px rgba(153, 27, 27, 0.06);
    --dm-shadow: 0 4px 20px rgba(153, 27, 27, 0.08);
    --dm-shadow-lg: 0 8px 40px rgba(153, 27, 27, 0.12);
    --dm-shadow-accent: 0 4px 20px rgba(245, 158, 11, 0.18);
}

/* 5. Slate Graphite (Abu-abu Gelap Minimalis Kontemporer) */
:root[data-palette="slate"],
[data-palette="slate"] {
    --dm-primary: #334155;
    --dm-primary-rgb: 51, 65, 85;
    --dm-primary-dark: #1E293B;
    --dm-primary-light: #475569;
    --dm-secondary: #475569;
    --dm-secondary-light: #64748B;
    --dm-accent: #0EA5E9;
    --dm-accent-rgb: 14, 165, 233;
    --dm-accent-light: #7DD3FC;
    --dm-accent-dark: #0284C7;
    --dm-bg-alt: #F1F5F9;
    --dm-surface: #F8FAFC;
    --dm-border: #E2E8F0;
    --dm-shadow-sm: 0 2px 8px rgba(51, 65, 85, 0.06);
    --dm-shadow: 0 4px 20px rgba(51, 65, 85, 0.08);
    --dm-shadow-lg: 0 8px 40px rgba(51, 65, 85, 0.12);
    --dm-shadow-accent: 0 4px 20px rgba(14, 165, 233, 0.18);
}

/* ============================================================
   2. GLOBAL RESET & BASE
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--dm-font-body);
    color: var(--dm-text);
    background-color: var(--dm-bg);
    background-image: url('../img/motif.svg');
    background-attachment: fixed;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--dm-font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--dm-text);
}

.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6,
h1.text-white, h2.text-white, h3.text-white, h4.text-white, h5.text-white, h6.text-white,
.dm-page-hero h1, .dm-page-hero h2, .dm-form-hero h1, .dm-form-hero h2 {
    color: #ffffff !important;
}

b, strong {
    font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
    font-weight: 700;
}

i:not([class*="bi-"]):not([class*="fa-"]):not([class*="icon"]), em {
    font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
    font-style: italic;
}

a {
    color: var(--dm-primary);
    text-decoration: none;
    transition: color var(--dm-transition);
}

a:hover {
    color: var(--dm-primary-dark);
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================
   3. SECTION HEADING PATTERN
   ============================================================ */

.dm-section {
    padding: var(--dm-section-py) 0;
}

.dm-section-alt {
    background-color: var(--dm-bg-alt);
    background-image: url('../img/motif.svg');
    background-attachment: fixed;
}

.dm-section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.dm-section-heading .dm-subtitle {
    display: inline-block;
    font-family: var(--dm-font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dm-accent-dark);
    margin-bottom: 0.75rem;
    position: relative;
    padding: 0 1rem;
}

.dm-section-heading .dm-subtitle::before,
.dm-section-heading .dm-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--dm-accent);
    transform: translateY(-50%);
}

.dm-section-heading .dm-subtitle::before {
    left: -30px;
}

.dm-section-heading .dm-subtitle::after {
    right: -30px;
}

.dm-section-heading h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dm-text);
    margin-bottom: 1rem;
}

.dm-section-heading p {
    font-size: 1.05rem;
    color: var(--dm-text-light);
    max-width: 640px;
    margin: 0 auto;
}

/* ============================================================
   4. TOP BAR
   ============================================================ */

.dm-topbar {
    background: var(--dm-primary-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dm-topbar a {
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--dm-transition);
}

.dm-topbar a:hover {
    color: var(--dm-accent-light);
}

.dm-topbar i {
    font-size: 0.9rem;
}

.dm-topbar-item {
    white-space: nowrap;
}

.dm-topbar-address {
    min-width: 0;
    max-width: 260px;
}

.dm-topbar-address span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

@media (min-width: 992px) {
    .dm-topbar-address {
        max-width: 320px;
    }
}

@media (min-width: 1200px) {
    .dm-topbar-address {
        max-width: 420px;
    }
}

.dm-topbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    margin-left: 0.35rem;
    transition: all var(--dm-transition);
}

.dm-topbar-social a:hover {
    background: var(--dm-accent);
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 767.98px) {
    .dm-topbar {
        display: none;
    }
}

/* ============================================================
   5. NAVBAR
   ============================================================ */

.dm-navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--dm-shadow-sm);
    padding: 0.6rem 0;
    transition: all var(--dm-transition);
    z-index: 1030;
}

.dm-navbar.scrolled {
    padding: 0.4rem 0;
    box-shadow: var(--dm-shadow);
}

.dm-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--dm-font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dm-primary-dark);
    transition: color var(--dm-transition);
}

.dm-navbar .navbar-brand img {
    height: 42px;
    width: auto;
}

.dm-navbar .navbar-brand:hover {
    color: var(--dm-primary);
}

.dm-navbar .navbar-brand .brand-text {
    line-height: 1.2;
}

.dm-navbar .navbar-brand .brand-text small {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--dm-muted);
    letter-spacing: 0.5px;
}

.dm-navbar .nav-link {
    font-family: var(--dm-font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dm-text);
    padding: 0.5rem 0.85rem !important;
    transition: color var(--dm-transition);
    position: relative;
}

.dm-navbar .nav-link:hover,
.dm-navbar .nav-link.active {
    color: var(--dm-primary);
}

.dm-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.85rem;
    right: 0.85rem;
    height: 2px;
    background: var(--dm-primary);
    border-radius: 2px;
}

.dm-navbar .dropdown-menu {
    border: none;
    box-shadow: var(--dm-shadow);
    border-radius: var(--dm-radius);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dm-navbar .dropdown-item {
    font-size: 0.88rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all var(--dm-transition);
}

.dm-navbar .dropdown-item:hover {
    background: var(--dm-surface);
    color: var(--dm-primary);
}

.dm-navbar .dropdown-item i {
    font-size: 1rem;
    width: 24px;
    color: var(--dm-primary);
}

/* Navbar CTA Button */
.dm-btn-nav {
    font-family: var(--dm-font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background: var(--dm-primary);
    color: #fff !important;
    border: none;
    transition: all var(--dm-transition);
}

.dm-btn-nav:hover {
    background: var(--dm-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--dm-shadow);
}

/* Offcanvas mobile */
.dm-offcanvas {
    width: 300px;
}

.dm-offcanvas .offcanvas-header {
    background: var(--dm-primary-dark);
    color: #fff;
}

.dm-offcanvas .btn-close {
    filter: invert(1);
}

@media (max-width: 991.98px) {
    .dm-navbar .nav-link.active::after {
        display: none;
    }
}

/* Navbar Mobile Social Icons */
.dm-navbar-social-mobile {
    margin-left: auto;
    flex-shrink: 0;
}

.dm-nav-social-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(var(--dm-primary-rgb), 0.08);
    color: var(--dm-primary);
    border: 1px solid rgba(var(--dm-primary-rgb), 0.15);
    font-size: 0.92rem;
    line-height: 1;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.dm-nav-social-item:hover,
.dm-nav-social-item:focus,
.dm-nav-social-item:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.dm-nav-social-item.dm-nav-social-instagram:hover,
.dm-nav-social-item.dm-nav-social-instagram:focus,
.dm-nav-social-item.dm-nav-social-instagram:active {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(214, 36, 159, 0.4);
}

.dm-nav-social-item.dm-nav-social-youtube:hover,
.dm-nav-social-item.dm-nav-social-youtube:focus,
.dm-nav-social-item.dm-nav-social-youtube:active {
    background: #ff0000;
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(255, 0, 0, 0.4);
}

.dm-nav-social-item.dm-nav-social-tiktok:hover,
.dm-nav-social-item.dm-nav-social-tiktok:focus,
.dm-nav-social-item.dm-nav-social-tiktok:active {
    background: #010101;
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.dm-nav-social-item.dm-nav-social-facebook:hover,
.dm-nav-social-item.dm-nav-social-facebook:focus,
.dm-nav-social-item.dm-nav-social-facebook:active {
    background: #1877f2;
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(24, 119, 242, 0.4);
}

/* ============================================================
   6. BUTTONS
   ============================================================ */

.dm-btn {
    font-family: var(--dm-font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.7rem 1.75rem;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: all var(--dm-transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dm-btn i {
    font-size: 1.1rem;
}

.dm-btn-primary {
    background: var(--dm-primary);
    color: #fff;
    border-color: var(--dm-primary);
}

.dm-btn-primary:hover {
    background: var(--dm-primary-dark);
    border-color: var(--dm-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--dm-shadow);
}

.dm-btn-outline {
    background: transparent;
    color: var(--dm-primary);
    border-color: var(--dm-primary);
}

.dm-btn-outline:hover {
    background: var(--dm-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--dm-shadow);
}

.dm-btn-accent {
    background: var(--dm-accent);
    color: #fff;
    border-color: var(--dm-accent);
}

.dm-btn-accent:hover {
    background: var(--dm-accent-dark);
    border-color: var(--dm-accent-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--dm-shadow-accent);
}

.dm-btn-white {
    background: #fff;
    color: var(--dm-primary);
    border-color: #fff;
}

.dm-btn-white:hover {
    background: var(--dm-surface);
    border-color: var(--dm-surface);
    color: var(--dm-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--dm-shadow);
}

.dm-btn-whatsapp {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}

.dm-btn-whatsapp:hover {
    background: #1DA851;
    border-color: #1DA851;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.dm-btn-sm {
    font-size: 0.85rem;
    padding: 0.5rem 1.25rem;
}

.dm-btn-lg {
    font-size: 1.05rem;
    padding: 0.85rem 2.25rem;
}

/* ============================================================
   7. HERO SECTION
   ============================================================ */

.dm-hero {
    position: relative;
    overflow: hidden;
}

.dm-hero .carousel-item {
    height: 80vh;
    min-height: 550px;
    max-height: 900px;
}

.dm-hero .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dm-hero .dm-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(var(--dm-primary-rgb), 0.85) 0%,
        rgba(var(--dm-primary-rgb), 0.68) 50%,
        rgba(var(--dm-primary-rgb), 0.45) 100%
    );
    z-index: 1;
}

.dm-hero .dm-hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
}

.dm-hero .dm-hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.dm-hero .dm-hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 580px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.dm-hero .dm-hero-content .dm-hero-badge {
    display: inline-block;
    font-family: var(--dm-font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dm-accent-light);
    margin-bottom: 1rem;
    padding: 0.35rem 1rem;
    border: 1px solid rgba(197, 165, 90, 0.4);
    border-radius: 50px;
    background: rgba(197, 165, 90, 0.12);
}

.dm-hero .carousel-indicators {
    z-index: 3;
    margin-bottom: 2rem;
}

.dm-hero .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    opacity: 1;
    margin: 0 4px;
    transition: all var(--dm-transition);
}

.dm-hero .carousel-indicators [data-bs-target].active {
    background: var(--dm-accent);
    border-color: var(--dm-accent);
    width: 32px;
    border-radius: 12px;
}

.dm-hero .carousel-control-prev,
.dm-hero .carousel-control-next {
    z-index: 3;
    width: 5%;
    opacity: 0;
    transition: opacity var(--dm-transition);
}

.dm-hero:hover .carousel-control-prev,
.dm-hero:hover .carousel-control-next {
    opacity: 1;
}

.dm-hero .carousel-control-prev-icon,
.dm-hero .carousel-control-next-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background-size: 50%;
    backdrop-filter: blur(8px);
}

@media (max-width: 991.98px) {
    .dm-hero .carousel-item {
        height: 70vh;
        min-height: 450px;
    }

    .dm-hero .dm-hero-content h1 {
        font-size: 2.2rem;
    }

    .dm-hero .dm-hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .dm-hero .carousel-item {
        height: 85vh;
        min-height: 500px;
    }

    .dm-hero .dm-hero-content h1 {
        font-size: 1.75rem;
    }

    .dm-hero .dm-hero-content p {
        font-size: 0.9rem;
    }

    .dm-hero .carousel-control-prev,
    .dm-hero .carousel-control-next {
        display: none;
    }
}

/* ============================================================
   8. QUICK FACTS
   ============================================================ */

.dm-quickfacts {
    position: relative;
    margin-top: -60px;
    z-index: 10;
    padding-bottom: 0;
}

.dm-quickfacts-inner {
    background: #fff;
    border-radius: var(--dm-radius-lg);
    box-shadow: var(--dm-shadow-lg);
    padding: 2rem 1.5rem;
}

.dm-fact-item {
    text-align: center;
    padding: 1rem 0.5rem;
    position: relative;
}

.dm-fact-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: var(--dm-border);
}

.dm-fact-item:last-child::after {
    display: none;
}

.dm-fact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--dm-primary), var(--dm-secondary));
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.dm-fact-number {
    font-family: var(--dm-font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dm-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.dm-fact-label {
    font-size: 0.85rem;
    color: var(--dm-muted);
    font-weight: 500;
}

@media (max-width: 767.98px) {
    .dm-quickfacts {
        margin-top: -40px;
    }

    .dm-fact-item::after {
        display: none;
    }

    .dm-fact-item {
        border-bottom: 1px solid var(--dm-border);
        padding: 1.25rem 0.5rem;
    }

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

/* ============================================================
   9. ABOUT SECTION
   ============================================================ */

.dm-about-img {
    position: relative;
    border-radius: var(--dm-radius-lg);
    overflow: hidden;
}

.dm-about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--dm-radius-lg);
    transition: transform var(--dm-transition-slow);
}

.dm-about-img:hover img {
    transform: scale(1.03);
}

.dm-about-img .dm-about-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--dm-accent), var(--dm-accent-light));
    border-radius: var(--dm-radius-lg);
    z-index: -1;
}

.dm-about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.dm-about-value-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.dm-about-value-item i {
    font-size: 1.25rem;
    color: var(--dm-primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.dm-about-value-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dm-text);
}

@media (max-width: 575.98px) {
    .dm-about-values {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   10. EDUCATION SECTION
   ============================================================ */

.dm-edu-card {
    background: #fff;
    border-radius: var(--dm-radius-lg);
    overflow: hidden;
    box-shadow: var(--dm-shadow);
    transition: all var(--dm-transition);
    height: 100%;
}

.dm-edu-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--dm-shadow-lg);
}

.dm-edu-card-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.dm-edu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dm-transition-slow);
}

.dm-edu-card:hover .dm-edu-card-img img {
    transform: scale(1.05);
}

.dm-edu-card-img .dm-edu-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 1rem;
    background: var(--dm-accent);
    color: #fff;
    font-family: var(--dm-font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.dm-edu-card-body {
    padding: 1.75rem;
}

.dm-edu-card-body h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dm-primary-dark);
}

.dm-edu-card-body p {
    font-size: 0.92rem;
    color: var(--dm-text-light);
    margin-bottom: 1.25rem;
}

.dm-edu-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.dm-edu-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: var(--dm-text);
    padding: 0.4rem 0;
}

.dm-edu-list li i {
    color: var(--dm-primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* ============================================================
   11. VALUES / WHY SECTION
   ============================================================ */

.dm-value-card {
    text-align: center;
    padding: 2rem 1.25rem;
    background: #fff;
    border-radius: var(--dm-radius-lg);
    box-shadow: var(--dm-shadow-sm);
    transition: all var(--dm-transition);
    height: 100%;
    border: 1px solid transparent;
}

.dm-value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--dm-shadow);
    border-color: rgba(var(--dm-primary-rgb), 0.1);
}

.dm-value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: var(--dm-surface);
    color: var(--dm-primary);
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    transition: all var(--dm-transition);
}

.dm-value-card:hover .dm-value-icon {
    background: linear-gradient(135deg, var(--dm-primary), var(--dm-secondary));
    color: #fff;
    transform: scale(1.1) rotate(-3deg);
}

.dm-value-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.dm-value-card p {
    font-size: 0.88rem;
    color: var(--dm-text-light);
    margin-bottom: 0;
}

/* ============================================================
   12. TIMELINE — Sehari di Darul Musthofa
   ============================================================ */

.dm-timeline {
    position: relative;
    padding: 1rem 0;
}

.dm-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--dm-primary), var(--dm-secondary), var(--dm-accent));
    transform: translateX(-50%);
    border-radius: 3px;
}

.dm-timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.dm-timeline-item:last-child {
    margin-bottom: 0;
}

.dm-timeline-item:nth-child(odd) {
    flex-direction: row;
}

.dm-timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.dm-timeline-content {
    width: calc(50% - 40px);
    background: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: var(--dm-radius);
    box-shadow: var(--dm-shadow-sm);
    transition: all var(--dm-transition);
}

.dm-timeline-content:hover {
    box-shadow: var(--dm-shadow);
    transform: translateY(-2px);
}

.dm-timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--dm-primary);
    border: 3px solid #fff;
    border-radius: 50%;
    z-index: 2;
    box-shadow: var(--dm-shadow-sm);
}

.dm-timeline-time {
    font-family: var(--dm-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dm-primary);
    margin-bottom: 0.25rem;
}

.dm-timeline-title {
    font-size: 0.92rem;
    color: var(--dm-text);
    font-weight: 500;
    margin: 0;
}

@media (max-width: 767.98px) {
    .dm-timeline::before {
        left: 20px;
    }

    .dm-timeline-item,
    .dm-timeline-item:nth-child(odd),
    .dm-timeline-item:nth-child(even) {
        flex-direction: row;
        padding-left: 50px;
    }

    .dm-timeline-content {
        width: 100%;
    }

    .dm-timeline-dot {
        left: 20px;
    }
}

/* ============================================================
   13. CTA SECTION
   ============================================================ */

.dm-cta {
    background: linear-gradient(135deg, var(--dm-primary-dark) 0%, var(--dm-primary) 50%, var(--dm-secondary) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.dm-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(197, 165, 90, 0.08);
    border-radius: 50%;
}

.dm-cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.dm-cta h2 {
    color: #fff;
    font-size: 2.25rem;
    font-weight: 800;
}

.dm-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Alias for CTA Section in other pages */
.dm-cta-section {
    background: linear-gradient(135deg, var(--dm-primary-dark) 0%, var(--dm-primary) 50%, var(--dm-secondary) 100%);
    position: relative;
    overflow: hidden;
    padding: var(--dm-section-py) 0;
}

.dm-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(197, 165, 90, 0.08);
    border-radius: 50%;
}

.dm-cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

/* Alias for CTA Buttons */


/* ============================================================
   14. FOOTER
   ============================================================ */

.dm-footer {
    background: var(--dm-primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 0;
}

.dm-footer h5 {
    font-family: var(--dm-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.dm-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: var(--dm-accent);
    border-radius: 3px;
}

.dm-footer p {
    font-size: 0.88rem;
    line-height: 1.7;
}

.dm-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.dm-footer-brand img {
    height: 48px;
}

.dm-footer-brand span {
    font-family: var(--dm-font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
}

.dm-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    column-count: 2;
    column-gap: 1rem;
}

.dm-footer-links li {
    margin-bottom: 0.5rem;
    break-inside: avoid;
}

.dm-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    transition: all var(--dm-transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.dm-footer-links a:hover {
    color: var(--dm-accent-light);
    padding-left: 4px;
}

.dm-footer-links a i {
    font-size: 0.7rem;
}

.dm-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
}

.dm-footer-contact li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--dm-transition);
}

.dm-footer-contact li a:hover {
    color: var(--dm-accent-light);
}

.dm-footer-contact li i {
    color: var(--dm-accent);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.dm-footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dm-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    transition: all var(--dm-transition);
}

.dm-footer-social a:hover {
    background: var(--dm-accent);
    color: #fff;
    transform: translateY(-3px);
}

.dm-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 0;
    margin-top: 3rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   15. FLOATING WHATSAPP
   ============================================================ */

.dm-wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #25D366;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: var(--dm-font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    text-decoration: none;
    transition: all var(--dm-transition);
    animation: dm-wa-pulse 2s infinite;
}

.dm-wa-float:hover {
    background: #1DA851;
    color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
    animation: none;
}

.dm-wa-float i {
    font-size: 1.35rem;
}

@keyframes dm-wa-pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    }
    50% {
        box-shadow: 0 4px 28px rgba(37, 211, 102, 0.55);
    }
}

@media (max-width: 575.98px) {
    .dm-wa-float {
        width: 52px;
        height: 52px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        bottom: 16px;
        right: 16px;
    }

    .dm-wa-float .dm-wa-text {
        display: none;
    }

    .dm-wa-float i {
        font-size: 1.5rem;
    }
}

/* ============================================================
   16. CARD BASE
   ============================================================ */

.dm-card {
    background: #fff;
    border-radius: var(--dm-radius-lg);
    box-shadow: var(--dm-shadow-sm);
    overflow: hidden;
    transition: all var(--dm-transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.dm-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--dm-shadow);
}

.dm-card-img {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.dm-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dm-transition-slow);
}

.dm-card:hover .dm-card-img img {
    transform: scale(1.05);
}

.dm-card-body {
    padding: 1.5rem;
}

.dm-card-badge {
    display: inline-block;
    font-family: var(--dm-font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    background: rgba(var(--dm-primary-rgb), 0.1);
    color: var(--dm-primary);
    margin-bottom: 0.5rem;
}

.dm-card-date {
    font-size: 0.78rem;
    color: var(--dm-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.dm-card-title {
    font-family: var(--dm-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dm-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dm-card-text {
    font-size: 0.88rem;
    color: var(--dm-text-light);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.dm-card-link {
    font-family: var(--dm-font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dm-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all var(--dm-transition);
}

.dm-card-link:hover {
    color: var(--dm-primary-dark);
    gap: 0.65rem;
}

/* ============================================================
   16b. NEWS CARD (dm-news-*)
   ============================================================ */

.dm-news-card {
    background: #fff;
    border-radius: var(--dm-radius-lg);
    box-shadow: var(--dm-shadow-sm);
    overflow: hidden;
    transition: all var(--dm-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.dm-news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--dm-shadow);
}

.dm-news-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.dm-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dm-transition-slow);
}

.dm-news-card:hover .dm-news-img img {
    transform: scale(1.05);
}

.dm-news-category {
    display: inline-block;
    font-family: var(--dm-font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    background: rgba(var(--dm-primary-rgb), 0.9);
    color: #fff;
    z-index: 2;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background-color var(--dm-transition), color var(--dm-transition);
}

.dm-news-img .dm-news-category,
.dm-news-card > .dm-news-category {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
}

.dm-page-hero .dm-news-category {
    position: static;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

.dm-news-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dm-news-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--dm-muted);
    margin-bottom: 0.75rem;
}

.dm-news-meta i {
    font-size: 0.85rem;
}

.dm-news-title {
    font-family: var(--dm-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dm-news-title a {
    color: var(--dm-text);
    text-decoration: none;
    transition: color var(--dm-transition);
}

.dm-news-title a:hover {
    color: var(--dm-primary);
}

.dm-news-excerpt {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--dm-text-light);
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.dm-news-link {
    font-family: var(--dm-font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dm-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all var(--dm-transition);
    text-decoration: none;
    margin-top: auto;
}

.dm-news-link:hover {
    color: var(--dm-primary-dark);
    gap: 0.65rem;
}

@media (max-width: 575.98px) {
    .dm-news-img {
        height: 170px;
    }

    .dm-news-body {
        padding: 1.15rem;
    }

    .dm-news-title {
        font-size: 1rem;
    }
}

/* ============================================================
   16c. ARTICLE CONTENT (dm-article-content)
   ============================================================ */

.dm-article-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--dm-text);
    font-synthesis: weight style;
}

.dm-article-content strong,
.dm-article-content b {
    font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif !important;
    font-weight: 700 !important;
    color: #0F2419 !important;
}

.dm-article-content em,
.dm-article-content i {
    font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif !important;
    font-style: italic !important;
}

.dm-article-content strong em,
.dm-article-content strong i,
.dm-article-content b em,
.dm-article-content b i,
.dm-article-content em strong,
.dm-article-content i strong,
.dm-article-content em b,
.dm-article-content i b {
    font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    color: #0F2419 !important;
}

.dm-article-content u {
    text-decoration: underline !important;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
    text-decoration-color: var(--dm-primary);
}

.dm-article-content s,
.dm-article-content strike,
.dm-article-content del {
    text-decoration: line-through !important;
    color: #9CA3AF;
}

.dm-article-content p {
    margin-bottom: 1.25rem;
}

.dm-article-content h2 {
    font-family: var(--dm-font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dm-text);
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.35;
}

.dm-article-content h3 {
    font-family: var(--dm-font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dm-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.dm-article-content ul,
.dm-article-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.75rem;
}

.dm-article-content li {
    margin-bottom: 0.4rem;
}

.dm-article-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    background: rgba(var(--dm-primary-rgb), 0.05);
    border-left: 4px solid var(--dm-primary);
    border-radius: 0 var(--dm-radius) var(--dm-radius) 0;
    font-style: italic;
    color: var(--dm-text-light);
}

.dm-article-content a {
    color: var(--dm-primary);
    text-decoration: underline;
    font-weight: 500;
    transition: color var(--dm-transition);
}

.dm-article-content a:hover {
    color: var(--dm-primary-dark);
}

/* ============================================================
   17. SCROLL ANIMATIONS
   ============================================================ */

.dm-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.dm-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for children */
.dm-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.dm-stagger.visible > *:nth-child(1) { transition-delay: 0.1s; }
.dm-stagger.visible > *:nth-child(2) { transition-delay: 0.2s; }
.dm-stagger.visible > *:nth-child(3) { transition-delay: 0.3s; }
.dm-stagger.visible > *:nth-child(4) { transition-delay: 0.4s; }
.dm-stagger.visible > *:nth-child(5) { transition-delay: 0.5s; }
.dm-stagger.visible > *:nth-child(6) { transition-delay: 0.6s; }

.dm-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   18. GALLERY SECTION
   ============================================================ */

.dm-gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.dm-gallery-filter-btn,
.news-category-badge {
    font-family: var(--dm-font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.45rem 1.15rem;
    border-radius: 50px;
    border: 1.5px solid var(--dm-border);
    background: transparent;
    color: var(--dm-text-light);
    cursor: pointer;
    transition: all var(--dm-transition);
}

.dm-gallery-filter-btn:hover,
.news-category-badge:hover {
    border-color: var(--dm-primary);
    color: var(--dm-primary);
}

.dm-gallery-filter-btn.active,
.news-category-badge.active {
    background: var(--dm-primary);
    border-color: var(--dm-primary);
    color: #fff;
}

.dm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.dm-gallery-item {
    position: relative;
    border-radius: var(--dm-radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    transition: all 0.4s ease;
}

.dm-gallery-item.hidden {
    display: none;
}

.dm-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dm-transition-slow);
}

.dm-gallery-item:hover img {
    transform: scale(1.08);
}

.dm-gallery-item .dm-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 77, 40, 0.7) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--dm-transition);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.dm-gallery-item:hover .dm-gallery-overlay {
    opacity: 1;
}

.dm-gallery-overlay span {
    color: #fff;
    font-family: var(--dm-font-heading);
    font-size: 0.85rem;
    font-weight: 600;
}

.dm-gallery-overlay i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.75rem;
    color: #fff;
    opacity: 0.9;
}

@media (max-width: 991.98px) {
    .dm-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575.98px) {
    .dm-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

/* ============================================================
   19. MEDIA HUB SECTION
   ============================================================ */

.dm-media-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.dm-media-tab {
    font-family: var(--dm-font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: 1.5px solid var(--dm-border);
    background: transparent;
    color: var(--dm-text-light);
    cursor: pointer;
    transition: all var(--dm-transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.dm-media-tab:hover {
    border-color: var(--dm-primary);
    color: var(--dm-primary);
}

.dm-media-tab.active {
    background: var(--dm-primary);
    border-color: var(--dm-primary);
    color: #fff;
}

.dm-media-card {
    position: relative;
    border-radius: var(--dm-radius-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--dm-shadow-sm);
    transition: all var(--dm-transition);
    height: 100%;
}

.dm-media-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--dm-shadow);
}

.dm-media-card.hidden {
    display: none;
}

.dm-media-card-img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.dm-media-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dm-transition-slow);
}

.dm-media-card:hover .dm-media-card-img img {
    transform: scale(1.05);
}

.dm-media-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--dm-primary);
    transition: all var(--dm-transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.dm-media-card:hover .dm-media-card-play {
    transform: translate(-50%, -50%) scale(1.1);
    background: #fff;
}

.dm-media-card-platform {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-family: var(--dm-font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
}

.dm-media-card-platform.youtube { background: #FF0000; }
.dm-media-card-platform.instagram { background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737); }
.dm-media-card-platform.tiktok { background: #000000; }

.dm-media-card-body {
    padding: 1.15rem 1.25rem;
}

.dm-media-card-body h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dm-media-card-body .dm-media-date {
    font-size: 0.75rem;
    color: var(--dm-muted);
}

/* Detailed Media Cards for media.html */
.dm-media-thumb {
    position: relative;
    overflow: hidden;
}
.dm-media-thumb img {
    transition: transform var(--dm-transition-slow);
}
.dm-media-card:hover .dm-media-thumb img {
    transform: scale(1.05);
}
.dm-media-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    z-index: 2;
    display: inline-flex;
    align-items: center;
}
.dm-badge-youtube { background: #FF0000; }
.dm-badge-instagram { background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737); }
.dm-badge-tiktok { background: #000000; }
.dm-media-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dm-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 2;
    transition: all var(--dm-transition);
    opacity: 0;
}
.dm-media-card:hover .dm-media-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}
.dm-media-duration {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    z-index: 2;
}
.dm-media-body {
    padding: 1.5rem;
}
.dm-media-title {
    font-family: var(--dm-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dm-text);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dm-media-desc {
    font-size: 0.9rem;
    color: var(--dm-text-light);
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dm-media-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dm-primary);
    display: inline-flex;
    align-items: center;
    transition: color var(--dm-transition);
}
.dm-media-link:hover {
    color: var(--dm-primary-dark);
}

/* ============================================================
   20. ACHIEVEMENTS / PRESTASI
   ============================================================ */

.dm-achievement-card {
    background: #fff;
    border-radius: var(--dm-radius-lg);
    overflow: hidden;
    box-shadow: var(--dm-shadow-sm);
    transition: all var(--dm-transition);
    height: 100%;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.dm-achievement-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--dm-shadow);
    border-color: rgba(197, 165, 90, 0.25);
}

.dm-achievement-card-img {
    height: 180px;
    overflow: hidden;
    background: #f8fafc;
}

.dm-achievement-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dm-transition-slow);
}

.dm-achievement-img-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: zoom-in;
    overflow: hidden;
}

.dm-achievement-zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity var(--dm-transition);
    z-index: 1;
}

.dm-achievement-img-link:hover .dm-achievement-zoom-overlay {
    opacity: 1;
}

.dm-achievement-card:hover .dm-achievement-card-img img {
    transform: scale(1.05);
}

.dm-achievement-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(27, 107, 58, 0.08) 0%, rgba(197, 165, 90, 0.16) 100%);
    position: relative;
}

.dm-achievement-placeholder-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(197, 165, 90, 0.18);
    color: var(--dm-accent-dark);
    font-size: 2rem;
    transition: transform var(--dm-transition);
}

.dm-achievement-card:hover .dm-achievement-placeholder-bg {
    transform: scale(1.1);
}

.dm-achievement-card-body {
    padding: 1.5rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Jika ada gambar sebelum card body, overlap ikon di perbatasan gambar */
.dm-achievement-card-img + .dm-achievement-card-body {
    padding-top: 0;
}

.dm-achievement-card-img + .dm-achievement-card-body .dm-achievement-icon {
    margin: -26px auto 0.85rem;
}

.dm-achievement-peserta {
    font-size: 0.825rem;
    color: var(--dm-muted);
    margin-top: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ikon piala prestasi - selalu bulat penuh (tidak terpotong) */
.dm-achievement-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dm-accent), var(--dm-accent-dark));
    color: #fff;
    font-size: 1.35rem;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 14px rgba(197, 165, 90, 0.35);
    flex-shrink: 0;
}

/* Dukungan jika ikon ditaruh langsung di card tanpa pembungkus gambar */
.dm-achievement-card > .dm-achievement-icon {
    margin: 1.5rem auto 0.75rem;
}

.dm-achievement-title,
.dm-achievement-card h3,
.dm-achievement-card-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    line-height: 1.4;
    color: var(--dm-text);
}

.dm-achievement-level {
    display: inline-block;
    font-family: var(--dm-font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    background: rgba(197, 165, 90, 0.12);
    color: var(--dm-accent-dark);
    margin-bottom: 0.35rem;
}

.dm-achievement-year,
.dm-achievement-card p {
    font-size: 0.85rem;
    color: var(--dm-muted);
    margin-bottom: 0.5rem;
}

/* ============================================================
   21. FACILITIES / FASILITAS
   ============================================================ */

.dm-facility-card {
    background: #fff;
    border-radius: var(--dm-radius-lg);
    overflow: hidden;
    box-shadow: var(--dm-shadow-sm);
    transition: all var(--dm-transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dm-facility-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--dm-shadow);
    border-color: rgba(var(--dm-primary-rgb), 0.15);
}

.dm-facility-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--dm-transition-slow);
}

.dm-facility-card:hover img {
    transform: scale(1.05);
}

.dm-facility-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dm-facility-body h3,
.dm-facility-body h4 {
    font-family: var(--dm-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.65rem;
    color: var(--dm-text);
    line-height: 1.4;
}

.dm-facility-body p {
    font-size: 0.88rem;
    color: var(--dm-text-light);
    line-height: 1.65;
    margin-bottom: 0;
}

/* Fallback jika menggunakan overlay style */
.dm-facility-card .dm-facility-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 77, 40, 0.85) 0%, rgba(15, 77, 40, 0.1) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    transition: all var(--dm-transition);
}

.dm-facility-card .dm-facility-overlay h4 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.dm-facility-card .dm-facility-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    margin: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: all var(--dm-transition);
}

.dm-facility-card:hover .dm-facility-overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   22. TESTIMONIALS / TESTIMONI (SLIDER 1 BARIS)
   ============================================================ */

.dm-testimonial-slider-wrapper {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 3.25rem;
}

.dm-testimonial-carousel .carousel-inner {
    padding: 10px 4px 18px;
    overflow: hidden;
}

/* Custom Navigation Controls (Panah Kiri & Kanan) */
.dm-testimonial-control {
    position: absolute;
    top: calc(50% - 12px);
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(var(--dm-primary-rgb), 0.15);
    color: var(--dm-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: all var(--dm-transition);
    z-index: 5;
    opacity: 0.92;
    cursor: pointer;
}

.dm-testimonial-control:hover,
.dm-testimonial-control:focus {
    background: var(--dm-primary);
    color: #ffffff;
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 18px rgba(var(--dm-primary-rgb), 0.28);
    outline: none;
}

.dm-testimonial-control-prev {
    left: 0;
}

.dm-testimonial-control-next {
    right: 0;
}

/* Indikator Slide (Dots) */
.dm-testimonial-indicators {
    position: static;
    margin: 1.25rem 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.dm-testimonial-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(var(--dm-primary-rgb), 0.25);
    border: none;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
    cursor: pointer;
}

.dm-testimonial-indicators button.active {
    width: 28px;
    border-radius: 10px;
    background-color: var(--dm-primary);
    opacity: 1;
}

.dm-testimonial-card {
    background: #ffffff;
    border-radius: var(--dm-radius-lg, 16px);
    padding: 2.25rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(var(--dm-primary-rgb), 0.08);
    position: relative;
    overflow: hidden;
    transition: transform var(--dm-transition), box-shadow var(--dm-transition), border-color var(--dm-transition);
    display: flex;
    flex-direction: column;
}

.dm-testimonial-card:hover {
    box-shadow: 0 16px 36px rgba(var(--dm-primary-rgb), 0.12);
    transform: translateY(-4px);
    border-color: rgba(var(--dm-primary-rgb), 0.22);
}

/* Background watermark quote icon */
.dm-testimonial-card::after {
    content: '\201D';
    position: absolute;
    top: 0.5rem;
    right: 1.25rem;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(var(--dm-primary-rgb), 0.06);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

/* Inner flex: avatar on left, content on right */
.dm-testimonial-inner {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Avatar container */
.dm-testimonial-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

/* Circular photo */
.dm-testimonial-img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(var(--dm-primary-rgb), 0.15);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    display: block;
    background: #f8fafc;
}

/* Fallback circular letter avatar */
.dm-testimonial-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dm-primary), var(--dm-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: var(--dm-font-heading);
    font-weight: 700;
    font-size: 1.6rem;
    flex-shrink: 0;
    border: 3px solid rgba(var(--dm-primary-rgb), 0.15);
    box-shadow: 0 6px 16px rgba(var(--dm-primary-rgb), 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Decorative mini quote badge on avatar */
.dm-testimonial-badge-quote {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--dm-accent, #eab308);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    line-height: 1;
}

/* Content area */
.dm-testimonial-content {
    flex: 1;
    min-width: 0;
}

/* Star rating */
.dm-testimonial-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    display: flex;
    gap: 3px;
    margin-bottom: 0.65rem;
}

/* Quote text */
.dm-testimonial-quote {
    font-size: 0.95rem;
    color: var(--dm-text-light);
    line-height: 1.7;
    margin: 0 0 0.85rem 0;
    font-style: italic;
    border: none;
    padding: 0;
    position: relative;
    word-break: break-word;
}

/* Author wrapper under the quote */
.dm-testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(var(--dm-primary-rgb), 0.15);
}

/* Author name */
.dm-testimonial-name {
    font-family: var(--dm-font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    color: var(--dm-text);
    line-height: 1.3;
}

.dm-testimonial-name::after {
    display: none !important;
}

/* Author role / jabatan */
.dm-testimonial-role {
    font-size: 0.82rem;
    color: var(--dm-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dm-testimonial-role::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.6;
}

/* ============================================================
   23. NEWS / BERITA
   ============================================================ */

/* Uses dm-card base styles (section 16) */

/* ============================================================
   24. AGENDA / AKTIVITAS
   ============================================================ */

.dm-agenda-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: #fff;
    border-radius: var(--dm-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--dm-shadow-sm);
    transition: all var(--dm-transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    height: 100%;
}

.dm-agenda-card:hover {
    box-shadow: var(--dm-shadow);
    transform: translateY(-2px);
    border-color: rgba(var(--dm-primary-rgb), 0.15);
}

.dm-agenda-date {
    flex-shrink: 0;
    width: 72px;
    text-align: center;
    background: linear-gradient(180deg, #f8faf9 0%, #edf4ef 100%);
    border-radius: var(--dm-radius);
    padding: 0.85rem 0.5rem;
    border: 1px solid rgba(var(--dm-primary-rgb), 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dm-agenda-date .dm-agenda-day {
    font-family: var(--dm-font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dm-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.dm-agenda-date .dm-agenda-month {
    font-family: var(--dm-font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--dm-accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.1;
}

.dm-agenda-date .dm-agenda-year {
    font-size: 0.68rem;
    color: var(--dm-muted);
    margin-top: 0.2rem;
    line-height: 1;
}

.dm-agenda-info {
    flex: 1;
    min-width: 0;
}

.dm-agenda-info h2,
.dm-agenda-info h3,
.dm-agenda-info h4,
.dm-agenda-title {
    font-family: var(--dm-font-heading);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.45;
    margin-top: 0;
    margin-bottom: 0.65rem;
    color: var(--dm-text);
}

.dm-agenda-meta,
.dm-agenda-info p {
    font-size: 0.86rem;
    color: var(--dm-text-light);
    line-height: 1.5;
    margin-bottom: 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dm-agenda-meta:last-child,
.dm-agenda-info p:last-child {
    margin-bottom: 0;
}

.dm-agenda-meta i,
.dm-agenda-info p i,
.dm-agenda-location i {
    color: var(--dm-primary);
    font-size: 0.95rem;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.dm-agenda-location {
    font-size: 0.82rem;
    color: var(--dm-muted);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
}

.dm-agenda-desc {
    font-size: 0.85rem;
    color: var(--dm-text-light);
    line-height: 1.6;
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

/* ============================================================
   25. FAQ ACCORDION
   ============================================================ */

.dm-faq .accordion-item {
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all var(--dm-transition);
}

.dm-faq .accordion-item:hover {
    border-color: rgba(var(--dm-primary-rgb), 0.2);
}

.dm-faq .accordion-button {
    font-family: var(--dm-font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dm-text);
    padding: 1.1rem 1.5rem;
    background: #fff;
    box-shadow: none;
}

.dm-faq .accordion-button:not(.collapsed) {
    color: var(--dm-primary);
    background: var(--dm-surface);
    box-shadow: none;
}

.dm-faq .accordion-button::after {
    background-size: 1rem;
    width: 1rem;
    height: 1rem;
}

.dm-faq .accordion-body {
    font-size: 0.9rem;
    color: var(--dm-text-light);
    padding: 0.25rem 1.5rem 1.25rem;
    line-height: 1.75;
}

/* ============================================================
   26. LOCATION / MAP SECTION
   ============================================================ */

.dm-map-wrapper {
    border-radius: var(--dm-radius-lg);
    overflow: hidden;
    box-shadow: var(--dm-shadow);
    height: 350px;
}

.dm-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.dm-contact-info-card {
    background: #fff;
    border-radius: var(--dm-radius-lg);
    padding: 2rem;
    box-shadow: var(--dm-shadow-sm);
    height: 100%;
}

.dm-contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dm-contact-info-item:last-child {
    margin-bottom: 0;
}

.dm-contact-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--dm-surface);
    color: var(--dm-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all var(--dm-transition);
}

.dm-contact-info-item:hover .dm-contact-info-icon {
    background: var(--dm-primary);
    color: #fff;
}

.dm-contact-info-item h5 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    color: var(--dm-text);
}

.dm-contact-info-item h5::after {
    display: none;
}

.dm-contact-info-item p {
    font-size: 0.85rem;
    color: var(--dm-text-light);
    margin: 0;
}

/* ============================================================
   27. MISC / UTILITIES
   ============================================================ */

.dm-text-primary { color: var(--dm-primary) !important; }
.dm-text-accent { color: var(--dm-accent) !important; }
.dm-text-muted { color: var(--dm-muted) !important; }
.dm-bg-primary { background-color: var(--dm-primary) !important; }
.dm-bg-surface { background-color: var(--dm-surface) !important; }
.dm-bg-alt { background-color: var(--dm-bg-alt) !important; }

/* Back to top (for future use) */
.dm-back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--dm-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--dm-transition);
    box-shadow: var(--dm-shadow);
    border: none;
    cursor: pointer;
}

.dm-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.dm-back-to-top:hover {
    background: var(--dm-primary-dark);
    transform: translateY(-3px);
}

@media (max-width: 575.98px) {
    .dm-back-to-top {
        bottom: 80px;
        right: 16px;
    }

    .dm-section {
        padding: var(--dm-section-py-sm) 0;
    }

    .dm-section-heading h2 {
        font-size: 1.75rem;
    }

    .dm-section-heading p {
        font-size: 0.92rem;
    }
}

/* ============================================================
   21. ACCESSIBILITY & SKIP LINK
   ============================================================ */

.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--dm-accent);
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--dm-radius);
    font-weight: 600;
    z-index: 99999;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 20px;
    color: #fff;
    box-shadow: var(--dm-shadow-lg);
}

/* Focus visible styling */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--dm-accent);
    outline-offset: 2px;
}

/* ============================================================
   22. SUBPAGE BANNER & BREADCRUMB
   ============================================================ */

.dm-page-banner {
    position: relative;
    background: linear-gradient(135deg, var(--dm-primary-dark) 0%, var(--dm-primary) 50%, #15572E 100%);
    color: #fff;
    padding: 4.5rem 0 3.5rem;
    overflow: hidden;
}

.dm-page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(197, 165, 90, 0.18) 0%, transparent 50%),
                radial-gradient(circle at 15% 80%, rgba(61, 163, 93, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.dm-page-banner::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 24px;
    background: var(--dm-bg);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.dm-page-banner .dm-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(197, 165, 90, 0.35);
    color: var(--dm-accent-light);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    backdrop-filter: blur(4px);
}

.dm-page-banner h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.dm-page-banner p.lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    max-width: 680px;
    margin-bottom: 1.5rem;
}

.dm-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    padding: 0;
    list-style: none;
}

.dm-breadcrumb li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color var(--dm-transition);
}

.dm-breadcrumb li a:hover {
    color: var(--dm-accent-light);
}

.dm-breadcrumb li.active {
    color: var(--dm-accent-light);
    font-weight: 600;
}

.dm-breadcrumb li + li::before {
    content: '/';
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   23. FORMS & CONTROLS (Pendaftaran & Kontak)
   ============================================================ */

.dm-form-card {
    background: #fff;
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius-lg);
    box-shadow: var(--dm-shadow);
    padding: 2.5rem;
}

@media (max-width: 767.98px) {
    .dm-form-card {
        padding: 1.5rem;
    }
}

.dm-form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dm-text);
    margin-bottom: 0.5rem;
}

.dm-form-label .required {
    color: #dc3545;
    margin-left: 2px;
}

.dm-form-control,
.dm-form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border: 1.5px solid var(--dm-border);
    border-radius: var(--dm-radius);
    background-color: var(--dm-surface);
    color: var(--dm-text);
    transition: all var(--dm-transition);
}

.dm-form-control:focus,
.dm-form-select:focus {
    background-color: #fff;
    border-color: var(--dm-primary);
    box-shadow: 0 0 0 4px rgba(var(--dm-primary-rgb), 0.12);
    outline: none;
}

.dm-form-hint {
    font-size: 0.82rem;
    color: var(--dm-muted);
    margin-top: 0.35rem;
}

.dm-step-badge {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dm-primary), var(--dm-secondary));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: var(--dm-shadow-sm);
}

/* ============================================================
   24. ARTIKEL & DETAIL VIEW
   ============================================================ */

.dm-article-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #383838;
}

.dm-article-content p {
    margin-bottom: 1.4rem;
}

.dm-article-content h2,
.dm-article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dm-primary-dark);
}

.dm-article-content blockquote {
    border-left: 4px solid var(--dm-accent);
    background: var(--dm-surface);
    padding: 1.25rem 1.5rem;
    border-radius: 0 var(--dm-radius) var(--dm-radius) 0;
    font-style: italic;
    color: var(--dm-text);
    margin: 1.8rem 0;
}

.dm-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.88rem;
    color: var(--dm-muted);
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--dm-border);
}

.dm-article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.dm-share-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--dm-border);
    border-bottom: 1px solid var(--dm-border);
    margin: 2.5rem 0;
}

.dm-share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: transform var(--dm-transition);
}

.dm-share-btn:hover {
    transform: translateY(-3px);
    color: #fff;
}

.dm-share-btn.wa { background: #25D366; }
.dm-share-btn.fb { background: #1877F2; }
.dm-share-btn.tw { background: #1DA1F2; }
.dm-share-btn.copy { background: var(--dm-primary); }

/* ============================================================
   25. SIDEBAR & WIDGETS
   ============================================================ */

.dm-sidebar-widget {
    background: #fff;
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius-lg);
    padding: 1.75rem;
    margin-bottom: 2rem;
    box-shadow: var(--dm-shadow-sm);
}

.dm-widget-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dm-primary-dark);
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid var(--dm-border);
}

.dm-widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--dm-accent);
}

.dm-recent-post-item {
    display: flex;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--dm-border);
    align-items: center;
}

.dm-recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.dm-recent-post-img {
    width: 70px;
    height: 70px;
    border-radius: var(--dm-radius);
    object-fit: cover;
    flex-shrink: 0;
}

.dm-recent-post-info h6 {
    font-size: 0.92rem;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.dm-recent-post-info h6 a {
    color: var(--dm-text);
}

.dm-recent-post-info h6 a:hover {
    color: var(--dm-primary);
}

.dm-recent-post-info small {
    color: var(--dm-muted);
    font-size: 0.8rem;
}

/* ============================================================
   26. PAGINATION & BADGES
   ============================================================ */

.dm-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin-top: 2.5rem;
}

.dm-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: var(--dm-radius);
    background: #fff;
    border: 1px solid var(--dm-border);
    color: var(--dm-text);
    font-weight: 600;
    font-size: 0.92rem;
    transition: all var(--dm-transition);
}

.dm-page-link:hover,
.dm-page-link.active {
    background: var(--dm-primary);
    border-color: var(--dm-primary);
    color: #fff;
}

.dm-curriculum-badge {
    background: rgba(var(--dm-primary-rgb), 0.08);
    color: var(--dm-primary-dark);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.82rem;
    display: inline-block;
}

.dm-badge-gold {
    background: rgba(197, 165, 90, 0.15);
    color: var(--dm-accent-dark);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.82rem;
    display: inline-block;
}

/* ============================================================
   27. MOBILE BOTTOM NAVIGATION
   ============================================================ */

.dm-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.06);
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.dm-bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px 4px 6px;
    color: var(--dm-muted);
    text-decoration: none;
    font-size: 0.68rem;
    font-family: var(--dm-font-heading);
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.dm-bottom-nav-item i {
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

.dm-bottom-nav-item.active {
    color: var(--dm-primary);
}

.dm-bottom-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--dm-primary);
    border-radius: 0 0 3px 3px;
}

.dm-bottom-nav-item:hover:not(.active) {
    color: var(--dm-primary-light);
}

/* CTA center button (PPDB) */
.dm-bottom-nav-cta {
    position: relative;
}

.dm-bottom-nav-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dm-primary), var(--dm-secondary));
    color: #fff;
    font-size: 1.2rem;
    margin-top: -20px;
    box-shadow: 0 4px 16px rgba(var(--dm-primary-rgb), 0.3);
    transition: all 0.2s ease;
}

.dm-bottom-nav-cta-icon i {
    font-size: 1.2rem;
    color: #fff;
}

.dm-bottom-nav-cta.active .dm-bottom-nav-cta-icon {
    background: linear-gradient(135deg, var(--dm-primary-dark), var(--dm-primary));
    box-shadow: 0 4px 20px rgba(var(--dm-primary-rgb), 0.45);
}

.dm-bottom-nav-cta span:last-child {
    font-weight: 600;
    color: var(--dm-primary);
}

/* ============================================================
   28. MOBILE OFFCANVAS MENU GRID
   ============================================================ */

.dm-mobile-menu-offcanvas {
    border-radius: 20px 20px 0 0 !important;
    max-height: 75vh;
}

.dm-mobile-menu-offcanvas .offcanvas-header {
    border-bottom: 1px solid var(--dm-border);
    padding: 1rem 1.25rem;
}

.dm-mobile-menu-offcanvas .offcanvas-title {
    font-family: var(--dm-font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dm-primary-dark);
}

.dm-mobile-menu-offcanvas .offcanvas-body {
    padding: 1.25rem;
}

.dm-mobile-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.dm-mobile-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: var(--dm-text);
    padding: 0.75rem 0.25rem;
    border-radius: var(--dm-radius-lg);
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.dm-mobile-menu-item:hover,
.dm-mobile-menu-item:active {
    background: var(--dm-surface);
    color: var(--dm-primary);
}

.dm-mobile-menu-item.active {
    color: var(--dm-primary);
}

.dm-mobile-menu-item.active .dm-mobile-menu-icon {
    background: rgba(var(--dm-primary-rgb), 0.15);
    color: var(--dm-primary);
}

.dm-mobile-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--dm-surface);
    color: var(--dm-text-light);
    font-size: 1.3rem;
    transition: all 0.2s ease;
}

.dm-mobile-menu-icon-accent {
    background: linear-gradient(135deg, rgba(var(--dm-primary-rgb), 0.1), rgba(var(--dm-secondary-rgb, 61, 163, 93), 0.1));
    color: var(--dm-primary);
}

.dm-mobile-menu-item span:last-child {
    font-family: var(--dm-font-heading);
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
}

.dm-mobile-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 50px;
    background: #25D366;
    color: #fff;
    font-family: var(--dm-font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dm-mobile-wa-btn:hover {
    background: #1DA851;
    color: #fff;
}

/* ============================================================
   29. COMPREHENSIVE RESPONSIVE RULES
   ============================================================ */

/* ---- TABLET (max-width: 991.98px) ---- */
@media (max-width: 991.98px) {

    /* Sembunyikan navbar toggler di mobile (diganti bottom nav) */
    .dm-navbar .navbar-toggler {
        display: none !important;
    }

    /* Tambah padding bawah body agar konten tidak tertutup bottom nav */
    body {
        padding-bottom: 70px;
    }

    /* Navbar brand text — agar berdampingan rapi dengan ikon medsos */
    .dm-navbar .navbar-brand {
        gap: 0.5rem;
        font-size: 1rem;
        max-width: calc(100% - 150px);
        overflow: hidden;
    }

    .dm-navbar .navbar-brand .brand-text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .dm-navbar .navbar-brand .brand-text small {
        display: none;
    }

    /* Hero — turunkan tinggi */
    .dm-hero .carousel-item {
        height: 70vh;
        min-height: 420px;
    }

    .dm-hero .dm-hero-content h1 {
        font-size: 2rem;
    }

    .dm-hero .dm-hero-content p {
        font-size: 0.95rem;
    }

    .dm-hero .dm-hero-content .dm-hero-badge {
        font-size: 0.7rem;
        letter-spacing: 1px;
        padding: 0.3rem 0.75rem;
    }

    /* Section heading */
    .dm-section-heading h2 {
        font-size: 1.85rem;
    }

    /* CTA */
    .dm-cta h2 {
        font-size: 1.85rem;
    }

    .dm-cta p {
        font-size: 1rem;
    }

    /* Page banner */
    .dm-page-banner {
        padding: 3.5rem 0 2.5rem;
    }

    /* Geser floating WA & back-to-top ke atas agar tidak tertutup bottom nav */
    .dm-wa-float {
        bottom: 80px;
    }

    .dm-back-to-top {
        bottom: 148px;
    }

    /* Agenda card — stack di layar kecil */
    .dm-agenda-card {
        flex-direction: row;
        gap: 1rem;
    }

    /* Contact info */
    .dm-contact-info-card {
        padding: 1.5rem;
    }

    /* Pastikan tabel tidak overflow */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ---- SMALL TABLET (max-width: 767.98px) ---- */
@media (max-width: 767.98px) {

    /* Footer — stack kolom */
    .dm-footer .row > [class*='col-'] {
        text-align: center;
    }

    .dm-footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .dm-footer-brand {
        justify-content: center;
    }

    .dm-footer-social {
        justify-content: center;
    }

    .dm-footer-links {
        column-count: 2;
        text-align: left;
    }

    .dm-footer-contact {
        text-align: left;
    }

    .dm-footer-bottom .row {
        text-align: center;
    }

    .dm-footer-bottom .col-md-6 {
        text-align: center !important;
    }

    /* Edu card image — atur ulang tinggi */
    .dm-edu-card-img {
        height: 200px;
    }

    /* Timeline mobile */
    .dm-timeline::before {
        left: 20px;
    }

    .dm-timeline-item,
    .dm-timeline-item:nth-child(odd),
    .dm-timeline-item:nth-child(even) {
        flex-direction: row;
        padding-left: 50px;
    }

    .dm-timeline-content {
        width: 100%;
    }

    .dm-timeline-dot {
        left: 20px;
    }

    /* Quick facts */
    .dm-quickfacts {
        margin-top: -40px;
    }

    .dm-fact-item::after {
        display: none;
    }

    .dm-fact-item {
        border-bottom: 1px solid var(--dm-border);
        padding: 1.25rem 0.5rem;
    }

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

    /* About accent deco — sembunyikan agar tidak overflow */
    .dm-about-img .dm-about-accent {
        display: none;
    }

    /* About values — 1 kolom */
    .dm-about-values {
        grid-template-columns: 1fr;
    }

    /* Page banner */
    .dm-page-banner {
        padding: 3rem 0 2rem;
    }

    .dm-page-banner h1 {
        font-size: 1.75rem;
    }

    .dm-page-banner p.lead {
        font-size: 0.95rem;
    }

    /* Agenda card stack */
    .dm-agenda-card {
        flex-direction: column;
        gap: 0.75rem;
    }

    .dm-agenda-date {
        width: auto;
        display: inline-flex;
        gap: 0.5rem;
        align-items: center;
        padding: 0.5rem 0.85rem;
    }

    .dm-agenda-date .dm-agenda-day {
        font-size: 1.25rem;
    }

    /* Form card */
    .dm-form-card {
        padding: 1.25rem;
    }

    /* Map wrapper */
    .dm-map-wrapper {
        height: 250px;
    }
}

/* ---- PHONE (max-width: 575.98px) ---- */
@media (max-width: 575.98px) {

    /* Body / html — cegah overflow horizontal */
    html, body {
        overflow-x: hidden;
    }

    /* Navbar */
    .dm-navbar {
        padding: 0.4rem 0;
    }

    .dm-navbar .navbar-brand {
        gap: 0.4rem;
        font-size: 0.92rem;
        max-width: calc(100% - 145px);
    }

    .dm-navbar .navbar-brand > div:first-child {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.95rem !important;
        border-radius: 8px !important;
    }

    /* Hero */
    .dm-hero .carousel-item {
        height: 80vh;
        min-height: 420px;
    }

    .dm-hero .dm-hero-content h1 {
        font-size: 1.6rem;
        line-height: 1.25;
    }

    .dm-hero .dm-hero-content p {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .dm-hero .dm-hero-content .dm-hero-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.65rem;
    }

    .dm-hero .carousel-control-prev,
    .dm-hero .carousel-control-next {
        display: none;
    }

    /* Buttons — scale down */
    .dm-btn {
        font-size: 0.85rem;
        padding: 0.6rem 1.25rem;
    }

    .dm-btn-lg {
        font-size: 0.95rem;
        padding: 0.7rem 1.5rem;
    }

    /* Section heading */
    .dm-section {
        padding: var(--dm-section-py-sm) 0;
    }

    .dm-section-heading h2 {
        font-size: 1.5rem;
    }

    .dm-section-heading p {
        font-size: 0.88rem;
    }

    .dm-section-heading .dm-subtitle {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .dm-section-heading .dm-subtitle::before,
    .dm-section-heading .dm-subtitle::after {
        width: 20px;
    }

    .dm-section-heading .dm-subtitle::before {
        left: -22px;
    }

    .dm-section-heading .dm-subtitle::after {
        right: -22px;
    }

    /* CTA */
    .dm-cta h2 {
        font-size: 1.5rem;
    }

    .dm-cta p {
        font-size: 0.9rem;
    }

    /* Quick facts */
    .dm-fact-number {
        font-size: 1.75rem;
    }

    .dm-fact-label {
        font-size: 0.78rem;
    }

    /* Gallery grid */
    .dm-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    /* Value cards */
    .dm-value-card {
        padding: 1.5rem 1rem;
    }

    .dm-value-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .dm-value-card h4 {
        font-size: 1rem;
    }

    /* Edu card */
    .dm-edu-card-img {
        height: 180px;
    }

    .dm-edu-card-body {
        padding: 1.25rem;
    }

    .dm-edu-card-body h3 {
        font-size: 1.15rem;
    }

    /* Card base */
    .dm-card-body {
        padding: 1.15rem;
    }

    .dm-card-title {
        font-size: 1rem;
    }

    /* Testimonial Slider */
    .dm-testimonial-slider-wrapper {
        padding: 0;
    }

    .dm-testimonial-control {
        display: none;
    }

    .dm-testimonial-card {
        padding: 1.35rem 1.15rem;
    }

    .dm-testimonial-inner {
        gap: 0.9rem;
    }

    .dm-testimonial-img,
    .dm-testimonial-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.35rem;
    }

    .dm-testimonial-badge-quote {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
    }

    .dm-testimonial-quote {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .dm-testimonial-name {
        font-size: 0.98rem;
    }

    /* Achievement */
    .dm-achievement-card-img {
        height: 140px;
    }

    /* Footer */
    .dm-footer {
        padding: 3rem 0 0;
    }

    .dm-footer h5 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .dm-footer-links {
        column-count: 2;
        column-gap: 0.75rem;
    }

    .dm-footer-bottom {
        margin-top: 2rem;
        font-size: 0.75rem;
    }

    /* WA Float & Back to top */
    .dm-wa-float {
        bottom: 76px;
    }

    .dm-back-to-top {
        bottom: 140px;
    }

    /* Page banner */
    .dm-page-banner {
        padding: 2.5rem 0 1.75rem;
    }

    .dm-page-banner h1 {
        font-size: 1.5rem;
    }

    .dm-page-banner p.lead {
        font-size: 0.88rem;
    }

    .dm-breadcrumb {
        font-size: 0.78rem;
    }

    /* Article content */
    .dm-article-content {
        font-size: 0.95rem;
    }

    /* Mobile menu grid */
    .dm-mobile-menu-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .dm-mobile-menu-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 1.15rem;
    }

    .dm-mobile-menu-item span:last-child {
        font-size: 0.65rem;
    }

    /* Container override — sedikit padding */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ---- EXTRA SMALL (max-width: 380px) ---- */
@media (max-width: 380px) {

    .dm-navbar .navbar-brand {
        max-width: calc(100% - 125px);
        font-size: 0.85rem;
    }

    .dm-nav-social-item {
        width: 27px;
        height: 27px;
        font-size: 0.78rem;
    }

    .dm-navbar-social-mobile {
        gap: 0.2rem !important;
    }

    .dm-hero .dm-hero-content h1 {
        font-size: 1.35rem;
    }

    .dm-hero .dm-hero-content p {
        font-size: 0.8rem;
    }

    .dm-btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .dm-section-heading h2 {
        font-size: 1.35rem;
    }

    .dm-mobile-menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .dm-footer-links {
        column-count: 1;
    }

    .dm-bottom-nav-item {
        font-size: 0.6rem;
    }

    .dm-bottom-nav-item i {
        font-size: 1.1rem;
    }

    .dm-bottom-nav-cta-icon {
        width: 38px;
        height: 38px;
        margin-top: -16px;
    }

    .dm-bottom-nav-cta-icon i {
        font-size: 1rem;
    }
}

/* Pastikan bottom nav tetap tampil (override d-lg-none dari Bootstrap) */
@media (min-width: 992px) {
    .dm-bottom-nav {
        display: none !important;
    }
}

/* ============================================================
   GLOBAL PRINT STYLES
   Sembunyikan navigasi, topbar, offcanvas sidebar, float button,
   dan footer saat cetak dokumen/bukti
   ============================================================ */
@media print {
    .dm-topbar,
    .dm-navbar,
    .navbar,
    .offcanvas,
    .offcanvas-backdrop,
    .dm-offcanvas,
    .dm-mobile-menu-offcanvas,
    [class*="offcanvas"],
    .dm-bottom-nav,
    .dm-footer,
    footer,
    nav,
    header,
    .dm-wa-float,
    .dm-back-to-top,
    .skip-link,
    .d-print-none,
    #topbar,
    #mainNavbar,
    #navOffcanvas,
    #mobileMenuOffcanvas,
    #mobileBottomNav,
    #waFloat,
    #backToTop,
    .dm-bottom-ticker,
    .dm-dev-public-palette,
    div[style*="z-index: 9999"] {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}

/* ============================================================
   DEVELOPER FLOATING PALETTE SWITCHER (PUBLIC PAGES)
   ============================================================ */
.dm-dev-public-palette {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    font-family: var(--dm-font-heading);
}

.dm-dev-palette-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.88);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 14px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
}

.dm-dev-palette-toggle:hover {
    background: rgba(15, 23, 42, 0.98);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.4);
}

.dm-dev-palette-toggle i {
    font-size: 0.95rem;
    color: var(--dm-accent);
}

.dm-dev-palette-popup {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: none;
    flex-direction: column;
    gap: 8px;
    min-width: 190px;
    animation: dmDevPopupFade 0.2s ease;
}

.dm-dev-public-palette.is-open .dm-dev-palette-popup {
    display: flex !important;
    z-index: 10000;
}

@keyframes dmDevPopupFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.dm-dev-palette-popup-title {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dm-dev-palette-popup-name {
    color: var(--dm-accent);
    font-size: 0.65rem;
    font-weight: 600;
}

.dm-dev-palette-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.dm-pal-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    padding: 0;
    position: relative;
    background: linear-gradient(135deg, var(--pal-c) 52%, var(--pal-a) 52%);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.dm-pal-btn:hover {
    transform: scale(1.18);
    border-color: rgba(255, 255, 255, 0.7);
}

.dm-pal-btn.active {
    transform: scale(1.22);
    border-color: #FFFFFF;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 2px 6px rgba(0, 0, 0, 0.5);
}

.dm-pal-btn.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 991.98px) {
    .dm-dev-public-palette {
        bottom: 84px;
        left: 16px;
    }
}

/* ============================================================
   TEKS BERJALAN (BOTTOM MARQUEE TICKER / ANNOUNCEMENT BAR)
   ============================================================ */

.dm-bottom-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1045;
    background: #090d16;
    border-top: 1px solid rgba(245, 158, 11, 0.45);
    box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.4);
    height: 28px;
    display: flex;
    align-items: center;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.dm-bottom-ticker-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.dm-bottom-ticker-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #F59E0B;
    color: #000000;
    font-family: var(--dm-font-heading);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 0 8px;
    height: 100%;
    flex-shrink: 0;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.45);
}

.dm-bottom-ticker-marquee {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    cursor: default;
}

.dm-bottom-ticker-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    animation: dm-ticker-slide 35s linear infinite;
}

.dm-bottom-ticker-marquee:hover .dm-bottom-ticker-track,
.dm-bottom-ticker-marquee:focus .dm-bottom-ticker-track {
    animation-play-state: paused;
}

.dm-bottom-ticker-item {
    font-family: var(--dm-font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #FEF08A;
    display: inline-block;
}

.dm-bottom-ticker-sep {
    display: inline-block;
    color: #F59E0B;
    margin: 0 1.25rem;
    font-size: 0.85rem;
    line-height: 1;
}

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

/* Offset elemen halaman saat Bottom Ticker aktif */
body.has-bottom-ticker {
    padding-bottom: 28px;
}

body.has-bottom-ticker .dm-back-to-top {
    bottom: calc(24px + 28px);
}

body.has-bottom-ticker .dm-wa-float {
    bottom: calc(24px + 28px);
}

body.has-bottom-ticker .dm-dev-public-palette {
    bottom: calc(24px + 28px);
}

@media (max-width: 991.98px) {
    body.has-bottom-ticker {
        padding-bottom: calc(60px + 28px);
    }

    body.has-bottom-ticker .dm-bottom-nav {
        bottom: 28px;
    }

    body.has-bottom-ticker .dm-wa-float {
        bottom: calc(76px + 28px);
    }

    body.has-bottom-ticker .dm-back-to-top {
        bottom: calc(140px + 28px);
    }

    body.has-bottom-ticker .dm-dev-public-palette {
        bottom: calc(84px + 28px);
    }
}

/* CSS Live Preview di Admin */
.dm-admin-rt-preview-bar #rtMarqueeTrackPreview {
    animation: dm-ticker-slide 28s linear infinite;
    will-change: transform;
    display: inline-block;
    white-space: nowrap;
}
.dm-admin-rt-preview-bar:hover #rtMarqueeTrackPreview {
    animation-play-state: paused;
}

/* ============================================================
   22. PRESTASI GRID & INFINITE SCROLL
   ============================================================ */

.dm-prestasi-header-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1.1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    font-size: 0.88rem;
    color: #fff;
    margin-top: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.dm-prestasi-filter-bar {
    background: #fff;
    border-radius: var(--dm-radius-lg);
    box-shadow: var(--dm-shadow-sm);
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 2.5rem;
}

.dm-prestasi-filter-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dm-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dm-prestasi-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dm-prestasi-pill {
    padding: 0.35rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    color: var(--dm-text);
    background: #f1f5f9;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all var(--dm-transition);
    cursor: pointer;
    user-select: none;
}

.dm-prestasi-pill:hover {
    background: #e2e8f0;
    color: var(--dm-primary);
}

.dm-prestasi-pill.active {
    background: var(--dm-primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(var(--dm-primary-rgb), 0.3);
}

/* Animasi kemunculan item grid saat dimuat via infinite scroll */
.dm-prestasi-item-appear {
    animation: dmGridFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dmGridFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading & Sentinel Status */
.dm-prestasi-loader {
    text-align: center;
    padding: 2.5rem 1rem 1.5rem;
    display: none;
    width: 100%;
}

.dm-prestasi-loader.is-visible {
    display: block;
}

.dm-prestasi-spinner {
    width: 42px;
    height: 42px;
    border: 3.5px solid rgba(var(--dm-primary-rgb), 0.15);
    border-top-color: var(--dm-primary);
    border-radius: 50%;
    animation: dmSpin 0.85s linear infinite;
    margin: 0 auto 0.75rem;
}

.dm-prestasi-loader-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dm-primary);
}

.dm-prestasi-end-message {
    text-align: center;
    padding: 3rem 1rem 1rem;
    display: none;
    width: 100%;
}

.dm-prestasi-end-message.is-visible {
    display: block;
    animation: dmGridFadeIn 0.5s ease-out forwards;
}

.dm-prestasi-end-box {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    color: var(--dm-muted);
    font-size: 0.92rem;
    font-weight: 600;
    box-shadow: var(--dm-shadow-sm);
}

.dm-prestasi-end-box i {
    color: var(--dm-accent);
    font-size: 1.25rem;
}

.dm-prestasi-fallback-load {
    text-align: center;
    margin-top: 1.5rem;
    width: 100%;
}

/* Sentinel pembatas scroll */
#prestasi-sentinel {
    height: 20px;
    width: 100%;
}

@keyframes dmSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



