/* ===============================================
   UMKM TANAH BUMBU - 3D ISOMETRIC PREMIUM DESIGN
   Year: 2025 | Style: Professional VVIP
   =============================================== */

/* ===== IMPORTS ===== */

/* ===== CSS VARIABLES ===== */
:root {
    /* Brand Colors */
    --primary: #FF6B35;
    --primary-dark: #E65528;
    --secondary: #004E89;
    --accent: #FFD23F;
    --success: #06D6A0;

    /* Neutral Colors - Light Mode */
    --bg-primary: #fcfcfc;
    --bg-secondary: #F0F4F8;
    --bg-card: #FFFFFF;
    --text-primary: #1A202C;
    --text-secondary: #4A5568;
    --text-muted: #718096;
    --border-color: #E2E8F0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #FF8C61 100%);
    --gradient-secondary: linear-gradient(135deg, #004E89 0%, #006BA6 100%);
    --gradient-accent: linear-gradient(135deg, #FFD23F 0%, #FFE074 100%);
    --gradient-mesh: linear-gradient(125deg, #FF6B35 0%, #FFD23F 25%, #06D6A0 50%, #004E89 75%, #FF6B35 100%);

    /* 3D Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-3d:
        0 1px 2px rgba(0, 0, 0, 0.07),
        0 2px 4px rgba(0, 0, 0, 0.07),
        0 4px 8px rgba(0, 0, 0, 0.07),
        0 8px 16px rgba(0, 0, 0, 0.07),
        0 16px 32px rgba(0, 0, 0, 0.07);

    /* Isometric Transforms */
    --iso-angle: 30deg;
    --iso-scale: 0.866;

    /* Spacing */
    --navbar-height: 85px;
    --section-padding: 120px;

    /* Typography */
    --font-display: 'Sora', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Animations */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Dark Mode */
[data-theme="dark"] {
    --bg-primary: #0F172A;
    --bg-secondary: #1E293B;
    --bg-card: #1E293B;
    --text-primary: #F1F5F9;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
    --border-color: #334155;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--transition-smooth);
}

/* ===== UTILITY CLASSES ===== */
.container-custom {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* ===== 3D ISOMETRIC CARD COMPONENT ===== */
.iso-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.5s var(--transition-smooth);
}

.iso-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(255, 107, 53, 0.05) 0%,
            rgba(0, 78, 137, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.iso-card:hover::before {
    opacity: 1;
}

.iso-card:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(2deg);
    box-shadow: var(--shadow-3d);
}

/* 3D Depth Effect */
.depth-3d {
    position: relative;
    transform-style: preserve-3d;
}

.depth-3d::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: translateZ(-20px);
    opacity: 0.3;
    filter: blur(8px);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s var(--transition-smooth);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.85);
}

.navbar-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    z-index: 10;
}

.navbar-brand img {
    height: 65px;
    width: auto;
    transition: transform 0.3s var(--transition-bounce);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.navbar-brand:hover img {
    transform: scale(1.05) rotate(-2deg);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    position: relative;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    border-radius: 12px;
    transition: all 0.3s var(--transition-smooth);
    font-family: var(--font-display);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px 3px 0 0;
    transition: width 0.3s var(--transition-smooth);
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(255, 107, 53, 0.05);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 60%;
}

.nav-link.active {
    color: var(--primary);
    background: rgba(255, 107, 53, 0.08);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-arrow {
    display: inline-block;
    margin-left: 0.4rem;
    font-size: 0.75rem;
    transition: transform 0.3s var(--transition-smooth);
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 1rem);
    left: 0;
    min-width: 220px;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 0.75rem;
    display: none;
    /* Changed from visibility/opacity for reliability */
    transform: translateY(10px);
    transition: all 0.3s var(--transition-smooth);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    z-index: 1000;
}

/* Fix hover gap (hover tunnel) - MUST be on parent */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.navbar,
.navbar-container {
    overflow: visible !important;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.875rem 1rem;
    border-radius: 10px;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(255, 107, 53, 0.08);
    color: var(--primary);
    transform: translateX(4px);
}

.dropdown-item.active {
    background: rgba(255, 107, 53, 0.12);
    color: var(--primary);
}

/* Navbar Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-primary,
.btn-secondary {
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: var(--font-display);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--transition-smooth);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.15);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Theme Toggle */
.theme-toggle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: var(--bg-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

.theme-toggle:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-lg);
}

.theme-toggle svg {
    position: absolute;
    transition: all 0.4s var(--transition-smooth);
}

.sun-icon {
    color: #FFD23F;
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.moon-icon {
    color: #004E89;
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.mobile-toggle span {
    position: absolute;
    width: 24px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 3px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s var(--transition-smooth);
}

.mobile-toggle span:nth-child(1) {
    top: 14px;
}

.mobile-toggle span:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%);
}

.mobile-toggle span:nth-child(3) {
    bottom: 14px;
}

.mobile-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    bottom: 50%;
    transform: translate(-50%, 50%) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--navbar-height));
    background: var(--bg-primary);
    transform: translateX(-100%);
    transition: transform 0.4s var(--transition-smooth);
    z-index: 999;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-content {
    padding: 2.5rem 2rem;
}

.mobile-nav-link {
    display: block;
    padding: 1.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary);
    padding-left: 1rem;
}

/* Mobile Dropdown */
.mobile-dropdown {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
}

.mobile-dropdown-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Space between text and arrow */
    padding: 1.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    font-family: var(--font-display);
}

/* Match hover effect to other links */
.mobile-dropdown.active .mobile-dropdown-toggle {
    color: var(--primary);
    padding-left: 1rem;
}

.mobile-dropdown-toggle .dropdown-arrow {
    transition: transform 0.3s ease;
    margin-right: 0.5rem;
}

.mobile-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
}

.mobile-dropdown.active .mobile-dropdown-content {
    max-height: 300px;
    /* Expand */
    margin-bottom: 1rem;
}

.mobile-dropdown-item {
    display: block;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    font-size: 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-top: 1px solid var(--border-color);
    font-weight: 500;
    transition: all 0.2s ease;
}

.mobile-dropdown-item:hover,
.mobile-dropdown-item.active {
    color: var(--primary);
    background: rgba(255, 107, 53, 0.05);
    padding-left: 3rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    width: 100%;
    margin-top: var(--navbar-height);
    overflow: hidden;
}

.hero-image-container {
    width: 100%;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

/* .overlay {
 position: absolute;
 inset: 0;
 background: transparent;
 transition: 0.33;
}
.dark .overlay {
    background: rgba(0, 0, 0, 0.5);
} */

.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
    pointer-events: none;
}

.bungkus {
    display: flex;
    justify-content: center;
}

/* Brand Carousel */
.brand-carousel-wrapper {
    position: relative;
    width: 60%;
    overflow: hidden;
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
}

.brand-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.brand-track {
    display: flex;
    width: fit-content;
    animation: scroll 50s linear infinite;
}

.brand-track:hover {
    animation-play-state: paused !important;
}

.brand-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    margin-right: 2.5rem;
    position: relative;
    z-index: 1;
}

.brand-item:hover {
    transform: scale(1.15);
    z-index: 10;
}

.brand-item img {
    height: 65px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    padding: 8px;
    filter: grayscale(100%) brightness(0.5);
    transition: all 0.3s ease;
}

.brand-item:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

[data-theme="dark"] .brand-item img {
    filter: grayscale(100%) brightness(0.8);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== MAIN CONTENT ===== */
.main-content {
    position: relative;
}

/* ===== 3D ISOMETRIC MAP SECTION ===== */
.umkm-map-section {
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.umkm-map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%,
            rgba(255, 107, 53, 0.03) 0%,
            transparent 50%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: var(--gradient-accent);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    box-shadow: 0 4px 16px rgba(255, 210, 63, 0.3);
}

.section-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: var(--gradient-mesh);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.map-container-3d {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 2000px;
}

.map-card-iso {
    background: var(--bg-card);
    border-radius: 32px;
    padding: 3rem;
    box-shadow: var(--shadow-3d);
    transform: rotateX(5deg) rotateY(-5deg);
    transform-style: preserve-3d;
    transition: all 0.5s var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.map-card-iso:hover {
    transform: rotateX(0deg) rotateY(0deg) translateY(-10px);
}

#mapUMKM,
#mapPerusahaan {
    width: 100%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: inset 0 4px 16px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

/* ===== STATISTICS CARDS (3D Isometric) ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.stat-card-iso {
    position: relative;
    background: var(--bg-card);
    border-radius: 28px;
    padding: 2.5rem;
    transform-style: preserve-3d;
    transition: all 0.4s var(--transition-bounce);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.stat-card-iso::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card-iso:hover::before {
    opacity: 1;
}

.stat-card-iso:hover {
    transform: translateY(-12px) rotateX(10deg);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 107, 53, 0.1);
}

.stat-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
    transform: translateZ(20px);
}

.stat-icon-wrapper i {
    font-size: 2rem;
    color: white;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-display);
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
    line-height: 1;
}

/* ===== FEATURED UMKM SLIDER (3D Carousel) ===== */
.featured-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.featured-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(45deg, var(--border-color) 1px, transparent 1px),
        linear-gradient(-45deg, var(--border-color) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    pointer-events: none;
}

.slider-3d-container {
    position: relative;
    perspective: 1500px;
    margin-top: 4rem;
}

.slider-3d-wrapper {
    display: flex;
    gap: 2rem;
    padding: 3rem 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.slider-3d-wrapper::-webkit-scrollbar {
    display: none;
}

.umkm-card-3d {
    flex: 0 0 380px;
    height: 580px;
    /* Increased from 520px */
    background: var(--bg-card);
    border-radius: 28px;
    overflow: hidden;
    scroll-snap-align: center;
    transform-style: preserve-3d;
    transition: all 0.5s var(--transition-smooth);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.umkm-card-3d:hover {
    transform: translateY(-16px) rotateX(5deg) scale(1.02);
    box-shadow: var(--shadow-3d);
}

.umkm-card-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.umkm-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--transition-smooth);
}

.umkm-card-3d:hover .umkm-card-image img {
    transform: scale(1.1);
}

.umkm-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--gradient-accent);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.813rem;
    border-radius: 50px;
    font-family: var(--font-display);
    box-shadow: 0 4px 12px rgba(255, 210, 63, 0.4);
}

.umkm-card-content {
    padding: 1.5rem 2rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.umkm-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.umkm-card-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.umkm-card-description {
    color: var(--text-secondary);
    font-size: 0.938rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.umkm-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    /* Push to bottom */
}

.umkm-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.btn-view {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    font-family: var(--font-display);
}

.btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.slider-btn {
    width: 56px;
    height: 56px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    font-size: 1.25rem;
    color: var(--text-primary);
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* ===== TESTIMONIALS SECTION (3D Cards) ===== */
.testimonials-section {
    padding: 120px 0;
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.testimonial-card-3d {
    position: relative;
    background: var(--bg-card);
    border-radius: 28px;
    padding: 2.5rem;
    transform-style: preserve-3d;
    transition: all 0.4s var(--transition-smooth);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.testimonial-card-3d::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 12rem;
    font-family: Georgia, serif;
    color: rgba(255, 107, 53, 0.05);
    line-height: 1;
    pointer-events: none;
}

.testimonial-card-3d:hover {
    transform: translateY(-8px) rotateX(3deg);
    box-shadow: var(--shadow-3d);
}

.testimonial-rating {
    display: flex;
    gap: 0.375rem;
    margin-bottom: 1.5rem;
}

.testimonial-rating i {
    color: #FFD23F;
    font-size: 1.125rem;
}

.testimonial-text {
    font-size: 1.063rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===== FOOTER (3D Isometric) ===== */
.footer-modern {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    color: #E2E8F0;
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(30deg, rgba(255, 107, 53, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(255, 107, 53, 0.05) 87.5%, rgba(255, 107, 53, 0.05)),
        linear-gradient(150deg, rgba(255, 107, 53, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(255, 107, 53, 0.05) 87.5%, rgba(255, 107, 53, 0.05)),
        linear-gradient(30deg, rgba(255, 107, 53, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(255, 107, 53, 0.05) 87.5%, rgba(255, 107, 53, 0.05)),
        linear-gradient(150deg, rgba(255, 107, 53, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(255, 107, 53, 0.05) 87.5%, rgba(255, 107, 53, 0.05));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
    pointer-events: none;
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 1rem;
    line-height: 1.7;
    color: #CBD5E1;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E2E8F0;
    transition: all 0.3s var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

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

.footer-list li {
    margin-bottom: 0.875rem;
}

.footer-list a {
    color: #CBD5E1;
    font-size: 0.938rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    transition: all 0.3s ease;
}

.footer-list a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-list i {
    font-size: 0.75rem;
    color: var(--primary);
}

.footer-contact .footer-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.footer-contact .footer-list i {
    margin-top: 0.25rem;
    font-size: 1.125rem;
}

.footer-bottom {
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: #94A3B8;
    font-size: 0.938rem;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s var(--transition-smooth);
    z-index: 999;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.5);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .navbar-menu {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .section-title {
        font-size: 2.75rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --navbar-height: 70px;
    }

    .navbar-container {
        padding: 0 1.5rem;
    }

    .navbar-brand img {
        height: 55px;
    }

    .navbar-actions .btn-primary,
    .navbar-actions .btn-secondary {
        display: none;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .section-subtitle {
        font-size: 1.063rem;
    }

    .map-card-iso {
        padding: 2rem;
        transform: none;
    }

    #mapUMKM,
    #mapPerusahaan {
        height: 450px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .umkm-card-3d {
        flex: 0 0 320px;
        height: auto;
        min-height: 580px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.875rem;
    }

    .brand-carousel-wrapper {
        width: 90%;
    }

    .brand-item img {
        height: 50px;
    }

    .map-card-iso {
        padding: 1.5rem;
    }

    #mapUMKM,
    #mapPerusahaan {
        height: 350px;
    }

    .stat-card-iso {
        padding: 2rem;
    }

    .stat-value {
        font-size: 2.5rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(255, 107, 53, 0.6);
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--transition-smooth);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states */
*:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

/* ===== UTILITY ANIMATIONS ===== */
.hover-lift {
    transition: transform 0.3s var(--transition-smooth);
}

.hover-lift:hover {
    transform: translateY(-8px);
}

/* ===== BREADCRUMB STYLES ===== */
.bg-breadcrumb {
    position: relative;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    overflow: hidden;
}

.bg-breadcrumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.bg-breadcrumb h4 {
    color: white !important;
    font-family: var(--font-display);
    font-weight: 800;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.breadcrumb-item.active {
    color: white;
    font-weight: 700;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}




.tester {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tulisan {
    width: 50%;
    margin-left: 5%;
}

/* ===== Premium Gradient Heading ===== */
.tulisan-mengetik {
    font-family: 'Sora', var(--font-display), sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    letter-spacing: -1.5px;
    line-height: 1.1;
    text-align: left;
    margin-bottom: 1.5rem;
    /* Animated gradient fill */
    background: linear-gradient(135deg, #38bdf8 0%, #004E89 40%, #06d6a0 70%, #38bdf8 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShimmer 6s ease-in-out infinite;
    /* Subtle text shadow for depth */
    filter: drop-shadow(0 2px 8px rgba(0, 78, 137, 0.3));
}

@keyframes gradientShimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Remove the old outline stroke - gradient is better */
.outline-text {
    -webkit-text-stroke: none;
    color: transparent;
}

/* ===== Clean Minimal Paragraph ===== */
.isi-tulisan {
    font-family: 'Inter', var(--font-display), sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: rgba(15, 23, 42, 0.75);
    text-align: left;
    margin-bottom: 2rem;
    line-height: 1.8;
    letter-spacing: 0.2px;
    max-width: 520px;
}

[data-theme="dark"] .isi-tulisan {
    color: rgba(255, 255, 255, 0.75);
}

/* Smooth entrance animation */
.tulisan-muncul {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.tulisan-muncul.muncul {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
/* Responsive Mobile Optimization */
@media (max-width: 768px) {
    .tulisan-mengetik {
        font-size: 2.2rem;
        letter-spacing: -1px;
        text-align: center;
    }

    .isi-tulisan {
        font-size: 0.95rem;
        max-width: 100%;
        text-align: center;
        padding: 0 1rem;
    }

    /* Hero Section Reverse Layout */
    .tester {
        flex-direction: column-reverse;
        padding-top: 1rem;
        gap: 1.5rem;
    }

    .hero-image-container {
        width: 100%;
    }

    .hero-image {
        height: auto;
        min-height: 250px;
        max-height: 400px;
        border-radius: 16px;
        box-shadow: var(--shadow-lg);
    }

    /* Hero Text Centering */
    .tulisan {
        width: 100%;
        margin-left: 0;
        padding: 0;
        text-align: center;
    }

    /* Brand Carousel Mobile */
    .brand-carousel-wrapper {
        width: 95%;
        padding: 1rem 0;
        margin: 2rem auto;
    }

    .brand-track {
        gap: 1.5rem;
    }

    .brand-item img {
        height: 40px;
        width: auto;
    }

    /* Section Spacing */
    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Map Section Mobile */
    .umkm-map-section {
        padding: 60px 0 80px;
    }

    .map-container-3d {
        height: auto;
    }
}

@media (max-width: 480px) {
    .tulisan-mengetik {
        font-size: 1.8rem;
    }

    .hero-image {
        min-height: 200px;
    }

    .brand-carousel-wrapper {
        width: 100%;
        border-radius: 0;
    }
}

/* ===== COMPANY DETAIL MODAL RESPONSIVENESS ===== */
.company-detail-modal {
    max-width: 600px;
    cursor: default;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .company-detail-modal {
        max-width: 95% !important;
        margin: 0.5rem auto;
    }

    .company-detail-modal .iso-card {
        border-radius: 15px !important;
    }

    .company-detail-modal .iso-card>div:nth-child(2) {
        padding: 1.25rem !important;
    }

    .company-detail-modal .text-center div[style*="width: 100px"] {
        width: 80px !important;
        height: 80px !important;
    }

    .company-detail-modal h4[style*="font-size: 1.5rem"] {
        font-size: 1.2rem !important;
    }
}

/* Typing Cursor Animation */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--primary);
    margin-left: 5px;
    vertical-align: middle;
    animation: blink 0.7s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}