/* Cairo - Extra Light (200) */
@font-face {
  font-family: 'Cairo';
  src: url('../../fonts/Cairo/Cairo-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

/* Cairo - Light (300) */
@font-face {
  font-family: 'Cairo';
  src: url('../../fonts/Cairo/Cairo-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Cairo - Regular (400) */
@font-face {
  font-family: 'Cairo';
  src: url('../../fonts/Cairo/Cairo-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Cairo - Medium (500) */
@font-face {
  font-family: 'Cairo';
  src: url('../../fonts/Cairo/Cairo-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Cairo - Semi Bold (600) */
@font-face {
  font-family: 'Cairo';
  src: url('../../fonts/Cairo/Cairo-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Cairo - Bold (700) */
@font-face {
  font-family: 'Cairo';
  src: url('../../fonts/Cairo/Cairo-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Cairo - Extra Bold (800) */
@font-face {
  font-family: 'Cairo';
  src: url('../../fonts/Cairo/Cairo-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Cairo - Black (900) */
@font-face {
  font-family: 'Cairo';
  src: url('../../fonts/Cairo/Cairo-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
.form-control:focus {
    box-shadow: none;
}
body {
            font-family: 'Cairo', sans-serif;
            background-color: #ffffff; 
			color:#0C1D30;
            line-height: 1.8;
        }
.btn-primary {
    background: #087BAA;
}
.btn-primary:hover {
    background-color: #1b93c3;
}
.btn-dark {
    background: #0C1D30;
}
.btn-dark:hover {
    background-color: #132d4b;
}
.btn-outline-dark {
    --bs-btn-color: #0C1D30;
    --bs-btn-border-color: #0C1D30;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0C1D30;
    --bs-btn-hover-border-color: #0C1D30;
}


        /* تنسيق اسم الموقع */
.site-brand-name {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: bold;
    font-size: 4.5rem;
    color: #0C1D30;
    display: inline-block;
    transition: all 0.3s ease-in-out;
}

/* تأثير عند مرور الماوس (Hover) */
.site-brand-name:hover {
    filter: drop-shadow(0px 4px 20px #087BAA);
    transform: translateY(-2px); /* حركة بسيطة للأعلى */
}
  header.main-header {
/* يذوب إلى لون رمادي مزرق فاتح جداً */
background: linear-gradient(to bottom, #E8F1FD 0%, #f8fafc 100%);
    padding-top: 46px;
    border-bottom: none !important;
}
nav.navbar {
    background: transparent;
    margin-right: 46px;
    margin-left: 46px;
}
nav.navbar .container {
    background: #fff;
    border-radius: 25px;
}
.dropdown-toggle::after {
    display: none;
} 
.hero{

}
.hero-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
	overflow: clip;
}
.hero-img{
    overflow: clip;
}
.hero-img img {
    position: relative;
    bottom: 0;
    object-fit: cover;
    max-width: 100%;
	filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5));
}
.hero-card {
    background: #fff;
    border-radius: 25px;
    padding: 50px 30px;
    border: 5px solid #8ab4df00;
    box-shadow: 0px 20px 80px 0px #13264800;
}
.hero-card h1 {
font-size: 4.5rem;
 
}
.hero-card p {
    line-height: 1.8;
color:#0C1D30;
}
.btn-stag {
    background: #0C1D30;
    color: #ffffff;
    border: 2px solid #132747;
    font-weight: 700;
    padding: 12px 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgb(202 231 251);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.btn-stag:hover {
    background-color: #d97706;
	color: #021022;
    border-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}
section.services{
    padding: 120px 0;
}
.services-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}
.services-header {
    font-weight: 900;
    font-size: 2rem;
    margin: 0 20px;
 color:#0C1D30;
 
}
.services-header::before, .services-header::after {
    content: "";
    flex: 0 0 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(2 17 33 / 25%), transparent);
}

section.services .card{
    height: 100%;
    background: #f8fafc;
    padding: 30px;
    border-radius: 30px;
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    line-height: 1.8;
}
section.services .card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px -15px rgba(59, 130, 246, 0.15);
    border-color: #e2e8f0;
}
section.services .card:hover .card-icon {
    background: linear-gradient(135deg, #3B82F6 0%, #087BAA 100%
100%
);
    color: white;
    transform: rotate(-8deg) scale(1.1);
}
.card-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    color: #6366f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 2.5rem;
    margin-bottom: 15px;
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}
.card-icon i{
   color:#0C1D30;
}
.hero.hero-sections {
    padding: 4rem 0;
}
 /* تنسيقات كروت المنتجات العصرية */
  .product-card {
    border: 1px solid #eee;
    transition: all 0.3s ease;
    overflow: hidden;
  }

  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
    border-color: #e0e0e0;
  }

  .product-img-wrapper {
    height: 220px;
    /* توحيد ارتفاع الصور لجميع الكروت */
    overflow: hidden;
    position: relative;
    background-color: #f8f9fa;
  }

  .product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* لملء الفراغ بدون تشويه أبعاد الصورة */
    transition: transform 0.5s ease;
  }

  .product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
    /* تأثير تقريب خفيف عند مرور الماوس */
  }

  .discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    font-size: 0.85rem;
    font-weight: bold;
  }

  .desc-text {
    display: -webkit-box;

    overflow: hidden;
    color: #6c757d;
    font-size: 0.9rem;
  }

  .price-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .price-old {
    text-decoration: line-through;
    color: #adb5bd;
    font-size: 0.95rem;
    font-weight: 500;
  }

  .price-new {
    color: #198754;
    font-size: 1.3rem;
    font-weight: 800;
  }





/* ==============================================================
   تنسيقات الفوتر (Hoststag Footer) - التحديث النهائي
============================================================== */
.hoststag-footer {
    background-color: #060f18;
    color: #94a3b8;
    padding: 60px 0 20px;
    border-top: 4px solid #087BAA;
    position: relative;
    overflow: hidden;
    margin-top: 50px;
    direction: rtl; /* ضمان الاتجاه الصحيح للنصوص العربية */
}

.hoststag-footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.08) 0%, rgba(15, 23, 42, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* 1. إصلاح فراغ اليسار (توزيع 3 أعمدة بشكل متناسق) */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* القسم الأول يأخذ ضعف المساحة، والبقية تتوزع بالتساوي */
    gap: 40px;
    margin-bottom: 50px;
}

/* 2. تمييز اسم الموقع بجانب الشعار */
.footer-brand .d-flex {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-brand .footer-brand-name {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.5px;
    border-right: 3px solid #087BAA; /* خط أزرق أنيق يفصل بين الاسم والشعار */
    padding-right: 15px;
}

.footer-brand p {
    line-height: 1.9;
    font-size: 0.95rem;
    margin-bottom: 25px;
    max-width: 380px;
    text-align: right;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #1e293b;
    color: #f8fafc;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #087BAA;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
    color: #ffffff;
}

/* 3. تنسيق عناوين الأعمدة (الخط العريض والخط السفلي) */
.footer-col .footer-heading {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    display: inline-block;
}

.footer-col .footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0; /* ضمان بداية الخط السفلي من اليمين */
    width: 40px;
    height: 3px;
    background-color: #087BAA;
    border-radius: 2px;
}

/* 4. تنسيق الروابط وإزالة المسافات العشوائية */
.footer-links {
    list-style: none;
    padding: 0;
    padding-right: 0 !important; /* إجبار المتصفح على إزالة إزاحة القوائم */
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
    text-align: right;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.footer-links a i {
    font-size: 0.7rem;
    color: #94a3b8;

    transform: translateX(10px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #087BAA;
    padding-right: 5px; /* حركة ناعمة لليسار عند التأشير */
}

.footer-links a:hover i {
    opacity: 1;
    transform: translateX(0);
    color: #087BAA;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 25px;
    font-size: 0.95rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}
.pagination {
padding: 20px;
  width: 100%;
  height: auto;
  overflow: hidden;
  text-align: center;
 
  display: inline-block;
 
}
.pagination .disabled {
padding: 7px 17px;
margin: 2px;
border: 1px solid #D6D6D6;
color: #666;
    float: right;
}
.pagination .current {
   padding: 7px 17px;
    margin: 2px;
    border: 1px solid #087BAA;
    font-weight: bold;
    background-color: #087BAA;
    color: #FFF;
        float: right;
}
.pagination a {
padding: 7px 17px;
  margin: 5px;
  border: 1px solid #087BAA;
  text-decoration: none;
  color: #087BAA;
  text-shadow: 0 0 30px;
  float: right;
}
/* ==============================================================
   استجابة الشاشات (الهواتف والأجهزة اللوحية)
============================================================== */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p, .social-links, .footer-brand .d-flex {
        justify-content: center;
        text-align: center;
    }
    
    .footer-brand .footer-brand-name {
        border-right: none;
        padding-right: 0;
    }
    
    .footer-col .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }
    
    .footer-links a, .footer-links li {
        justify-content: center;
        text-align: center;
    }
}