/* === style.css === */
/* ===================================
   HR Fiber - Professional Stylesheet
   =================================== */

/* Fix navbar covering content on mobile */
body {
    padding-top: 0;
}

/* Add padding to sections on mobile to prevent navbar overlap */
@media (max-width: 767px) {
    body {
        padding-top: 70px; /* Height of navbar */
    }
    
    .hero-slider:not(.hero-slider--banners) {
        margin-top: -70px; /* Compensate for body padding on hero */
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card Animations */
.animate-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.animate-card:nth-child(1) { animation-delay: 0.1s; }
.animate-card:nth-child(2) { animation-delay: 0.2s; }
.animate-card:nth-child(3) { animation-delay: 0.3s; }
.animate-card:nth-child(4) { animation-delay: 0.4s; }
.animate-card:nth-child(5) { animation-delay: 0.5s; }
.animate-card:nth-child(6) { animation-delay: 0.6s; }

/* Hover Effects */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(79, 0, 140, 0.2);
}

/* Section Animations */
.section-fade-in {
    animation: fadeInUp 1s ease-out;
}

/* Button Pulse Effect */
.btn-pulse {
    animation: pulse 2s infinite;
}

/* Floating Animation */
.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Gradient Background Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-animate {
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

/* Loading Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-spinner {
    animation: spin 1s linear infinite;
}

/* Smooth Transitions */
.smooth-transition {
    transition: all 0.3s ease-in-out;
}

/* Text Gradient Animation */
@keyframes textShine {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.text-gradient-animate {
    background: linear-gradient(90deg, #4f008c, #84cc16, #a855f7, #4f008c);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 3s linear infinite;
}

/* Ripple Effect */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple-effect:hover::after {
    width: 300px;
    height: 300px;
    opacity: 0;
}

/* Stagger Animation Class */
.stagger-animation > * {
    animation: fadeInUp 0.6s ease-out backwards;
}

.stagger-animation > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-animation > *:nth-child(6) { animation-delay: 0.6s; }
.stagger-animation > *:nth-child(7) { animation-delay: 0.7s; }
.stagger-animation > *:nth-child(8) { animation-delay: 0.8s; }

/* Custom HR Fiber Colors */
:root {
    --hr-primary: #4f008c;
    --hr-primary-light: #7c3aed;
    --hr-secondary: #84cc16;
    --hr-accent: #a855f7;
    --hr-dark: #1e0936;
    --hr-light: #f8fafc;
}

/* Glow Effect */
.glow-effect {
    box-shadow: 0 0 20px rgba(132, 204, 22, 0.5);
    transition: box-shadow 0.3s ease;
}

.glow-effect:hover {
    box-shadow: 0 0 30px rgba(132, 204, 22, 0.8);
}


/* === site-ui.css === */
/* HR Fiber - Global UI Refinements v5.6
   Unified brand palette for mobile + desktop cohesion */

:root {
    --hr-primary: #4f008c;
    --hr-primary-soft: #6b21a8;
    --hr-primary-light: #7c3aed;
    --hr-primary-muted: rgba(79, 0, 140, 0.08);
    --hr-primary-muted-strong: rgba(79, 0, 140, 0.14);
    --hr-secondary: #65a30d;
    --hr-secondary-soft: #84cc16;
    --hr-accent: #9333ea;
    --hr-dark: #1e0936;
    --hr-text: #1e293b;
    --hr-text-muted: #64748b;
    --hr-light: #f7f5fa;
    --hr-surface: #ffffff;
    --hr-border: rgba(79, 0, 140, 0.1);
    --hr-shadow: 0 8px 28px rgba(30, 9, 54, 0.08);
    --hr-shadow-soft: 0 2px 12px rgba(30, 9, 54, 0.06);
    --hr-radius: 1rem;
    --hr-radius-sm: 0.75rem;
    --hr-section-py: 4rem;
    --hr-fab-size: 52px;
    --hr-fab-gap: 12px;
    --hr-fab-edge: 14px;
    --hr-whatsapp: #128C7E;
    --hr-call: #1d4ed8;
}

.dark {
    --hr-light: #0f0a18;
    --hr-surface: #1a1228;
    --hr-text: #f1f5f9;
    --hr-text-muted: #94a3b8;
    --hr-border: rgba(168, 85, 247, 0.14);
    --hr-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    --hr-shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.25);
    --hr-primary-muted: rgba(168, 85, 247, 0.12);
    --hr-primary-muted-strong: rgba(168, 85, 247, 0.2);
}

body {
    line-height: 1.65;
    letter-spacing: 0.01em;
    background-color: var(--hr-light);
    color: var(--hr-text);
}

h1, h2, h3, h4 {
    letter-spacing: -0.01em;
    color: var(--hr-text);
}

/* Refined scrollbar */
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--hr-primary), var(--hr-primary-light));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--hr-secondary-soft);
}

/* Navigation polish */
nav.bg-white,
nav.dark\:bg-surface-dark {
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.94) !important;
    border-bottom: 1px solid var(--hr-border);
}

.dark nav.bg-white,
.dark nav.dark\:bg-surface-dark {
    background: rgba(26, 18, 40, 0.94) !important;
}

nav .container > div > div.hidden.md\:flex a:not([class*="bg-gradient"]) {
    position: relative;
    padding-bottom: 2px;
}

nav .container > div > div.hidden.md\:flex a:not([class*="bg-gradient"]):hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--hr-primary), var(--hr-secondary-soft));
    border-radius: 2px;
}

/* Section consistency */
.section-block {
    padding-top: var(--hr-section-py);
    padding-bottom: var(--hr-section-py);
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading .section-label {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--hr-primary-muted);
    color: var(--hr-primary);
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.75rem;
}

.dark .section-heading .section-label {
    color: #d8b4fe;
}

.section-heading h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--hr-text);
    margin-bottom: 0.75rem;
}

.section-heading p {
    color: var(--hr-text-muted);
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* Card hover consistency */
.pricing-card,
.card-hover {
    border-radius: 1.25rem;
    border: 1px solid var(--hr-border);
    background: var(--hr-surface);
    box-shadow: var(--hr-shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pricing-card:hover,
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--hr-shadow);
    border-color: rgba(79, 0, 140, 0.18);
}

/* Footer refinement */
footer {
    background: linear-gradient(180deg, #f3eef8 0%, #ebe4f4 100%) !important;
    border-top: 1px solid var(--hr-border) !important;
}

.dark footer {
    background: linear-gradient(180deg, #140c22 0%, #0a0612 100%) !important;
}

footer h4 {
    position: relative;
    padding-bottom: 0.5rem;
    color: var(--hr-primary) !important;
}

.dark footer h4 {
    color: #e9d5ff !important;
}

footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 2rem;
    height: 2px;
    background: var(--hr-secondary-soft);
    border-radius: 2px;
}

footer ul li a:hover {
    color: var(--hr-primary) !important;
    padding-right: 4px;
    transition: padding 0.2s;
}

footer .bg-yellow-100,
footer .dark\:bg-yellow-900\/20 {
    background: var(--hr-primary-muted) !important;
    color: var(--hr-text) !important;
    border: 1px solid var(--hr-border);
}

.dark footer .bg-yellow-100,
.dark footer .dark\:bg-yellow-900\/20 {
    color: #e9d5ff !important;
}

/* Nav speed test highlight */
.nav-speed-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    background: var(--hr-primary-muted);
    border: 1px solid var(--hr-border);
    border-radius: 9999px;
    font-weight: 700;
    color: var(--hr-primary) !important;
    transition: all 0.2s;
}

.nav-speed-link:hover {
    background: var(--hr-primary-muted-strong);
    transform: scale(1.03);
}

.dark .nav-speed-link {
    color: #d8b4fe !important;
}

/* Button gradient consistency */
.btn-primary-gradient {
    background: linear-gradient(135deg, var(--hr-primary) 0%, var(--hr-primary-soft) 100%);
    color: white;
    font-weight: 700;
    border-radius: var(--hr-radius);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 0, 140, 0.3);
}

/* Soften leftover glow effects */
.glow-effect {
    box-shadow: 0 8px 22px rgba(79, 0, 140, 0.22);
}

.glow-effect:hover {
    box-shadow: 0 10px 28px rgba(79, 0, 140, 0.32);
}

/* Soften loud utility gradients site-wide on mobile */
@media (max-width: 767px) {
    :root {
        --hr-section-py: 2.75rem;
        --hr-fab-size: 50px;
        --hr-fab-gap: 10px;
        --hr-fab-edge: 12px;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Prefer calmer card borders on small screens */
    .pricing-card,
    .feature-card,
    .testimonial-card {
        box-shadow: var(--hr-shadow-soft) !important;
    }
}


/* === whatsapp-button.css === */
/* WhatsApp Button Enhanced Styles */

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #1ea952 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.whatsapp-btn:hover::before {
    width: 300px;
    height: 300px;
}

.whatsapp-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:active {
    transform: translateY(0) scale(0.98);
}

.whatsapp-btn svg {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.whatsapp-btn span {
    position: relative;
    z-index: 1;
}

/* WhatsApp Icon Animation */
@keyframes whatsapp-ring {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-10deg);
    }
    20%, 40% {
        transform: rotate(10deg);
    }
}

.whatsapp-btn:hover svg {
    animation: whatsapp-ring 0.6s ease-in-out;
}

/* Floating WhatsApp Button Special Style */
.whatsapp-float {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}


/* === floating-button.css === */
/* ============================================
   HR Fiber — Floating Action Buttons
   Layout: 2 on the RIGHT | 2 on the LEFT
   ============================================ */

.fab-stack {
    position: fixed;
    z-index: 55;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: var(--hr-fab-gap, 12px);
    bottom: calc(var(--hr-fab-edge, 14px) + env(safe-area-inset-bottom, 0px));
    pointer-events: none;
}

.fab-stack > * {
    pointer-events: auto;
}

.fab-stack-right {
    right: var(--hr-fab-edge, 14px);
    left: auto;
}

.fab-stack-left {
    left: var(--hr-fab-edge, 14px);
    right: auto;
}

.fab {
    position: relative;
    width: var(--hr-fab-size, 52px);
    height: var(--hr-fab-size, 52px);
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(30, 9, 54, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.fab:hover,
.fab:focus-visible {
    transform: translateY(-3px) scale(1.06);
    outline: none;
}

.fab:active {
    transform: scale(0.96);
}

.fab .material-symbols-outlined {
    font-size: 24px;
    line-height: 1;
}

.fab svg {
    width: 24px;
    height: 24px;
}

/* RIGHT stack */
.fab-order {
    background: linear-gradient(145deg, #4f008c 0%, #6b21a8 100%);
    box-shadow: 0 8px 22px rgba(79, 0, 140, 0.35);
}

.fab-order:hover {
    box-shadow: 0 12px 28px rgba(79, 0, 140, 0.45);
}

.fab-search {
    background: linear-gradient(145deg, #5b21b6 0%, #7c3aed 100%);
    box-shadow: 0 8px 22px rgba(91, 33, 182, 0.32);
}

/* LEFT stack */
.fab-whatsapp {
    background: linear-gradient(145deg, #128C7E 0%, #25D366 100%);
    box-shadow: 0 8px 22px rgba(18, 140, 126, 0.35);
    animation: none;
}

.fab-call {
    background: linear-gradient(145deg, #1d4ed8 0%, #3b82f6 100%);
    box-shadow: 0 8px 22px rgba(29, 78, 216, 0.32);
}

.fab-badge {
    position: absolute;
    top: -4px;
    inset-inline-end: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 9999px;
    background: #dc2626;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 20px;
    text-align: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
}

.dark .fab-badge {
    border-color: #1a1228;
}

.fab-label {
    display: none;
}

/* Desktop: wider order chip + optional labels via title */
@media (min-width: 768px) {
    .fab-stack {
        bottom: 24px;
        gap: 14px;
    }

    .fab-stack-right {
        right: 24px;
    }

    .fab-stack-left {
        left: 24px;
    }

    .fab {
        width: 56px;
        height: 56px;
    }

    .fab .material-symbols-outlined {
        font-size: 26px;
    }

    .fab svg {
        width: 26px;
        height: 26px;
    }

    .fab-order {
        width: auto;
        min-width: 56px;
        height: 56px;
        padding: 0 18px;
        border-radius: 9999px;
        gap: 8px;
    }

    .fab-order .fab-label {
        display: inline;
        font-weight: 800;
        font-size: 0.95rem;
        white-space: nowrap;
    }
}

/* Hide FABs while mobile menu open so they don't clash */
body.menu-open .fab-stack {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* Legacy class hooks (safety if referenced elsewhere) */
.floating-order-btn,
.call-float,
.whatsapp-float {
    /* replaced by .fab-stack system */
}

@media (max-width: 640px) {
    .floating-order-btn,
    .call-float.fixed,
    .whatsapp-float.fixed {
        display: none !important;
    }
}


/* === mobile-menu.css === */
/* ===================================
   Mobile Menu Styles - HR Fiber v5.6
   Clean, cohesive brand palette
   =================================== */

#mobileMenuBtn {
    -webkit-tap-highlight-color: rgba(79, 0, 140, 0.12);
    touch-action: manipulation;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mobileMenu {
    max-height: 100vh;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #faf7fd !important;
    box-shadow: 8px 0 32px rgba(30, 9, 54, 0.14);
}

.dark #mobileMenu {
    background: #140c22 !important;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.45);
}

#mobileMenu .mm-panel {
    padding: 1.1rem 1rem 1.5rem;
}

#mobileMenu .mm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(79, 0, 140, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
    background: inherit;
}

.dark #mobileMenu .mm-header {
    border-bottom-color: rgba(168, 85, 247, 0.16);
}

#mobileMenu .mm-brand-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #4f008c, #6b21a8);
    color: #fff;
    flex-shrink: 0;
}

#mobileMenu .mm-brand-title {
    font-weight: 800;
    font-size: 1.15rem;
    color: #4f008c;
    line-height: 1.1;
}

.dark #mobileMenu .mm-brand-title {
    color: #e9d5ff;
}

#mobileMenu .mm-brand-sub {
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 0.15rem;
}

#mobileMenu .mm-close {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 0, 140, 0.08);
    color: #4f008c;
    border: none;
}

.dark #mobileMenu .mm-close {
    background: rgba(168, 85, 247, 0.14);
    color: #e9d5ff;
}

#mobileMenu .mm-nav {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

#mobileMenu .mm-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0.95rem;
    border-radius: 0.9rem;
    background: #ffffff;
    border: 1px solid rgba(79, 0, 140, 0.08);
    color: #1e293b;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(30, 9, 54, 0.04);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    min-height: 48px;
}

#mobileMenu .mm-link:active {
    transform: scale(0.985);
}

#mobileMenu .mm-link:hover {
    background: rgba(79, 0, 140, 0.05);
    border-color: rgba(79, 0, 140, 0.18);
}

.dark #mobileMenu .mm-link {
    background: rgba(30, 20, 48, 0.9);
    border-color: rgba(168, 85, 247, 0.12);
    color: #f1f5f9;
}

.dark #mobileMenu .mm-link:hover {
    background: rgba(79, 0, 140, 0.22);
}

#mobileMenu .mm-icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(79, 0, 140, 0.1);
    color: #4f008c;
}

#mobileMenu .mm-icon .material-symbols-outlined {
    font-size: 1.25rem;
}

.dark #mobileMenu .mm-icon {
    background: rgba(168, 85, 247, 0.16);
    color: #e9d5ff;
}

/* Company group — one card, brand accents only on small chips */
#mobileMenu .mm-companies {
    background: #ffffff;
    border: 1px solid rgba(79, 0, 140, 0.08);
    border-radius: 0.9rem;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(30, 9, 54, 0.04);
}

.dark #mobileMenu .mm-companies {
    background: rgba(30, 20, 48, 0.9);
    border-color: rgba(168, 85, 247, 0.12);
}

#mobileMenu .mm-companies-title {
    padding: 0.55rem 0.95rem;
    font-size: 0.7rem;
    font-weight: 800;
    color: #64748b;
    background: rgba(79, 0, 140, 0.04);
    letter-spacing: 0.04em;
}

.dark #mobileMenu .mm-companies-title {
    background: rgba(168, 85, 247, 0.08);
    color: #a78bfa;
}

#mobileMenu .mm-company {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem 0.95rem;
    color: #1e293b;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    border-top: 1px solid rgba(79, 0, 140, 0.06);
}

.dark #mobileMenu .mm-company {
    color: #f1f5f9;
    border-top-color: rgba(168, 85, 247, 0.1);
}

#mobileMenu .mm-company:hover {
    background: rgba(79, 0, 140, 0.04);
}

#mobileMenu .mm-chip {
    width: 2rem;
    height: 2rem;
    border-radius: 0.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

#mobileMenu .mm-chip .material-symbols-outlined {
    font-size: 1rem;
}

#mobileMenu .mm-chip-stc { background: #4f008c; }
#mobileMenu .mm-chip-salam { background: #059669; }
#mobileMenu .mm-chip-zain { background: #e11d48; }
#mobileMenu .mm-chip-mobily { background: #2563eb; }

#mobileMenu .mm-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 0.85rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #4f008c 0%, #6b21a8 100%);
    color: #fff !important;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(79, 0, 140, 0.28);
    position: relative;
}

#mobileMenu .mm-cta-badge {
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    background: #dc2626;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.15rem 0.45rem;
    border-radius: 0 1rem 0 0.55rem;
}

#mobileMenu .mm-contact {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(79, 0, 140, 0.1);
}

#mobileMenu .mm-contact-label {
    text-align: center;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.65rem;
}

#mobileMenu .mm-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}

#mobileMenu .mm-contact-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.85rem 0.5rem;
    border-radius: 0.85rem;
    color: #fff;
    font-weight: 800;
    font-size: 0.75rem;
    text-decoration: none;
}

#mobileMenu .mm-contact-call {
    background: linear-gradient(145deg, #1d4ed8, #3b82f6);
}

#mobileMenu .mm-contact-wa {
    background: linear-gradient(145deg, #128C7E, #25D366);
}

#mobileMenuOverlay {
    backdrop-filter: blur(3px);
    background: rgba(30, 9, 54, 0.45) !important;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

#mobileMenu::-webkit-scrollbar {
    width: 4px;
}

#mobileMenu::-webkit-scrollbar-thumb {
    background: rgba(79, 0, 140, 0.35);
    border-radius: 8px;
}

@supports (padding: max(0px)) {
    #mobileMenu {
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }
}

/* Reduce old animation noise */
#mobileMenu nav a {
    animation: none !important;
}


/* === hero-slider.css === */
/* ========================================
   Hero Slider - Professional Animations
   ======================================== */

/* Hero Slider Container */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

/* Image-forward banners — full clarity, no wash / overlay */
.hero-slider--banners {
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: min(560px, 68vh);
    background: #0f0f12;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.hero-slider--banners .hero-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    border: 0;
    /* Kill any inherited wash / glass / dim effects */
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
    mix-blend-mode: normal !important;
    image-rendering: auto;
    pointer-events: none;
    animation: none !important;
}

.hero-slider--banners .hero-slide-bg,
.hero-slider--banners .hero-slide-overlay,
.hero-slider--banners .hero-slide-overlay--light {
    display: none !important;
}

.hero-slider--banners .hero-slide {
    background: #0f0f12;
}

.hero-cta-strip {
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding: 0.85rem 0 1.15rem;
    background: linear-gradient(180deg, #f7f3fb 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(79, 0, 140, 0.08);
}

.hero-slider--banners .hero-controls {
    bottom: 10px;
}

.hero-slider .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Slide Item */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 2s ease-in-out, visibility 2s ease-in-out;
}

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

.hero-slide.prev {
    z-index: 0;
}

/* Slide Background */
.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    animation: kenburns 20s ease-in-out infinite alternate;
}

/* Ken Burns Effect (Zoom Animation) */
@keyframes kenburns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Slide Content Animation */
.hero-slide-content {
    position: relative;
    z-index: 2;
}

.hero-slide.active .hero-slide-content h1,
.hero-slide.active .hero-slide-content p,
.hero-slide.active .hero-slide-content .hero-buttons,
.hero-slide.active .hero-slide-card {
    opacity: 1;
    transform: none;
    animation: none;
}

/* Slide Content Animation (subsequent slides only — JS adds .hero-animate) */
.hero-slide.hero-animate.active .hero-slide-content h1 {
    animation: slideInFromLeft 1s ease-out 0.3s both;
}

.hero-slide.hero-animate.active .hero-slide-content p {
    animation: slideInFromLeft 1s ease-out 0.6s both;
}

.hero-slide.hero-animate.active .hero-slide-content .hero-buttons {
    animation: slideInFromBottom 1s ease-out 0.9s both;
}

.hero-slide.hero-animate.active .hero-slide-card {
    animation: slideInFromRight 1.2s ease-out 0.5s both;
}

/* Slide Animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slider Controls */
.hero-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.hero-dot.active {
    background: white;
    width: 40px;
    border-radius: 6px;
}

.hero-dot.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 2px;
    background: #84cc16;
    transform: translateY(-50%);
    animation: dotProgress 5s linear;
}

@keyframes dotProgress {
    to {
        width: 100%;
    }
}

/* Navigation Arrows - HIDDEN */
.hero-nav {
    display: none; /* مخفي تماماً */
}

/* Slide Overlay */
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(79, 0, 140, 0.9) 0%,
        rgba(79, 0, 140, 0.7) 50%,
        rgba(168, 85, 247, 0.4) 100%
    );
    z-index: 1;
}

/* Light bottom fade only — keeps banner art and Arabic text readable */
.hero-slide-overlay--light {
    background: linear-gradient(
        to top,
        rgba(26, 10, 46, 0.72) 0%,
        rgba(26, 10, 46, 0.28) 28%,
        rgba(26, 10, 46, 0) 55%
    );
    pointer-events: none;
}

/* Floating Elements Animation */
.hero-floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float-random 20s ease-in-out infinite;
}

.hero-floating-element:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero-floating-element:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.hero-floating-element:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: -10s;
}

@keyframes float-random {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translate(20px, -30px) rotate(90deg);
        opacity: 0.5;
    }
    50% {
        transform: translate(-15px, -50px) rotate(180deg);
        opacity: 0.3;
    }
    75% {
        transform: translate(30px, -20px) rotate(270deg);
        opacity: 0.6;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider {
        height: 650px; /* زيادة الارتفاع على الموبايل */
    }

    .hero-slider--banners {
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 9;
        max-height: none;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .hero-slider--banners .hero-controls {
        bottom: 8px;
    }

    .hero-cta-strip {
        padding: 0.7rem 0 1rem;
    }
    
    .hero-nav {
        width: 40px;
        height: 40px;
    }
    
    .hero-controls {
        bottom: 20px;
    }

    .hero-slider--banners .hero-controls {
        bottom: 8px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .hero-slider {
        height: 600px; /* ارتفاع للشاشات الصغيرة جداً */
    }

    .hero-slider--banners {
        height: auto !important;
        aspect-ratio: 16 / 9;
        margin-top: 0 !important;
    }
}

/* Pause on Hover */
.hero-slider:hover .hero-slide-bg {
    animation-play-state: paused;
}

/* Text Gradient Animation */
.hero-gradient-text {
    background: linear-gradient(
        90deg,
        #fff 0%,
        #84cc16 25%,
        #a855f7 50%,
        #84cc16 75%,
        #fff 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradientFlow 3s linear infinite;
}

@keyframes textGradientFlow {
    to {
        background-position: 200% center;
    }
}

/* Loading Animation */
.hero-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
    z-index: 20;
}

.hero-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #84cc16;
    animation: loadingBar 5s linear infinite;
}

@keyframes loadingBar {
    to {
        width: 100%;
    }
}


/* === mobile-hero-fix.css === */
/* ===================================
   Mobile Hero Fixes - HR Fiber
   =================================== */

/* Hero height optimization */
@media (max-width: 640px) {
    .hero-slider {
        height: 550px !important;
        min-height: 550px;
    }

    .hero-slider.hero-slider--banners {
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 9;
        max-height: none;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .hero-slider--banners .hero-slide-img {
        filter: none !important;
        opacity: 1 !important;
    }
}

/* Hero content optimization for mobile */
@media (max-width: 768px) {
    .hero-slide-content {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    /* Text sizes for all slides */
    .hero-slide-content h1 {
        font-size: 1.875rem !important; /* text-3xl */
        line-height: 1.2 !important;
        margin-bottom: 1rem;
    }
    
    .hero-slide-content p {
        font-size: 1rem !important; /* text-base */
        line-height: 1.5 !important;
        margin-bottom: 0.75rem;
    }
    
    /* Spacing */
    .hero-slide-content > div:first-child {
        gap: 1rem !important; /* space-y-4 */
    }
    
    /* Buttons container */
    .hero-buttons {
        gap: 0.5rem !important;
        padding-top: 0.5rem !important;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    /* Button styles for all hero buttons */
    .hero-buttons a {
        padding: 0.625rem 1rem !important; /* py-2.5 px-4 */
        font-size: 0.875rem !important; /* text-sm */
        border-radius: 0.5rem !important; /* rounded-lg */
        gap: 0.375rem !important;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .hero-buttons a span.material-symbols-outlined {
        font-size: 1.125rem !important; /* text-lg */
    }
    
    /* Make some buttons full width on small screens */
    .hero-buttons a:first-child {
        flex: 1 1 100%;
        min-width: 100%;
        justify-content: center;
    }
    
    /* Grid adjustments */
    .hero-slide-content.grid {
        gap: 2rem !important; /* gap-8 */
    }
}

/* Extra small screens */
@media (max-width: 375px) {
    .hero-slider {
        height: 500px !important;
    }
    
    .hero-slide-content h1 {
        font-size: 1.5rem !important; /* text-2xl */
    }
    
    .hero-buttons a {
        padding: 0.5rem 0.875rem !important;
        font-size: 0.8125rem !important;
    }
}

/* Container padding adjustments */
@media (max-width: 768px) {
    .hero-slider .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Gradient text optimization */
@media (max-width: 768px) {
    .hero-gradient-text {
        display: inline-block;
        font-size: inherit;
    }
}

/* Remove extra margins on mobile */
@media (max-width: 768px) {
    .hero-slide {
        overflow: hidden;
    }
    
    .hero-slide-overlay {
        background: rgba(0, 0, 0, 0.5);
    }
}

/* Better button layout on small screens */
@media (max-width: 640px) {
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.5rem !important;
        width: 100%;
    }
    
    .hero-buttons a {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem !important;
        flex: none !important;
        min-width: auto !important;
    }
}

/* Improve text readability on mobile */
@media (max-width: 768px) {
    .hero-slide-content h1 {
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    }
    
    .hero-slide-content p {
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    }
}

/* Optimize space usage */
@media (max-width: 768px) {
    .hero-slide .hero-slide-content > div {
        max-width: 100%;
    }
}

/* Better vertical alignment */
@media (max-width: 768px) {
    .hero-slide-content {
        align-items: flex-start !important;
    }
    
    .hero-slide-content > div:first-child {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        padding-top: 2rem;
    }
}

/* Fix for dots navigation on mobile */
@media (max-width: 768px) {
    .hero-controls {
        bottom: 1rem !important;
    }
    
    .hero-dot {
        width: 8px !important;
        height: 8px !important;
    }
}

/* Ensure buttons are clickable */
.hero-buttons a {
    position: relative;
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
}

/* Make sure overlay doesn't block buttons */
.hero-slide-overlay {
    pointer-events: none;
}

/* Ensure content is above overlay */
.hero-slide-content {
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

/* Button hover states - استجابة فورية */
.hero-buttons a {
    transition: transform 0.1s ease !important; /* استجابة سريعة جداً */
}

.hero-buttons a:hover {
    transform: scale(1.05);
}

.hero-buttons a:active {
    transform: scale(0.98);
    transition: transform 0.05s ease !important; /* استجابة فورية عند الضغط */
}

/* Make sure all interactive elements work */
.hero-slide .container {
    position: relative;
    z-index: 10;
}

/* Prevent click blocking on mobile */
@media (max-width: 768px) {
    .hero-buttons a {
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
        touch-action: manipulation;
    }
}


/* === hero-buttons-fast.css === */
/* ===================================
   Hero Buttons Fast Response
   =================================== */

/* استجابة فورية للأزرار */
.hero-buttons a {
    transition: transform 0.08s ease, opacity 0.08s ease !important;
    will-change: transform;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
    touch-action: manipulation;
}

/* إزالة أي delay */
.hero-buttons a * {
    pointer-events: none; /* النقر يذهب مباشرة للرابط */
}

/* Hover سريع */
.hero-buttons a:hover {
    transform: scale(1.03);
    transition: transform 0.08s ease !important;
}

/* Active/Click فوري */
.hero-buttons a:active {
    transform: scale(0.97);
    transition: transform 0.05s ease !important;
    opacity: 0.9;
}

/* إزالة animation delays */
.hero-buttons {
    animation: none !important;
}

/* تسريع ظهور الأزرار */
.hero-slide.active .hero-buttons {
    animation: fadeInFast 0.4s ease-out both !important;
}

@keyframes fadeInFast {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* على الموبايل - استجابة فورية */
@media (max-width: 768px) {
    .hero-buttons a {
        transition: transform 0.05s ease, opacity 0.05s ease !important;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
    }
    
    .hero-buttons a:active {
        transform: scale(0.95);
        opacity: 0.85;
        transition: none !important; /* إزالة transition تماماً للاستجابة الفورية */
    }
}

/* تحسين الأداء */
.hero-buttons a {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* إزالة أي تأخير من glow effect */
.glow-effect {
    animation-duration: 1s !important;
}


/* === scroll-animations.css === */
/* ========================================
   Scroll Animations - Professional & Smooth
   أنيميشن احترافية عند السكرول
   ======================================== */

/* Base Animation Class */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Card Specific Animations */
.scroll-animate-card {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-animate-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger Effect - تأخير متدرج */
.scroll-animate:nth-child(1) { transition-delay: 0.1s; }
.scroll-animate:nth-child(2) { transition-delay: 0.2s; }
.scroll-animate:nth-child(3) { transition-delay: 0.3s; }
.scroll-animate:nth-child(4) { transition-delay: 0.4s; }
.scroll-animate:nth-child(5) { transition-delay: 0.5s; }
.scroll-animate:nth-child(6) { transition-delay: 0.6s; }
.scroll-animate:nth-child(7) { transition-delay: 0.7s; }
.scroll-animate:nth-child(8) { transition-delay: 0.8s; }

/* Fade In from Left */
.scroll-fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.scroll-fade-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Fade In from Right */
.scroll-fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.scroll-fade-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Fade In from Bottom (Simple) */
.scroll-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease-out;
}

.scroll-fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Scale In Animation */
.scroll-scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-scale-in.active {
    opacity: 1;
    transform: scale(1);
}

/* Rotate & Fade In */
.scroll-rotate-in {
    opacity: 0;
    transform: rotate(-5deg) scale(0.95);
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-rotate-in.active {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Blur to Clear Animation */
.scroll-blur-in {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.scroll-blur-in.active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Package Cards - Special Animation */
.package-card-animate {
    opacity: 0;
    transform: translateY(60px) rotateX(20deg) scale(0.95);
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, opacity;
}

.package-card-animate.active {
    opacity: 1;
    transform: translateY(0) rotateX(0) scale(1);
}

/* إضافة تأثير عند الخروج من Viewport */
.package-card-animate:not(.active) {
    pointer-events: none;
}

/* Featured Card - Extra Special */
.featured-card-animate {
    opacity: 0;
    transform: translateY(80px) scale(0.9) rotateX(15deg);
    box-shadow: 0 0 0 rgba(79, 0, 140, 0);
    transition: all 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, opacity, box-shadow;
}

.featured-card-animate.active {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0);
    box-shadow: 0 20px 60px rgba(79, 0, 140, 0.3);
}

/* تأثير إضافي عند الظهور */
.featured-card-animate.active::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #84cc16, #a855f7);
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.2; }
}

/* Section Headings Animation */
.section-heading-animate {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.6s ease-out;
}

.section-heading-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Icon Animation */
.icon-animate {
    opacity: 0;
    transform: scale(0) rotate(180deg);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.icon-animate.active {
    opacity: 1;
    transform: scale(1) rotate(0);
}

/* Progress Bar Animation */
.progress-animate {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: all 0.8s ease-out;
}

.progress-animate.active {
    opacity: 1;
    transform: scaleX(1);
}

/* Counter Animation Ready */
.counter-ready {
    font-variant-numeric: tabular-nums;
}

/* Testimonial Cards */
.testimonial-animate {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.7s ease-out;
}

.testimonial-animate.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Feature Items */
.feature-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease-out;
}

.feature-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Wave Animation */
@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.scroll-animate.active .wave-on-scroll {
    animation: wave 2s ease-in-out infinite;
}

/* Glow on Scroll */
.glow-on-scroll {
    transition: all 0.6s ease-out;
}

.glow-on-scroll.active {
    box-shadow: 0 0 30px rgba(132, 204, 22, 0.3);
}

/* Text Reveal Animation */
.text-reveal {
    position: relative;
    overflow: hidden;
}

.text-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    transform: translateX(-100%);
    transition: transform 0.8s;
}

.text-reveal.active::before {
    transform: translateX(100%);
}

/* Smooth Entry for All Elements */
.smooth-entry {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.smooth-entry.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .scroll-animate,
    .scroll-animate-card,
    .package-card-animate {
        transform: translateY(30px);
    }
    
    .scroll-fade-left,
    .scroll-fade-right {
        transform: translateY(30px);
    }
    
    .scroll-animate:nth-child(n) {
        transition-delay: 0.1s;
    }
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    .scroll-animate,
    .scroll-animate-card,
    .scroll-fade-left,
    .scroll-fade-right,
    .scroll-fade-up,
    .scroll-scale-in,
    .scroll-rotate-in,
    .scroll-blur-in,
    .package-card-animate,
    .featured-card-animate {
        transition: opacity 0.3s ease-out;
        transform: none;
    }
}

/* Prevent Flash of Unstyled Content */
.no-js .scroll-animate,
.no-js .scroll-animate-card {
    opacity: 1;
    transform: none;
}


/* === transparent-navbar.css === */
/* ========================================
   Transparent Navbar على الصفحة الرئيسية
   ======================================== */

/* Navbar شفاف في الأعلى */
nav {
    background: rgba(79, 0, 140, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* عندما يسكرول المستخدم للأسفل */
nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Dark mode - شفاف في الأعلى */
.dark nav {
    background: transparent;
}

.dark nav.scrolled {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* تحسين النصوص للظهور على خلفية شفافة */
nav:not(.scrolled) .text-gray-600 {
    color: rgba(255, 255, 255, 1) !important;
    font-weight: 500;
}

nav:not(.scrolled) .text-gray-500 {
    color: rgba(255, 255, 255, 0.85) !important;
}

nav:not(.scrolled) .hover\:text-primary:hover {
    color: #84cc16 !important;
    text-shadow: 0 0 10px rgba(132, 204, 22, 0.5);
}

/* Logo في الأعلى */
nav:not(.scrolled) .text-primary {
    color: white !important;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

nav:not(.scrolled) .text-xs {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Dark mode toggle button */
nav:not(.scrolled) button {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

nav:not(.scrolled) button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

/* Material Icons في الأعلى */
nav:not(.scrolled) .material-symbols-outlined {
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Smooth Animation */
nav * {
    transition: color 0.3s ease, background 0.3s ease, text-shadow 0.3s ease;
}

/* Enhanced shadow on scroll */
nav.scrolled {
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.08);
}

.dark nav.scrolled {
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Logo transition */
nav .font-bold {
    transition: all 0.3s ease;
}

nav:not(.scrolled) .font-bold {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Mobile menu improvements */
@media (max-width: 768px) {
    nav:not(.scrolled) {
        background: rgba(79, 0, 140, 0.8);
        backdrop-filter: blur(10px);
    }
    
    /* Mobile menu button */
    nav #mobileMenuBtn {
        position: relative;
        z-index: 9999;
    }
    
    nav:not(.scrolled) #mobileMenuBtn {
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
    }
    
    nav:not(.scrolled) #mobileMenuBtn .material-symbols-outlined {
        color: white;
        font-weight: 600;
    }
}

/* Enhance visibility with gradient */
nav:not(.scrolled)::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(79, 0, 140, 0.6) 0%,
        rgba(79, 0, 140, 0.3) 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: -1;
}

nav.scrolled::before {
    display: none;
}

/* Shine effect on logo */
nav:not(.scrolled) .font-bold {
    position: relative;
    overflow: hidden;
}

nav:not(.scrolled) .font-bold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    to {
        left: 100%;
    }
}


/* === navbar-hero-harmony.css === */
/* ========================================
   تناسق بين Navbar و Hero Slider
   Navbar & Hero Harmony
   ======================================== */

/* تحسين التناسق اللوني */
nav:not(.scrolled) {
    /* Glassmorphism effect */
    background: linear-gradient(
        180deg,
        rgba(79, 0, 140, 0.15) 0%,
        rgba(79, 0, 140, 0.08) 100%
    );
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Hero Slider integration (classic text slides only — banners stay clear below nav) */
.hero-slider:not(.hero-slider--banners) {
    margin-top: -80px; /* Pull hero up under navbar */
    padding-top: 80px; /* Add padding to compensate */
}

/* Better gradient for hero (skip image-forward banners) */
.hero-slider:not(.hero-slider--banners) .hero-slide-overlay {
    background: linear-gradient(
        135deg,
        rgba(79, 0, 140, 0.95) 0%,
        rgba(79, 0, 140, 0.85) 30%,
        rgba(46, 16, 101, 0.8) 60%,
        rgba(168, 85, 247, 0.5) 100%
    ) !important;
}

/* Enhanced navbar on dark hero */
nav:not(.scrolled) {
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

/* Links glow effect */
nav:not(.scrolled) a {
    transition: all 0.3s ease;
}

nav:not(.scrolled) a:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 8px rgba(132, 204, 22, 0.4));
}

/* Logo icon enhancement */
nav:not(.scrolled) .material-symbols-outlined {
    filter: drop-shadow(0 0 10px rgba(132, 204, 22, 0.6));
}

/* Perfect color harmony */
:root {
    --navbar-blur: blur(15px);
    --navbar-transparency: rgba(79, 0, 140, 0.12);
    --hero-primary: rgba(79, 0, 140, 0.95);
}

/* Smooth transition between states */
nav {
    transition: 
        background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced scrolled state */
nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 2px 20px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.06);
}

/* Dark mode harmony */
.dark nav:not(.scrolled) {
    background: linear-gradient(
        180deg,
        rgba(30, 41, 59, 0.4) 0%,
        rgba(15, 23, 42, 0.3) 100%
    );
}

.dark nav.scrolled {
    background: rgba(30, 41, 59, 0.98);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    nav:not(.scrolled) {
        background: linear-gradient(
            180deg,
            rgba(79, 0, 140, 0.9) 0%,
            rgba(79, 0, 140, 0.85) 100%
        );
        backdrop-filter: blur(10px);
    }
    
    .hero-slider:not(.hero-slider--banners) {
        margin-top: -70px;
        padding-top: 70px;
    }
}

/* Loading animation enhancement */
.hero-loading {
    background: rgba(132, 204, 22, 0.2) !important;
}

.hero-loading::after {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(132, 204, 22, 0.8),
        #84cc16
    ) !important;
}

/* Dots harmony with navbar */
.hero-dot {
    border-color: rgba(255, 255, 255, 0.8);
}

.hero-dot.active {
    background: #84cc16;
    box-shadow: 0 0 15px rgba(132, 204, 22, 0.6);
}

/* Better contrast for content */
nav:not(.scrolled) .flex.items-center.gap-2 {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

/* Improve readability */
nav:not(.scrolled) {
    font-weight: 500;
    letter-spacing: 0.01em;
}


/* === cards-animation.css === */
/**
 * Cards Animation CSS
 * أنيميشن ظهور الكروت
 */

/* إخفاء الكروت في البداية */
.package-card {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

/* عند الظهور */
.package-card.animate-in {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* تأخير تدريجي للكروت - يعمل مع أي container */
.package-card:nth-of-type(1) {
    transition-delay: 0s;
}

.package-card:nth-of-type(2) {
    transition-delay: 0.1s;
}

.package-card:nth-of-type(3) {
    transition-delay: 0.2s;
}

.package-card:nth-of-type(4) {
    transition-delay: 0.3s;
}

.package-card:nth-of-type(5) {
    transition-delay: 0.4s;
}

.package-card:nth-of-type(6) {
    transition-delay: 0.5s;
}

.package-card:nth-of-type(n+7) {
    transition-delay: 0.6s;
}

/* تأثير hover محسّن - يعمل فقط بعد الظهور */
.package-card.animate-in:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(79, 0, 140, 0.15) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* أنيميشن fade-in من الجوانب */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* تأثيرات بديلة */
.animate-fade-up {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-left {
    animation: fadeInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-right {
    animation: fadeInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-scale {
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* تأثير متموج للبطاقات */
@keyframes ripple {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

.package-card.animate-in:hover {
    animation: ripple 0.5s ease;
}

/* تأثير للبطاقة المميزة */
.featured-card {
    position: relative;
    overflow: hidden;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(132, 204, 22, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* تأثير للأيقونات داخل الكروت */
.package-card .material-symbols-outlined {
    transition: all 0.3s ease;
}

.package-card:hover .material-symbols-outlined {
    transform: scale(1.1) rotate(5deg);
    color: var(--secondary-color, #84cc16);
}

/* تأثير للأزرار */
.package-card button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.package-card button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.package-card button:hover::before {
    width: 300px;
    height: 300px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .package-card {
        transform: translateY(30px) scale(0.95) !important;
    }
    
    .package-card.animate-in {
        transform: translateY(0) scale(1) !important;
    }
    
    .package-card.animate-in:hover {
        transform: translateY(-4px) scale(1.01) !important;
    }
    
    /* تقليل التأخير في الموبايل */
    .package-card:nth-of-type(1) {
        transition-delay: 0s !important;
    }
    
    .package-card:nth-of-type(2) {
        transition-delay: 0.05s !important;
    }
    
    .package-card:nth-of-type(3) {
        transition-delay: 0.1s !important;
    }
    
    .package-card:nth-of-type(n+4) {
        transition-delay: 0.15s !important;
    }
}

/* تأثير pulse للأسعار */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.package-card.animate-in .price,
.package-card.animate-in [class*="text-4xl"][class*="font-bold"] {
    animation: pulse 2s ease infinite;
}

/* إيقاف الـ pulse عند الـ hover */
.package-card.animate-in:hover .price,
.package-card.animate-in:hover [class*="text-4xl"][class*="font-bold"] {
    animation: none;
}

/* تحسينات إضافية لضمان الظهور */
.package-card.animate-in {
    pointer-events: auto;
}

/* إصلاح للكروت في grid */
.package-card {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


/* === reviews.css === */
/* HR Fiber - Customer Reviews Marquee */

.reviews-section {
    padding: 4rem 0;
    overflow: hidden;
    position: relative;
}

.reviews-section--compact {
    background: linear-gradient(180deg, rgba(79, 0, 140, 0.04) 0%, rgba(132, 204, 22, 0.04) 100%);
}

.dark .reviews-section--compact {
    background: linear-gradient(180deg, rgba(79, 0, 140, 0.12) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.reviews-section--full {
    background: linear-gradient(135deg, #1e0936 0%, #4f008c 50%, #2e1065 100%);
    color: white;
}

.reviews-section--full .section-heading h2,
.reviews-section--full .section-heading p {
    color: white;
}

.reviews-section--full .section-heading p {
    opacity: 0.85;
}

.reviews-section--full .section-label {
    background: rgba(255, 255, 255, 0.15);
    color: #d9f99d;
}

.reviews-section-inner {
    max-width: 100%;
}

.reviews-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.reviews-stat {
    text-align: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    backdrop-filter: blur(8px);
    min-width: 120px;
}

.reviews-stat strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: #d9f99d;
    line-height: 1.2;
}

.reviews-stat span {
    font-size: 0.8rem;
    opacity: 0.85;
}

/* Marquee container with fade edges */
.reviews-marquee-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.reviews-marquee {
    overflow: hidden;
    width: 100%;
}

.reviews-marquee:hover .reviews-track {
    animation-play-state: paused;
}

.reviews-track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    will-change: transform;
}

/* Row 1: moves right (in RTL visual flow) */
.reviews-marquee--right .reviews-track {
    animation: review-scroll-right 45s linear infinite;
}

/* Row 2: moves left — opposite direction, different speed */
.reviews-marquee--left .reviews-track {
    animation: review-scroll-left 38s linear infinite;
}

/* Row 3: slower, slight different timing */
.reviews-marquee--slow .reviews-track {
    animation: review-scroll-right 55s linear infinite;
}

@keyframes review-scroll-right {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

@keyframes review-scroll-left {
    0% { transform: translateX(50%); }
    100% { transform: translateX(0); }
}

/* Review card */
.review-card {
    flex: 0 0 auto;
    width: 340px;
    max-width: 85vw;
    background: white;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(30, 9, 54, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dark .review-card {
    background: #1e293b;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.reviews-section--full .review-card {
    background: rgba(255, 255, 255, 0.97);
}

.review-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 40px rgba(79, 0, 140, 0.15);
    z-index: 2;
}

.review-card-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 0.75rem;
}

.review-card-stars .material-symbols-outlined {
    font-size: 1.1rem;
}

.review-card-stars .star-filled {
    color: #facc15;
    font-variation-settings: 'FILL' 1;
}

.review-card-stars .star-empty {
    color: #d1d5db;
}

.review-card-text {
    font-size: 0.9rem;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 1.25rem;
    min-height: 4.5rem;
}

.dark .review-card-text {
    color: #cbd5e1;
}

.review-card-footer {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.review-avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.review-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.review-card-meta strong {
    font-size: 0.9rem;
    color: #1e293b;
    font-weight: 700;
}

.dark .review-card-meta strong {
    color: white;
}

.review-card-meta > span:not(.review-company-badge) {
    font-size: 0.75rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-company-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    width: fit-content;
    margin-top: 0.15rem;
}

/* Stagger offset for visual variety */
.reviews-marquee--left {
    transform: translateX(-3%);
}

.reviews-marquee--slow {
    transform: translateX(2%);
}

@media (max-width: 640px) {
    .review-card {
        width: 300px;
        padding: 1.25rem;
    }

    .reviews-marquee-wrap {
        mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
    }

    .reviews-marquee--right .reviews-track {
        animation-duration: 35s;
    }

    .reviews-marquee--left .reviews-track {
        animation-duration: 30s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reviews-track {
        animation: none !important;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
    }

    .reviews-marquee {
        overflow: visible;
    }

    .reviews-marquee-wrap {
        mask-image: none;
        -webkit-mask-image: none;
    }

    .reviews-marquee--left,
    .reviews-marquee--slow {
        transform: none;
    }
}

/* Secret admin entry from reviews title */
.reviews-admin-trigger {
    background: none;
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    line-height: 1.2;
    padding: 0;
}

.reviews-admin-trigger:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 6px;
    border-radius: 8px;
}

.reviews-pin-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.reviews-pin-modal.hidden,
.reviews-pin-modal[hidden] {
    display: none !important;
}

.reviews-pin-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 10, 30, 0.72);
}

.reviews-pin-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 22rem;
    background: #fff;
    color: #111827;
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem 1.5rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.dark .reviews-pin-card {
    background: #1e293b;
    color: #f8fafc;
}

.reviews-pin-close {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: rgba(79, 0, 140, 0.08);
    color: #4f008c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.reviews-pin-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 0.85rem;
    border-radius: 1rem;
    background: rgba(79, 0, 140, 0.1);
    color: #4f008c;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-pin-icon .material-symbols-outlined {
    font-size: 1.85rem;
}

.reviews-pin-card h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.reviews-pin-card > p {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.15rem;
}

.dark .reviews-pin-card > p {
    color: #94a3b8;
}

.reviews-pin-form {
    display: grid;
    gap: 0.75rem;
}

.reviews-pin-form input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.35em;
    background: #f9fafb;
}

.dark .reviews-pin-form input {
    background: #0f172a;
    border-color: #334155;
    color: #f8fafc;
}

.reviews-pin-form button {
    width: 100%;
    border: 0;
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
    background: #4f008c;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.reviews-pin-form button:hover {
    background: #3b006a;
}

.reviews-pin-modal .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

