/* =========================================
   1. Base Styles & Variables
   ========================================= */
:root { 
    --dark-blue: #0F172A; 
    --brand-red: #DD183B; 
    --white: #FFFFFF; 
    --bg-light: #f8fafc; 
    --text-gray: #64748b;
    /* Dark Mode Defaults */
    --bg-body: #f8fafc;
    --text-main: #0F172A;
    --card-bg: #FFFFFF;
    --border-color: #eeeeee;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Roboto', sans-serif; scroll-behavior: smooth; }
body { background-color: var(--bg-body); color: var(--text-main); overflow-x: hidden; text-align: left; transition: background 0.3s, color 0.3s; }

/* =========================================
   2. Header & Navigation
   ========================================= */
header { background: var(--dark-blue); padding: 10px 5%; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1000; border-bottom: 3px solid var(--brand-red); height: 70px; }
.logo img { height: 45px; width: auto; filter: brightness(1.2); }
nav ul { list-style: none; display: flex; align-items: center; padding: 0; margin: 0; }
nav ul li { margin: 0 15px; }
nav ul li a { color: var(--white); text-decoration: none; font-weight: bold; font-size: 15px; transition: 0.3s; }
nav ul li a:hover { color: var(--brand-red); }

.header-actions { display: flex; align-items: center; gap: 15px; }
.btn-header { background: var(--brand-red); color: white; padding: 8px 18px; border-radius: 25px; text-decoration: none; font-weight: bold; font-size: 13px; border: 2px solid var(--brand-red); cursor: pointer; white-space: nowrap; }
.menu-toggle { color: white; font-size: 24px; cursor: pointer; display: none; background: none; border: none; padding: 5px; }

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; left: -100%; width: 80%; height: 100%; background: var(--dark-blue); z-index: 2001; transition: 0.4s ease-in-out; padding: 30px 20px; box-shadow: 10px 0 30px rgba(0,0,0,0.5); visibility: hidden; }
.mobile-menu.active { left: 0; visibility: visible; }
.mobile-menu .close-btn { color: var(--brand-red); font-size: 35px; cursor: pointer; background: none; border: none; width: 100%; text-align: right; }
.mobile-menu .m-logo { text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; margin-bottom: 20px; background: transparent !important; }
.mobile-menu .m-logo img { background: transparent !important; }
.mobile-menu ul { list-style: none; padding: 0; }
.mobile-menu ul li { border-bottom: 1px solid rgba(255,255,255,0.1); padding: 15px 0; }
.mobile-menu ul li a { color: white; text-decoration: none; font-size: 1.1rem; display: block; font-weight: bold; }

/* =========================================
   3. Common Components (Buttons, Titles)
   ========================================= */
section { padding: 80px 5%; }
.btn-action { background: var(--brand-red); color: white; padding: 15px 45px; text-decoration: none; border-radius: 50px; font-weight: bold; font-size: 1.1rem; display: inline-block; transition: 0.3s; cursor: pointer; border: none; }
.btn-action:hover { background: #b91330; transform: translateY(-3px); }
.btn-large { background: var(--brand-red); color: white; padding: 15px 50px; border-radius: 50px; text-decoration: none; font-weight: bold; font-size: 1.2rem; display: inline-block; transition: 0.3s; cursor: pointer; border: none; }
.btn-large:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(221, 24, 59, 0.3); }

.sec-title { text-align: center; margin-bottom: 50px; }
.sec-title h2 { font-size: 2.5rem; color: var(--dark-blue); margin-bottom: 15px; }
.sec-subtitle { color: var(--text-gray); font-size: 1.1rem; }

/* =========================================
   4. Hero & Slider (Shared)
   ========================================= */
.page-hero { position: relative; height: 350px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: #0F172A; }
.page-hero img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.hero-content { position: relative; z-index: 2; color: white; padding: 20px; }
.hero-content h1 { font-size: 3rem; margin-bottom: 15px; font-weight: 900; }
.breadcrumb { font-size: 1rem; color: #cbd5e1; }
.breadcrumb a { color: var(--brand-red); text-decoration: none; font-weight: bold; }

.swiper { width: 100%; height: 85vh; }
.swiper-slide { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.swiper-slide::after { content: ''; position: absolute; inset: 0; background: rgba(15, 23, 42, 0.6); }
.slide-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.slide-content { position: relative; z-index: 10; text-align: center; color: white; padding: 0 10%; max-width: 900px; }
.slide-content h1 { font-size: 3.5rem; margin-bottom: 20px; font-weight: 900; line-height: 1.2; }
.slide-content span { color: var(--brand-red); }
.slide-content p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }

/* =========================================
   5. About Page Specifics
   ========================================= */
.about-story { display: flex; flex-wrap: wrap; gap: 50px; align-items: center; margin-bottom: 80px; }
.about-text { flex: 1; min-width: 300px; line-height: 1.8; }
.about-text h2 { font-size: 2.2rem; color: var(--dark-blue); margin-bottom: 20px; position: relative; display: inline-block; }
.about-text h2::after { content: ''; width: 50%; height: 4px; background: var(--brand-red); position: absolute; bottom: -10px; left: 0; }
.about-text p { color: var(--text-gray); line-height: 1.8; margin-bottom: 20px; font-size: 1.05rem; }
.about-image img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-left: 10px solid var(--brand-red); }

/* Vision Cards */
.vm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.vm-card { background: var(--card-bg); padding: 40px; border-radius: 15px; border: 1px solid var(--border-color); text-align: center; transition: 0.3s; }
.vm-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); border-bottom: 5px solid var(--brand-red); }
.vm-card i { font-size: 50px; color: var(--brand-red); margin-bottom: 20px; }
.vm-card h3 { color: var(--dark-blue); margin-bottom: 15px; font-size: 1.5rem; }
.vm-card p { color: var(--text-gray); line-height: 1.7; }

/* Stats */
.stats-section { background: var(--dark-blue); color: white; padding: 60px 5%; text-align: center; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.stat-item h3 { font-size: 3rem; color: var(--brand-red); font-weight: 900; margin-bottom: 10px; }
.stat-item p { font-size: 1.1rem; opacity: 0.9; }

/* =========================================
   6. Home Page (Index) Specifics
   ========================================= */
.about-box { display: flex; flex-wrap: wrap; gap: 50px; align-items: center; }
.about-text-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    text-align: left;
    flex: 1; 
    min-width: 300px;
}
.about-img { flex: 1; min-width: 300px; }
.about-showcase-img { width: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.deco-line { position: absolute; top: 0; left: 0; width: 5px; height: 100%; background: var(--brand-red); }
.about-heading { margin-top: 0; font-size: 1.8rem; line-height: 1.3; color: var(--text-main); }
.about-desc { font-size: 1.05rem; line-height: 1.8; color: var(--text-main); margin-top: 15px; }

/* Features List (Columns) */
.feature-list-container { margin: 25px 0; column-count: 2; column-gap: 20px; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-item { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text-main); font-size: 1rem; }
.feature-icon { color: var(--brand-red); flex-shrink: 0; }
.about-note { font-size: 1rem; line-height: 1.7; color: var(--text-gray); border-top: 1px solid var(--border-color); padding-top: 15px; }

/* Service Cards (Grid 6) */
.grid-6 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.card { background: var(--card-bg); padding: 40px 25px; border-radius: 15px; text-align: center; transition: 0.4s; border: 1px solid var(--border-color); cursor: pointer; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-10px); border-bottom: 5px solid var(--brand-red); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.card i { font-size: 50px; color: var(--brand-red); margin-bottom: 20px; }
.card h3 { font-size: 1.4rem; color: var(--dark-blue); margin-bottom: 10px; }
.card p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.6; }

/* CTA Section */
.cta-section { text-align: center; background: var(--card-bg); border-top: 1px solid var(--border-color); }
.cta-section h2 { font-size: 2.2rem; color: var(--dark-blue); margin-bottom: 20px; }

/* FAQ Section */
.faq-section { background: var(--bg-body); }
.faq-container { max-width: 900px; margin: 0 auto; }
.faq-item { background: var(--card-bg); margin-bottom: 15px; border-radius: 12px; border: 1px solid var(--border-color); overflow: hidden; transition: 0.3s; }
.faq-question { padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; color: var(--dark-blue); width: 100%; border: none; background: none; text-align: left; font-size: 1.1rem; }
.faq-answer { max-height: 0; padding: 0 25px; overflow: hidden; transition: 0.4s ease; color: var(--text-gray); line-height: 1.8; }
.faq-item.active .faq-answer { max-height: 500px; padding: 20px 25px; border-top: 1px solid var(--border-color); }
.faq-question i { color: var(--brand-red); transition: 0.3s; }
.faq-item.active .faq-question i { transform: rotate(45deg); }

/* =========================================
   7. Footer, Modal & Floating
   ========================================= */
footer { background: var(--dark-blue); color: white; padding: 60px 5% 20px; border-top: 5px solid var(--brand-red); text-align: left; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.footer-col h4 { color: var(--brand-red); margin-bottom: 20px; font-weight: bold; }
.social a { color: white; margin-right: 15px; font-size: 1.5rem; transition: 0.3s; }
footer a { transition: 0.3s; }
footer a:hover, .social a:hover { color: var(--brand-red) !important; }

.floating { position: fixed; bottom: 30px; right: 30px; left: auto; z-index: 1000; display: flex; flex-direction: column; gap: 10px; }
.f-btn { width: 55px; height: 55px; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: white; font-size: 25px; text-decoration: none; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }

.modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.9); display: none; align-items: center; justify-content: center; z-index: 3000; padding: 20px; }
.modal-content { background: var(--card-bg); width: 100%; max-width: 500px; border-radius: 20px; padding: 40px; position: relative; text-align: left; }
.close-modal { position: absolute; top: 15px; right: 15px; left: auto; font-size: 25px; cursor: pointer; background: none; border: none; }
.modal-content input, .modal-content select, .modal-content textarea { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 8px; outline: none; }

/* =========================================
   8. Responsive Design
   ========================================= */
@media (max-width: 992px) {
    nav { display: none; }
    .menu-toggle { display: block; }
    header { padding: 10px 3%; }
    .about-text h2 { font-size: 1.8rem; }
    .slide-content h1 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .swiper { height: 55vh !important; min-height: 400px; }
    .slide-content { padding: 0 5% !important; }
    .slide-content h1 { font-size: 1.8rem !important; margin-bottom: 10px !important; }
    .slide-content p { font-size: 0.95rem !important; margin-bottom: 20px !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .btn-action { padding: 10px 30px !important; font-size: 0.9rem !important; }
    .feature-list-container { column-count: 1; }
    .about-text-box { padding: 25px; }
}

/* =========================================
   9. Dark Mode Configuration
   ========================================= */
nav .theme-btn { display: flex !important; align-items: center; justify-content: center; width: 40px !important; height: 40px !important; border-radius: 50%; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: white !important; cursor: pointer; transition: all 0.3s ease; z-index: 1002; }
nav .theme-btn:hover { background: var(--brand-red); border-color: var(--brand-red); transform: scale(1.1); }
nav .theme-btn i { font-size: 18px !important; pointer-events: none; }
.theme-btn { background: none; border: 1px solid rgba(255,255,255,0.3); color: white; width: 35px; height: 35px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.theme-btn:hover { border-color: #DD183B; color: #DD183B; }

[data-theme="dark"] { 
    --bg-body: #0b1120; 
    --text-main: #f1f5f9; 
    --card-bg: #1e293b; 
    --border-color: #334155; 
}
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6, 
[data-theme="dark"] .sec-title h2, [data-theme="dark"] .card h3, [data-theme="dark"] .about-text h2, [data-theme="dark"] .faq-question { color: var(--brand-red) !important; }
[data-theme="dark"] p, [data-theme="dark"] span, [data-theme="dark"] li, [data-theme="dark"] .breadcrumb, [data-theme="dark"] .sec-subtitle, [data-theme="dark"] .faq-answer { color: #cbd5e1 !important; }
[data-theme="dark"] .btn-action, [data-theme="dark"] .btn-header, [data-theme="dark"] .btn-large { color: #ffffff !important; }


/* =========================================
   1. إعدادات الصفحة والخطوط
   ========================================= */
:root { --dark-blue: #0F172A; --brand-red: #DD183B; --white: #FFFFFF; --bg-light: #f8fafc; --text-gray: #64748b; 
    /* Dark Mode Variables */ --bg-body: #f8fafc; --text-main: #0F172A; --card-bg: #FFFFFF; --border-color: #eeeeee; }

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Roboto', sans-serif; scroll-behavior: smooth; }
body { background-color: var(--bg-body); color: var(--text-main); overflow-x: hidden; text-align: left; transition: background 0.3s, color 0.3s; }

/* =========================================
   2. تنسيقات الهيدر والقائمة
   ========================================= */
header { background: var(--dark-blue); padding: 10px 5%; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1000; border-bottom: 3px solid var(--brand-red); height: 70px; }
.logo img { height: 45px; width: auto; filter: brightness(1.2); }
nav ul { list-style: none; display: flex; align-items: center; padding: 0; margin: 0; }
nav ul li { margin: 0 15px; }
nav ul li a { color: var(--white); text-decoration: none; font-weight: bold; font-size: 15px; transition: 0.3s; }
nav ul li a:hover { color: var(--brand-red); }
.header-actions { display: flex; align-items: center; gap: 15px; }
.btn-header { background: var(--brand-red); color: white; padding: 8px 18px; border-radius: 25px; text-decoration: none; font-weight: bold; font-size: 13px; border: 2px solid var(--brand-red); cursor: pointer; white-space: nowrap; }
.menu-toggle { color: white; font-size: 24px; cursor: pointer; display: none; background: none; border: none; padding: 5px; }

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; left: -100%; width: 80%; height: 100%; background: var(--dark-blue); z-index: 2001; transition: 0.4s ease-in-out; padding: 30px 20px; box-shadow: 10px 0 30px rgba(0,0,0,0.5); visibility: hidden; }
.mobile-menu.active { left: 0; visibility: visible; }
.mobile-menu .close-btn { color: var(--brand-red); font-size: 35px; cursor: pointer; background: none; border: none; width: 100%; text-align: right; }
.mobile-menu .m-logo { text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; margin-bottom: 20px; }
.mobile-menu ul { list-style: none; padding: 0; }
.mobile-menu ul li { border-bottom: 1px solid rgba(255,255,255,0.05); padding: 15px 0; }
.mobile-menu ul li a { color: white; text-decoration: none; font-size: 1.1rem; display: block; font-weight: bold; }

/* =========================================
   3. الأزرار العامة والأقسام
   ========================================= */
section { padding: 80px 5%; }
.btn-large { background: var(--brand-red); color: white; padding: 15px 50px; border-radius: 50px; text-decoration: none; font-weight: bold; font-size: 1.2rem; display: inline-block; transition: 0.3s; cursor: pointer; border: none; }
.btn-large:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(221, 24, 59, 0.3); }

/* =========================================
   4. تنسيقات صفحة من نحن (About)
   ========================================= */
/* Hero */
.page-hero { position: relative; height: 350px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: #0F172A; }
.page-hero img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.hero-content { position: relative; z-index: 2; color: white; padding: 20px; }
.hero-content h1 { font-size: 3rem; margin-bottom: 15px; font-weight: 900; }
.breadcrumb { font-size: 1rem; color: #cbd5e1; }
.breadcrumb a { color: var(--brand-red); text-decoration: none; font-weight: bold; }

/* Story */
.about-story { display: flex; flex-wrap: wrap; gap: 50px; align-items: center; margin-bottom: 80px; }
.about-text { flex: 1; min-width: 300px; }
.about-text h2 { font-size: 2.2rem; color: var(--dark-blue); margin-bottom: 20px; position: relative; display: inline-block; }
.about-text h2::after { content: ''; width: 50%; height: 4px; background: var(--brand-red); position: absolute; bottom: -10px; left: 0; }
.about-text p { color: var(--text-gray); line-height: 1.8; margin-bottom: 20px; font-size: 1.05rem; }
.about-image { flex: 1; min-width: 300px; }
.about-image img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-left: 10px solid var(--brand-red); }

/* Cards */
.vm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.vm-card { background: var(--card-bg); padding: 40px; border-radius: 15px; border: 1px solid var(--border-color); text-align: center; transition: 0.3s; }
.vm-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); border-bottom: 5px solid var(--brand-red); }
.vm-card i { font-size: 50px; color: var(--brand-red); margin-bottom: 20px; }
.vm-card h3 { color: var(--dark-blue); margin-bottom: 15px; font-size: 1.5rem; }
.vm-card p { color: var(--text-gray); line-height: 1.7; }

/* Stats */
.stats-section { background: var(--dark-blue); color: white; padding: 60px 5%; text-align: center; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.stat-item h3 { font-size: 3rem; color: var(--brand-red); font-weight: 900; margin-bottom: 10px; }
.stat-item p { font-size: 1.1rem; opacity: 0.9; }

/* CTA */
.cta-section { text-align: center; background: var(--card-bg); border-top: 1px solid var(--border-color); }
.cta-section h2 { font-size: 2.2rem; color: var(--dark-blue); margin-bottom: 20px; }

/* =========================================
   5. تنسيقات الفوتر
   ========================================= */
footer { background: var(--dark-blue); color: white; padding: 60px 5% 20px; border-top: 5px solid var(--brand-red); text-align: left; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.footer-col h4 { color: var(--brand-red); margin-bottom: 20px; }
.social a { color: white; margin-right: 15px; margin-left: 0; font-size: 1.5rem; }

/* Floating & Modal */
.floating { position: fixed; bottom: 30px; right: 30px; left: auto; z-index: 1000; display: flex; flex-direction: column; gap: 10px; }
.f-btn { width: 55px; height: 55px; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: white; font-size: 25px; text-decoration: none; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }

.modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.9); display: none; align-items: center; justify-content: center; z-index: 3000; padding: 20px; }
.modal-content { background: var(--card-bg); width: 100%; max-width: 500px; border-radius: 20px; padding: 40px; position: relative; text-align: left; }
.close-modal { position: absolute; top: 15px; right: 15px; left: auto; font-size: 25px; cursor: pointer; background: none; border: none; }
.modal-content input, .modal-content select, .modal-content textarea { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 8px; outline: none; }

/* =========================================
   6. التجاوب والوضع الليلي
   ========================================= */
@media (max-width: 992px) {
    nav { display: none; }
    .menu-toggle { display: block; }
    header { padding: 10px 3%; }
    .about-text h2 { font-size: 1.8rem; }
}

/* Dark Mode Logic */
nav .theme-btn { display: flex !important; align-items: center; justify-content: center; width: 40px !important; height: 40px !important; border-radius: 50%; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: white !important; cursor: pointer; transition: all 0.3s ease; z-index: 1002; }
nav .theme-btn:hover { background: var(--brand-red); border-color: var(--brand-red); transform: scale(1.1); }
nav .theme-btn i { font-size: 18px !important; pointer-events: none; }

.theme-btn { background: none; border: 1px solid rgba(255,255,255,0.3); color: white; width: 35px; height: 35px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.theme-btn:hover { border-color: #DD183B; color: #DD183B; }

[data-theme="dark"] { --bg-body: #0b1120; --text-main: #f1f5f9; --card-bg: #1e293b; --border-color: #334155; }
[data-theme="dark"] .vm-card, [data-theme="dark"] .cta-section, [data-theme="dark"] .modal-content { background-color: var(--card-bg) !important; border-color: var(--border-color) !important; }
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3 { color: var(--brand-red) !important; }
[data-theme="dark"] .about-text h2, [data-theme="dark"] .vm-card h3, [data-theme="dark"] .cta-section h2 { color: var(--brand-red) !important; }
[data-theme="dark"] p { color: #cbd5e1 !important; }
[data-theme="dark"] .btn-action, [data-theme="dark"] .btn-header, [data-theme="dark"] .btn-large { color: #ffffff !important; }



/* =========================================
   تنسيقات صفحة اتصل بنا (Contact Page)
   ========================================= */

/* Contact Container */
.contact-container { display: flex; flex-wrap: wrap; gap: 40px; }
.contact-info { flex: 1; min-width: 300px; }

/* Contact Info Cards */
.info-card { background: var(--card-bg); padding: 30px; border-radius: 15px; border: 1px solid var(--border-color); margin-bottom: 20px; display: flex; align-items: flex-start; gap: 20px; transition: 0.3s; }
.info-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); border-left: 5px solid var(--brand-red); }
.info-card i { font-size: 25px; color: var(--brand-red); background: rgba(221, 24, 59, 0.1); width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
.info-content h3 { font-size: 1.2rem; color: var(--dark-blue); margin-bottom: 5px; }
.info-content p, .info-content a { color: var(--text-gray); text-decoration: none; font-size: 1rem; line-height: 1.6; }
.info-content a:hover { color: var(--brand-red); }

/* Contact Form */
.contact-form { flex: 1.5; min-width: 300px; background: var(--card-bg); padding: 40px; border-radius: 20px; border: 1px solid var(--border-color); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.contact-form h2 { color: var(--dark-blue); margin-bottom: 20px; font-size: 2rem; }
.form-group { margin-bottom: 20px; }
.form-control { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 10px; font-family: 'Roboto'; font-size: 1rem; outline: none; transition: 0.3s; background-color: var(--bg-body); color: var(--text-main); }
.form-control:focus { border-color: var(--brand-red); box-shadow: 0 0 0 3px rgba(221, 24, 59, 0.1); }
textarea.form-control { resize: vertical; min-height: 120px; }

.btn-submit { background: var(--brand-red); color: white; padding: 15px 40px; border: none; border-radius: 10px; font-weight: bold; font-size: 1.1rem; cursor: pointer; width: 100%; transition: 0.3s; }
.btn-submit:hover { background: #b91330; }

/* Map Section */
.map-section { padding: 0; height: 400px; width: 100%; overflow: hidden; margin-top: 50px; }
iframe { width: 100%; height: 100%; border: 0; }

/* Responsive Contact */
@media (max-width: 992px) {
    .contact-form { padding: 25px; }
}

/* Dark Mode Adjustments for Contact Page */
[data-theme="dark"] .info-content h3, 
[data-theme="dark"] .contact-form h2 { color: var(--brand-red) !important; }
[data-theme="dark"] .form-control { border-color: var(--border-color); }




/* =========================================
   تنسيقات صفحة شركاء النجاح (Partners Page)
   ========================================= */

/* Intro Text */
.intro-text { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.intro-text h2 { font-size: 2.2rem; color: var(--dark-blue); margin-bottom: 20px; position: relative; display: inline-block; }
.intro-text h2::after { content: ''; width: 50%; height: 4px; background: var(--brand-red); position: absolute; bottom: -10px; left: 25%; }
.intro-text p { color: var(--text-gray); font-size: 1.1rem; line-height: 1.8; margin-bottom: 15px; }

/* Partners Grid */
.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 25px; }
.partner-card { 
    background: var(--card-bg, #fff); 
    border: 1px solid var(--border-color, #eee); 
    border-radius: 15px; 
    padding: 10px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    height: 170px; 
    transition: 0.3s; 
    position: relative; 
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.partner-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(221, 24, 59, 0.1); border-color: var(--brand-red); }
.partner-card img { max-width: 100%; max-height: 130px; object-fit: contain; filter: none; opacity: 1; transition: 0.3s; }
.partner-card:hover img { transform: scale(1.08); }

/* Responsive Partners */
@media (max-width: 992px) {
    .partners-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 15px; }
    .partner-card { height: 140px; padding: 10px; }
    .partner-card img { max-height: 110px; }
}

/* Dark Mode Overrides for Partners */
[data-theme="dark"] .intro-text h2 { color: var(--brand-red) !important; }
[data-theme="dark"] .intro-text p { color: #cbd5e1 !important; }
[data-theme="dark"] .partner-card { background-color: var(--card-bg) !important; border-color: var(--border-color) !important; }
/* تحسين ظهور اللوجوهات في الوضع الليلي بإضافة خلفية بيضاء خفيفة إذا لزم الأمر، أو تركها شفافة */
[data-theme="dark"] .partner-card { background-color: #fff !important; opacity: 0.9; }



/* =========================================
   تنسيقات صفحة خدماتنا (Services Page)
   ========================================= */

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

/* Service Card Styling */
.service-card {
    background: var(--card-bg, #fff);
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color, #eee);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom: 5px solid var(--brand-red);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

/* Icon inside card */
.service-card i {
    font-size: 45px;
    color: var(--brand-red);
    margin-bottom: 20px;
    display: inline-block;
    background: rgba(221, 24, 59, 0.1);
    padding: 20px;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h2 {
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Service Button (Request Service) */
.service-btn {
    color: var(--dark-blue);
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    font-size: 1rem;
}

.service-btn:hover {
    color: var(--brand-red);
    gap: 12px;
}

.service-btn i {
    font-size: 1rem;
    width: auto;
    height: auto;
    background: none;
    padding: 0;
    margin: 0;
    color: inherit;
}

/* Dark Mode Adjustments for Services */
[data-theme="dark"] .service-card h2 { color: var(--text-main) !important; }
[data-theme="dark"] .service-btn { color: var(--text-main) !important; }
[data-theme="dark"] .service-btn:hover { color: var(--brand-red) !important; }