:root {
    --bs-primary:   #d38c22;  /* اللون الأساسي - ذهبي */
    --bs-secondary: #2a3660;  /* اللون الثانوي - كحلي غامق */
    --bs-success:   #d48d22;  /* لون النجاح - ذهبي أكثر إشراقًا */
    --bs-danger:    #d28c22;  /* لون الخطر - ذهبي داكن */
    --bs-warning:   #d48c21;  /* لون التحذير - ذهبي فاتح */
    --bs-info:      #2a3660;  /* لون المعلومات - نفس الكحلي */
    --bs-light:     #d1d6e6    ;  /* اللون الفاتح - ذهبي باهت */
    --bs-dark:      #2a3660;  /* اللون الداكن - كحلي غامق جدًا */
    --bs-body-color: #212529;
}

a {
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.login a {
    color: var(--body-color) !important;
    text-decoration: none;
}
.login a:hover {
    color: var(--bs-primary) !important;
}

body {
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
}

.navbar-brand {
  font-size: 1.25rem !important; /* الحجم الافتراضي */
}

@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1rem !important; /* الحجم للشاشات الصغيرة */
  }
}


.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: var(--bs-primary) !important;
}

.navbar-nav .nav-link {
    color: #000000 !important;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus {
    color: var(--bs-primary) !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 var(--bs-navbar-toggler-focus-width) rgba(211, 140, 34, 0.5);
}

.bg-primary {background-color: var(--bs-primary) !important;}
.text-primary {color: var(--bs-primary) !important;}
.bg-secondary {background-color: var(--bs-secondary) !important;}
.text-secondary {color: var(--bs-secondary) !important;}
.bg-light {background-color: var(--bs-light) !important;}
.text-light {color: var(--bs-light) !important;}

.pagination .page-link {color: var(--bs-secondary) !important;}
.pagination .page-link:focus {
    border-color: var(--border-color);
    box-shadow: 0 0 0 0.25rem rgba(42, 54, 96, 0.4);
}

.news .news-image-side {
    width: 150px !important;
    height: 150px !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    border-left: 1px solid #eee;
}

.latest_news .news-image-side {
    width: 130px !important;
    height: 130px !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    border-left: 1px solid #eee;
}
  
@media (min-width: 768px) {
    .latest_news .news-image-side {
      width: 150px !important;
      height: 150px !important;
    }
    .news .news-image-side {
        width: 140px !important;
        height: 140px !important;
      }
}
  
.news-card {
    background-color: #fff;
    transition: transform 0.2s ease;
}
  
.latest_news a, .news a {
    text-decoration: none;
}
.latest_news a .news-title, .show-all, .news a .news-title {
    color: var(--bs-body-color) !important;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}
.latest_news a:hover .news-title, .show-all:hover, .news a:hover .news-title {
    color: var(--bs-primary) !important;
}

.btn-secondary {
    background-color: #2a3660;
    border-color: #2a3660;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #1f294a;
    border-color: #1f294a;
}
.btn-secondary:active,
.btn:first-child:active,
.btn-secondary:focus {
    background-color: #151d33;
    border-color: #151d33;
    box-shadow: 0 0 0 0.25rem rgba(42, 54, 96, 0.4);
}

.btn-primary {
    background-color: #d38c22;
    border-color: #d38c22;
    color: white;
}

.btn-primary:hover {
    background-color: #b9781c;
    border-color: #b9781c;
}

.btn-primary:active,
.btn-primary:first-child:active,
.btn-primary:focus {
    background-color: #9d6416;
    border-color: #9d6416;
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(157, 100, 22, 0.4) !important;
}


.text-justify {
    text-align: justify;
}


.hero {
    position: relative;
    width: 100%;
    background-color: var(--light);
    background-image: url('../image/hero.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(211, 140, 34, 0.8);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.hero h1, .hero p {
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

footer a {
    color: var(--bs-body-color) !important;
}
footer a:hover {
    color: var(--bs-primary) !important;
}

.contact-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    align-self: flex-start;
    font-size: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: white;
}



.dropdown-menu[data-bs-popper] {
    top: 100%;
    right: auto;
    left: 0;
    margin-top: var(--bs-dropdown-spacer);
}

.dropdown-item.active, .dropdown-item:active {
    color: var(--bs-primary) !important;
    text-decoration: none;
    background-color: inherit !important;
}

.dropdown-item:focus, .dropdown-item:hover {
    background-color: inherit !important;
}