@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&display=swap');

:root {
    --primary-color: #0A51A2;    /* الأزرق المعتمد بالبراند */
    --secondary-color: #D82F4E;  /* الأحمر/الوردي المعتمد */
    --bg-light: #F8FAFC;
    --bg-dark: #1E293B;
    --text-main: #0F172A;
    --text-light: #ffffff;
    --border-color: #E2E8F0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Cairo', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.7;
    font-size: 16px;
}

/* شريط التنقل */
header {
    background: #ffffff;
    box-shadow: 0 4px 30px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    transition: color 0.3s;
    font-size: 15px;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.btn-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-header:hover {
    background-color: #b8223d;
    transform: translateY(-2px);
}

/* الواجهة الرئيسية */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    padding: 80px 20px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
}

.badge-branch {
    display: inline-block;
    background-color: rgba(10, 81, 162, 0.08);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero p {
    font-size: 17px;
    margin-bottom: 35px;
    color: #475569;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-main, .btn-sub {
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    text-align: center;
}

.btn-main {
    background-color: var(--primary-color);
    color: white;
}

.btn-main:hover {
    background-color: #083e7d;
    transform: translateY(-2px);
}

.btn-sub {
    background-color: #25D366;
    color: white;
}

.btn-sub:hover {
    background-color: #1ebd54;
    transform: translateY(-2px);
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

/* الأقسام العامة */
section {
    padding: 80px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 30px;
    color: var(--primary-color);
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* شبكة الاتصالات */
.networks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    justify-content: center;
}

.network-box {
    background: #ffffff;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.network-box img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
}

.network-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(10, 81, 162, 0.08);
    border-color: var(--primary-color);
}

.about-grid, .services-grid, .steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.about-card, .service-item, .step-card {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
    border: 1px solid var(--border-color);
}

.about-card { border-right: 5px solid var(--primary-color); }
.about-card.secondary { border-right-color: var(--secondary-color); }

.service-item, .step-card { text-align: center; }

.step-num {
    background: var(--secondary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 15px;
}
.step-card:nth-child(2) .step-num { background: var(--primary-color); }

/* الفوتر */
footer {
    background-color: var(--bg-dark);
    color: #cbd5e1;
    padding: 70px 20px 25px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    border-bottom: 1px solid #334155;
    padding-bottom: 40px;
}

.footer-info h3 { color: white; margin-bottom: 20px; font-weight: 800; }
.footer-info p { margin-bottom: 25px; opacity: 0.9; }
.contact-list { list-style: none; }
.contact-list li { margin-bottom: 12px; }
.contact-list strong { color: white; margin-left: 8px; }

.map-box {
    background: #0f172a;
    width: 100%;
    height: 220px;
    border-radius: 12px;
    border: 1px solid #334155;
    overflow: hidden;
}

.copyright { text-align: center; padding-top: 25px; font-size: 14px; opacity: 0.6; }

/* الشاشات المتوسطة والصغيرة (التجاوب) */
@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-btns { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    nav { display: none; }
    .hero h1 { font-size: 30px; }
    section { padding: 50px 20px; }
    .section-title h2 { font-size: 26px; }
    .networks-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}