*{
    margin: 0;
    padding: 0;
}




    header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: linear-gradient(90deg, #ffffff, #02005d);
      color: rgb(12, 8, 8);
      padding: 10px 25px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }

    /* مجموعة الشعارات والنص */
    .brand {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .brand .logos {
      display: flex;
      align-items: center;
      gap: 8px;
      border-radius: 40px;
    }

    .brand .logos img {
      height: 60px;
      width: auto;
      border-radius: 8px;
      background: #02005d;
      padding: 5px;
      border-radius: 35px;
      transition: transform 0.3s;
    }

    .brand .logos img:hover {
      transform: scale(1.05);
    }

    /* اسم الموقع */
    .brand-name {
      display: flex;
      flex-direction: column;
      line-height: 1.2;
    }

    .brand-name h1 {
      margin: 0;
      font-size: 32px;
      font-weight: 700;
    }

    .brand-name span {
      font-size: 21px;
      opacity: 0.9;
    }

/* القائمة الرئيسية */
.nav-list {
    list-style: none;
    display: flex;
    gap: 20px;
    
}

.nav-list li a {
    font-size: 20px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* تصميم للهواتف */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-list {
        display: flex; /* نستخدم flex مع الاتجاه العمودي */
        flex-direction: column;
        width: 100%;
        height: 100vh; /* تغطي كامل الشاشة */
        background-color: rgba(24, 16, 79, 0.95); /* خلفية شبه شفافة */
        position: fixed; /* تظهر فوق كل المحتوى */
        top: 0;
        left: -100%; /* تبدأ مخفية على اليسار */
        padding-top: 70px; /* لمراعاة ارتفاع الهيدر */
        gap: 20px;
        align-items: center;
        justify-content: flex-start;
        transition: left 0.3s ease;
        z-index: 9999; /* تظهر فوق كل العناصر */
    }

    .nav-list li {
        margin: 20px 0;
        text-align: center;
    }

    .nav-list.active {
        left: 0; /* تتحرك لتظهر */
    }
}

/* الصناديق الأساسية */
#d1 div {
    width: 400px;
    height: 420px;
    border: 1px solid wheat;
    font-size: 18px;
    font-family: Arial;
    font-weight: bold;
    box-shadow: 1px 1px 12px gray;
    float: left;
    margin-left: 80px;
    margin-top: 30px;
    border-radius: 15px;
    background: #fff;
}

/* زر داخل الصندوق */
#d1 div .bot {
    width: 160px;
    height: 40px;
    background: #ffffff;
    border: none;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-top: 5%;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: .4s ease;
}

#d1 div .bot a {
    margin-top: 20px;
    text-decoration: none;
    color: #000000;
    transition: .3s ease;
}

#d1 div .bot a:hover{
    color: #fff;
}

div .bot a:hover {
    background-color: #5b6bc8;
    border-radius: 5px;
}

/* أيقونات التواصل */
.contact-icons {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.contact-icons a {
    margin: 5px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: #fff;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 30px;
    transition: 0.3s;
}

.contact-icons a:hover {
    background-color: #2e8332;
}




/* ===================================================== */
/*               🔽 تنسيق الجوال (Responsive)           */
/* ===================================================== */
@media (max-width: 768px) {

    /* الصناديق */
    #d1 div {
        width: 90%;
        height: auto;
        float: none;
        margin: 20px auto;
        padding: 20px;
        font-size: 16px;
    }

    /* الزر داخل الصندوق */
    #d1 div .bot {
        width: 80%;
        height: 45px;
        margin-left: 0;
        display: block;
        margin: 20px auto;
    }

    #d1 div .bot a {
        font-size: 18px;
        display: block;
        text-align: center;
        line-height: 45px;
    }

    /* أيقونات التواصل */
    .contact-icons {
        left: 10px;
        top: auto;
        bottom: 20px;
        transform: none;
        flex-direction: row;
        gap: 10px;
    }

    .contact-icons a {
        width: 38px;
        height: 38px;
        font-size: 24px;
    }
}



.content {
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: auto;
    color: #fff;
    position: relative;
    padding: 20px;
}

.content .par {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 20px;
    font-size: 22px;
    font-family: Arial;
    margin-top: 20px;
    letter-spacing: 1px;
    line-height: 28px;
}

.content h1 {
    font-family: 'Times New Roman';
    font-size: 45px;
    padding-left: 10px;
    margin-top: 20%;
    letter-spacing: 2px;
}

.bot {
    width: 180px;
    height: 50px;
    background: #ffffff;
    border: none;
    margin-bottom: 15px;
    margin-left: 10px;
    margin-top: 30px;
    font-size: 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: .4s ease;
    text-align: center;
}

.bot a {
    font-size: 22px;
    text-decoration: none;
    color: #000;
    display: block;
    height: 100%;
    line-height: 50px;
}

.bot:hover {
    background-color: #eaeaea;
}




/* ===================================================== */
/*      🔽 تنسيق الجوال والشاشات الصغيرة (Responsive)  */
/* ===================================================== */
@media (max-width: 768px) {

    .content {
        padding: 15px;
        text-align: center;
    }

    .content h1 {
        font-size: 32px;
        margin-top: 50px;
        padding-left: 0;
    }

    .content .par {
        font-size: 18px;
        padding-left: 0;
        padding-right: 0;
        line-height: 26px;
    }

    .bot {
        width: 80%;
        max-width: 250px;
        height: 45px;
        margin-left: 0;
    }

    .bot a {
        font-size: 20px;
        line-height: 45px;
    }

    .ser {
        justify-content: center;
        margin-bottom: 20px;
    }

    .ser .serf {
        width: 100%;
        margin-bottom: 20px;
    }
}
ul, ol {
    
    padding-left: 20px;
}

main {
    padding: 20px;
}

section {
    margin-bottom: 40px;
}

h2 {
    color: #27126d;
}

section {
    padding: 20px;
    margin: 20px;
    text-align: right;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
}

.imoge{
    margin: 70px 10px;
    text-align: center;
    margin-top: 10px;
    overflow: hidden;
}


.imoge1{
    display: flex;
    margin-top: 45px;
    gap: 20px;
    animation: secrolimg 40s linear infinite;

}

@keyframes secrolimg{
    0%{
        transform: translateX(0);
    }
    100%{
        transform: translateX(-100%);
    }

}

.imoge .imoge1 img{
    width: 250px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px #0f0941;

}




.section-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 10%;
    gap: 40px;
}

.section-box .content {
    flex: 1;
}

.section-box h1 {
    font-size: 36px;
    font-weight: 600;
    margin-top:0;
    color: #333;
    line-height: 1.3;
}

.section-box hr {
    width: 620px;
    max-width: 100%;  /* مهم للجوال */
    margin: 15px 0;
    border: 0;
    border-top: 1px solid #ccc;
}

.section-box h3 {
    font-size: 15px;
    color: #000000;
    line-height: 1.5;
    width: 100%;
}



/* ===================================================== */
/*          🔽 تنسيق الجوال (Responsive Mobile)         */
/* ===================================================== */
@media (max-width: 768px) {

    .section-box {
        flex-direction: column;   /* من صف جانبي إلى عمودي */
        text-align: center;       /* يناسب العرض الصغير */
        padding: 40px 5%;         /* تقليل الهوامش */
        gap: 20px;
    }

    .section-box h1 {
        font-size: 28px;          /* تصغير الخط */
        line-height: 1.4;
    }

    .section-box hr {
        width: 70%;               /* خط أصغر في الجوال */
        margin: 10px auto;
    }

    .section-box h3 {
        font-size: 14px;
        line-height: 1.6;
    }
}


.image-box {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-box img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    object-fit: cover;
}


.cta-wrap{
    max-width:1100px;
    margin:40px auto;
    padding:28px 24px;
    text-align:center;
  }

  .cta-text{
    font-size:20px;
    font-weight:600;
    color:var(--text);
    margin:6px 0 18px;
    line-height:1.5;
  }

  .cta-sub{
    color:var(--muted);
    font-size:15px;
    margin-bottom:22px;
  }

  .cta-buttons{
    display:inline-flex;
    gap:16px;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
  }

  /* الزر العام */
  .btn-cta{
    display:inline-flex;
    align-items:center;
    gap:10px;
    min-width:220px;
    padding:12px 18px;
    border-radius:10px;
    text-decoration:none;
    font-weight:700;
    font-size:16px;
    box-sizing:border-box;
    transition:transform .12s ease, box-shadow .12s ease;
    border:2px solid var(--border);
    background:transparent;
    color:var(--text);
  }

  .btn-cta svg{width:22px;height:22px;flex:0 0 22px}

  /* واتساب */
  .btn-whatsapp{
    border-color: rgba(16,185,129,0.18);
    color: var(--accent);
    box-shadow: 0 6px 20px rgba(16,185,129,0.06);
  }
  .btn-whatsapp:hover{ transform:translateY(-3px); box-shadow:0 12px 28px rgba(16,185,129,0.12); }

  /* اتصال هاتف */
  .btn-call{
    border-color: rgba(37,99,235,0.12);
    color: var(--accent-2);
    box-shadow: 0 6px 20px rgba(37,99,235,0.06);
  }
  .btn-call:hover{ transform:translateY(-3px); box-shadow:0 12px 28px rgba(37,99,235,0.12); }

  /* أيقونات داخل الدائرة */
  .icon-circle{
    display:inline-grid;
    place-items:center;
    width:40px;height:40px;border-radius:8px;
    background:rgba(0,0,0,0.03);
  }

  /* Responsive */
  @media (max-width:640px){
    .cta-wrap{padding:20px}
    .btn-cta{min-width:180px;font-size:15px;padding:10px 14px}
  }


section .contact{
      background: linear-gradient(120deg, #3a7bd5, #3a6073);
    padding: 40px 0;
    text-align: center;
    color: #fff;
    margin-top: 40px;
}





.contact-section {
    background-color: #f9f9f9;
    padding: 50px 20px;
    max-width: 700px;
    margin: 50px auto;
    border-radius: 15px;
    text-align: center;
}

.contact-section h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #333;
}

.contact-section p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #555;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    resize: none;
}

.contact-form button {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background-color: #25D366;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s;
}

.contact-form button:hover {
    transform: scale(1.05);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    font-size: 24px;
    border-radius: 50%;
    color: #fff;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2);
}

.whatsapp { background: #25D366; }
.phone { background: #007bff; }
.instagram { background: #E1306C; }
.snapchat { background: #FFFC00; color: #000; }

/* متجاوب للشاشات الصغيرة */
@media (max-width: 480px) {
    .contact-form input,
    .contact-form textarea,
    .contact-form button {
        width: 100%;
    }
    .social-icons {
        flex-direction: column;
        align-items: center;
    }
}


/* Footer */

.footer {
    background: linear-gradient(120deg, #3a7bd5, #3a6073);
    padding: 40px 0;
    text-align: center;
    color: #fff;
    margin-top: 40px;
}

.icons a {
    color: white;
    font-size: 28px;
    margin: 0 12px;
    text-decoration: none;
    transition: 0.3s;
}

.icons a:hover {
    transform: scale(1.2);
    color: #5b6bc8;
}

.footer p {
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.8;
}

		.footer .copyright {
			font-size: 0.8em;
			list-style: none;
			margin: 2em 0 0 0;
			padding: 0;
		}

			.footer .copyright li {
				border-left: solid 1px;
				display: inline-block;
				line-height: 1em;
				margin-left: 1em;
				padding: 0 0 0 1em;
			}

            .footer .copyright a{
                color: #000000;
            }

				.footer .copyright li:first-child {
					border-left: 0;
					margin-left: 0;
					padding: 0;
				}