/* استيراد خط تجوال من Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

/* المتغيرات الأساسية للهوية البصرية */
:root {
    --primary-color: #1a365d;
    --primary-dark: #0f2340;
    --secondary-color: #f4b41a;
    --secondary-light: #ffc94d;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 16px;
}

/* إعادة تعيين الأنماط الافتراضية */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--white);
    direction: rtl;
    text-align: right;
}

/* الروابط */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* القوائم */
ul, ol {
    list-style: none;
}

/* الصور */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* الحاويات */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* الأزرار */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

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

/* ===== الهيدر والتنقل ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    box-shadow: none;
    transition: var(--transition);
}

.header.scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.header.scrolled .nav-link {
    color: var(--text-dark);
}

.header.scrolled .logo-text {
    color: var(--primary-color);
}

.header.scrolled .logo-text span {
    color: var(--text-light);
}

.header.scrolled .logo-img {
    /* اللوقو الملون يظهر عند التمرير */
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: var(--transition);
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    transition: var(--transition);
}

.logo-text span {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

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

.nav-cta {
    padding: 10px 24px;
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    border-radius: var(--border-radius);
    font-weight: 600;
}

.nav-cta:hover {
    background-color: var(--secondary-light);
    color: var(--primary-dark);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.header.scrolled .mobile-menu-btn span {
    background-color: var(--text-dark);
}

/* ===== هيدر الصفحات الداخلية ===== */
.header.inner-page {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    box-shadow: var(--shadow);
}

.header.inner-page .nav-link {
    color: var(--white);
}

.header.inner-page .logo-text {
    color: var(--white);
}

.header.inner-page .logo-text span {
    color: var(--secondary-color);
}

/* ألوان القائمة المتنقلة عند الفتح */
.nav-menu.active .nav-link {
    color: var(--primary-color) !important;
}

.nav-menu.active .nav-link:hover {
    color: var(--secondary-color) !important;
}

.header.inner-page .mobile-menu-btn span {
    background-color: var(--white);
}

/* ===== قسم الهيرو ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-banner.jpg') center/cover no-repeat;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: rgba(244, 180, 26, 0.2);
    color: var(--secondary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--secondary-color);
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    line-height: 1.9;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== قسم الخدمات ===== */
.services {
    background-color: var(--gray-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.service-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--white);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== قسم أنواع القطع ===== */
.parts-types {
    background-color: var(--white);
}

.parts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.part-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.part-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.part-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.part-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(26, 54, 93, 0.95), transparent);
}

.part-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.part-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

/* ===== قسم آلية العمل ===== */
.workflow {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.workflow .section-title {
    color: var(--white);
}

.workflow .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
}

.workflow-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 3px;
    background-color: var(--secondary-color);
    z-index: 0;
}

.step-card {
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

/* ===== قسم من نحن ===== */
.about {
    background-color: var(--gray-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.9;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature-icon {
    width: 45px;
    height: 45px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--primary-dark);
}

.about-feature span {
    font-weight: 600;
    color: var(--primary-color);
}

/* ===== قسم الأسئلة الشائعة ===== */
.faq {
    background-color: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--gray-light);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--gray-medium);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.faq-icon {
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.faq-icon svg {
    width: 14px;
    height: 14px;
    fill: var(--white);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    background-color: var(--secondary-color);
    transform: rotate(180deg);
}

.faq-item.active .faq-icon svg {
    fill: var(--primary-dark);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== الفوتر ===== */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand .logo-text span {
    color: rgba(255, 255, 255, 0.7);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

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

.footer-social a:hover {
    background-color: var(--secondary-color);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--white);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-right: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    fill: var(--secondary-color);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-payment-methods {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-payment-methods .payment-methods-img {
    max-width: 300px;
    width: 100%;
    height: auto;
    opacity: 0.85;
    transition: var(--transition);
}

.footer-payment-methods .payment-methods-img:hover {
    opacity: 1;
}

.footer-payment {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
}

.footer-payment .footer-title {
    margin-bottom: 20px;
}

.payment-methods-img {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    opacity: 0.9;
    transition: var(--transition);
}

.payment-methods-img:hover {
    opacity: 1;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 30px;
}

/* ===== صفحة الطلب ===== */
.order-page {
    padding-top: 100px;
    min-height: 100vh;
    background-color: var(--gray-light);
}

.order-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.order-header {
    text-align: center;
    margin-bottom: 40px;
}

.order-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.order-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.order-form {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-section {
    margin-bottom: 35px;
}

.form-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-medium);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

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

.form-label .optional {
    color: var(--text-light);
    font-weight: 400;
    font-size: 0.9rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    border: 2px solid var(--gray-medium);
    border-radius: var(--border-radius);
    transition: var(--transition);
    background-color: var(--white);
}

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

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
}

.file-upload {
    border: 2px dashed var(--gray-medium);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.file-upload:hover {
    border-color: var(--primary-color);
    background-color: rgba(26, 54, 93, 0.02);
}

.file-upload input {
    display: none;
}

.file-upload-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
}

.file-upload-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--text-light);
}

.file-upload-text {
    color: var(--text-light);
}

.file-upload-text span {
    color: var(--primary-color);
    font-weight: 600;
}

/* قسم السعر التقريبي */
.price-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--border-radius-lg);
    padding: 30px;
    margin: 30px 0;
    color: var(--white);
}

.price-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.price-icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-icon svg {
    width: 25px;
    height: 25px;
    fill: var(--primary-dark);
}

.price-title {
    font-size: 1.3rem;
    font-weight: 700;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.price-amount span {
    font-size: 1.2rem;
    font-weight: 400;
}

.price-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: var(--border-radius);
}

.price-notice svg {
    width: 24px;
    height: 24px;
    fill: var(--secondary-color);
    flex-shrink: 0;
}

.price-notice p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* تنبيه قبل الدفع */
.warning-box {
    background-color: #fff8e1;
    border: 2px solid var(--warning);
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 25px 0;
}

.warning-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.warning-header svg {
    width: 28px;
    height: 28px;
    fill: var(--warning);
}

.warning-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #856404;
}

.warning-box p {
    color: #856404;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* مربع الموافقة */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 25px 0;
}

.checkbox-input {
    width: 22px;
    height: 22px;
    accent-color: var(--primary-color);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 3px;
}

.checkbox-label {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.checkbox-label a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

/* أزرار الدفع */
.payment-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.payment-btn {
    padding: 18px 30px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.payment-btn svg {
    width: 24px;
    height: 24px;
}

.payment-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ===== صفحة الشروط والأحكام ===== */
.terms-page {
    padding-top: 100px;
    min-height: 100vh;
    background-color: var(--gray-light);
}

.terms-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.terms-content {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow);
}

.terms-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.terms-section {
    margin-bottom: 35px;
}

.terms-section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.terms-section p {
    color: var(--text-light);
    line-height: 1.9;
}

/* ===== الاستجابة للشاشات المختلفة ===== */
@media (max-width: 1024px) {
    .services-grid,
    .parts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .workflow-steps {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .workflow-steps::before {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        gap: 25px;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    /* جعل روابط القائمة المتنقلة داكنة */
    .header .nav-menu .nav-link,
    .header.scrolled .nav-menu .nav-link,
    .header.inner-page .nav-menu .nav-link {
        color: var(--primary-color) !important;
    }
    
    .header .nav-menu .nav-link:hover,
    .header.scrolled .nav-menu .nav-link:hover,
    .header.inner-page .nav-menu .nav-link:hover {
        color: var(--secondary-color) !important;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    /* توسيط عناصر الهيدر في الموبايل */
    .nav {
        justify-content: center;
        position: relative;
    }
    
    .logo {
        margin: 0 auto;
    }
    
    .mobile-menu-btn {
        position: absolute;
        right: 0;
    }
    
    /* توسيط قسم الهيرو في الموبايل */
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .services-grid,
    .parts-grid {
        grid-template-columns: 1fr;
    }
    
    .workflow-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    /* توسيط بيانات التواصل في الموبايل */
    .footer-contact-section {
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .payment-methods-img {
        max-width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .payment-buttons {
        grid-template-columns: 1fr;
    }
    
    .order-form {
        padding: 25px;
    }
    
    .terms-content {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .logo-img {
        width: 50px;
        height: 50px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
}
