:root {
    --main-blue: #004e92;
    --dark-blue: #000428;
    --accent-orange: #ff8c00;
    --white: #ffffff;
    --gray-bg: #f8f9fa;
    --text-dark: #333;
    --container-padding: 15px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: var(--white);
    color: var(--text-dark);
    overflow-x: hidden; /* تجنب الهروب الجانبي */
}

/* حاوية أساسية متجاوبة */
.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* Header - تصميم للجوال */
header {
    background: #fffffffa;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-placeholder {
    font-weight: bold;
    color: var(--main-blue);
    font-size: 1.2rem;
}

/* قائمة الهيدر في الجوال - مخفية افتراضياً */
nav#main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}

nav#main-nav.active { display: block; }

nav ul { list-style: none; text-align: center; }
nav ul li { margin: 15px 0; }
nav ul li a { text-decoration: none; color: var(--main-blue); font-weight: 600; font-size: 1.1rem; }

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--main-blue);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 500px;
    background: var(--dark-blue);
    background: linear-gradient(135deg, rgba(0, 4, 40, 0.9), rgba(0, 78, 146, 0.8)), 
                url('https://images.unsplash.com/photo-1579389083046-e3df9c2b3325?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    padding-top: 80px; /* للهروب من الهيدر */
}

.hero-content h1 { font-size: 2.2rem; margin: 15px 0; font-weight: bold; }
.hero-content p { font-size: 1.1rem; max-width: 600px; margin: auto; margin-bottom: 25px; opacity: 0.9; }
.hero-subtitle { color: var(--accent-orange); font-weight: bold; text-transform: uppercase; letter-spacing: 1px; }

.btn { padding: 12px 30px; border-radius: 5px; text-decoration: none; font-weight: bold; transition: 0.3s; display: inline-block; font-size: 1rem; }
.btn-primary { background: var(--accent-orange); color: white; border: 2px solid var(--accent-orange); }
.btn-secondary { background: rgba(0, 78, 146, 0.6); color: white; border: 2px solid #fff; }

/* أزرار الهيرو على الجوال - ترتيب عمودي */
.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* About Section */
.about-section { padding: 60px 0; }
.about-text h2 { font-size: 2.2rem; margin-bottom: 20px; color: var(--main-blue); }
.about-text p { font-size: 1rem; margin-bottom: 15px; color: #555; }
.highlight { color: var(--accent-orange); }

.features { list-style: none; margin-top: 20px; text-align: right; }
.features li { margin-bottom: 12px; font-weight: 600; display: flex; align-items: center; justify-content: flex-start; }
.features i { color: var(--accent-orange); margin-left: 10px; font-size: 1.2rem; }

/* قسم النبذة على الجوال - عمودي ومسطح */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.about-image-placeholder { 
    background: var(--gray-bg); 
    color: var(--main-blue); 
    height: 250px; 
    display: flex; 
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    border-radius: 10px; 
    border: 2px dashed #ddd; 
}
.about-image-placeholder p { margin-top: 15px; font-weight: 600; }

/* Services Section */
.services-section { background: var(--gray-bg); padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 50px; font-size: 2.5rem; color: var(--main-blue); }

/* الخدمات على الجوال - شبكة عمودية واحدة */
.services-detailed-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }

.s-card { 
    background: white; 
    padding: 30px; 
    border-radius: 10px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.03); 
    transition: 0.4s; 
    border-top: 4px solid var(--main-blue); 
    text-align: center; 
}
.s-card:hover { transform: translateY(-8px); border-top-color: var(--accent-orange); }
.s-card h3 { color: var(--main-blue); margin-bottom: 10px; }
.icon-box { font-size: 2.5rem; color: var(--accent-orange); margin-bottom: 15px; }

/* Inquiry Form */
.inquiry-section { padding: 80px 0; background: white; }
.form-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
.form-text h2 { font-size: 2.2rem; color: var(--main-blue); margin-bottom: 15px; }
.contact-details { margin-top: 20px; }
.contact-details p { font-size: 1.1rem; color: #666; margin-bottom: 8px; }

.form-container { background: var(--gray-bg); padding: 30px; border-radius: 15px; }
.form-group-row { display: grid; grid-template-columns: 1fr; gap: 15px; margin-bottom: 15px; }
input, textarea { width: 100%; padding: 15px; border: 1px solid #e0e0e0; border-radius: 6px; font-family: inherit; font-size: 1rem; }
textarea { resize: vertical; }

.btn-submit { width: 100%; border: none; background: var(--main-blue); color: white; font-size: 1.1rem; cursor: pointer; margin-top: 15px; }

/* Footer */
.main-footer { background: var(--dark-blue); color: #ccc; padding: 40px 0; text-align: center; }
.footer-social { margin-top: 15px; display: flex; justify-content: center; gap: 15px; }
.footer-social a { color: #fff; font-size: 1.3rem; }

/* =======================================================
   Responsive Breakpoints - نقطة التحول للابتوب والشاشات الكبيرة
   ======================================================= */
@media screen and (min-width: 768px) {
    
    /* توسيع الحاوية في الشاشات الأكبر */
    .container { padding-left: 20px; padding-right: 20px; }
    
    /* Header للابتوب */
    header { padding: 15px 0; }
    .menu-toggle { display: none; }
    nav#main-nav { 
        display: block; 
        position: static; 
        width: auto; 
        background: none; 
        box-shadow: none; 
        padding: 0; 
    }
    nav ul { display: flex; }
    nav ul li { margin: 0 15px; }
    
    /* Hero للابتوب */
    .hero-content h1 { font-size: 3.5rem; }
    .hero-content p { font-size: 1.3rem; }
    
    /* أزرار الهيرو على اللابتوب - ترتيب أفقي */
    .hero-btns { flex-direction: row; justify-content: center; gap: 20px; }
    
    /* About للابتوب */
    .about-grid { grid-template-columns: 3fr 2fr; gap: 50px; }
    .about-text h2 { font-size: 2.8rem; }
    
    /* الخدمات للابتوب - شبكة متعددة الأعمدة */
    .services-detailed-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
    
    /* Form للابتوب */
    .form-layout { grid-template-columns: 2fr 3fr; gap: 60px; }
    .form-group-row { grid-template-columns: 1fr 1fr; }
    .form-container { padding: 40px; }
}
.logo-img {
    height: 100px; /* يمكنك تكبير أو تصغير الرقم حسب رغبتك */
    width: auto;
    display: block;
}