:root {

            --primary: #0a2463;

            --primary-light: #1e3a7b;

            --accent: #e84855;

            --accent-hover: #d13a47;

            --bg: #ffffff;

            --bg-alt: #f4f6f9;

            --bg-dark: #0d1b2a;

            --text: #1a1a2e;

            --text-light: #6b7280;

            --text-white: #f0f0f0;

            --border: #e2e8f0;

            --shadow: 0 4px 24px rgba(0,0,0,0.08);

            --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);

            --radius: 12px;

            --transition: 0.3s cubic-bezier(0.4,0,0.2,1);

            --max-w: 1200px;

        }

        [dir="rtl"] { direction: rtl; text-align: right; }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        html { scroll-behavior: smooth; font-size: 16px; }

        body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; overflow-x: hidden; }

        img { max-width: 100%; height: auto; display: block; }

        .gallery-item img, .about-image img, .hero-image img { height: 100%; object-fit: contain; }

        a { text-decoration: none; color: inherit; }

        ul { list-style: none; }

        .container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

        .section { padding: 80px 0; }

        .section-title { text-align: center; margin-bottom: 16px; font-size: 2rem; font-weight: 800; color: var(--primary); }

        .section-subtitle { text-align: center; color: var(--text-light); margin-bottom: 48px; font-size: 1.05rem; max-width: 600px; margin-left: auto; margin-right: auto; }

        .btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; transition: var(--transition); cursor: pointer; border: none; font-family: inherit; }

        .btn-primary { background: var(--accent); color: #fff; }

        .btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,72,85,0.3); }

        .btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }

        .btn-outline:hover { background: var(--primary); color: #fff; }

        .btn-white { background: #fff; color: var(--primary); }

        .btn-white:hover { background: var(--primary); color: #fff; }

        .tag { display: inline-block; padding: 4px 12px; background: rgba(232,72,85,0.1); color: var(--accent); border-radius: 20px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }



        /* NAV */

        .navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); transition: var(--transition); }

        .navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

        .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

        .nav-logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.4rem; color: var(--primary); }

        .nav-logo img { height: 40px; }

        .nav-links { display: flex; gap: 36px; align-items: center; }

        .nav-links a { font-weight: 500; font-size: 0.9rem; color: var(--text); transition: var(--transition); position: relative; }

        .nav-links a:hover { color: var(--accent); }

        .nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent); transition: var(--transition); }

        .nav-links a:hover::after { width: 100%; }

        .lang-dropdown { position: relative; cursor: pointer; }

        .lang-btn { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 8px; background: var(--bg-alt); font-weight: 600; font-size: 0.85rem; border: 1px solid var(--border); transition: var(--transition); cursor: pointer; }

        .lang-btn:hover { border-color: var(--accent); }

        .lang-menu { position: absolute; top: calc(100% + 8px); right: 0; background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden; display: none; min-width: 140px; z-index: 100; }

        .lang-dropdown.open .lang-menu { display: block; }

        .lang-menu a { display: block; padding: 10px 16px; font-size: 0.85rem; font-weight: 500; transition: var(--transition); }

        .lang-menu a:hover { background: var(--bg-alt); color: var(--accent); }

        .lang-menu a.active { color: var(--accent); font-weight: 700; }

        .mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--primary); }

        .nav-social { display: flex; gap: 8px; align-items: center; }

        .nav-social a { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 0.9rem; transition: var(--transition); border: 1px solid var(--border); }

        .nav-social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }



        /* HERO */

        .hero { min-height: 100vh; display: flex; align-items: center; background: linear-gradient(135deg, #f8faff 0%, #eef2f7 50%, #f0f4ff 100%); padding-top: 72px; position: relative; overflow: hidden; }

        .hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(232,72,85,0.06) 0%, transparent 70%); border-radius: 50%; }

        .hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; justify-content: center; justify-items: center; }

        .hero-badge { display: inline-block; margin-bottom: 16px; }

        .hero h1 { font-size: 2.8rem; font-weight: 800; line-height: 1.15; color: var(--primary); margin-bottom: 20px; }

        .hero h1 span { color: var(--accent); }

        .hero p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 32px; max-width: 500px; }

        .hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

        .hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; }

        .hero-image { position: relative; display: flex; align-items: center; justify-content: center; }

        .hero-image img { border-radius: 16px; box-shadow: var(--shadow-lg); width: 100%; height: 100%; object-fit: contain; }

        .hero-stats { display: flex; gap: 40px; margin-top: 40px; }

        .hero-stat strong { display: block; font-size: 1.6rem; color: var(--primary); }

        .hero-stat span { font-size: 0.85rem; color: var(--text-light); }



        /* ABOUT */

        .about { background: var(--bg); }

        .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

        .about-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

        .about-image img { width: 100%; height: 400px; object-fit: contain; }

        .about-text h3 { font-size: 1.5rem; margin-bottom: 16px; color: var(--primary); }

        .about-text p { color: var(--text-light); margin-bottom: 16px; }

        .stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }

        .stat-card { text-align: center; padding: 24px 16px; background: var(--bg-alt); border-radius: var(--radius); }

        .stat-card .number { font-size: 2rem; font-weight: 800; color: var(--accent); }

        .stat-card .label { font-size: 0.85rem; color: var(--text-light); margin-top: 4px; }



        /* FEATURES */

        .features { background: var(--bg-alt); }

        .features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

        .feature-card { background: #fff; border-radius: var(--radius); padding: 32px 24px; text-align: center; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--border); }

        .feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

        .feature-icon { width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: #fff; font-size: 1.5rem; }

        .feature-card h4 { font-size: 1.05rem; margin-bottom: 10px; color: var(--primary); }

        .feature-card p { font-size: 0.9rem; color: var(--text-light); }



        /* TECH TABLE */

        .tech { background: var(--bg); }

        .models-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; justify-content: center; max-width: 800px; margin: 0 auto; }

        .model-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); transition: var(--transition); }

        .model-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

        .model-header { background: linear-gradient(135deg, var(--primary), var(--primary-light)); padding: 24px; text-align: center; color: #fff; }

        .model-header h4 { font-size: 1.3rem; margin-bottom: 4px; }

        .model-header span { opacity: 0.8; font-size: 0.9rem; }

        .model-body { padding: 24px; }

        .model-body table { width: 100%; }

        .model-body table tr { border-bottom: 1px solid var(--border); }

        .model-body table tr:last-child { border: none; }

        .model-body table td { padding: 10px 0; font-size: 0.9rem; }

        .model-body table td:first-child { color: var(--text-light); }

        .model-body table td:last-child { font-weight: 600; text-align: right; }

        .model-card.highlight { border: 2px solid var(--accent); }

        .popular-tag { background: var(--accent); color: #fff; font-size: 0.75rem; padding: 4px 12px; border-radius: 20px; font-weight: 600; }



        /* HOW IT WORKS */

        .how { background: var(--bg-alt); }

        .steps { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }

        .step { flex: 1; min-width: 200px; max-width: 220px; text-align: center; position: relative; }

        .step-num { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 800; margin: 0 auto 16px; }

        .step h4 { font-size: 1rem; margin-bottom: 8px; color: var(--primary); }

        .step p { font-size: 0.85rem; color: var(--text-light); }

        .step-arrow { position: absolute; top: 28px; right: -20px; font-size: 1.2rem; color: var(--border); }

        .step:last-child .step-arrow { display: none; }



        /* GALLERY */

        .gallery { background: var(--bg); }

        .gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

        .gallery-item { border-radius: var(--radius); overflow: hidden; cursor: pointer; position: relative; aspect-ratio: 4/3; background: #f8fafc; border: 1px solid var(--border); box-shadow: var(--shadow); }

        .gallery-item img { width: 100%; height: 100%; object-fit: contain; transition: var(--transition); background: linear-gradient(180deg, #fff, #f8fafc); }

        .gallery-item:hover img { transform: scale(1.06); }

        .gallery-item::after { content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; inset: 0; background: rgba(10,36,99,0.34); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.5rem; opacity: 0; transition: var(--transition); }

        .gallery-item:hover::after { opacity: 1; }

        .gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; background: linear-gradient(180deg, transparent, rgba(13,27,42,0.88)); color: #fff; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.2px; z-index: 1; }

        .gallery-note { text-align: center; margin-top: 18px; color: var(--text-light); font-size: 0.9rem; }



        /* LIGHTBOX */

        .lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 40px; }

        .lightbox.active { display: flex; }

        .lightbox img { max-width: 90%; max-height: 85vh; border-radius: 8px; object-fit: contain; }

        .lightbox-close { position: absolute; top: 20px; right: 30px; font-size: 2rem; color: #fff; cursor: pointer; background: none; border: none; transition: var(--transition); }

        .lightbox-close:hover { color: var(--accent); transform: rotate(90deg); }

        .lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); font-size: 2rem; color: #fff; cursor: pointer; background: rgba(255,255,255,0.1); border: none; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); }

        .lightbox-prev { left: 20px; }

        .lightbox-next { right: 20px; }

        .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }



        /* CERTIFICATES */

        .certs { background: var(--bg-alt); }

        .certs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

        .cert-card { background: #fff; border-radius: var(--radius); padding: 40px 24px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--border); transition: var(--transition); }

        .cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

        .cert-icon { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, #e84855, #ff6b7a); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: #fff; font-size: 1.5rem; }

        .cert-card h4 { font-size: 1.1rem; margin-bottom: 8px; color: var(--primary); }

        .cert-card p { font-size: 0.85rem; color: var(--text-light); }



        /* FAQ */

        .faq { background: var(--bg); }

        .faq-list { max-width: 800px; margin: 0 auto; }

        .faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; background: #fff; }

        .faq-q { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; cursor: pointer; font-weight: 600; transition: var(--transition); }

        .faq-q:hover { color: var(--accent); }

        .faq-q i { transition: var(--transition); font-size: 0.9rem; }

        .faq-item.open .faq-q i { transform: rotate(180deg); }

        .faq-item.open .faq-q { color: var(--accent); }

        .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }

        .faq-a-inner { padding: 0 24px 20px; color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }



        /* REFERENCES */

        .references { background: var(--bg-alt); }

        .ref-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

        .ref-card { background: #fff; border-radius: var(--radius); padding: 30px 22px; text-align: left; box-shadow: var(--shadow); border: 1px solid var(--border); transition: var(--transition); }

        .ref-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

        .ref-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }

        .ref-avatar { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 700; font-size: 1.15rem; }

        .ref-card h4 { font-size: 1rem; margin-bottom: 2px; color: var(--primary); line-height: 1.3; }

        .ref-card span { display: block; font-size: 0.84rem; color: var(--accent); font-weight: 600; }

        .ref-card p { margin-top: 10px; color: var(--text-light); font-size: 0.88rem; line-height: 1.6; }

        .ref-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

        .ref-tag { display: inline-block; padding: 6px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--primary); font-size: 0.76rem; font-weight: 600; border: 1px solid var(--border); }



        /* CONTACT */

        .contact { background: var(--bg-dark); color: var(--text-white); }

        .contact .section-title { color: #fff; }

        .contact .section-subtitle { color: rgba(255,255,255,0.6); }

        .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

        .contact-info { display: flex; flex-direction: column; gap: 24px; }

        .contact-item { display: flex; gap: 16px; align-items: flex-start; }

        .contact-item .icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--accent); flex-shrink: 0; }

        .contact-item h4 { font-size: 1rem; margin-bottom: 4px; }

        .contact-item p, .contact-item a { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

        .contact-item a:hover { color: var(--accent); }

        .map-container { border-radius: var(--radius); overflow: hidden; min-height: 350px; }

        .map-container iframe { width: 100%; height: 100%; border: none; min-height: 350px; }



        /* CONTACT FORM */

        .contact-form { display: flex; flex-direction: column; gap: 16px; }

        .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

        .form-group { display: flex; flex-direction: column; gap: 6px; }

        .form-group label { font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.8); }

        .form-group input,

        .form-group textarea { width: 100%; padding: 12px 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06); color: #fff; font-family: inherit; font-size: 0.95rem; transition: var(--transition); outline: none; }

        .form-group input::placeholder,

        .form-group textarea::placeholder { color: rgba(255,255,255,0.35); }

        .form-group input:focus,

        .form-group textarea:focus { border-color: var(--accent); background: rgba(255,255,255,0.1); box-shadow: 0 0 0 3px rgba(232,72,85,0.15); }

        .form-group textarea { resize: vertical; min-height: 120px; }

        @media (max-width: 768px) {

            .form-row { grid-template-columns: 1fr; }

        }



        /* FOOTER */

        .footer { background: #070f1a; color: rgba(255,255,255,0.6); padding: 48px 0 24px; }

        .footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }

        .footer h5 { color: #fff; font-size: 1rem; margin-bottom: 16px; }

        .footer p { font-size: 0.85rem; line-height: 1.7; }

        .footer ul li { margin-bottom: 8px; }

        .footer ul a { font-size: 0.85rem; transition: var(--transition); }

        .footer ul a:hover { color: var(--accent); }

        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }

        .footer-bottom p { font-size: 0.8rem; }

        .social-links { display: flex; gap: 12px; }

        .social-links a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: var(--transition); font-size: 0.9rem; }

        .social-links a:hover { background: var(--accent); color: #fff; }

        .footer-logo { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 12px; display: block; }



        /* SCROLL TOP */

        .scroll-top { position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; border: none; box-shadow: 0 4px 16px rgba(232,72,85,0.3); opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999; }

        .scroll-top.visible { opacity: 1; visibility: visible; }

        .scroll-top:hover { transform: translateY(-4px); }



        /* RESPONSIVE */

        @media (max-width: 1024px) {

            .features-grid, .ref-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }

            .models-grid, .certs-grid { grid-template-columns: repeat(2, 1fr); }

            .footer-inner { grid-template-columns: repeat(2, 1fr); }

        }

        @media (max-width: 768px) {

            .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 24px; gap: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }

            .nav-links.open { display: flex; }

            .mobile-toggle { display: block; }

            .nav-social { display: none; }

            .hero-inner { grid-template-columns: 1fr; text-align: center; }

            .hero h1 { font-size: 2rem; }

            .hero p { margin: 0 auto 32px; }

            .hero-buttons { justify-content: center; }

            .hero-stats { justify-content: center; }

            .hero-image { order: -1; }

            .about-grid { grid-template-columns: 1fr; }

            .stats-row { grid-template-columns: repeat(2, 1fr); }

            .features-grid, .ref-grid, .gallery-grid, .models-grid, .certs-grid { grid-template-columns: 1fr; }

            .contact-grid { grid-template-columns: 1fr; }

            .section { padding: 60px 0; }

            .section-title { font-size: 1.6rem; }

            .footer-inner { grid-template-columns: 1fr; }

            .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

            .steps { flex-direction: column; align-items: center; }

            .step-arrow { display: none !important; }

        }



        /* Animations */

        .fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }

        .fade-in.visible { opacity: 1; transform: translateY(0); }

        /* TOAST */
        .toast { position: fixed; bottom: 90px; right: 30px; z-index: 9999; padding: 16px 24px; border-radius: 12px; font-weight: 600; font-size: 0.95rem; color: #fff; box-shadow: 0 8px 32px rgba(0,0,0,0.2); transform: translateY(20px); opacity: 0; transition: all 0.35s cubic-bezier(0.4,0,0.2,1); pointer-events: none; }
        .toast.show { transform: translateY(0); opacity: 1; }
        .toast.success { background: #10b981; }
        .toast.error { background: var(--accent); }



        /* APPLICATIONS */

        .applications-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

        @media (max-width: 1024px) { .applications-grid { grid-template-columns: repeat(2, 1fr); } }

        @media (max-width: 768px) { .applications-grid { grid-template-columns: 1fr; } }