
* { margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins' , sans-serif; 
} 

li {
list-style: none;
}

.logo a {
  font-weight: 500;
  font-size: 35px;
  text-decoration: none;
  text-align: left;
   background: linear-gradient(to right, #023E8A, #00B4D8, #48CAE4, #90E0EF); /* التدريج */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}
.links a {
    font-size: 20px;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    color: #023E8A;
    margin: 2px 14px;
    font-size: 20px;
    transition-duration: 1s;
}
/* تحديث تنسيق active class */
.links a.active,
.dropdown_menu a.active {
  color: #ffffff !important;
  background: linear-gradient(to right, #023E8A, #0077B6, #00B4D8, #48CAE4, #90E0EF) !important;
  border: transparent !important;
  border-radius: 20px !important;
  padding: 10px 15px !important;
  transition-duration: 0.5s !important;
}

/* إزالة الهوفر للروابط النشطة */
.links a.active:hover,
.dropdown_menu a.active:hover {
  color: #ffffff !important;
  background: linear-gradient(to right, #023E8A, #0077B6, #00B4D8, #48CAE4, #90E0EF) !important;
  transform: none !important;
}
.links a:hover {
  color: #ffffff;
  background: linear-gradient( to right,#023E8A, #0077B6, #00B4D8, #48CAE4, #90E0EF);
  border: transparent;
  border-radius: 20px;
  padding: 10px 15px;
  transition-duration: 0.5s;
}
.links a.active {
  color: #ffffff;
  background: linear-gradient(to right, #023E8A, #0077B6, #00B4D8, #48CAE4, #90E0EF);
  border: transparent;
  border-radius: 20px;
  padding: 10px 15px;
  transition-duration: 0.5s;
}
.header {
    position: relative;
    padding: 0 2rem;
}
.navbar {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(240, 240, 240, 1) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding-right: 30px;
    padding-left: 40px;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    
}
.navbar .links {
    font-size: 25px;
    display: flex;
    gap: 1cm;
}
.navbar .toggle_btn{
    color: #0077B6;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    margin-right: 20px;
}
.action_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 40px;
  color: white;
  background: linear-gradient(to right, #023E8A, #0077B6, #00B4D8, #48CAE4, #90E0EF);
  border: none;
  outline: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.418);
  text-decoration: none; 
  transition: all 0.3s ease;
}

.action_btn:hover {
  background: #00B4D8;
  color: white; 
  transform: scale(1.05); 
}

/*Dropdown-menu*/
.dropdown_menu {
    display: block;
    position: absolute;
    right: 2rem;
    top: 60px;
    width: 300px;
    background: rgb(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(15px);
    border-radius: 10px;
    overflow: hidden;
    height: 0;
    transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgb(247, 247, 247) !important;
    z-index: 9999 !important; 
    border: 1px solid rgba(0, 0, 0, 0.1); 

}
.dropdown_menu a {
    font-size: 20px;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    color: #0077B6;
    margin: 2px 14px;
    font-size: 20px;
    transition-duration: 1s;

}
.dropdown_menu a:hover {
  color: #ffffff;
  background: linear-gradient( to right,#023E8A, #0077B6, #00B4D8, #48CAE4, #90E0EF);
  border: transparent;
  border-radius: 20px;
  padding: 10px 30px;
  transition-duration: 0.5s;
}
.dropdown_menu a.active {
  color: #ffffff;
  background: linear-gradient(to right, #023E8A, #0077B6, #00B4D8, #48CAE4, #90E0EF);
  border: transparent;
  border-radius: 20px;
  padding: 10px 15px;
  transition-duration: 0.5s;
}
.dropdown_menu.open {

    height: 450px;
    position: fixed !important;
    top: 60px !important;
}
.dropdown_menu li {
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dropdown_menu .action_btn {
    width: 100%;
    display: flex;
    justify-content: center;
    color: white;
}
/* Responsive nav*/
@media (max-width: 992px) {
    .navbar .links,
    .navbar .action_btn {
        display: none;
    }

    .navbar .toggle_btn {
        display: block;
    }
    .dropdown_menu{
        display: block;
    }
}
@media (max-width: 607px) {
    .dropdown_menu {
        left: 2rem;
        width: unset;
    }
}

/* تنسيقات زر اللغات المخفي */
.language-dropdown {
    position: relative;
    margin-left: 15px;
}

.language-dropdown-mobile {
    position: relative;
    margin: 10px 0;
}

.lang-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(2, 62, 138, 0.3);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #0077B6;
    font-size: 14px;
    font-weight: 500;
}

.lang-trigger:hover {
    background: rgba(2, 62, 138, 0.1);
    border-color: #0077B6;
}

.lang-trigger i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.language-dropdown:hover .lang-trigger i,
.language-dropdown-mobile:hover .lang-trigger i {
    transform: rotate(180deg);
}

.lang-options {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 120px;
}

.language-dropdown:hover .lang-options,
.language-dropdown-mobile:hover .lang-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.lang-option {
    display: block;
    width: 100%;
    padding: 10px 15px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 14px;
    color: #333;
}

.lang-option:hover {
    background: #f8f9fa;
    color: #0077B6;
}

.lang-option:first-child {
    border-radius: 8px 8px 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 8px 8px;
}

/* للغة العربية */
[dir="rtl"] .language-dropdown {
    margin-right: 15px;
    margin-left: 0;
}

[dir="rtl"] .lang-options {
    left: auto;
    right: 0;
}

[dir="rtl"] .lang-option {
    text-align: right;
}

/* في الموبايل */
@media (max-width: 992px) {
    .language-dropdown {
        display: none;
    }
    
    .language-dropdown-mobile {
        display: block;
    }
    
    .lang-options {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
    }
    
    .lang-option {
        text-align: center;
        padding: 8px;
        border-radius: 20px !important;
        margin: 2px 0;
        background: rgba(255, 255, 255, 0.1);
    }
}

@media (min-width: 993px) {
    .language-dropdown-mobile {
        display: none;
    }
}   


.footer {
  background-color: #000120; /* لون غامق أنيق */
  color: #fff;
  padding: 50px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-column h3 {
  margin-bottom: 15px;
  font-size: 20px;
  border-bottom: 2px solid #48CAE4;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #ddd;
  text-decoration: none;
  transition: 0.3s;
}

.footer-column ul li a:hover {
  color: #48CAE4;
}

.footer-column p {
  margin: 8px 0;
  font-size: 15px;
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  color: #fff;
  font-size: 25px;
  margin-right: 15px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #48CAE4;
}

.footer-bottom {
  border-top: 1px solid #48CAE4;
  padding-top: 15px;
  text-align: center;
  font-size: 14px;
  position: relative;
}

.footer-bottom span {
  color: #48CAE4;
  font-weight: 500;
}






/* تنسيق زر المستخدم المسجل */
/*.action_btn.user-logged-in {
    background: linear-gradient(to right, #27ae60, #2ecc71) !important;
    padding: 8px 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.action_btn.user-logged-in:hover {
    background: linear-gradient(to right, #219653, #27ae60) !important;
}

.action_btn.user-logged-in i {
    font-size: 16px !important;
}

/* تنسيق خيار تسجيل الخروج */
/*.dropdown_menu .logout-item a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 20px !important;
    border-radius: 20px !important;
    background: rgba(231, 76, 60, 0.1) !important;
}

.dropdown_menu .logout-item a:hover {
    background: #e74c3c !important;
    color: white !important;
}