/* ===================================
   Bakoelku-STYLE NAVBAR v3
   Refined to match visual design
   =================================== */

:root {
    --primary-blue: #007aff;
    --primary-blue-dark: #0d83fd;
    --primary-teal: #007aff;
    --primary-teal-dark: #0d83fd;
    --text-dark: #1F2937;
    --text-title: #007aff;
    --text-sidebar: #0a3d62;
    --text-gray: #64748B;
    --text-light: #94A3B8;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --border-color: #E2E8F0;
    --shadow-dropdown: 0 10px 40px -10px rgba(0, 0, 0, 0.1);

    /* Pill Colors */
    --pill-yellow: #FBBF24;
    --pill-blue: #007aff;
    --pill-pink: #F472B6;
    --pill-purple: #8B5CF6;
    --pill-gold: #D97706;
    --pill-slate: #64748B;
    --pill-green: #22C55E;
    --pill-red: #F87171;

    --topbar-height: 40px;
    --navbar-height: 60px;
    --total-header-height: 100px;
    --font-family: 'Plus Jakarta Sans', sans-serif;
}

@media (min-width: 1024px) {
    :root {
        --navbar-height: 72px;
        --total-header-height: 112px;
    }
}

::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: #ffffff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #e2e8f0;
}

.navbar.scrolled .topbar {
    background: rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.topbar {
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled .menu-link {
    color: var(--text-dark);
}

.navbar.scrolled .menu-link:hover {
    background: rgba(0, 122, 255, 0.05);
    color: var(--primary-blue);
}

.navbar.scrolled .btn-login {
    color: var(--text-dark);
}

.navbar.scrolled .btn-login:hover {
    background: rgba(0, 0, 0, 0.05);
}

.navbar.scrolled .btn-primary {
    background: var(--primary-blue);
    color: #fff;
}

.navbar.scrolled .navbar-logo text {
    fill: #1a1a1a;
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.navbar-logo {
    display: flex;
    align-items: center;
}

/* MENU */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 40px;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    border-radius: 6px;
    transition: all 0.2s;
}

.menu-link:hover,
.menu-item.active .menu-link {
    background: rgba(0, 122, 255, 0.05);
    color: var(--primary-blue);
}

.dropdown-icon {
    transition: transform 0.2s;
}

.menu-item.active .dropdown-icon {
    transform: rotate(180deg);
}

/* CTA */
.navbar-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.btn-login {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 6px;
}

.btn-login:hover {
    background: rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background: var(--primary-blue);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* DROPDOWN OVERLAY */
.dropdown-overlay {
    position: fixed;
    top: var(--total-header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 900;
}

.dropdown-overlay.active {
    opacity: 1;
    z-index: 0;
    visibility: visible;
}

/* SIMPLE DROPDOWN */
.dropdown-simple {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 260px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1000;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.dropdown-simple.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-simple::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #0d83fd;
    font-weight: 700;
    font-size: 15px;
    border-radius: 16px;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: rgba(44, 187, 176, 0.08);
    transform: translateX(5px);
}

/* MEGA DROPDOWN CONTAINER */
.mega-dropdown {
    position: fixed;
    top: var(--total-header-height);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 100%;
    max-width: 1200px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-dropdown);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    overflow: hidden;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.mega-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-dropdown-inner {
    display: flex;
    min-height: 400px;
}

/* SIDEBAR */
.mega-sidebar {
    width: 280px;
    flex-shrink: 0;
    padding: 32px;
    background: radial-gradient(circle at top left, #F0FDFA, #FFFFFF);
    border-right: 1px solid var(--border-color);
}

.mega-sidebar-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-sidebar);
    margin-bottom: 12px;
}

.mega-sidebar-desc {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 24px;
    line-height: 1.6;
}

.btn-sidebar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #3CCEB9, #34D399);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 8px;
    transition: 0.2s;
}

.btn-sidebar:hover {
    box-shadow: 0 4px 12px rgba(60, 206, 185, 0.3);
    transform: translateY(-1px);
}

.mega-sidebar-links {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mega-sidebar-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-sidebar);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-sidebar-links a i {
    font-size: 10px;
    transition: transform 0.2s;
}

.mega-sidebar-links a:hover i {
    transform: translateX(4px);
}

/* PROMO CARD */
.promo-card {
    margin-top: auto;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    padding: 20px;
    border-radius: 12px;
    margin-top: 40px;
}

.promo-badge {
    background: #DCFCE7;
    color: #166534;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

.promo-title {
    font-size: 14px;
    font-weight: 700;
    color: #14532D;
    margin-bottom: 6px;
}

.promo-desc {
    font-size: 12px;
    color: #15803D;
    margin-bottom: 12px;
    line-height: 1.4;
}

.promo-link {
    font-size: 12px;
    font-weight: 700;
    color: #16A34A;
}

/* MEGA CONTENT */
.mega-content {
    flex: 1;
    padding: 32px 40px;
    background: #fff;
}

.mega-separator {
    height: 1px;
    background: var(--border-color);
    margin: 24px 0;
}

.mega-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.mega-section-header.plain {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.mega-section-title {
    font-size: 11px;
    font-weight: 700;
    color: #94A3B8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.mega-see-all {
    font-size: 13px;
    font-weight: 600;
    color: #0EA5E9;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* PILLS */
.mega-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 3px 16px;
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.2s;
}

.pill:hover {
    transform: translateY(-2px);
}

.pill a {
    color: #fff;
    font-size: 14px;
}

.pill i {
    font-size: 10px;
    opacity: 0.8;
    margin-left: auto;
}

.pill-yellow {
    background: var(--pill-yellow);
}

.pill-blue {
    background: var(--pill-blue);
}

.pill-pink {
    background: var(--pill-pink);
}

.pill-purple {
    background: var(--pill-purple);
}

.pill-gold {
    background: var(--pill-gold);
}

.pill-slate {
    background: var(--pill-slate);
}

.pill-green {
    background: var(--pill-green);
}

.pill-red {
    background: var(--pill-red);
}

/* PRIME CARDS */
.mega-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.prime-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #1E293B;
    border-radius: 8px;
    color: #fff;
    transition: 0.2s;
}

.prime-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.prime-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

.prime-name {
    font-size: 13px;
    font-weight: 600;
}





/* SUPPORT CARDS */
.support-card {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    position: relative;
    transition: 0.2s;
}

.support-card:hover {
    border-color: var(--primary-teal);
}

.support-label {
    font-size: 10px;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.support-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.brand-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
}

.brand-icon.green {
    background: #22C55E;
}

.brand-icon.teal {
    background: #2CBBB0;
}

.brand-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dark);
}

.badge-addon {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 9px;
    font-weight: 700;
    color: #0EA5E9;
    background: #E0F2FE;
    padding: 2px 6px;
    border-radius: 4px;
}

/* SOLUSI BISNIS GRID */
.solusi-grid {
    display: flex;
    gap: 32px;
}

.solusi-column {
    flex: 1;
}

.solusi-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-sidebar);
    margin-bottom: 12px;
}

.solusi-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.solusi-links a {
    font-size: 13px;
    color: #5AB5B0;
    font-weight: 500;
    transition: color 0.2s;
}

.solusi-links a:hover {
    color: var(--primary-teal-dark);
    text-decoration: underline;
}

/* MOBILE */
.mobile-toggle {
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 4px;
    transition: 0.3s;
    margin: 0 auto;
}

/* ===================================
   HERO SLIDER - UNIFIED CARD (NO ABSOLUTE) 
   =================================== */

/* Main Container */
.hero-slider-unified {
    width: 100%;
    padding-left: 0;
}


/* The Unified Card */
.hero-card {
    background: transparent;
    overflow: hidden;
    /* box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.15); */
}

/* Image Section */
.hero-card-image {
    width: 100%;
    max-width: 90%;
    /* Memberikan ruang di sisi kiri/kanan */
    margin: 0 auto;
    height: 200px;
    overflow: hidden;
    padding: 8px;
}

@media (min-width: 640px) {
    .hero-card-image {
        height: 350px;
        max-width: 85%;
    }
}

@media (min-width: 1024px) {
    .hero-card-image {
        height: 420px;
        max-width: 80%;
        /* Semakin ramping di desktop */
    }
}

/* Slides Wrapper - CSS Grid Stacking */
.hero-slides-wrapper {
    display: grid;
    grid-template-areas: "stack";
    width: 100%;
    height: 100%;
}

/* Individual Images */
.hero-img {
    grid-area: stack;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1.2s ease-out;
    transform: scale(1.08);
}

.hero-img.active {
    opacity: 1;
    transform: scale(1);
}

/* Info Section (Bottom Part) */
.hero-card-info {
    padding: 20px;
    background: transparent;
}

@media (min-width: 640px) {
    .hero-card-info {
        padding: 24px 32px;
    }
}

/* Tabs Container */
.hero-tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 100px;
    margin-bottom: 20px;
}

/* Tab Button */
.hero-tab {
    flex: 1;
    padding: 10px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    border-radius: 100px;
    white-space: nowrap;
    background: transparent;
    border: none;
    cursor: pointer;
}

@media (min-width: 640px) {
    .hero-tab {
        padding: 12px 16px;
        font-size: 12px;
    }
}

.hero-tab:hover {
    color: #007aff;
}

.hero-tab.active {
    background: #E8F4FF;
    color: #007aff;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.1);
}

/* Content Area */
.hero-card-content {
    min-height: 100px;
}

/* Text Items */
.hero-text {
    display: none;
}

.hero-text.active {
    display: block;
    animation: fadeInUp 0.6s ease-out forwards;
}

.hero-text h3 {
    font-size: 24px;
    font-weight: 800;
    color: #0a3d62;
    margin-bottom: 10px;
}

@media (min-width: 640px) {
    .hero-text h3 {
        font-size: 28px;
    }
}

.hero-text p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.7;
}

@media (min-width: 640px) {
    .hero-text p {
        font-size: 15px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu {
    display: none;
}

/* HERO */
.hero {
    min-height: 80vh;
    padding-top: 120px;
    text-align: center;
    background: radial-gradient(circle at center, #F0FDFA, #CCFBF1);
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--primary-teal);
}

.hero p {
    font-size: 18px;
    color: #64748B;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-primary.large {
    background: var(--primary-teal);
    color: #fff;
    padding: 14px 28px;
    font-size: 16px;
}

.btn-outline.large {
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 700;
    transition: 0.2s;
}

.btn-outline.large:hover {
    background: var(--primary-teal);
    color: #fff;
}

/* RESPONSIVE */
@media (max-width: 1024px) {

    .navbar-menu,
    .navbar-cta,
    .topbar {
        display: none !important;
    }

    .navbar {
        height: auto;
        background: transparent;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: none;
    }

    .navbar.scrolled {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid #e2e8f0;
    }

    .navbar.scrolled .mobile-toggle {
        background-color: rgba(0, 122, 255, 0.1);
    }

    .navbar.scrolled .mobile-toggle span {
        background-color: #1a1a1a;
    }

    .navbar.scrolled .navbar-logo text {
        fill: #1a1a1a;
    }

    /* Override logo color for white mobile navbar if needed, 
       but user image suggests green header... wait. 
       The user image shows a WHITE background mobile menu with a GREEN logo.
       The main navbar behind it is likely green.
       Let's keep main navbar green as per topbar request, 
       but the mobile menu overlay is white.
    */

    .mobile-toggle {
        display: flex;
    }

    .mobile-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        background: #fff;
        z-index: 2000;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        overflow-y: auto;
    }

    .mobile-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 24px;
    }

    .mobile-menu-btn {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 24px;
        font-weight: 700;
        font-size: 15px;
        color: var(--text-sidebar);
        text-transform: capitalize;
    }

    .mobile-menu-btn.active .fa-chevron-down {
        transform: rotate(180deg);
    }

    .mobile-submenu {
        display: none;
    }

    .mobile-submenu.active {
        display: block;
    }

    /* Dashboard Grid Styles */
    .mobile-dashboard-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding-top: 8px;
    }

    .mobile-dashboard-item {
        background: #F8FAFC;
        border: 1px solid #E2E8F0;
        border-radius: 12px;
        padding: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        transition: all 0.2s;
        text-decoration: none;
    }

    .mobile-dashboard-item:hover {
        border-color: var(--primary-teal);
        background: #F0FDFA;
    }

    .mobile-dashboard-icon {
        width: 36px;
        height: 36px;
        background: #fff;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        color: var(--primary-teal);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .mobile-dashboard-text {
        font-size: 12px;
        font-weight: 700;
        color: var(--text-dark);
        line-height: 1.3;
    }

    .btn-login.mobile {
        width: 100%;
        text-align: center;
        padding: 12px;
        border-radius: 8px;
        background: #fff;
        color: var(--primary-teal);
        border: 1px solid var(--primary-teal);
        font-weight: 700;
    }

    .btn-primary.mobile {
        width: 100%;
        text-align: center;
        padding: 12px;
        border-radius: 8px;
        background: #0d83fd;
        color: #fff;
        font-weight: 700;
    }
}

/* ===================================
   ADDITIONAL MOBILE REFINEMENTS
   =================================== */

/* Hero Section Mobile Adjustments */
@media (max-width: 768px) {
    section.pt-32.pb-20 .text-white {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding-top: 0 !important;
    }

    section.pt-32.pb-20 h1 {
        font-size: 26px !important;
        line-height: 1.2 !important;
        margin-bottom: 12px !important;
    }

    section.pt-32.pb-20 p {
        font-size: 14px !important;
        text-align: center;
    }

    section.pt-32.pb-20 .flex-wrap {
        justify-content: center !important;
    }

    section.pt-32.pb-20 .hero-card-image {
        height: 250px !important;
    }

    section.pt-32.pb-20 .hero-tabs {
        overflow-x: auto;
        justify-content: flex-start !important;
        padding: 4px;
        gap: 4px;
    }

    section.pt-32.pb-20 .hero-tab {
        flex: 0 0 auto;
        padding: 8px 12px !important;
        font-size: 10px !important;
    }
}

/* Solusi Bisnis Tabs Horizontal Scroll */
@media (max-width: 768px) {
    .solusi-btn-container {
        overflow-x: auto;
        white-space: nowrap;
        display: flex !important;
        justify-content: flex-start !important;
        width: 100%;
        padding: 6px;
        -webkit-overflow-scrolling: touch;
        border-radius: 30px;
    }

    .solusi-tab-btn {
        flex: 0 0 auto;
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
}

/* Comparison Table Mobile Fixes */
@media (max-width: 768px) {
    .grid-cols-\[1fr_160px_130px\] {
        grid-template-columns: 1.5fr 70px 60px !important;
        gap: 4px !important;
    }

    .grid-cols-\[1fr_160px_130px\] img[alt="Bakoelku"] {
        height: 40px !important;
        width: 40px !important;
    }

    .grid-cols-\[1fr_160px_130px\] h3 {
        font-size: 11px !important;
    }

    .grid-cols-\[1fr_160px_130px\] h4 {
        font-size: 10px !important;
    }

    .grid-cols-\[1fr_160px_130px\] p {
        font-size: 11px !important;
        line-height: 1.4 !important;
    }

    .grid-cols-\[1fr_160px_130px\] svg {
        width: 20px !important;
        height: 20px !important;
    }

    .grid-cols-\[1fr_160px_130px\] .py-10 {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
}

/* Supporting Products Grid on Mobile */
@media (max-width: 768px) {
    section.py-24 .grid-cols-2 {
        grid-template-columns: 1fr !important;
    }
}

/* Support CTA Section Mobile Layout */
@media (max-width: 768px) {
    .bg-gradient-to-r.from-\[rgba\(13\,131\,253\,0\.1\)\] {
        flex-direction: column !important;
        min-height: auto !important;
        padding: 40px 20px !important;
    }

    .bg-gradient-to-r.from-\[rgba\(13\,131\,253\,0\.1\)\]>div:first-child {
        order: 1 !important;
    }

    .bg-gradient-to-r.from-\[rgba\(13\,131\,253\,0\.1\)\]>div:last-child {
        order: 2 !important;
    }

    .bg-gradient-to-r.from-\[rgba\(13\,131\,253\,0\.1\)\] img {
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        transform: translateY(-20px) !important;
    }

    .bg-gradient-to-r.from-\[rgba\(13\,131\,253\,0\.1\)\] h2 {
        font-size: 26px !important;
        margin-top: -10px !important;
    }

    /* Buttons side-by-side on mobile */
    .bg-gradient-to-r.from-\[rgba\(13\,131\,253\,0\.1\)\] .flex-col.sm\:flex-row {
        flex-direction: row !important;
        gap: 10px !important;
    }

    .bg-gradient-to-r.from-\[rgba\(13\,131\,253\,0\.1\)\] .flex-col.sm\:flex-row a {
        flex: 1 !important;
        padding: 12px 8px !important;
        font-size: 13px !important;
    }
}

/* Layanan Bakoelku Mobile Alignment */
@media (max-width: 768px) {

    /* Center the header section */
    section.py-24.bg-white .space-y-8 {
        text-align: center !important;
        margin-bottom: 32px !important;
    }

    section.py-24.bg-white h2 {
        font-size: 26px !important;
        text-align: center !important;
    }


}



/* Footer Pre-banner Buttons side-by-side */
@media (max-width: 640px) {
    .bg-gradient-to-r.from-\[\#2980b9\] .flex.flex-wrap.gap-4 {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
    }

    .bg-gradient-to-r.from-\[\#2980b9\] .flex.flex-wrap.gap-4 a {
        flex: 1 !important;
        padding: 12px 10px !important;
        font-size: 12px !important;
        text-align: center !important;
        white-space: nowrap !important;
    }
}


/* Floating WhatsApp Button smaller on mobile */
@media (max-width: 640px) {
    a[href*="wa.me"] {
        bottom: 16px !important;
        right: 16px !important;
        padding: 8px 12px !important;
        gap: 6px !important;
    }

    a[href*="wa.me"] i {
        font-size: 18px !important;
    }

    a[href*="wa.me"] .text-\[10px\] {
        font-size: 8px !important;
    }

    a[href*="wa.me"] .text-xs {
        font-size: 10px !important;
    }
}

/* ============================================================ 
   MOBILE MENU CRITICAL FIXES 
   Fixes: transparency, clipping by navbar parent, and high z-index
   ============================================================ */
@media (max-width: 1024px) {

    /* Ensure navbar doesn't clip the menu child */
    .navbar {
        overflow: visible !important;
    }

    /* Force background to be solid and z-index to be highest */
    .mobile-menu {
        background-color: #ffffff !important;
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 99999 !important;
        overflow-y: auto !important;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .mobile-menu.active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Solid header background */
    .mobile-menu-header {
        position: sticky;
        top: 0;
        background-color: #ffffff !important;
        z-index: 10;
        border-bottom: 1px solid #f1f5f9;
    }

    /* Ensure the menu items container works as expected */
    .mobile-menu>.flex-1 {
        display: flex !important;
        flex-direction: column !important;
        background-color: #ffffff !important;
    }
}