/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    color: #333;
    direction: rtl;
    overflow-x: hidden; /* Prevent horizontal scroll due to animations */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand h2 {
    color: #2563EB;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-brand .tagline {
    font-size: 0.9rem;
    color: #666;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #2563EB;
}

.cta-btn {
    background: #F59E0B;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-btn:hover {
    background: #D97706;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2563EB 0%, #14B8A6 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="25" cy="25" r="10" fill="rgba(255,255,255,0.1)"><animate attributeName="cx" from="0" to="100" dur="10s" repeatCount="indefinite" /><animate attributeName="cy" from="0" to="100" dur="12s" repeatCount="indefinite" /></circle><circle cx="75" cy="75" r="15" fill="rgba(255,255,255,0.1)"><animate attributeName="cx" from="100" to="0" dur="11s" repeatCount="indefinite" /><animate attributeName="cy" from="100" to="0" dur="13s" repeatCount="indefinite" /></circle><circle cx="50" cy="50" r="8" fill="rgba(255,255,255,0.1)"><animate attributeName="cx" from="50" to="70" dur="8s" repeatCount="indefinite" /><animate attributeName="cy" from="50" to="30" dur="9s" repeatCount="indefinite" /></circle></svg>');
    background-size: cover;
    opacity: 0.5;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s forwards 0.5s;
}

.highlight {
    color: #F59E0B;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s forwards 0.7s;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s forwards 0.9s;
}

.btn-primary {
    background: #F59E0B;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: #D97706;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    background: white;
    color: #2563EB;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 1s forwards 1.1s;
}

/* Ripple Effect for Buttons */
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    background-color: rgba(255, 255, 255, 0.7);
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Problem Section */
.problem-section {
    padding: 80px 0;
    background: #F8FAFC;
}

.problem-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2563EB;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s forwards;
}

.problem-section .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s forwards 0.2s;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s forwards;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.stat-card:nth-child(1) { animation-delay: 0.3s; }
.stat-card:nth-child(2) { animation-delay: 0.5s; }
.stat-card:nth-child(3) { animation-delay: 0.7s; }
.stat-card:nth-child(4) { animation-delay: 0.9s; }

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563EB, #14B8A6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: #F59E0B;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.solution-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.solution-text p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s forwards 1.2s;
}

.solution-text .btn-primary {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s forwards 1.4s;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2563EB;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s forwards;
}

.services .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s forwards 0.2s;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.service-card {
    background: #F8FAFC;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s forwards;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #2563EB;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-card:nth-child(1) { animation-delay: 0.4s; }
.service-card:nth-child(2) { animation-delay: 0.6s; }

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563EB, #14B8A6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.8rem;
    color: #2563EB;
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    text-align: right;
}

.service-card li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-right: 1.5rem;
}

.service-card li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: #14B8A6;
    font-weight: bold;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #F8FAFC;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2563EB;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s forwards;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s forwards;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.feature-card:nth-child(1) { animation-delay: 0.3s; }
.feature-card:nth-child(2) { animation-delay: 0.5s; }
.feature-card:nth-child(3) { animation-delay: 0.7s; }
.feature-card:nth-child(4) { animation-delay: 0.9s; }

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #2563EB;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Process Section */
.process {
    padding: 80px 0;
    background: white;
}

.process h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2563EB;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s forwards;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.step {
    background: #F8FAFC;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s forwards;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.step:nth-child(1) { animation-delay: 0.3s; }
.step:nth-child(2) { animation-delay: 0.5s; }
.step:nth-child(3) { animation-delay: 0.7s; }
.step:nth-child(4) { animation-delay: 0.9s; }

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563EB, #14B8A6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.5rem;
    color: #2563EB;
    margin-bottom: 0.8rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #F8FAFC;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2563EB;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s forwards;
}

.contact .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s forwards 0.2s;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s forwards 0.4s;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #2563EB;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 10px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s forwards;
}

.contact-item:nth-child(1) { animation-delay: 0.6s; }
.contact-item:nth-child(2) { animation-delay: 0.8s; }
.contact-item:nth-child(3) { animation-delay: 1s; }

.contact-item i {
    font-size: 2.5rem;
    color: #2563EB;
}

.contact-item h4 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
}

/* Footer */
.footer {
    background: #222;
    color: white;
    padding: 50px 0 20px;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    text-align: right;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #bbb;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #F59E0B;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    text-decoration: none;
    color: #bbb;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: #bbb;
    margin-bottom: 0.8rem;
}

.footer-contact i {
    margin-left: 0.8rem;
    color: #F59E0B;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    margin-top: 20px;
}

.footer-bottom p {
    color: #bbb;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1; /* Move image above text on smaller screens */
        margin-bottom: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        order: -1; /* Move contact info above form on smaller screens */
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 80px; /* Adjust based on header height */
        left: 0;
        background-color: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        padding: 1rem 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        text-align: center;
        margin: 0.5rem 0;
    }

    .cta-btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .btn-primary, .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .stats-grid, .features-grid, .process-steps, .footer-content {
        grid-template-columns: 1fr;
    }

    .stat-card, .service-card, .feature-card, .step, .contact-form, .contact-item {
        padding: 1.5rem;
    }

    .service-card ul {
        text-align: center;
    }

    .service-card li {
        padding-right: 0;
    }

    .service-card li::before {
        position: static;
        margin-right: 0.5rem;
    }
}

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

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

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: rgba(37, 99, 235, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
}

.custom-cursor.hover {
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.3);
}

@media (max-width: 768px) {
    .custom-cursor {
        display: none;
    }
}

/* Particle Background */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    animation: float-particle 6s infinite linear;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Text Highlight */
.highlight-text {
    background: linear-gradient(120deg, transparent 0%, transparent 50%, #2563EB 50%);
    background-size: 240% 100%;
    background-repeat: no-repeat;
    background-position: 100% 0;
    transition: background-position 0.8s ease;
    color: white;
    padding: 2px 4px;
    border-radius: 4px;
}

.highlight-text.animate {
    background-position: 0 0;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}

.floating-whatsapp a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.floating-whatsapp a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

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

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 15px;
        left: 15px;
    }
    
    .floating-whatsapp a {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}
/* منع سكرول الصفحة عند فتح القائمة */
body.lock-scroll { overflow: hidden; }

/* زر منيو الموبايل */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px; height: 34px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.mobile-menu-toggle span {
  display: block; width: 24px; height: 2px; background: #111; margin: 4px 0;
  transition: transform .25s, opacity .25s;
}
/* حالة X */
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* الخلفية */
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  z-index: 98;
}
.nav-overlay.active { opacity: 1; pointer-events: all; }

/* القائمة الجانبية في الموبايل */
@media (max-width: 960px) {
  .cta-btn { display: none; } /* اختياري */
  .mobile-menu-toggle { display: inline-flex; }

  .nav-menu {
    position: fixed;
    top: 0; bottom: 0; right: 0;         /* RTL */
    width: 78%; max-width: 320px;
    background: #fff;
    box-shadow: -12px 0 28px rgba(0,0,0,.12);
    transform: translateX(100%);          /* مخفية */
    transition: transform .28s ease;
    padding: 20px;
    display: flex; flex-direction: column; gap: 16px;
    z-index: 99;
  }
  .nav-menu a { color: #111; font-weight: 700; font-size: 1.1rem; padding: 10px 6px; }
  .nav-menu.active { transform: translateX(0); } /* حالة الفتح */
}

/* (اختياري) أنيميشن ظهور العناصر */
.fade-in{opacity:0; transform:translateY(12px); transition:opacity .6s ease, transform .6s ease}
.fade-in.visible{opacity:1; transform:none}

/* تفعيل السايدبار فقط لو الهيدر عليه drawer-enabled */
@media (max-width: 960px) {
  /* نخلي القائمة flex دايمًا في الموبايل، وبنخفيها بالسحب مش display:none */
  .header.drawer-enabled .nav-menu {
    display: flex !important;           /* تتغلب على القاعدة القديمة */
    flex-direction: column;
    position: fixed;
    top: 0; bottom: 0; right: 0;        /* RTL */
    width: 78%; max-width: 320px;
    background: #fff;
    padding: 20px;
    gap: 16px;
    box-shadow: -12px 0 28px rgba(0,0,0,.12);
    z-index: 99;

    /* حالة الإغلاق: خارج الشاشة */
    transform: translateX(100%);
    transition: transform .28s ease;
  }

  /* حالة الفتح */
  .header.drawer-enabled .nav-menu.is-active {
    transform: translateX(0);
  }

  .header.drawer-enabled .nav-menu a {
    color: #111; font-weight: 700; font-size: 1.1rem; padding: 10px 6px;
  }

  /* زر المنيو يظهر في الموبايل */
  .mobile-menu-toggle { display: inline-flex; }

  /* CTA في الهيدر (اختياري) */
  .cta-btn { display: none; }
}

/* الـ overlay مع السايدبار */
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  z-index: 98;
}
.nav-overlay.active { opacity: 1; pointer-events: all; }

/* منع سكرول الخلفية عند فتح القائمة */
body.lock-scroll { overflow: hidden; }

/* زر المنيو (X) */
.mobile-menu-toggle {
  background: transparent; border: 0;
  width: 40px; height: 34px; display: none;
  align-items: center; justify-content: center; cursor: pointer;
}
.mobile-menu-toggle span {
  display: block; width: 24px; height: 2px; background: #111; margin: 4px 0;
  transition: transform .25s, opacity .25s;
}
.mobile-menu-toggle.active span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2){ opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }


