/* Color System */
:root {
    --primary-color: #00a85a;
    --primary-rgb: 6, 95, 70;
    --secondary-color: #2e7d32;
    --accent-color: #fffb12;
    --dark-bg: #111827;
    --light-bg: #f9fafb;

    --white: #ffffff;
    --black: #000000;
    --text-color: #374151;
    --text-muted: #4b5563;
    --text-light: #6b7280;
    --text-footer: #d1d5db;

    --border-light: #e5e7eb;
    --border-soft: rgba(0, 0, 0, 0.05);
    --border-subtle: rgba(0, 0, 0, 0.08);

    --gray-light: #f3f4f6;
    --gray-medium: #cbd5e1;
    --gray: #cccccc;
    --disabled-bg: #9ca3af;

    --whatsapp: #25d366;
    --whatsapp-dark: #128c7e;

    --shadow-sm: rgba(0, 0, 0, 0.03);
    --shadow-md: rgba(0, 0, 0, 0.05);
    --shadow-lg: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.12);
    --white-soft: rgba(255, 255, 255, 0.05);
    --white-half: rgba(255, 255, 255, 0.5);
}

/* Global */
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--text-color);
    background-color: var(--white);
}

.section-padding {
    padding: 90px 0;
}

/* Navbar */
.navbar {
    padding: 0 !important;
    height: 70px;
    background: linear-gradient(135deg, rgba(34, 94, 38, 0.95), rgba(6, 95, 70, 0.95));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    overflow: visible !important;
}

.navbar.scrolled {
    height: 70px;
    /* Samakan tinggi dengan navbar biasa agar dimensi tidak berubah */
    background: linear-gradient(135deg, rgba(34, 94, 38, 0.95), rgba(6, 95, 70, 1));
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.navbar .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    height: 100%;
}

.navbar-brand .navbar-logo-icon {
    height: 80px !important;
    width: auto !important;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-brand .navbar-logo-text {
    height: 28px !important;
    width: auto !important;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

/* Nav Link */
.nav-link {
    margin: 0 8px;
    color: var(--white) !important;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color) !important;
}

/* Navbar toggle icon */
#navbarIcon {
    display: inline-block;
    width: 30px;
    text-align: center;
    transition: transform 0.4s ease;
}

#navbarIcon.bi-x-lg {
    display: inline-block;
    font-size: 1.5rem !important;
    vertical-align: middle;
    -webkit-text-stroke: 1px currentColor;
}

#navbarTogglerBtn:hover #navbarIcon.bi-x-lg {
    transform: rotate(180deg);
}

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

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-text h1 {
    color: var(--dark-bg);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-text h2 {
    margin: 15px 0 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.hero-text p {
    color: var(--text-muted);
    line-height: 1.7;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px var(--shadow-dark));
    animation: slideInFromRight 1.2s ease-out forwards;
}

/* Hero buttons */
.btn-primary-custom {
    display: inline-block;
    border: 2px solid var(--primary-color);
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 1.05rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-custom:hover {
    border-color: var(--secondary-color);
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.35);
    transform: translateY(-3px);
}

.btn-disabled-custom {
    border: 2px solid var(--disabled-bg);
    background-color: var(--disabled-bg);
    color: var(--white);
    cursor: not-allowed;
}

/* Hero Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

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

/*Section Titles */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-weight: 600;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 70px;
    height: 3px;
    border-radius: 5px;
    background-color: var(--accent-color);
    transform: translateX(-50%);
}

/*  About / TV Demo */
.about-section {
    background-color: var(--white);
}

.about-section p {
    text-align: justify;
}

.tv-mockup-container {
    width: 500px;
    max-width: 100%;
    margin-bottom: 40px;
}

.tv-screen-content {
    position: absolute;
    top: 3.7%;
    left: 2.25%;
    z-index: 1;
    width: 96%;
    height: 92.5%;
    overflow: hidden;
    background-color: var(--black);
}

.tv-stand {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 0;
    width: 80%;
    height: auto;
    pointer-events: none;
    transform: translateX(-50%);
}

.slideshow-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadeAnimation 66s infinite;
}

.slide-img:nth-child(1) {
    animation-delay: 0s;
}

.slide-img:nth-child(2) {
    animation-delay: 3.14s;
}

.slide-img:nth-child(3) {
    animation-delay: 6.28s;
}

.slide-img:nth-child(4) {
    animation-delay: 9.42s;
}

.slide-img:nth-child(5) {
    animation-delay: 12.56s;
}

.slide-img:nth-child(6) {
    animation-delay: 15.7s;
}

.slide-img:nth-child(7) {
    animation-delay: 18.84s;
}

.slide-img:nth-child(8) {
    animation-delay: 21.98s;
}

.slide-img:nth-child(9) {
    animation-delay: 25.12s;
}

.slide-img:nth-child(10) {
    animation-delay: 28.26s;
}

.slide-img:nth-child(11) {
    animation-delay: 31.4s;
}

.slide-img:nth-child(12) {
    animation-delay: 34.54s;
}

.slide-img:nth-child(13) {
    animation-delay: 37.68s;
}

.slide-img:nth-child(14) {
    animation-delay: 40.82s;
}

.slide-img:nth-child(15) {
    animation-delay: 43.96s;
}

.slide-img:nth-child(16) {
    animation-delay: 47.1s;
}

.slide-img:nth-child(17) {
    animation-delay: 50.24s;
}

.slide-img:nth-child(18) {
    animation-delay: 53.38s;
}

.slide-img:nth-child(19) {
    animation-delay: 56.52s;
}

.slide-img:nth-child(20) {
    animation-delay: 59.66s;
}

.slide-img:nth-child(21) {
    animation-delay: 62.8s;
}

.slide-img:nth-child(22) {
    animation-delay: 65.94s;
}

@keyframes fadeAnimation {

    0%,
    100% {
        opacity: 0;
    }

    3.5%,
    14% {
        opacity: 1;
    }

    17.5% {
        opacity: 0;
    }
}

/* Testimonials */
.testimonial-card-lg {
    position: relative;
    display: flex;
    height: 280px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 10px 30px var(--shadow-md);
}

.testimonial-card-lg:hover {
    box-shadow: 0 15px 35px var(--shadow-lg);
    transform: translateY(-5px);
}

.testimonial-img-wrapper {
    position: relative;
    min-height: 200px;
}

.testimonial-img-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-icon-overlay {
    position: absolute;
    bottom: -10px;
    left: 10px;
    z-index: 1;
    color: var(--white-half);
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: 1;
}

.testimonial-content-right {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--white);
}

.testimonial-text {
    flex-grow: 1;
    margin-bottom: 0 !important;
    overflow-y: auto;
    color: #4a5568;
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-text::-webkit-scrollbar {
    width: 4px;
}

.testimonial-text::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: var(--gray);
}

.carousel-item {
    transition: transform 0.8s ease-in-out;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    border: none;
    border-radius: 50%;
    background-color: var(--gray-medium);
    transition: background-color 0.3s ease;
}

.carousel-indicators .active {
    width: 25px;
    border-radius: 6px;
    background-color: var(--primary-color);
}

/* Features */
.features-section .row {
    align-items: stretch;
}

.feature-card {
    height: 100%;
    padding: 40px 25px;
    border: 1px solid var(--border-soft);
    border-bottom: 4px solid transparent;
    border-radius: 16px;
    background: var(--white);
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.feature-card:hover {
    border-bottom-color: var(--accent-color);
    box-shadow: 0 15px 30px var(--shadow-lg);
    transform: translateY(-8px);
}

.feature-icon {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 3rem;
    width: 1em;
    height: 1em;
    line-height: 1;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--dark-bg);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    width: 100%;
}

.feature-card p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    width: 100%;
}

/* Pricing */
.pricing-card {
    background-color: var(--white);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.pricing-card:hover {
    box-shadow: 0 1rem 3rem var(--shadow-lg) !important;
    transform: translateY(-8px);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.stock-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
}

.product-spec-list {
    list-style: none;
    padding-left: 0 !important;
}

.product-spec-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 1rem;
}

.product-spec-list li::before {
    content: "\F26E";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    bottom: -8px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
}

/* Contact */

.contact-info-wrapper {
    height: 100%;
    padding: 30px;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 4px 20px var(--shadow-sm);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon-sm {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 50%;
    background-color: rgba(var(--primary-rgb), 0.08);
    color: var(--primary-color);
    font-size: 1.4rem;
}

.contact-item h5 {
    margin-bottom: 5px;
    color: var(--dark-bg);
    font-size: 1.1rem;
    font-weight: 700;
}

.contact-item p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.map-container {
    height: 100%;
    min-height: 350px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow-sm);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 350px;
}

/* FAQ */
.faq-section {
    padding: 60px 0;
    background-color: var(--white);
}

.faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background-color: rgba(var(--primary-rgb), 0.08);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.faq-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-color);
}

.faq-main-title {
    color: var(--primary-color);
    font-size: 2rem;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.faq-description {
    color: var(--text-light) !important;
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-faq-wa {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    background-color: var(--primary-color);
    color: var(--white) !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-faq-wa:hover {
    background-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
    transform: translateY(-2px);
}

.custom-faq-accordion .accordion-item {
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    border-radius: 16px !important;
    background-color: var(--white);
    transition: border-color 0.3s ease;
}

.custom-faq-accordion .accordion-item:hover {
    border-color: rgba(var(--primary-rgb), 0.4);
}

.custom-faq-accordion .accordion-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    color: var(--dark-bg);
    background-color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
    box-shadow: none !important;
}

.custom-faq-accordion .accordion-button::after {
    display: none;
}

.faq-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    margin-left: 12px;
    border-radius: 50%;
    background-color: var(--gray-light);
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.custom-faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: var(--white);
}

.custom-faq-accordion .accordion-button:not(.collapsed) .faq-icon-circle {
    background-color: var(--primary-color);
    color: var(--white);
    transform: rotate(45deg);
}

.custom-faq-accordion .accordion-body {
    padding: 0 20px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Floating WhatsApp */
.btn-floating-wa {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--whatsapp);
    color: var(--white);
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
    animation: slideDownOnly 1.8s ease-out forwards;
    transition:
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.btn-floating-wa:hover {
    background-color: var(--whatsapp-dark);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.6);
    transform: translateY(-5px) scale(1.05);
}

@keyframes slideDownOnly {
    0% {
        opacity: 0;
        transform: translateY(-150px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    padding: 70px 0 25px;
    background-color: var(--dark-bg);
    color: var(--text-footer);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-heading {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 25px;
    color: var(--white);
    font-weight: 600;
}

.footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-footer);
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-links a:hover {
    padding-left: 5px;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    color: var(--text-footer);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a i {
    font-size: 1.35rem;
    width: 28px;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.social-links a:hover i {
    transform: scale(1.15);
}

.footer-bottom {
    padding-top: 25px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
}

/* Perbaikan posisi dan lebar navbar collapse pada mode mobile */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: linear-gradient(135deg, rgba(34, 94, 38, 0.95), rgba(6, 95, 70, 0.98));
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        margin-top: 0;
        padding: 20px 1.5rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }
}

/* Filter Chips - Kategori Produk */
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-chip {
    padding: 10px 22px;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    background-color: var(--white);
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-chip:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-sm);
}

.filter-chip.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.25);
}

@media (max-width: 575.98px) {
    .filter-chip {
        padding: 8px 16px;
        font-size: 0.82rem;
    }
}