html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background: #141b30;
    color: #fff;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    /* font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; */
}

.hero {
    position: relative;
    background-image: url('../imgs/bg.webp');
    background-repeat: no-repeat;
    background-position: right;
    background-size: cover;
    background-attachment: fixed;
    padding-bottom: 150px;
}

/* Custom Modern Navbar */
.custom-navbar {
    background: rgba(20, 27, 48, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-logo {
    width: 75px;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-brand-title {
    font-size: 1.5rem;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 40%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar Icon-only Buttons */
.nav-icon-btn {
    height: 42px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 1.2em;
    color: #f8f9fa;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 1.15rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-icon-btn:hover {
    color: #ffc107;
    background: rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 193, 7, 0.25);
}

/* WhatsApp Icon Button */
.nav-icon-whatsapp {
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.35);
    background: rgba(37, 211, 102, 0.1);
}

.nav-icon-whatsapp:hover {
    color: #ffffff;
    background: #25d366;
    border-color: #25d366;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

/* Hero Content Box (المربع الكبير الحاوي للنص بالكامل) */
.hero-content-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Hero Feature Cards */
.hero-feature-card {
    background: rgb(0 0 0 / 30%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.hero-feature-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 193, 7, 0.5);
}

.feature-icon {
    font-size: 1.4rem;
    display: inline-block;
}

.feature-card-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
}


/* Hero Bottom Fade Gradient */
.hero-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, #141b30 0%, rgba(20, 27, 48, 0.7) 50%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}


/* Floating Product Animation */
.floating-product {
    animation: floatProduct 4s ease-in-out infinite;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
    will-change: transform;
    max-height: 50vh;
}

@keyframes floatProduct {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}


/* Products Section Styling */
.products-section {
    background: #141b30;
    position: relative;
    z-index: 10;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    padding: 1.75rem 1.25rem;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 193, 7, 0.5);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.product-card.featured {
    background: rgba(255, 193, 7, 0.07);
    border: 1px solid rgba(255, 193, 7, 0.5);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.15);
}

.product-card.featured:hover {
    background: rgba(255, 193, 7, 0.12);
    box-shadow: 0 16px 40px rgba(255, 193, 7, 0.25);
}

.product-card-img {
    max-height: 140px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
    transition: transform 0.35s ease;
}

.product-card:hover .product-card-img {
    transform: scale(1.08) translateY(-4px);
}

.product-price {
    font-size: 2.1rem;
    font-weight: 800;
    color: #ffc107;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}


/* Why Choose Joker Section (White Background) */
.why-us-section {
    background: #ffffff;
    color: #1e293b;
    position: relative;
}

.why-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: #ffc107;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.1);
}

.why-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.why-card:hover .why-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.why-img-card {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    background: #111;
}

.why-img-card:hover {
    transform: translateY(-5px);
    border-color: #ffc107;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.14);
}

.why-img-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-img-card:hover img {
    transform: scale(1.06);
}

.why-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.88) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    pointer-events: none;
}


/* FAQ Section Styling */
.faq-section {
    background: transparent;
    position: relative;
}

.faq-accordion .accordion-item {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem !important;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.faq-accordion .accordion-item:hover {
    border-color: rgba(255, 193, 7, 0.4);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.faq-accordion .accordion-button {
    background: transparent;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    box-shadow: none;
    border: none;
    transition: background-color 0.35s ease, color 0.35s ease;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(255, 193, 7, 0.08);
    color: #ffc107;
    box-shadow: none;
}

.faq-accordion .accordion-button::after {
    filter: invert(1);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    filter: invert(78%) sepia(85%) saturate(890%) hue-rotate(358deg) brightness(102%) contrast(106%);
    transform: rotate(-180deg);
}

/* Smooth Accordion Expand/Collapse Transitions */
.faq-accordion .collapsing {
    transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.faq-accordion .accordion-collapse {
    transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-accordion .accordion-body {
    color: #cbd5e1;
    font-size: 0.98rem;
    line-height: 1.75;
    padding: 0 1.5rem 1.5rem 1.5rem;
    background: transparent;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.faq-accordion .collapsing .accordion-body,
.faq-accordion .collapse:not(.show) .accordion-body {
    opacity: 0;
    transform: translateY(-8px);
}

.faq-accordion .collapse.show .accordion-body {
    opacity: 1;
    transform: translateY(0);
}


/* Footer Styling */
.site-footer {
    background-color: #ffffff;
    color: #64748b;
    font-size: 0.95rem;
}

.footer-credit-link {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-credit-link:hover {
    color: #d97706;
    text-decoration: underline;
}
.products-section, .faq-section {
    background: url(../imgs/logo_w.webp) no-repeat center;
    backdrop-filter: blur(12px);
    background-position: 10%;
    background-attachment: fixed;
}
.products-section .container-fluid, .faq-section .container-fluid {
    backdrop-filter: brightness(0.2);
}
/* Why Choose Showcase (Independent Columns - No Row Height Locks) */
.why-showcase-wrapper {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.why-showcase-column {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (max-width: 991.98px) {
    .why-showcase-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }
    .why-showcase-column {
        display: contents;
    }
    .why-item-img1 { order: 1; }
    .why-item-card1 { order: 2; }
    .why-item-img2 { order: 3; }
    .why-item-card2 { order: 4; }
}

/* ==========================================
   Cinematic Energy Ring Preloader
   ========================================== */
.site-preloader {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #07080a;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.65s;
}

.site-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-preloader.fade-out .preloader-content {
    transform: scale(1.12);
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader-backdrop-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.16) 0%, rgba(255, 193, 7, 0.04) 40%, rgba(7, 8, 10, 0) 70%);
    pointer-events: none;
    animation: preloaderGlowPulse 2.4s ease-in-out infinite alternate;
}

.preloader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader-ring-wrapper {
    position: relative;
    width: 145px;
    height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-ring {
    position: absolute;
    border-radius: 50%;
}

.ring-outer {
    width: 100%;
    height: 100%;
    border: 2.5px solid transparent;
    border-top-color: #ffc107;
    border-right-color: rgba(255, 193, 7, 0.5);
    filter: drop-shadow(0 0 12px rgba(255, 193, 7, 0.65));
    animation: preloaderSpin 1.3s cubic-bezier(0.68, -0.15, 0.27, 1.15) infinite;
}

.ring-inner {
    width: 118px;
    height: 118px;
    border: 1.5px dashed rgba(255, 193, 7, 0.35);
    animation: preloaderSpinReverse 2.6s linear infinite;
}

.preloader-logo-box {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    width: 68px;
    height: auto;
    filter: drop-shadow(0 0 18px rgba(255, 193, 7, 0.45));
    animation: preloaderLogoPulse 1.8s ease-in-out infinite;
}

.preloader-brand {
    margin-top: 1.4rem;
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
}

.preloader-brand-title {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 5px;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.preloader-brand-sub {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffc107;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

@keyframes preloaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes preloaderSpinReverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes preloaderLogoPulse {
    0%, 100% {
        transform: scale(0.96);
        filter: drop-shadow(0 0 12px rgba(255, 193, 7, 0.35));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 22px rgba(255, 193, 7, 0.7));
    }
}

@keyframes preloaderGlowPulse {
    0% { transform: scale(0.85); opacity: 0.6; }
    100% { transform: scale(1.15); opacity: 1; }
}
