/* =========================================
   1. GENERAL STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #4f46e5;
    --accent-color: #818cf8;
    --text-color: #1f2937;
    --light-bg: #f9fafb;
    --header-height: 70px;
    --transition-speed: 0.3s;
}

.testimonial-card {
    border: 2px solid #6c5ce7 !important;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.2) !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    background: linear-gradient(135deg, #4834d4 0%, #686de0 100%) !important;
    backdrop-filter: blur(10px) !important;
    color: rgb(233, 14, 14) !important;
}

.testimonial-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.3) !important;
    border-color: #a29bfe !important;
    background: linear-gradient(135deg, #4834d4 0%, #686de0 70%) !important;
}

.testimonial-content {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding-bottom: 1rem !important;
}

.testimonial-content i {
    color: #a29bfe !important;
}

.testimonial-author {
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding-top: 1rem !important;
}

.testimonial-author img {
    border: 2px solid #a29bfe !important;
    padding: 2px !important;
    background: white !important;
}

.testimonial-author h4 {
    color: #fff !important;
}

.testimonial-author p {
    color: #ddd !important;
}

.testimonials h2 {
    color: #f2f2f5 !important;
    margin-bottom: 2rem !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.testimonial-card {
    border: 2px solid #6c5ce7 !important;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.1) !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
}

.testimonial-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.2) !important;
    border-color: #8c7ae6 !important;
}

.testimonial-content {
    border-bottom: 1px solid rgba(108, 92, 231, 0.2) !important;
    padding-bottom: 1rem !important;
}

.testimonial-author {
    border-top: 1px solid rgba(108, 92, 231, 0.2) !important;
    padding-top: 1rem !important;
}

.testimonial-author img {
    border: 2px solid #6c5ce7 !important;
    padding: 2px !important;
}

.contact-form input,
.contact-form textarea {
    border: 2px solid #6c5ce7 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #8c7ae6 !important;
    box-shadow: 0 0 10px rgba(108, 92, 231, 0.2) !important;
}

.contact-card {
    border: 2px solid #6c5ce7 !important;
    border-radius: 12px !important;
}

/* =========================================
   2. NAVBAR STYLES
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #2c3e50;
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Remove the complex background effects */
.navbar::before,
.navbar::after {
    display: none;
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    padding: 0 10px;
}

.logo h1:hover {
    transform: scale(1.05);
}

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.desktop-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    overflow: hidden;
    z-index: 1;
}

.desktop-menu a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.desktop-menu a:hover::before {
    width: 150%;
    height: 300%;
}

.desktop-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.desktop-menu a:hover::after {
    transform: scaleX(1);
}

/* Logout button animation */
.desktop-menu .logout-btn {
    background: linear-gradient(45deg, #ff3366, #ff6b6b);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    color: #fff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
}

.desktop-menu .logout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shineEffect 3s infinite;
}

@keyframes shineEffect {
    0% {
        left: -100%;
        opacity: 0.8;
    }
    20% {
    left: 100%;
        opacity: 0.8;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.desktop-menu .logout-btn:hover {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(45deg, #ff6b6b, #ff3366);
    box-shadow: 0 6px 20px rgba(255, 51, 102, 0.4);
}

.desktop-menu .logout-btn:active {
    transform: translateY(0) scale(0.95);
}

.desktop-menu .logout-btn i {
    margin-right: 8px;
    transition: all 0.3s ease;
}

.desktop-menu .logout-btn:hover i {
    animation: iconSpin 0.5s ease;
}

@keyframes iconSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Mobile Menu Button */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
    margin-left: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem;
    }

    .desktop-menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - var(--header-height));
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        padding: 2rem;
        transition: right var(--transition-speed) ease;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .desktop-menu.active {
        right: 0;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        position: relative;
        margin-left: auto;
        pointer-events: auto;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 2px;
        background: #fff;
        margin: 4px 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform-origin: center;
        pointer-events: none;
    }

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

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

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

    body.menu-open {
        overflow: hidden;
    }

    .logo h1 {
        font-size: 1.2rem;
        letter-spacing: 0.5px;
        padding: 0 5px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1rem;
        letter-spacing: 0.3px;
    }
    
    .header-container {
        padding: 0 0.5rem;
    }
}

@media (max-width: 320px) {
    .logo h1 {
        font-size: 0.9rem;
        max-width: 150px;
    }
}

/* Prevent animation on load */
.no-transition {
    transition: none !important;
}

/* Ensure content doesn't jump when menu opens */
.content-wrapper {
    padding-top: 70px; /* Adjust based on navbar height */
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        transition: none !important;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    overflow: hidden;
    background-image: url('images/header-bg.jpg'); /* Tambahkan gambar header Anda disini */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay gradient untuk memastikan teks tetap terbaca */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(26, 28, 32, 0.8), rgba(42, 45, 53, 0.8));
    z-index: 1;
}

/* Pastikan konten hero tetap di atas background */
.hero-content {
    position: relative;
    z-index: 2;
}

/* Pastikan wave container tetap di atas background tapi di bawah gradient */
.wave-container {
    position: absolute;
    width: 100%;
    height: 80px;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: 2;
}

.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: 50% 100%;
    animation: wave 15s linear infinite;
}

.wave1 {
    z-index: 1;
    opacity: 0.5;
    animation: wave 30s linear infinite;
    background-position-x: 0;
}

.wave2 {
    z-index: 2;
    opacity: 0.3;
    animation: wave 20s linear infinite;
    background-position-x: 100px;
}

.wave3 {
    z-index: 3;
    opacity: 0.2;
    animation: wave 25s linear infinite;
    background-position-x: 200px;
}

.wave4, .wave5 {
    position: absolute;
    left: 0;
    width: 200%;
    height: 100%;
    background-repeat: repeat-x;
    animation: animate 30s linear infinite;
}

.wave4 {
    z-index: 997;
    opacity: 0.5;
    animation-delay: -3s;
    bottom: 15px;
}

.wave5 {
    z-index: 996;
    opacity: 0.2;
    animation-delay: -4s;
    bottom: 20px;
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes animate {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    color: white;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: #ffffff;
}

.hero-content .sub-title {
    color: #fff;
    font-size: 2.5em;
    margin: 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.cta-button:hover {
    background: #ffffff;
    color: #8b5cf6;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Main Section Background tetap sama */
section {
    background: linear-gradient(-45deg, #1a1a2e, #16213e, #0f3460, #1b2f4e);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    padding: 60px 20px;
    color: #fff;
}

/* Products Section - Background Image */
.products {
    position: relative;
    padding: 80px 20px;
    background-image: url('images/products-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Hapus baris ini jika ingin background benar-benar diam */
    background-repeat: no-repeat;
    /* Hapus semua animasi atau efek pergerakan yang ada */
}

/* Pastikan tidak ada animasi yang mempengaruhi background */
.products::before,
.products::after {
    animation: none;
}

/* Jika ada keyframes untuk animasi background, hapus atau nonaktifkan */
@keyframes productsBackground {
    /* Hapus atau nonaktifkan animasi yang ada */
}

.products > * {
    position: relative;
    z-index: 2;
}

/* Responsif text untuk products section */
.products h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.product-grid {
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.product-card {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: 300px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: none;
    padding: clamp(15px, 3vw, 25px);
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card::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: 0.5s;
}

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

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 0;
    padding: 1rem;
    position: relative;
    z-index: 10;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
}

.carousel-btn {
    background: rgba(74, 0, 224, 0.15); /* Warna background lebih tebal */
    border: 2px solid rgba(74, 0, 224, 0.3); /* Border lebih tebal dan jelas */
    color: rgba(255, 255, 255, 0.9); /* Warna icon lebih jelas */
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    backdrop-filter: none;
    box-shadow: none;
}

.carousel-btn:hover {
    background: rgba(74, 0, 224, 0.25); /* Warna hover lebih tebal */
    color: rgba(255, 255, 255, 1); /* Warna icon saat hover lebih jelas */
    border-color: rgba(74, 0, 224, 0.4); /* Border saat hover lebih jelas */
    box-shadow: 0 2px 8px rgba(74, 0, 224, 0.2); /* Tambah shadow untuk emphasis */
}

.carousel-btn:disabled {
    opacity: 0.4; /* Opacity saat disabled dinaikkan */
    background: rgba(153, 153, 153, 0.15); /* Background disabled lebih jelas */
    color: rgba(153, 153, 153, 0.5); /* Warna icon saat disabled lebih jelas */
    border-color: rgba(153, 153, 153, 0.3); /* Border saat disabled lebih jelas */
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .carousel-nav {
        position: sticky;
        bottom: 0;
        padding: 0.8rem;
        background: transparent;
        backdrop-filter: none;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        background: rgba(74, 0, 224, 0.02);
        border-color: rgba(74, 0, 224, 0.05);
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .carousel-btn:active {
        transform: scale(0.95);
        background: rgba(74, 0, 224, 0.35); /* Warna active state lebih tebal */
        color: rgba(255, 255, 255, 1);
        border-color: rgba(74, 0, 224, 0.5); /* Border saat active lebih jelas */
    }
}

.product-grid.loading::after {
    background: rgba(255, 255, 255, 0.1);
}

@keyframes loadingPulse {
    0% { opacity: 0.1; }
    50% { opacity: 0.2; }
    100% { opacity: 0.1; }
}

/* Carousel Navigation Animation */
@keyframes buttonPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.carousel-btn i {
    transition: transform 0.3s ease;
}

.carousel-btn:hover i {
    transform: scale(1.2);
}

.carousel-nav {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Touch Device Optimizations */
@media (hover: none) {
.product-grid {
        scroll-snap-type: x mandatory;
        scroll-padding: 1rem;
    }

    .carousel-btn {
        -webkit-tap-highlight-color: transparent;
    }

    .carousel-btn:active {
        transform: scale(0.95);
        background: rgba(74, 0, 224, 0.8);
        color: white;
    }
}

/* Smooth Scrolling Animation */
@keyframes smoothScroll {
    from {
        transform: translateX(var(--scroll-offset));
    }
    to {
        transform: translateX(0);
    }
}

/* Card Hover Effects */
.product-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.product-card .product-icon {
    transition: transform 0.5s ease;
}

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

/* Loading Animation */
.product-grid.loading {
    position: relative;
}

.product-grid.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: loadingPulse 1.5s infinite;
}

@keyframes loadingPulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.4; }
    100% { opacity: 0.3; }
}

.product-card {
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: none;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    animation: fadeIn 0.8s ease;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
    backface-visibility: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.product-icon i {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

/* Container untuk text */
.product-category {
    text-align: center;
    font-size: 0.8rem;
    margin: 8px 0;
    padding: 5px;
}

/* Styling untuk setiap huruf */
.product-category span {
    display: inline-block;
    animation: waveAnimation 2s ease-in-out infinite;
    font-weight: 500;
    color: #fff;
    text-shadow: 0 0 3px rgba(75, 108, 183, 0.5);
    margin: 0 0.5px;
}

@keyframes waveAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-3px) scale(1.03);
        color: #4b6cb7;
    }
    50% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(3px) scale(0.97);
        color: #6a3093;
    }
}

.product-card h3 {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    margin: clamp(0.8rem, 2vw, 1.2rem) 0;
    line-height: 1.3;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.product-card .product-description {
    padding: 15px 20px;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 8px;
}

.product-card .product-description .title {
    font-size: clamp(0.9rem, 2.2vw, 1.1rem);
    font-weight: 600;
    margin-bottom: clamp(0.5rem, 1vw, 0.8rem);
    color: #4b6cb7;
    display: block;
}

.product-card .product-description .features {
    text-align: left;
    margin: 0;
    padding: 0;
    list-style-position: inside;
}

.product-card .product-description .features li {
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    line-height: 1.4;
    margin: clamp(0.3rem, 0.8vw, 0.5rem) 0;
    padding-left: 20px;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.product-card .product-description .features li:before {
    content: "•";
    position: absolute;
    left: 5px;
    color: #4b6cb7;
}

.product-card .feature-item {
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    margin: clamp(0.4rem, 1vw, 0.6rem) 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.product-card .feature-item i {
    color: #4CAF50;
    font-size: 1rem;
}

.product-card .product-price {
    margin: clamp(1rem, 2.5vw, 1.5rem) 0;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card .price-amount {
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    font-weight: 700;
    color: #fff;
    display: block;
}

.product-card .price-period {
    font-size: clamp(0.8rem, 2vw, 1rem);
    color: rgba(255, 255, 255, 0.8);
}

.product-card .guarantee {
    font-size: clamp(0.75rem, 1.8vw, 0.9rem);
    color: #4CAF50;
    margin-top: clamp(0.4rem, 1vw, 0.6rem);
}

.product-card .product-btn {
    display: inline-block;
    padding: clamp(0.6rem, 1.5vw, 1rem) clamp(1.2rem, 3vw, 2rem);
    border: 1px solid #fff;
    border-radius: 20px;
    font-size: clamp(0.9rem, 2.2vw, 1.1rem);
    margin-top: 15px;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.product-card .product-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.product-card .product-btn span {
    color: #ffffff;
    font-weight: 500;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
    .product-grid {
        gap: 1.5rem;
        padding: 10px;
        transition: all 0.3s ease;
    }
}

@media (max-width: 768px) {
    .product-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 1rem;
        padding: 15px 5px;
    }

    .product-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        margin-right: 15px;
    }

    .product-grid::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 480px) {
    .product-card {
        flex: 0 0 90%;
    }
}

/* Hide scroll indicator when not needed */
@media (min-width: 769px) {
    .products::after {
        display: none;
    }
}

/* Touch Optimization */
@media (hover: none) {
    .product-card {
        transform: none !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .product-card:active {
        transform: scale(0.98) !important;
    }
}

/* Accessibility and Performance */
.product-card {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
    .product-card * {
        animation: none !important;
        transition: none !important;
    }
}

/* Features Section - Gradasi Ungu-Biru */
.features {
    background: linear-gradient(-45deg, #7b1fa2, #3f51b5, #6a3093, #4b6cb7);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

/* Testimonials Section - Gradasi Ungu-Biru */
.testimonials {
    background: linear-gradient(-45deg, #4b6cb7, #6a3093, #7b1fa2, #3f51b5);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

/* Contact Section - Gradasi Ungu-Biru */
.contact {
    background: linear-gradient(-45deg, #3f51b5, #7b1fa2, #4b6cb7, #6a3093);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

/* FAQ Section - Gradasi Ungu-Biru */
.faq {
    background: linear-gradient(-45deg, #6a3093, #3f51b5, #7b1fa2, #4b6cb7);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

/* Animasi Gradient */
@keyframes borderPulse {
    0% {
        border-color: rgba(255, 255, 255, 0.2);
    }
    50% {
        border-color: rgba(255, 255, 255, 0.4);
    }
    100% {
        border-color: rgba(255, 255, 255, 0.2);
    }
}

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

/* Card styling untuk kontras yang lebih baik */
.product-card, .feature-card, .testimonial-card, .contact-card {
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: none;
    border-radius: 15px;
    padding: 20px;
    box-shadow: none;
}

/* Features Section */
.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    padding-bottom: 1rem;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, transparent, #fff, transparent);
}

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

.feature-card {
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: borderPulse 3s infinite;
}

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

.feature-card:active::before {
    opacity: 1;
    animation: ripple 0.6s ease-out;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 45px rgba(31, 38, 135, 0.3);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.feature-card p {
    color: #e5e7eb;
}

/* Testimonials Section */
.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    position: relative;
    overflow: hidden;
}

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

.testimonial-card:active::before {
    opacity: 1;
    animation: ripple 0.6s ease-out;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    color: #e5e7eb;
    font-style: italic;
}

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

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.testimonial-author h4 {
    color: white;
    margin-bottom: 0.2rem;
}

.testimonial-author p {
    color: #e5e7eb;
    font-size: 0.9rem;
}

/* Contact Section */
.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.contact-card:active::before {
    opacity: 1;
    animation: ripple 0.6s ease-out;
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.contact-info {
    text-align: left;
    margin-top: 1.5rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #e5e7eb;
}

.contact-info i {
    margin-right: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-form {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.contact-form:active::before {
    opacity: 1;
    animation: ripple 0.6s ease-out;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Toast Messages */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    animation: slideIn 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.toast.error {
    background: linear-gradient(135deg, #f44336, #e53935);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Footer */
footer {
    background: linear-gradient(-45deg, #0f3460, #1a1a2e, #16213e, #1b2f4e);
    color: #fff;
    padding: 40px 20px;
}

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

.footer-section h3 {
    color: #000000;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

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

.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;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
}

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

.footer-bottom p {
    color: #000000;
    font-size: 0.9rem;
}

/* Animasi Kern Text */
.product-category span {
    display: inline-block;
    animation: kernAnimation 2s ease infinite;
    transition: all 0.3s ease;
}

.product-category span:hover {
    color: #4b6cb7;
    transform: scale(1.2);
}

/* Animasi untuk setiap huruf dengan delay berbeda */
.product-category span:nth-child(1) { animation-delay: 0.1s; }
.product-category span:nth-child(2) { animation-delay: 0.2s; }
.product-category span:nth-child(3) { animation-delay: 0.3s; }
.product-category span:nth-child(4) { animation-delay: 0.4s; }
.product-category span:nth-child(5) { animation-delay: 0.5s; }
.product-category span:nth-child(6) { animation-delay: 0.6s; }
.product-category span:nth-child(7) { animation-delay: 0.7s; }
.product-category span:nth-child(8) { animation-delay: 0.8s; }
.product-category span:nth-child(9) { animation-delay: 0.9s; }
.product-category span:nth-child(10) { animation-delay: 1s; }
.product-category span:nth-child(11) { animation-delay: 1.1s; }
.product-category span:nth-child(12) { animation-delay: 1.2s; }
.product-category span:nth-child(13) { animation-delay: 1.3s; }
.product-category span:nth-child(14) { animation-delay: 1.4s; }
.product-category span:nth-child(15) { animation-delay: 1.5s; }
.product-category span:nth-child(16) { animation-delay: 1.6s; }



/* Styling untuk container text */
.product-category {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 15px 0;
    padding: 10px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hover effect untuk container */
.product-category:hover span {
    animation-play-state: paused;
}

.product-description {
    text-align: left;
    padding: 15px;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.6;
    color: #fff;
}

.product-description .title {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    font-weight: 600;
    margin-bottom: 12px;
    color: #4b6cb7;
    display: block;
}

.product-description .features {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.product-description .features li {
    padding: 8px 0 8px 25px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-description .features li:before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #6a3093;
    font-weight: bold;
}

.product-description .features li:last-child {
    border-bottom: none;
}

.animated-title {
    cursor: pointer;
    position: relative;
    display: inline-block;
}

.animated-title span {
    display: inline-block;
    transition: all 0.5s ease;
    position: relative;
}

/* Gradasi warna dasar */
.animated-title span {
    background: linear-gradient(45deg, #6a3093, #4b6cb7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
}

/* Class untuk animasi ledakan */
.explode {
    animation: explodeEffect 0.8s ease-out forwards,
              colorChange 2s infinite;
    transform-origin: center;
}




/* Animasi Wave Button */

/* Background Products Section */


/* Pastikan tidak ada animasi yang mempengaruhi background */
.products::before,
.products::after {
    animation: none;
}


.products > * {
    position: relative;
    z-index: 2;
}

/* Social Media Icons */
.desktop-menu .social-icons a,
.mobile-social-icons a {
    color: #ffffff !important;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: opacity 0.3s ease;
}

.nav-links .social-icons a {
    color: #ffffff !important;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: opacity 0.3s ease;
}

/* Logo Animation */
.logo h1 {
    background: linear-gradient(
        to right,
        #ff0000,
        #ff7f00,
        #ffff00,
        #00ff00,
        #0000ff,
        #4b0082,
        #8f00ff
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbow-move 8s linear infinite;
    background-size: 200% auto;
}

/* Animations */
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes rainbow-move {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Hover Effects */
.desktop-menu .social-icons a:hover,
.mobile-social-icons a:hover,
.nav-links .social-icons a:hover {
    opacity: 0.8;
}

.logo h1:hover {
    animation-play-state: paused;
}

/* Z-index Management */
.products > * {
    position: relative;
    z-index: 2;
}

.products h2,
.products .product-card {
    position: relative;
    z-index: 3;
}

/* Header Styles */
.header-container .logo h1,
.nav-links .logo h1 {
    display: inline-block;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
} 
.no-fouc { 
    opacity: 0; 
    visibility: hidden;
}
body { 
    opacity: 1; 
    visibility: visible;
    transition: opacity 0.3s ease-in, visibility 0.3s ease-in; 
}

#main-content {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-in, visibility 0.3s ease-in;
}

#main-content.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Optimize animations for mobile */
@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Social Icons Mobile Styling */
    .social-icons {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: clamp(0.5rem, 2vw, 0.8rem);
        margin: 1rem 0;
    }

    .social-icons a {
        width: 2rem;
        height: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #1e88e5; /* Solid blue background */
        color: white;
        font-size: 1rem;
        transition: all 0.3s ease;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .social-icons a:hover,
    .social-icons a:active {
        transform: translateY(-2px);
        background: #2196f3; /* Lighter blue on hover */
        box-shadow: 0 4px 10px rgba(33, 150, 243, 0.3);
    }

    @media (max-width: 480px) {
        .social-icons a {
            width: 1.8rem;
            height: 1.8rem;
            font-size: 0.9rem;
        }
    }
    
    .scroll-reveal {
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .wave {
        animation-duration: 30s !important;
    }
    
    .product-card {
        transform: none !important;
        transition: box-shadow 0.3s ease !important;
    }
    
    .animated-title span {
        animation: none !important;
        opacity: 1 !important;
    }
    
    .typing-text {
        animation: none !important;
    }
    
    .wave-text span {
        animation: none !important;
        transform: none !important;
    }
    
    .hamburger span {
        transition: transform 0.3s ease, opacity 0.3s ease !important;
    }
    
    .nav-links {
        transition: transform 0.3s ease !important;
    }
}

/* Optimize touch interactions */
@media (hover: none) {
    .product-card:hover,
    .nav-links a:hover,
    .social-icons a:hover {
        transform: none !important;
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Desktop Text Styling */
.hero-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.animated-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: 2px;
}

.animated-title span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: calc(0.1s * var(--char-index));
}

.typing-text {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #000;
    animation: typing 4s steps(50, end) infinite, blink-caret 0.75s step-end infinite;
    margin: 0 auto;
    max-width: fit-content;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #000 }
}

.cta-button {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    background: linear-gradient(45deg, #2196F3, #00BCD4);
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

/* Add responsive adjustments */
@media (max-width: 1200px) {
    .animated-title {
        font-size: 4rem;
    }
    
    .typing-text {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .animated-title {
        font-size: 3rem;
    }
    
    .typing-text {
        font-size: 1.4rem;
    }
    
    .hero-content {
        padding: 3rem 1.5rem;
    }
    
    .cta-button {
        font-size: 1.1rem;
        padding: 0.9rem 2rem;
    }
}

@media (max-width: 480px) {
    .animated-title {
        font-size: 2.5rem;
    }
    
    .typing-text {
        font-size: 1.2rem;
    }
    
    .hero-content {
        padding: 2rem 1rem;
    }
}

/* Desktop Social Icons Styling */
.desktop-social-icons {
    display: none;
}

@media (min-width: 769px) {
    .desktop-social-icons {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: clamp(0.5rem, 1vw, 0.8rem);
        margin: 0 1rem;
    }

    .desktop-social-icons a {
        width: 2rem;
        height: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #1e88e5; /* Solid blue background */
        color: white;
        font-size: 1rem;
        transition: all 0.3s ease;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .desktop-social-icons a:hover {
        transform: translateY(-2px);
        background: #2196f3; /* Lighter blue on hover */
        box-shadow: 0 4px 10px rgba(33, 150, 243, 0.3);
    }

    .nav-links .social-icons {
        display: none;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .social-icons a:hover,
    .desktop-social-icons a:hover {
        transform: none;
    }
    
    .social-icons a:active,
    .desktop-social-icons a:active {
        transform: scale(0.95);
        background: linear-gradient(45deg, #2196F3, #00BCD4);
    }
}

/* Header Social Icons Styling */
.header-container .social-icons,
.header-container .mobile-social-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0.5rem;
}

.header-container .social-icons a,
.header-container .mobile-social-icons a {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1e88e5; /* Solid blue background */
    color: white;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-container .social-icons a:hover,
.header-container .mobile-social-icons a:hover {
    transform: translateY(-2px);
    background: #2196f3; /* Lighter blue on hover */
    box-shadow: 0 4px 10px rgba(33, 150, 243, 0.3);
}

@media (max-width: 768px) {
    .header-container .mobile-social-icons {
        gap: 0.4rem;
    }
    
    .header-container .mobile-social-icons a {
        width: 1.4rem;
        height: 1.4rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .header-container .mobile-social-icons {
        gap: 0.3rem;
    }
    
    .header-container .mobile-social-icons a {
        width: 1.3rem;
        height: 1.3rem;
        font-size: 0.7rem;
    }
}

/* Mobile Navigation Styles */
.nav-links {
    transition: transform 0.3s ease-in-out;
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background: var(--bg-color);
        padding: 80px 20px 20px;
        transform: translateX(100%);
        z-index: 998;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .hamburger {
        display: block;
        z-index: 999;
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Ensure links are visible and clickable */
    .nav-links a {
        color: var(--text-color);
        font-size: 1.2rem;
        padding: 10px;
        width: 100%;
        text-align: center;
        transition: all 0.3s ease;
    }

    .nav-links a:hover {
        background: var(--primary-color);
        color: var(--bg-color);
        border-radius: 5px;
    }

}

/* Ensure smooth transitions */
@media (prefers-reduced-motion: reduce) {
    .nav-links {
        transition: none;
    }
}

.text-animation-container {
    width: 200%;
    overflow: hidden;
    padding: 20px;
    max-width: 1100px;
    position: relative;
    margin: 15px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.animated-text {
    display: block;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    padding: 20px;
    font-size: 1.25rem;
    line-height: 2;
    font-weight: 200;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Desktop Adjustments */
@media (min-width: 1200px) {
    .text-animation-container {
        padding: 20px;
        margin: 25px auto;
    }
    
    .animated-text {
        font-size: 1.3rem;
        line-height: 1.9;
        padding: 20px;
        letter-spacing: 0.3px;
        max-width: 100%;
    }
}

/* Large Screens */
@media (max-width: 1200px) {
    .text-animation-container {
        padding: 20px;
        margin: 20px auto;
        max-width: 90%;
    }
    
    .animated-text {
        font-size: 1.2rem;
        line-height: 1.7;
        padding: 20px;
        letter-spacing: 0.2px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .text-animation-container {
        padding: 20px;
        margin: 20px auto;
        max-width: 100%;
    }
    
    .animated-text {
        font-size: 1.1rem;
        line-height: 1.6;
        padding: 12px;
        letter-spacing: 0.2px;
    }

}

/* Mobile Devices */
@media (max-width: 768px) {
    .text-animation-container {
        padding: 20px;
        margin: 15px auto;
        max-width: 100%;
    }
    
    .animated-text {
        font-size: 1rem;
        line-height: 1.5;
        padding: 5px;
        letter-spacing: 0.3px;
    }
}

/* Small Mobile Devices */
@media (max-width: 320px) {
    .text-animation-container {
        padding: 20px;
        margin: 20px auto;
    }
    
    .animated-text {
        font-size: 0.95rem;
        line-height: 1.4;
        padding: 5px;
    }
}

/* Touch and Performance Optimizations */
@media (hover: none) {
    .text-animation-container {
        -webkit-tap-highlight-color: transparent;
    }
}

@media (max-width: 768px) {
    .text-animation-container {
        will-change: transform;
        backface-visibility: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    .animated-text {
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
}

/* Ensure text remains crisp */
.animated-text {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Reduce motion if user prefers */
@media (prefers-reduced-motion: reduce) {
    .text-animation-container,
    .animated-text {
        transition: none !important;
        animation: none !important;
    }
}

/* Enhanced Transitions */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Hover Effects */
.product-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
    backface-visibility: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

/* Responsive Breakpoints with Smooth Transitions */
@media (max-width: 1200px) {
    .product-grid {
        gap: 1.5rem;
        padding: 10px;
        transition: all 0.3s ease;
    }
}

@media (max-width: 768px) {
    .product-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 1rem;
        padding: 15px 5px;
    }

    .product-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        margin-right: 15px;
    }

    .product-grid::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 480px) {
    .product-card {
        flex: 0 0 90%;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .product-card {
        transform: none !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .product-card:active {
        transform: scale(0.98) !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Enhanced Loading Performance */
.no-fouc { 
    visibility: hidden; 
}

.loaded {
    visibility: visible;
    transition: opacity 0.3s ease;
}

/* Optimized Animations */
.wave-btn span {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.wave-btn:hover span {
    animation: waveEffect 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes waveEffect {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Responsive Design Styles */
@media screen and (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .text-animation-container {
        width: 90%;
    }
}

@media screen and (max-width: 992px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .desktop-menu {
        gap: 1rem;
    }
    
    .product-card {
        padding: 1.5rem;
    }
    
    .product-description .features {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .desktop-menu {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        padding: 2rem;
        transition: 0.3s ease;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .text-animation-container {
        width: 95%;
    }
    
    .animated-text {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 576px) {
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .nav-links {
        width: 100%;
        max-width: none;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .product-card {
        padding: 1rem;
    }
    
    .product-description .features {
        font-size: 0.8rem;
    }
    
    .product-price {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 375px) {
    .logo h1 {
        font-size: 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .product-card {
        padding: 0.8rem;
    }
    
    .product-icon i {
        font-size: 1.5rem;
    }
    
    .product-category {
        font-size: 0.9rem;
    }
    
    .product-description .features {
        font-size: 0.75rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .product-card:hover {
        transform: none;
    }
    
    .product-card:active {
        transform: scale(0.98);
    }
    
    .desktop-menu a:hover::before,
    .desktop-menu a:hover::after {
        width: 0;
    }
    
    .nav-links a:hover {
        background: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .desktop-menu,
    .hamburger,
    .nav-links,
    .cta-button {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .product-card {
        break-inside: avoid;
        border: 1px solid #ddd;
    }
    
    .product-grid {
        display: block;
    }
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(72, 52, 212, 0.8), rgba(104, 109, 224, 0.8), rgba(48, 51, 107, 0.8));
    backdrop-filter: none;
    box-shadow: none;
    z-index: 1001;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 1rem 0.75rem;
    display: none;
    display: none; /* Hidden by default on desktop */
}

@media (max-width: 768px) {
    .sidebar {
        display: block; /* Show on mobile */
    }
    /* Hide the desktop menu on mobile since we're using sidebar */
    .desktop-menu {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .sidebar {
        display: block;
    }
    
    .desktop-menu {
        display: none !important;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
        box-shadow: 0 0 20px rgba(72, 52, 212, 0.5);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 0 0 25px rgba(104, 109, 224, 0.6);
    }
    100% {
        background-position: 0% 50%;
        box-shadow: 0 0 20px rgba(72, 52, 212, 0.5);
    }
}

.sidebar.active {
    left: 0;
    animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(-10px);
        opacity: 0.8;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
    margin: 5px 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sidebar-nav a i {
    margin-right: 10px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover i {
    transform: rotate(360deg) scale(1.2);
    color: #00ff88;
}

/* Sidebar Footer Enhancement */
.sidebar-footer {
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-footer .social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.sidebar-footer .social-links a {
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-footer .social-links a:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.sidebar-footer .social-links a:hover i {
    animation: socialIconPop 0.3s ease;
}

@keyframes socialIconPop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Sidebar Header Animation */
.sidebar-header {
    padding: 20px;
    background: linear-gradient(135deg, 
        rgba(65, 105, 225, 0.2),
        rgba(147, 112, 219, 0.2)
    );
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

/* Animasi background gradient */
.sidebar-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(65, 105, 225, 0.2) 0%,
        rgba(147, 112, 219, 0.2) 25%,
        rgba(65, 105, 225, 0.2) 50%,
        rgba(147, 112, 219, 0.2) 75%,
        rgba(65, 105, 225, 0.2) 100%
    );
    background-size: 400% 400%;
    animation: gradientFlow 8s ease infinite;
    z-index: 1;
}

/* Text Menu Animation */
.sidebar-header h2 {
    color: #fff;
    font-size: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: textGlow 2s ease-in-out infinite;
}

/* Efek garis bawah bergerak */
.sidebar-header h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #fff, transparent);
    transform: translateX(-50%);
    animation: underlineMove 3s ease infinite;
}

/* Efek highlight letters */
.sidebar-header h2 span {
    display: inline-block;
    animation: letterWave 2s ease infinite;
    animation-delay: calc(0.1s * var(--i));
}

/* Keyframes untuk animasi */
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.3),
                     0 0 20px rgba(255, 255, 255, 0.2);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5),
                     0 0 30px rgba(255, 255, 255, 0.3);
    }
}

@keyframes underlineMove {
    0% { width: 0; opacity: 0; }
    50% { width: 80%; opacity: 1; }
    100% { width: 0; opacity: 0; }
}

@keyframes letterWave {
    0%, 100% {
        transform: translateY(0);
        color: #fff;
    }
    50% {
        transform: translateY(-5px);
        color: #4b6cb7;
    }
}

/* Hover Effects */
.sidebar-header:hover h2 {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.sidebar-header:hover::before {
    animation-play-state: paused;
}

/* Media Queries */
@media (max-width: 768px) {
    .sidebar-header h2 {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sidebar-header::before,
    .sidebar-header h2,
    .sidebar-header h2::after {
        animation: none;
    }
}

/* Mobile Social Icons Visibility */
@media screen and (max-width: 768px) {
    .mobile-social-icons {
        display: none !important;
    }
    
    .navbar {
        padding: 0.5rem 0;
        background: linear-gradient(135deg, #4834d4, #686de0);
    }
    
    .header-container {
        padding: 0 1rem;
        justify-content: space-between;
    }
    
    .logo h1 {
        font-size: 1.2rem;
        margin: 0;
    }
}

/* Desktop Social Icons */
@media screen and (min-width: 769px) {
    .mobile-social-icons {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .mobile-social-icons a {
        color: #fff;
        font-size: 1.2rem;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .mobile-social-icons a:hover {
        transform: translateY(-2px);
        background: rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
    }
    
    .mobile-social-icons a:active {
        transform: scale(0.95);
    }
}

.close-sidebar {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.close-sidebar i {
    color: #fff;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

/* Hover effects */
.close-sidebar:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.close-sidebar:hover i {
    transform: scale(1.2);
}

/* Active state */
.close-sidebar:active {
    transform: scale(0.95);
}

/* Hanya menghilangkan animasi wave di products section */
.products .wave {
    animation: none; /* Menghentikan animasi wave */
    opacity: 0; /* Membuat wave tidak terlihat */
}

/* Atau alternatif lain jika yang di atas tidak bekerja */
.products .wave1,
.products .wave2,
.products .wave3,
.products .wave4,
.products .wave5 {
    animation: none;
    opacity: 0;
}

/* Jika ada keyframes untuk auto-scroll, nonaktifkan */
@keyframes autoScroll {
    /* Nonaktifkan animasi auto-scroll jika ada */
    0%, 100% {
        transform: none;
    }
}

/* Responsive styling untuk products section */
.products {
    padding: clamp(40px, 5vw, 80px) 0;
    width: 100%;
}

.product-grid {
    display: flex;
    gap: clamp(20px, 2vw, 30px);
    padding: 20px clamp(20px, 5vw, 60px);
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.product-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 350px; /* Default untuk mobile */
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

/* Desktop Styles */
@media screen and (min-width: 1024px) {
    .product-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        padding: 40px 60px;
        overflow-x: visible; /* Tampilkan semua pada desktop */
    }

    .product-card {
        width: 100%;
        max-width: none;
    }

    /* Hover effect khusus desktop */
    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    /* Atur ulang tombol navigasi untuk desktop */
    .carousel-btn {
        display: none; /* Sembunyikan tombol slider di desktop */
    }
}

/* Large Desktop Styles */
@media screen and (min-width: 1440px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        max-width: 1400px;
        margin: 0 auto;
    }

    .products h2 {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
}

/* Tablet Styles */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .product-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 30px 40px;
    }

    .product-card {
        flex: 0 0 calc(50% - 20px);
        max-width: 300px;
    }
}

/* Styling untuk konten dalam product card */
.product-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: clamp(20px, 3vw, 30px);
}

.product-card h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.product-description {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.product-price {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
}

/* Optimasi performa scroll */
.product-grid {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.product-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Styling untuk tombol carousel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Pastikan product grid bisa di-scroll */
.product-grid {
    position: relative;
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
}

.product-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 300px; /* atau sesuaikan dengan kebutuhan */
}

/* Sembunyikan scrollbar tapi tetap bisa scroll */
.product-grid::-webkit-scrollbar {
    display: none;
}

.product-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
}

/* Styling untuk carousel container */
.products {
    position: relative;
    overflow: hidden;
}

/* Efek glass morphism untuk product cards */
.product-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Styling untuk tombol carousel yang lebih menarik */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    overflow: hidden;
}

.carousel-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.carousel-btn:hover::before {
    transform: scale(1);
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.carousel-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.prev-btn:hover i {
    transform: translateX(-3px);
}

.next-btn:hover i {
    transform: translateX(3px);
}

/* Animasi untuk product cards */
.product-card {
    animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Efek hover untuk product images */
.product-card img {
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

/* Efek gradient untuk price tag */
.product-price {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    padding: 10px 15px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.product-card:hover .product-price {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.scroll-dot.active {
    background: white;
    transform: scale(1.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn i {
        font-size: 1rem;
    }
    
    .product-card {
        animation: none; /* Disable floating animation on mobile */
    }
}

/* Smooth scrolling behavior */
.product-grid {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 20px 40px;
    gap: 30px;
}

/* Active card effect */
.product-card.active {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Styling untuk container products */
.products {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
}

.product-grid {
    display: flex;
    gap: 20px;
    padding: 20px 40px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    position: relative;
    touch-action: pan-x pan-y;
}

.product-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Styling untuk product cards */
.product-card {
    flex: 0 0 auto;
    width: 300px; /* Base width */
    max-width: 90vw; /* Prevent overflow on small screens */
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

/* Styling untuk navigation buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 10;
    transition: all 0.3s ease;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-grid {
        padding: 20px;
        gap: 15px;
    }

    .product-card {
        width: 280px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
    }
}

/* Active state for drag scrolling */
.product-grid.active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

/* Prevent text selection while scrolling */
.product-grid {
    user-select: none;
}

/* Optimize touch interaction */
@media (hover: none) {
    .product-grid {
        scroll-snap-type: x mandatory;
    }

    .product-card {
        scroll-snap-align: center;
    }
}

/* Improve performance */
.product-card {
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Products Section - Horizontal scroll */
.products-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    position: relative;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.products-container::-webkit-scrollbar {
    display: none;
}

.products-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 0 20px;
    width: max-content;
    margin: 0 auto;
}

.product-card {
    flex: 0 0 300px;
    min-width: 300px;
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
    scroll-snap-align: center;
    margin-right: 10px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide scrollbar */
.products-container::-webkit-scrollbar {
    display: none;
}

.products-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Remove vertical animations */
.products .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
}

/* Optional: Add grab cursor for better UX */
.products-container {
    cursor: grab;
}

.products-container:active {
    cursor: grabbing;
}

/* Performance Optimizations for Products Section */
.products-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    width: 100%;
    position: relative;
    will-change: transform;
}

.products-wrapper {
    display: flex;
    gap: 20px;
    padding: 0 20px;
    width: max-content;
    will-change: transform;
}

.product-card {
    flex: 0 0 300px;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    backface-visibility: hidden;
}

/* Hide scrollbar while maintaining functionality */
.products-container::-webkit-scrollbar {
    display: none;
}

.products-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Responsive sizing */
@media (max-width: 768px) {
    .product-card {
        flex: 0 0 280px;
        min-width: 280px;
    }
    .products-wrapper {
        padding: 0 15px;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .product-card {
        flex: 0 0 260px;
        min-width: 260px;
    }
    .products-wrapper {
        padding: 0 10px;
        gap: 10px;
    }
}

