/* ==========================================================================
   AHV Furnitures — Master Stylesheet
   Color Palette:
   - Primary Navy: #1a1f4b (from AHV Logo)
   - Dark Navy: #0f1230
   - Accent / Hover Navy: #2d3561
   - Background Cream: #faf9f7
   - Pure White: #ffffff
   - WhatsApp Green: #25D366
   - TikTok Black: #010101
   - Text Dark: #2b2b2b
   - Text Muted: #666666
   - Border: #e5e5e5
   ========================================================================== */

/* ── 1. Reset & Global Variables ── */
:root {
    --navy: #1a1f4b;
    --navy-dark: #0f1230;
    --navy-light: #2d3561;
    --navy-soft: #edf0fa;
    --cream: #faf9f7;
    --cream-dark: #f0ede6;
    --white: #ffffff;
    --whatsapp: #25D366;
    --whatsapp-dark: #1ea952;
    --tiktok: #010101;
    --text-main: #2b2b2b;
    --text-muted: #666666;
    --border-color: #e5e5e5;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(26, 31, 75, 0.08);
    --shadow-lg: 0 8px 30px rgba(26, 31, 75, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-pill: 9999px;
    --transition: all 0.25s ease-in-out;
    --header-height: 80px;
}

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

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition);
}

/* ── 2. Utility Layout Classes ── */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    flex: 1 0 auto;
    padding-top: var(--header-height);
}

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

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

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

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--navy);
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

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

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

/* ── 3. Buttons & Badges ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--navy);
    color: var(--white);
    border: 2px solid var(--navy);
}

.btn-primary:hover {
    background-color: var(--navy-light);
    border-color: var(--navy-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

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

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--navy);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: var(--white) !important;
    border: 2px solid var(--whatsapp);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    border-color: var(--whatsapp-dark);
    transform: translateY(-1px);
}

/* ── 4. Header & Navigation ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--navy);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

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

.nav-link {
    color: #e0e4f2;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    padding: 6px 0;
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language Toggle Pill */
.lang-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.lang-toggle-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: var(--white);
}

/* TikTok Header Button */
.tiktok-header-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--tiktok);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.tiktok-header-btn:hover {
    transform: scale(1.08);
    background-color: #222;
    box-shadow: 0 0 10px rgba(255, 0, 80, 0.4), 0 0 10px rgba(0, 242, 234, 0.4);
}

/* Mobile Toggle Hamburger */
.mobile-toggle-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
}

.mobile-toggle-btn .bar {
    height: 3px;
    width: 100%;
    background-color: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

/* ── 5. Floating WhatsApp Button ── */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: var(--transition);
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: var(--whatsapp-dark);
}

.floating-whatsapp-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--whatsapp);
    animation: pulseRing 1.8s infinite;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.wa-tooltip {
    position: absolute;
    left: 74px;
    background-color: #1a1a1a;
    color: var(--white);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
}

.floating-whatsapp-btn:hover .wa-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ── 6. Hero Slider (Homepage) ── */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--header-height));
    min-height: 520px;
    overflow: hidden;
    background-color: var(--navy-dark);
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 18, 48, 0.88) 0%, rgba(26, 31, 75, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    padding: 0 20px;
    color: var(--white);
}

.hero-tagline {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-sub {
    font-size: 1.2rem;
    color: #e2e5f5;
    margin-bottom: 35px;
    font-weight: 300;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    transition: var(--transition);
}

.slider-arrow:hover {
    background-color: var(--white);
    color: var(--navy);
}

.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--white);
    width: 28px;
    border-radius: var(--radius-pill);
}

/* ── 7. Strengths Grid ── */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.strength-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.strength-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--navy-light);
}

.strength-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background-color: var(--navy-soft);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: var(--transition);
}

.strength-card:hover .strength-icon {
    background-color: var(--navy);
    color: var(--white);
}

.strength-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}

.strength-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── 8. Categories Grid (Home) ── */
.category-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
}

.cat-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.cat-img-wrap {
    width: 100%;
    height: 220px;
    background-color: #f7f7f7;
    overflow: hidden;
}

.cat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.cat-card-body {
    padding: 20px;
    text-align: center;
}

.cat-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
}

/* ── 9. Products Page (Sidebar + Grid Layout matching Berjaya) ── */
.page-banner {
    background: var(--navy);
    color: var(--white);
    padding: 45px 0;
    margin-bottom: 40px;
    text-align: center;
}

.banner-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.banner-breadcrumb {
    font-size: 0.9rem;
    color: #c5cbe8;
}

.banner-breadcrumb a {
    color: var(--white);
}

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

.products-layout {
    display: flex;
    gap: 36px;
    margin-bottom: 60px;
    align-items: flex-start;
}

/* Left Sidebar */
.products-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.sidebar-search-box {
    margin-bottom: 24px;
}

.search-form {
    position: relative;
    display: flex;
}

.search-input {
    width: 100%;
    padding: 10px 40px 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(26, 31, 75, 0.1);
}

.search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.sidebar-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    padding-bottom: 10px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--navy-soft);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Category Accordion in Sidebar */
.cat-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cat-parent-item {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 6px;
}

.cat-parent-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy);
    cursor: pointer;
    transition: var(--transition);
}

.cat-parent-header:hover,
.cat-parent-header.active {
    color: var(--navy-light);
}

.cat-sub-list {
    margin-left: 14px;
    padding-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cat-sub-link {
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 4px 0;
    display: block;
}

.cat-sub-link:hover,
.cat-sub-link.active {
    color: var(--navy);
    font-weight: 600;
    transform: translateX(4px);
}

/* Right Products Grid */
.products-content {
    flex: 1;
}

.products-grid-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.active-category-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
}

.products-count {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Product Card Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #d1d5db;
}

.product-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
}

.product-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.product-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    text-align: center;
    border-top: 1px solid #f2f2f2;
}

.product-name {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 14px;
    line-height: 1.4;
    min-height: 2.8em;
}

.product-name a:hover {
    color: var(--navy);
}

/* ── 10. Product Detail Page ── */
.product-detail-wrap {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.detail-img-box {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-img-box img {
    max-height: 480px;
    object-fit: contain;
}

.detail-info-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-cat-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--navy-soft);
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    margin-bottom: 14px;
    text-transform: uppercase;
    width: fit-content;
}

.detail-product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 18px;
}

.detail-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* ── 11. Gallery Page & Lightbox ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background-color: #eee;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 18, 48, 0.8) 0%, transparent 60%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    color: var(--white);
    transition: opacity 0.3s ease;
}

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

.gallery-caption {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Fullscreen Lightbox */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    position: relative;
    text-align: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.lightbox-close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

/* ── 12. Video Page (YouTube Cards) ── */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 50px;
}

.video-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.video-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    overflow: hidden;
}

.video-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.88;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumb-wrap img {
    transform: scale(1.05);
    opacity: 1;
}

.play-icon-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background-color: rgba(255, 0, 0, 0.9);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: var(--transition);
}

.video-card:hover .play-icon-badge {
    transform: translate(-50%, -50%) scale(1.15);
    background-color: #ff0000;
}

.video-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.video-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 16px;
}

.btn-youtube {
    background-color: #ff0000;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.btn-youtube:hover {
    background-color: #cc0000;
}

/* ── 13. FAQ Accordion ── */
.faq-wrap {
    max-width: 850px;
    margin: 0 auto 60px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: var(--white);
    user-select: none;
}

.faq-question {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
}

.faq-toggle-icon {
    font-size: 1rem;
    color: var(--navy);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    background-color: #fcfcfc;
}

.faq-answer {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
}

/* ── 14. Contact Page ── */
.contact-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-form-card,
.contact-info-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.contact-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 24px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--navy-soft);
}

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

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(26, 31, 75, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.form-alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: none;
}

.form-alert.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    display: block;
}

.form-alert.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    display: block;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--navy-soft);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.info-text p,
.info-text a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.map-container {
    margin-top: 24px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-container iframe {
    width: 100%;
    height: 250px;
    border: 0;
}

/* ── 15. TikTok Section CTA (Home) ── */
.tiktok-cta-section {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.tiktok-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.tiktok-cta-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.tiktok-cta-text p {
    font-size: 1.05rem;
    color: #d1d6ed;
    margin-bottom: 24px;
}

.tiktok-cta-qr-box {
    background: var(--white);
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    text-align: center;
}

.tiktok-cta-qr-box img {
    margin: 0 auto 8px;
}

.tiktok-cta-qr-box span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
}

/* ── 16. Footer (3 Columns, Dark Navy) ── */
.site-footer {
    background-color: var(--navy-dark);
    color: #c9ceea;
    padding-top: 60px;
    margin-top: auto;
    border-top: 4px solid var(--navy-light);
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background-color: var(--white);
}

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

.footer-logo img {
    height: 64px;
    width: auto;
    max-width: 100%;
    border-radius: 6px;
}

/* About page two-column intro (collapses to one column at 992px) */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

/* Contact detail not provided yet */
.info-pending {
    font-style: italic;
    opacity: 0.75;
}

/* Empty-state card (no videos / no products) */
.empty-state-card {
    grid-column: 1 / -1;
    background: var(--white);
    padding: 50px 20px;
    text-align: center;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.empty-state-card > i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 16px;
}

.empty-state-card h3 {
    color: var(--navy);
    margin-bottom: 8px;
}

.empty-state-card p {
    color: var(--text-muted);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-website-link {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-website-link a {
    color: var(--white);
    text-decoration: underline;
}

.footer-tiktok-box {
    margin-top: 18px;
}

.tiktok-social-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--tiktok);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,0.2);
}

.tiktok-social-badge:hover {
    background-color: #222;
}

.tiktok-qr-card {
    background: var(--white);
    color: var(--navy);
    padding: 12px;
    border-radius: var(--radius-sm);
    display: inline-block;
    text-align: center;
}

.qr-label {
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.location-content {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.location-icon {
    color: var(--white);
    font-size: 1.2rem;
    margin-top: 4px;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.footer-contact-list i {
    color: var(--white);
    font-size: 1rem;
    width: 20px;
}

.footer-socials {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
}

.social-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--white);
    transition: var(--transition);
}

.tiktok-circle {
    background-color: var(--tiktok);
    border: 1px solid rgba(255,255,255,0.2);
}

.whatsapp-circle {
    background-color: var(--whatsapp);
}

.social-icon-circle:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.88rem;
    color: #9ea4cf;
}

/* ── 17. Responsive Media Queries ── */
@media (max-width: 992px) {
    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-layout {
        flex-direction: column;
    }

    .products-sidebar {
        width: 100%;
    }

    .footer-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle-btn {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: var(--navy-dark);
        /* Closed: no vertical padding, otherwise a 48px strip stays visible */
        padding: 0 24px;
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        transition: max-height 0.35s ease-in-out, padding 0.35s ease, visibility 0s linear 0.35s;
    }

    .main-nav.active {
        max-height: 480px;
        padding: 24px;
        visibility: visible;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        transition: max-height 0.35s ease-in-out, padding 0.35s ease, visibility 0s;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .nav-link {
        font-size: 1.05rem;
    }

    .hero-tagline {
        font-size: 2.1rem;
    }

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

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

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

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}
