/********** Template CSS **********/
:root {
    --primary: #D08301;
    --light: #F0FBFC;
    --dark: #181d38;
}

.text-orange {
    color: #D08301 !important;
}

.text-primary {
    color: #1a096e !important;
}


.logo img {
    width: 200px !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
}


.img-container {
    width: 100%;
    height: 200px; /* توحيد ارتفاع الصور */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 8px; /* لإعطاء الصور شكل جمالي */
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* لضبط الصورة داخل الإطار بدون تشوه */
}


.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header carousel ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url(../img/univercty2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, .7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** Service ***/
.service-item {
    background: var(--light);
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/***  Courses ***/
/* دي استايلات الصور جوه الكورسات والفئات */
.category img,
.course-item img {
    transition: .5s; /* بتخلي تأثير التغيير يكون ناعم خلال 0.5 ثانية */
}

/* لما المستخدم يحط الماوس ع الصورة، هتكبر شوية */
.category a:hover img,
.course-item:hover img {
    transform: scale(1.1); /* تكبير الصورة بنسبة 10% */
}

/* الحاوية الأساسية لكل الكورسات */
.courses-container {
    display: flex; /* استخدم Flexbox لترتيب العناصر */
    flex-direction: column; /* يخلي العناصر تيجي تحت بعض مش جنب بعض */
    gap: 20px; /* بيحدد مسافة بين كل كورس والتاني */
}

/* تصميم الكورس الواحد */
.course {
    display: flex; /* يخلي الصورة والمعلومات جنب بعض */
    align-items: center; /* يوسطن العناصر عموديًا */
    justify-content: space-between; /* يوزع العناصر بين الصورة والمحتوى بالتساوي */
    background-color: #f8fcff; /* لون الخلفية */
    padding: 20px; /* مسافة داخلية عشان يكون منظم */
    border-radius: 10px; /* يخلي الحواف دائرية شوية */
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1); /* يضيف ظل خفيف للكارت */
}

/* استايل الصور جوه الكورسات */
.course img {
    width: 45%; /* الصورة تاخد 45% من عرض الكارت */
    height: auto; /* الارتفاع يكون تلقائي حسب العرض */
    border-radius: 10px; /* الحواف ناعمة */
}

/* استايل معلومات الكورس */
.course-info {
    width: 50%; /* العرض يكون 50% من الكارت */
}

/* لو عايزين الصورة تيجي على اليمين والمحتوى على الشمال */
.reverse {
    flex-direction: row-reverse; /* يعكس ترتيب العناصر */
}

/* تأثير الأنيميشن عند ظهور الكورس */
.course {
    display: flex; /* نفس تنسيق الكورس العادي */
    align-items: center; /* يوسطن العناصر */
    justify-content: space-between; /* يوزع العناصر كويس */
    opacity: 0; /* في الأول الكورس مخفي */
    transform: translateY(50px); /* الكورس هيبدأ بعيد عن مكانه بـ 50px */
    transition: opacity 1s ease-out, transform 1s ease-out; /* يخلي الظهور يكون ناعم */
}

/* لما الكورس يظهر (لما نضيف له الكلاس .show) */
.course.show {
    opacity: 1; /* يظهر الكورس */
    transform: translateY(0); /* يرجعه مكانه الطبيعي */
}

/* تأثيرات إضافية على صور الكورسات */
.course img {
    width: 45%; /* الصورة تكون 45% من عرض العنصر */
    height: auto; /* تحافظ على تناسب الأبعاد */
    border-radius: 10px; /* زوايا دائرية للصورة */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* يضيف ظل خفيف للصورة */
}

/* استايل لمعلومات الكورس */
.course-info {
    width: 50%; /* تاخد نصف عرض العنصر */
    padding: 20px; /* مسافة داخلية */
    background: #f9f9f9; /* لون الخلفية */
    border-radius: 10px; /* حواف دائرية */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* ظل خفيف */
}

/* استايل الصور داخل الجاليري */
.gallery img {
    width: 100%; /* تخلي الصورة تاخد عرض العمود بالكامل */
    height: 100px; /* كل الصور يبقى ليها نفس الارتفاع */
    object-fit: cover; /* يخلي الصورة تملأ المساحة من غير ما تتشوه */
    border-radius: 5px; /* زوايا ناعمة للصورة */
}

/*---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/




/* دا السطرين اللى فوق البراجراف*/
  .texte-center { 
    text-align: center;
}

.section-titlee {
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    color: #00bcd4; /* لون أزرق فاتح مشابه للصورة */
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 10px;
    background: #fff; /* خلفية بيضاء للحفاظ على تنسيق الخط */
    text-align: center; /* توسيط النص */
}
/* دا العنوان الللى بعد البراجراف علطول */
.section-titlee::before,
.section-titlee::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background-color: #00bcd4;
}

.section-titlee::before {
    left: -50px;
}

.section-titlee::after {
    right: -50px;
}

h1 {
    font-size: 32px;
    font-weight: bold;
    color: #131a26; /* لون النص */
    margin-top: 10px;
    text-align: center;
}
/* دى نهاية الاكواد  السطرين اللى فوق البراجرف   */


.subtitle {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #333;
    width: 60%;
    margin: 20px auto;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.subtitle:hover {
    background-color: #D08301 !important; /* اللون البرتقالي */
    color: #fff !important; /* تغيير لون النص */
}

/* إزالة تأثيرات focus/active لو كانت موجودة */
.subtitle:focus, .subtitle:active {
    background-color: #D08301 !important; /* نفس اللون */
    color: white !important;
}





       /* دى نهايه اكواد البراجراف */


/* دى الاسئله وتنسيقتها */
.faq-section {
    flex: 1;
}

.faq {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    cursor: pointer;
    background: #D08301; /* اللون البرتقالي */
    color: white;
    border-radius: 5px;
    transition: background 0.3s;
}

.faq-item:hover {
    background: #b67301; /* تغيير اللون عند التحويم (لون أغمق قليلاً من البرتقالي) */
}


.answer {
    display: none;
    background: #e9ecef;
    padding: 10px;
    border-radius: 5px;
    text-align: left;
    margin-top: 5px;
    width: 100%;
}


.answer.show {
    max-height: 200px; /* يضبط الطول حسب الحاجة */
}


/* دى نهاية تنسيق الاسئله */

















/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
.service-item img {
    width: 100%; /* يجعل الصورة تمتد بعرض العنصر بالكامل */
    height: 180px; /* ضبط ارتفاع الصورة */
    object-fit: cover; /* يضمن أن الصورة تملأ العنصر دون تشويه */
    border-radius: 10px; /* يجعل الحواف مستديرة قليلاً */
}

.service-item {
    border: 1px solid #ddd; /* إضافة إطار خفيف */
    border-radius: 15px;
    overflow: hidden; /* يضمن عدم خروج الصورة عن الحواف */
    background: #fff; /* يجعل الخلفية بيضاء */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* إضافة ظل خفيف */
}

.service-item .p-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/* دى صفحة التسجيل */


.conTanuar {
   

    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 3px solid #ccc;
    width: 800px;
    text-align: center; 
    position: relative;
     left: 20%; 

}
.google-login {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: black;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}
.google-login img {
    width: 20px;
    margin-right: 10px;
}
.google-login:hover {
    background-color: #D08301;
    color: white;
}
.input-group {
    text-align: left;
    margin: 15px 0;
}

.line-or{
    color: #007bff;
}
.input-group label {
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}
.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.checkbox-group {
    text-align: left;
    margin: 10px 0;
}
.checkbox-group label {
    font-size: 14px;
}
.button {
    width: 100%;
    background-color: #007bff;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}
.forgot-password {
    margin-top: 15px;
    font-size: 14px;
}
.forgot-password a {
    color: #007bff;
    text-decoration: none;
}
.forgot-password a:hover {
    text-decoration: underline;
}
.hidden {
    display: none;
}

/* نهايه تنسيق فورم التسجيل */

.custom-btn {
    background-color: #007bff; /* لون أزرق */
    color: white;
    border: none;
    padding: 10px;
    font-size: 18px;
    transition: all 0.3s ease-in-out;
    border-radius: 8px; /* زوايا دائرية */
  }

  .custom-btn:hover {
    background-color: #0056b3; /* لون أزرق غامق عند التمرير */
    transform: scale(1.05); /* تكبير بسيط عند التمرير */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* ظل ناعم */
  }




/*دى تنسيقات الجزء اللى فى صفحةhr اللى فيه اهم اخبار */

  
  section {  
    padding: 20px;
    background-color: #f9f9f9;
    border: 2px solid white;
    border-radius: 15px;
    max-width: 700px;
    margin: auto;
    transition: all 0.3s ease;
  }

  section:hover {
    background-color: #D08301;;
    border-color: black;
    transform: scale(1.01);
  }

  


