/* استيراد خط Cairo */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

/* التنسيقات الأساسية */
:root {
    --primary-color: #285d66;
    --secondary-color: #4a9ba8;
    --accent-color: #f8b400;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    position: relative;
    margin-bottom: 1.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

p, span, a, li {
    font-family: 'Cairo', sans-serif;
}

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

/* القائمة العلوية */
.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 1.5rem;
}

.contact-info a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-right: 1rem;
}

.social-icons a {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(40, 93, 102, 0.1);
}

.social-icons a:hover {
    color: var(--white);
    transform: translateY(-3px);
}

.social-icons a:hover i {
    animation: socialIconPulse 0.5s ease-in-out;
}

.social-icons a:nth-child(1):hover {
    background: #1877f2; /* فيسبوك */
}

.social-icons a:nth-child(2):hover {
    background: #e4405f; /* انستجرام */
}

.social-icons a:nth-child(3):hover {
    background: #000000; /* تيك توك */
}

@keyframes socialIconPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* القائمة الرئيسية */
.main-nav {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    width: 100%;
    max-width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 0;
}

.logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.company-name {
    position: relative;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    overflow: hidden;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, rgba(40, 93, 102, 0.05), rgba(248, 180, 0, 0.05));
    opacity: 1;
}

.company-name:hover {
    background: linear-gradient(45deg, rgba(40, 93, 102, 0.1), rgba(248, 180, 0, 0.1));
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    opacity: 0.8;
}

.company-name span {
    display: inline-block;
    position: relative;
    animation: slideIn 0.5s ease forwards;
    opacity: 0;
    transition: all 0.3s ease;
}

.company-name::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 8px;
}

.company-name:hover::before {
    opacity: 0.1;
}

.company-name::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.company-name:hover::after {
    transform: scaleX(1);
    transform-origin: left;
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px rgba(40, 93, 102, 0.2);
    }
    50% {
        text-shadow: 0 0 20px rgba(40, 93, 102, 0.4);
    }
    100% {
        text-shadow: 0 0 5px rgba(40, 93, 102, 0.2);
    }
}

.company-name:hover span {
    animation: glow 2s infinite;
    color: var(--primary-color);
    opacity: 0.9;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    margin-right: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.1rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    width: 100%;
}

/* القسم الرئيسي */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(40, 93, 102, 0.7), rgba(40, 93, 102, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
    max-width: 800px;
    margin: 0 auto;
    transform: translateY(-5%);
}

.hero-slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 2;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-content h1 {
    animation: fadeIn 1s ease-in-out;
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    animation: fadeIn 1s ease-in-out 0.3s;
    animation-fill-mode: both;
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
    animation: fadeIn 1s ease-in-out 0.6s;
    animation-fill-mode: both;
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.2rem;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #e6a800;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
}

/* الأزرار */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.cta-button:hover {
    background-color: #e6a800;
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

/* قسم المنتجات */
.products {
    padding: 5rem 0;
    background: linear-gradient(45deg, rgba(40, 93, 102, 0.05), rgba(248, 180, 0, 0.05));
}

.products h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 2.5rem;
    position: relative;
}

.products h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.product-category {
    margin-bottom: 4rem;
    text-align: center;
}

.product-category h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.product-category h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    perspective: 1000px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    transform-style: preserve-3d;
}

.product-card:nth-child(1) {
    transform: rotate(-5deg) translateY(20px);
}

.product-card:nth-child(2) {
    transform: rotate(5deg) translateY(-20px);
}

.product-card:nth-child(3) {
    transform: rotate(-3deg) translateY(10px);
}

.product-card:hover {
    transform: rotate(0) translateY(-15px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
    filter: brightness(0.9);
}

.product-card:hover img {
    transform: scale(1.1);
    filter: brightness(1);
}

.product-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1.5rem 0 1rem;
    text-align: center;
    position: relative;
}

.product-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.product-card p {
    color: #666;
    line-height: 1.6;
    text-align: center;
    padding: 0 1.5rem 1.5rem;
    margin: 0;
}

/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .product-card {
        transform: none !important;
    }

    .product-card:hover {
        transform: translateY(-10px) scale(1.01) !important;
    }
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.features-list li {
    color: #555;
    font-size: 1rem;
    display: flex;
    align-items: center;
    padding: 10px;
    background: rgba(40, 93, 102, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.features-list li:hover {
    background: rgba(40, 93, 102, 0.1);
    transform: translateX(5px);
}

.features-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1rem;
}

/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .product-item img {
        height: 300px;
    }

    .product-item h3 {
        font-size: 1.8rem;
        margin: 20px 0 15px;
    }

    .product-item p {
        font-size: 1rem;
        margin: 0 20px 20px;
    }

    .features-list {
    padding: 0 20px 20px;
        grid-template-columns: 1fr;
    }
}

/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .social-icons {
        margin: 1rem 0;
        justify-content: center;
    }
}

/* قسم المميزات */
.features {
    background-color: var(--white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(40, 93, 102, 0.03), rgba(248, 180, 0, 0.03));
    z-index: 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
    justify-items: center;
    text-align: center;
}

.feature {
    text-align: center;
    padding: 2.5rem;
    border-radius: 15px;
    transition: all 0.4s ease;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    max-width: 300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature:hover::before {
    opacity: 0.05;
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.feature:hover h3 {
    transform: translateY(-5px);
}

.feature p {
    color: #666;
    line-height: 1.6;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

.feature:hover p {
    color: #444;
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, rgba(40, 93, 102, 0.1), rgba(248, 180, 0, 0.1));
    border-radius: 50%;
    transition: all 0.4s ease;
    animation: floatIcon 3s ease-in-out infinite;
}

.feature-icon i {
    font-size: 2.8rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.feature:hover .feature-icon {
    transform: translateY(-10px);
    background: linear-gradient(45deg, rgba(40, 93, 102, 0.2), rgba(248, 180, 0, 0.2));
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature:hover .feature-icon i {
    transform: scale(1.2);
    color: var(--accent-color);
}

/* تأثير حركة الأيقونات */
@keyframes floatIcon {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

/* تأثيرات خاصة لكل أيقونة */
.feature:nth-child(1) .feature-icon {
    animation-delay: 0s;
}

.feature:nth-child(2) .feature-icon {
    animation-delay: 0.5s;
}

.feature:nth-child(3) .feature-icon {
    animation-delay: 1s;
}

.feature:nth-child(4) .feature-icon {
    animation-delay: 1.5s;
}

/* تأثير دوران خفيف للأيقونات */
.feature-icon i {
    animation: rotateIcon 10s linear infinite;
}

@keyframes rotateIcon {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* تأثير نبض للأيقونات عند التحويم */
.feature:hover .feature-icon i {
    animation: pulseIcon 1s ease-in-out infinite;
}

@keyframes pulseIcon {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* تأثيرات إضافية للأيقونات */
.feature:nth-child(1) .feature-icon i {
    animation: float 3s ease-in-out infinite;
}

.feature:nth-child(2) .feature-icon i {
    animation: pulse 2s ease-in-out infinite;
}

.feature:nth-child(3) .feature-icon i {
    animation: rotate 4s linear infinite;
}

.feature:nth-child(4) .feature-icon i {
    animation: bounce 2s ease-in-out infinite;
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature {
        padding: 2rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 2rem;
    }
}

/* تذييل الصفحة */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
    font-family: 'Cairo', sans-serif;
}

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

.footer-section h4 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
    padding-right: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* تنسيق قنوات التواصل في تذييل الصفحة */
.footer-social {
    margin-top: 1.5rem;
}

.footer-social h4 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1.2rem;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    transform: translateY(-3px);
}

.footer-social-links a:nth-child(1):hover {
    background: #1877f2; /* فيسبوك */
}

.footer-social-links a:nth-child(2):hover {
    background: #e4405f; /* انستجرام */
    }
    
.footer-social-links a:nth-child(3):hover {
    background: #000000; /* تيك توك */
}

.footer-social-links a:nth-child(4):hover {
    background: #25D366; /* واتساب */
}

.footer-social-links i {
    font-size: 1.2rem;
}

/* صفحة المنتجات */
.products-page {
    margin-top: 80px;
}

.page-header {
    background: linear-gradient(rgba(40, 93, 102, 0.9), rgba(40, 93, 102, 0.9)), url('../images/header-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 8rem 0 4rem;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.page-header p {
    font-size: 1.2rem;
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.products-grid {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.product-categories {
    display: grid;
    gap: 40px;
}

.product-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1fr 2fr;
    transition: transform 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 30px;
}

.product-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.product-info p {
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.6;
}

.features-list {
    list-style: none;
}

.features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.features-list i {
    color: var(--primary-color);
    margin-left: 10px;
}

.technical-specs {
    padding: 60px 0;
    background-color: white;
}

.technical-specs h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.spec-item {
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 10px;
}

.spec-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.spec-item h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* صفحة عن الشركة */
.about-page {
    margin-top: 80px;
}

.company-intro {
    padding: 80px 0;
    background-color: white;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.intro-text h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.intro-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.our-values {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.our-values h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    align-items: center;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.value-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    animation: floatIcon 3s ease-in-out infinite;
}

.value-item:nth-child(1) i {
    animation-delay: 0s;
}

.value-item:nth-child(2) i {
    animation-delay: 0.5s;
}

.value-item:nth-child(3) i {
    animation-delay: 1s;
}

.value-item:nth-child(4) i {
    animation-delay: 1.5s;
}

@keyframes floatIcon {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.value-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* تنسيقات للشاشات الصغيرة */
@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

.manufacturing {
    padding: 80px 0;
    background-color: white;
}

.manufacturing h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.manufacturing-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.manufacturing-text {
    width: 100%;
    margin-bottom: 2rem;
}

.manufacturing-text h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
}

.manufacturing-text h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.manufacturing-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.facility-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.facility-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #444;
    font-size: 1.1rem;
}

.facility-features i {
    color: var(--primary-color);
    font-size: 1.2rem;
    animation: floatIcon 3s ease-in-out infinite;
}

/* تنسيقات للشاشات الصغيرة */
@media (max-width: 768px) {
    .manufacturing-content {
        padding: 1rem;
    }
    
    .manufacturing-text h3 {
        font-size: 1.5rem;
    }
    
    .facility-features li {
        font-size: 1rem;
    }
}

.manufacturing-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.certifications {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.certifications h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-items: center;
}

.certification-item {
    text-align: center;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.certification-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
}

.certification-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* صفحة الاتصال */
.contact-page {
    margin-top: 80px;
}

.contact-info {
    padding: 80px 0;
    background-color: white;
}

.info-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2rem;
    margin: 2rem 0;
}

.info-item {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.info-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    animation: floatIcon 3s ease-in-out infinite;
}

/* تأثيرات حركية مختلفة لكل أيقونة */
.info-item:nth-child(1) i {
    animation: floatIcon 3s ease-in-out infinite;
}

.info-item:nth-child(2) i {
    animation: pulseIcon 2s ease-in-out infinite;
}

.info-item:nth-child(3) i {
    animation: rotateIcon 4s linear infinite;
}

.info-item:nth-child(4) i {
    animation: bounceIcon 2s ease-in-out infinite;
}

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

@keyframes pulseIcon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes rotateIcon {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

.info-item:hover i {
    animation-play-state: paused;
    color: var(--accent-color);
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.info-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* تنسيقات للشاشات الصغيرة */
@media (max-width: 768px) {
    .info-grid {
        flex-direction: column;
        gap: 1rem;
    }
    
    .info-item {
        padding: 1.5rem;
    }
}

.contact-form {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.form-container h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
}

.map {
    padding: 80px 0;
    background-color: white;
}

.map h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.map-container {
    height: 400px;
    background-color: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
}

.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* صفحة المشاريع */
.projects-page {
    margin-top: 80px;
}

.projects-categories {
    padding: 40px 0;
    background-color: white;
}

.categories-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    background: none;
    color: var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.projects-grid {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    position: relative;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.view-project {
    padding: 12px 25px;
    background-color: var(--accent-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.view-project:hover {
    background-color: #e6c200;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.project-info p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 0.9rem;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-meta i {
    color: var(--primary-color);
}

.project-stats {
    padding: 80px 0;
    background-color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px;
}

.stat-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--text-color);
    font-size: 1.1rem;
}

/* تنسيق العناوين */
.page-title {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
}

/* تنسيق النصوص */
.text-content {
    font-family: 'Cairo', sans-serif;
    font-weight: 400;
}

/* تنسيق الأزرار */
.btn {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

/* تنسيق النماذج */
input, textarea, select {
    font-family: 'Cairo', sans-serif;
}

/* تنسيق التذييل */
footer {
    font-family: 'Cairo', sans-serif;
}

/* تنسيق البطاقات */
.card-title {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
}

.card-text {
    font-family: 'Cairo', sans-serif;
    font-weight: 400;
}

/* تنسيق الروابط */
a {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

/* تنسيق القوائم */
ul li {
    font-family: 'Cairo', sans-serif;
}

/* تنسيق الجداول */
table {
    font-family: 'Cairo', sans-serif;
}

th, td {
    font-family: 'Cairo', sans-serif;
}

/* تنسيق النصوص المهمة */
.important-text {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
}

/* تنسيق النصوص الثانوية */
.secondary-text {
    font-family: 'Cairo', sans-serif;
    font-weight: 400;
}

/* تنسيق العناوين الفرعية */
.subtitle {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

/* تنسيق النصوص الصغيرة */
.small-text {
    font-family: 'Cairo', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
}

/* تنسيق النصوص الكبيرة */
.large-text {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
}

/* تأثيرات إضافية */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تأثيرات الصور */
img {
    transition: var(--transition);
}

img:hover {
    transform: scale(1.02);
}

/* تأثيرات الأزرار */
button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    background-color: var(--primary-color);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* تأثيرات النماذج */
input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(40, 93, 102, 0.1);
}

/* تأثيرات البطاقات */
.card {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

/* تأثيرات القوائم */
ul {
    list-style: none;
}

ul li {
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: 0.5rem;
}

ul li::before {
    content: '•';
    position: absolute;
    right: 0;
    color: var(--primary-color);
}

/* تأثيرات الأيقونات */
i {
    transition: var(--transition);
}

i:hover {
    transform: scale(1.2);
    color: var(--accent-color);
}

.story-video {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.story-video:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.story-video video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    transition: all 0.4s ease;
}

.story-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(40, 93, 102, 0.2), rgba(248, 180, 0, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    border-radius: 15px;
}

.story-video:hover::before {
    opacity: 1;
}

.story-video .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.4s ease;
}

.story-video .play-button i {
        font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.story-video:hover .play-button {
    background: var(--accent-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.story-video:hover .play-button i {
    color: white;
}

/* تنسيقات للشاشات الصغيرة */
@media (max-width: 768px) {
    .story-video {
        max-width: 100%;
        margin: 1rem auto;
    }
    
    .story-video .play-button {
        width: 60px;
        height: 60px;
    }
    
    .story-video .play-button i {
        font-size: 1.5rem;
    }
}

/* تنسيقات للشاشات الصغيرة */
@media (max-width: 768px) {
    .social-icons {
        margin: 1rem 0;
        justify-content: center;
    }
}

/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .footer-social-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

/* تنسيقات خاصة لشاشات iPhone */
@media only screen and (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3),
       only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3),
       only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3),
       only screen and (device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) {
    
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: white;
    }

    .hero {
        margin-top: 80px;
    }

    .page-header {
        margin-top: 80px;
    }

    .nav-links {
        display: none;
    }

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

    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--primary-color);
        cursor: pointer;
    }

    .product-card,
    .feature,
    .product-item,
    .project-card {
        transform: none !important;
        transition: transform 0.3s ease;
    }

    .product-card:hover,
    .feature:hover,
    .product-item:hover,
    .project-card:hover {
        transform: translateY(-5px) !important;
    }
    
    .footer-social-links a {
        width: 40px;
        height: 40px;
    }

    .footer-social-links i {
        font-size: 1.2rem;
    }
}

/* تنسيقات إضافية للشاشات الصغيرة */
@media screen and (max-width: 375px) {
    .container {
        padding: 0 0.8rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

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

    .cta-button {
        padding: 0.7rem 1.3rem;
        font-size: 1rem;
    }
}

/* تنسيقات خاصة لشاشات iPhone */
@media only screen and (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3),
       only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3),
       only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3),
       only screen and (device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) {
    
    /* تنسيق القائمة العلوية */
    .main-nav .container {
        padding: 0.5rem 1rem;
    }

    .logo img {
        height: 40px;
    }

    .company-name span {
        font-size: 0.8rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.3rem 0.5rem;
    }

    /* تنسيق القسم الرئيسي */
    .hero-content h1 {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
    }

    /* تنسيق قسم المنتجات */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .product-card {
        transform: none !important;
    }

    .product-card:hover {
        transform: translateY(-5px) scale(1.01) !important;
    }

    .product-card img {
        height: 200px;
    }

    .product-card h3 {
        font-size: 1.3rem;
        margin: 1rem 0;
    }

    .product-card p {
        font-size: 0.95rem;
        padding: 0 1rem 1rem;
    }

    /* تنسيق قسم المميزات */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .feature {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

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

    .feature h3 {
        font-size: 1.2rem;
    }

    .feature p {
        font-size: 0.95rem;
    }

    /* تنسيق الفوتر */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section {
        padding: 0 1rem;
    }

    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .footer-section p {
        font-size: 0.95rem;
    }

    .footer-social-links {
        justify-content: center;
        margin-top: 1rem;
    }

    .footer-social-links a {
        width: 35px;
        height: 35px;
    }

    .footer-social-links i {
        font-size: 1.1rem;
    }

    /* تنسيق صفحة المنتجات */
    .product-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .product-item {
        transform: none !important;
    }

    .product-item:hover {
        transform: translateY(-5px) scale(1.01) !important;
    }

    .product-info {
        padding: 1rem;
    }

    .product-info h3 {
        font-size: 1.3rem;
        margin: 0.5rem 0;
    }

    .product-info p {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .features-list {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .features-list li {
        font-size: 0.95rem;
        padding: 0.5rem;
    }

    /* تنسيق صفحة الاتصال */
    .form-container {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 1rem;
        font-size: 1rem;
    }

    /* تنسيق صفحة المشاريع */
    .projects-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .project-card {
        transform: none !important;
    }

    .project-card:hover {
        transform: translateY(-5px) scale(1.01) !important;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-info {
        padding: 1rem;
    }

    .project-info h3 {
        font-size: 1.3rem;
    }

    .project-info p {
        font-size: 0.95rem;
    }
}

/* تنسيقات إضافية للشاشات الصغيرة */
@media screen and (max-width: 375px) {
    .container {
        padding: 0 0.8rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

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

    .cta-button {
        padding: 0.7rem 1.3rem;
        font-size: 1rem;
    }
}

/* تنسيقات الهواتف المحمولة للصفحة الرئيسية */
@media screen and (max-width: 768px) {
    /* تنسيق القائمة العلوية */
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav .container {
        padding: 0.5rem 1rem;
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .logo img {
        height: 40px;
    }

    .company-name span {
        font-size: 0.8rem;
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        gap: 0.5rem;
    }

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

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.8rem;
        text-align: center;
        border-radius: 5px;
        background: rgba(40, 93, 102, 0.05);
    }

    .nav-links a:hover {
        background: rgba(40, 93, 102, 0.1);
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--primary-color);
        cursor: pointer;
        padding: 0.5rem;
    }

    /* تنسيق القسم الرئيسي */
    .hero {
        margin-top: 60px;
        height: auto;
        min-height: 100vh;
        padding: 2rem 0;
    }

    .hero-content {
        padding: 2rem 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .cta-button {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        text-align: center;
    }

    /* تنسيق قسم المنتجات */
    .products {
        padding: 3rem 1rem;
    }

    .products h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-card {
        margin: 0 auto;
        max-width: 400px;
        transform: none !important;
    }

    .product-card:hover {
        transform: translateY(-5px) !important;
    }

    .product-card img {
        height: 250px;
    }

    .product-card h3 {
        font-size: 1.5rem;
        margin: 1rem 0;
    }

    .product-card p {
        font-size: 1rem;
        padding: 0 1rem 1rem;
    }

    /* تنسيق قسم المميزات */
    .features {
        padding: 3rem 1rem;
    }

    .features h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature {
        margin: 0 auto;
        max-width: 400px;
        transform: none !important;
    }

    .feature:hover {
        transform: translateY(-5px) !important;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
    }

    .feature-icon i {
        font-size: 2rem;
    }

    .feature h3 {
        font-size: 1.3rem;
    }

    .feature p {
        font-size: 1rem;
    }

    /* تنسيق الفوتر */
    footer {
        padding: 3rem 1rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section {
        padding: 0;
    }

    .footer-section h4 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .footer-section p {
        font-size: 1rem;
    }

    .footer-social {
        margin-top: 2rem;
    }

    .footer-social-links {
        justify-content: center;
        margin-top: 1rem;
    }

    .footer-social-links a {
        width: 45px;
        height: 45px;
    }

    .footer-social-links i {
        font-size: 1.3rem;
    }

    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1rem;
    }
}

/* تنسيقات خاصة للشاشات الصغيرة جداً */
@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

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

    .product-card,
    .feature {
        max-width: 100%;
    }

    .product-card img {
        height: 200px;
    }

    .footer-social-links a {
        width: 40px;
        height: 40px;
    }

    .footer-social-links i {
        font-size: 1.2rem;
    }
}

/* تنسيق زر التوجل والقائمة المنسدلة */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-btn i {
    transition: transform 0.3s ease;
}

.mobile-menu-btn.active i {
    transform: rotate(90deg);
}

@media screen and (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 1rem;
        left: 1rem;
    }

    [dir="ltr"] .mobile-menu-btn {
        left: auto;
        right: 1rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 5rem 1rem 1rem;
        flex-direction: column;
        gap: 1rem;
        z-index: 1000;
        transition: all 0.3s ease;
    }

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

    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links li:nth-child(4) { transition-delay: 0.4s; }
    .nav-links li:nth-child(5) { transition-delay: 0.5s; }

    .nav-links a {
        display: block;
        padding: 1rem;
        text-align: center;
        border-radius: 8px;
        background: rgba(40, 93, 102, 0.05);
        font-size: 1.2rem;
        transition: all 0.3s ease;
    }

    .nav-links a:hover {
        background: rgba(40, 93, 102, 0.1);
        transform: translateX(5px);
    }

    .nav-links a.active {
        background: var(--primary-color);
        color: white;
    }

    .social-icons {
        margin-top: 2rem;
        justify-content: center;
    }

    .social-icons a {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
} 