   :root {
            --primary-color: #2e7d32;
            --secondary-color: #4caf50;
            --accent-color: #ff9800;
            --text-color: #2c3e50;
            --light-bg: #f8f9fa;
            --white: #ffffff;
            --transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            --shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
            --accent-gradient: linear-gradient(135deg, #ff9800, #ffb74d, #ff9800);
            --green-gradient: linear-gradient(135deg, #2e7d32, #4caf50, #2e7d32);
            --gold-gradient: linear-gradient(135deg, #d4af37, #f7ef8a, #d4af37);
            --gold-color: #d4af37;
            --dark-green: #1b5e20;
            --danger: #ff9800;
            --muted: #666;
            --bg: #f8f9fa;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        html {
            scroll-behavior: smooth;
        }
        
        body {
            background-color: var(--white);
            color: var(--text-color);
            overflow-x: hidden;
            line-height: 1.7;
        }

        /* الهيدر */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            background-color: transparent;
            transition: var(--transition);
            padding: 5px 0 0;
        }

        .header.scrolled {
            background-color: rgba(255, 255, 255, 0.95);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            padding: 2px 0 0;
        }

        .header-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 0 5%;
        }

        .logo-section {
            display: flex;
            align-items: center;
            width: 100%;
            justify-content: center;
            margin-bottom: 2px;
            position: relative;
        }

        .logo-line {
            flex: 1;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
        }

        .logo {
            margin: 0 30px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .logo img {
            height: 55px;
            transition: var(--transition);
            filter: brightness(0) invert(1);
        }

        .logo-text {
            color: white;
            font-weight: bold;
            margin-top: 3px;
            font-size: 1.1rem;
        }

        .header.scrolled .logo img {
            filter: none;
        }

        .header.scrolled .logo-text {
            color: var(--primary-color);
        }

        /* علامات التبويب */
        .nav-sections {
            display: flex;
            width: 100%;
            justify-content: space-between;
            margin-top: 0;
            padding-top: 0;
        }

        .nav-left, .nav-right {
            display: flex;
            gap: 25px;
        }

        .nav-item {
            position: relative;
            padding: 8px 0 6px;
            cursor: pointer;
            font-weight: 500;
            transition: var(--transition);
            color: var(--white);
            font-size: 1rem;
            line-height: 1.2;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .header.scrolled .nav-item {
            color: var(--text-color);
        }

        .nav-item:hover {
            color: var(--accent-color);
        }

        .nav-item::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 0;
            height: 2px;
            background-color: var(--accent-color);
            transition: var(--transition);
        }

        .nav-item:hover::after {
            width: 100%;
        }

        .nav-item i {
            font-size: 0.9rem;
            transition: var(--transition);
        }

        .nav-item:hover i {
            transform: translateX(-3px);
        }

        /* القائمة المنسدلة للخدمات */
        .dropdown {
            position: relative;
        }

        .dropdown-content {
            display: none;
            position: absolute;
            top: 100%;
            right: 0;
            background-color: var(--white);
            min-width: 250px;
            box-shadow: 0 8px 16px rgba(0,0,0,0.1);
            z-index: 1;
            border-radius: 5px;
            overflow: hidden;
        }

        .dropdown:hover .dropdown-content {
            display: block;
        }

        .dropdown-item {
            padding: 12px 16px;
            text-decoration: none;
            display: block;
            color: var(--text-color);
            transition: var(--transition);
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .dropdown-item:hover {
            background-color: var(--light-bg);
            color: var(--primary-color);
        }

        .dropdown-item i {
            margin-left: 8px;
            transition: var(--transition);
        }

        .dropdown-item:hover i {
            transform: translateX(-5px);
        }

        /* زر القائمة المتنقلة للهواتف */
        .mobile-menu-btn {
            display: none;
            position: absolute;
            top: 20px;
            left: 20px;
            background: transparent;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
            z-index: 1002;
        }

        .header.scrolled .mobile-menu-btn {
            color: var(--primary-color);
        }

        /* القائمة المتنقلة */
        .mobile-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 80%;
            height: 100vh;
            background: rgba(255, 255, 255, 0.98);
            z-index: 1003;
            padding: 80px 30px 30px;
            transition: var(--transition);
            box-shadow: -5px 0 15px rgba(0,0,0,0.1);
            overflow-y: auto;
        }

        .mobile-menu.active {
            right: 0;
        }

        .mobile-menu-close {
            position: absolute;
            top: 20px;
            left: 20px;
            background: transparent;
            border: none;
            font-size: 1.8rem;
            color: var(--primary-color);
            cursor: pointer;
        }

        .mobile-nav-item {
            padding: 15px 0;
            border-bottom: 1px solid #eee;
            font-size: 1.1rem;
            color: var(--text-color);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .mobile-dropdown-content {
            padding-right: 20px;
            margin-top: 10px;
            display: none;
        }

        .mobile-dropdown-content.active {
            display: block;
        }

        .mobile-dropdown-item {
            padding: 10px 0;
            color: #666;
            font-size: 0.95rem;
            border-bottom: 1px solid #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        /* الهيرو */
        .hero {
            position: relative;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .hero-slideshow {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
        }

        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            opacity: 0;
            animation: slideAnimation 24s infinite;
        }

        .slide:nth-child(1) {
            background-image: url('2.PNG');
            animation-delay: 0s;
        }

        .slide:nth-child(2) {
            background-image: url('1.PNG');
            animation-delay: 6s;
        }

        .slide:nth-child(3) {
            background-image: url('4.PNG');
            animation-delay: 12s;
        }

        .slide:nth-child(4) {
            background-image: url('3.PNG');
            animation-delay: 18s;
        }

        @keyframes slideAnimation {
            0% { opacity: 0; }
            10% { opacity: 1; }
            25% { opacity: 1; }
            35% { opacity: 0; }
            100% { opacity: 0; }
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
            z-index: -1;
        }

        .hero-content {
            text-align: center;
            color: var(--white);
            z-index: 1;
            max-width: 800px;
            padding: 0 20px;
        }

        .hero-title {
            font-size: 3.5rem;
            margin-bottom: 20px;
            text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
        }

        .hero-subtitle {
            font-size: 1.5rem;
            margin-bottom: 30px;
            line-height: 1.6;
            color: var(--white);
        }

        .btn-primary {
            display: inline-block;
            background: var(--gold-gradient);
            color: var(--text-color);
            padding: 12px 30px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
        }

        .scroll-down {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            color: var(--white);
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
            animation: bounce 2s infinite;
        }

        .scroll-down i {
            font-size: 1.5rem;
            margin-bottom: 5px;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateX(-50%) translateY(0);
            }
            40% {
                transform: translateX(-50%) translateY(-10px);
            }
            60% {
                transform: translateX(-50%) translateY(-5px);
            }
        }

        /* شريط التقدم */
        .progress-bar {
            position: fixed;
            top: 0;
            left: 0;
            width: 0%;
            height: 4px;
            background: var(--gold-gradient);
            z-index: 1001;
            transition: width 0.3s ease;
        }

        /* شريط الإعلانات المتحرك */
        .announcement-bar {
            background: linear-gradient(90deg, var(--accent-color), var(--accent-color));
            color: white;
            padding: 12px 0;
            overflow: hidden;
            position: relative;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
            z-index: 10;
        }

        .announcement-content {
            display: flex;
            white-space: nowrap;
            animation: scrollText 30s linear infinite;
            font-weight: 600;
            font-size: 1.1rem;
        }

        .announcement-content span {
            margin-right: 50px;
            display: inline-block;
        }

        @keyframes scrollText {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }

        /* أزرار الوسائط الاجتماعية الثابتة */
        .social-sidebar {
            position: fixed;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 999;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .social-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.3rem;
            text-decoration: none;
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .social-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.1);
            transform: translateX(-100%);
            transition: var(--transition);
        }

        .social-btn:hover::before {
            transform: translateX(0);
        }

        .social-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        }

        .whatsapp { background: #25D366; }
        .facebook { background: #3b5998; }
        .instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
        .linkedin { background: #0077b5; }

        /* قسم اتصل بنا */
        .contact-section {
            background: #2e7d32;
            color: white;
            text-align: center;
            padding: 80px 20px;
            width: 100%;
        }

        .contact-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .contact-info {
            margin: 30px 0;
        }

        .contact-btn {
            display: inline-block;
            background: white;
            color: #2e7d32;
            padding: 15px 40px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            margin-top: 20px;
            transition: var(--transition);
        }

        .contact-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        }

        .section-title {
            text-align: center;
            margin-bottom: 50px;
            color: var(--primary-color);
            font-size: 2.5rem;
        }

        /* ===== أنماط h3.html الأصلية ===== */
        .nav{
            padding:10px 25px;
            border-top:1px solid #eee;
        }

        .nav a{
            margin-left:15px;
            text-decoration:none;
            color:#333;
            font-size:14px;
        }

        /* ===== CONTAINER ===== */
        .container{
            padding:30px 20px;
            margin-top: 100px;
        }

        /* ===== SECTION HEADER ===== */
        .section-header{
            text-align:center;
            margin-bottom:40px;
        }

        .section-title{
            font-size:28px;
            color:var(--dark);
            margin-bottom:15px;
        }

        .section-subtitle{
            color:var(--muted);
            max-width:800px;
            margin:0 auto;
            line-height:1.6;
        }

        /* ===== GRID (CENTERED) ===== */
        .grid{
            display:grid;
            grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
            gap:25px;
            justify-content:center;
            max-width:1400px;
            margin:0 auto;
        }

        /* ===== CARD ===== */
        .card{
            background:#fff;
            border-radius:16px;
            overflow:hidden;
            box-shadow:0 8px 20px rgba(0,0,0,.1);
            position:relative;
            transition:.3s;
            min-height:420px;
            display:flex;
            flex-direction:column;
        }

        .card:hover{
            transform:translateY(-8px);
            box-shadow:0 12px 25px rgba(0,0,0,.15);
        }

        /* ===== FIXED IMAGE CONTAINER ===== */
        .card-image-container {
            width:100%;
            height:200px;
            overflow:hidden;
            display:flex;
            align-items:center;
            justify-content:center;
            background:#f8f9fa;
            position:relative;
        }

        .card-image-container::after {
            content:'';
            position:absolute;
            top:0;
            left:0;
            right:0;
            bottom:0;
            background:rgba(255,255,255,0.1);
            pointer-events:none;
        }

        .card img{
            width:100%;
            height:100%;
            object-fit:contain;
            padding:15px;
            transition:transform .3s;
        }

        .card:hover img{
            transform:scale(1.05);
        }

        /* ===== TAGS ===== */
        .tag{
            position:absolute;
            top:12px;
            right:12px;
            background:#ff9800;
            color:#fff;
            font-size:13px;
            padding:7px 12px;
            border-radius:20px;
            z-index:2;
            font-weight:bold;
        }

        .tag.green{background:#4caf50;}
        .tag.blue{background:#2196f3;}
        .tag.red{background:#f44336;}
        .tag.purple{background:#9c27b0;}
        .tag.teal{background:#009688;}

        .place{
            position:absolute;
            top:12px;
            left:12px;
            background:#fff;
            color:#333;
            font-size:12px;
            padding:6px 10px;
            border-radius:20px;
            box-shadow:0 2px 8px rgba(0,0,0,.15);
            z-index:2;
            font-weight:bold;
        }

        /* ===== CONTENT ===== */
        .card h3{
            font-size:16px;
            padding:18px 18px 8px;
            min-height:60px;
            margin:0;
            line-height:1.5;
        }

        /* ===== PRICE ===== */
        .price{
            padding:0 18px;
            margin-top:12px;
            flex-grow:1;
        }

        .old{
            text-decoration:line-through;
            color:#777;
            font-size:14px;
        }

        .new{
            color:var(--danger);
            font-weight:bold;
            margin-right:8px;
            font-size:18px;
        }

        /* ===== BUTTON ===== */
        .card button{
            margin:18px;
            width:calc(100% - 36px);
            padding:13px;
            border:2px solid var(--primary-color);
            background:#fff;
            color:var(--primary-color);
            border-radius:10px;
            cursor:pointer;
            font-size:15px;
            transition:.3s;
            font-weight:bold;
        }

        .card button:hover{
            background:var(--primary-color);
            color:#fff;
        }

        /* ===== MODAL ===== */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .modal-overlay.active {
            display: flex;
        }

        .modal-content {
            background: white;
            width: 90%;
            max-width: 800px;
            max-height: 90vh;
            overflow-y: auto;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            animation: modalFade 0.3s ease;
        }

        @keyframes modalFade {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .modal-header {
            background: var(--primary-color);
            color: white;
            padding: 20px;
            border-radius: 15px 15px 0 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-header h2 {
            margin: 0;
            font-size: 22px;
            display: flex;
            align-items: center;
        }

        .modal-close {
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
            padding: 5px;
        }

        .modal-body {
            padding: 25px;
        }

        /* ===== MODAL IMAGE FIX ===== */
        .modal-image {
            width:100%;
            height:280px;
            object-fit:contain;
            border-radius:10px;
            margin-bottom:20px;
            background:#f8f9fa;
            padding:15px;
            border:1px solid #eee;
        }

        .modal-section {
            margin-bottom: 25px;
            padding-bottom: 25px;
            border-bottom: 1px solid #eee;
        }

        .modal-section:last-child {
            border-bottom: none;
        }

        .modal-section h3 {
            color: var(--dark-green);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }

        .modal-section ul {
            padding-right: 20px;
        }

        .modal-section li {
            margin-bottom: 8px;
            line-height: 1.6;
        }

        .program-highlights {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 15px;
            margin-bottom: 25px;
        }

        .highlight {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 10px;
            text-align: center;
            border: 1px solid #e9ecef;
        }

        .highlight h4 {
            color: var(--primary-color);
            margin: 0 0 8px 0;
            font-size: 14px;
        }

        .highlight p {
            margin: 0;
            font-size: 15px;
            font-weight: bold;
        }

        .modal-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 0 0 15px 15px;
            border-top: 1px solid #eee;
        }

        .modal-price {
            font-size: 24px;
            font-weight: bold;
            color: var(--danger);
        }

        .modal-price span {
            display: block;
            font-size: 14px;
            color: var(--muted);
            font-weight: normal;
        }

        .modal-action-btn {
            background: var(--primary-color);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 8px;
            font-size: 16px;
            cursor: pointer;
            transition: background 0.3s;
            display: flex;
            align-items: center;
        }

        .modal-action-btn:hover {
            background: var(--dark-green);
        }

        /* ===== FEATURES SECTION ===== */
        .features-section {
            background: white;
            padding: 50px 20px;
            margin-top: 40px;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .feature-card {
            text-align: center;
            padding: 25px;
            border-radius: 12px;
            background: #f8f9fa;
            transition: transform 0.3s;
        }

        .feature-card:hover {
            transform: translateY(-5px);
        }

        .feature-icon {
            font-size: 40px;
            color: var(--primary-color);
            margin-bottom: 15px;
        }

        .feature-card h3 {
            color: var(--dark-green);
            margin-bottom: 10px;
        }

        .feature-card p {
            color: var(--muted);
            line-height: 1.6;
        }

        /* ===== RESPONSIVE ADJUSTMENTS ===== */
        @media (min-width: 1200px) {
            .grid{
                grid-template-columns:repeat(4, 1fr);
            }
        }

        @media (max-width: 1199px) and (min-width: 768px) {
            .grid{
                grid-template-columns:repeat(2, 1fr);
            }
        }

        @media (max-width: 767px) {
            .grid{
                grid-template-columns:1fr;
                max-width:400px;
            }
        }

        /* تحسين شكل البطاقات على الشاشات الصغيرة */
        @media (max-width: 480px) {
            .card-image-container{
                height:180px;
            }
            
            .card h3{
                font-size:15px;
                padding:15px 15px 5px;
            }
            
            .card button{
                padding:12px;
                font-size:14px;
            }
            
            .section-title{
                font-size:24px;
            }
            
            .section-subtitle{
                font-size:14px;
            }
        }

        /* استعلامات الوسائط للهيدر والهيرو */
        @media (max-width: 992px) {
            .nav-sections {
                flex-direction: column;
                align-items: center;
                gap: 10px;
            }
            
            .nav-left, .nav-right {
                gap: 15px;
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .nav-item {
                font-size: 0.9rem;
                padding: 6px 0 4px;
            }
        }

        @media (max-width: 768px) {
            .nav-sections {
                display: none;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .hero-title {
                font-size: 2.2rem;
            }
            
            .hero-subtitle {
                font-size: 1.1rem;
            }
            
            .container {
                margin-top: 80px;
            }
        }

        @media (max-width: 576px) {
            .hero-title {
                font-size: 1.8rem;
            }
            
            .hero-subtitle {
                font-size: 1rem;
                padding: 0 10px;
            }
            
            .btn-primary {
                padding: 10px 20px;
                font-size: 0.9rem;
            }
            
            .logo img {
                height: 45px;
            }
            
            .logo-text {
                font-size: 0.9rem;
            }
        }

        @media (max-width: 768px) {
            .social-sidebar {
                left: 10px;
            }
            
            .social-btn {
                width: 45px;
                height: 45px;
                font-size: 1.2rem;
            }
        }

        @media (max-width: 480px) {
            .social-sidebar {
                left: 5px;
            }
            
            .social-btn {
                width: 40px;
                height: 40px;
                font-size: 1.1rem;
            }
        }

        /* تصنيفات الأدوات */
        .categories {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 40px;
        }

        .category-btn {
            padding: 12px 25px;
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 30px;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
        }

        .category-btn.active,
        .category-btn:hover {
            background: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }

        /* حالة المخزون */
        .stock-status {
            position: absolute;
            top: 12px;
            left: 12px;
            background: #fff;
            color: #333;
            font-size: 12px;
            padding: 6px 10px;
            border-radius: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,.15);
            z-index: 2;
            font-weight: bold;
        }

        .in-stock {
            background: #4caf50;
            color: white;
        }

        .low-stock {
            background: #ff9800;
            color: white;
        }

        .out-stock {
            background: #f44336;
            color: white;
        }