/**
 * ╔══════════════════════════════════════════════════════════╗
 * ║  DAARULKHAIRAAT - Modern CSS Framework                   ║
 * ║  DhaMus Design System v3.0                               ║
 * ║  Created with ❤️ by DhaMus Est. 2025                     ║
 * ║  Instagram: @espesaboeh                                  ║
 * ║  © 2025 DhaMus Development. All Rights Reserved.         ║
 * ╚══════════════════════════════════════════════════════════╝
 */

/* ═══════════════════════════════════════════════════════════
   DM ROOT VARIABLES - Modern Design Tokens
   ═══════════════════════════════════════════════════════════ */
:root {
    /* DM Color Palette */
    --dm-primary: #6C63FF;
    --dm-secondary: #00BFA6;
    --dm-accent: #FF6B6B;
    --dm-dark: #1A1A2E;
    --dm-darker: #0F0F1E;
    --dm-light: #F8F9FA;
    --dm-white: #FFFFFF;
    
    /* DM Gradients - More Transparent */
    --dm-gradient-primary: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    --dm-gradient-secondary: linear-gradient(135deg, rgba(240, 147, 251, 0.85) 0%, rgba(245, 87, 108, 0.85) 100%);
    --dm-gradient-success: linear-gradient(135deg, rgba(79, 172, 254, 0.85) 0%, rgba(0, 242, 254, 0.85) 100%);
    --dm-gradient-dark: linear-gradient(135deg, rgba(45, 53, 97, 0.85) 0%, rgba(192, 92, 126, 0.85) 100%);
    
    /* DM Transparent Overlays */
    --dm-overlay-light: rgba(255, 255, 255, 0.1);
    --dm-overlay-medium: rgba(255, 255, 255, 0.2);
    --dm-overlay-dark: rgba(0, 0, 0, 0.3);
    
    /* DM Spacing */
    --dm-space-xs: 0.5rem;
    --dm-space-sm: 1rem;
    --dm-space-md: 1.5rem;
    --dm-space-lg: 2rem;
    --dm-space-xl: 3rem;
    --dm-space-2xl: 4rem;
    
    /* DM Typography */
    --dm-font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --dm-font-display: 'Montserrat', var(--dm-font-sans);
    
    --dm-text-xs: 0.75rem;
    --dm-text-sm: 0.875rem;
    --dm-text-base: 1rem;
    --dm-text-lg: 1.125rem;
    --dm-text-xl: 1.25rem;
    --dm-text-2xl: 1.5rem;
    --dm-text-3xl: 1.875rem;
    --dm-text-4xl: 2.25rem;
    --dm-text-5xl: 3rem;
    
    /* DM Effects */
    --dm-shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.06);
    --dm-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --dm-shadow-md: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --dm-shadow-lg: 0 20px 25px rgba(0,0,0,0.15), 0 10px 10px rgba(0,0,0,0.04);
    --dm-shadow-xl: 0 25px 50px rgba(0,0,0,0.25);
    
    --dm-radius-sm: 0.375rem;
    --dm-radius: 0.5rem;
    --dm-radius-md: 0.75rem;
    --dm-radius-lg: 1rem;
    --dm-radius-xl: 1.5rem;
    --dm-radius-full: 9999px;
    
    --dm-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --dm-transition-fast: all 0.15s ease;
    --dm-transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════════════════
   DM RESET & BASE STYLES
   ═══════════════════════════════════════════════════════════ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--dm-font-sans);
    line-height: 1.6;
    color: var(--dm-dark);
    background: var(--dm-gradient-primary);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ═══════════════════════════════════════════════════════════
   DM CONTAINER & LAYOUT
   ═══════════════════════════════════════════════════════════ */
.dm-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--dm-space-md);
}

.dm-container-fluid {
    width: 100%;
    padding: 0 var(--dm-space-md);
}

.dm-container-narrow {
    max-width: 900px;
}

/* ═══════════════════════════════════════════════════════════
   DM NAVIGATION - Modern & Responsive
   ═══════════════════════════════════════════════════════════ */
.dm-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    transition: var(--dm-transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dm-nav.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.99);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.dm-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--dm-space-sm) 0;
}

.dm-nav-brand {
    display: flex;
    align-items: center;
    gap: var(--dm-space-sm);
    text-decoration: none;
    font-family: var(--dm-font-display);
    font-weight: 700;
    font-size: var(--dm-text-xl);
    color: var(--dm-dark);
    transition: var(--dm-transition-fast);
}

.dm-nav-brand:hover {
    transform: translateY(-2px);
}

.dm-nav-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.dm-nav-menu {
    display: flex;
    list-style: none;
    gap: var(--dm-space-sm);
    margin: 0;
    align-items: center;
}

.dm-nav-item {
    position: relative;
}

.dm-nav-link {
    text-decoration: none;
    color: var(--dm-dark);
    font-weight: 500;
    font-size: var(--dm-text-sm);
    padding: var(--dm-space-xs) var(--dm-space-md);
    border-radius: var(--dm-radius-md);
    transition: var(--dm-transition-fast);
    position: relative;
    white-space: nowrap;
}

.dm-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--dm-primary);
    transform: translateX(-50%);
    transition: var(--dm-transition-fast);
}

.dm-nav-link:hover,
.dm-nav-link.active {
    color: var(--dm-primary);
}

.dm-nav-link:hover::after,
.dm-nav-link.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.dm-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--dm-space-xs);
}

.dm-nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dm-dark);
    border-radius: var(--dm-radius-full);
    transition: var(--dm-transition-fast);
}

/* ═══════════════════════════════════════════════════════════
   DM HERO SECTION - Stunning & Animated
   ═══════════════════════════════════════════════════════════ */
.dm-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 2rem;
    color: var(--dm-white);
    /* Hapus background biru, biarkan banner/video yang menjadi background utama */
    background: transparent;
}

.dm-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Matikan overlay gradient biru sepenuhnya */
    background: none;
    z-index: 3;
    pointer-events: none;
}

@media (max-width: 768px) {
    .dm-hero {
        min-height: 90vh;
        padding-top: 60px;
    }
}

.dm-hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: var(--dm-space-2xl);
}

.dm-hero-title {
    font-family: var(--dm-font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--dm-space-md);
    line-height: 1.2;
    text-shadow: 0 4px 30px rgba(0,0,0,0.4), 0 2px 10px rgba(0,0,0,0.2);
    letter-spacing: -0.5px;
}

.dm-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    margin-bottom: var(--dm-space-lg);
    opacity: 0.98;
    line-height: 1.8;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
    letter-spacing: 0.3px;
}

.dm-hero-description {
    margin-bottom: var(--dm-space-lg);
}

/* Glassmorphism backgrounds on hero texts */
.dm-hero-title,
.dm-hero-subtitle,
.dm-hero-description {
    display: inline-block;
    padding: 0.4rem 1.8rem;
    border-radius: 999px;
    background: rgba(5, 10, 30, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.dm-hero-actions {
    display: flex;
    gap: var(--dm-space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero primary buttons - more compact & separated */
.dm-hero-actions .dm-btn {
    padding: 0.55rem 1.5rem;
    font-size: var(--dm-text-sm);
    border-radius: var(--dm-radius-full);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

/* ═══════════════════════════════════════════════════════════
   DM BUTTONS - Modern Design
   ═══════════════════════════════════════════════════════════ */
.dm-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--dm-space-xs);
    padding: var(--dm-space-sm) var(--dm-space-lg);
    font-family: var(--dm-font-sans);
    font-size: var(--dm-text-base);
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--dm-radius-lg);
    cursor: pointer;
    transition: var(--dm-transition);
    box-shadow: var(--dm-shadow);
}

.dm-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--dm-shadow-lg);
}

.dm-btn:active {
    transform: translateY(0);
}

.dm-btn-primary {
    background: var(--dm-white);
    color: var(--dm-primary);
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.2);
}

.dm-btn-primary:hover {
    box-shadow: 0 6px 30px rgba(108, 99, 255, 0.3);
}

.dm-btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--dm-white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.dm-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.dm-btn-outline {
    background: rgba(255, 255, 255, 0.15);
    color: var(--dm-white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.dm-btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ═══════════════════════════════════════════════════════════
   DM CARDS - Modern Grid
   ═══════════════════════════════════════════════════════════ */
.dm-section {
    padding: var(--dm-space-2xl) 0;
}

.dm-section-title {
    font-family: var(--dm-font-display);
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--dm-space-sm);
    color: var(--dm-white);
}

.dm-section-subtitle {
    text-align: center;
    font-size: var(--dm-text-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--dm-space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.dm-grid {
    display: grid;
    gap: var(--dm-space-lg);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.dm-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--dm-radius-xl);
    padding: var(--dm-space-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: var(--dm-transition);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.dm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    border-color: rgba(108, 99, 255, 0.3);
}

.dm-card-icon {
    width: 60px;
    height: 60px;
    background: var(--dm-gradient-primary);
    border-radius: var(--dm-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--dm-space-md);
    font-size: var(--dm-text-2xl);
}

.dm-card-title {
    font-family: var(--dm-font-display);
    font-size: var(--dm-text-xl);
    font-weight: 700;
    margin-bottom: var(--dm-space-sm);
    color: var(--dm-dark);
}

.dm-card-text {
    color: #666;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   DM PROGRAM CARDS
   ═══════════════════════════════════════════════════════════ */
.dm-program-card {
    background: var(--dm-white);
    border-radius: var(--dm-radius-xl);
    overflow: hidden;
    box-shadow: var(--dm-shadow-md);
    transition: var(--dm-transition);
}

.dm-program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--dm-shadow-xl);
}

.dm-program-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.dm-program-body {
    padding: var(--dm-space-lg);
}

.dm-program-title {
    font-family: var(--dm-font-display);
    font-size: var(--dm-text-xl);
    font-weight: 700;
    margin-bottom: var(--dm-space-sm);
    color: var(--dm-dark);
}

.dm-program-meta {
    display: flex;
    gap: var(--dm-space-md);
    margin-bottom: var(--dm-space-md);
    font-size: var(--dm-text-sm);
    color: #888;
}

.dm-program-desc {
    color: #666;
    margin-bottom: var(--dm-space-md);
    line-height: 1.7;
}

.dm-program-link {
    display: inline-block;
    color: var(--dm-primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--dm-transition-fast);
}

.dm-program-link:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════
   DM FOOTER - Modern, Thin & Minimalist
   ═══════════════════════════════════════════════════════════ */
.dm-footer {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(15, 15, 30, 0.95));
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    color: var(--dm-white);
    padding: var(--dm-space-lg) 0 var(--dm-space-md);
    margin-top: var(--dm-space-xl);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dm-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.dm-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--dm-space-lg);
    margin-bottom: var(--dm-space-md);
}

.dm-footer-section {
    position: relative;
}

.dm-footer-section h3 {
    font-family: var(--dm-font-display);
    font-size: var(--dm-text-lg);
    font-weight: 700;
    margin-bottom: var(--dm-space-sm);
    color: var(--dm-white);
    letter-spacing: 0.5px;
}

.dm-footer-section h4 {
    font-family: var(--dm-font-display);
    font-size: var(--dm-text-base);
    font-weight: 600;
    margin-bottom: var(--dm-space-sm);
    color: var(--dm-white);
    letter-spacing: 0.3px;
}

.dm-footer-section p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    font-size: var(--dm-text-xs);
    margin: 0;
}

/* Short description under logo */
.dm-footer-desc {
    margin-top: 0.1rem;
    margin-bottom: var(--dm-space-sm);
}

.dm-footer-section a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--dm-transition-fast);
    display: inline-block;
    font-size: var(--dm-text-xs);
    line-height: 1.8;
}

.dm-footer-section a:hover {
    color: var(--dm-white);
    transform: translateX(3px);
}

.dm-footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dm-footer-section ul li {
    margin-bottom: var(--dm-space-xs);
}

/* Compact contact list */
.dm-footer-contact {
    line-height: 1.6;
}

.dm-footer-contact-item {
    font-size: var(--dm-text-xs);
    margin-bottom: 0.35rem;
}

.dm-footer-contact-label {
    font-weight: 600;
    margin-right: 0.25rem;
    opacity: 0.9;
}

.dm-social-links {
    display: flex;
    gap: var(--dm-space-xs);
    margin-top: var(--dm-space-sm);
    flex-wrap: wrap;
}

.dm-social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--dm-radius);
    color: var(--dm-white);
    transition: var(--dm-transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dm-social-icon:hover {
    background: rgba(108, 99, 255, 0.2);
    border-color: rgba(108, 99, 255, 0.3);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.2);
}

.dm-footer-bottom {
    text-align: center;
    padding-top: var(--dm-space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--dm-text-xs);
}

.dm-footer-bottom p {
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
}

.dm-footer-bottom small {
    display: block;
    margin-top: var(--dm-space-xs);
    opacity: 0.5;
    font-size: 0.7rem;
    font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════
   DM ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
@keyframes dmFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dmFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes dmSlideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes dmSlideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 3D scroll-in animations */
.dm-animate-3d {
    opacity: 0;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, opacity;
    transition: opacity 0.7s cubic-bezier(0.19, 1, 0.22, 1),
                transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Default soft vertical rise */
.dm-animate-3d-up {
    transform: translate3d(0, 32px, 0) rotateX(4deg);
}

/* Side slides with milder angle so text tidak “patah” */
.dm-animate-3d-left {
    transform: translate3d(-32px, 12px, 0) rotateY(10deg);
}

.dm-animate-3d-right {
    transform: translate3d(60px, 10px, 0) rotateY(-18deg);
}

/* Front zoom, cocok untuk kartu / gambar */
.dm-animate-3d-front {
    transform: translate3d(0, 40px, -20px) scale(0.97);
}

/* Hero preset: sangat halus, tanpa rotasi besar */
.dm-animate-3d-hero {
    transform: translate3d(0, 24px, 0) scale(0.985);
}

.dm-animate-3d.dm-in-view {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) scale(1);
}

/* Slight 3D hover for cards */
.dm-card,
.dm-program-card {
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1),
                box-shadow 0.35s cubic-bezier(0.19, 1, 0.22, 1),
                border-color 0.35s cubic-bezier(0.19, 1, 0.22, 1);
}

.dm-card:hover,
.dm-program-card:hover {
    transform: translateY(-8px) rotateX(3deg) rotateY(-3deg);
}

/* ═══════════════════════════════════════════════════════════
   DM RESPONSIVE - Mobile First
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .dm-container {
        padding: 0 var(--dm-space-sm);
    }
    
    .dm-nav-container {
        padding: var(--dm-space-xs) 0;
    }
    
    .dm-nav-brand {
        font-size: var(--dm-text-base);
    }
    
    .dm-nav-logo {
        width: 32px;
        height: 32px;
    }
    
    .dm-nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--dm-space-md);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--dm-transition);
        gap: 0;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    .dm-nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .dm-nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .dm-nav-item:last-child {
        border-bottom: none;
    }
    
    .dm-nav-link {
        display: block;
        padding: var(--dm-space-md);
        width: 100%;
        text-align: left;
        border-radius: 0;
    }
    
    .dm-nav-link::after {
        display: none;
    }
    
    .dm-nav-toggle {
        display: flex;
    }
    
    .dm-nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .dm-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .dm-nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .dm-hero {
        padding-top: 60px;
        min-height: 90vh;
    }
    
    .dm-hero-content {
        padding: var(--dm-space-lg);
        border-radius: var(--dm-radius-lg);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
        background: rgba(10, 16, 35, 0.65);
    }
    
    .dm-hero-title {
        font-size: clamp(1.4rem, 6vw, 1.9rem);
    }
    
    .dm-hero-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }

    /* Samakan lebar pill text hero di mobile */
    .dm-hero-title,
    .dm-hero-subtitle,
    .dm-hero-description {
        width: 100%;
        max-width: 300px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .dm-hero-actions {
        flex-direction: column;
        gap: var(--dm-space-sm);
        align-items: center;
    }
    
    .dm-btn {
        width: 100%;
        justify-content: center;
        padding: var(--dm-space-md) var(--dm-space-lg);
    }

    /* Override for hero buttons on mobile: smaller & not full-width */
    .dm-hero-actions .dm-btn {
        width: auto;
        min-width: 130px;
        padding: 0.55rem 0.9rem;
    }
    
    .dm-grid {
        grid-template-columns: 1fr;
        gap: var(--dm-space-md);
    }
    
    .dm-card {
        padding: var(--dm-space-md);
    }
    
    .dm-footer {
        padding: var(--dm-space-md) 0 var(--dm-space-sm);
    }
    
    .dm-footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--dm-space-md) var(--dm-space-sm);
        text-align: left;
        margin-bottom: var(--dm-space-sm);
    }
    
    .dm-footer-section {
        text-align: left;
    }
    
    .dm-footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: var(--dm-space-md);
        margin-bottom: var(--dm-space-xs);
    }
    
    .dm-footer-section:first-child .dm-social-links {
        justify-content: center;
    }
    
    .dm-footer-section h3 {
        font-size: var(--dm-text-base);
        text-align: center;
    }
    
    .dm-footer-section h4 {
        font-size: var(--dm-text-sm);
        margin-bottom: var(--dm-space-xs);
    }
    
    .dm-footer-section ul {
        padding: 0;
    }
    
    .dm-footer-section ul li {
        margin-bottom: 0.3rem;
    }
    
    .dm-social-links {
        justify-content: flex-start;
    }
    
    .dm-footer-bottom {
        padding-top: var(--dm-space-sm);
        font-size: 0.7rem;
        text-align: center;
    }
    
    .dm-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: var(--dm-space-sm);
    }
}

@media (max-width: 480px) {
    .dm-hero-title {
        font-size: 1.5rem;
    }
    
    .dm-hero-subtitle {
        font-size: 0.9rem;
    }
    
    .dm-card {
        padding: var(--dm-space-sm);
    }
    
    .dm-footer-content {
        grid-template-columns: 1fr;
        gap: var(--dm-space-sm);
        text-align: left;
    }
    
    .dm-footer-section {
        text-align: left;
    }
    
    .dm-footer-section:first-child {
        grid-column: 1;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: var(--dm-space-sm);
        margin-bottom: var(--dm-space-xs);
        text-align: center;
    }
    
    .dm-footer-section h3 {
        text-align: center;
    }

    .dm-footer-section h4 {
        text-align: left;
    }
    
    .dm-social-links {
        justify-content: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .dm-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .dm-nav-menu {
        gap: var(--dm-space-xs);
    }
    
    .dm-nav-link {
        padding: var(--dm-space-xs) var(--dm-space-sm);
        font-size: var(--dm-text-xs);
    }
    
    .dm-footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Google Maps Style Override - Smaller Controls */
.gm-style {
    font-size: 12px !important;
}

.gm-style .gm-style-cc {
    font-size: 10px !important;
}

.gm-style .gm-style-iw {
    font-size: 13px !important;
}

.gm-style .gm-style-iw-c {
    padding: 8px !important;
}

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
}

/* Make Google Maps more compact */
iframe[src*="google.com/maps"] {
    border-radius: var(--dm-radius-lg) !important;
    box-shadow: var(--dm-shadow-md) !important;
}

/* ═══════════════════════════════════════════════════════════
   DM UTILITIES
   ═══════════════════════════════════════════════════════════ */
.dm-text-center { text-align: center; }
.dm-text-left { text-align: left; }
.dm-text-right { text-align: right; }

.dm-mt-0 { margin-top: 0; }
.dm-mt-1 { margin-top: var(--dm-space-xs); }
.dm-mt-2 { margin-top: var(--dm-space-sm); }
.dm-mt-3 { margin-top: var(--dm-space-md); }
.dm-mt-4 { margin-top: var(--dm-space-lg); }
.dm-mt-5 { margin-top: var(--dm-space-xl); }

.dm-mb-0 { margin-bottom: 0; }
.dm-mb-1 { margin-bottom: var(--dm-space-xs); }
.dm-mb-2 { margin-bottom: var(--dm-space-sm); }
.dm-mb-3 { margin-bottom: var(--dm-space-md); }
.dm-mb-4 { margin-bottom: var(--dm-space-lg); }
.dm-mb-5 { margin-bottom: var(--dm-space-xl); }

/* ═══════════════════════════════════════════════════════════
   DM Gallery & Images
   ═══════════════════════════════════════════════════════════ */
.dm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--dm-space-md);
}

.dm-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--dm-radius-lg);
    box-shadow: var(--dm-shadow);
    transition: var(--dm-transition);
    aspect-ratio: 1;
}

.dm-gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--dm-shadow-xl);
}

.dm-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════
   End DhaMus CSS Framework
   Powered by DM Technology © 2025
   Instagram: @espesaboeh
   ═══════════════════════════════════════════════════════════ */
