/* ========================================
   FULLY RESPONSIVE CSS - OPTIMIZED FOR ALL DEVICES
   ======================================== */

/* RESET & BASE STYLES */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Unified Palette */
    --primary-color: #00FF00;
    --secondary-color: #0000FF;
    --accent-gold: #d4af37;
    --accent-gold-dark: #b8942f;
    --accent-gold-light: #f7dc6f;
    --text-black: #1a1a1a;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --text-muted: #6b6b6b;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    
    /* Shadows & Effects */
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 30px 60px rgba(0,0,0,0.2);
    
    /* Spacing & Sizing - RESPONSIVE */
    --border-radius: clamp(12px, 2vw, 24px);
    --border-radius-sm: clamp(6px, 1.5vw, 12px);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Responsive Menu Heights */
    --menu-card-height: clamp(380px, 45vw, 540px);
    --menu-image-height: clamp(180px, 25vw, 280px);
    --menu-body-padding: clamp(1rem, 3vw, 2rem);
}

html { 
    scroll-behavior: smooth; 
    font-size: 16px; /* Base font size */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--primary-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   ULTRA RESPONSIVE NAVBAR & LOGO
   ======================================== */
.navbar {
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: var(--shadow-md) !important;
    padding: clamp(0.5rem, 2vw, 1rem) 0 !important;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030 !important;
    border-bottom: 1px solid rgba(255,255,255,0.2) !important;
}

.navbar-logo {
    height: clamp(55px, 12vw, 110px) !important;
    width: clamp(55px, 12vw, 110px) !important;
    min-height: 55px !important;
    min-width: 55px !important;
    max-height: 120px !important;
    max-width: 120px !important;
    object-fit: contain !important;
    border-radius: var(--border-radius-sm) !important;
    box-shadow: var(--shadow-md) !important;
    transition: var(--transition) !important;
    border: 3px solid rgba(255,255,255,0.4) !important;
    background: rgba(255,255,255,0.95) !important;
    padding: clamp(4px, 1vw, 8px) !important;
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.08) rotate(2deg) !important;
    box-shadow: var(--shadow-xl), 0 0 30px rgba(212, 175, 55, 0.3) !important;
    border-color: rgba(212, 175, 55, 0.7) !important;
}

/* Brand Text - PERFECT RESPONSIVE */
.brand-text-1 {
    color: #212529 !important;
    font-size: clamp(0.8rem, 3vw, 1.3rem) !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    margin-bottom: 0.1rem !important;
    letter-spacing: -0.02em !important;
}

.brand-text-2 {
    color: #0d6efd !important;
    font-size: clamp(0.8rem, 3vw, 1.3rem) !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    margin-bottom: 0.1rem !important;
    letter-spacing: -0.02em !important;
}

.brand-text-3 {
    color: #198754 !important;
    font-size: clamp(0.8rem, 3vw, 1.3rem) !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    letter-spacing: -0.02em !important;
}

.navbar-brand {
    padding: clamp(0.5rem, 2.5vw, 1.5rem) !important;
    display: flex !important;
    align-items: center !important;
    gap: clamp(0.75rem, 4vw, 2rem) !important;
    border-radius: var(--border-radius) !important;
    transition: var(--transition) !important;
    background: rgba(255,255,255,0.4) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    min-height: clamp(70px, 12vw, 110px) !important;
}

.navbar-brand:hover {
    background: rgba(255,255,255,0.6) !important;
    box-shadow: var(--shadow-lg) !important;
    transform: translateY(-3px) !important;
}

/* RESPONSIVE BODY PADDING */
body {
    padding-top: clamp(80px, 14vw, 120px) !important;
}

/* ========================================
   MOBILE COLLAPSE MENU
   ======================================== */
.navbar-collapse {
    background: rgba(255,255,255,0.98) !important;
    backdrop-filter: blur(25px) !important;
    border-radius: var(--border-radius) !important;
    padding: clamp(1rem, 4vw, 2rem) !important;
    box-shadow: var(--shadow-xl) !important;
    margin-top: clamp(0.5rem, 2vw, 1rem) !important;
    max-height: 70vh;
    overflow-y: auto;
}

.nav-link-custom {
    display: block !important;
    padding: clamp(0.875rem, 3vw, 1.25rem) clamp(1rem, 3vw, 2rem) !important;
    margin: clamp(0.25rem, 1vw, 0.75rem) 0 !important;
    border-radius: var(--border-radius-sm) !important;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
    font-size: clamp(1rem, 3vw, 1.1rem) !important;
    transition: var(--transition) !important;
}

.nav-link-custom:hover, .nav-link-custom.active {
    background: var(--gold-gradient) !important;
    color: var(--text-black) !important;
    transform: translateX(8px) !important;
    box-shadow: var(--shadow-md) !important;
}

/* ========================================
   BUTTONS - FULL RESPONSIVE
   ======================================== */
.btn-primary-custom, .btn-gold, .manage-btn, .view-btn, .counter-btn {
    background: var(--gold-gradient);
    border: none;
    padding: clamp(0.875rem, 3vw, 1.25rem) clamp(1.5rem, 4vw, 2.5rem);
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    color: var(--text-black);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 48px;
}

.btn-primary-custom:hover, .btn-gold:hover, .manage-btn:hover, .view-btn:hover, .counter-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
}

/* ========================================
   HERO SECTION - PERFECT RESPONSIVE
   ======================================== */
.hero, .hero-split {
    min-height: clamp(80vh, 100vw, 100vh);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 8vw, 4rem) 0;
}

.hero-bg-left, .hero-bg-right {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-bg-left {
    left: 0;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.3)), 
                url('../images/hero-left.jpg') center/cover no-repeat;
}

.hero-bg-right {
    right: 0;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)), 
                url('../images/hero-right.jpg') center/cover no-repeat;
}

.hero-overlay {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    padding: clamp(1.5rem, 6vw, 4rem) clamp(1rem, 5vw, 3rem);
    width: clamp(320px, 90vw, 1000px);
    max-width: 95vw;
    margin: 0 auto;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2rem, 10vw, 7rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: clamp(1rem, 4vw, 2rem);
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
}

/* ========================================
   MENU CARDS - ULTRA RESPONSIVE GRID
   ======================================== */
.menu-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(300px, 90vw, 380px), 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: stretch;
    padding: 0 clamp(1rem, 5vw, 2rem);
    max-width: 1400px;
    margin: 0 auto;
}

.menu-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: var(--menu-card-height);
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.menu-image-wrapper {
    height: var(--menu-image-height);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-bg), #e9ecef);
    flex-shrink: 0;
}

.menu-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover .menu-image { 
    transform: scale(1.1); 
}

.menu-card-body {
    flex: 1;
    padding: var(--menu-body-padding);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.menu-title {
    font-size: clamp(1.2rem, 3.5vw, 1.6rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.5rem 0;
    color: var(--text-black);
}

.menu-description {
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    line-height: 1.6;
    color: var(--text-light);
    flex-grow: 1;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-price {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    font-weight: 700;
    color: var(--accent-gold);
    margin: 0.5rem 0;
}

.menu-badge {
    display: inline-flex;
    align-items: center;
    padding: clamp(0.4rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1.25rem);
    border-radius: 50px;
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   FEATURE & GALLERY - RESPONSIVE
   ======================================== */
.feature-card, .gallery-card-landing, .cert-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover, .gallery-card-landing:hover, .cert-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: clamp(70px, 15vw, 120px);
    height: clamp(70px, 15vw, 120px);
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto clamp(1.5rem, 4vw, 3rem);
    font-size: clamp(1.8rem, 6vw, 3rem);
    color: var(--white);
    flex-shrink: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 45vw, 350px), 1fr));
    gap: clamp(1.5rem, 4vw, 2.5rem);
    padding: 0 clamp(1rem, 5vw, 2rem);
    max-width: 1400px;
    margin: 0 auto;
}

/* ========================================
   SECTIONS & TYPOGRAPHY
   ======================================== */
.section {
    padding: clamp(60px, 15vw, 140px) clamp(1rem, 5vw, 2rem);
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 8vw, 5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: clamp(2rem, 6vw, 4rem);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

/* ========================================
   FLOATING ELEMENTS
   ======================================== */
.whatsapp-float {
    position: fixed;
    width: clamp(50px, 12vw, 70px);
    height: clamp(50px, 12vw, 70px);
    bottom: clamp(15px, 4vw, 25px);
    right: clamp(15px, 4vw, 25px);
    background: #25d366;
    color: #FFF;
    border-radius: 50%;
    font-size: clamp(22px, 5vw, 35px);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    animation: bounce 2s infinite;
    border: 3px solid rgba(255,255,255,0.3);
}

.counter-section {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(25px);
    border-radius: var(--border-radius);
    padding: clamp(1.5rem, 6vw, 4rem) clamp(1rem, 5vw, 3rem);
    margin: clamp(1.5rem, 4vw, 3rem) 0;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.counter-display {
    font-size: clamp(2.5rem, 12vw, 7rem);
    font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    text-align: center;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-12px); }
    60% { transform: translateY(-6px); }
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */
::-webkit-scrollbar { 
    width: clamp(6px, 1vw, 10px); 
    height: clamp(6px, 1vw, 10px);
}
::-webkit-scrollbar-track { 
    background: rgba(0,0,0,0.1); 
}
::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: clamp(3px, 0.5vw, 6px);
}
::-webkit-scrollbar-thumb:hover { 
    background: var(--accent-gold-light); 
}

/* ========================================
   ULTRA RESPONSIVE BREAKPOINTS
   ======================================== */

/* Extra Small Mobile (iPhone SE, etc.) */
@media (max-width: 375px) {
    :root {
        --menu-card-height: 360px;
        --menu-image-height: 160px;
        --menu-body-padding: 1rem;
    }
    html { font-size: 15px; }
    .hero-overlay { padding: 1.5rem 1rem; }
    .section { padding: 50px 1rem; }
}

/* Small Mobile */
@media (max-width: 480px) {
    :root {
        --menu-card-height: 400px;
        --menu-image-height: 180px;
    }
    .navbar-brand { gap: 0.75rem !important; }
}

/* Mobile Landscape */
@media (max-height: 500px) and (orientation: landscape) {
    body { padding-top: clamp(70px, 20vh, 90px) !important; }
    .navbar-logo { 
        height: clamp(50px, 15vw, 70px) !important;
        width: clamp(50px, 15vw, 70px) !important;
    }
    .brand-text-1, .brand-text-2, .brand-text-3 {
        font-size: 0.75rem !important;
        line-height: 1 !important;
    }
}

/* Tablet Portrait */
@media (min-width: 576px) and (max-width: 768px) {
    :root {
        --menu-card-height: 440px;
        --menu-image-height: 200px;
    }
    .menu-preview-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

/* Tablet Landscape */
@media (min-width: 769px) and (max-width: 992px) {
    :root {
        --menu-card-height: 480px;
        --menu-image-height: 240px;
    }
    .menu-preview-grid {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    }
}

/* Laptop */
@media (min-width: 993px) and (max-width: 1200px) {
    .menu-preview-grid {
        grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    }
}

/* Desktop */
@media (min-width: 1201px) and (max-width: 1600px) {
    .menu-preview-grid {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    }
}

/* 4K & Large Desktop */
@media (min-width: 1601px) {
    .menu-preview-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .navbar-logo { 
        height: 120px !important; 
        width: 120px !important; 
    }
}

/* Form Styles */
.form-control, .form-select {
    border-radius: var(--border-radius-sm);
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 3vw, 1.25rem);
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.form-control.is-valid, .form-select.is-valid {
    border-color: #198754 !important;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.form-control.is-invalid, .form-select.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Container Fluid Fix */
.container, .container-fluid {
    padding-left: clamp(1rem, 5vw, 2rem);
    padding-right: clamp(1rem, 5vw, 2rem);
    max-width: 100%;
}

/* ========================================
   FINAL ULTRA-OPTIMIZATION 2024
   ======================================== */

/* iOS Safari Safe Areas */
body {
    padding-top: max(env(safe-area-inset-top), clamp(80px, 14vw, 120px)) !important;
    padding-bottom: env(safe-area-inset-bottom);
}

/* Android Chrome Gesture Navigation */
@supports not (padding: env(safe-area-inset-bottom)) {
    @media (max-width: 768px) {
        body { padding-bottom: 20px; }
    }
}

/* PWA / Standalone Mode */
@media (display-mode: standalone) {
    .navbar { 
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* High DPI Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .navbar-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion - Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Force GPU Acceleration */
.menu-card, .navbar-brand, .btn-primary-custom {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Print Styles */
@media print {
    .navbar, .whatsapp-float { display: none !important; }
    body { padding-top: 0 !important; }
}

/* Experimental Features - Future-Proof */
@supports (aspect-ratio: 1) {
    .feature-icon {
        aspect-ratio: 1;
    }
}

/* ========================================
   ULTRA RESPONSIVE PACKAGE TABS 2024
   ======================================== */

/* Container - Perfect Mobile Centering */
.tab-scroll-container {
    padding: clamp(0.5rem, 3vw, 1.5rem) !important;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* iOS Smooth */
}

.tab-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Main Tabs Container */
#paketTabs {
    display: flex !important;
    gap: clamp(0.5rem, 2vw, 1.5rem) !important;
    padding: clamp(0.25rem, 1vw, 0.75rem) !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    scroll-padding-left: 1rem;
    scroll-padding-right: 1rem;
}

/* Individual Tab Items */
.nav-item {
    flex: 0 0 auto !important;
    min-width: clamp(110px, 24vw, 170px) !important;
    max-width: clamp(140px, 28vw, 200px) !important;
    scroll-snap-align: start;
}

/* Tab Buttons - PERFECT TOUCH TARGETS */
.package-tab-btn {
    width: 100% !important;
    min-height: clamp(70px, 16vw, 90px) !important;
    padding: clamp(0.75rem, 3vw, 1.25rem) clamp(0.5rem, 2vw, 1rem) !important;
    border-radius: var(--border-radius-sm) !important;
    border: none !important;
    font-size: clamp(0.8rem, 2.5vw, 1rem) !important;
    font-weight: 600 !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    text-decoration: none !important;
    touch-action: manipulation; /* iOS/Android Touch */
}

/* Active Tab */
.package-tab-btn.active {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-lg) !important;
}

/* Hover Effects (Desktop Only) */
@media (hover: hover) {
    .package-tab-btn:hover {
        transform: translateY(-3px) scale(1.02) !important;
        box-shadow: var(--shadow-xl) !important;
    }
}

/* Tab Content Structure */
.package-tab-btn > .d-flex {
    width: 100% !important;
    height: 100% !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: clamp(0.25rem, 1vw, 0.5rem) !important;
}

/* Icons - Perfect Scaling */
.package-tab-btn i {
    font-size: clamp(1.2rem, 5vw, 1.6rem) !important;
    width: clamp(28px, 8vw, 36px) !important;
    height: clamp(28px, 8vw, 36px) !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: clamp(0.25rem, 1vw, 0.5rem) !important;
}

/* Tab Titles */
.package-tab-btn span {
    font-size: clamp(0.75rem, 2.8vw, 0.95rem) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    max-width: 95% !important;
    text-align: center !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: break-word !important;
}

/* Menu Count */
.package-tab-btn small {
    font-size: clamp(0.65rem, 2.2vw, 0.8rem) !important;
    font-weight: 600 !important;
    opacity: 0.85 !important;
    margin-top: auto !important;
    line-height: 1 !important;
}

/* ========================================
   COLOR SCHEMES - RESPONSIVE GRADIENTS
   ======================================== */
.bg-primary {
    background: linear-gradient(135deg, #00d4ff, #0099cc) !important;
    color: #fff !important;
}

.bg-success-subtle {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    color: #fff !important;
}

.bg-warning-subtle {
    background: linear-gradient(135deg, #ffc107, #fd7e14) !important;
    color: #fff !important;
}

.bg-info-subtle {
    background: linear-gradient(135deg, #17a2b8, #0dcaf0) !important;
    color: #fff !important;
}

/* Hover Color Variants */
.hover-success:hover { background: linear-gradient(135deg, #20c997, #28a745) !important; }
.hover-warning:hover { background: linear-gradient(135deg, #fd7e14, #ffc107) !important; }
.hover-info:hover { background: linear-gradient(135deg, #0dcaf0, #17a2b8) !important; }

/* Active State Glow */
.package-tab-btn.active {
    box-shadow: 0 8px 25px rgba(0,0,0,0.2), 0 0 20px rgba(255,255,255,0.3) inset !important;
}

/* ========================================
   MOBILE-SPECIFIC OPTIMIZATIONS
   ======================================== */

/* iPhone Notch / Dynamic Island */
@supports (padding: env(safe-area-inset-top)) {
    .tab-scroll-container {
        padding-top: max(env(safe-area-inset-top), 0.5rem);
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Android Gesture Navigation */
@media (max-width: 480px) {
    .tab-scroll-container {
        padding-bottom: 1rem;
    }
}

/* Small Screens (iPhone SE, etc.) */
@media (max-width: 375px) {
    .nav-item {
        min-width: clamp(100px, 28vw, 150px) !important;
    }
    .package-tab-btn {
        min-height: 65px !important;
        padding: 0.75rem 0.5rem !important;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .nav-item {
        min-width: clamp(90px, 20vw, 130px) !important;
    }
    .package-tab-btn span {
        font-size: 0.7rem !important;
        -webkit-line-clamp: 1 !important;
    }
    .package-tab-btn small {
        font-size: 0.6rem !important;
        display: none; /* Hide count in landscape */
    }
}

/* Tablet Portrait */
@media (min-width: 576px) and (max-width: 768px) {
    #paketTabs {
        justify-content: center !important;
    }
    .nav-item {
        min-width: clamp(130px, 20vw, 180px) !important;
    }
}

/* ========================================
   TOUCH & GESTURE OPTIMIZATIONS
   ======================================== */
.package-tab-btn {
    /* Prevent Zoom on iOS */
    touch-action: manipulation;
    /* Haptic Feedback */
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
}

/* Smooth Scroll Snapping */
#paketTabs {
    scroll-snap-type: x proximity;
}

.nav-item {
    scroll-snap-align: center;
}

/* ========================================
   BROWSER-SPECIFIC FIXES
   ======================================== */

/* iOS Safari */
@supports (-webkit-touch-callout: none) {
    .package-tab-btn {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
}

/* Android Chrome */
@supports not (scroll-snap-type: x mandatory) {
    .tab-scroll-container {
        -webkit-overflow-scrolling: touch;
    }
}

/* Firefox Mobile */
@supports (scrollbar-width: none) {
    .tab-scroll-container {
        scrollbar-width: none;
    }
}

/* Edge Legacy */
@supports (-ms-overflow-style: none) {
    .tab-scroll-container {
        -ms-overflow-style: none;
    }
}

/* ========================================
   DARK MODE & ACCESSIBILITY
   ======================================== */
@media (prefers-color-scheme: light) {
    .package-tab-btn {
        filter: brightness(1.1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .package-tab-btn {
        transition: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .package-tab-btn {
        border: 2px solid rgba(255,255,255,0.3) !important;
    }
    .package-tab-btn.active {
        border-color: rgba(255,255,255,0.8) !important;
    }
}

/* Focus Visible for Keyboard */
.package-tab-btn:focus-visible {
    outline: 3px solid rgba(255,255,255,0.8) !important;
    outline-offset: 2px !important;
}

/* Custom responsive tabs untuk mobile */
.tab-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* Smooth scroll iOS */
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.tab-scroll-container::-webkit-scrollbar {
    height: 4px;
}

.tab-scroll-container::-webkit-scrollbar-track {
    background: transparent;
}

.tab-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.tab-scroll-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.5);
}

/* Hover effects yang mobile-friendly */
.package-tab-btn {
    transition: all 0.2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.package-tab-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.package-tab-btn:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

/* Text wrapping yang lebih baik untuk mobile */
.text-wrap-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive font sizes */
@media (max-width: 480px) {
    .fs-xs-6 { font-size: 0.7rem !important; }
}

@media (max-width: 360px) {
    :root {
        --tab-min-width: 105px;
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .package-tab-btn {
        -webkit-touch-callout: none;
    }
    
    .tab-scroll-container {
        -webkit-overflow-scrolling: touch;
    }
}

/* Android Chrome specific */
@supports not (-webkit-touch-callout: none) {
    .package-tab-btn {
        will-change: transform;
    }
}
/* ========================================
   FINAL ULTRA MOBILE PERFECT 2024
   ======================================== */

/* Prevent Text Zoom on iOS */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    select, input[type="text"], input[type="number"] {
        font-size: 16px; /* Minimum iOS zoom prevention */
    }
}

/* Perfect Tab Indicators */
.package-tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: rgba(255,255,255,0.8);
    transition: width 0.3s ease;
}

.package-tab-btn.active::after {
    width: 70% !important;
}

/* Micro-interactions */
.package-tab-btn:active {
    scale: 0.98;
}

/* Landscape Tab Fix */
@media (max-height: 500px) and (min-width: 768px) {
    #paketTabs {
        gap: 0.75rem !important;
    }
    .nav-item {
        min-width: clamp(120px, 18vw, 160px) !important;
    }
}

/* iPad Pro Specific */
@media (min-width: 1024px) and (max-width: 1366px) and (max-height: 1024px) {
    .nav-item {
        min-width: 150px !important;
    }
}

/* ========================================
   ULTRA RESPONSIVE PACKAGE TABS v2.0 - MOBILE PERFECT 2024
   ======================================== */

/* 1. SCROLL CONTAINER - Perfect horizontal scroll */
.tab-scroll-container {
    padding: clamp(0.75rem, 4vw, 1.5rem) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE/Edge */
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important; /* iOS smooth scroll */
    overscroll-behavior-x: contain;
    scroll-padding-left: clamp(1rem, 5vw, 2rem);
    scroll-padding-right: clamp(1rem, 5vw, 2rem);
    -webkit-scrollbar-width: none;
}

.tab-scroll-container::-webkit-scrollbar {
    display: none !important; /* Chrome/Safari hide scrollbar */
}

/* 2. MAIN TABS LIST */
#paketTabs, .mobile-tabs-scroll {
    display: flex !important;
    gap: clamp(0.5rem, 2.5vw, 1.25rem) !important;
    padding: clamp(0.25rem, 1.5vw, 0.75rem) clamp(1rem, 4vw, 2rem) !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 3. TAB ITEMS - RESPONSIVE WIDTH */
.nav-item, .mobile-tab-item {
    flex: 0 0 auto !important;
    min-width: clamp(95px, 23vw, 135px) !important;
    max-width: clamp(125px, 27vw, 165px) !important;
    scroll-snap-align: start !important;
}

/* 4. TAB BUTTONS - PERFECT TOUCH TARGETS */
.package-tab-btn, .mobile-tab-item {
    width: 100% !important;
    min-height: clamp(65px, 15vw, 85px) !important;
    padding: clamp(0.5rem, 2.5vw, 1rem) clamp(0.4rem, 1.8vw, 0.8rem) !important;
    border-radius: var(--border-radius-sm, 12px) !important;
    border: none !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    
    /* Touch optimizations */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent !important;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Active Tab */
.package-tab-btn.active, .mobile-tab-item.active {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15), 0 0 20px rgba(255,255,255,0.3) !important;
}

/* 5. TAB CONTENT STRUCTURE */
.tab-content-wrapper {
    width: 100% !important;
    height: 100% !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: clamp(0.2rem, 1vw, 0.4rem) !important;
}

/* 6. ICONS - Perfect scaling */
.tab-icon {
    font-size: clamp(1.1rem, 4.5vw, 1.5rem) !important;
    width: clamp(24px, 7vw, 32px) !important;
    height: clamp(24px, 7vw, 32px) !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: clamp(0.15rem, 0.8vw, 0.3rem) !important;
}

/* 7. TITLES - TEXT NEVER GETS CUT OFF */
.tab-title {
    font-size: clamp(0.7rem, 2.6vw, 0.9rem) !important;
    font-weight: 700 !important;
    line-height: 1.12 !important;
    max-width: 92% !important;
    text-align: center !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    word-break: break-word !important;
    hyphens: auto !important;
    padding: 0 0.1rem !important;
    margin: 0 !important;
}

/* 8. MENU COUNT */
.tab-count {
    font-size: clamp(0.6rem, 2vw, 0.75rem) !important;
    font-weight: 600 !important;
    opacity: 0.9 !important;
    margin-top: auto !important;
    line-height: 1 !important;
    min-height: 1em;
    white-space: nowrap !important;
}

/* 9. COLORS & HOVER EFFECTS */
.bg-primary { 
    background: linear-gradient(135deg, #00d4ff, #0099cc) !important; 
    color: #fff !important; 
}
.bg-success-subtle { 
    background: linear-gradient(135deg, #28a745, #20c997) !important; 
    color: #fff !important; 
}
.bg-warning-subtle { 
    background: linear-gradient(135deg, #ffc107, #fd7e14) !important; 
    color: #fff !important; 
}
.bg-info-subtle { 
    background: linear-gradient(135deg, #17a2b8, #0dcaf0) !important; 
    color: #fff !important; 
}

/* Hover untuk desktop only */
@media (hover: hover) and (min-width: 769px) {
    .package-tab-btn:hover:not(.active), .mobile-tab-item:hover:not(.active) {
        transform: translateY(-3px) scale(1.03) !important;
        box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
    }
}

/* ========================================
   MOBILE BREAKPOINTS - PERFECT SIZING
   ======================================== */

/* iPhone SE & Extra Small (≤360px) */
@media (max-width: 360px) {
    .nav-item, .mobile-tab-item {
        min-width: 92px !important;
        max-width: 118px !important;
    }
    .tab-title {
        font-size: 0.68rem !important;
        -webkit-line-clamp: 1 !important;
        max-width: 90% !important;
    }
    .tab-count {
        font-size: 0.58rem !important;
    }
}

/* Small Mobile (361px - 480px) */
@media (min-width: 361px) and (max-width: 480px) {
    .nav-item, .mobile-tab-item {
        min-width: clamp(100px, 24vw, 130px) !important;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .nav-item, .mobile-tab-item {
        min-width: clamp(85px, 22vw, 120px) !important;
    }
    .tab-title {
        font-size: 0.68rem !important;
        -webkit-line-clamp: 1 !important;
        line-height: 1.1 !important;
    }
    .tab-count {
        font-size: 0.6rem !important;
    }
}

/* Tablet Portrait */
@media (min-width: 576px) and (max-width: 768px) {
    .mobile-tabs-scroll {
        justify-content: center !important;
    }
    .nav-item, .mobile-tab-item {
        min-width: clamp(135px, 22vw, 170px) !important;
    }
}

/* Tablet Landscape & Desktop */
@media (min-width: 769px) {
    .nav-item, .mobile-tab-item {
        min-width: clamp(150px, 18vw, 180px) !important;
    }
    .mobile-tabs-scroll {
        justify-content: center !important;
    }
}

@media (min-width: 992px) {
    .nav-item, .mobile-tab-item {
        min-width: 160px !important;
    }
}

/* ========================================
   TOUCH INTERACTIONS & ANIMATIONS
   ======================================== */
.package-tab-btn:active, .mobile-tab-item:active {
    transform: scale(0.97) !important;
    transition: transform 0.08s ease !important;
}

/* Scroll snapping */
#paketTabs, .mobile-tabs-scroll {
    scroll-snap-type: x proximity;
}
.nav-item, .mobile-tab-item {
    scroll-snap-align: center;
}

/* ========================================
   iOS SAFARI & ANDROID OPTIMIZATIONS
   ======================================== */
@supports (-webkit-touch-callout: none) {
    .tab-scroll-container {
        padding-bottom: max(env(safe-area-inset-bottom), 0.75rem);
    }
    .package-tab-btn, .mobile-tab-item {
        -webkit-touch-callout: none;
    }
}

/* ========================================
   ACCESSIBILITY & PERFORMANCE
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    .package-tab-btn, .mobile-tab-item {
        transition: none !important;
    }
}

.package-tab-btn:focus-visible, .mobile-tab-item:focus-visible {
    outline: 2px solid rgba(255,255,255,0.9) !important;
    outline-offset: 1px !important;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .package-tab-btn, .mobile-tab-item {
        border: 2px solid rgba(255,255,255,0.3) !important;
    }
}

/* ========================================
   NAVBAR FIX - EDGE, CHROME, ALL BROWSERS 2024
   ======================================== */

/* FORCE WHITE NAVBAR - SEMUA BROWSER & DEVICE */
.navbar,
.navbar-expand-lg,
.navbar.fixed-top,
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: saturate(180%) blur(20px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    position: fixed !important;
    top: 0 !important;
    z-index: 1030 !important;
    padding: 0.75rem 0 !important;
}

/* EDGE & CHROME SPECIFIC FIX */
@supports (-ms-ime-align: auto) {
    .navbar {
        background: rgb(255, 255, 255) !important;
        -ms-backdrop-filter: blur(20px) !important;
    }
}

@supports not (backdrop-filter: blur(1px)) {
    .navbar {
        background: rgba(255, 255, 255, 0.95) !important;
    }
}

/* MOBILE COLLAPSE - WHITE BACKGROUND */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 1) !important;
        backdrop-filter: blur(30px) !important;
        -webkit-backdrop-filter: blur(30px) !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
        border-radius: 16px !important;
        margin-top: 0.5rem !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
    }
}

/* NAVBAR BRAND - WHITE CONTAINER */
.navbar-brand {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 12px !important;
    padding: 0.75rem 1.25rem !important;
    transition: all 0.3s ease !important;
}

.navbar-brand:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-2px) !important;
}

/* NAVBAR LOGO - PERFECT WHITE */
.navbar-logo {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* NAVBAR TEXT - CONTRAST PERFECT */
.brand-text-1 { color: #212529 !important; font-weight: 800 !important; }
.brand-text-2 { color: #0d6efd !important; font-weight: 800 !important; }
.brand-text-3 { color: #198754 !important; font-weight: 800 !important; }

/* NAV LINKS - WHITE BACKGROUND */
.nav-link-custom {
    color: #2c3e50 !important;
    background: rgba(255, 255, 255, 0.7) !important;
    border-radius: 8px !important;
    padding: 0.75rem 1.5rem !important;
    margin: 0.25rem 0 !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.nav-link-custom:hover {
    background: linear-gradient(135deg, #d4af37, #f7dc6f) !important;
    color: #000 !important;
    transform: translateX(5px) !important;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3) !important;
}

/* BODY PADDING - PERFECT FOR FIXED NAVBAR */
body {
    padding-top: 90px !important;
}

@media (max-width: 768px) {
    body { padding-top: 85px !important; }
}

/* MOBILE FOOTER FIX */
@media (max-width: 991px) {
    .footer,
    .bg-dark,
    footer {
        background: rgba(255,255,255,0.95) !important;
        color: var(--text-dark) !important;
        border-top: 1px solid rgba(0,0,0,0.1) !important;
    }
    
    .footer a,
    .footer p {
        color: var(--text-dark) !important;
    }
}

/* iOS Safari Mobile Navbar Fix */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 991px) {
        .navbar {
            background: rgba(255,255,255,1) !important;
            backdrop-filter: saturate(180%) blur(30px) !important;
        }
    }
}

/* Android Chrome Mobile Navbar Fix */
@media (max-width: 991px) and (hover: none) {
    .navbar {
        background: rgba(255,255,255,0.99) !important;
    }
}

/* SYSTEM DARK MODE - CORRECTED */
@media (prefers-color-scheme: dark) {
    body { 
        background: linear-gradient(135deg, #1a1a1a, #2c2c2c) !important; 
    }
    .navbar { 
        background: rgba(30,30,30,0.98) !important; 
    }
}

/* FORCE WHITE ON ALL BOOTSTRAP NAVBAR CLASSES */
.navbar-light,
.navbar-light .navbar-brand,
.navbar-light .navbar-nav .nav-link {
    background: rgba(255,255,255,0.95) !important;
    color: var(--text-dark) !important;
}

/* COLLAPSE MENU - MOBILE WHITE */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255,255,255,1) !important;
        box-shadow: 0 10px 40px rgba(0,0,0,0.2) !important;
        border-radius: var(--border-radius) !important;
        margin-top: 0.5rem !important;
    }
    
    .nav-link-custom {
        color: var(--text-dark) !important;
        background: rgba(255,255,255,0.8) !important;
    }
}

/* UPDATE BODY PADDING - MOBILE PERFECT */
body {
    padding-top: clamp(90px, 16vw, 130px) !important;
    padding-bottom: clamp(20px, 4vw, 40px) !important;
}

@media (max-width: 480px) {
    body {
        padding-top: clamp(85px, 18vw, 110px) !important;
    }
}
/* ========================================
   EDGE ULTRA ANTI-ZOOM NAVBAR FIX 2024-2026
   STATIC POSITION - ZERO MOVEMENT ON ZOOM IN/OUT
   PERFECT FOR Microsoft Edge ALL VERSIONS
   ======================================== */

/* 1. EDGE-SPECIFIC MASTER FIX */
@supports (-ms-ime-align: auto) {
    @media screen and (min-width: 992px) {
        /* YOUR EXACT NAVBAR */
        nav.navbar.navbar-expand-lg.fixed-top.shadow-sm,
        .navbar.navbar-expand-lg.fixed-top.shadow-sm {
            /* ABSOLUTE POSITION LOCK */
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            
            /* FIXED DIMENSIONS */
            height: 80px !important;
            min-height: 80px !important;
            max-height: 80px !important;
            width: 100vw !important;
            max-width: 100vw !important;
            
            /* EDGE-SPECIFIC RENDERING */
            -ms-transform: translateZ(0) !important;
            transform: translateZ(0) !important;
            backface-visibility: hidden !important;
            -ms-backface-visibility: hidden !important;
            
            /* CONTAINER QUERY LOCK */
            contain: layout style paint !important;
            contain-intrinsic-size: 80px 80px !important;
        }
        
        /* FORCE CONTAINER CENTER */
        .navbar .container {
            /* EXACT POSITIONING */
            position: relative !important;
            left: 50% !important;
            transform: translateX(-50%) !important;
            -ms-transform: translateX(-50%) !important;
            
            /* FIXED WIDTH */
            width: 1200px !important;
            max-width: 1200px !important;
            min-width: 1200px !important;
            
            /* HEIGHT LOCK */
            height: 80px !important;
            min-height: 80px !important;
            
            /* EDGE PADDING FIX */
            padding: 0 20px !important;
            margin: 0 !important;
            box-sizing: content-box !important;
            
            /* CENTER ALIGN */
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
        }
    }
}

/* 2. NAVBAR BRAND - EDGE STATIC POSITION */
@supports (-ms-ime-align: auto) {
    @media screen and (min-width: 992px) {
        .navbar-brand {
            /* POSITION LOCK */
            position: relative !important;
            left: 0 !important;
            top: 50% !important;
            transform: translateY(-50%) !important;
            -ms-transform: translateY(-50%) !important;
            
            /* FIXED SIZE */
            width: 280px !important;
            height: 56px !important;
            min-width: 280px !important;
            max-width: 280px !important;
            
            /* NO MARGIN */
            margin: 0 !important;
            padding: 8px 16px !important;
            
            /* BACKGROUND OVERRIDE INLINE STYLE */
            background: rgba(255, 255, 255, 0.95) !important;
            backdrop-filter: blur(20px) !important;
            -ms-backdrop-filter: blur(20px) !important;
        }
        
        /* BRAND INNER CONTAINER */
        .navbar-brand .d-flex.align-items-center {
            position: relative !important;
            width: 100% !important;
            height: 100% !important;
            gap: 12px !important;
            align-items: center !important;
        }
    }
}

/* 3. LOGO - EDGE ULTRA STATIC */
@supports (-ms-ime-align: auto) {
    @media screen and (min-width: 992px) {
        .navbar-logo {
            /* EXACT POSITION */
            position: relative !important;
            left: 0 !important;
            top: 50% !important;
            transform: translateY(-50%) !important;
            -ms-transform: translateY(-50%) !important;
            
            /* FIXED SIZE - NO ZOOM */
            width: 52px !important;
            height: 52px !important;
            min-width: 52px !important !important;
            min-height: 52px !important;
            max-width: 52px !important;
            max-height: 52px !important;
            
            /* CONTAIN OBJECT */
            object-fit: contain !important;
            object-position: center !important;
            
            /* RENDER LOCK */
            image-rendering: pixelated !important;
            -ms-interpolation-mode: bicubic !important;
        }
    }
}

/* 4. BRAND TEXTS - EDGE POSITION LOCK */
@supports (-ms-ime-align: auto) {
    @media screen and (min-width: 992px) {
        .brand-text-1,
        .brand-text-2,
        .brand-text-3 {
            /* FIXED FONT */
            font-size: 14px !important;
            line-height: 1.1 !important;
            font-weight: 800 !important;
            
            /* POSITION LOCK */
            position: relative !important;
            left: 0 !important;
            transform: none !important;
            
            /* NO WRAP */
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            
            /* COLORS */
            .brand-text-1 { color: #212529 !important; }
            .brand-text-2 { color: #0d6efd !important; }
            .brand-text-3 { color: #198754 !important; }
        }
        
        /* TEXT COLUMN */
        .d-flex.flex-column.ms-2 {
            position: relative !important;
            height: 52px !important;
            display: flex !important;
            flex-direction: column !important;
            justify-content: center !important;
            gap: 0 !important;
            margin-left: 12px !important;
        }
    }
}

/* 5. NAVBAR MENU - EDGE RIGHT ALIGN */
@supports (-ms-ime-align: auto) {
    @media screen and (min-width: 992px) {
        /* COLLAPSE - FULL WIDTH RIGHT */
        .navbar-collapse {
            position: absolute !important;
            right: 20px !important;
            top: 50% !important;
            transform: translateY(-50%) !important;
            -ms-transform: translateY(-50%) !important;
            
            height: 80px !important;
            width: auto !important;
            max-width: 800px !important;
        }
        
        /* NAV LIST */
        .navbar-nav {
            position: relative !important;
            height: 100% !important;
            display: flex !important;
            align-items: center !important;
            gap: 0 !important;
            margin: 0 !important;
            padding: 0 !important;
        }
        
        /* NAV ITEMS */
        .navbar-nav .nav-item {
            position: relative !important;
            height: 48px !important;
            margin: 0 2px !important;
        }
        
        /* NAV LINKS */
        .nav-link-custom,
        .navbar-nav .nav-link {
            /* FIXED SIZE */
            height: 48px !important;
            line-height: 1.4 !important;
            padding: 8px 20px !important;
            
            /* POSITION */
            position: relative !important;
            top: 50% !important;
            transform: translateY(-50%) !important;
            -ms-transform: translateY(-50%) !important;
            
            /* FONT */
            font-size: 15px !important;
            font-weight: 600 !important;
        }
        
        /* LOGIN BUTTON */
        .btn-login-custom {
            height: 44px !important;
            line-height: 1.4 !important;
            padding: 8px 24px !important;
            position: relative !important;
            top: 50% !important;
            transform: translateY(-50%) !important;
        }
    }
}

/* 6. BODY OFFSET - EDGE PERFECT */
@supports (-ms-ime-align: auto) {
    @media screen and (min-width: 992px) {
        body {
            padding-top: 80px !important;
        }
    }
}

/* 7. EDGE ZOOM OVERRIDE - MULTIPLE SUPPORTS */
@supports (-ms-accelerator: true) or (-ms-ime-align: auto) {
    @media screen and (min-width: 992px) {
        html {
            /* EDGE FONT LOCK */
            font-size: 16px !important;
            -ms-text-size-adjust: 100% !important;
        }
        
        /* GLOBAL ZOOM RESET */
        * {
            zoom: 1 !important;
            -ms-zoom: 1 !important;
        }
    }
}

/* 8. RESPONSIVE EDGE FIXES */
@supports (-ms-ime-align: auto) {
    /* Small Laptop */
    @media (min-width: 992px) and (max-width: 1199px) {
        .navbar .container {
            width: 1000px !important;
            min-width: 1000px !important;
        }
        
        .navbar-brand {
            width: 260px !important;
        }
    }
    
    /* Large Screens */
    @media (min-width: 1400px) {
        .navbar .container {
            width: 1320px !important;
        }
    }
}

/* 9. HIDE TOGGLER ON LAPTOP */
@supports (-ms-ime-align: auto) {
    @media screen and (min-width: 992px) {
        .navbar-toggler {
            display: none !important;
            visibility: hidden !important;
        }
    }
}

/* ========================================
   UNIVERSAL FALLBACK - ALL BROWSERS
   ======================================== */
@media screen and (min-width: 992px) {
    /* FINAL POSITION SAFETY */
    .navbar-brand,
    .navbar-logo,
    .navbar-nav {
        will-change: transform;
        contain: layout paint;
    }
}
/* ============================================
   EDGE-SPECIFIC NAVBAR FIX - Anti-Scaling & Anti-Shrink
   Target: Microsoft Edge (Chromium) zoom 50-200%
   Fix: Logo geser kiri + menu shrink saat zoom out
   ============================================ */

/* Edge Detection & Global Font Lock */
@supports (-ms-ime-align: auto) or (@supports selector(:has(*))) {
  /* EDGE ONLY - Lock font-size untuk stabilkan layout */
  html {
    font-size: 16px !important;
    line-height: 1.15 !important;
  }
  
  /* EDGE NAVBAR - Full viewport lock */
  .navbar.fixed-top {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding-left: env(safe-area-inset-left) !important;
    padding-right: env(safe-area-inset-right) !important;
    box-sizing: border-box !important;
    
    /* Edge rendering isolation */
    contain: layout paint strict !important;
    flex-shrink: 0 !important;
    transform: translateZ(0) !important; /* Force hardware acceleration */
  }
  
  /* EDGE CONTAINER - No shrink */
  .navbar .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    min-width: 0 !important;
  }
  
  /* EDGE LOGO - Anti-left shift */
  .navbar-brand,
  .navbar-logo {
    flex-shrink: 0 !important;
    min-width: 180px !important;
    max-width: 180px !important;
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
  }
  
  .navbar-logo {
    height: 40px !important;
    width: auto !important;
    max-height: 40px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
  }
  
  /* EDGE BRAND TEXT - No wrap/shrink */
  .navbar-brand .d-flex {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }
  
  .brand-text-1, .brand-text-2, .brand-text-3 {
    font-size: 0.75rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  
  /* EDGE MENU - Anti-right shrink */
  .navbar-collapse {
    flex-shrink: 0 !important;
    min-width: 0 !important;
  }
  
  .navbar-nav {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }
  
  .nav-item,
  .nav-link {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    min-width: 0 !important;
  }
  
  .nav-link-custom {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.875rem !important;
    line-height: 1.2 !important;
  }
  
  /* EDGE TOGGLER - Stable position */
  .navbar-toggler {
    flex-shrink: 0 !important;
    min-width: 40px !important;
    width: 40px !important;
    height: 40px !important;
  }
}

/* Universal Edge Backup - Tanpa @supports */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .navbar.fixed-top {
    width: 100vw !important;
    min-width: 100vw !important;
    contain: layout paint !important;
  }
  
  .navbar-brand { flex: 0 0 180px !important; }
  .navbar-nav { flex-shrink: 0 !important; white-space: nowrap !important; }
}

/* Zoom Detection JS + Dynamic Scale Fix (Edge Only) */
@media screen and (min-resolution: 1dppx) {
  /* Inline script untuk Edge zoom compensation */
}
/* ========================================
   🔥 ULTRA FIX - FORCE PERFECT CENTER 2024
   OVERRIDE SEMUA CONFLICTING RULES
   ======================================== */

/* 1. MAIN TABS - FORCE CENTER MOBILE & DESKTOP */
#paketTabs {
    justify-content: center !important;
    display: flex !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0.5rem 1rem !important;
    gap: clamp(0.75rem, 2.5vw, 1.25rem) !important;
}

/* 2. TAB SCROLL CONTAINER - CLEAN CENTER */
.tab-scroll-container {
    justify-content: center !important;
    align-items: center !important;
    padding: 0.75rem 1rem !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
}

/* 3. NAV ITEMS - RESPONSIVE WITHOUT CONFLICT */
.nav-item {
    flex: 0 0 auto !important;
    min-width: clamp(95px, 22vw, 155px) !important;
    scroll-snap-align: center !important;
    margin: 0 !important;
}

/* 4. TAB CONTENT - ULTRA CENTER */
#paketTabContent {
    max-width: 480px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 clamp(0.5rem, 4vw, 2rem) !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* 5. MENU CARD - PERFECT CENTER */
.menu-card,
.menu-card-perfect,
.menu-card-ultra-center {
    max-width: 420px !important;
    width: 100% !important;
    margin: 0 auto !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    box-sizing: border-box !important;
}

/* ========================================
   MOBILE ONLY - PERFECT CENTER
   ======================================== */
@media (max-width: 991.98px) {
    #paketTabs {
        justify-content: center !important;
        padding: 0.5rem 0.75rem !important;
    }
    
    .nav-item {
        min-width: clamp(92px, 23vw, 135px) !important;
    }
    
    #paketTabContent {
        max-width: 95vw !important;
        padding: 0 0.5rem !important;
    }
    
    .menu-card {
        max-width: 100% !important;
        border-radius: 20px !important;
    }
}

/* ========================================
   LAPTOP/DESKTOP - NO SCROLL CENTER
   ======================================== */
@media (min-width: 992px) {
    .tab-scroll-container {
        overflow: hidden !important;
        padding: 1rem 2rem !important;
    }
    
    #paketTabs {
        justify-content: center !important;
        gap: 1.5rem !important;
        overflow: visible !important;
    }
    
    .nav-item {
        min-width: 160px !important;
    }
    
    #paketTabContent {
        max-width: 450px !important;
    }
    
    .menu-card {
        max-width: 420px !important;
        box-shadow: 0 30px 60px rgba(0,0,0,0.2) !important;
    }
}

/* ========================================
   BROWSER-SPECIFIC FORCE CENTER
   ======================================== */

/* EDGE BROWSER */
@supports (-ms-ime-align: auto) {
    #paketTabs,
    #paketTabContent,
    .menu-card {
        left: 50% !important;
        transform: translateX(-50%) !important;
        position: relative !important;
    }
}

/* iOS SAFARI */
@supports (-webkit-touch-callout: none) {
    #paketTabs {
        scroll-snap-align: center !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .menu-card {
        will-change: transform;
        transform: translateX(-50%) translateZ(0) !important;
    }
}

/* ANDROID CHROME */
@media (hover: none) and (pointer: coarse) {
    #paketTabs {
        justify-content: center !important;
        padding: 0.75rem 1rem !important;
    }
}

/* ========================================
   OVERRIDE BOOTSTRAP GUTTER & PADDING
   ======================================== */
#paket-catering .container,
#paket-catering .container-fluid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

#paket-catering .row {
    --bs-gutter-x: 0 !important;
    margin: 0 !important;
}

#paket-catering [class*="col-"] {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
    width: 100% !important;
}

/* ========================================
   HIDE CONFLICTING SCROLLBAR
   ======================================== */
#paketTabs::-webkit-scrollbar,
.tab-scroll-container::-webkit-scrollbar {
    display: none !important;
}

.tab-scroll-container {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

/* ========================================
   FINAL EMERGENCY OVERRIDE - 100% CENTER
   ======================================== */
#paket-catering {
    text-align: center !important;
}

#paket-catering * {
    box-sizing: border-box !important;
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    #paketTabContent { max-width: 340px !important; }
    .nav-item { min-width: 90px !important; }
}