/* =================================================
   STYLE.CSS - MAIN STYLESHEET
   File utama untuk styling website PT Chanindo Distribusi Perkasa
   ================================================= */

/* ============================================
   RESET & BASE STYLES
   Reset CSS untuk menghilangkan default browser styles
   ============================================ */
* {
    margin: 0;
    /* Menghilangkan margin default */
    padding: 0;
    /* Menghilangkan padding default */
    box-sizing: border-box;
    /* Box-sizing border-box untuk perhitungan width/height yang lebih mudah */
}

/* ============================================
   CSS VARIABLES (CUSTOM PROPERTIES)
   Variabel warna dan styling yang digunakan di seluruh website
   ============================================ */
:root {
    /* Warna utama: dark teal & teal */
    --primary-color: #004d40;
    /* Warna utama: dark teal untuk elemen utama */
    --secondary-color: #009688;
    /* Warna sekunder: teal untuk elemen pendukung */
    --accent-color: #26c6da;
    /* Warna aksen: teal lebih cerah untuk highlight */
    --accent-warm: #4b7f7a;
    /* Warna aksen hangat */

    /* Teks & background */
    --text-color: #06201c;
    /* Warna teks utama */
    --text-light: #7fa7a2;
    /* Warna teks sekunder/ringan */
    --bg-color: #e0f2f1;
    /* Background utama: sangat muda, nuansa teal */
    --bg-light: #f1fbfa;
    /* Background ringan */

    /* Border & efek */
    --border-color: rgba(0, 150, 136, 0.25);
    /* Warna border dengan transparansi */
    --shadow: 0 10px 30px rgba(0, 77, 64, 0.10);
    /* Shadow standar */
    --shadow-lg: 0 25px 60px a(0, 77, 64, 0.22);
    /* Shadow besar */
    --transition: all 0.3s ease;
    /* Transisi standar untuk animasi */

    /* Gradient & navbar */
    --gradient-primary: linear-gradient(120deg, #004d40 0%, #00796b 40%, #009688 100%);
    /* Gradient utama */
    --gradient-soft: linear-gradient(140deg, rgba(0, 77, 64, 0.10), rgba(0, 150, 136, 0.10));
    /* Gradient lembut */
    --gradient-card: linear-gradient(145deg, rgba(0, 77, 64, 0.18), rgba(0, 150, 136, 0.15));
    /* Gradient untuk card */
    --navbar-bg: rgba(255, 255, 255, 0.98);
    /* Background navbar dengan transparansi */
    --navbar-text: #004d40;
    /* Warna teks navbar */

    /* RGB untuk shadow/gradient lain */
    --primary-rgb: 0, 77, 64;
    /* RGB warna utama untuk rgba() */
    --secondary-rgb: 0, 150, 136;
    /* RGB warna sekunder untuk rgba() */
}

/* ============================================
   BODY STYLES
   Styling dasar untuk body element
   ============================================ */
html,
body {
    overflow-x: hidden;
    width: 100%;
    /* Gunakan touch-action: manipulation untuk zoom yang lebih baik di mobile */
    touch-action: manipulation;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Font family standar */
    color: var(--text-color);
    /* Warna teks menggunakan variabel */
    line-height: 1.6;
    /* Line height untuk readability */
    min-height: 100vh;
    /* Minimum height 100% viewport height */
    background-color: var(--bg-color);
    /* Background color fallback */
}

/* ============================================
   CONTAINER STYLES
   Container utama untuk membatasi lebar konten
   ============================================ */
.container {
    max-width: 1200px;
    /* Maximum width container */
    width: min(1200px, 100%);
    /* Width menggunakan min() untuk responsif */
    margin: 0 auto;
    /* Center container */
    padding: 0 clamp(16px, 4vw, 32px);
    /* Padding responsif menggunakan clamp() */
}

/* ============================================
   IMAGE & VIDEO STYLES
   Styling untuk gambar dan video agar responsif
   ============================================ */
img,
video {
    max-width: 100%;
    /* Maximum width 100% untuk responsif */
    height: auto;
    /* Height otomatis untuk menjaga aspect ratio */
}

/* Navbar */
.navbar {
    background: var(--navbar-bg);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    backdrop-filter: saturate(180%) blur(18px);
    position: sticky;
    top: 0;
    z-index: 9999;
    padding: 1.35rem 0;
    border-bottom: 1px solid rgba(var(--secondary-rgb), 0.15);
    overflow: visible;
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(var(--primary-rgb), 0.08), rgba(56, 189, 248, 0.08));
    pointer-events: none;
    z-index: 0;
}

/* Top Row - Logo and Search Bar side-by-side (FOMAC Style) */
.top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 1;
    width: 100%;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(var(--secondary-rgb), 0.1);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 15px;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--navbar-text);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    transition: var(--transition);
}

.logo a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.logo-img {
    height: clamp(75px, 6vw, 135px);
    width: auto;
    max-width: clamp(190px, 16vw, 300px);
    object-fit: contain;
    transition: var(--transition);
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.logo a:hover .logo-img {
    transform: scale(1.05);
    opacity: 0.9;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    white-space: nowrap;
    color: var(--primary-color);
}

.logo i {
    font-size: 2rem;
    display: none;
    /* Hide icon when logo image is present */
}

/* Fallback jika logo tidak ada */
.logo-img:not([src]),
.logo-img[src=""],
.logo-img[src*="undefined"] {
    display: none;
}

.logo-img+i {
    display: inline-block !important;
}

/* Search Container - In top row next to logo */
.search-container {
    flex: 1;
    max-width: 500px;
    position: relative;
    display: block !important;
}

@media (max-width: 1024px) {
    .top-row {
        padding-bottom: 10px;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .logo {
        flex: 0 0 auto;
        order: 1;
    }

    .hamburger {
        order: 2;
        display: flex !important;
        flex: 0 0 auto;
    }

    .search-container {
        order: 3;
        flex: 1 1 100%;
        max-width: 100%;
        margin-top: 10px;
    }

    .nav-wrapper {
        display: none !important;
    }

    /* Target global nav-menu as well */
    .nav-menu {
        display: none !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .search-container {
        max-width: 350px;
    }
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-box input:focus {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.search-box button {
    position: absolute;
    right: 5px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.search-box input {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    margin-top: 5px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.search-result-item:hover {
    background: var(--bg-light);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.search-result-info {
    flex: 1;
}

.search-result-info h4 {
    color: var(--text-color);
    margin-bottom: 5px;
}

.search-result-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.search-result-price {
    color: var(--primary-color);
    font-weight: bold;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: var(--text-light);
}

/* Nav Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--navbar-text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

/* ============================================
   NAVIGATION & DROPDOWN (DEFINITIVE FIX)
   ============================================ */

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-dropdown {
    position: relative;
    z-index: 1000;
}

.nav-dropdown>a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Generic Dropdown Menu Base */
.dropdown-menu {
    position: absolute !important;
    background: white !important;
    list-style: none !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    min-width: 220px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    display: block !important;
    transition: none !important;
    transform: none !important;
    pointer-events: none;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Level 1: Below Kategori */
.nav-dropdown>.dropdown-menu {
    top: 100% !important;
    left: 0 !important;
    margin-top: 0 !important;
    /* Fixed: Removed gap that caused menu to disappear */
    padding-top: 10px !important;
    /* Added padding to maintain visual spacing but keep hit area */
    z-index: 10000 !important;
}

/* Level 2+: Side by Side (Submenus) */
.dropdown-submenu {
    position: relative !important;
}

.dropdown-submenu>.dropdown-menu.submenu {
    top: 0 !important;
    left: 100% !important;
    /* Force to the RIGHT */
    margin-top: -8px !important;
    margin-left: -1px !important;
    /* Slight overlap for better hover stability */
    z-index: 10010 !important;
}

/* Visibility logic */
.nav-dropdown:hover>.dropdown-menu,
.dropdown-submenu:hover>.dropdown-menu.submenu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.dropdown-menu li {
    position: relative;
    margin: 0;
    width: 100%;
}

.dropdown-menu a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 20px !important;
    color: var(--navbar-text) !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    transition: background 0.2s !important;
    width: 100%;
    box-sizing: border-box;
}

.dropdown-menu a:hover {
    background: var(--bg-light) !important;
    color: var(--primary-color) !important;
}

.dropdown-menu a i.fa-chevron-right {
    font-size: 0.7rem;
    color: #999;
}

/* Disable all animations globally for these elements */
.nav-dropdown *,
.dropdown-menu * {
    transition: none !important;
    transform: none !important;
}

.hamburger {
    display: none;
    /* Hidden by default on desktop */
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
    padding: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--navbar-text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section - Replaced by hero-slider.css */

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    text-align: center;
    color: var(--text-color);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.18);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.28);
}

.btn-secondary {
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    box-shadow: 0 12px 28px rgba(var(--primary-rgb), 0.2);
}

.btn-secondary:hover {
    opacity: 0.95;
    transform: translateY(-3px);
    box-shadow: 0 20px 38px rgba(var(--primary-rgb), 0.28);
}

.btn:disabled,
.btn[disabled] {
    background: linear-gradient(120deg, rgba(var(--secondary-rgb), 0.2), rgba(148, 195, 255, 0.2)) !important;
    color: var(--primary-color) !important;
    border: 1px solid rgba(var(--secondary-rgb), 0.25) !important;
    box-shadow: 0 10px 28px rgba(var(--primary-rgb), 0.12) !important;
    cursor: not-allowed !important;
    opacity: 1;
    font-weight: 600;
}

.btn-secondary:disabled,
.btn-secondary[disabled] {
    background: #e7f1ff !important;
    color: var(--secondary-color) !important;
    border: 1px solid rgba(var(--secondary-rgb), 0.35) !important;
    box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.15) !important;
    opacity: 1;
}

.btn-outline {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid rgba(var(--secondary-rgb), 0.3);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.btn-outline:hover {
    border-color: rgba(var(--secondary-rgb), 0.5);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.hero-banner-slider .btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: none;
}

.hero-banner-slider .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.9);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--gradient-soft);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.6), transparent 55%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    filter: blur(10px);
}

.feature-card:hover .feature-icon::before {
    opacity: 0.6;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-light);
}

/* Brand Showcase */
.brand-showcase {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(148, 163, 184, 0.06));
}

.brand-showcase .section-title {
    margin-bottom: 1rem;
}

.brand-showcase .section-subtitle {
    max-width: 720px;
    margin: 0 auto 3rem;
}

.brand-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* ============================================
   PRODUCT GRID & SHOPEE CARD STYLES
   Fix for Category/Product Page Layout
   ============================================ */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    padding: 10px 0;
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}


/* Set 1 of Shopee Card styles removed in favor of consolidated Set 2 at the end of file */


/* Brand Kami Changes */
.brand-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem;
    /* Reduced padding for simpler look */
    border-radius: 16px;
    /* Slightly reduced radius */
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    /* Softer shadow */
    border: 1px solid rgba(var(--secondary-rgb), 0.15);
    max-width: 1000px;
    /* Limit width */
    margin: 0 auto;
    /* Center alignment */
}

/* Theme specific overrides */
.brand-card--toys .brand-tagline,
.brand-card--food .brand-tagline {
    color: var(--secondary-color);
}

.brand-card--toys .brand-content h3,
.brand-card--food .brand-content h3 {
    color: #dc2626;
}

.brand-card--reverse {
    flex-direction: row-reverse;
}

.brand-content {
    flex: 1 1 55%;
}

.brand-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: #dc2626;
    /* Red color for brand names (Emma Toys, Emma Food) */
}

.brand-tagline {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1.1rem;
    /* Increased size */
    font-weight: 800;
    /* Bolder */
    color: #000000;
    /* Black color for tagline */
    margin-bottom: 0.75rem;
}

.brand-description {
    color: #000000;
    /* Black color for description text */
    margin-bottom: 0.75rem;
    text-align: justify;
    /* Justify text */
}

.brand-description--muted {
    font-size: 0.95rem;
}

/* Mobile Navigation Tree Styles - Separated from Desktop */

/* Mobile Sub-dropdown */
.mobile-sub-dropdown-item {
    padding: 0;
}

.mobile-sub-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.mobile-sub-dropdown-header a {
    flex-grow: 1;
}

.mobile-sub-chevron {
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    color: var(--navbar-text);
    transition: var(--transition);
}

.mobile-sub-dropdown-menu {
    list-style: none;
    padding-left: 1.5rem;
    display: none;
    background: rgba(0, 0, 0, 0.02);
}

.mobile-sub-dropdown-menu.active {
    display: block;
}

.mobile-sub-dropdown-menu li a {
    font-size: 0.9em;
    padding: 0.5rem 1.5rem;
}

.brand-highlights {
    margin: 1.25rem 0 1.5rem;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.brand-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-light);
}

.brand-highlight-icon {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(var(--secondary-rgb), 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.brand-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.brand-meta-chip {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 999px;
    background: rgba(var(--secondary-rgb), 0.08);
    color: var(--text-color);
}

.brand-image {
    flex: 0 0 260px;
    display: flex;
    justify-content: center;
}

.brand-logo-frame {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.45));
    border: none !important;
}

.brand-glow {
    display: none;
}

.brand-logo-frame img {
    position: relative;
    z-index: 1;
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

/* ============================================
   KEUNGGULAN SECTION
   Section yang menampilkan keunggulan perusahaan
   ============================================ */
.advantages-section {
    padding: 5rem 0;
    /* Padding vertikal */
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
    /* Background gradient putih ke light */
    position: relative;
    /* Posisi relatif untuk pseudo-element */
    overflow: hidden;
    /* Sembunyikan overflow */
}

.advantages-section::before {
    content: '';
    /* Konten kosong untuk efek background */
    position: absolute;
    /* Posisi absolut */
    inset: 0;
    /* Mengisi seluruh area */
    background: radial-gradient(circle at 80% 20%, rgba(var(--secondary-rgb), 0.05), transparent 60%);
    /* Radial gradient untuk efek depth */
    pointer-events: none;
    /* Tidak menghalangi interaksi */
}

/* Grid untuk keunggulan cards */
.advantages-grid {
    display: grid;
    /* Menggunakan grid layout */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* 3 kolom responsif, minimal 300px per card */
    gap: 2rem;
    /* Jarak antar card */
}

/* Card untuk setiap keunggulan */
.advantage-card {
    background: white;
    /* Background putih */
    padding: 2.5rem;
    /* Padding dalam card */
    border-radius: 20px;
    /* Sudut membulat */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    /* Shadow untuk depth */
    transition: var(--transition);
    /* Transisi untuk hover effect */
    border: 2px solid transparent;
    /* Border transparan */
    position: relative;
    /* Posisi relatif */
    overflow: hidden;
    /* Sembunyikan overflow */
}

/* Efek hover pada advantage card */
.advantage-card:hover {
    transform: translateY(-8px);
    /* Geser ke atas saat hover */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    /* Shadow lebih besar saat hover */
    border-color: var(--secondary-color);
    /* Border berubah warna saat hover */
}

/* Icon untuk keunggulan */
.advantage-icon {
    width: 70px;
    /* Lebar icon */
    height: 70px;
    /* Tinggi icon */
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    /* Background gradient */
    border-radius: 16px;
    /* Sudut membulat */
    display: flex;
    /* Flexbox untuk centering */
    align-items: center;
    /* Center vertikal */
    justify-content: center;
    /* Center horizontal */
    color: white;
    /* Warna icon putih */
    font-size: 1.8rem;
    /* Ukuran icon */
    margin-bottom: 1.5rem;
    /* Margin bawah */
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.25);
    /* Shadow untuk icon */
}

/* Judul keunggulan */
.advantage-card h3 {
    color: var(--primary-color);
    /* Warna judul sesuai tema */
    margin-bottom: 1rem;
    /* Margin bawah */
    font-size: 1.3rem;
    /* Ukuran font */
    font-weight: 700;
    /* Ketebalan font */
}

/* Deskripsi keunggulan */
.advantage-card p {
    color: var(--text-light);
    /* Warna teks ringan */
    line-height: 1.7;
    /* Line height untuk readability */
    font-size: 0.95rem;
    /* Ukuran font */
    margin: 0;
    /* Tanpa margin */
}

/* ============================================
   PRODUK KAMI SECTION
   Section yang menampilkan produk-produk unggulan
   ============================================ */
.products-showcase-section {
    padding: 5rem 0;
    /* Padding vertikal */
    background: var(--bg-light);
    /* Background light */
    position: relative;
    /* Posisi relatif */
}

/* Grid untuk produk showcase */
.products-showcase-grid {
    display: grid;
    /* Menggunakan grid layout */
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    /* 2 kolom responsif, minimal 400px per card */
    gap: 3rem;
    /* Jarak antar card */
}

/* Card untuk setiap produk */
.product-showcase-card {
    background: white;
    /* Background putih */
    border-radius: 24px;
    /* Sudut membulat */
    overflow: hidden;
    /* Sembunyikan overflow */
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    /* Shadow untuk depth */
    transition: var(--transition);
    /* Transisi untuk hover effect */
    display: flex;
    /* Flexbox untuk layout */
    flex-direction: column;
    /* Arah kolom */
    border: 2px solid transparent;
    /* Border transparan */
}

/* Efek hover pada product showcase card */
.product-showcase-card:hover {
    transform: translateY(-10px);
    /* Geser ke atas saat hover */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    /* Shadow lebih besar saat hover */
    border-color: var(--secondary-color);
    /* Border berubah warna saat hover */
}

/* Container untuk gambar produk */
.product-showcase-image {
    width: 100%;
    /* Lebar penuh */
    height: 280px;
    /* Tinggi tetap */
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    /* Background gradient */
    display: flex;
    /* Flexbox untuk centering */
    align-items: center;
    /* Center vertikal */
    justify-content: center;
    /* Center horizontal */
    padding: 2rem;
    /* Padding */
    border-bottom: 2px solid var(--border-color);
    /* Border bawah */
}

/* Gambar produk */
.product-showcase-image img {
    max-width: 80%;
    /* Maximum width 80% */
    max-height: 80%;
    /* Maximum height 80% */
    object-fit: contain;
    /* Object fit contain */
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    /* Drop shadow untuk gambar */
}

/* Konten produk showcase */
.product-showcase-content {
    padding: 2.5rem;
    /* Padding dalam card */
    flex: 1;
    /* Fleksibel mengisi ruang */
    display: flex;
    /* Flexbox untuk layout */
    flex-direction: column;
    /* Arah kolom */
}

/* Judul produk */
.product-showcase-content h3 {
    color: var(--primary-color);
    /* Warna judul sesuai tema */
    margin-bottom: 0.5rem;
    /* Margin bawah */
    font-size: 1.8rem;
    /* Ukuran font */
    font-weight: 700;
    /* Ketebalan font */
}

/* Kategori produk */
.product-showcase-category {
    color: var(--secondary-color);
    /* Warna kategori sesuai tema sekunder */
    font-weight: 600;
    /* Ketebalan font */
    font-size: 0.95rem;
    /* Ukuran font */
    margin-bottom: 1rem;
    /* Margin bawah */
    text-transform: uppercase;
    /* Huruf kapital */
    letter-spacing: 0.5px;
    /* Spacing huruf */
}

/* Deskripsi produk */
.product-showcase-description {
    color: var(--text-color);
    /* Warna teks */
    line-height: 1.7;
    /* Line height untuk readability */
    margin-bottom: 1.5rem;
    /* Margin bawah */
    font-size: 0.95rem;
    /* Ukuran font */
}

/* List fitur produk */
.product-showcase-features {
    list-style: none;
    /* Tanpa list style */
    padding: 0;
    /* Tanpa padding */
    margin: 0 0 2rem 0;
    /* Margin bawah */
}

/* Item fitur produk */
.product-showcase-features li {
    display: flex;
    /* Flexbox untuk layout */
    align-items: center;
    /* Center vertikal */
    gap: 0.75rem;
    /* Jarak antar item */
    color: var(--text-color);
    /* Warna teks */
    margin-bottom: 0.75rem;
    /* Margin bawah */
    font-size: 0.9rem;
    /* Ukuran font */
}

/* Icon check pada fitur */
.product-showcase-features li i {
    color: var(--secondary-color);
    /* Warna icon sesuai tema sekunder */
    font-size: 1rem;
    /* Ukuran icon */
}

/* Products Section */
.featured-products {
    padding: 5rem 0;
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(244, 246, 255, 0.9) 100%);
}

.home-products-slider {
    position: relative;
}

.home-products-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.25rem 0.25rem 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.home-products-track::-webkit-scrollbar {
    display: none;
}

.home-products-track .product-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
}

.home-products-track .product-image {
    height: 240px;
    min-height: 240px;
    padding: 25px 15px 10px;
    background: #ffffff;
}

.home-products-track .product-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
}

.home-products-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    z-index: 5;
}

.home-products-nav.prev {
    left: -18px;
}

.home-products-nav.next {
    right: -18px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.25rem;
}

@media (max-width: 768px) {
    .home-products-track .product-card {
        flex-basis: 280px;
    }

    .home-products-track .product-image {
        height: 220px;
        min-height: 220px;
    }

    .home-products-nav.prev {
        left: -10px;
    }

    .home-products-nav.next {
        right: -10px;
    }
}

@media (max-width: 768px) {
    .home-products-track .product-card {
        flex-basis: 280px;
    }

    .home-products-track .product-image {
        height: 220px;
        min-height: 220px;
        padding: 20px 12px 8px;
    }
}

@media (max-width: 480px) {
    .home-products-track .product-card {
        flex-basis: 220px;
        min-width: 220px;
    }

    .home-products-track .product-image {
        height: 180px;
        min-height: 180px;
        padding: 15px 10px 8px;
    }
}

.product-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(var(--secondary-rgb), 0.15);
    box-shadow: var(--shadow);
    transition: none !important;
    /* Animation removed for performance */
    position: relative;
}

.product-card.clickable-card {
    cursor: pointer;
}

.product-card.clickable-card:hover {
    box-shadow: var(--shadow-lg);
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    opacity: 0;
    background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.15), rgba(14, 165, 233, 0.12));
    transition: none !important;
    pointer-events: none;
}

.product-card:hover::after {
    opacity: 1;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    height: 180px;
    min-height: 180px;
    background: #ffffff;
    overflow: hidden;
    transition: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 10px 5px;
    box-sizing: border-box;
}

.product-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
    /* Transition removed for performance */
    filter: saturate(1.05);
    display: block;
    margin: 0 auto;
}





.product-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(34, 197, 94, 0.95);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-badge.out-of-stock {
    background: rgba(244, 63, 94, 0.95);
}

.product-info {
    padding: 1.25rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 1.15rem;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.product-stock {
    font-size: 0.85rem;
    color: var(--text-light);
}

.product-market-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.65rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
}

.product-market-link::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: inline-block;
}

.product-market-link:hover {
    color: var(--accent-color);
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.25rem;
}

.product-tag {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(var(--secondary-rgb), 0.18);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}











/* About Page */
.company-overview {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
}

.overview-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.overview-text p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.9;
    font-size: 1.05rem;
}

.overview-text .highlight-text {
    color: var(--secondary-color);
    font-weight: 600;
}

.company-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.company-detail-card {
    background: white;
    padding: 1.75rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.company-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, #ffffff 0%, rgba(var(--secondary-rgb), 0.03) 100%);
}

.company-detail-card h4 {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.company-detail-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.business-field-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, #ffffff 100%);
}

.business-field-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.business-field-content p {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text-color);
    text-align: center;
    margin: 0;
}

.business-field-content strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Company Photos Section */
.company-photos-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.company-photos-section .section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.company-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.company-photo-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: white;
    aspect-ratio: 4 / 3;
}

.company-photo-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.company-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.company-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(var(--secondary-rgb), 0.1) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.company-photo-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.company-photo-placeholder p {
    font-size: 0.9rem;
    margin: 0;
}

.overview-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.overview-stat {
    text-align: center;
    flex: 1;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.05) 0%, rgba(var(--primary-rgb), 0.05) 100%);
    border-radius: 16px;
    transition: var(--transition);
}

.overview-stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.1) 100%);
}

.overview-stat h3 {
    font-size: 2.8rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.overview-stat p {
    color: var(--text-color);
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
}

.overview-image {
    position: relative;
    height: fit-content;
    display: flex;
    align-items: flex-start;
}

.company-photo-main {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 100px;
    transition: var(--transition);
    align-self: flex-start;
}

.company-photo-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.company-photo-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.company-photo-placeholder {
    width: 100%;
    min-height: 300px;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(var(--secondary-rgb), 0.1) 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.company-photo-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.company-photo-placeholder p {
    font-size: 0.9rem;
    margin: 0;
}

/* Board of Directors Section */
.board-directors-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
    margin-bottom: 0;
}

.directors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 3rem auto 0;
    justify-items: center;
}

.director-card {
    width: 100%;
    max-width: 400px;
    position: relative;
}

.director-photo-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background: white;
    transition: var(--transition);
}

.director-photo-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.director-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.director-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(var(--secondary-rgb), 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.director-photo-placeholder i {
    font-size: 5rem;
    color: var(--secondary-color);
    opacity: 0.5;
}

.director-name-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 100%);
    padding: 1.5rem;
    text-align: center;
}

.director-name {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    letter-spacing: 0.5px;
}

/* Mission & Vision */
.mission-vision {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.mv-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mv-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.mv-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.5rem;
}

.mv-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

.mv-card p strong {
    color: var(--primary-color);
    font-weight: 600;
}

.mission-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mission-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.mission-num {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-color);
    flex-shrink: 0;
    line-height: 1;
    min-width: 50px;
    background: rgba(14, 165, 233, 0.08);
    padding: 0.4rem 0.6rem;
    border-radius: 10px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Arial', sans-serif;
    letter-spacing: -0.5px;
}

.mission-point p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
    flex: 1;
    font-size: 0.95rem;
}

/* Partners Section */
.partners-section {
    padding: 5rem 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.partners-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.partners-carousel-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.partners-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
}

.partners-carousel::-webkit-scrollbar {
    display: none;
}

.partner-logo-item {
    flex: 0 0 auto;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 120px;
    cursor: pointer;
}

.partner-logo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.partner-logo-img {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 1;
    transition: var(--transition);
}

.partner-logo-item:hover .partner-logo-img {
    transform: scale(1.05);
}

.partners-carousel-nav {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e5e7eb;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.partners-carousel-nav:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
}

.partners-carousel-nav:active {
    transform: scale(0.95);
}

.partners-info {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.partners-info-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.partners-info-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 58, 138, 0.4);
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
}

.partners-info-btn:active {
    transform: translateY(0);
}

.partners-info-number {
    color: #60a5fa;
    font-weight: 600;
}

.partners-info-text {
    color: white;
}

@media (max-width: 768px) {
    .partners-carousel-wrapper {
        gap: 0.5rem;
    }

    .partners-carousel {
        gap: 1.5rem;
    }

    .partner-logo-item {
        min-width: 160px;
        height: 100px;
        padding: 1rem 1.5rem;
    }

    .partner-logo-img {
        max-height: 80px;
    }

    .partners-carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .partners-info-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .partners-carousel {
        gap: 1rem;
    }

    /* Tetap sama layout dengan desktop */
    .company-photos-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .company-photos-section {
        padding: 3rem 0;
    }

    .directors-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }

    .board-directors-section {
        padding: 4rem 0;
    }

    .partner-logo-item {
        min-width: 140px;
        height: 90px;
        padding: 0.75rem 1rem;
    }

    .partner-logo-img {
        max-height: 70px;
    }

    .partners-carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .partners-info-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        gap: 0.4rem;
    }
}

/* Responsive styles for Vision & Mission */
@media (max-width: 768px) {
    .mission-vision {
        padding: 3rem 0;
    }

    /* Tetap sama layout dengan desktop */
    .mv-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .mv-card {
        padding: 2rem;
    }

    .mv-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .mv-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .mv-card p {
        font-size: 0.95rem;
    }

    .mission-content {
        gap: 1.25rem;
    }

    .mission-num {
        font-size: 1.5rem;
        min-width: 45px;
        padding: 0.35rem 0.5rem;
    }

    .mission-point p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .company-culture .culture-title {
        font-size: 2.4rem;
    }

    .culture-description {
        padding: 1.75rem;
        font-size: 0.95rem;
    }

    .culture-values {
        gap: 1.5rem;
    }

    .culture-letter {
        width: 100px;
        height: 100px;
        font-size: 2.2rem;
    }

    .culture-value p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .mission-vision {
        padding: 2.5rem 0;
    }

    .mv-card {
        padding: 1.5rem;
    }

    .mv-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }

    .mv-card h3 {
        font-size: 1.2rem;
    }

    .mv-card p {
        font-size: 0.9rem;
    }

    .mission-content {
        gap: 1rem;
    }

    .mission-point {
        gap: 0.75rem;
    }

    .mission-num {
        font-size: 1.25rem;
        min-width: 40px;
        padding: 0.3rem 0.45rem;
    }

    .mission-point p {
        font-size: 0.85rem;
    }

    .company-culture .culture-title {
        font-size: 2rem;
    }

    .culture-description {
        padding: 1.5rem;
        font-size: 0.9rem;
    }

    .culture-values {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
        gap: 1.25rem;
    }

    .culture-letter {
        width: 90px;
        height: 90px;
        font-size: 2rem;
    }

    .culture-value p {
        font-size: 0.85rem;
    }
}

.partner-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.partner-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.partner-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.partner-card p {
    color: var(--text-light);
}

/* Values / Company Culture Section */
.values-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(96, 165, 250, 0.12), rgba(31, 42, 68, 0.08));
}

.company-culture .culture-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: #1f2a44;
    margin-bottom: 2rem;
}

.company-culture .culture-title span {
    color: #5ca2ff;
}

.culture-description {
    max-width: 820px;
    margin: 0 auto 3rem;
    background: #1b1e3b;
    color: white;
    padding: 2.2rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(23, 25, 48, 0.25);
    text-align: center;
    line-height: 1.9;
}

.culture-description .culture-highlight {
    color: #6ac4ff;
    font-weight: 700;
}

.culture-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    text-align: center;
    margin-top: 2.5rem;
}

.culture-value {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.culture-letter {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at top, #9cd5ff, #5ca2ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1b1e3b;
    font-size: 2.5rem;
    font-weight: 700;
    box-shadow: 0 20px 40px rgba(92, 162, 255, 0.25);
}

.culture-value p {
    font-weight: 700;
    color: #1f2a44;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Products Page */
.products-page {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, rgba(92, 162, 255, 0.08) 0%, rgba(31, 42, 68, 0.05) 100%);
}

.products-page .container {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 30px;
    padding: 3.5rem 2.5rem;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .products-page .container {
        padding: 2.5rem 1.5rem;
    }
}

.product-filters {
    margin-bottom: 3rem;
}

.filter-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 12px 30px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-tab:hover,
.filter-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

.no-products {
    text-align: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
}

.no-products i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.no-products h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.no-products p {
    color: var(--text-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .products-page {
        padding: 2rem 0 3rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

/* Home Highlight Tiles Section */
.home-highlight-tiles {
    padding: 4rem 0;
    background: #f8f9fa;
}

.home-highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
}

.home-highlight-tile {
    position: relative;
    display: block;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.home-highlight-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.home-highlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    transition: var(--transition);
}

.home-highlight-tile:hover .home-highlight-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.home-highlight-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 2;
    color: white;
}

.home-highlight-kicker {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.home-highlight-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.home-highlight-cta {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.home-highlight-tile:hover .home-highlight-cta {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.home-highlight-cta i {
    transition: var(--transition);
}

.home-highlight-tile:hover .home-highlight-cta i {
    transform: translateX(3px);
}

@media (max-width: 1024px) {
    .home-highlight-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .home-highlight-tile {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .home-highlight-tiles {
        padding: 3rem 0;
    }

    .home-highlight-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .home-highlight-tile {
        height: 250px;
    }

    .home-highlight-title {
        font-size: 1.3rem;
    }

    .home-highlight-cta {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* News & Gallery */
.news-section {
    padding: 2.5rem 0;
    background: linear-gradient(180deg, rgba(226, 237, 255, 0.55), rgba(237, 248, 255, 0.8));
}

@media (max-width: 768px) {
    .news-section {
        padding: 2rem 0;
    }
}

@media (max-width: 576px) {
    .news-section {
        padding: 1.5rem 0;
    }
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

/* Layout Berita seperti Kompas */
.news-kompas-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Featured News (Berita Utama) */
.news-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.news-featured:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.news-featured-image {
    width: 100%;
    height: 100%;
    min-height: 350px;
    overflow: hidden;
}

.news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-featured:hover .news-featured-image img {
    transform: scale(1.05);
}

.news-featured-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-featured-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-featured-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-featured-excerpt {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.news-featured-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.news-featured-link:hover {
    color: var(--secondary-color);
    gap: 0.75rem;
}

/* Grid Berita Kecil */
.news-grid-kompas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.news-item-kompas {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-item-kompas:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.news-item-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item-kompas:hover .news-item-image img {
    transform: scale(1.08);
}

.news-item-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-item-date {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.news-item-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

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

.news-item-link:hover {
    color: var(--secondary-color);
    gap: 0.6rem;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-list-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(var(--secondary-rgb), 0.15);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.08);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.news-list-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.12);
    border-color: rgba(var(--primary-rgb), 0.25);
}

.news-list-thumb {
    position: relative;
    width: 120px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(var(--primary-rgb), 0.1);
}

.news-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-list-number {
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.news-list-content {
    flex: 1;
    min-width: 0;
}

.news-list-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    transition: var(--transition);
}

.news-list-item:hover .news-list-title {
    color: var(--primary-color);
}

.news-list-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.news-list-date i {
    font-size: 0.85rem;
}

.news-card {
    position: relative;
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(var(--secondary-rgb), 0.18);
    box-shadow: 0 25px 60px rgba(var(--primary-rgb), 0.12);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.news-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.08));
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 70px rgba(var(--primary-rgb), 0.18);
}

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

.news-card>* {
    position: relative;
    z-index: 1;
}

.news-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 0.5rem;
}

.news-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(15, 118, 255, 0.18), rgba(124, 58, 237, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1b2559;
    font-size: 1.4rem;
    box-shadow: 0 12px 30px rgba(15, 118, 255, 0.2);
}

.news-date {
    color: var(--text-light);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.news-content h3 {
    margin-bottom: 0.8rem;
    color: var(--text-color);
    font-size: 1.25rem;
}

.news-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.news-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.news-author i {
    color: var(--primary-color);
}

.news-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.news-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    white-space: nowrap;
}

.read-more:hover {
    gap: 1rem;
}

/* Gallery */
.gallery-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.gallery-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-tab {
    padding: 10px 25px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.gallery-tab:hover,
.gallery-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: white;
}

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

.gallery-overlay h4 {
    margin-bottom: 0.5rem;
}

.gallery-category {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    transition: none !important;
    padding: 30px 15px;
}

.modal-content {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(var(--secondary-rgb), 0.2);
    box-shadow: var(--shadow-lg);
    margin: auto;
    padding: 1.65rem 1.9rem;
    border-radius: 24px;
    max-width: 760px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transition: none !important;
}

.modal-product-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 300px;
    max-height: 450px;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: var(--shadow);
    margin-bottom: 1.2rem;
    transition: opacity 0.3s ease;
    background: #f3f6fc;
    padding: 0;
    box-sizing: border-box;
}

.modal-product-grid {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(260px, 1fr);
    gap: 1.35rem;
    align-items: flex-start;
}

/* Product Gallery in Modal - Horizontal Carousel */
.modal-image-container {
    position: relative;
    margin-bottom: 1rem;
}

.modal-image-main-container {
    position: relative;
    margin-bottom: 1.5rem;
    background: #f3f6fc;
    border-radius: 18px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.modal-product-gallery {
    margin-top: 1rem;
}

.gallery-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.gallery-carousel-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    width: 100%;
    min-width: 0;
    /* Important for flex items */
}

.gallery-carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    padding: 0.75rem 0.5rem;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    position: relative;
    align-items: center;
}

.gallery-carousel-track:focus {
    outline: none;
}

.gallery-carousel-track::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.gallery-carousel-item {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    min-width: 120px;
    min-height: 120px;
    border-radius: 12px;
    overflow: visible;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    background: #f3f6fc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.gallery-carousel-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.gallery-carousel-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.3);
    transform: translateY(-3px);
    z-index: 1;
}

.gallery-carousel-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 8px;
    box-sizing: border-box;
    display: block;
}

.gallery-carousel-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.gallery-carousel-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gallery-carousel-btn:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .modal-product-img {
        min-height: 250px;
        max-height: 350px;
        padding: 15px;
    }

    .modal-image-main-container {
        min-height: 280px;
        padding: 15px;
    }

    .gallery-carousel-item {
        width: 100px;
        height: 100px;
        min-width: 100px;
        min-height: 100px;
    }

    .gallery-carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .gallery-carousel-track {
        gap: 0.75rem;
    }

    .gallery-carousel-img {
        padding: 6px;
    }
}

.purchase-links-wrapper {
    margin-top: 1.2rem;
    padding: 1.15rem;
    border: 1px solid rgba(var(--secondary-rgb), 0.18);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.1), rgba(255, 255, 255, 0.95));
    width: 100%;
}

.purchase-links-wrapper h4 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.purchase-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.65rem;
}

.market-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    text-decoration: none;
    border: 1px solid rgba(var(--secondary-rgb), 0.15);
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    transition: var(--transition);
    width: 100%;
}

.market-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
}

.market-label {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-color);
    flex: 0 0 auto;
}

.market-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    flex: 1;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shopee-link {
    border-color: rgba(255, 122, 89, 0.3);
    background: linear-gradient(135deg, rgba(255, 122, 89, 0.15), rgba(255, 255, 255, 0.9));
}

.tokopedia-link {
    border-color: rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(255, 255, 255, 0.95));
}

.site-link {
    border-color: rgba(var(--secondary-rgb), 0.35);
    background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.12), rgba(255, 255, 255, 0.95));
}

.purchase-note {
    margin: 1rem 0 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.whatsapp-link {
    border: 1px solid rgba(16, 185, 129, 0.35);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(255, 255, 255, 0.9));
    color: #065f46;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 1.2rem;
        max-height: 92vh;
    }

    .modal-product-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .market-link {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .market-desc {
        text-align: left;
        white-space: normal;
    }

    .purchase-links-grid {
        grid-template-columns: 1fr;
    }
}

/* Purchase page layout */
.purchase-page {
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(92, 162, 255, 0.06), rgba(31, 42, 68, 0.04));
}

.purchase-page .purchase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.purchase-card {
    background: #fff;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 25px 60px rgba(var(--primary-rgb), 0.12);
    border: 1px solid rgba(var(--secondary-rgb), 0.2);
}

.purchase-card h2 {
    margin-bottom: 1rem;
}

.purchase-card p {
    margin-bottom: 1.2rem;
}

.purchase-support {
    margin-top: 1.5rem;
    padding: 1.2rem;
    border-radius: 16px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--text-color);
}

.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    /* animation removed for performance */
}

.gallery-modal-content {
    position: relative;
    margin: 2% auto;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
}

.gallery-modal-info {
    color: white;
    text-align: center;
    margin-top: 1rem;
}

.gallery-close {
    position: absolute;
    right: 30px;
    top: 30px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-close:hover {
    opacity: 0.7;
}

.news-detail-section {
    display: none;
    padding: 2rem 0 5rem;
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.06), rgba(var(--secondary-rgb), 0.08));
}

.news-detail-section.active {
    display: block;
}

.news-detail-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.news-breadcrumb {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.news-breadcrumb a:hover {
    text-decoration: underline;
}

.news-breadcrumb span:not(:last-child) {
    color: var(--text-light);
}

.news-detail-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2.5rem;
    align-items: start;
}

.news-detail-main {
    min-width: 0;
}

.news-detail-card {
    background: #fff;
    border-radius: 24px;
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: 0 20px 60px rgba(var(--primary-rgb), 0.12);
    border: 1px solid rgba(var(--secondary-rgb), 0.15);
    /* animation removed */
    position: relative;
    overflow: hidden;
}

.news-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 24px 24px 0 0;
}

.news-detail-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
}

.news-detail-banner {
    width: 100%;
    /* Remove fixed height to allow image aspect ratio to dictate height */
    height: auto;
    min-height: 250px;
    /* Optional: minimum height if image fails */
    border-radius: 16px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--secondary-rgb), 0.15));
    /* Image logic changed to simple img tag */
    overflow: hidden;
}

.news-detail-banner img {
    width: 100%;
    height: auto;
    /* Allow natural height */
    display: block;
    object-fit: contain;
    /* Ensure full image is seen */
    max-height: 600px;
    /* Cap max height for very tall images on desktop */
}

.news-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 12px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    background: #fff;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.7rem 1.3rem;
    cursor: pointer;
    transition: var(--transition);
}

.news-detail-back:hover {
    background: rgba(var(--primary-rgb), 0.06);
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateX(-3px);
}

.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 1.5rem 0;
    padding: 0;
    flex-wrap: wrap;
}

.news-detail-timestamp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
}

.news-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    letter-spacing: 0.02em;
}

.news-detail-card h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--text-color);
    margin: 0 0 1.5rem 0;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.news-detail-body {
    margin: 0 0 2rem 0;
}

.news-detail-body p {
    line-height: 1.85;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    text-align: inherit;
    /* Allow CKEditor inline text-align styles to work */
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
}

.news-detail-body p:last-child {
    margin-bottom: 0;
}

/* Ensure images in blog content don't overflow and aren't too large */
.news-detail-body img {
    max-width: 50%;
    height: auto !important;
    /* Force aspect ratio preservation */
    border-radius: 8px;
    margin: 1.5rem auto;
    /* Center the image */
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Heading Typography within Blog Content */
.news-detail-body h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-detail-body h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    line-height: 1.35;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

.news-detail-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #34495e;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.news-detail-body h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #444;
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
}

.news-detail-body ul,
.news-detail-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-color);
}

.news-detail-body li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.news-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
}

.news-detail-btn {
    flex: 1 1 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    border-radius: 14px;
    padding: 1rem 1.8rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.news-detail-btn.primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.2);
}

.news-detail-btn.secondary {
    background: rgba(var(--secondary-rgb), 0.12);
    color: var(--primary-color);
    border: 1px solid rgba(var(--secondary-rgb), 0.2);
}

.news-detail-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(var(--primary-rgb), 0.18);
}

.news-section.collapsed .news-grid,
.news-section.collapsed .section-title {
    display: none;
}

.news-section.collapsed {
    padding-bottom: 1rem;
}

/* Sidebar */
.news-detail-sidebar {
    position: sticky;
    top: 100px;
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--secondary-rgb), 0.15);
    height: fit-content;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(var(--primary-rgb), 0.1);
}

.sidebar-news-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sidebar-news-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.08);
    text-decoration: none;
    transition: var(--transition);
}

.sidebar-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-news-item:hover {
    transform: translateX(5px);
}

.sidebar-news-item:hover .sidebar-news-title {
    color: var(--primary-color);
}

.sidebar-news-thumb {
    width: 100px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(var(--primary-rgb), 0.1);
}

.sidebar-news-content {
    flex: 1;
    min-width: 0;
}

.sidebar-news-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.4rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.sidebar-news-date {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

@media (max-width: 1024px) {
    .news-detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .news-detail-sidebar {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {

    /* Layout Kompas di Mobile */
    .news-featured {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .news-featured-image {
        min-height: 250px;
    }

    .news-featured-content {
        padding: 1.5rem;
    }

    .news-featured-title {
        font-size: 1.5rem;
    }

    .news-featured-excerpt {
        font-size: 0.95rem;
    }

    .news-grid-kompas {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .news-item-image {
        height: 180px;
    }

    .news-item-content {
        padding: 1.25rem;
    }

    .news-item-title {
        font-size: 1.1rem;
    }

    .news-item-excerpt {
        font-size: 0.95rem;
    }

    .news-detail-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    /* .news-detail-banner height removed */

    .news-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .news-detail-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-detail-actions {
        flex-direction: column;
    }

    .news-detail-body p {
        font-size: 1rem;
        line-height: 1.75;
    }

    .news-detail-card h2 {
        font-size: 1.4rem;
    }

    .sidebar-news-item {
        flex-direction: row;
    }

    .sidebar-news-thumb {
        width: 90px;
        height: 70px;
        flex-shrink: 0;
    }
}

@media (max-width: 576px) {
    .news-detail-card {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .news-detail-header {
        flex-direction: row;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .news-detail-back {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .news-detail-card h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .news-detail-body p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .news-detail-banner {
        min-height: 200px;
        margin-bottom: 1rem;
    }

    .news-detail-banner img {
        max-height: 400px;
    }

    .news-detail-meta {
        margin-bottom: 1rem;
    }

    .news-detail-actions {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .news-detail-btn {
        flex: 1;
        padding: 0.85rem 1.2rem;
        font-size: 0.9rem;
    }

    .news-detail-sidebar {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .sidebar-news-list {
        gap: 1rem;
    }

    .sidebar-news-item {
        gap: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .sidebar-news-thumb {
        width: 70px;
        height: 60px;
    }
}

/* ============================================
   FOOTER STYLES
   Footer di bagian bawah website dengan informasi perusahaan
   Warna: dark teal agar selaras dengan brand utama
   ============================================ */

.footer {
    background: linear-gradient(135deg, #002f2a 0%, #004d40 40%, #00695c 100%);
    color: white;
    padding: 1.5rem 0 0.8rem;
    margin-top: 0;
}

/* Footer Content Grid - 4 kolom utama */
.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1rem;
    align-items: flex-start;
    align-content: flex-start;
}

/* Bagian Informasi Perusahaan */
.footer-company-info {
    flex: 1.8;
    text-align: left;
    align-self: flex-start;
    margin: 0;
    padding: 0;
}

.footer-logo {
    display: block;
    margin-bottom: 0.4rem;
    width: 250px;
    margin: 0;
    padding: 0;
}

.footer-section {
    flex: 1;
    align-self: flex-start;
    margin: 0;
    padding: 0;
}

.footer-logo-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    display: block;
    transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
    opacity: 0.8;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: left;
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.footer-section h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 1rem 0;
    position: relative;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50%;
    height: 3px;
    background: var(--secondary-color, #00bcd4);
}

/* Footer Links List */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.4rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-links a i {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: white;
    padding-left: 8px;
}

.footer-links a:hover i {
    color: white;
}

/* Footer Contact Info */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact li i {
    color: var(--secondary-color, #00bcd4);
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer-contact li span {
    flex: 1;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color, #00bcd4);
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.text-center {
    text-align: center;
}

/* Career Page Styles */
.why-join-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.job-openings-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
}

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

.job-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.job-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.job-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
}

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

.job-body {
    padding: 2rem;
}

.job-description {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.job-requirements {
    margin-bottom: 2rem;
}

.job-requirements h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.job-requirements ul {
    list-style: none;
    padding: 0;
}

.job-requirements li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    color: var(--text-light);
    position: relative;
}

.job-requirements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.apply-btn {
    width: 100%;
    margin-top: 1rem;
}

/* Application Modal */
.apply-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 30px 15px;
    overflow-y: auto;
}

.apply-modal-content {
    background: white;
    margin: 2rem auto;
    padding: 3rem;
    border-radius: 20px;
    max-width: 700px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
}

.apply-close {
    position: absolute;
    right: 2rem;
    top: 2rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
}

.apply-close:hover {
    color: var(--primary-color);
}

.apply-modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.apply-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group small {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.form-actions .btn {
    flex: 1;
    padding: 1rem;
    font-size: 1rem;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-content {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .footer-company-info,
    .footer-section {
        flex: 1 1 45%;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1rem;
    }

    /* Footer responsif untuk mobile */
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-section h3 {
        margin-bottom: 1rem;
        font-size: 1rem;
    }

    .footer-section p {
        font-size: 0.85rem;
    }

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-contact li {
        margin-bottom: 0.75rem;
        font-size: 0.85rem;
    }

    .footer-logo-img {
        height: 50px;
    }

    /* Tetap sama layout dengan desktop, hanya ukuran yang menyesuaikan */
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .jobs-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .apply-modal-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .apply-close {
        right: 1.5rem;
        top: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
    }

    /* Brand Showcase Mobile - Tetap sama layout dengan desktop, hanya ukuran yang menyesuaikan */
    .brand-showcase {
        padding: 3rem 0;
    }

    .brand-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .brand-showcase .section-subtitle {
        margin-bottom: 2rem;
        font-size: 0.95rem;
    }

    /* Penyesuaian agar teks tetap terbaca pada layout horizontal (tidak squished) */
    .brand-card {
        padding: 1.5rem 1rem !important;
        gap: 1rem !important;
    }

    .brand-content h3 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }



    .brand-highlights,
    .brand-meta {
        justify-content: center;
    }

    .brand-content h3 {
        font-size: 1.3rem;
    }

    .brand-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .brand-description--muted {
        font-size: 0.8rem;
    }

    .brand-highlights {
        margin: 0.75rem 0;
        gap: 0.3rem;
    }

    .brand-highlights li {
        font-size: 0.8rem;
    }

    .brand-meta {
        gap: 0.3rem;
        margin-bottom: 1rem;
    }

    .brand-meta-chip {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    .brand-image {
        flex: 0 0 110px !important;
        min-width: 110px;
        display: flex;
        justify-content: center;
    }

    .brand-logo-frame {
        width: 110px !important;
        height: 110px !important;
        min-width: 110px;
        min-height: 110px;
    }

    .brand-logo-frame img {
        max-width: 80%;
        max-height: 80%;
        object-fit: contain;
    }

    /* Layout Kompas di HP Kecil */
    .news-featured-content {
        padding: 1.25rem;
    }

    .news-featured-title {
        font-size: 1.3rem;
    }

    .news-featured-excerpt {
        font-size: 0.9rem;
    }

    .news-item-image {
        height: 160px;
    }

    .news-item-content {
        padding: 1rem;
    }

    .news-item-title {
        font-size: 1.1rem;
    }

    .news-item-excerpt {
        font-size: 0.85rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-wrapper {
        gap: 1rem;
    }

    .search-container {
        max-width: 360px;
    }

    .products-page .container {
        padding: 2.5rem 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.5rem;
    }

    .product-image {
        height: 340px;
        min-height: 340px;
        padding: 20px;
    }

    .feature-card,
    .value-item,
    .purchase-card {
        padding: 1.75rem;
    }


}

/* =================================================
   ABOUT PAGE - DESKTOP BASE STYLES
   ================================================= */
.company-overview {
    padding: 6rem 0;
}


.overview-text {
    width: 100%;
    min-width: 0;
}

.overview-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.overview-text .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
}

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

.company-photo-main {
    position: sticky;
    top: 100px;
    aspect-ratio: 3 / 4;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    align-self: flex-start;
}

.company-photo-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.company-photo-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 2rem 0;
    width: 100%;
}

.company-detail-card {
    padding: 1.25rem 0.75rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    min-height: auto;
    display: block;
    width: 100%;
}

.company-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, #ffffff 0%, rgba(var(--secondary-rgb), 0.03) 100%);
}

.company-detail-card h4 {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    line-height: 1.2;
}

.company-detail-card p {
    font-size: 0.8rem;
    line-height: 1.3;
    margin: 0;
    color: var(--text-color);
    word-wrap: break-word;
}

/* =================================================
   MOBILE RESPONSIVE STYLES - Max Width 768px
   ================================================= */
@media (max-width: 768px) {

    /* ============================================
       CONTAINER RESPONSIF
       Mengatur padding container untuk mobile
       ============================================ */
    .container {
        padding: 0 1rem;
        /* Padding horizontal lebih kecil di mobile */
    }

    /* ============================================
       CURSOR FIX UNTUK MOBILE
       Mencegah cursor berubah jadi bulat saat tap/klik
       Menggunakan cursor: none untuk menyembunyikan cursor bulat
       ============================================ */
    /* Semua elemen menggunakan cursor none di mobile - menyembunyikan cursor bulat */
    *,
    *::before,
    *::after {
        cursor: none !important;
        /* Menyembunyikan cursor bulat di mobile */
        -webkit-tap-highlight-color: transparent !important;
        /* Menghilangkan highlight saat tap */
        -webkit-touch-callout: none !important;
        /* Menonaktifkan callout saat long press */
    }

    /* Body dan HTML juga menggunakan cursor none */
    body,
    html {
        cursor: none !important;
    }

    /* Semua elemen interaktif juga menggunakan cursor none di mobile */
    input,
    textarea,
    select,
    button,
    a,
    .clickable-card,
    .search-box button,
    .chatbot-button,
    .whatsapp-button,
    .product-card,
    .brand-card,
    .feature-card,
    .partner-logo-item,
    .nav-menu a,
    .hamburger,
    .hamburger *,
    .hamburger span {
        cursor: none !important;
        /* Menyembunyikan cursor bulat pada elemen interaktif */
    }

    /* ============================================
       HAMBURGER MENU - MOBILE NAVIGATION
       Menu hamburger (3 garis) untuk navigasi mobile
       ============================================ */
    .hamburger {
        display: flex !important;
        /* Menampilkan hamburger di mobile */
        flex-direction: column !important;
        /* Garis-garis vertikal */
        justify-content: center !important;
        /* Posisi tengah vertikal */
        align-items: center !important;
        /* Posisi tengah horizontal */
        width: 44px !important;
        /* Area klik lebih besar (minimal 44x44px untuk touch target) */
        height: 44px !important;
        /* Tinggi sesuai standar touch target */
        padding: 10px !important;
        /* Padding untuk area klik yang lebih besar dan nyaman */
        cursor: none !important;
        /* Menyembunyikan cursor bulat */
        -webkit-tap-highlight-color: transparent !important;
        /* Menghilangkan highlight saat tap */
        touch-action: manipulation !important;
        /* Mencegah double-tap zoom pada hamburger */
        user-select: none !important;
        /* Mencegah text selection */
        -webkit-user-select: none !important;
        /* Mencegah text selection di Safari */
        -moz-user-select: none !important;
        /* Mencegah text selection di Firefox */
        position: relative !important;
        /* Posisi relatif untuk z-index */
        z-index: 1001 !important;
        /* Memastikan hamburger di atas elemen lain */
    }

    /* Styling untuk setiap garis hamburger (span) */
    .hamburger span {
        width: 25px !important;
        /* Lebar setiap garis */
        height: 3px !important;
        /* Tinggi setiap garis */
        background: var(--navbar-text) !important;
        /* Warna garis sesuai tema navbar */
        border-radius: 3px !important;
        /* Sudut membulat */
        transition: var(--transition) !important;
        /* Transisi untuk animasi */
        display: block !important;
        /* Display block */
        pointer-events: none !important;
        /* Span tidak menghalangi klik pada hamburger */
    }

    /* ============================================
       HAMBURGER ACTIVE STATE
       Animasi saat hamburger diklik (berubah jadi X)
       ============================================ */
    /* Garis pertama berputar 45 derajat ke kanan */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px) !important;
    }

    /* Garis kedua menghilang */
    .hamburger.active span:nth-child(2) {
        opacity: 0 !important;
    }

    /* Garis ketiga berputar -45 derajat ke kiri */
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px) !important;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 1.25rem 0;
        gap: 0.25rem;
        z-index: 1500;
    }

    .nav-menu a {
        color: var(--navbar-text);
        font-size: 0.98rem;
        padding: 0.4rem 0;
        display: inline-block;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 0.5rem 0;
    }

    .nav-wrapper {
        flex-wrap: wrap;
    }

    .logo {
        flex: 1 1 auto;
    }

    .logo-img {
        height: clamp(65px, 10vw, 110px);
        max-width: clamp(170px, 28vw, 260px);
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .search-container {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 1rem;
    }

    .footer-logo-img {
        height: 50px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    /* Features & Stats - Responsif untuk mobile */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

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

    .feature-card {
        padding: 1.5rem 1rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

    /* ============================================
       KEUNGGULAN SECTION - MOBILE RESPONSIVE
       ============================================ */
    .advantages-section {
        padding: 3rem 0;
        /* Padding lebih kecil di mobile */
    }

    .advantages-grid {
        grid-template-columns: 1fr !important;
        /* 1 kolom di mobile */
        gap: 1.5rem !important;
        /* Jarak lebih kecil */
    }

    .advantage-card {
        padding: 2rem 1.5rem !important;
        /* Padding lebih kecil */
    }

    .advantage-icon {
        width: 60px !important;
        /* Icon lebih kecil */
        height: 60px !important;
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    .advantage-card h3 {
        font-size: 1.1rem !important;
        /* Judul lebih kecil */
        margin-bottom: 0.75rem !important;
    }

    .advantage-card p {
        font-size: 0.9rem !important;
        /* Teks lebih kecil */
        line-height: 1.6 !important;
    }

    /* ============================================
       PRODUK KAMI SECTION - MOBILE RESPONSIVE
       ============================================ */
    .products-showcase-section {
        padding: 3rem 0 !important;
        /* Padding lebih kecil di mobile */
    }

    .products-showcase-grid {
        grid-template-columns: 1fr !important;
        /* 1 kolom di mobile */
        gap: 2rem !important;
        /* Jarak lebih kecil */
    }

    .product-showcase-card {
        border-radius: 20px !important;
        /* Border radius lebih kecil */
    }

    .product-showcase-image {
        height: 220px !important;
        /* Tinggi lebih kecil */
        padding: 1.5rem !important;
    }

    .product-showcase-image img {
        max-width: 70% !important;
        /* Gambar lebih kecil */
        max-height: 70% !important;
    }

    .product-showcase-content {
        padding: 2rem 1.5rem !important;
        /* Padding lebih kecil */
    }

    .product-showcase-content h3 {
        font-size: 1.5rem !important;
        /* Judul lebih kecil */
        margin-bottom: 0.5rem !important;
    }

    .product-showcase-category {
        font-size: 0.85rem !important;
        /* Kategori lebih kecil */
        margin-bottom: 0.75rem !important;
    }

    .product-showcase-description {
        font-size: 0.9rem !important;
        /* Deskripsi lebih kecil */
        margin-bottom: 1.25rem !important;
        line-height: 1.6 !important;
    }

    .product-showcase-features {
        margin-bottom: 1.5rem !important;
        /* Margin lebih kecil */
    }

    .product-showcase-features li {
        font-size: 0.85rem !important;
        /* Fitur lebih kecil */
        margin-bottom: 0.5rem !important;
    }

    .product-showcase-features li i {
        font-size: 0.9rem !important;
        /* Icon lebih kecil */
    }

    /* ============================================
       TENTANG KAMI - COMPANY OVERVIEW SECTION
       SAMA PERSIS DENGAN DESKTOP, hanya scale down untuk mobile
       ============================================ */

    /* Container utama section Company Overview */
    .company-overview {
        padding: 6rem 0 !important;
        /* Padding vertikal sama dengan desktop */
    }

    /* Grid layout 1 kolom untuk mobile: teks di atas, gambar di bawah */
    .overview-content {
        grid-template-columns: 1fr !important;
        /* 1 kolom untuk mobile */
        gap: 2rem !important;
        /* Jarak lebih kecil untuk mobile */
        align-items: flex-start !important;
        /* Align items ke atas */
        max-width: 100% !important;
        /* Lebar penuh untuk mobile */
        margin: 0 auto !important;
        /* Center container */
    }

    /* Container untuk teks di kolom kiri */
    .overview-text {
        width: 100% !important;
        /* Lebar penuh dalam grid */
        min-width: 0 !important;
        /* Mencegah overflow */
    }

    /* Styling untuk paragraf teks */
    .overview-text p {
        font-size: 0.95rem !important;
        /* Ukuran font lebih kecil untuk mobile */
        line-height: 1.7 !important;
        /* Line height untuk readability */
        margin-bottom: 1.5rem !important;
        /* Jarak bawah antar paragraf */
    }

    /* Styling untuk judul section */
    .overview-text .section-title {
        font-size: 1.75rem !important;
        /* Ukuran font judul lebih kecil */
        margin-bottom: 1.5rem !important;
        /* Jarak bawah judul */
    }

    /* Container untuk gambar di kolom kanan */
    .overview-image {
        width: 100% !important;
        /* Lebar penuh dalam grid */
        position: relative !important;
        /* Positioning context */
    }

    /* Foto utama perusahaan - tidak sticky di mobile */
    .company-photo-main {
        position: static !important;
        /* Static positioning di mobile */
        top: auto !important;
        /* Reset top */
        aspect-ratio: 4 / 3 !important;
        /* Ratio 4:3 (landscape) untuk mobile */
        width: 100% !important;
        /* Lebar penuh */
        border-radius: 16px !important;
        /* Sudut melengkung lebih kecil */
        overflow: hidden !important;
        /* Sembunyikan overflow */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
        /* Shadow lebih ringan */
        transition: var(--transition) !important;
        /* Transisi smooth */
        align-self: flex-start !important;
        /* Align ke atas */
    }

    /* Efek hover pada foto */
    .company-photo-main:hover {
        transform: translateY(-5px) !important;
        /* Naik sedikit saat hover */
        box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2) !important;
        /* Shadow lebih besar saat hover */
    }

    /* Gambar di dalam foto utama */
    .company-photo-main-img {
        width: 100% !important;
        /* Lebar penuh */
        height: 100% !important;
        /* Tinggi penuh */
        object-fit: cover !important;
        /* Cover seluruh area tanpa distorsi */
    }

    /* Grid untuk 6 kartu informasi perusahaan (2 kolom x 3 baris) */
    .company-details-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        /* 2 kolom sama lebar */
        gap: 0.75rem !important;
        /* Jarak antar kartu */
        margin: 2rem 0 !important;
        /* Margin atas dan bawah */
        display: grid !important;
        /* Pastikan menggunakan grid */
        width: 100% !important;
        /* Lebar penuh */
    }

    /* Kartu informasi perusahaan (Nama, Tahun, dll) */
    .company-detail-card {
        padding: 1.25rem 0.75rem !important;
        /* Padding dalam kartu */
        border-radius: 16px !important;
        /* Sudut melengkung */
        border: 2px solid var(--border-color) !important;
        /* Border kartu */
        background: white !important;
        /* Background putih */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
        /* Shadow ringan */
        transition: var(--transition) !important;
        /* Transisi smooth */
        min-height: auto !important;
        /* Tinggi otomatis sesuai konten */
        display: block !important;
        /* Display block */
        width: 100% !important;
        /* Lebar penuh */
    }

    /* Efek hover pada kartu */
    .company-detail-card:hover {
        transform: translateY(-5px) !important;
        /* Naik sedikit saat hover */
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
        /* Shadow lebih besar */
        border-color: var(--secondary-color) !important;
        /* Border berubah warna */
        background: linear-gradient(135deg, #ffffff 0%, rgba(var(--secondary-rgb), 0.03) 100%) !important;
        /* Background gradient */
    }

    /* Judul di dalam kartu (NAMA PERUSAHAAN, TAHUN BERDIRI, dll) */
    .company-detail-card h4 {
        font-size: 0.8rem !important;
        /* Ukuran font kecil untuk mobile */
        font-weight: 600 !important;
        /* Font weight bold */
        margin-bottom: 0.4rem !important;
        /* Jarak bawah judul */
        text-transform: uppercase !important;
        /* Huruf kapital semua */
        letter-spacing: 0.5px !important;
        /* Spasi antar huruf */
        color: var(--primary-color) !important;
        /* Warna teal */
        line-height: 1.2 !important;
        /* Line height kompak */
    }

    /* Teks isi di dalam kartu */
    .company-detail-card p {
        font-size: 0.8rem !important;
        /* Ukuran font kecil untuk mobile */
        line-height: 1.3 !important;
        /* Line height kompak agar tidak terlalu panjang */
        margin: 0 !important;
        /* Tidak ada margin */
        color: var(--text-color) !important;
        /* Warna teks */
        word-wrap: break-word !important;
        /* Wrap kata panjang agar tidak overflow */
    }

    /* Container untuk statistik (jika ada) */
    .overview-stats {
        flex-direction: row !important;
        /* Layout horizontal */
        gap: 2rem !important;
        /* Jarak antar stat */
        margin-top: 3rem !important;
        /* Margin atas */
        padding-top: 2rem !important;
        /* Padding atas */
        flex-wrap: wrap !important;
        /* Wrap jika tidak muat */
    }

    /* Responsif untuk mobile */
    .company-photos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .directors-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .director-card {
        max-width: 100%;
    }

    .business-field-content p {
        font-size: 1rem;
        text-align: left;
    }


    .modal-product-grid {
        grid-template-columns: 1fr;
    }

    .modal-product-img {
        height: 240px;
    }
}

@media (max-width: 576px) {
    .logo {
        width: 100%;
        justify-content: center;
    }

    .logo-img {
        height: clamp(55px, 18vw, 90px);
        max-width: clamp(140px, 46vw, 200px);
    }

    .page-hero h1,
    .section-title {
        font-size: 1.8rem;
    }

    /* Responsif untuk HP kecil */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .feature-card {
        padding: 1.25rem 0.75rem;
    }

    .stat-item {
        padding: 1.25rem 0.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .company-photos-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .directors-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .jobs-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .filter-tab {
        width: 100%;
        justify-content: center;
    }

    .product-card {
        border-radius: 16px;
    }

    .product-image {
        height: 320px;
        min-height: 320px;
        padding: 18px;
    }

    .purchase-links-wrapper {
        padding: 1rem;
    }

    .purchase-links-grid {
        grid-template-columns: 1fr;
    }

    .market-link {
        padding: 0.85rem 0.9rem;
    }

    /* Brand Showcase Extra Small Mobile */
    .brand-showcase {
        padding: 2.5rem 0;
    }

    /* Keep row layout but reduce sizes drastically */
    .brand-card {
        padding: 1.25rem 0.75rem !important;
        gap: 0.75rem !important;
    }

    .brand-highlights,
    .brand-meta {
        margin-top: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }

    .brand-content h3 {
        font-size: 1.2rem !important;
        margin-bottom: 0.25rem !important;
    }

    .brand-tagline {
        font-size: 0.8rem !important;
        margin-bottom: 0.25rem !important;
    }

    .brand-description {
        font-size: 0.8rem !important;
        line-height: 1.35 !important;
        margin-bottom: 0.5rem !important;
    }

    .brand-description--muted {
        font-size: 0.75rem !important;
        display: none;
        /* Sembunyikan deskripsi kedua agar tidak terlalu panjang */
    }

    .brand-highlights li {
        font-size: 0.7rem !important;
        margin-bottom: 3px !important;
    }

    .brand-meta-chip {
        font-size: 0.65rem !important;
        padding: 3px 6px !important;
    }

    .brand-image {
        flex: 0 0 85px !important;
        min-width: 85px !important;
    }

    .brand-logo-frame {
        width: 85px !important;
        height: 85px !important;
        min-width: 85px !important;
        min-height: 85px !important;
    }

    .brand-logo-frame img {
        max-width: 85%;
        max-height: 85%;
    }


}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    /* Aligned with right edge */
    z-index: 10000;
    /* animation: pulse 2s infinite; removed */
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    padding: 8px 12px;
    background: #333;
    color: white;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
}

.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Mobile WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 25px !important;
        right: 25px !important;
        animation: none !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .whatsapp-button {
        width: 50px !important;
        height: 50px !important;
        font-size: 24px !important;
        padding: 0 !important;
        border: none !important;
        line-height: 50px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .whatsapp-tooltip {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
}

/* =================================================
   MOBILE SIDEBAR NAVIGATION (FOMAC STYLE) - ≤768px
   ================================================= */
@media (max-width: 768px) {

    /* Body overlay saat sidebar open */
    body.sidebar-open {
        overflow: hidden;
    }

    body.sidebar-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1498;
        animation: fadeIn 0.3s ease;
    }

    /* Sidebar Navigation */
    .mobile-sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        width: 280px;
        height: 100vh;
        background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
        z-index: 1499;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    }

    .mobile-sidebar.active {
        left: 0;
    }

    /* Sidebar Header */
    .mobile-sidebar-header {
        padding: 1.5rem 1.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(0, 0, 0, 0.2);
    }

    .mobile-sidebar-logo {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

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

    .mobile-sidebar-welcome {
        color: white;
        font-size: 0.85rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Sidebar Menu */
    .mobile-sidebar-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-sidebar-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .mobile-sidebar-menu a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.25rem;
        color: white;
        text-decoration: none;
        font-size: 0.95rem;
        transition: all 0.3s ease;
    }

    .mobile-sidebar-menu a:hover,
    .mobile-sidebar-menu a.active {
        background: rgba(255, 255, 255, 0.1);
        color: #26c6da;
        padding-left: 1.5rem;
    }

    .mobile-sidebar-menu a i {
        margin-right: 0.75rem;
        width: 20px;
        text-align: center;
    }

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

    .mobile-dropdown-toggle {
        cursor: pointer;
    }

    .mobile-chevron {
        transition: transform 0.3s ease;
        font-size: 0.75rem;
        margin-left: auto;
    }

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

    .mobile-dropdown-menu {
        list-style: none;
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: rgba(0, 0, 0, 0.2);
    }

    .mobile-dropdown.active .mobile-dropdown-menu {
        max-height: 200px;
    }

    .mobile-dropdown-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }

    .mobile-dropdown-menu a {
        padding-left: 3rem;
        font-size: 0.9rem;
    }

    .mobile-dropdown-menu a i:first-child {
        margin-right: 0.75rem;
    }

    /* Close Button */
    .mobile-sidebar-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: transparent;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: default !important;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .mobile-sidebar-close:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    /* Hamburger Button */
    .hamburger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1001;
        order: 1;
        margin-right: 1rem;
        cursor: default !important;
    }

    .hamburger *,
    .hamburger span {
        cursor: default !important;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        cursor: default !important;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        cursor: default !important;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
        cursor: default !important;
    }

    .hamburger.active {
        cursor: default !important;
    }

    /* Navbar adjustments */
    .navbar {
        padding: 1rem 0 !important;
    }

    .nav-wrapper {
        flex-wrap: nowrap !important;
        gap: 1rem !important;
    }

    .logo {
        flex: 1 1 auto !important;
        order: 2;
    }

    .logo-img {
        height: clamp(70px, 15vw, 100px) !important;
        max-width: clamp(180px, 40vw, 250px) !important;
    }

    /* Search Container */
    .search-container {
        order: 3 !important;
        flex: 1 1 auto !important;
        max-width: none !important;
        margin-top: 0 !important;
    }

    /* Hide desktop nav menu */
    .nav-menu {
        display: none !important;
    }
}

/* Desktop Protection - Hide Mobile Sidebar */
@media (min-width: 769px) {
    .mobile-sidebar {
        display: none !important;
    }

    .hamburger {
        display: none !important;
        visibility: hidden !important;
    }

    .nav-menu {
        display: flex !important;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {

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

    .whatsapp-float {
        animation: none !important;
    }

    body.sidebar-open::before {
        animation: none !important;
    }
}

/* Footer Logo Adjustment */
.footer-logo {
    display: block;
    margin-bottom: 2rem;
}

.footer-logo-img {
    max-width: 100%;
    /* Fill the container */
    width: auto;
    /* Maintain aspect ratio */
    height: auto;
    object-fit: contain;
}

/* ============================================
   MODERN FOOTER STYLES (PREMIUM REDESIGN)
   ============================================ */
.modern-footer {
    background: linear-gradient(180deg, #004d40 0%, #00251a 100%);
    color: #ffffff;
    padding: 0 0 0 0;
    position: relative;
    font-size: 0.95rem;
    margin-top: 4rem;
}

.footer-wave {
    position: absolute;
    top: -120px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(138% + 1.3px);
    height: 125px;
    transform: rotateY(180deg);
}

.modern-footer .container {
    padding-top: 3rem;
    padding-bottom: 2rem;
    position: relative;
    z-index: 2;
}

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

.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    /* Reduced from 1.5rem */
    color: #26c6da;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
    padding-top: 15px;
    /* Push down to align with logo text */
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #26c6da;
    border-radius: 2px;
}

/* Brand Column */
.footer-logo-img {
    height: 70px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: #b2dfdb;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

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

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    background: #26c6da;
    color: #004d40;
    transform: translateY(-3px);
}

/* Link Lists */
.footer-nav,
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 0.4rem;
}

.footer-nav a {
    color: #b2dfdb;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-nav a:hover {
    color: #ffffff;
    padding-left: 10px;
    text-shadow: 0 0 10px rgba(38, 198, 218, 0.5);
}

.footer-nav a::before {
    content: '›';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
    font-weight: bold;
}

.footer-nav a:hover::before {
    left: -15px;
    /* Adjust based on padding */
    opacity: 0;
    /* Hidden but keeps spacing if needed, actually let's just slide */
}

/* Contact List */
.contact-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
    color: #b2dfdb;
}

.contact-list i {
    color: #26c6da;
    font-size: 1.1rem;
    margin-top: 4px;
}

.contact-list strong {
    display: block;
    color: #ffffff;
    margin-bottom: 2px;
    font-size: 0.95rem;
}

.contact-list p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #80cbc4;
}

.footer-bottom-links a {
    color: #80cbc4;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

.separator {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        /* Stack vertically on mobile to prevent text cut-off */
        gap: 2rem;
    }

    /* Fix footer wave display in mobile */


}

/* =================================================
   HOME HIGHLIGHTS (MISSING STYLES)
   ================================================= */
.home-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.home-highlight-tile {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    text-decoration: none;
    color: white;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.home-highlight-tile:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.home-highlight-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.1) 100%);
    transition: opacity 0.3s ease;
}

.home-highlight-tile:hover .home-highlight-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 40, 30, 0.4) 100%);
}

.home-highlight-content {
    position: relative;
    z-index: 2;
}

.home-highlight-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.home-highlight-title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: white;
}

.home-highlight-cta {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    z-index: 2;
}

.home-highlight-tile:hover .home-highlight-cta {
    background: white;
    color: var(--primary-color);
    transform: rotate(-45deg);
}

/* =================================================
   COMPREHENSIVE RESPONSIVE FIXES
   ================================================= */

/* 1. Global Container Padding on Mobile */
@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }

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

/* 2. Fix Home Grids on Mobile */
@media (max-width: 768px) {
    .home-highlight-grid {
        grid-template-columns: 1fr;
    }

    .home-highlight-tile {
        height: 250px;
        /* Reduced height on mobile */
    }

    /* Ensure advantages grid stacks nicely */
    .advantages-grid {
        grid-template-columns: 1fr;
        /* Force single column */
    }

    .advantage-card {
        padding: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* 3. About Page Responsiveness */
@media (max-width: 968px) {
    .overview-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .overview-image .company-photo-main {
        position: static;
        width: 100%;
        margin-top: 1rem;
    }

    .company-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mv-grid {
        grid-template-columns: 1fr;
    }

    .directors-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .director-photo-wrapper {
        aspect-ratio: 4/5;
        /* Taller on mobile for better portrait fit */
    }

    .company-culture .culture-values {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .culture-value {
        width: calc(50% - 1rem);
        /* 2 cols on mobile */
    }
}

@media (max-width: 480px) {
    .directors-grid {
        grid-template-columns: 1fr;
        /* Single column on small mobile */
    }

    .culture-value {
        width: 100%;
        /* 1 col on small mobile */
    }
}

/* =================================================
   NEWS SECTION (HORIZONTAL LIST)
   ================================================= */
.news-horizontal-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .news-horizontal-list {
        gap: 1.25rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 576px) {
    .news-horizontal-list {
        gap: 1rem;
        margin-bottom: 2rem;
    }
}

.news-card-horizontal {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .news-card-horizontal {
        flex-direction: row;
    }

    .news-card-horizontal .news-thumb {
        flex: 0 0 35%;
        min-height: 110px;
    }

    .news-card-horizontal .news-content {
        padding: 0.75rem;
    }

    .news-date-horizontal {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 576px) {
    .news-card-horizontal {
        flex-direction: column;
        gap: 0;
    }

    .news-card-horizontal .news-thumb {
        flex: 0 0 180px;
        width: 100%;
        min-height: 180px;
        margin-bottom: 0;
    }

    .news-card-horizontal .news-content {
        padding: 1rem 0.75rem;
        flex: 1;
    }

    .news-date-horizontal {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }
}

.news-card-horizontal:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.news-card-horizontal .news-thumb {
    flex: 0 0 40%;
    height: auto;
    min-height: 150px;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1024px) {
    .news-card-horizontal .news-thumb {
        flex: 0 0 35%;
        min-height: 130px;
    }
}

@media (max-width: 768px) {
    .news-card-horizontal {
        flex-direction: row;
    }

    .news-card-horizontal .news-thumb {
        flex: 0 0 35%;
        width: 35%;
        height: auto;
        min-height: 100px;
    }

    .news-card-horizontal .news-thumb img {
        width: 100%;
        height: auto;
        max-height: none;
    }

    .news-card-horizontal .news-content {
        padding: 0.75rem;
        flex: 1;
    }
}

.news-card-horizontal .news-thumb img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.news-card-horizontal .news-content {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.news-card-horizontal .news-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #333;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .news-card-horizontal .news-content h3 {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }
}

@media (max-width: 576px) {
    .news-card-horizontal .news-content h3 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
        line-height: 1.3;
    }
}

.news-date-horizontal {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
    .news-date-horizontal {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }
}

.news-btn-detail {
    display: inline-block;
    background: var(--primary-color);
    color: white !important;
    padding: 8px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    width: fit-content;
}

.news-btn-detail:hover {
    background: #00796B;
    /* Darker shade of primary */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 121, 107, 0.3);
}

@media (max-width: 768px) {
    .news-btn-detail {
        padding: 6px 20px;
        font-size: 0.85rem;
    }
}

/* =================================================
   GRID ARTICLE SECTION (Used by Blog & Home)
   ================================================= */
.grid-article-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 768px) {
    .grid-article-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 576px) {
    .grid-article-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .grid-article-card {
        max-width: 100%;
        display: flex;
        flex-direction: row;
        gap: 1rem;
    }

    .grid-article-thumb {
        flex: 0 0 120px;
        height: 100px;
        min-width: 120px;
    }

    .grid-article-content {
        padding: 0.75rem 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .grid-article-content h3 {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
        line-height: 1.3;
    }

    .grid-article-separator {
        width: 20px;
        height: 2px;
        margin-bottom: 0.3rem;
    }

    .grid-article-date {
        font-size: 0.7rem;
    }
}

.grid-article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    text-decoration: none !important;
}

@media (max-width: 768px) {
    .grid-article-card {
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
}

.grid-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.grid-article-thumb {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f1f5f9;
}

@media (max-width: 768px) {
    .grid-article-thumb {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .grid-article-thumb {
        height: 150px;
    }
}

.grid-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.grid-article-card:hover .grid-article-thumb img {
    transform: scale(1.05);
}

.grid-article-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .grid-article-content {
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .grid-article-content {
        padding: 1rem;
    }
}

.grid-article-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .grid-article-content h3 {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .grid-article-content h3 {
        font-size: 1rem;
    }
}

.grid-article-separator {
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    margin-bottom: 1rem;
}

.grid-article-date {
    font-size: 0.85rem;
    color: #888;
    margin-top: auto;
}

/* =================================================
   GALLERY SECTION (MISSING STYLES)
   ================================================= */
.gallery-section {
    padding: 5rem 0;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-tab {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(var(--secondary-rgb), 0.3);
    background: transparent;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-tab.active,
.gallery-tab:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.gallery-grid {
    display: columns;
    column-count: 3;
    column-gap: 1.5rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.gallery-image img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay h4 {
    color: white;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.gallery-category {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Gallery/News Fixes */
@media (max-width: 992px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        column-count: 1;
    }

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

    .gallery-tabs {
        gap: 0.5rem;
    }

    .gallery-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   MOBILE LAYOUT FIXES - COMPANY PROFILE & SCROLL BUTTON
   ============================================ */

/* Company Profile Layout */
.overview-content {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 3rem;
}

.overview-text {
    flex: 1;
}

.overview-image {
    flex: 0 0 400px;
    /* position: sticky; removed based on user feedback */
    /* top: 100px; removed based on user feedback */
    max-width: 100%;
}

.company-photo-main-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.company-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.company-detail-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.company-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.company-detail-card h4 {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.company-detail-card p {
    color: var(--text-color);
    font-weight: 600;
    margin: 0;
}

@media (max-width: 992px) {
    .overview-content {
        flex-direction: column;
    }

    .overview-text {
        order: 1;
    }

    .overview-image {
        flex: none;
        width: 100%;
        margin-bottom: 2rem;
        position: static;
        order: 2;
    }
}

@media (max-width: 768px) {
    .company-details-grid {
        grid-template-columns: 1fr;
    }

    .overview-content {
        gap: 2rem;
    }

    .overview-image {
        max-width: 100%;
        height: auto;
    }
}








/* ============================================
   BANNER & HERO SLIDER (CONSOLIDATED)
   ============================================ */

/* Shared Banner Components */
.brand-info-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.brand-info-section .container {
    position: relative;
    z-index: 2;
}

.brand-info-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.brand-logo-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
    padding: 0;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

.brand-logo-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.brand-content {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding-left: 2rem;
}

.brand-subtitle {
    color: var(--accent-color);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    display: block;
}

.brand-food .brand-subtitle {
    color: #4caf50;
}

.brand-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.1;
}

.brand-description p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

/* Base Banner Containers (Precise Desktop Heights) */
.brand-info-section {
    position: relative;
    width: 100%;
    aspect-ratio: 1696 / 608;
    height: auto;
    min-height: 350px;
    overflow: hidden;
    background: #f8f9fa !important;
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure the banner image covers the section without cropping */
.brand-info-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}



/* Responsive Rules [MOBILE FIXES] */
@media (max-width: 768px) {
    .brand-info-section {
        aspect-ratio: 16 / 9;
        min-height: unset;
        height: auto;
        display: block !important;
    }

    .brand-info-banner-img {
        position: relative;
        height: auto;
        object-fit: contain;
    }

    .brand-info-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .brand-logo-circle {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .brand-content {
        padding-left: 0;
    }

    .brand-title {
        font-size: 1.8rem;
    }

    .hero-nav {
        display: none !important;
    }
}


/* Extra small mobile */
@media (max-width: 576px) {
    .brand-logo-circle {
        width: 130px;
        height: 130px;
    }
}

/* Shared UI Components */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.hero-nav:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.hero-nav.prev {
    left: 30px;
}

.hero-nav.next {
    right: 30px;
}

.hero-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.hero-indicator.active {
    background: var(--secondary-color);
    width: 25px;
    border-radius: 10px;
}



/* ============================================
   CHATBOT CSS
   ============================================ */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 105px;
    /* Positioned to the left of WhatsApp */
    z-index: 1000;
}

.chatbot-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(0, 150, 136, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: var(--transition);
}

.chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 150, 136, 0.4);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 550px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    transition: var(--transition);
}

.chatbot-window.active {
    display: flex;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chatbot-header {
    background: var(--gradient-primary);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h3 {
    font-size: 1.1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-header .status {
    font-size: 0.8rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
}

.close-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.8;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #f8fbfa;
}

.message {
    max-width: 85%;
    display: flex;
    gap: 10px;
}

.message.bot {
    align-self: flex-start;
}

.message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.bot .message-avatar {
    color: var(--secondary-color);
}

.user .message-avatar {
    background: var(--secondary-color);
    color: white;
}

.message-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.message-content {
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 0.95rem;
    line-height: 1.4;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.bot .message-content {
    background: white;
    color: var(--text-color);
    border-bottom-left-radius: 2px;
    border: 1px solid rgba(0, 150, 136, 0.1);
}

.user .message-content {
    background: var(--secondary-color);
    color: white;
    border-bottom-right-radius: 2px;
}

.message-time {
    font-size: 0.75rem;
    color: var(--text-light);
    margin: 0 5px;
}

.quick-replies {
    padding: 10px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: #f8fbfa;
}

.quick-reply-btn {
    background: white;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.quick-reply-btn:hover {
    background: var(--secondary-color);
    color: white;
}

.chatbot-input-area {
    padding: 15px 20px;
    background: white;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
}

.chatbot-input {
    flex: 1;
    border: 1px solid var(--border-color);
    padding: 10px 15px;
    border-radius: 30px;
    background: #f1fbfa;
    outline: none;
    font-size: 0.9rem;
}

.chatbot-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chatbot-send-btn:hover {
    background: var(--primary-color);
    transform: rotate(15deg);
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 5px 10px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--text-light);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {

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

    40% {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .chatbot-container {
        bottom: 25px;
        right: 85px;
        /* Aligned next to WA (25 + 50 + 10) */
    }

    .chatbot-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .chatbot-window {
        width: 100vw;
        height: 100vh;
        bottom: 0;
        right: -85px;
        /* Offset to cover screen from container position */
        border-radius: 0;
    }
}



/* ============================================
   LOGO CSS
   ============================================ */



/* ============================================
   PRODUCTS SIDEBAR CSS
   ============================================ */
.brand-info-section {
    position: relative;
    padding: 80px 0;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: #ffffff;
    overflow: hidden;
}

.brand-info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 77, 64, 0.9) 0%, rgba(0, 77, 64, 0.7) 50%, rgba(0, 77, 64, 0.3) 100%);
    z-index: 1;
}

.brand-info-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Logo */
.brand-logo-container {
    flex: 0 0 250px;
    display: flex;
    justify-content: center;
}


/* Content */
.brand-content {
    flex: 1;
}

.brand-subtitle {
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.brand-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.brand-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
}

.brand-description p {
    margin-bottom: 15px;
}

/* Features List */
.brand-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.brand-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.brand-features li i {
    color: var(--accent-color);
}

/* Tags */
.brand-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.brand-tag {
    font-size: 0.85rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 5px 12px;
    border-radius: 4px;
    border-left: 3px solid var(--accent-color);
    color: rgba(255, 255, 255, 0.8);
}

/* Color Variations */
.brand-food .brand-info-overlay {
    background: linear-gradient(90deg, rgba(230, 81, 0, 0.9) 0%, rgba(239, 108, 0, 0.7) 60%, rgba(255, 152, 0, 0.3) 100%);
}

.brand-toys .brand-info-overlay {
    background: linear-gradient(90deg, rgba(21, 101, 192, 0.9) 0%, rgba(30, 136, 229, 0.7) 60%, rgba(66, 165, 245, 0.3) 100%);
}


/* ============================================
   PRODUCTS PAGE GRID STYLES
   ============================================ */
.products-page {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.products-section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.products-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 15px auto 0;
    border-radius: 2px;
}


/* Product Card */
.product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    height: 220px;
    background: #f9f9f9;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Transition removed */
}



.product-category {
    position: absolute;
    top: 15px;
    left: 15px;
    /* Updated background color for better visibility */
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(76, 175, 80, 0.9);
    color: white;
    z-index: 2;
}

.product-badge.out-of-stock {
    background: rgba(244, 63, 54, 0.9);
}

/* Product Info Body */
.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-color);
    line-height: 1.4;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 38px;
    /* Fixed height for 2 lines */
}

.product-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    display: -webkit-box;
}

/* Tags in card */
.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.product-tag {
    font-size: 0.7rem;
    padding: 3px 8px;
    background: #f0f2f5;
    border-radius: 4px;
    color: #666;
}

/* Footer in card */
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.product-stock {
    font-size: 0.85rem;
    color: #888;
}

.product-price {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* Category Specific Highlights */
.product-category-food .product-price {
    color: #e65100;
}

.product-category-toys .product-price {
    color: #1565c0;
}

/* ============================================
   RESPONSIVE DESIGN (MOBILE FIXES)
   ============================================ */

/* Related Products Section - Fomac Blog Style */
.related-products-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.related-products-section h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

.related-products-section>p {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.related-products-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-product-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.related-product-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateX(5px);
}

.related-product-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.related-product-info {
    flex: 1;
}

.related-product-info h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.related-product-info .product-category {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 12px;
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 4px;
}

.related-product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.related-product-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.related-product-link i {
    font-size: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .related-product-item {
        flex-direction: column;
        text-align: center;
    }

    .related-product-image {
        width: 100%;
        max-width: 200px;
        height: 150px;
    }

    .related-products-section {
        padding: 20px 15px;
    }
}

/* Tablet (max 992px) */
@media (max-width: 992px) {
    .brand-info-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }

    .brand-logo-container {
        flex: 0 0 auto;
        margin-bottom: 20px;
    }

    .brand-logo-circle {
        width: 180px;
        height: 180px;
        padding: 15px;
    }

    .brand-features {
        justify-content: center;
    }

    .brand-info-section {
        padding: 60px 0;
        min-height: auto;
    }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {

    /* Brand Section */
    .brand-info-section {
        padding: 80px 0 50px;
        /* Top padding increased for navbar overlap if any */
        text-align: center;
        background-attachment: scroll;
        /* Fix background fixed on mobile */
    }

    .brand-title {
        font-size: 2.2rem;
    }

    .brand-logo-circle {
        width: 140px;
        height: 140px;
        border-width: 5px;
    }

    .brand-description {
        font-size: 0.95rem;
    }

    .brand-features {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .brand-features li {
        width: 100%;
        justify-content: center;
        font-size: 0.9rem;
    }

    .brand-tags {
        justify-content: center;
    }

    /* Products Grid */
    .products-grid {
        grid-template-columns: 1fr;
        /* Single column on mobile */
        gap: 20px;
        padding: 0 15px;
    }

    .products-section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    /* Enhance Card for Mobile */
    .product-card {
        flex-direction: row;
        /* Horizontal layout for mobile cards? Optional, maybe keep vertical for bigger images */
        display: flex;
        /* Let's keep it vertical for consistency with big images, but refine sizing */
        flex-direction: column;
        border-radius: 16px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }

    /* Make mobile product format simpler/cleaner */
    .product-image {
        height: 200px;
        /* Slightly smaller height */
    }

    .product-info h3 {
        font-size: 1.1rem;
        height: auto;
        /* Allow full height */
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    /* Search button fix if needed */
    .search-box button {
        width: 35px;
        height: 35px;
    }
}

/* Small Mobile (max 480px) */
/* [REMOVED CONFLICTING MOBILE RULES - LINES 8286-8304] */

/* ============================================
   RESPONSIVE NAVBAR & SIDEBAR FIXES
   ============================================ */

/* Hamburger Menu Icon */

/* Mobile Sidebar Styling */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    /* Hidden off-screen */
    width: 300px;
    height: 100vh;
    background: #ffffff;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-sidebar-header {
    background: var(--gradient-primary);
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    position: relative;
}

.mobile-sidebar-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.mobile-sidebar-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.mobile-sidebar-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
    /* Make logo white */
}

.mobile-sidebar-welcome {
    color: rgba(255, 255, 255, 1);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.mobile-sidebar-menu {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.mobile-sidebar-menu>li>a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 25px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 4px solid transparent;
}

.mobile-sidebar-menu>li>a:hover,
.mobile-sidebar-menu>li>a.active {
    background: var(--bg-light);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.mobile-sidebar-menu i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

/* Sidebar Dropdown */
.mobile-dropdown-toggle {
    justify-content: space-between;
}

.mobile-dropdown-menu {
    display: none;
    /* Hidden by default */
    background: #f8f9fa;
    padding: 5px 0;
    list-style: none;
}

.mobile-dropdown-menu.active {
    display: block;
}

.mobile-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 25px 10px 45px;
    /* Indented */
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.mobile-dropdown-menu a:hover,
.mobile-dropdown-menu a.active {
    color: var(--primary-color);
    background: #eef2f5;
}

/* Sidebar Overlay */
body.sidebar-open::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    backdrop-filter: blur(3px);
    /* animation removed */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Navbar Responsiveness - Media Query */
@media (max-width: 992px) {

    /* Hide Desktop Elements */
    .nav-menu,
    .search-container {
        display: none !important;
    }

    /* Show Mobile Elements */
    .hamburger {
        display: flex !important;
    }

    /* Adjust Layout */
    .nav-wrapper {
        padding: 0 10px;
        justify-content: space-between;
        /* Ensure Space Between Logo and Hamburger */
    }

    .navbar {
        padding: 1rem 0;
    }

    .logo-img {
        max-width: 150px;
        /* Limit logo width on tablet */
    }
}

@media (max-width: 576px) {
    .logo-img {
        max-width: 120px;
        /* Smaller logo on mobile phone */
        height: auto;
    }

    .navbar {
        padding: 0.8rem 0;
    }
}


/* HERO SLIDER FIXED */
/* Hero Banner Slider CSS */

/* ============================================
   Main Container
   ============================================ */
/* ============================================
   HERO BANNER STYLES - FINAL VERSION
   ============================================ */

/* Desktop Default */
.hero-banner-slider {
    width: 100%;
    height: auto;
    aspect-ratio: 1696 / 608;
    overflow: hidden;
    position: relative;
    background: #f8f9fa !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .hero-banner-slider {
        aspect-ratio: 16 / 9;
        height: auto !important;
    }
}

/* ============================================
   PREMIUM PRODUCT MODAL STYLES
   ============================================ */
.modal-product-header {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.modal-product-header h2 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.8rem;
}

.product-model-text {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
    font-weight: 500;
}

.modal-product-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: start;
}

@media (max-width: 768px) {
    .modal-product-grid {
        grid-template-columns: 1fr;
    }
}

.modal-image-main-container {
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.modal-product-img {
    max-height: 400px;
    width: auto;
    object-fit: contain;
}

/* Modal Pricing */
.product-pricing-modal {
    background: #fdf2f2;
    padding: 15px;
    border-radius: 10px;
    border: 1px dashed #dc2626;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.price-row.promo .price-value {
    color: #dc2626;
    font-size: 1.4rem;
    font-weight: bold;
}

.price-row.online .price-value {
    color: #2563eb;
    font-weight: 600;
}

.price-row.basic .price-value {
    color: #64748b;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.price-label {
    font-weight: 500;
    color: #475569;
}

/* Rich Content Rendering */
.rich-content {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.6;
}

.rich-content p {
    margin-bottom: 10px;
}

.rich-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

/* Modal Gallery Carousel */
.modal-product-gallery {
    margin-top: 15px;
}

.gallery-carousel-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 5px 0;
    scrollbar-width: thin;
}

.gallery-carousel-item {
    flex: 0 0 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
}

.gallery-carousel-item.active {
    border-color: var(--primary-color);
}

.gallery-carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    z-index: 1;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Animation Removed for Instant Load */

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    background-color: #f8f9fa;
    object-position: center;
    display: block;
}

/* Navigation Arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(15, 23, 42, 0.1);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--secondary-color);
}

.hero-nav.prev {
    left: 30px;
}

.hero-nav.next {
    right: 30px;
}

/* Indicators */
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.3);
    cursor: pointer;
    border: 2px solid rgba(15, 23, 42, 0.2);
}

.hero-indicator:hover {
    background: rgba(15, 23, 42, 0.5);
}

.hero-indicator.active {
    background: var(--secondary-color);
    width: 40px;
    border-radius: 20px;
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

/* Tablet & Mobile - Fluid Auto-Height Banner (Grid Method) */
@media (max-width: 768px) {
    .hero-banner-slider {
        width: 100% !important;
        margin-left: 0 !important;
        height: auto !important;
        min-height: unset !important;
        aspect-ratio: auto !important;
        overflow: hidden;
        border-radius: 0 !important;
        background: transparent !important;
    }

    /* Grid Layout to stack slides while respecting image height */
    .hero-slides {
        display: grid !important;
        grid-template-areas: "stack";
        width: 100% !important;
        height: auto !important;
        padding: 0 !important;
    }

    .hero-slide {
        grid-area: stack;
        position: relative !important;
        /* Allows height to flow */
        inset: auto !important;
        width: 100% !important;
        height: auto !important;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.6s ease, visibility 0.6s ease;
        z-index: 1;
        display: block !important;
    }

    .hero-slide.active {
        opacity: 1;
        visibility: visible;
        z-index: 2;
    }

    .hero-image {
        width: 100% !important;
        height: auto !important;
        /* Natural height */
        object-fit: contain !important;
        /* Ensure full image is seen */
        display: block !important;
    }

    /* Navigation Adjustment */
    .hero-nav {
        width: 35px !important;
        height: 35px !important;
        font-size: 0.9rem !important;
    }

    .hero-nav.prev {
        left: 10px !important;
    }

    .hero-nav.next {
        right: 10px !important;
    }

    .hero-indicators {
        bottom: 15px !important;
    }
}

/* Specific Mobile Tweaks (Optional overrides, but main logic is above) */
.hero-nav {
    display: flex !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 1.2rem !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #333 !important;
    /* Ensure nice contrast */
    z-index: 100 !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    opacity: 1 !important;
    top: 50% !important;
    margin-top: -18px !important;
    /* Center vertically */
}

.hero-nav.prev {
    left: 5px !important;
}

.hero-nav.next {
    right: 5px !important;
}

.hero-indicators {
    bottom: 10px !important;
}

/* Brand Description Color Fix */
.brand-description p,
.brand-description {
    color: black !important;
    font-weight: 500;
}

/* Fix for Category Banners (Standardized Size & Position) */
.brand-info-section,
.page-hero {
    position: relative;
    width: 100%;
    min-height: 400px;
    /* Increased height for better visibility */
    background-size: cover !important;
    /* Ensure it fills the area */
    background-position: center center !important;
    /* Center the focus */
    background-repeat: no-repeat !important;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0px;
}

/* Adjust height for mobile */

/* Force Overlay to be neutral (remove orange/color tint globally) */
.brand-info-overlay,
.page-hero::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%) !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    content: '';
    /* Ensure pseudo-element renders */
}

.brand-info-wrapper {
    position: relative;
    z-index: 2;
}

/* [REMOVED REDUNDANT 'FIXES FOR BANNER & RESPONSIVENESS' BLOCK] */

/* About Us Mobile Layout Fix */
.overview-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: flex-start;
}

.overview-text {
    flex: 1 1 500px;
}

.overview-image {
    flex: 1 1 400px;
}

@media (max-width: 768px) {
    .overview-content {
        flex-direction: column !important;
    }

    .overview-text {
        order: 2;
        /* Text comes second */
        width: 100%;
    }

    .overview-image {
        order: 1;
        /* Image comes first (right after title) */
        width: 100%;
        margin-top: 1rem;
        margin-bottom: 1rem;
        /* Add spacing below image */
    }

    .logo-img {
        height: 60px !important;
    }
}

/* ============================================
   MOBILE NEWS DETAIL LAYOUT FIX (Ensures Content First, Sidebar Last)
   ============================================ */
@media (max-width: 992px) {
    .news-detail-layout {
        display: flex;
        flex-direction: column !important;
    }

    .news-detail-main {
        order: 1 !important;
        width: 100% !important;
    }

    .news-detail-sidebar {
        order: 2 !important;
        width: 100% !important;
        margin-top: 3rem !important;
        border-left: none !important;
        padding-left: 0 !important;
        border-top: 1px solid #eee;
        padding-top: 2rem;
    }
}

/* [REMOVED REDUNDANT 'HERO BANNER SLIDER FIX (Home Page)' BLOCK] */

/* ============================================
   MOBILE IMAGE CONSISTENCY FIX (News Detail)
   ============================================ */
@media (max-width: 768px) {

    /* Remove ALL padding and allow overflow */
    .news-detail-section .container,
    .news-detail-wrapper,
    .news-detail-layout,
    .news-detail-main {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow: visible !important;
    }

    /* Card: no padding, allow overflow */
    .news-detail-card {
        padding: 0 !important;
        overflow: visible !important;
    }

    /* Banner: edge-to-edge for better mobile display */
    .news-detail-banner {
        margin-left: -1rem;
        margin-right: -1rem;
        border-radius: 0;
    }

    /* Padding for text content only */
    .news-detail-header {
        padding: 1rem 1.25rem !important;
    }

    .news-detail-meta,
    .news-detail-body,
    .news-detail-actions,
    #newsDetailAuthorLine,
    #newsDetailTitle {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    /* Sidebar */
    .sidebar-news-item-vertical {
        background: white;
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        border: 1px solid #eee;
    }

    .news-detail-sidebar {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        background: #f8fbfa;
        border-radius: 16px;
        margin-top: 2rem !important;
        padding-bottom: 2rem;
    }
}

/* Ensure Main Detail Banner Image is always responsive and tidy */
.news-detail-banner img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

/* ============================================
   MOBILE IMAGE FIX COMPREHENSIVE (Refined)
   ============================================ */

/* 1. Main Article Image: FULL CONTAIN (No cropping) & Natural Size */
.news-detail-banner img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    /* Ensure full image is shown - portrait or landscape */
    min-height: auto !important;
    background: transparent !important;
    border-radius: 12px;
}

/* 2. Sidebar: Horizontal Layout (Thumbnail + Text) - Desktop & Mobile */
.sidebar-news-item-vertical {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 12px !important;
    margin-bottom: 15px !important;
    background: white !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e5e7eb !important;
    max-width: 100% !important;
}

.sidebar-news-item-vertical>div:first-child {
    flex-shrink: 0 !important;
    width: 90px !important;
    height: 70px !important;
    overflow: hidden !important;
    border-radius: 6px !important;
}

.sidebar-news-item-vertical img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    aspect-ratio: auto !important;
}

.sidebar-news-item-vertical>div:last-child {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.sidebar-news-item-vertical h4 {
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    font-weight: 600 !important;
}

.sidebar-news-item-vertical span {
    font-size: 0.75rem !important;
    color: #6b7280 !important;
}

/* ============================================
   MOBILE CATEGORY BANNER FIX
   Aligns product banner with home banner style
   ============================================ */

/* Default: Hide the mobile img tag on desktop */
.mobile-banner-img {
    display: none;
}

@media (max-width: 768px) {

    /* Show the image tag */
    .mobile-banner-img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
        position: relative;
        z-index: 0;
    }

    /* Reset the section container */
    .brand-info-section {
        background-image: none !important;
        background-color: #f8f9fa;
        height: auto !important;
        min-height: unset !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        display: block !important;
        position: relative;
    }

    /* Position the content overlay */
    .brand-info-wrapper {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: 100%;
        /* Full height to center vertically if needed */
        z-index: 5;
        padding: 0 4%;
        /* Slightly less padding to fit more content */

        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: left !important;
        gap: 15px;
    }

    /* Logo Sizing - Lager as per screenshot */
    .brand-logo-container {
        flex: 0 0 auto;
        width: 105px !important;
        height: 105px !important;
        max-width: 105px !important;
        margin-bottom: 0 !important;
    }

    .brand-logo-circle {
        width: 100% !important;
        height: 100% !important;
        display: flex;
        align-items: center;
        justify-content: center;
        background: white;
        border-radius: 50%;
        padding: 8px;
        /* Slightly more padding */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }

    /* Text Container Sizing */
    .brand-info-section .brand-content {
        flex: 1;
        text-align: left !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
        color: white !important;
    }

    /* Typography Adjustments */
    .brand-info-section .brand-subtitle {
        font-size: 0.75rem !important;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 600;
        margin-bottom: 2px !important;
        display: block;
        opacity: 0.95;
        color: white !important;
    }

    .brand-info-section .brand-title {
        font-size: 1.4rem !important;
        line-height: 1.1 !important;
        font-weight: 800 !important;
        margin-bottom: 4px !important;
        text-transform: uppercase;
        color: white !important;
    }

    .brand-info-section .brand-description {
        display: block !important;
        font-size: 0.75rem !important;
        line-height: 1.3;
        margin-bottom: 6px !important;
        opacity: 0.9;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: white !important;
    }

    /* Show Features - Styled as mini-pills/badges */
    .brand-features {
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .brand-info-section .brand-features li {
        font-size: 0.55rem !important;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        padding: 2px 8px;
        width: fit-content;
        display: flex;
        align-items: center;
        gap: 5px;
        backdrop-filter: blur(2px);
        line-height: 1.2;
        color: white !important;
    }

    .brand-features li i {
        font-size: 0.6rem !important;
    }

    /* Darker overlay to make white text pop */
    .brand-info-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
        z-index: 1;
    }
}

/* ============================================
   MOVED FROM NEWS-RESPONSIVE.CSS
   ============================================ */
@media (max-width: 1024px) {
    .news-section .container>div[style*="grid-template-columns"] {
        grid-template-columns: 1fr 300px !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .news-section .container>div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .news-main-sidebar {
        position: static !important;
        order: -1;
    }
}

@media (max-width: 576px) {
    .news-section .container>div[style*="grid-template-columns"] {
        gap: 1.5rem !important;
    }
}

/* =================================================
   BLOG GRID SYSTEM (Separated from News)
   ================================================= */
.grid-article-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 2rem;
}

.grid-article-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.grid-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.grid-article-thumb {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background-color: #f0f0f0;
    position: relative;
}

.grid-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.grid-article-card:hover .grid-article-thumb img {
    transform: scale(1.05);
}

.grid-article-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.grid-article-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 12px;
    line-height: 1.4;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.2em;
    /* Ensure uniform height for logic */
}

/* Small separator line */
.grid-article-separator {
    width: 40px;
    height: 3px;
    background-color: #a82e2e;
    /* Red accent matching screenshot/brand */
    margin-bottom: 12px;
    border-radius: 2px;
}

.grid-article-date {
    font-size: 0.85rem;
    color: #888;
    margin-top: auto;
    /* Push to bottom */
}

/* Responsive Grid */
@media (max-width: 992px) {
    .grid-article-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .grid-article-container {
        grid-template-columns: 1fr;
        gap: 20px;
        /* Space between cards */
    }

    .grid-article-content {
        padding: 15px;
    }

    .grid-article-content h3 {
        min-height: auto;
        /* Allow auto height on mobile */
        font-size: 1rem;
    }
}

/* =================================================
   NEWS LIST STYLES (Compact Horizontal)
   ================================================= */
.news-horizontal-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    /* Limit width for readability */
    margin: 0 auto;
}

.news-card-horizontal {
    display: flex;
    flex-direction: row;
    height: 180px;
    /* Fixed compact height */
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.news-card-horizontal:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

.news-thumb {
    flex: 0 0 280px;
    /* Fixed width for image */
    height: 100%;
    overflow: hidden;
    position: relative;
    background-color: #f0f0f0;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content vertically */
    overflow: hidden;
    /* Prevent text overflow */
}

.news-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #2c3e50;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limit title to 2 lines */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date-horizontal {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Button inside card */
.news-btn-detail {
    display: inline-block;
    width: fit-content;
    padding: 6px 14px;
    background-color: var(--primary-color);
    /* Uses variable */
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background-color 0.2s;
}

.news-btn-detail:hover {
    background-color: #004d40;
    /* Darker shade */
    color: white;
}

/* Responsive adjustments for News Cards */
@media (max-width: 768px) {
    .news-card-horizontal {
        flex-direction: column;
        height: auto;
        max-width: 400px;
        /* Limit width on mobile */
        margin: 0 auto;
        /* Center on mobile */
    }

    .news-thumb {
        flex: none;
        width: 100%;
        height: 200px;
    }

    .news-content {
        padding: 15px;
    }

    .news-content h3 {
        font-size: 1rem;
    }
}

/* Homepage Product Slider Track */
.home-products-slider {
    position: relative;
    padding: 0 10px;
}

.home-products-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 5px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.home-products-track::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.home-products-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid #eee;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.home-products-nav:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.home-products-nav.prev {
    left: -10px;
}

.home-products-nav.next {
    right: -10px;
}

@media (max-width: 768px) {
    .home-products-nav {
        display: flex;
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    /* Hide arrows on mobile, rely on swipe */
    .home-products-track {
        padding-right: 20px;
    }

    /* Peek effect */
}

/* Shopee cards inside homepage product slider */
.home-products-track .shopee-card {
    flex: 0 0 190px;
    min-width: 190px;
    max-width: 190px;
    width: 190px;
    scroll-snap-align: start;
    height: auto;
    display: flex;
    flex-direction: column;
}

.home-products-track .shopee-image-container {
    width: 100%;
    min-width: 0;
}

@media (max-width: 480px) {
    .home-products-track .shopee-card {
        flex: 0 0 150px;
        min-width: 150px;
        max-width: 150px;
        width: 150px;
    }
}


/* New Product Modal Layout (Tokopedia Style) */
.modal-product-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 10px;
}

.modal-product-left {
    flex: 0 0 300px;
    max-width: 300px;
}

.modal-product-center {
    flex: 1;
    min-width: 300px;
}

.modal-product-right {
    flex: 0 0 250px;
    max-width: 250px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

/* Right Sidebar Box */
.modal-right-title {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 15px;
}

.qty-btn {
    background: none;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 1.1rem;
    color: #00AA5B;
    /* Tokopedia Green */
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    padding: 5px 0;
    -moz-appearance: textfield;
    appearance: textfield;
}

.stock-info {
    font-size: 0.85rem;
    color: #666;
    margin-left: 10px;
}

.subtotal-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.subtotal-price {
    font-size: 1.1rem;
    font-weight: 700;
    text-align: right;
    margin-bottom: 20px;
}

.modal-action-btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-add-cart {
    background: #00AA5B;
    color: white;
    border: none;
}

.btn-add-cart:hover {
    background: #009650;
}

.btn-buy-direct {
    background: white;
    color: #00AA5B;
    border: 1px solid #00AA5B;
}

.btn-buy-direct:hover {
    background: #f0fdf4;
}

/* Tabs */
.pdp-tabs {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 15px;
}

.pdp-tab {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    border-bottom: 2px solid transparent;
}

.pdp-tab.active {
    color: #00AA5B;
    border-bottom-color: #00AA5B;
}

@media (max-width: 900px) {
    .modal-product-layout {
        flex-direction: column;
    }

    .modal-product-left,
    .modal-product-center,
    .modal-product-right {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    .modal-product-right {
        position: static;
        margin-top: 20px;
    }
}


/* Marketplace Buttons */
.btn-tokopedia {
    background-color: #03AC0E;
    color: white !important;
    border: none;
    margin-top: 10px;
}

.btn-tokopedia:hover {
    background-color: #02940b;
    color: white !important;
}

.btn-shopee {
    background-color: #EE4D2D;
    color: white !important;
    border: none;
    margin-top: 10px;
}

.btn-shopee:hover {
    background-color: #d73211;
    color: white !important;
}

/* ============================================
   SHOPEE STYLE PRODUCT CARD (Restored)
   ============================================ */
.shopee-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .09);
    border-radius: 4px;
    /* Slightly more rounded for premium feel */
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 190px;
    max-width: 190px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .1);
    text-decoration: none !important;
    /* Remove underlines from the entire card */
    color: inherit;
}

.shopee-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.shopee-image-container {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    background-color: #f5f5f5;
    overflow: hidden;
}

.shopee-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* CHANGED: contain to prevent blurry stretching and cropping of product images */
    background-color: #fff;
    padding: 8px;
    /* Small padding to keep image away from edges */
    transition: transform 0.3s ease;
}

.shopee-badge-discount {
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 32px;
    background-color: rgba(255, 212, 36, .9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 500;
    color: #ee4d2d;
    line-height: 0.9;
    z-index: 2;
}

.shopee-badge-discount::after {
    content: "";
    width: 0;
    height: 0;
    left: 0;
    bottom: -4px;
    position: absolute;
    border-color: transparent rgba(255, 212, 36, .9);
    border-style: solid;
    border-width: 0 18px 4px;
}

.shopee-badge-mall {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: #d0011b;
    color: #fff;
    padding: 2px 4px;
    border-radius: 2px;
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 1;
    z-index: 2;
}

.shopee-content {
    padding: 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.shopee-title {
    font-size: 0.85rem !important;
    line-height: 1.25rem !important;
    height: 2.5rem !important;
    max-height: 2.5rem !important;
    color: rgba(0, 0, 0, .87);
    margin-bottom: 8px;
    /* More breathing room */
    overflow: hidden !important;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    /* Added for standard compatibility */
    -webkit-box-orient: vertical !important;
    word-break: break-word;
    text-decoration: none !important;
}

.shopee-price-container {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: auto;
    /* Push to bottom */
}

.shopee-original-price {
    font-size: 0.75rem;
    color: rgba(0, 0, 0, .54);
    text-decoration: line-through;
    margin-right: 2px;
}

.shopee-currency {
    font-size: 0.75rem;
    color: #ee4d2d;
    font-weight: 500;
}

.shopee-price {
    font-size: 1rem;
    color: #ee4d2d;
    font-weight: 600;
    text-decoration: none !important;
}

.shopee-location {
    font-size: 0.7rem;
    color: rgba(0, 0, 0, .54);
    margin-top: 6px;
    text-align: right;
    display: block;
    width: 100%;
}

@media (max-width: 480px) {
    .shopee-card {
        min-width: 150px;
        max-width: 150px;
    }
}