@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;400;600;700&family=Inter:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #0d2b28;      /* Deep Teal */
    --secondary-color: #8cc63f;    /* Premium Lime Green */
    --accent-color: #4ade80;
    --text-color: #f1f5f9;
    --dark-section: #081d1b;
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(13, 43, 40, 0.85);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(140, 198, 63, 0.2);
}

/* Global Font Application (Excluding Icons) */
[dir="rtl"], [dir="rtl"] *:not(.fa):not(.fas):not(.fab):not(.far):not(.fa-solid):not(.fa-brands) {
    font-family: 'Cairo', sans-serif !important;
}

[dir="ltr"], [dir="ltr"] *:not(.fa):not(.fas):not(.fab):not(.far):not(.fa-solid):not(.fa-brands) {
    font-family: 'Inter', sans-serif !important;
}

body {
    background-color: var(--primary-color);
    color: var(--text-color);
    overflow-x: hidden !important;
    width: 100%;
    line-height: 1.6;
}

.text-secondary {
    color: #c8d8d0 !important; /* Bright gray-green for readability */
}

h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    font-weight: 700;
}

/* ========== Dual-Tone Navbar ========== */
.navbar-dual-tone {
    display: flex;
    align-items: center;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    min-height: 70px;
    z-index: 1030;
}

/* Brand Zone - Light Side */
.navbar-brand-zone {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 12px 30px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

[dir="rtl"] .navbar-brand-zone {
    padding: 12px 30px 12px 0;
}

.navbar-brand-zone::after {
    content: '';
    position: absolute;
    top: 0;
    right: -40px;
    width: 80px;
    height: 100%;
    background: #ffffff;
    transform: skewX(-12deg);
    z-index: -1;
}

[dir="rtl"] .navbar-brand-zone::after {
    right: auto;
    left: -40px;
    transform: skewX(12deg);
}

.navbar-dual-tone .navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    text-shadow: none;
}

.navbar-dual-tone .navbar-brand span {
    color: var(--primary-color) !important;
}

.navbar-dual-tone .navbar-toggler {
    color: var(--primary-color) !important;
    margin-right: 15px;
}

[dir="rtl"] .navbar-dual-tone .navbar-toggler {
    margin-right: 0;
    margin-left: 15px;
}

/* Links Zone - Dark Side */
.navbar-links-zone {
    background: rgba(10, 46, 43, 0.97);
    backdrop-filter: blur(15px);
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 12px 30px 12px 60px;
    min-height: 70px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

[dir="rtl"] .navbar-links-zone {
    padding: 12px 60px 12px 30px;
}

.navbar-dual-tone .nav-link {
    color: rgba(255, 255, 255, 0.88) !important;
    font-weight: 600;
    margin: 0 10px;
    position: relative;
    transition: var(--transition);
}

.navbar-dual-tone .nav-link:hover {
    color: var(--secondary-color) !important;
}

.navbar-dual-tone .nav-link.active {
    color: var(--secondary-color) !important;
}

.navbar-dual-tone .nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--secondary-color), #4ade80);
    transition: var(--transition);
}

.navbar-dual-tone .nav-link:hover:after,
.navbar-dual-tone .nav-link.active:after {
    width: 100%;
}

/* Language Switch - inverted for dark zone */
.navbar-dual-tone .btn-lang-switch {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08);
}

.navbar-dual-tone .btn-lang-switch:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white !important;
}

/* Scrolled State */
.navbar-dual-tone.scrolled .navbar-brand-zone {
    background: rgba(255, 255, 255, 0.97);
}

.navbar-dual-tone.scrolled .navbar-brand-zone::after {
    background: rgba(255, 255, 255, 0.97);
}

.navbar-dual-tone.scrolled .navbar-links-zone {
    background: rgba(10, 46, 43, 0.99);
}

.navbar-dual-tone.scrolled {
    padding: 0;
}

.navbar-brand img {
    height: 50px;
    transition: var(--transition);
}

/* Responsive - Mobile Full-Screen Menu */
@media (max-width: 991px) {
    .navbar-dual-tone {
        flex-wrap: wrap;
        background: #ffffff;
        min-height: 0;
    }

    .navbar-brand-zone {
        width: 100%;
        padding: 10px 20px;
        background: #ffffff;
    }

    .navbar-brand-zone::after {
        display: none;
    }

    .navbar-links-zone {
        width: 100%;
        padding: 0;
        background: transparent;
        box-shadow: none;
        min-height: 0;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        background: var(--dark-section);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 1050;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        transform: translateY(-20px);
    }

    .navbar-collapse.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar-nav {
        text-align: center;
        margin-bottom: 40px !important;
    }

    .navbar-dual-tone .nav-link {
        font-size: 1.8rem;
        margin: 15px 0;
        padding: 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .navbar-collapse.show .nav-link {
        opacity: 1;
        transform: translateY(0);
    }

    .navbar-collapse.show .nav-link:nth-child(1) { transition-delay: 0.1s; }
    .navbar-collapse.show .nav-link:nth-child(2) { transition-delay: 0.2s; }
    .navbar-collapse.show .nav-link:nth-child(3) { transition-delay: 0.3s; }
    .navbar-collapse.show .nav-link:nth-child(4) { transition-delay: 0.4s; }

    .navbar-dual-tone .nav-link:after {
        display: none;
    }

    .navbar-toggler {
        z-index: 1100;
        position: relative;
    }
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(10, 46, 43, 0.75), rgba(15, 61, 58, 0.75)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1.2s ease;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--secondary-color);
    color: white !important;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(126, 179, 56, 0.3);
}

.btn-lang-switch {
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color) !important;
    font-weight: 600;
    background: rgba(126, 179, 56, 0.1);
}

.btn-lang-switch:hover {
    background: var(--secondary-color);
    color: white !important;
}

/* Product Cards Premium */
.product-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 24px;
    transition: var(--transition);
    height: 100%;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.6s;
}

.product-card:hover::before {
    left: 150%;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-premium), var(--shadow-glow);
}

.product-card:active {
    transform: scale(0.98);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px; /* Default for LTR */
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 40px;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #FFF;
    transform: scale(1.1);
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .hero-section .btn {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 15px auto !important;
    }
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* ========== Why Us Section Cards ========== */
.why-us-card {
    background: linear-gradient(145deg, rgba(13, 43, 40, 0.9), rgba(8, 29, 27, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 45px 35px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .why-us-card {
        padding: 35px 25px;
        margin-bottom: 15px;
    }
}

.why-us-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), #4ade80, var(--secondary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-us-card:hover {
    transform: translateY(-8px);
    border-color: rgba(126, 179, 56, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(126, 179, 56, 0.08);
}

.why-us-card:hover::before {
    opacity: 1;
}

.why-us-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(126, 179, 56, 0.15), rgba(74, 222, 128, 0.08));
    border: 1px solid rgba(126, 179, 56, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--secondary-color);
    transition: all 0.4s ease;
}

.why-us-card:hover .why-us-icon-wrap {
    background: linear-gradient(135deg, var(--secondary-color), #4ade80);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(126, 179, 56, 0.3);
}

.why-us-title {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.why-us-desc {
    color: #b8ccc4 !important;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ========== Contact Info Cards ========== */
.contact-info-card {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(12, 50, 47, 0.95), rgba(8, 38, 35, 0.98));
    border: 1px solid rgba(126, 179, 56, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--secondary-color), #4ade80);
    border-radius: 4px 0 0 4px;
}

[dir="rtl"] .contact-info-card::before {
    left: auto;
    right: 0;
    border-radius: 0 4px 4px 0;
}

.contact-info-card:hover {
    transform: translateX(5px);
    border-color: rgba(126, 179, 56, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

[dir="rtl"] .contact-info-card:hover {
    transform: translateX(-5px);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--secondary-color), #4ade80);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(126, 179, 56, 0.25);
}

[dir="rtl"] .contact-info-icon {
    margin-right: 0;
    margin-left: 16px;
}

.contact-info-label {
    color: #8faa9a !important;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px !important;
}

.contact-info-value {
    color: #e2e8f0 !important;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0 !important;
}

/* WhatsApp Contact Button */
.whatsapp-contact-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff !important;
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-contact-btn:hover {
    background: linear-gradient(135deg, #128c7e, #075e54);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

/* ========== Contact Form ========== */
.contact-form-wrap {
    padding: 40px;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(12, 50, 47, 0.6), rgba(8, 38, 35, 0.7));
    border: 1px solid rgba(126, 179, 56, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
}

.contact-form-label {
    color: #8faa9a !important;
    font-size: 0.85rem;
    font-weight: 600;
}

.contact-form-input {
    background: rgba(8, 38, 35, 0.7) !important;
    border: 1px solid rgba(126, 179, 56, 0.18) !important;
    color: #f0f4f0 !important;
    padding: 14px 16px;
    border-radius: 12px !important;
    transition: all 0.3s ease;
}

.contact-form-input::placeholder {
    color: rgba(143, 170, 154, 0.5) !important;
}

.contact-form-input:focus {
    background: rgba(8, 38, 35, 0.9) !important;
    border-color: var(--secondary-color) !important;
    box-shadow: 0 0 0 3px rgba(126, 179, 56, 0.12) !important;
    outline: none;
}

/* ========== Product Gallery ========== */
.product-gallery-container {
    border: 1px solid rgba(126, 179, 56, 0.1);
    transition: var(--transition);
}

.main-image-viewport {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdfdfd;
    border-radius: 12px;
}

.thumb-item {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    padding: 2px;
    border-radius: 10px;
}

.thumb-item img {
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.thumb-item:hover img {
    transform: scale(1.05);
    border-color: var(--secondary-color);
}

.thumb-item.active {
    border-color: var(--secondary-color);
}

.thumb-item.active img {
    opacity: 0.8;
}

/* ========== About Slideshow ========== */
.about-slideshow {
    position: relative;
    width: 100%;
    background: #0a2e2b;
}

.about-slide,
.home-about-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.about-slide.active,
.home-about-slide.active {
    opacity: 1;
}

.slide-indicators {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.slide-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.slide-dot.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(126, 179, 56, 0.5);
}

/* ========== Mobile Bottom Navigation ========== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 65px;
    background: rgba(13, 43, 40, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: none;
    align-items: center;
    justify-content: space-around;
    z-index: 2000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    padding: 0 10px;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    
    /* Extra padding for body to not hide content behind nav */
    body {
        padding-bottom: 100px;
    }
}

.mobile-nav-item {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.7rem;
    transition: var(--transition);
    flex: 1;
}

.mobile-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 4px;
    transition: var(--transition);
}

.mobile-nav-item.active {
    color: var(--secondary-color);
}

.mobile-nav-item.active i {
    transform: translateY(-5px);
    text-shadow: 0 5px 15px rgba(140, 198, 63, 0.4);
}

.mobile-nav-item:active {
    transform: scale(0.9);
}

/* ========== Touch Active States ========== */
.btn:active, 
.product-card:active, 
.why-us-card:active, 
.nav-link:active {
    transform: scale(0.96) !important;
    opacity: 0.9;
}

/* Smooth Horizontal Scroll for Mobile Products */
@media (max-width: 768px) {
    .mobile-scroll-row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 15px;
    }
    .mobile-scroll-row .col-md-4,
    .mobile-scroll-row .col-sm-6 {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
}

/* ========== Button Flash Effect ========== */
@keyframes flash {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    50% { transform: scale(0.95); box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0); }
    100% { transform: scale(1); }
}

.btn:active, .mobile-nav-item:active, .product-card:active {
    animation: flash 0.4s ease-out;
}

/* ========== Floating Food Elements ========== */
.floating-food {
    position: absolute;
    width: 80px;
    height: 80px;
    object-fit: cover;
    pointer-events: none;
    z-index: 5;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    animation: premiumFloat 8s ease-in-out infinite;
}

@keyframes premiumFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(10px, -20px) rotate(15deg); }
    66% { transform: translate(-10px, 10px) rotate(-10deg); }
}

/* Specific positions for mobile/desktop */
.food-1 { top: 15%; left: 5%; animation-delay: 0s; width: 60px; height: 60px; }
.food-2 { top: 40%; right: 5%; animation-delay: 2s; width: 70px; height: 70px; }
.food-3 { bottom: 20%; left: 10%; animation-delay: 4s; width: 50px; height: 50px; }
.food-4 { top: 60%; left: 80%; animation-delay: 1s; width: 80px; height: 80px; }

@media (max-width: 768px) {
    .floating-food {
        width: 50px;
        height: 50px;
    }
    .food-4 { display: none; }
}

/* ========== Announcement Bar ========== */
.announcement-wrapper {
    width: 100%;
    z-index: 1040;
    position: relative;
    display: flex;
    justify-content: center;
    pointer-events: none; /* Let clicks pass through empty wrapper areas */
}

.announcement-wrapper.pos-below {
    position: fixed;
    top: 80px; /* Safety default */
    left: 0;
    z-index: 1020; /* Below navbar (1030) */
    pointer-events: none;
}

.announcement-bar {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto; /* Enable clicks on the bar itself */
}

/* Shapes */
.announcement-bar.shape-centered {
    max-width: 95%;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.announcement-bar.shape-floating {
    width: auto;
    display: inline-flex;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.announcement-wrapper.pos-below .announcement-bar.shape-centered,
.announcement-wrapper.pos-below .announcement-bar.shape-floating {
    margin-top: 20px;
}

.announcement-content {
    width: 100%;
    overflow: hidden;
    text-align: center;
    padding: 8px 40px;
}

.announcement-close {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.15);
    border: none;
    color: inherit;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

[dir="rtl"] .announcement-close { right: auto; left: 12px; }

.announcement-close:hover {
    background: rgba(0,0,0,0.3);
    transform: translateY(-50%) scale(1.1);
}

/* Marquee Animation */
.announcement-marquee {
    display: inline-flex;
    white-space: nowrap;
    animation: marqueeScroll linear infinite;
    gap: 0;
}

[dir="rtl"] .announcement-marquee {
    animation-name: marqueeScrollRTL;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

@keyframes marqueeScrollRTL {
    0% { transform: translateX(0); }
    100% { transform: translateX(33.333%); }
}

/* Fade Animation */
.announcement-fade {
    animation: announceFade 4s ease-in-out infinite;
}

@keyframes announceFade {
    0%, 100% { opacity: 0.4; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1); }
}

/* Typing Animation */
.announcement-typing {
    display: flex;
    align-items: center;
    justify-content: center;
}

.typing-cursor {
    animation: blink 0.7s infinite;
    font-weight: 300;
    margin-inline-start: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Static */
.announcement-static { padding: 2px 0; }

/* Decorations */
.announcement-shimmer {
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: shimmerSlide 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes shimmerSlide {
    0% { left: -50%; }
    100% { left: 150%; }
}

.announcement-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 8px;
}

.announcement-dots {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

.announcement-dots span {
    position: absolute;
    bottom: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
}

.announcement-stars {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.ann-star {
    position: absolute;
    top: 50%;
    width: 3px;
    height: 3px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    animation: twinkle 2s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* Responsive */
@media (max-width: 768px) {
    .announcement-bar { min-height: 34px; }
    .announcement-content { padding: 6px 30px; }
}

/* Theme: Eid Al-Adha - Modern Royal Edition */
body.theme-eid_adha {
    --primary-color: #1b4d3e;   /* Islamic Dark Green */
    --secondary-color: #d4af37; /* Metallic Gold */
    --accent-color: #f1c40f;
    --dark-section: #f4f7f6;
    --card-bg: #ffffff;
    --text-color: #1a2a24;
    background-color: #fdfdfd;
}

body.theme-eid_adha .navbar-links-zone { background: rgba(26, 10, 46, 0.97); }
body.theme-eid_adha .navbar-dual-tone.scrolled .navbar-links-zone { background: rgba(26, 10, 46, 0.99); }
body.theme-eid_adha .why-us-icon-wrap { background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(245,208,96,0.08)); border-color: rgba(212,175,55,0.25); color: var(--secondary-color); }
body.theme-eid_adha .why-us-card:hover .why-us-icon-wrap { background: linear-gradient(135deg, #d4af37, #f5d060); }
body.theme-eid_adha .why-us-card::before { background: linear-gradient(90deg, #d4af37, #f5d060, #d4af37); }
body.theme-eid_adha .btn-primary-custom { background-color: #d4af37; box-shadow: 0 4px 15px rgba(212,175,55,0.3); }
body.theme-eid_adha .btn-primary-custom:hover { background: #b8962e; }
body.theme-eid_adha .mobile-bottom-nav { background: rgba(26,10,46,0.85); }
body.theme-eid_adha .mobile-nav-item.active { color: #d4af37; }
body.theme-eid_adha .contact-info-icon { background: linear-gradient(135deg, #d4af37, #f5d060); }
body.theme-eid_adha .contact-info-card::before { background: linear-gradient(180deg, #d4af37, #f5d060); }

/* Theme: Eid Al-Fitr - Teal & Deep Blue */
body.theme-eid_fitr {
    --primary-color: #0a1628;
    --secondary-color: #00bfa5;
    --accent-color: #26c6da;
    --dark-section: #060f1f;
    --card-bg: rgba(0, 191, 165, 0.06);
    --glass-bg: rgba(10, 22, 40, 0.85);
    --shadow-glow: 0 0 20px rgba(0, 191, 165, 0.2);
    background-color: var(--primary-color);
}

body.theme-eid_fitr .navbar-links-zone { background: rgba(10, 22, 40, 0.97); }
body.theme-eid_fitr .navbar-dual-tone.scrolled .navbar-links-zone { background: rgba(10, 22, 40, 0.99); }
body.theme-eid_fitr .why-us-icon-wrap { background: linear-gradient(135deg, rgba(0,191,165,0.15), rgba(38,198,218,0.08)); border-color: rgba(0,191,165,0.25); color: var(--secondary-color); }
body.theme-eid_fitr .why-us-card:hover .why-us-icon-wrap { background: linear-gradient(135deg, #00bfa5, #26c6da); }
body.theme-eid_fitr .why-us-card::before { background: linear-gradient(90deg, #00bfa5, #26c6da, #00bfa5); }
body.theme-eid_fitr .btn-primary-custom { background-color: #00bfa5; box-shadow: 0 4px 15px rgba(0,191,165,0.3); }
body.theme-eid_fitr .btn-primary-custom:hover { background: #00a58e; }
body.theme-eid_fitr .mobile-bottom-nav { background: rgba(10,22,40,0.85); }
body.theme-eid_fitr .mobile-nav-item.active { color: #00bfa5; }
body.theme-eid_fitr .contact-info-icon { background: linear-gradient(135deg, #00bfa5, #26c6da); }
body.theme-eid_fitr .contact-info-card::before { background: linear-gradient(180deg, #00bfa5, #26c6da); }

/* Theme: National Day - Saudi Green */
body.theme-national_day {
    --primary-color: #003d00;
    --secondary-color: #00c853;
    --accent-color: #69f0ae;
    --dark-section: #002800;
    --card-bg: rgba(0, 200, 83, 0.06);
    --glass-bg: rgba(0, 61, 0, 0.85);
    --shadow-glow: 0 0 20px rgba(0, 200, 83, 0.2);
    background-color: var(--primary-color);
}

body.theme-national_day .navbar-links-zone { background: rgba(0, 40, 0, 0.97); }
body.theme-national_day .navbar-dual-tone.scrolled .navbar-links-zone { background: rgba(0, 40, 0, 0.99); }
body.theme-national_day .why-us-icon-wrap { background: linear-gradient(135deg, rgba(0,200,83,0.15), rgba(105,240,174,0.08)); border-color: rgba(0,200,83,0.25); color: var(--secondary-color); }
body.theme-national_day .why-us-card:hover .why-us-icon-wrap { background: linear-gradient(135deg, #00c853, #69f0ae); }
body.theme-national_day .why-us-card::before { background: linear-gradient(90deg, #00c853, #69f0ae, #00c853); }
body.theme-national_day .btn-primary-custom { background-color: #00c853; box-shadow: 0 4px 15px rgba(0,200,83,0.3); }
body.theme-national_day .btn-primary-custom:hover { background: #00a844; }
body.theme-national_day .mobile-bottom-nav { background: rgba(0,40,0,0.85); }
body.theme-national_day .mobile-nav-item.active { color: #00c853; }
body.theme-national_day .contact-info-icon { background: linear-gradient(135deg, #00c853, #69f0ae); }
body.theme-national_day .contact-info-card::before { background: linear-gradient(180deg, #00c853, #69f0ae); }

/* Theme: Ramadan - Gold & Deep Purple */
body.theme-ramadan {
    --primary-color: #1a0a3e;
    --secondary-color: #ffd700;
    --accent-color: #ffe082;
    --dark-section: #120530;
    --card-bg: rgba(255, 215, 0, 0.06);
    --glass-bg: rgba(26, 10, 62, 0.85);
    --shadow-glow: 0 0 20px rgba(255, 215, 0, 0.2);
    background-color: var(--primary-color);
}

body.theme-ramadan .navbar-links-zone { background: rgba(18, 5, 48, 0.97); }
body.theme-ramadan .navbar-dual-tone.scrolled .navbar-links-zone { background: rgba(18, 5, 48, 0.99); }
body.theme-ramadan .why-us-icon-wrap { background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,224,130,0.08)); border-color: rgba(255,215,0,0.25); color: var(--secondary-color); }
body.theme-ramadan .why-us-card:hover .why-us-icon-wrap { background: linear-gradient(135deg, #ffd700, #ffe082); }
body.theme-ramadan .why-us-card::before { background: linear-gradient(90deg, #ffd700, #ffe082, #ffd700); }
body.theme-ramadan .btn-primary-custom { background-color: #ffd700; color: #1a0a3e !important; box-shadow: 0 4px 15px rgba(255,215,0,0.3); }
body.theme-ramadan .btn-primary-custom:hover { background: #e6c200; }
body.theme-ramadan .mobile-bottom-nav { background: rgba(26,10,62,0.85); }
body.theme-ramadan .mobile-nav-item.active { color: #ffd700; }
body.theme-ramadan .contact-info-icon { background: linear-gradient(135deg, #ffd700, #ffe082); color: #1a0a3e; }
body.theme-ramadan .contact-info-card::before { background: linear-gradient(180deg, #ffd700, #ffe082); }

/* Theme: Winter - Cool Blue */
body.theme-winter {
    --primary-color: #0d1b2a;
    --secondary-color: #4fc3f7;
    --accent-color: #81d4fa;
    --dark-section: #0a1520;
    --card-bg: rgba(79, 195, 247, 0.06);
    --glass-bg: rgba(13, 27, 42, 0.85);
    --shadow-glow: 0 0 20px rgba(79, 195, 247, 0.2);
    background-color: var(--primary-color);
}

body.theme-winter .navbar-links-zone { background: rgba(10, 21, 32, 0.97); }
body.theme-winter .navbar-dual-tone.scrolled .navbar-links-zone { background: rgba(10, 21, 32, 0.99); }
body.theme-winter .why-us-icon-wrap { background: linear-gradient(135deg, rgba(79,195,247,0.15), rgba(129,212,250,0.08)); border-color: rgba(79,195,247,0.25); color: var(--secondary-color); }
body.theme-winter .why-us-card:hover .why-us-icon-wrap { background: linear-gradient(135deg, #4fc3f7, #81d4fa); }
body.theme-winter .why-us-card::before { background: linear-gradient(90deg, #4fc3f7, #81d4fa, #4fc3f7); }
body.theme-winter .btn-primary-custom { background-color: #4fc3f7; color: #0d1b2a !important; box-shadow: 0 4px 15px rgba(79,195,247,0.3); }
body.theme-winter .btn-primary-custom:hover { background: #39b4e8; }
body.theme-winter .mobile-bottom-nav { background: rgba(13,27,42,0.85); }
body.theme-winter .mobile-nav-item.active { color: #4fc3f7; }
body.theme-winter .contact-info-icon { background: linear-gradient(135deg, #4fc3f7, #81d4fa); color: #0d1b2a; }
body.theme-winter .contact-info-card::before { background: linear-gradient(180deg, #4fc3f7, #81d4fa); }

/* Theme transitions */
body[class*="theme-"] .product-card:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-premium), var(--shadow-glow);
}

body[class*="theme-"] .navbar-dual-tone .nav-link.active,
body[class*="theme-"] .navbar-dual-tone .nav-link:hover {
    color: var(--secondary-color) !important;
}

body[class*="theme-"] .navbar-dual-tone .nav-link:after {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

body[class*="theme-"] .whatsapp-float { box-shadow: 0 4px 15px rgba(37,211,102,0.3); }

body[class*="theme-"] .slide-dot.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 0 8px color-mix(in srgb, var(--secondary-color) 50%, transparent);
}

/* Sea Wave (Water) Decoration */
.announcement-sea-waves {
    position: absolute;
    top: 0; left: 0; width: 200%; height: 100%;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 20px,
        rgba(255, 255, 255, 0.08) 20px,
        rgba(255, 255, 255, 0.08) 40px
    );
    opacity: 0.3;
    animation: seaWaveMove 8s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.announcement-bar[data-decor="sea"] {
    background-image: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 100%);
    overflow: hidden;
    animation: liquidShape 8s ease-in-out infinite alternate;
    border: 2px solid rgba(255,255,255,0.2);
}

@keyframes liquidShape {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

/* Wavy Edge for the Bar itself */
.announcement-bar[data-decor="sea"]::after {
    content: '';
    position: absolute;
    top: -5px; left: 0; width: 100%; height: 5px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10 Q 25 0, 50 10 T 100 10' fill='white' opacity='0.3'/%3E%3C/svg%3E") repeat-x;
    background-size: 50px 5px;
    animation: waveEdgeMove 2s linear infinite;
}

@keyframes waveEdgeMove {
    from { background-position: 0 0; }
    to { background-position: 50px 0; }
}

@keyframes waterRipple {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.announcement-bar[data-decor="sea"] .announcement-content {
    position: relative;
    z-index: 3; /* Above waves */
}

/* Eid al-Adha Theme - Layout Overrides for Visibility */
body.theme-eid_adha h1, 
body.theme-eid_adha h2, 
body.theme-eid_adha h3, 
body.theme-eid_adha h4, 
body.theme-eid_adha h5, 
body.theme-eid_adha h6,
body.theme-eid_adha .text-white {
    color: var(--primary-color) !important;
}

body.theme-eid_adha .text-secondary {
    color: #4a5568 !important; /* Darker gray for readability on light bg */
}

body.theme-eid_adha .product-card {
    background: #ffffff;
    border: 1px solid rgba(27, 77, 62, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

body.theme-eid_adha .product-card h5 {
    color: var(--primary-color) !important;
}

body.theme-eid_adha .product-card .product-desc {
    color: #555 !important;
}

body.theme-eid_adha .why-us-card {
    background: #ffffff;
    border: 1px solid var(--secondary-color);
}

body.theme-eid_adha .why-us-title {
    color: var(--primary-color) !important;
}

body.theme-eid_adha .why-us-desc {
    color: #444 !important;
}

body.theme-eid_adha .btn-outline-light {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

body.theme-eid_adha .btn-outline-light:hover {
    background: var(--primary-color);
    color: #fff;
}

body.theme-eid_adha .stat-card {
    background: #ffffff;
    color: var(--primary-color);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

body.theme-eid_adha .eid-floating-decor {
    animation: eidFloat 12s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.05));
}

@keyframes eidFloat {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(15px) rotate(1deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

body.theme-eid_adha .navbar {
    border-bottom: 2px solid var(--secondary-color);
    background: #fff !important;
}

body.theme-eid_adha .navbar-links-zone {
    background: #fff !important;
}

body.theme-eid_adha .nav-link {
    color: var(--primary-color) !important;
}

body.theme-eid_adha .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #2d5a27);
    border: 1px solid var(--secondary-color);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

body.theme-eid_adha .announcement-bar {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-top: 1px solid var(--secondary-color);
    border-bottom: 1px solid var(--secondary-color);
}
