/* إعدادات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* تحسينات للصور */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* شريط التنقل */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

body:has(.top-notification:not(.hidden)) .navbar {
    top: 40px;
}

@media (max-width: 768px) {
    body:has(.top-notification:not(.hidden)) .navbar {
        top: 40px;
    }
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    height: 120px;
    width: auto;
    object-fit: contain;
    max-width: 300px;
}

.logo-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.logo-square {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.logo-red {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 50%;
    background: #dc2626;
    z-index: 1;
    border-radius: 12px 0 0 0;
}

.logo-blue {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 30%, #2563eb 60%, #1e40af 100%);
    clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 0;
}

.logo-blue::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, transparent 0%, rgba(59, 130, 246, 0.3) 30%),
        linear-gradient(225deg, rgba(30, 64, 175, 0.4) 0%, transparent 50%);
    z-index: 1;
}

.logo-text {
    position: relative;
    z-index: 2;
    font-size: 2rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Cairo', sans-serif;
    letter-spacing: -1px;
}

.logo-word {
    font-size: 0.7rem;
    font-weight: 700;
    color: #1e40af;
    letter-spacing: 1px;
    font-family: 'Cairo', sans-serif;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

/* القسم الرئيسي */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

body:has(.top-notification:not(.hidden)) .hero {
    margin-top: 110px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

/* الأزرار */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.btn-block {
    width: 100%;
}

/* قسم المميزات */
.features {
    padding: 80px 0;
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* قسم المنتجات */
.products-section {
    padding: 80px 0;
}

.bg-light {
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.product-image i {
    font-size: 5rem;
    color: white;
    z-index: 2;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.product-card:hover .product-image {
    transform: translateY(-5px);
}

.product-card:hover .product-image i {
    transform: scale(1.1) rotate(5deg);
}

.product-card:hover .product-image::before {
    opacity: 0.2;
}

/* أيقونة لوحات المفاتيح */
.product-icon-keyboard {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.product-icon-keyboard::before {
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 50%);
}

/* أيقونة الفأرة */
.product-icon-mouse {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.product-icon-mouse::before {
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 50%);
}

/* أيقونة السماعات */
.product-icon-headphones {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.product-icon-headphones::before {
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 50%);
}

/* أيقونة الشاشات */
.product-icon-monitor {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.product-icon-monitor::before {
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 50%);
}

/* أيقونة الأقراص الصلبة */
.product-icon-hdd {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.product-icon-hdd::before {
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 50%);
}

/* أيقونة الكابلات */
.product-icon-cable {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.product-icon-cable::before {
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 50%);
}

/* أيقونات قطع الغيار */

/* أيقونة المعالج (CPU) */
.product-icon-cpu {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.product-icon-cpu::before {
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 50%);
}

/* أيقونة الذاكرة (RAM) */
.product-icon-ram {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.product-icon-ram::before {
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 50%);
}

/* أيقونة الخوادم (Servers) */
.product-icon-server {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.product-icon-server::before {
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 50%);
}

/* أيقونة التخزين (HDD/SSD) */
.product-icon-storage {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.product-icon-storage::before {
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 50%);
}

/* أيقونة المبردات */
.product-icon-cooler {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

.product-icon-cooler::before {
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 50%);
}

/* أيقونة الراوتر */
.product-icon-router {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
}

.product-icon-router::before {
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 50%);
}

.product-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.3rem;
}

.product-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* قسم تجميع الجهاز */
.build-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.build-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

/* قسم عرض صورة الجهاز المجمع */
.build-visual {
    grid-column: 1 / -1;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease;
}

.pc-preview-container {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.pc-preview-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pc-preview {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    perspective: 1000px;
    z-index: 1;
}

.pc-case-front {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 3px solid #475569;
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    min-height: 400px;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.8s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pc-fans {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.fan {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, #475569 30%, #1e293b 70%);
    border: 2px solid #64748b;
    position: relative;
    animation: spin 3s linear infinite;
    opacity: 0.3;
}

.fan::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #64748b;
    border-radius: 50%;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pc-gpu-slot {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    height: 80px;
    border-radius: 8px;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
}

.pc-gpu-slot.active {
    opacity: 1;
    transform: scale(1);
    animation: componentAppear 0.6s ease;
}

.pc-gpu-slot::before {
    content: 'GPU';
    font-size: 1.2rem;
}

.pc-motherboard {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    height: 120px;
    border-radius: 8px;
    margin: 1rem 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
}

.pc-motherboard.active {
    opacity: 1;
    transform: scale(1);
    animation: componentAppear 0.6s ease;
}

.pc-ram-slots {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
    justify-content: center;
}

.ram-slot {
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
    width: 40px;
    height: 100px;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s ease;
}

.ram-slot.active {
    opacity: 1;
    transform: translateY(0);
    animation: componentAppear 0.6s ease;
}

.pc-cpu-slot {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s ease;
}

.pc-cpu-slot.active {
    opacity: 1;
    transform: scale(1);
    animation: componentAppear 0.6s ease;
}

.pc-cpu-slot::before {
    content: 'CPU';
}

.pc-cooling {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s ease;
}

.pc-cooling.active {
    opacity: 1;
    transform: scale(1);
    animation: componentAppear 0.6s ease;
}

.pc-cooling::before {
    content: '❄️';
    font-size: 2rem;
}

.pc-storage {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    height: 40px;
    border-radius: 5px;
    margin: 1rem 0;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3);
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.5s ease;
}

.pc-storage.active {
    opacity: 1;
    transform: translateX(0);
    animation: componentAppear 0.6s ease;
}

.pc-side-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background: rgba(59, 130, 246, 0.1);
    border-right: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 0 15px 15px 0;
}

.rgb-lightning {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(255, 0, 150, 0.3) 0%,
        rgba(0, 255, 255, 0.3) 50%,
        rgba(255, 0, 150, 0.3) 100%);
    background-size: 200% 200%;
    animation: rgbFlow 3s ease infinite;
    opacity: 0;
    border-radius: 0 15px 15px 0;
}

.rgb-lightning.active {
    opacity: 1;
}

@keyframes rgbFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes componentAppear {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.pc-info {
    text-align: center;
    margin-top: 2rem;
    color: white;
    z-index: 1;
    position: relative;
}

.pc-info h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pc-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .build-wrapper {
        grid-template-columns: 1fr;
    }
    
    .build-visual {
        order: -1;
    }
    
    .pc-preview-container {
        padding: 2rem;
    }
    
    .pc-case-front {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .pc-preview-container {
        padding: 1.5rem;
    }
    
    .pc-case-front {
        min-height: 250px;
        padding: 1.5rem;
    }
    
    .fan {
        width: 40px;
        height: 40px;
    }
    
    .pc-gpu-slot {
        height: 60px;
    }
    
    .pc-motherboard {
        height: 80px;
    }
    
    .ram-slot {
        width: 30px;
        height: 70px;
    }
    
    .pc-cpu-slot,
    .pc-cooling {
        width: 60px;
        height: 60px;
    }
}

.build-config {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.config-section {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.config-section:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    font-weight: 700;
}

.section-header i {
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.build-items-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.build-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.build-item:hover {
    box-shadow: var(--shadow);
    transform: translateX(-5px);
}

.build-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
}

.build-item label i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.build-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    background: white;
    color: var(--text-color);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.build-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.build-select:hover {
    border-color: var(--accent-color);
}

.build-summary {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.summary-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.summary-card h3 {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

.summary-items {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item-name {
    flex: 1;
}

.summary-item-price {
    font-weight: 600;
    margin-right: 1rem;
}

.empty-message {
    text-align: center;
    opacity: 0.7;
    padding: 2rem 0;
}

.summary-total {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.total-line {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.total-line:last-child {
    border-bottom: none;
}

.total-final {
    font-size: 1.3rem;
    font-weight: 700;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.summary-card .btn {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    padding: 15px;
    font-size: 1.1rem;
}

.summary-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* نظام التوافقية */
.compatibility-status {
    margin-bottom: 2rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.compatibility-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 1.2rem 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.compatibility-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 1.2rem 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.compatibility-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 1.2rem 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.compatibility-warning ul,
.compatibility-error ul {
    margin: 0.5rem 0 0 0;
    padding-right: 1.5rem;
    list-style: disc;
}

.compatibility-warning li,
.compatibility-error li {
    margin: 0.3rem 0;
    font-size: 0.95rem;
}

.compatibility-success i,
.compatibility-warning i,
.compatibility-error i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* تلوين القطع المتوافقة وغير المتوافقة */
.build-item.compatible {
    border-left: 4px solid #10b981;
    background: linear-gradient(to left, rgba(16, 185, 129, 0.05), transparent);
}

.build-item.compatible label {
    color: #059669;
}

.build-item.compatible label i {
    color: #10b981;
}

.build-item.incompatible {
    border-left: 4px solid #ef4444;
    background: linear-gradient(to left, rgba(239, 68, 68, 0.05), transparent);
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.build-item.incompatible label {
    color: #dc2626;
}

.build-item.incompatible label i {
    color: #ef4444;
}

.build-item.warning {
    border-left: 4px solid #f59e0b;
    background: linear-gradient(to left, rgba(245, 158, 11, 0.05), transparent);
}

.build-item.warning label {
    color: #d97706;
}

.build-item.warning label i {
    color: #f59e0b;
}

.build-item.compatible .build-select {
    border-color: #10b981;
}

.build-item.incompatible .build-select {
    border-color: #ef4444;
}

.build-item.warning .build-select {
    border-color: #f59e0b;
}

/* صفحة التقييم */
.evaluate-section {
    padding: 80px 0;
    background: var(--bg-light);
    min-height: calc(100vh - 200px);
}

.evaluate-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.evaluate-card,
.results-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.card-title i {
    font-size: 2rem;
}

.evaluate-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.input-group input {
    grid-column: 1;
}

.input-group select {
    grid-column: span 1;
}

@media (max-width: 768px) {
    .input-group {
        grid-template-columns: 1fr;
    }
    
    .input-group input,
    .input-group select {
        grid-column: 1;
    }
}

/* نتائج التقييم */
.results-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.result-item {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.result-item.current-value {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.result-item.depreciation {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.result-icon {
    font-size: 2.5rem;
    opacity: 0.9;
}

.result-content h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.result-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.result-content small {
    font-size: 0.85rem;
    opacity: 0.8;
}

.results-breakdown {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.breakdown-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.breakdown-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-right: 4px solid var(--primary-color);
}

.breakdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.breakdown-name {
    font-weight: 600;
    color: var(--text-color);
}

.breakdown-depreciation {
    background: #fee2e2;
    color: #dc2626;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.breakdown-value {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.breakdown-prices {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.breakdown-original {
    color: var(--text-light);
    text-decoration: line-through;
}

.breakdown-current {
    color: var(--primary-color);
    font-weight: 700;
}

.results-recommendations {
    margin: 2rem 0;
}

.recommendation-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-right: 4px solid;
}

.recommendation-item.success {
    background: #d1fae5;
    border-color: #10b981;
    color: #065f46;
}

.recommendation-item.info {
    background: #dbeafe;
    border-color: #3b82f6;
    color: #1e40af;
}

.recommendation-item.warning {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}

.recommendation-item i {
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.recommendation-item strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.results-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.results-actions .btn {
    flex: 1;
}

@media (max-width: 768px) {
    .results-summary {
        grid-template-columns: 1fr;
    }
    
    .results-actions {
        flex-direction: column;
    }
    
    .evaluate-card,
    .results-card {
        padding: 1.5rem;
    }
}

/* تلوين الخيارات داخل القوائم المنسدلة */
.build-select option.option-compatible {
    background-color: #d1fae5 !important;
    color: #065f46 !important;
    font-weight: 600;
}

.build-select option.option-incompatible {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
    text-decoration: line-through;
    opacity: 0.6;
}

.build-select option.option-warning {
    background-color: #fef3c7 !important;
    color: #92400e !important;
}

/* تحسين مظهر القوائم المنسدلة */
.build-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236b7280'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
    padding-left: 40px;
}

.build-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* قسم الخدمات */
.services-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.3rem;
}

.service-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-card ul li {
    padding: 0.5rem 0;
    color: var(--text-light);
    padding-right: 1.5rem;
    position: relative;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-price {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

/* قسم من نحن */
.about-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-list {
    list-style: none;
    margin-top: 2rem;
}

.about-list li {
    padding: 0.8rem 0;
    color: var(--text-color);
    font-size: 1.1rem;
}

.about-list li i {
    color: var(--primary-color);
    margin-left: 10px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* قسم الاتصال */
.contact-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-form {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* التذييل */
.footer {
    background: var(--text-color);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section ul li i {
    margin-left: 10px;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* شريط التقدم عند التمرير */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 10000;
    transition: width 0.1s ease;
}

/* شريط الإشعارات العلوي */
.top-notification {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.8rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.top-notification.hidden {
    transform: translateY(-100%);
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

.notification-content i.fa-gift {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

.notification-close {
    position: absolute;
    left: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.notification-close:hover {
    transform: rotate(90deg);
}

/* زر WhatsApp العائم */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: #25d366;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-size: 0.9rem;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: #25d366;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* زر العودة للأعلى */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 997;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

/* قسم الشهادات */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.author-info h4 {
    margin-bottom: 0.3rem;
    color: var(--text-color);
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* قسم الأسئلة الشائعة */
.faq-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(37, 99, 235, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* الرسوم المتحركة */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
}

/* التصميم المتجاوب */

/* شاشات كبيرة جداً (Desktop Large) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* شاشات متوسطة (Tablet) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .products-grid,
    .services-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1.5fr 1fr;
    }
    
    .contact-wrapper {
        gap: 3rem;
    }
}

/* شاشات صغيرة (Mobile & Small Tablet) */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
    }

    .logo-image {
        height: 50px;
        max-width: 150px;
    }

    .hero {
        padding: 120px 0 80px;
        margin-top: 70px;
    }

    body:has(.top-notification:not(.hidden)) .hero {
        margin-top: 110px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0 1rem;
    }

    .btn {
        width: 100%;
        padding: 14px 25px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .stat-item {
        flex: 1;
        min-width: 120px;
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .features-grid,
    .products-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card,
    .product-card,
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    /* شريط الإشعارات */
    .top-notification {
        padding: 0.6rem 0;
    }

    .notification-content {
        font-size: 0.85rem;
        padding: 0 3rem 0 2.5rem;
    }

    .notification-content span {
        flex: 1;
        text-align: center;
    }

    /* الأزرار العائمة */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 80px;
        left: 20px;
        font-size: 1.5rem;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .scroll-top-btn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        left: 20px;
        font-size: 1rem;
    }

    /* FAQ */
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 1rem;
    }

    .faq-answer {
        font-size: 0.9rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* شاشات صغيرة جداً (Mobile Small) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo-image {
        height: 45px;
        max-width: 120px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-item {
        min-width: 100px;
        padding: 1.2rem;
    }

    .feature-card,
    .product-card,
    .service-card,
    .testimonial-card {
        padding: 1.2rem;
    }

    .feature-icon,
    .product-image,
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .contact-form {
        padding: 1.5rem 1rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 70px;
        left: 15px;
        font-size: 1.3rem;
    }

    .scroll-top-btn {
        width: 40px;
        height: 40px;
        bottom: 15px;
        left: 15px;
        font-size: 0.9rem;
    }

    .notification-content {
        font-size: 0.75rem;
        padding: 0 2.5rem 0 2rem;
    }

    .faq-question {
        padding: 1.2rem;
    }

    .faq-question h3 {
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 1.2rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* شاشات متوسطة صغيرة (Tablet Portrait) */
@media (min-width: 481px) and (max-width: 768px) {
    .products-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: row;
    }

    .stat-item {
        flex: 1;
    }
}

/* تحسينات للشاشات الكبيرة (Desktop) */
@media (min-width: 1025px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* تحسينات للطباعة */
@media print {
    .navbar,
    .whatsapp-float,
    .scroll-top-btn,
    .top-notification,
    .progress-bar {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }
}

/* تحسينات للوضع الأفقي (Landscape) على الموبايل */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .nav-menu {
        max-height: calc(100vh - 70px);
    }
}

