/* تحسينات الهيدر */
header {
    background-color: var(--white);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo img {
    height: 50px;
    object-fit: contain;
    transition: height 0.3s ease;
}

nav {
    display: flex;
    gap: 30px;
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    right: auto;
    left: 0;
}

/* تحسينات للموبايل */
@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }

    .logo img {
        height: 40px;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-end;
        padding: 80px 20px 20px;
        gap: 15px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
    }

    nav.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        width: 100%;
        text-align: right;
        padding: 12px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-link::after {
        bottom: -1px;
        height: 1px;
    }

    .burger-menu {
        display: block;
        width: 25px;
        height: 20px;
        position: relative;
        cursor: pointer;
        z-index: 1001;
    }

    .burger-menu span {
        display: block;
        position: absolute;
        height: 2px;
        width: 100%;
        background: var(--text-color);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .burger-menu span:nth-child(1) { top: 0; }
    .burger-menu span:nth-child(2) { top: 9px; }
    .burger-menu span:nth-child(3) { bottom: 0; }

    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }

    .burger-menu.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }

    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg);
        bottom: 9px;
    }
}

/* تحسينات للشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .header-container {
        padding: 0 15px;
    }

    .logo img {
        height: 35px;
    }

    nav {
        width: 100%;
        padding: 70px 20px 20px;
    }

    .nav-link {
        font-size: 1rem;
        padding: 10px 0;
    }
}

/* متغيرات CSS */
:root {
    --primary-color: #2563eb;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* إعدادات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* الهيدر */

/* الهيدر */
header {
    background-color: var(--white);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    object-fit: contain;
}

/* القائمة */
nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* القائمة المتنقلة */
.burger-menu {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

.burger-menu span:nth-child(1) { top: 0; }
.burger-menu span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger-menu span:nth-child(3) { bottom: 0; }

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 11px;
}

/* الأزرار */
.btn {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--white);
}

.primary-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* التجاوب */
@media (max-width: 768px) {
    /* القائمة المتنقلة */
    .burger-menu {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 80px 20px;
        gap: 20px;
        box-shadow: var(--shadow);
        transition: var(--transition);
    }

    nav.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    /* التخطيط */
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .content h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .content h1 {
        font-size: 1.8rem;
    }
    
    .content p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .features-list li {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* قسم من نحن */
.about-section {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    z-index: 0;
}

.about-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    z-index: 1;
}

.about-title {
    margin-bottom: 30px;
}

.about-title .subtitle {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.about-title h3 {
    font-size: 2.2rem;
    color: var(--text-color);
    line-height: 1.3;
    margin-bottom: 20px;
}

.about-description p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

/* الإحصائيات */
.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item h4 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.stat-item p {
    color: #666;
    font-size: 0.9rem;
}

/* قائمة المميزات */
.features-list {
    list-style: none;
    margin: 40px 0;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.features-list li:hover {
    transform: translateX(-5px);
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.feature-text h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-text p {
    color: #666;
    font-size: 0.9rem;
}

/* صورة القسم */
.about-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.image-container:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow);
}

.experience-badge .years {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    opacity: 0.9;
}

.about-cta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* القسم الرئيسي */
.hero-section {
    min-height: 100vh;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#2563eb20 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 700;
}

.hero-text p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.feature-text p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.primary-btn {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 10px 20px -10px rgba(37, 99, 235, 0.5);
}

.primary-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.secondary-btn {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.secondary-btn:hover {
    background: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-stats {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--white);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.stat p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom right, transparent 49%, var(--white) 50%);
}

/* التجاوب للقسم الرئيسي */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-features {
        justify-content: center;
    }

    .feature {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        right: 50%;
        transform: translateX(50%);
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* قسم الخدمات */
.services-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(335deg, #efeeee 0%, #f8fafc 100%);
    overflow: hidden;
}

.services-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#2563eb15 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-inner {
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 350px;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon i {
    font-size: 35px;
    color: var(--white);
}

.service-inner h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-inner p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-footer {
    margin-top: auto;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateX(-5px);
}

.service-btn i {
    transition: var(--transition);
}

.service-btn:hover i {
    transform: translateX(-5px);
}

/* أنماط قسم CTA في الخدمات */
.services-cta {
    margin: 4rem auto;
    max-width: 1000px;
    padding: 0 1rem;
}

.cta-card {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('path-to-pattern.svg') no-repeat;
    background-size: cover;
    opacity: 0.1;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.cta-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-icon i {
    font-size: 24px;
    color: #ffffff;
}

.cta-text {
    flex-grow: 1;
}

.cta-text h3 {
    color: #ffffff;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

.cta-btn {
    background: #ffffff;
    color: #2563eb;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.cta-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.cta-btn i {
    font-size: 0.875rem;
}

/* التجاوب مع الشاشات المختلفة */
@media (max-width: 991px) {
    .services-cta {
        margin: 3rem auto;
    }
    
    .cta-card {
        padding: 2.5rem 2rem;
    }
    
    .cta-text h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cta-text {
        margin: 0 auto;
    }
    
    .cta-btn {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .services-cta {
        margin: 2rem auto;
    }
    
    .cta-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-text h3 {
        font-size: 1.25rem;
    }
    
    .cta-text p {
        font-size: 0.875rem;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

.contact-section {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    text-align: center;
}

.contact-info-item {
    margin-bottom: 30px;
}

.contact-info-item i {
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-info-item h3 {
    margin-bottom: 10px;
}

.contact-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* تنسيق قسم الاتصال المنبثق */
.contact-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.contact-popup.active {
    opacity: 1;
    visibility: visible;
}

.contact-popup-content {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(-50px);
    transition: all 0.3s ease;
}

.contact-popup.active .contact-popup-content {
    transform: translateY(0);
}

.close-popup {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.close-popup:hover {
    color: #1f2937;
    transform: rotate(90deg);
}

.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

/* أزرار الواتساب */
.whatsapp-btn,
.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.whatsapp-btn:hover,
.whatsapp-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    background-color: #22c35e;
}

.whatsapp-btn i,
.whatsapp-link i {
    font-size: 1.2em;
}

.popup-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .contact-popup-content {
        padding: 1.5rem;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .contact-header h3 {
        font-size: 1.3rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.6rem;
    }
}

/* الفوتر */
.footer {
    background: #1f2937;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    right: 0;
    width: 50px;
    height: 2px;
    background: #3b82f6;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3b82f6;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #9ca3af;
}

.contact-info li i {
    width: 20px;
    margin-left: 1rem;
    color: #3b82f6;
}

.contact-info li span {
    flex: 1;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #9ca3af;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #3b82f6;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* تحسينات إضافية */
[data-aos] {
    opacity: 0;
    transition: var(--transition);
}

[data-aos].aos-animate {
    opacity: 1;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* قسم الأسئلة الشائعة */
.faq-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.faq-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
}

.faq-header:hover {
    background-color: var(--light-bg);
}

.faq-toggle {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.faq-toggle i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

.faq-question {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
    flex-grow: 1;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    background: var(--light-bg);
    padding: 0 1.5rem;
}

.faq-content p {
    color: var(--text-color);
    line-height: 1.8;
    white-space: pre-line;
    margin: 0;
}

.faq-item.active .faq-content {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-list {
        padding: 0 1rem;
    }

    .faq-header {
        padding: 1.2rem;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-content {
        font-size: 0.95rem;
    }

    .faq-toggle {
        width: 25px;
        height: 25px;
    }
}

/* تأثيرات الحركة */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .faq-categories {
        flex-direction: column;
        align-items: stretch;
        padding: 0 1rem;
    }

    .category-btn {
        width: 100%;
        justify-content: center;
    }

    .faq-header h3 {
        font-size: 1rem;
    }

    .faq-content {
        padding: 0 1rem;
    }

    .faq-item.active .faq-content {
        padding: 1rem;
    }
}

/* تنسيقات أيقونات التواصل الاجتماعي */
.social-media {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon i {
    font-size: 18px;
}

.social-icon:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-3px);
}

/* تخصيص لكل منصة */
.social-icon[title="تويتر"]:hover {
    background: #1DA1F2;
}

.social-icon[title="فيسبوك"]:hover {
    background: #4267B2;
}

.social-icon[title="انستغرام"]:hover {
    background: #E4405F;
}

.social-icon[title="لينكد إن"]:hover {
    background: #0077B5;
}

@media (max-width: 768px) {
    .social-media {
        justify-content: center;
    }
}

/* تنسيقات معلومات التواصل للموبايل */
.mobile-contact-info {
    display: none;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-item span {
    font-size: 0.9rem;
    line-height: 1.4;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.social-link {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* تعديلات للموبايل */
@media (max-width: 768px) {
    .mobile-contact-info {
        display: block;
    }
    
    nav {
        padding-bottom: 30px;
    }
    
    .contact-item {
        justify-content: flex-end;
    }
    
    .social-links {
        justify-content: center;
    }
}
