/* === 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;
}


/* === 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;
}


/* === 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;
}

