/* -------------------------------------------------------------
   BEYOUT - Exact Replication of Luxury Gold & Slate UI Theme
   ------------------------------------------------------------- */

:root {
    --bg-primary: #0a0d14;
    --bg-secondary: #0d111b;
    --text-primary: #f5f5f7;
    --text-secondary: #8e8e93;
    --accent-color: #d4af37; /* Warm Gold */
    --accent-hover: #b8952b;
    --border-color: rgba(212, 175, 55, 0.12);
    --glass-bg: rgba(10, 13, 20, 0.85);
    --card-bg: rgba(13, 17, 27, 0.7);
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Alexandria', 'Cairo', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.max-w-600 { max-width: 600px; margin: 0 auto; }

/* Frosted Header matching Mockup */
.main-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: 72px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 9999;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Header Left: Globe Selector */
.header-left {
    display: flex;
    align-items: center;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e5e5ea;
    padding: 6px 14px;
    border-radius: 99px;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.lang-selector:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
}

.globe-icon {
    opacity: 0.8;
}

.chevron-down {
    opacity: 0.5;
}

/* Header Middle: Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
    color: var(--accent-color);
}

.nav-link.link-external {
    color: #3b82f6;
    opacity: 0.9;
}

/* Header Right: Logo with home icon */
.header-right {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-text {
    font-family: 'Alexandria', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.logo-icon-container {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-home-svg {
    width: 28px;
    height: 28px;
}

/* Mockup Hero Section */
.mockup-hero {
    position: relative;
    padding: 140px 0 80px;
    background-image: linear-gradient(rgba(10, 13, 20, 0.85), rgba(10, 13, 20, 0.95)), url('assets/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-container-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Hero Left: Switch Mockup */
.hero-visual-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.switch-glowing-frame {
    position: relative;
    border-radius: 20px;
    padding: 4px;
    background: linear-gradient(135deg, var(--accent-color) 0%, transparent 60%);
    box-shadow: 0 10px 40px rgba(214, 175, 55, 0.1);
    max-width: 360px;
    overflow: hidden;
}

.switch-mock-img {
    width: 100%;
    display: block;
    border-radius: 16px;
}

/* Hero Right: Content */
.hero-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-main-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-sub-text {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-cta-btn {
    display: inline-block;
    background: var(--accent-color);
    color: #000000;
    text-decoration: none;
    padding: 12px 36px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

.hero-cta-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.35);
}

/* Showcase & Packages Section */
.packages-section-wrapper {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.package-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
}

.package-card:hover {
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.08);
    transform: translateY(-4px);
}

.card-icon-header {
    display: flex;
    justify-content: center;
    margin-top: -44px;
    margin-bottom: 16px;
    z-index: 10;
}

.circular-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0d111b;
    border: 1px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.package-img-container {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.package-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.package-card:hover .package-card-img {
    transform: scale(1.05);
}

.package-header {
    margin-bottom: 20px;
    text-align: center;
}

.package-header h3 {
    font-size: 21px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.pkg-card-desc {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.package-features {
    list-style: none;
    margin-bottom: 24px;
    flex-grow: 1;
}

.package-features li {
    font-size: 13.5px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.package-features li::before {
    content: "●";
    color: var(--accent-color);
    font-size: 10px;
}

.package-pricing {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.price-val {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-color);
}

.package-cta {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Alexandria', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    width: 100%;
    transition: var(--transition-smooth);
}

.package-cta:hover {
    background: var(--accent-color);
    color: #000000;
}

/* Sandbox Playground */
.simulator-sandbox {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header { margin-bottom: 50px; }
.section-subtitle {
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 34px;
    font-weight: 800;
    margin: 12px 0 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 16px;
}

.sandbox-container {
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
}

.sandbox-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.house-svg {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    display: block;
}

.sprinkler-pulse {
    animation: pulseWater 1.5s infinite;
}

@keyframes pulseWater {
    0% { r: 5; opacity: 0.8; }
    100% { r: 25; opacity: 0; }
}

.simulator-controls h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.small-desc {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 24px;
}

.control-group {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.control-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
}

.switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #2c2c2e;
    transition: .3s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px; width: 18px;
    left: 3px; bottom: 3px;
    background-color: white;
    transition: .3s;
}

input:checked + .slider { background-color: #30d158; }
input:checked + .slider:before { transform: translateX(18px); }
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }

.ac-temp-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.temp-val { font-size: 13px; }
.temp-buttons button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
    width: 28px; height: 28px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    margin-left: 6px;
}

.security-status-text {
    font-size: 12.5px;
    margin-top: 10px;
}

.sim-feedback-msg {
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border-right: 3px solid var(--accent-color);
}

/* Booking Form */
.demo-booking-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.form-wrapper {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
}

.form-title { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.form-subtitle { color: var(--text-secondary); font-size: 14.5px; margin-bottom: 32px; }

.form-progress {
    position: relative;
    margin-bottom: 40px;
}

.progress-bar {
    position: absolute;
    top: 14px;
    left: 12.5%;
    height: 3px;
    background: var(--accent-color);
    width: 12.5%;
    z-index: 1;
    transition: var(--transition-smooth);
}

.progress-steps {
    display: flex;
    justify-content: space-around;
    position: relative;
    z-index: 2;
}

.step-node {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #1c1c1e;
    border: 2px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.step-node.active {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: #000000;
}

.step-node.completed {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #000000;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.progress-labels span {
    font-size: 11px;
    color: var(--text-secondary);
    width: 25%;
    text-align: center;
}

.form-step { display: none; }
.form-step.active { display: block; }

.step-section-title { font-size: 17px; font-weight: 700; margin-bottom: 24px; }

.cards-select-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.select-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.select-card.selected {
    border-color: var(--accent-color);
    background: rgba(212, 175, 55, 0.02);
}

.select-card-logo {
    margin-bottom: 12px;
}

.select-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.select-card p { color: var(--text-secondary); font-size: 13px; }

.form-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group.span-2 { grid-column: span 2; }

.input-group label { font-size: 12.5px; font-weight: 600; color: #d1d1d6; }
.input-group input, .input-group select, .input-group textarea {
    background: #1c1c1e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px;
    color: #ffffff;
    font-family: 'Alexandria', sans-serif;
    font-size: 13.5px;
    width: 100%;
}

.input-group input:focus, .input-group select:focus, .input-group textarea:focus {
    border-color: var(--accent-color);
    outline: none;
}

.required { color: #ff453a; margin-right: 4px; }

.form-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-next, .btn-submit {
    background: var(--accent-color);
    color: #000000;
    border: none;
    padding: 10px 24px;
    border-radius: 99px;
    cursor: pointer;
    font-family: 'Alexandria', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
}

.btn-prev {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 10px 24px;
    border-radius: 99px;
    cursor: pointer;
    font-family: 'Alexandria', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
}

/* Success Card */
.success-card { padding: 20px 0; }
.success-animation-circle {
    width: 80px; height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    background: rgba(48, 209, 88, 0.1);
}

.checkmark {
    width: 40px; height: 40px;
    stroke: #30d158;
    stroke-width: 5;
    fill: none;
}

.success-summary {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    margin: 24px 0;
    text-align: right;
}

.success-summary p { font-size: 13.5px; margin-bottom: 8px; }

.btn-reset {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 8px 20px;
    border-radius: 99px;
    cursor: pointer;
    font-family: 'Alexandria', sans-serif;
}

/* Footer */
.main-footer {
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about p {
    color: var(--text-secondary);
    font-size: 13.5px;
    margin-top: 16px;
    max-width: 320px;
}

.footer-links h4, .footer-social h4 {
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13.5px;
    transition: var(--transition-smooth);
}

.footer-links ul li a:hover { color: var(--accent-color); }

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background: var(--accent-color);
    color: #000000;
    border-color: var(--accent-color);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 12px;
}

/* Responsive */
@media (max-width: 991px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .hero-container-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text-col {
        align-items: center;
    }
    
    .packages-grid, .sandbox-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mockup-hero {
        padding-top: 120px;
    }
    
    .hero-main-title {
        font-size: 32px;
    }
    
    .menu-toggle { display: flex; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 72px; left: 0; width: 100%;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        gap: 16px;
    }
    
    .nav-links.active { display: flex; }
    
    .form-fields-grid { grid-template-columns: 1fr; }
    .input-group.span-2 { grid-column: span 1; }
}

/* --- PRODUCTS CATALOG STYLES --- */
/* SECTION HEADER */
        .section-header {
            margin: 4rem 0 2rem;
            padding-bottom: 0.8rem;
            border-bottom: 2px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .section-header h2 {
            font-size: 2rem;
            font-weight: 800;
            color: var(--primary-blue);
            margin: 0;
        }

        .section-header .count-badge {
            background-color: #e0f2fe;
            color: var(--primary-blue);
            font-size: 0.9rem;
            font-weight: 700;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
        }

        /* GRID */
        .grid {
            display: grid;
            
            gap: 2rem;
        }

        /* CARD */
        .card {
            background: var(--white);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
            border-color: #cbd5e1;
        }

        .card-code {
            position: absolute;
            top: 1rem;
            left: 1rem;
            background-color: var(--primary-blue);
            color: var(--white);
            font-size: 0.8rem;
            font-weight: 700;
            padding: 0.3rem 0.7rem;
            border-radius: 6px;
            z-index: 10;
            letter-spacing: 0.5px;
        }

        .img-container {
            background-color: rgba(0,0,0,0.2);
            width: 100%;
            height: 240px;
            background-color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            border-bottom: 1px solid #f1f5f9;
        }

        .img-container img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: transform 0.4s ease;
        }

        .card:hover .img-container img {
            transform: scale(1.05);
        }

        .content {
            padding: 1.8rem;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .title {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-dark);
            margin: 0 0 1.2rem 0;
            line-height: 1.4;
        }

        .features {
            list-style: none;
            padding: 0;
            margin: 0;
            flex-grow: 1;
        }

        .features li {
            position: relative;
            padding-left: 1.5rem;
            margin-bottom: 0.6rem;
            font-size: 0.9rem;
            color: var(--text-gray);
            line-height: 1.5;
        }

        .features li i {
            position: absolute;
            left: 0;
            top: 4px;
            color: var(--primary-green);
            font-size: 0.85rem;
        }

        /* BUNDLES SECTION */
        .bundles-section {
            margin-top: 6rem;
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            color: var(--white);
            padding: 5rem 2rem;
            border-radius: 24px;
        }

        .bundles-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .bundles-header h2 {
            font-size: 2.8rem;
            font-weight: 800;
            margin: 0 0 1rem 0;
            font-family: 'Tajawal', sans-serif;
            color: #ffffff;
        }

        .bundles-header p {
            color: #94a3b8;
            font-size: 1.15rem;
            font-family: 'Tajawal', sans-serif;
            max-width: 800px;
            margin: 0 auto;
        }

        .bundles-grid {
            display: grid;
            
            gap: 2.5rem;
        }

        .bundle-card {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 2.5rem 2rem;
            display: flex;
            flex-direction: column;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        .bundle-card:hover {
            transform: translateY(-8px);
            border-color: var(--primary-green);
            background: rgba(255, 255, 255, 0.08);
        }

        .bundle-icon {
            font-size: 2.5rem;
            color: var(--primary-green);
            margin-bottom: 1.5rem;
        }

        .bundle-title-ar {
            font-family: 'Tajawal', sans-serif;
            font-size: 1.6rem;
            font-weight: 800;
            margin: 0 0 0.3rem 0;
            color: #ffffff;
        }

        .bundle-title-en {
            font-size: 1rem;
            color: #94a3b8;
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .bundle-target {
            font-family: 'Tajawal', sans-serif;
            font-size: 0.95rem;
            color: #cbd5e1;
            margin-bottom: 1.8rem;
            background: rgba(255,255,255,0.05);
            padding: 0.8rem 1rem;
            border-radius: 10px;
            border-right: 3px solid var(--primary-green);
        }

        /* MATRIX TABLE */
        .matrix-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 1rem;
            font-size: 0.9rem;
        }

        .matrix-table th {
            text-align: left;
            padding: 0.6rem 0.8rem;
            background: rgba(255,255,255,0.1);
            color: #94a3b8;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .matrix-table td {
            padding: 0.8rem 0.8rem;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            color: #e2e8f0;
            vertical-align: middle;
        }

        .matrix-table tr:hover td {
            background: rgba(255,255,255,0.03);
        }

        .matrix-code {
            font-size: 0.75rem;
            background-color: var(--primary-blue);
            color: #fff;
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            font-weight: 700;
            display: inline-block;
        }

        .matrix-location {
            font-family: 'Tajawal', sans-serif;
            color: #38bdf8;
            font-weight: 600;
            font-size: 0.9rem;
        }

        .matrix-qty {
            font-weight: 700;
            color: var(--primary-green);
            text-align: center;
        }

        /* FOOTER */
        footer {
            text-align: center;
            padding: 3rem 2rem;
            color: var(--text-gray);
            margin-top: 4rem;
            border-top: 1px solid var(--border-color);
        }

        footer p {
            margin: 0;
            font-size: 0.95rem;
        }
    


.products-section {
    --primary-blue: #004c99; 
    --primary-green: #52a621;
    --bg-body: transparent;
    --white: #1e293b;
    --text-dark: #f8fafc;
    --text-gray: #cbd5e1;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.2);
    --shadow-md: 0 10px 25px rgba(0, 76, 153, 0.06);
    --shadow-hover: 0 20px 40px rgba(0, 76, 153, 0.12);
    
    color: var(--text-dark);
    text-align: left;
}

.products-section h2, 
.products-section h3, 
.products-section p, 
.products-section span, 
.products-section div {
    color: var(--text-dark);
}

.products-section .section-header h2 {
    color: var(--primary-blue) !important;
}

.products-section .card-title {
    color: var(--text-dark) !important;
}

.products-section .card-desc {
    color: var(--text-gray) !important;
}

.products-section .specs-list li {
    color: var(--text-gray) !important;
}

.products-section-old {
    padding: 60px 0;
    background-color: var(--bg-body, #f8fafc);
}

.products-section .section-header {
    position: sticky;
    right: 0;
    z-index: 10;
    margin: 0 0 1.5rem 0;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    width: max-content;
}


/* Custom Scrollbar for Products */
.products-scroll-container::-webkit-scrollbar {
    width: 8px;
}
.products-scroll-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 8px;
}
.products-scroll-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 8px;
}
.products-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.category-group {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    min-width: min-content;
}

.products-section .grid {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1.5rem;
}

.products-section .card {
    flex: 0 0 85vw;
    max-width: 320px;
    scroll-snap-align: start;
}

@media (min-width: 768px) {
    .products-section .card {
        flex: 0 0 320px;
    }
}

.products-section .section-header {
    position: sticky;
    right: 0;
    z-index: 10;
    margin: 0 0 1.5rem 0;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    width: max-content;
}

.products-scroll-container {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0 2rem 0;
    gap: 2rem;
}
