/* Reset & Base Styles */
:root {
    --primary: #ff0000;
    --primary-dark: #e52b2b;
    --secondary: #1A535C;
    --secondary-dark: #0F3A42;
    --accent: #FFD700;
    --accent-dark: #D3AF37;
    --dark: #292F36;
    --light: #F7FFF7;
    --gray: #6C757D;
    --gray-light: #E9ECEF;
    --success: #06D6A0;
    --warning: #FFD166;
    --danger: #EF476F;
    
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    
    --radius: 12px;
    --radius-lg: 20px;
    --radius-sm: 8px;
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

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

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

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--gray-light);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-secondary {
    background-color:#0ba018;
    color: #E9ECEF;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Preloader */
/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s ease;
    overflow: hidden;
}

/* Efek cahaya merah di belakang */
#preloader::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 2.5s ease-in-out infinite;
}

/* Grain texture overlay */
#preloader::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* Ring terluar — slow rotate */
.loader {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto;
}

.loader::before,
.loader::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

/* Ring luar */
.loader::before {
    inset: 0;
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-top-color: #dc2626;
    animation: spin 1.4s cubic-bezier(0.6, 0.2, 0.4, 0.8) infinite;
}

/* Ring dalam */
.loader::after {
    inset: 14px;
    border: 2px solid rgba(255, 255, 255, 0.04);
    border-bottom-color: #f87171;
    animation: spin-reverse 1s cubic-bezier(0.6, 0.2, 0.4, 0.8) infinite;
}

/* Titik merah di tengah */
.loader-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px 4px rgba(239, 68, 68, 0.6);
    animation: dot-pulse 1.4s ease-in-out infinite;
}

/* Teks loading */
.preloader-content p {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    animation: text-flicker 3s ease-in-out infinite;
}

/* Garis bawah animasi */
.preloader-bar {
    width: 60px;
    height: 1px;
    background: rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.preloader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #dc2626, transparent);
    animation: bar-sweep 1.8s ease-in-out infinite;
}

/* Keyframes */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    to { transform: rotate(-360deg); }
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; }
}

@keyframes dot-pulse {
    0%, 100% { box-shadow: 0 0 8px 2px rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 18px 6px rgba(239, 68, 68, 0.8); }
}

@keyframes text-flicker {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

@keyframes bar-sweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.main-header.scrolled {
    background: white;
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 45px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--secondary);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark);
    position: relative;
    padding: 5px 0;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.nav-cta {
    margin-left: 10px;
    padding: 10px 15px;
    font-size: 0.9rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

/* Desktop Background */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-gensetku.jpg'); /* Gambar untuk desktop */
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
    z-index: 1;
}

/* Mobile Background */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-background1.jpg'); /* Gambar untuk mobile */
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
    z-index: 2;
    display: none; /* Sembunyikan di desktop */
}

/* Responsif untuk mobile */
@media (max-width: 991px) {
    .hero-bg::before {
        display: none; /* Sembunyikan desktop di mobile */
    }
    
    .hero-bg::after {
        display: block; /* Tampilkan mobile di mobile */
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 83, 92, 0.9) 0%, rgba(30, 58, 138, 0.7) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    font-size: 0.9rem;
}

.hero-badge i {
    color: var(--accent);
    margin-right: 6px;
}

.hero-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.highlight {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(78, 205, 196, 0.3);
    z-index: -1;
}

.typing-text {
    display: inline-block;
    border-right: 2px solid var(--accent);
    animation: blink 1s infinite;
    padding-right: 3px;
}

@keyframes blink {
    0%, 100% { border-color: var(--accent); }
    50% { border-color: transparent; }
}

.hero-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    padding: 0 10px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 0 15px;
    min-width: 100px;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--accent);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-text {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    min-width: 200px;
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    padding: 15px 0;
    color: white;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.promo-icon {
    font-size: 1.5rem;
    color: var(--accent);
}

.promo-text {
    flex: 1;
    min-width: 200px;
}

.promo-text h3 {
    font-size: 1.1rem;
    margin-bottom: 3px;
    color: var(--accent);
}

.promo-text p {
    opacity: 0.9;
    font-size: 0.85rem;
}

.promo-content .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Floating WhatsApp - DUA TOMBOL */
.floating-wa-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.floating-wa-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.9rem;
    width: auto;
    min-width: 140px;
    justify-content: center;
}

/* Tombol Bobby (kept for compatibility) */
.floating-wa-btn.bobby {
    background: linear-gradient(135deg, #25D366, #128C7E);
    animation: pulse 2s infinite;
}

/* Tombol Rista (kept for compatibility) */
.floating-wa-btn.rista {
    background: linear-gradient(135deg, #25D366, #128C7E);
    animation: pulse 2s infinite 1s;
}

/* Single WA button */
.floating-wa-btn.single {
    background: linear-gradient(135deg, #25D366, #128C7E);
    animation: pulse 2s infinite;
    padding: 14px 24px;
    font-size: 1rem;
    min-width: 180px;
}

.floating-wa-btn i {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.floating-wa-btn span {
    display: inline;
    white-space: nowrap;
}

/* Responsif untuk tablet */
@media (min-width: 768px) {
    .floating-wa-btn {
        min-width: 180px;
        justify-content: flex-start;
    }
}

/* Responsif untuk mobile kecil */
@media (max-width: 480px) {
    .floating-wa-container {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }
    
    .floating-wa-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        min-width: 130px;
        gap: 8px;
    }
    
    .floating-wa-btn i {
        font-size: 1.2rem;
    }
    
    .floating-wa-btn span {
        font-size: 0.8rem;
    }
}

/* Untuk layar sangat kecil (iPhone SE dll) */
@media (max-width: 360px) {
    .floating-wa-btn {
        min-width: 120px;
        padding: 8px 14px;
    }
    
    .floating-wa-btn span {
        font-size: 0.75rem;
    }
}

/* Tambahan untuk portrait mode dengan tinggi terbatas */
@media (max-height: 600px) and (orientation: portrait) {
    .floating-wa-container {
        bottom: 10px;
        right: 10px;
    }
    
    .floating-wa-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

/* Produk Section */
.produk-section {
    padding: 60px 0;
    background: linear-gradient(to bottom, var(--light) 0%, #ffffff 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 10px;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--gray);
    max-width: 600px;
    margin: 15px auto 0;
    line-height: 1.5;
}

.produk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 0 10px;
}

.produk-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.produk-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.produk-img {
    height: 0;
    padding-bottom: 100%; /* Ini yang membuat rasio 1:1 */
    overflow: hidden;
    position: relative;
    width: 100%; }

.produk-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Agar gambar tidak terdistorsi */
    transition: transform 0.5s ease;
}

.produk-card:hover .produk-img img {
    transform: scale(1.1);
}

.produk-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-weight: 600;
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 50px;
    z-index: 2;
}

.produk-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.produk-category {
    display: inline-block;
    background: var(--gray-light);
    color: var(--secondary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 12px;
    align-self: flex-start;
}

.produk-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--secondary);
    line-height: 1.3;
}

.produk-desc {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
}

.produk-specs {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.produk-spec {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--dark);
}

.produk-spec i {
    color: var(--primary);
    font-size: 0.9rem;
}

.produk-content .btn {
    margin-top: auto;
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Brands Section */
.brands-section {
    padding: 50px 0;
    background: white;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    align-items: center;
    padding: 0 10px;
}

.brand-item {
    background: white;
    padding: 15px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    height: 80px;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.brand-item img {
    max-height: 40px;
    width: auto;
    opacity: 0.7;
    transition: var(--transition);
}

.brand-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Layanan Section */
.layanan-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
}

.layanan-section .section-title {
    color: white;
}

.layanan-section .section-title::after {
    background: var(--accent);
}

.layanan-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.layanan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    padding: 0 10px;
}

.layanan-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.layanan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(78, 205, 196, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.layanan-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
}

.layanan-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.layanan-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: white;
    position: relative;
    z-index: 2;
}

.layanan-card p {
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Tentang Section */
.tentang-section {
    padding: 60px 0;
    background: white;
}

.tentang-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.tentang-image {
    position: relative;
    padding: 0 10px;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-frame img {
    width: 100%;
    height: auto;
}

.experience-badge {
    position: absolute;
    bottom: -15px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 15px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    z-index: 2;
}

.experience-badge span {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge small {
    font-size: 0.7rem;
    opacity: 0.9;
}

.tentang-content {
    padding: 0 10px;
}

.keunggulan-list {
    margin: 25px 0;
}

.keunggulan-item {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.keunggulan-item i {
    color: var(--success);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.keunggulan-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--secondary);
}

.keunggulan-item p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.4;
}

.tentang-cta {
    margin-top: 25px;
}

/* Testimoni Section */
.testimoni-section {
    padding: 60px 0;
    background: linear-gradient(to bottom, #ffffff 0%, var(--light) 100%);
}

.testimoni-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 10px;
}

.testimoni-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimoni-slide {
    min-width: 100%;
    padding: 15px;
}

.testimoni-content {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    position: relative;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
}

.testimoni-content::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.1;
    position: absolute;
    top: -15px;
    left: 15px;
    font-family: serif;
    font-weight: bold;
}

.testimoni-text {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 25px;
    color: var(--dark);
    line-height: 1.6;
}

.testimoni-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Di bagian Testimoni Section - Perbaikan untuk avatar */
.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    position: relative;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0; /* Reset untuk memastikan tidak ada border-radius tambahan */
}

/* Responsif untuk mobile */
@media (max-width: 767px) {
    .author-avatar {
        width: 45px;
        height: 45px;
        border-width: 2px;
    }
}

/* Responsif untuk mobile kecil */
@media (max-width: 480px) {
    .author-avatar {
        width: 40px;
        height: 40px;
    }
    
    .testimoni-author {
        gap: 10px;
    }
    
    .author-info h4 {
        font-size: 0.95rem;
        margin-bottom: 2px;
    }
    
    .author-info p {
        font-size: 0.8rem;
    }
}

/* Fix untuk iOS Safari */
@supports (-webkit-touch-callout: none) {
    .author-avatar {
        -webkit-mask-image: -webkit-radial-gradient(white, black);
    }
    
    .author-avatar img {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Fix untuk Chrome di Android */
.author-avatar img {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Perbaikan untuk kontainer avatar */
.testimoni-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--gray-light);
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-light);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.cta-icon {
    font-size: 3rem;
    color: white;
    margin-bottom: 15px;
    opacity: 0.9;
}

.cta-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.cta-content .btn {
    font-size: 1.1rem;
    padding: 15px 30px;
}

/* Kontak Section */
.kontak-section {
    padding: 60px 0;
    background: white;
}

.kontak-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 10px;
}

.kontak-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-height: 620px;
    overflow-y: auto;
    padding-right: 10px;
}

.kontak-info::-webkit-scrollbar {
    width: 5px;
}

.kontak-info::-webkit-scrollbar-track {
    background: var(--gray-light);
    border-radius: 3px;
}

.kontak-info::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.info-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.info-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--secondary);
}

.info-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.kontak-form {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    padding: 30px;
    border-radius: var(--radius-lg);
    color: white;
    box-shadow: var(--shadow-lg);
}

.kontak-form h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: white;
}

.kontak-form > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
    color: rgb(161, 161, 161);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-group select {
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 35px;
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-size: 0.95rem;
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a1a 100%);
    color: white;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    padding: 0 10px;
}

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

.footer-col p {
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-contact {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-item i {
    color: var(--accent);
    font-size: 1.3rem;
    margin-top: 2px;
}

.contact-item span {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 5px;
}

.contact-item p {
    margin: 0;
    line-height: 1.4;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.contact-item p:hover {
    color: var(--accent);
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--primary);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    opacity: 0.8;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-col ul a:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 15px;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 450px;
    overflow: hidden;
    transform: translateY(50px) scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-header {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 2;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-header h3 i {
    color: var(--accent);
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 25px;
}

.modal-body > p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 0.95rem;
}

#modalForm .form-group {
    margin-bottom: 18px;
}

#modalForm label {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
}

#modalForm input,
#modalForm select,
#modalForm textarea {
    background: white;
    border-color: var(--gray-light);
    color: var(--dark);
    font-size: 0.95rem;
    padding: 12px;
}

#modalForm input:focus,
#modalForm select:focus,
#modalForm textarea:focus {
    border-color: var(--primary);
}
.my-top-2 { margin-top:60px; padding-bottom:30px; }
.clients .brand-item { padding:5px; } .clients .brand-item img { max-height:80px; }

/* Responsive Design - Tablet */
@media (min-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .navbar {
        padding: 20px 0;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .logo-title {
        font-size: 1.5rem;
    }
    
    .logo-subtitle {
        font-size: 0.75rem;
    }
    
    .nav-menu {
        gap: 25px;
    }
    
    .nav-link {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn {
        min-width: auto;
    }
    
    .promo-content {
        gap: 20px;
    }
    
    .promo-text h3 {
        font-size: 1.3rem;
    }
    
    .promo-text p {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.05rem;
    }
    
    .kontak-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
    
    .footer-grid {
        gap: 40px;
    }
    
    .modal-content {
        max-width: 500px;
    }
}

/* Responsive Design - Desktop */
@media (min-width: 992px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-text {
        font-size: 0.9rem;
    }
    
    .tentang-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    
    .floating-wa-btn span {
        display: inline;
    }
}

/* Responsive Design - Mobile Landscape */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: 120vh;
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .hero-stats {
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        margin-bottom: 20px;
    }
}

/* Responsive Design - Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .stat-item {
        padding: 0 10px;
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-text {
        font-size: 0.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .promo-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .produk-grid {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .layanan-grid {
        grid-template-columns: 1fr;
    }
    
    .kontak-info {
        grid-template-columns: 1fr;
        max-height: none;
        overflow-y: visible;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-body {
        padding: 20px;
    }
	
	.my-top-2 { margin-top:60px; padding-bottom:10px; }
	
}

/* Mobile Menu Responsive */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    .hero-section {
        min-height: -webkit-fill-available;
    }
}

/* Fix for select dropdown on iOS */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Smooth scrolling for iOS */
@media (hover: none) and (pointer: coarse) {
    html {
        scroll-behavior: auto;
    }
    
    .btn-primary:hover,
    .btn-outline-light:hover,
    .floating-wa-btn:hover,
    .back-to-top:hover,
    .slider-btn:hover,
    .info-card:hover,
    .produk-card:hover,
    .layanan-card:hover,
    .brand-item:hover {
        transform: none;
    }
    
    .btn-primary:active,
    .btn-outline-light:active,
    .floating-wa-btn:active {
        transform: scale(0.98);
    }
}

/* Print styles */
@media print {
    .floating-wa-container,
    .back-to-top,
    .mobile-menu-btn,
    .show-form {
        display: none !important;
    }
    
    body {
        color: black;
        background: white;
    }
    
    .hero-section {
        color: black;
        background: white !important;
        min-height: auto;
        padding: 20px 0;
    }
    
    .hero-bg,
    .hero-overlay {
        display: none;
    }
}