/* ===== Global Styles ===== */
:root {
    --primary-color: #0A3A63;
    --secondary-color: #D96A1A;
    --primary-dark: #062442;
    --secondary-light: #E67E22;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --text-color: #333;
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Preloader ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* ===== Scroll to Top ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s;
}

.scroll-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.scroll-top.show {
    display: flex;
}

/* ===== Header ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s;
}

.navbar-brand img {
    height: 50px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-main {
    height: 45px;
    width: auto;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    white-space: nowrap;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 20px;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.header-action .btn {
    padding: 10px 25px;
    border-radius: 25px;
}

/* ===== Hero Section - RESPONSIVE FIX ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px; /* Sesuaikan dengan tinggi header */
}

.hero-caption {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.hero-title {
    font-size: clamp(28px, 5vw, 48px); /* Responsive font size */
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-desc {
    font-size: clamp(16px, 2.5vw, 18px); /* Responsive font size */
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

/* FIXED: Hero Image Container - RESPONSIVE */
.hero-image {
    position: relative;
    z-index: 2;
    height: clamp(300px, 60vh, 100vh); /* Responsive height */
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    margin: 0;
    width: 100%;
}

/* FIXED: Hero Image - Object Fit Bottom - RESPONSIVE */
.hero-image img,
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
}

.hero-shape {
    position: absolute;
    width: 120%;
    height: 120%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -10%;
    left: -10%;
    z-index: -1;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.hero-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.decoration-item {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.decoration-item.item-1 {
    width: clamp(150px, 20vw, 300px); /* Responsive size */
    height: clamp(150px, 20vw, 300px);
    top: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.decoration-item.item-2 {
    width: clamp(100px, 15vw, 200px); /* Responsive size */
    height: clamp(100px, 15vw, 200px);
    bottom: -50px;
    right: 10%;
    animation: float 6s ease-in-out infinite reverse;
}

.decoration-item.item-3 {
    width: clamp(75px, 10vw, 150px); /* Responsive size */
    height: clamp(75px, 10vw, 150px);
    top: 50%;
    right: -75px;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* ===== Brand Feature ===== */
.brand-feature {
    padding: 80px 0;
    background: var(--light-color);
}

.feature-box {
    padding: 30px;
    background: #fff;
    border-radius: var(--border-radius);
    transition: all 0.3s;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.feature-box h4 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* ===== Section Styles ===== */
.section-subtitle {
    color: var(--primary-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(28px, 4vw, 36px); /* Responsive font size */
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.section-desc {
    font-size: clamp(14px, 2vw, 16px); /* Responsive font size */
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== About Section ===== */
.about-section {
    padding: 80px 0;
}

.about-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.about-list li {
    padding: 10px 0;
    font-size: 16px;
}

.about-list i {
    color: var(--primary-color);
    margin-right: 10px;
}
/* ===== Header dengan Efek Scroll - Fixed Version ===== */
.navbar {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    padding: 15px 0;
    transition: all 0.4s ease;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* Header saat di-scroll */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
    padding: 10px 0;
}

/* ===== WARNA TEKS & LOGO SAAT TRANSPARAN ===== */
.navbar:not(.scrolled) .navbar-brand .logo-text {
    color: #fff !important;
}

.navbar:not(.scrolled) .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar:not(.scrolled) .navbar-nav .nav-link:hover,
.navbar:not(.scrolled) .navbar-nav .nav-link.active {
    color: #fff !important;
}

.navbar:not(.scrolled) .header-action .btn {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    backdrop-filter: blur(5px);
}

.navbar:not(.scrolled) .header-action .btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===== WARNA TEKS & LOGO SAAT SOLID (SCROLLED) ===== */
.navbar.scrolled .navbar-brand .logo-text {
    color: var(--primary-color) !important;
}

.navbar.scrolled .navbar-nav .nav-link {
    color: var(--text-color) !important;
}

.navbar.scrolled .navbar-nav .nav-link:hover,
.navbar.scrolled .navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar.scrolled .header-action .btn {
    background: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
    color: #fff !important;
}

.navbar.scrolled .header-action .btn:hover {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

/* ===== NAVBAR TOGGLER ===== */
.navbar-toggler {
    border: none;
    padding: 4px 8px;
    transition: all 0.3s ease;
}

.navbar:not(.scrolled) .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar:not(.scrolled) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ===== EFEK TRANSISI ===== */
.navbar-brand img,
.navbar-brand .logo-text,
.navbar-nav .nav-link,
.header-action .btn {
    transition: all 0.4s ease !important;
}

/* ===== RESET UNTUK MENCEGAH KONFLIK ===== */
.navbar {
    background-color: transparent !important;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
}


/* Navbar toggler untuk mobile */

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar:not(.scrolled) .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar:not(.scrolled) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* Tambahkan di style.css */
/* Mobile Menu Background */
.navbar-collapse {
    transition: all 0.3s ease;
}

/* Background untuk menu mobile saat dibuka */
@media (max-width: 991px) {
    .navbar:not(.scrolled) .navbar-collapse {
        background: linear-gradient(135deg, rgba(10, 58, 99, 0.95) 0%, rgba(217, 106, 26, 0.95) 100%);
        backdrop-filter: blur(10px);
        border-radius: 0 0 15px 15px;
        margin-top: 10px;
        padding: 20px;
    }
    
    .navbar:not(.scrolled) .navbar-nav .nav-link {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    .navbar:not(.scrolled) .navbar-nav .nav-link:hover {
        color: #fff !important;
    }
    
    .navbar:not(.scrolled) .header-action .btn {
        background: rgba(255, 255, 255, 0.2) !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        color: #fff !important;
    }
    
    .navbar:not(.scrolled) .header-action .btn:hover {
        background: rgba(255, 255, 255, 0.3) !important;
        border-color: rgba(255, 255, 255, 0.5) !important;
    }
}
/* Efek transisi yang lebih halus */
.navbar-brand img {
    transition: all 0.4s ease;
}

.navbar-nav .nav-link {
    transition: all 0.3s ease;
}

.header-action .btn {
    transition: all 0.3s ease;
}

/* Pastikan hero section tidak tertutup header */
.hero-section {
    padding-top: 100px; /* Tambahkan jarak untuk header */
}
/* ===== Products Section ===== */
.products-section {
    padding: 80px 0;
    background: var(--light-color);
}

/* Product Card Styles Update */
.product-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

.product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    color: var(--primary-color);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.product-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
    line-height: 1.5;
}

.product-price {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions .btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 25px;
}

/* ===== Product Teaser Carousel Styles - SHADOW FIX ===== */
.product-teaser-carousel {
    position: relative;
    margin-bottom: 60px;
    padding: 0 60px;
    overflow: visible; /* Changed from hidden to visible to show indicators */
}

#productTeaserCarousel {
    position: relative;
    overflow: visible; /* Changed from hidden to visible to prevent button cutoff */
    border-radius: 15px;
    box-shadow: none; /* Removed shadow as requested */
    margin-bottom: 50px;
}

#productTeaserCarousel .carousel-item {
    padding: 0 15px;
}

/* Carousel indicators - Fixed positioning and shadow issue */
#productTeaserCarousel .carousel-indicators {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 15;
    padding: 10px;
    margin: 0;
    list-style: none;
    background: rgba(255, 255, 255, 0.9); /* Added background to prevent shadow */
    border-radius: 20px;
    backdrop-filter: blur(5px);
    box-shadow: none; /* Removed shadow */
}

#productTeaserCarousel .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(10, 58, 99, 0.3); /* Updated to use primary color */
    border: 2px solid transparent;
    margin: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: none; /* Removed shadow */
}

#productTeaserCarousel .carousel-indicators [data-bs-target]:hover {
    background-color: rgba(10, 58, 99, 0.5); /* Updated to use primary color */
    transform: scale(1.2);
}

#productTeaserCarousel .carousel-indicators [data-bs-target].active {
    background-color: var(--primary-color);
    transform: scale(1.3);
    border-color: rgba(10, 58, 99, 0.2); /* Updated to use primary color */
    box-shadow: none; /* Removed shadow */
}

#productTeaserCarousel .carousel-control-prev,
#productTeaserCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: 3px solid #fff;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none; /* Removed shadow */
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

#productTeaserCarousel .carousel-control-prev:hover,
#productTeaserCarousel .carousel-control-next:hover {
    opacity: 1;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-50%) scale(1.15);
    box-shadow: none; /* Removed shadow */
}

#productTeaserCarousel .carousel-control-prev {
    left: -25px;
}

#productTeaserCarousel .carousel-control-next {
    right: -25px;
}

/* Custom carousel icons */
#productTeaserCarousel .carousel-control-prev-icon,
#productTeaserCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-image: none;
    position: relative;
}

#productTeaserCarousel .carousel-control-prev-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 12px solid #fff;
}

#productTeaserCarousel .carousel-control-next-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-60%, -50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid #fff;
}

/* Product Teaser Card */
.product-teaser-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    height: 100%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); /* Added shadow */
}

.product-teaser-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 58, 99, 0.05), rgba(217, 106, 26, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-teaser-card:hover::before {
    opacity: 1;
}

.product-teaser-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.teaser-image-container {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--light-color);
}

.teaser-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-teaser-card:hover .teaser-image-container img {
    transform: scale(1.15);
}

.teaser-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: #fff;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(217, 106, 26, 0.3);
}

.teaser-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-teaser-card:hover .teaser-overlay {
    opacity: 1;
}

.teaser-price {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.teaser-action {
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.teaser-content {
    padding: 12px;
}

.teaser-category {
    color: var(--primary-color);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.teaser-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* See All Button */
.see-all-btn {
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(10, 58, 99, 0.3);
}

.see-all-btn::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.6s;
}

.see-all-btn:hover::before {
    left: 100%;
}

.see-all-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(10, 58, 99, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* Testimonial Carousel Styles */
.testimonial-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.testimonial-carousel {
    position: relative;
    padding: 0 60px;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

.testimonial-item {
    display: none;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in-out;
    position: relative;
}

.testimonial-item.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-rating {
    margin-bottom: 25px;
}

.testimonial-rating i {
    font-size: 20px;
    margin: 0 3px;
    transition: transform 0.3s ease;
}

.testimonial-rating .fas.fa-star {
    color: #ffd700;
}

.testimonial-rating .far.fa-star {
    color: rgba(255, 255, 255, 0.3);
}

.testimonial-item p {
    font-size: 18px;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author h5 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

/* Dots Navigation */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.dot.active {
    background: #fff;
    width: 35px;
    border-radius: 10px;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 80px 0;
}

.contact-box {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
}

.contact-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.contact-box h5 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* ===== Footer ===== */
.footer-section {
    background: var(--dark-color);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-widget h4,
.footer-widget h5 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ===== Modal Styles ===== */
.modal-content {
    border-radius: var(--border-radius);
}

.modal-header {
    background: var(--primary-color);
    color: #fff;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-control button {
    width: 40px;
    height: 40px;
}

.quantity-control input {
    flex: 1;
    max-width: 100px;
}

/* ===== Button Styles ===== */
.btn-primary {
    background: var(--primary-color);
    border: none;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 58, 99, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* ===== Responsive - HERO SECTION FIX ===== */
@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 40px;
        flex-direction: column;
    }
    
    .hero-image {
        height: clamp(250px, 50vh, 400px); /* Responsive height for tablet */
        margin-top: 30px;
        order: 2; /* Move image below content on tablet */
    }
    
    .hero-content {
        order: 1; /* Move content above image on tablet */
    }
    
    .hero-title {
        font-size: clamp(24px, 5vw, 36px);
    }
    
    .section-title {
        font-size: clamp(24px, 4vw, 28px);
    }
}

@media (max-width: 767px) {
        .hero-section {
        padding-top: 120px; /* Tambah jarak untuk mobile */
    }
    
    .hero-caption {
        margin-top: 20px; /* Tambah margin atas */
    }
    
    .products-hero {
        padding-top: 150px; /* Tambah jarak untuk mobile */
    }
    
    .page-header {
        margin-top: 20px; /* Tambah margin atas */
    }
    
    .hero-image {
        height: clamp(200px, 40vh, 300px); /* Responsive height for mobile */
        margin-top: 20px;
        order: 2; /* Move image below content on mobile */
    }
    
    .hero-content {
        order: 1; /* Move content above image on mobile */
    }
    
    .hero-title {
        font-size: clamp(22px, 6vw, 28px);
    }
    
    .hero-desc {
        font-size: clamp(14px, 3vw, 16px);
    }
    
    .section-title {
        font-size: clamp(20px, 5vw, 24px);
    }
    
    .decoration-item.item-1 {
        width: clamp(100px, 20vw, 200px);
        height: clamp(100px, 20vw, 200px);
    }
    
    .decoration-item.item-2 {
        width: clamp(80px, 15vw, 150px);
        height: clamp(80px, 15vw, 150px);
    }
    
    .decoration-item.item-3 {
        width: clamp(60px, 10vw, 100px);
        height: clamp(60px, 10vw, 100px);
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 70px 0 15px;
    }
    
    .hero-image {
        height: clamp(180px, 35vh, 250px); /* Further reduced for small mobile */
        margin-top: 15px;
    }
    
    .hero-title {
        font-size: clamp(20px, 7vw, 24px);
    }
    
    .hero-desc {
        font-size: clamp(13px, 3.5vw, 15px);
        margin-bottom: 20px;
    }
    
    .decoration-item.item-1 {
        width: clamp(80px, 25vw, 150px);
        height: clamp(80px, 25vw, 150px);
    }
    
    .decoration-item.item-2 {
        width: clamp(60px, 20vw, 120px);
        height: clamp(60px, 20vw, 120px);
    }
    
    .decoration-item.item-3 {
        width: clamp(50px, 15vw, 80px);
        height: clamp(50px, 15vw, 80px);
    }
}

/* ===== Responsive - PRODUCT TEASER CAROUSEL ===== */
@media (max-width: 768px) {
    .product-teaser-carousel {
        padding: 0 40px;
        margin-bottom: 50px;
    }
    
    #productTeaserCarousel {
        margin-bottom: 40px;
    }
    
    #productTeaserCarousel .carousel-indicators {
        bottom: -40px;
    }
    
    #productTeaserCarousel .carousel-control-prev,
    #productTeaserCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    #productTeaserCarousel .carousel-control-prev {
        left: -20px;
    }
    
    #productTeaserCarousel .carousel-control-next {
        right: -20px;
    }
    
    .teaser-image-container {
        height: 150px;
    }
    
    .teaser-title {
        font-size: 12px;
    }
    
    .see-all-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .product-teaser-carousel {
        padding: 0 30px;
        margin-bottom: 40px;
    }
    
    #productTeaserCarousel {
        margin-bottom: 35px;
    }
    
    #productTeaserCarousel .carousel-indicators {
        bottom: -35px;
        gap: 6px;
    }
    
    #productTeaserCarousel .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
    }
    
    #productTeaserCarousel .carousel-control-prev,
    #productTeaserCarousel .carousel-control-next {
        width: 35px;
        height: 35px;
        border-width: 2px;
    }
    
    #productTeaserCarousel .carousel-control-prev {
        left: -15px;
    }
    
    #productTeaserCarousel .carousel-control-next {
        right: -15px;
    }
    
    #productTeaserCarousel .carousel-control-prev-icon::before {
        border-right-width: 10px;
        border-top-width: 6px;
        border-bottom-width: 6px;
    }
    
    #productTeaserCarousel .carousel-control-next-icon::before {
        border-left-width: 10px;
        border-top-width: 6px;
        border-bottom-width: 6px;
    }
    
    .product-teaser-card {
        margin-bottom: 15px;
    }
    
    .teaser-image-container {
        height: 140px;
    }
}
/* Tambahkan di style.css */
/* Perbaikan tambahan untuk halaman produk */
@media (max-width: 767px) {
    .products-page {
        padding-top: 20px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .product-card {
        margin-bottom: 10px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-content {
        padding: 15px;
    }
    
    .product-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .product-price {
        font-size: 18px;
        margin-bottom: 10px;
    }
}