/* 
 * ملف التنسيق الرئيسي لموقع مهام لتقنية المعلومات
 * تم إنشاؤه بتاريخ: 26 مايو 2025
 */

/* ===== المتغيرات العامة ===== */
:root {
    /* الألوان الرئيسية */
    --primary-color: #0056b3;
    --secondary-color: #00a8e8;
    --accent-color: #ff6b6b;
    --dark-color: #333333;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    
    /* الخطوط */
    --font-primary: 'Cairo', 'Tajawal', sans-serif;
    --font-secondary: 'Tajawal', 'Cairo', sans-serif;
    
    /* الحجم والمسافات */
    --container-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

/* ===== إعادة تعيين وأساسيات ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--dark-color);
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

a:hover {
    color: var(--secondary-color);
}

ul, ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== الفئات المساعدة ===== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--light-color);
}

.bg-dark {
    background-color: var(--dark-color);
    color: #ffffff;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 700;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin-top: 15px;
}

.text-center .section-title:after {
    margin-left: auto;
    margin-right: auto;
}

/* ===== الأزرار ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #004494;
    color: #ffffff;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #0090c5;
    color: #ffffff;
}

.btn-accent {
    background-color: var(--accent-color);
    color: #ffffff;
}

.btn-accent:hover {
    background-color: #ff5252;
    color: #ffffff;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* ===== الهيدر ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all var(--transition-speed) ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.logo a {
    display: flex;
    align-items: center;
    color: var(--dark-color);
    font-weight: 700;
    font-size: 24px;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo-text {
    font-weight: 700;
}

.nav-menu {
    display: flex;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0 15px;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.language-switcher {
    display: flex;
    align-items: center;
}

.language-switcher a {
    margin: 0 5px;
    font-weight: 600;
    color: var(--gray-color);
}

.language-switcher a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* ===== قسم البطل (Hero) ===== */
.hero {
    padding: 160px 0 80px;
    background-color: var(--light-color);
    overflow: hidden;
}

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

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero-text {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== قسم الخدمات ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.service-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-description {
    margin-bottom: 20px;
    color: var(--gray-color);
}

/* ===== قسم لماذا تختارنا ===== */
.why-us-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.why-us-image {
    flex: 1;
}

.why-us-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.why-us-content {
    flex: 1;
}

.why-us-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.why-us-text {
    margin-bottom: 30px;
}

.why-us-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 86, 179, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-text p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* ===== قسم الإحصائيات ===== */
.stats {
    background-color: var(--primary-color);
    padding: 60px 0;
    color: #ffffff;
}

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

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-text {
    font-size: 18px;
    font-weight: 600;
}

/* ===== قسم المشاريع ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.project-content {
    padding: 30px;
}

.project-category {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.project-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.project-description {
    color: var(--gray-color);
    margin-bottom: 20px;
}

/* ===== قسم الشهادات ===== */
.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
    padding: 30px;
    background-color: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-item {
    text-align: center;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    padding: 0 30px;
}

.testimonial-text:before,
.testimonial-text:after {
    content: '"';
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
}

.testimonial-text:before {
    top: -20px;
    left: 0;
}

.testimonial-text:after {
    bottom: -40px;
    right: 0;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
}

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

.testimonial-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.testimonial-position {
    color: var(--gray-color);
}

.slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.slider-prev,
.slider-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed) ease;
}

.slider-prev:hover,
.slider-next:hover {
    background-color: var(--secondary-color);
}

/* ===== قسم الاتصال (CTA) ===== */
.cta {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* ===== الفوتر ===== */
.footer {
    background-color: var(--dark-color);
    color: #ffffff;
    padding: 80px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about {
    grid-column: span 2;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed) ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.footer-title {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #ffffff;
    opacity: 0.8;
    transition: all var(--transition-speed) ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-contact-icon {
    margin-right: 15px;
    color: var(--primary-color);
}

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

/* ===== صفحة الهيدر ===== */
.page-header {
    padding: 160px 0 80px;
    background-color: var(--primary-color);
    color: #ffffff;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 48px;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== صفحة من نحن ===== */
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1;
}

.vision-mission-values {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.vmv-item {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.vmv-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.vmv-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.vmv-text {
    color: var(--gray-color);
}

.vmv-list {
    text-align: left;
    list-style: none;
    padding: 0;
}

.vmv-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.vmv-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all var(--transition-speed) ease;
}

.team-member:hover .team-image img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 0;
    background-color: rgba(0, 0, 0, 0.7);
    transition: all var(--transition-speed) ease;
}

.team-member:hover .team-social {
    bottom: 0;
}

.team-social .social-link {
    width: 35px;
    height: 35px;
    background-color: var(--primary-color);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-name {
    font-size: 20px;
    margin-bottom: 5px;
}

.team-position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-bio {
    color: var(--gray-color);
    margin-bottom: 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.partner-logo {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
    max-width: 120px;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-speed) ease;
}

.partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* ===== صفحة الخدمات ===== */
.section-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 18px;
}

.service-detail-container {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
}

.service-detail-container.reverse {
    flex-direction: row-reverse;
}

.service-detail-image {
    flex: 1;
}

.service-detail-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-detail-content {
    flex: 1;
}

.service-features {
    margin: 30px 0;
}

.service-features h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-features ul {
    list-style: none;
    padding: 0;
}

.service-features li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.service-features li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary-color);
}

.service-technologies h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.tech-tag {
    background-color: rgba(0, 86, 179, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.service-process {
    margin: 30px 0;
}

.service-process h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-process ol {
    padding-left: 20px;
}

.service-process li {
    margin-bottom: 10px;
}

/* ===== صفحة المشاريع ===== */
.projects-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

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

/* ===== صفحة تفاصيل المشروع ===== */
.project-details {
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
}

.project-info {
    flex: 1;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
}

.project-info-item {
    margin-bottom: 20px;
}

.project-info-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.project-description {
    flex: 2;
}

.project-features {
    list-style: none;
    padding: 0;
}

.project-features li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.project-features li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary-color);
}

.project-gallery {
    margin-bottom: 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all var(--transition-speed) ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.project-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== صفحة التواصل ===== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-info-item {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all var(--transition-speed) ease;
}

.contact-info-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.contact-info-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.contact-info-text {
    color: var(--gray-color);
    margin-bottom: 0;
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-form-container {
    flex: 1;
}

.contact-map {
    flex: 1;
}

.map-container {
    height: 100%;
    min-height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form {
    background-color: #ffffff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group .required {
    color: var(--danger-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 16px;
    transition: all var(--transition-speed) ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.alert {
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid var(--success-color);
    color: var(--success-color);
}

.alert-error {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
}

.social-connect {
    margin-top: 50px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-icons .social-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all var(--transition-speed) ease;
}

.social-icons .social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* ===== التأثيرات البصرية ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.zoom-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* ===== الاستجابة للأجهزة المختلفة ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 22px;
    }
}

@media (max-width: 992px) {
    .hero-container,
    .about-container,
    .why-us-container,
    .service-detail-container,
    .service-detail-container.reverse,
    .contact-container {
        flex-direction: column;
    }
    
    .hero-content,
    .about-content,
    .why-us-content,
    .service-detail-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .project-details {
        flex-direction: column;
    }
    
    .footer-about {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 70px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: #ffffff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: all var(--transition-speed) ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-item {
        margin: 10px 0;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-title {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .team-grid,
    .vision-mission-values,
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .project-navigation {
        flex-direction: column;
        gap: 15px;
    }
}

/* ===== دعم اللغة العربية ===== */
[dir="rtl"] {
    /* تعديلات عامة */
    text-align: right;
    
    /* تعديلات الهيدر */
    .logo img {
        margin-right: 0;
        margin-left: 10px;
    }
    
    /* تعديلات العناوين */
    .section-title:after {
        margin-right: 0;
    }
    
    /* تعديلات القوائم */
    .service-features li,
    .project-features li {
        padding-left: 0;
        padding-right: 30px;
    }
    
    .service-features li i,
    .project-features li i {
        left: auto;
        right: 0;
    }
    
    .vmv-list li {
        padding-left: 0;
        padding-right: 25px;
    }
    
    .vmv-list li:before {
        left: auto;
        right: 0;
    }
    
    /* تعديلات الأيقونات */
    .footer-contact-icon {
        margin-right: 0;
        margin-left: 15px;
    }
    
    /* تعديلات العناوين الفرعية */
    .footer-title:after {
        left: auto;
        right: 0;
    }
    
    /* تعديلات التأثيرات */
    .slide-right {
        transform: translateX(50px);
    }
    
    .slide-right.visible {
        transform: translateX(0);
    }
    
    .slide-left {
        transform: translateX(-50px);
    }
    
    .slide-left.visible {
        transform: translateX(0);
    }
}

/* ===== تحميل الصفحة ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 86, 179, 0.2);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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