@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Tajawal:wght@400;500;700&display=swap');
:root {
    --primary-color: #0f8c73;
    --secondry-color: #f6aa59;
    --sidebar-bg: #ffffff;
    --main-bg: #f5f6fa;
    --text-color: #1c1c1c;
    --text-color2: #0f8c73;
    --sidebar-hover: #e8fef9;
    --border-color: #e1e4e8;
    --content-bg: #f9f9f9;
    --body-bg: #f1f1f1;
    --gray-bg: #c1c1c1;
    --font-family-tajawal: "Tajawal", sans-serif;
}

body {
    font-family: var(--font-family-tajawal);
    background-color: var(--body-bg);
    color: var(--text-color);
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-color2);
    font-weight: 700;
}

/* التنسيق الافتراضي للنافبار */
#mainNavbar {
    direction: rtl;
    background-color: transparent !important;
    transition: all 0.3s ease;
    padding: 20px 0 !important;
}

/* تثبيت الطول في الشاشات الصغيرة */
@media (max-width: 991.98px) {
    #mainNavbar {
        padding: 10px 0 !important;
        min-height: 50px !important;
        /* ارتفاع ثابت في الشاشات الصغيرة */
    }

    #mainNavbar.scrolled {
        padding: 10px 0 !important;
        /* نفس قيمة padding بدون تغيير */
        min-height: 50px !important;
        /* نفس الارتفاع بدون تغيير */
    }
}

#mainNavbar .navbar-brand,
#mainNavbar .nav-link,
#mainNavbar .btn-outline-light,
#mainNavbar .navbar-toggler span:not(.navbar-toggler-icon) {
    color: #f5f6fa !important;
    /* تغيير اللون إلى داكن ليكون مرئياً */
    transition: all 0.3s ease;
}
#offcanvasNavbar .nav-link{
    color: #333 !important;
}
/* التنسيق عند التمرير */
#mainNavbar.scrolled {
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* padding: 10px 0; */
}

#mainNavbar.scrolled .navbar-brand,
#mainNavbar.scrolled .nav-link,
#mainNavbar.scrolled .btn-outline-light,
#mainNavbar.scrolled .navbar-toggler span:not(.navbar-toggler-icon) {
    color: #333 !important;
    /* يمكن تغييره إذا أردت لوناً مختلفاً عند التمرير */
}

/* تنسيق أيقونة القائمة */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

#mainNavbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}


.newHero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: linear-gradient(160deg, rgba(46, 59, 78, 1), rgba(255, 64, 64, 0.3));
    /*background: rgba(46, 59, 78, 0.85);*/
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
}

.newHero h1 {
    position: absolute;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    max-width: 550px;
    line-height: 3rem;
}

.newHero p {
    position: absolute;
    max-width: 550px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* .newHero a {
    position: absolute;
    bottom: 60px;
    font-size: 20px;
    transition: 0.5s;
    margin-left: 25px;
    color: rgba(255, 255, 255, 1);
    font-weight: 600;
} */
.btn-container {
    direction: rtl;
    display: flex;
    position: absolute;
    gap: 10px; /* تباعد بين الأزرار */
    bottom: 60px;
    justify-content: center; /* توسيط الأزرار */
}

.main-btn {
    padding: 10px 20px;
    /* font-size: 16px; */
    border: none;
    background-color: var(--primary-color);
    color: #fff;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}
.out-btn {
    padding: 10px 20px;
    /* font-size: 16px; */
    border: none;
    /* background-color: var(--primary-color); */
    color: #fff;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}
.newHero a:hover i {
    color: #fff;
}

.newHero i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 32px;
    transition: 0.3s;
    line-height: 0;
    margin-right: 12px;
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100vh;
    /* ارتفاع كامل للشاشة في الأجهزة الكبيرة */
    object-fit: cover;
    /* لتغطية المساحة دون تشويه */
    object-position: center center;
    /* (اختياري) لتوسيط الصورة قبل القص */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* طبقة شفافة سوداء */
}



.category {
    text-decoration: none;
    color: var(--text-color);
    margin: auto;
}
.category h4,h6{
    text-decoration: none;
    color: var(--text-color);
    font-size: 1rem;
}
.img-circle-cover {
    width: 150px;
    /* اختر الحجم الذي تريده */
    height: 150px;
    /* اختر الحجم الذي تريده */
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

@media (max-width: 991.98px) {
    .category h4,h6{

        font-size: 0.8rem;
    }
    .img-circle-cover {
        width: 100px;
        /* اختر الحجم الذي تريده */
        height: 100px;
        /* اختر الحجم الذي تريده */
    }
}

.rtl-div {
    direction: rtl;
    text-align: center;
  }

  .rtl-div table {
    width: 100%;
    border-collapse: collapse;
  }

  .rtl-div th,
  .rtl-div td {
    text-align: center;
    padding: 8px 15px;
  }
.table-container {
    margin: 1rem auto;
    padding: 1rem;
    background-color: var(--content-bg);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    background-color: var(--sidebar-bg);
    color: var(--text-color);
    border-radius: 8px;
    overflow: hidden;
}

.custom-table th,
.custom-table td {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    text-align: center;
}

.custom-table th {
    background-color: var(--primary-color);
    color: #ffffff;
    text-transform: uppercase;
    font-weight: bold;
}

.custom-table tbody tr:nth-child(even) {
    background-color: var(--sidebar-hover);
}

.custom-table tbody tr:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transition: background-color 0.3s ease;
}
.myslug{
    text-decoration: none;
    color: var(--text-color);
}
.search-box {
    margin-bottom: 10px;
}
.bi-play-fill {
    color: var(--primary-color);
    font-size: 1.5rem;
}
.bi-cart {
    color: var(--primary-color);
    font-size: 1.5rem;
}
/* تنسيق الصف المخفي */
.hidden-row {
    display: none;
    background: #f8f9fa;
}

.details-toggle {
    cursor: pointer;
    color: var(--primary-color);
    text-decoration: underline;
}

.latest {
    background-color: var(--gray-bg);
}


.card {
    text-align: center;

}
.card-header {
    background-color: var(--primary-color);
}
.card-header a{
    color: var(--body-bg);

}
.wave-section {
    position: relative;
    background-color: #c1c1c1;
    color: white;
    padding: 100px 0;
  }

  .wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
  }

  .wave-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
  }

  .wave-top .shape-fill {
    fill: var(--body-bg);
  }

  .wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
  }

  .wave-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
  }

  .wave-bottom .shape-fill {
    fill: var(--body-bg);
  }


#scrollToTopBtn {
    display: none; /* مخفي في البداية */
    position: fixed;
    bottom: 40px;
    left: 20px;
    z-index: 99;
    border: 1px solid var(--gray-bg);
    outline: none;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    padding: 1px;
    border-radius: 50%;
    font-size: 2rem;
    align-content: center;
    width: 50px;
    height: 50px;
    transition: opacity 0.3s;
  }

  #scrollToTopBtn:hover {
    background-color: var(--primary-color);
  }

 
  .mywhats{
    position: fixed;
    bottom: 50px;
    right: 20px;
    z-index: 99;
    /* border: 1px solid var(--gray-bg); */
    outline: none;
    /* background-color: var(--primary-color); */
    color: white;
    cursor: pointer;
    padding: 1px;
    border-radius: 50%;
    font-size: 2rem;
    align-content: center;
    width: 60px;
    height: 60px;
    text-align: center;
  }
  .mywhats-men{
    font-size: 2rem;
    color: var(--primary-color);
  }
  .mywhats-womens{
    font-size: 2rem;
    color: var(--primary-color);
  }


  .hasry{
    color: var(--primary-color);
  }
  .card-title{
    text-decoration: none;
  }
  .card-img{
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    /* لتغطية المساحة دون تشويه */
    object-position: center center;
    /* (اختياري) لتوسيط الصورة قبل القص */
  }
/* تنسيق الفوتر */
.footer {
    margin-top: 30px;
    background-color: var(--sidebar-hover);
}

footer {
    background-color: var(--primary-color);
}
.social-icons {
    list-style: none;
    padding: 0;
    display: flex; /* ترتيب العناصر أفقياً */
    gap: 15px; /* تباعد بين الأيقونات */
    justify-content: center; /* توسيط العناصر */
}

.social-icons li {
    display: inline-block;
}

.social-icons a {
    color: var(--secondry-color); /* تغيير لون الأيقونات إلى الأبيض */
    font-size: 24px; /* تكبير الأيقونات */
    transition: color 0.3s ease-in-out;
}

.social-icons a:hover {
    color: var(--primary-color); /* تغيير اللون عند التحويم */
}
.list-group{
    list-style-type: none;
    text-decoration: none;
}
.list-group li a{
    text-decoration: none;
    color: var(--text-color);
}
.footer-div {
    display: grid;
    justify-content: center; /* التوسيط أفقيًا */
  align-content: center; /* التوسيط عموديًا */
    /* height: 100vh; */
  }

  /* تأثير الدخول من أعلى إلى أسفل */
@keyframes slideInFromTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.footer-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: var(--primary-color);
    /* اللون البرتقالي */
    color: #fff;
    /* النص باللون الأبيض */
    text-align: center;
    padding: 15px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    animation: slideInFromTop 0.5s ease-out;
}

.footer-banner button {
    margin: 5px;
}

.btn-light {
    background-color: #fff;
    /* الزر باللون الأبيض */
    color: var(--primary-color);
    /* النص باللون البرتقالي */
    border: none;
}

.btn-outline-light {
    border-color: #fff;
    /* حدود الزر باللون الأبيض */
    color: #fff;
    /* النص باللون الأبيض */
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
    /* لون عند التمرير */
}
.mylink{
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

