


/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
/* box-shadow: 0 0 0 30px #fff3, 0 0 0 60px #fff3; */
@font-face
{
    font-family: "dinnextltarabic-regular";
    src: url("../fonts/DINNextLTArabic-Regular-2.ttf");
    font-display: swap;


}
:root{
  /* --maincolor:#01b1d7; */
  /* --maincolor:#17685F; */
  --maincolor:#055339;
  /* #055339 */
  --secondcolor:#097c56;
  --thirdcolor:#f4c430;
  /* --secondcolor:#0dd3fe; */
    --fontcolor:#444444;
    --color-white: #ffffff;
    --color-white-rgb: 255, 255, 255;

    --color-gray: #6c757d;
    --color-gray-rgb: 108, 117, 125;

    --color-black: #000000;
    --color-black-rgb: 0, 0, 0;

    --background-color: #efeff6;
}
.fa-arrow-left {

     margin-inline-start: 0.5rem;
}
/* تخصيص تصميم الـ Tooltip */
.tooltip-inner {
    background-color: var(--maincolor);
    color: white;
  }

  .tooltip-arrow {
    border-top-color: var(--maincolor);
  }

  .tooltip-bs-placement-top {
    margin-bottom: 10px;
  }
  .tooltip-bs-placement-right {
    margin-left: 10px;
  }
body {
  color: var(---fontcolor);
  direction: rtl;
}
*
{
    font-family: "dinnextltarabic-regular";
    color: var(---fontcolor);
}
a {
  color: var(--maincolor);
  text-decoration: none;

}
p{
    text-align: justify;
    /* font-size: 14px; */
}
a:hover {
  color: var(--secondcolor);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  /* font-family: "Raleway", sans-serif; */
}
.btn-main
{
    background-color: white;
    border:1px solid var(--maincolor);
    color:var(--maincolor);
}
.btn-main:hover,.btn-main:focus
{
    background: var(--secondcolor);
    color: white;
}
.a-link
{
    color:var(--maincolor);
}
.btn-second{
    background-color: var(--thirdcolor);
    border:1px solid var(--thirdcolor);
}
.btn-second:hover{
    opacity: .8;
     background-color: var(--thirdcolor);
}
.bg-gray-50 {
    --tw-bg-opacity: 1;
    background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

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

# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  left: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--maincolor);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: var(--secondcolor);
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/




/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 20px 0;
}

.section-bg {
  background-color: #f3f5f8;
}






/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-wrap {
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.contact .info {
  background: #fff;
}

.contact .info i {
  font-size: 24px;
  color: var(--maincolor);
  float: right;
  width: 48px;
  height: 48px;
  /* background: var(--maincolor); */
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 60px 0 0;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #354144;
}

.contact .info p {
  padding: 0 60px 0 0;
  margin-bottom: 0;
  font-size: 14px;
  color: #62787d;
}

.contact .info:hover i {
  background: var(--maincolor);
  color: #fff;
}

.contact .php-email-form {
  width: 100%;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
  /* border: 1px solid var(--secondcolor); */
  padding: 30px;
  background: #fff;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: right;
  padding: 15px;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  padding: .7rem;
}
.contact .php-email-form input[type="checkbox"]{
    border-radius:.2rem;

    font-size: 16px;
    padding: .5rem;

}
.contact .php-email-form input[type="radio"]{
    border-radius:50%;

    font-size: 16px;
    padding: .6rem;
}
.contact .php-email-form input {
  /* height: 44px; */
}
.typeorder
{
    background-color: var(--secondcolor);
    color:#fff;
    cursor: pointer;
}
.typeorder2
{
    background-color: #eee;
    cursor: pointer;

}
.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type=submit] {
  background: var(--maincolor);
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: var(--secondcolor);
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/


    a .member
    {
        color:var(--fontcolor);
    }
    section.team
    {
        padding:10px 0;
    }

    .img-project
    {
    object-fit: cover;
    width: 20rem;
    height: 23rem;
    }
      .team .member:hover .img-project {
        transform: scale(1);
      }
    .btn-primary
    {
        background-color: var(--maincolor);
        border:var(--maincolor);
    }
    .btn-primary:hover, .btn-primary:focus
    {
        background-color: var(--secondcolor);
    }
h5 a{
    color:var(--fontcolor);
}
.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    background-color: var(--maincolor);
    border-color: var(--maincolor);
}
    @media (max-width: 991px) {

        .services .icon-box
        {
    text-align: center;

        }
        .services .icon-box h4 {
            margin-right: 10px;
            text-align: center;
            margin-top: 10px;
            margin-bottom: 10px;

          }
          .services .icon-box p {
            margin-right: 10px;


          }
          .img-project
    {
    object-fit: cover;
    width: 20rem;
    height: 15rem;
    }
        }

    /*--------------------------------------------------------------
# Blog Stylings
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Blog Home Posts List
--------------------------------------------------------------*/
.blog .posts-list article {
    box-shadow: 0 4px 16px rgba(var(--color-black-rgb), 0.1);
    padding: 30px;
    height: 100%;
  }

  .blog .posts-list article+article {
    margin-top: 60px;
  }

  .blog .posts-list .post-img {
    max-height: 240px;
    max-width: 100%;
    margin: -30px -30px 0 -30px;
    overflow: hidden;
  }

  .blog .posts-list .title {
    font-size: 24px;
    font-weight: 700;
    padding: 0;
    margin: 20px 0 0 0;
  }

  .blog .posts-list .title a {
    color: var(--secondcolor);
    transition: 0.3s;
  }

  .blog .posts-list .title a:hover {
    color: var(--maincolor);
  }

  .blog .posts-list .meta-top {
    margin-top: 20px;
    color: var(--color-gray);
  }

  .blog .posts-list .meta-top ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    align-items: center;
    padding: 0;
    margin: 0;
  }

  .blog .posts-list .meta-top ul li+li {
    padding-right: 20px;
  }

  .blog .posts-list .meta-top i {
    font-size: 16px;
    margin-left: 8px;
    line-height: 0;
    color: rgba(var(--color-primary-rgb), 0.8);
  }

  .blog .posts-list .meta-top a {
    color: var(--color-gray);
    font-size: 14px;
    display: inline-block;
    line-height: 1;
  }

  .blog .posts-list .content {
    margin-top: 20px;
  }
  .content2 p
  {
    font-size: 18px;
  }
  .blog .posts-list .read-more a {
    display: inline-block;
    background: var(--maincolor);
    color: var(--color-white);
    padding: 8px 30px;
    transition: 0.3s;
    font-size: 14px;
    border-radius: 4px;
  }

  .blog .posts-list .read-more a:hover {
    background: rgba(var(--color-primary-rgb), 0.8);
  }
  /*--------------------------------------------------------------
  # Blog Details Page
  --------------------------------------------------------------*/
  .blog .blog-details {
    box-shadow: 0 4px 16px rgba(var(--color-black-rgb), 0.1);
    padding: 30px;
  }
  .blog .blog-details .post-img {
    margin: -30px -30px 20px -30px;
    overflow: hidden;
  }
  .blog .blog-details .post-img img {
width:100%;
height: 400px;
object-fit: cover;
  }
  .blog .blog-details .title {
    font-size: 28px;
    font-weight: 700;
    padding: 0;
    margin: 20px 0 0 0;
    color: var(--secondcolor);
  }
  .blog .blog-details .content {
    margin-top: 20px;
  }
  .blog .blog-details .content h3 {
    font-size: 18px;
    /* margin-top: 30px; */
    /* font-weight: bold; */
  }
  .blog .blog-details .content p {
    font-size: 16px;
    /* margin-top: 30px; */
    /* font-weight: bold; */
  }
  .blog .blog-details .content blockquote {
    overflow: hidden;
    background-color: rgba(var(--color-secondary-rgb), 0.06);
    padding: 60px;
    position: relative;
    text-align: center;
    margin: 20px 0;
  }
  .blog .blog-details .content blockquote p {
    color: var(--color-default);
    line-height: 1.6;
    margin-bottom: 0;
    font-style: italic;
    font-weight: 500;
    font-size: 22px;
  }
  .blog .blog-details .content blockquote:after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--secondcolor);
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .blog .blog-details .meta-top {
    margin-top: 20px;
    color: var(--color-gray);
  }
  .blog .blog-details .meta-top ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    align-items: center;
    padding: 0;
    margin: 0;
  }

  .blog .blog-details .meta-top ul li+li {
    padding-right: 20px;
  }

  .blog .blog-details .meta-top i {
    font-size: 16px;
    margin-left: 8px;
    line-height: 0;
    color: rgba(var(--color-primary-rgb), 0.8);
  }

  .blog .blog-details .meta-top a {
    color: var(--color-gray);
    font-size: 14px;
    display: inline-block;
    line-height: 1;
  }

  .blog .blog-details .meta-bottom {
    padding-top: 10px;
    border-top: 1px solid rgba(var(--color-secondary-rgb), 0.15);
  }

  .blog .blog-details .meta-bottom i {
    color: var(--color-secondary-light);
    display: inline;
  }

  .blog .blog-details .meta-bottom a {
    color: rgba(var(--color-secondary-rgb), 0.8);
    transition: 0.3s;
  }

  .blog .blog-details .meta-bottom a:hover {
    color: var(--maincolor);
  }

  .blog .blog-details .meta-bottom .cats {
    list-style: none;
    display: inline;
    padding: 0 20px 0 0;
    font-size: 14px;
  }

  .blog .blog-details .meta-bottom .cats li {
    display: inline-block;
  }

  .blog .blog-details .meta-bottom .tags {
    list-style: none;
    display: inline;
    padding: 0;
    font-size: 14px;
  }

  .blog .blog-details .meta-bottom .tags li {
    display: inline-block;
  }

  .blog .blog-details .meta-bottom .tags li+li::before {
    padding-left: 6px;
    color: var(--color-default);
    content: ",";
  }

  .blog .blog-details .meta-bottom .share {
    font-size: 16px;
  }

  .blog .blog-details .meta-bottom .share i {
    padding-right: 5px;
  }

  .blog .post-author {
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 4px 16px rgba(var(--color-black-rgb), 0.1);
  }

  .blog .post-author img {
    max-width: 120px;
    margin-right: 20px;
  }

  .blog .post-author h4 {
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 0px;
    padding: 0;
    color: var(--secondcolor);
  }

  .blog .post-author .social-links {
    margin: 0 10px 10px 0;
  }

  .blog .post-author .social-links a {
    color: rgba(var(--color-secondary-rgb), 0.5);
    margin-right: 5px;
  }

  .blog .post-author p {
    font-style: italic;
    color: rgba(var(--color-gray-rgb), 0.8);
    margin-bottom: 0;
  }

  /*--------------------------------------------------------------
  # Blog Sidebar
  --------------------------------------------------------------*/

  /* ======================= */
  .bg-titleform
  {
background-color: var(--maincolor);
color:white;
padding: .8rem;
margin:1rem -.2rem;
  }
  .alert-dismissible .btn-close {

    right:95%;
    left: 0;
  }




/* ---------------- */
/* تنسيق الكروت */
.section-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: #fff;
}

.section-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* تنسيق الصورة داخل الكرت */
.card-img-wrapper {
    overflow: hidden;
    height: 220px;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.section-card:hover .card-img-top {
    transform: scale(1.1);
}

/* تنسيق العنوان والنص */
.card-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    line-height: 1.7;
}

.card-text {
    font-size: 1rem;
    color: #777;
    margin-bottom: .5rem;
    /* height: 80px; */
    overflow: hidden;
}

.card-text *
{
 color: #7f8c8d;
}
/* تنسيق الأزرار */
.btn-primary {
    background-color: var(--maincolor);
    border: none;
    padding: 0.6rem 2rem;
    font-size: 1.1rem;
    border-radius: 30px;
    /* text-transform: uppercase; */
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondcolor);
    transform: translateY(-4px);
}

/* إضافة تأثيرات للصف عند الظهور */
.section-card {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease-in-out;
}

.section-card.visible {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 768px) {
    .section-card {
        margin-bottom: 20px;
    }
    /* .fixed-top {
        position: fixed;
        top: 0;
        right: -100px;
        left: 100px;
        z-index: 1030;
    } */
}
/* ============= */
.newwletter-markdown{
    direction: rtl;

}

/* ========univ================ */


:root {

    --glass: rgba(255, 255, 255, 0.98);
}


.main-wrapper {
    display: flex;
    min-height: 100vh;
}

aside {
    flex: 0 0 280px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-left: 1px solid rgba(0,0,0,0.05);
    box-shadow: 5px 0 15px rgba(0,0,0,0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

main {
    /* flex: 1;
    padding: 2rem;
    background: #ffffff;
    transition: margin 0.3s; */
}



/* =========من ساره=========== */
.bg-white {
    background-color: #efeff6 !important;
}

/* .bg-light {
    background-color: #efeff6 !important;
} */


h2 {
    /* border-bottom: 2px solid var(--thirdcolor); */
    padding-bottom: 0.5rem;
}

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

.bg-main {
    background-color: var(--maincolor);
}

/* الخلفية واللون */
.headerPart  {
    background-color: #f3f4f6;
    /* font-weight: 500;
    padding:2rem; */
    border-bottom: 1px solid #e2e8f0;
    z-index: 999;
}
.headerPart .navbar {
    /* background-color: #f3f4f6; */
    font-weight: 500;
    /* padding:2rem; */
    /* border-bottom: 1px solid #e2e8f0; */
}

/* .headerPart .navbar .nav-link {
    color: #fff !important;
    font-size: 16px;
    padding: 10px 15px;
} */


/* الروابط داخل القوائم المنسدلة */
.dropdown-menu {
    border: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.dropdown-menu .dropdown-item {
    color: var(--fontcolor);
    padding: 10px 20px;
    transition: 0.3s;
}

.dropdown-menu .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--thirdcolor);
}

/* مظهر القائمة في الهاتف */
@media (max-width: 991.98px) {
    .headerPart .navbar-collapse {
        /* background-color: var(--maincolor); */
        /* padding: 20px; */
    }

    .headerPart .navbar-nav {
        /* flex-direction: column;
        gap: 15px; */
    }

    .dropdown-menu {
        position: static !important;
        float: none;
        box-shadow: none;
        padding-left: 15px;
    }

    .dropdown-item {
        padding-left: 25px;
        font-size: 16px;
        color: #fff;
    }

    .dropdown-item:hover {
        color: var(--thirdcolor);
    }

    .headerPart .navbar-toggler {
        color: #fff;
        border: none;
    }

    .headerPart .navbar-toggler:focus {
        box-shadow: none;
    }
}

/* أيقونة اللغة */
.headerPart .navbar .bi-globe {
    color: #fff;
    font-size: 18px;
    margin-right: 6px;
}

.headerPart .navbar .nav-link {
    font-weight: 500;
    transition: 0.3s;
}

.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.dropdown-menu .dropdown-item:hover {
    color: var(--fontcolor);
}

.headerPart .navbar-brand img {
    border-radius: 5px;
}

.headerPart .navbar-brand img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

/* تغيير لون زر التبديل ليتناسب مع خلفية الشريط */
.headerPart .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    /* إطار الزر */
}

.headerPart .navbar-toggler-icon {
    color: var(--maincolor);

    /* background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); */
}

.headerPart .navbar-toggler {
    border: none;
    /* إزالة الحد */
    outline: none;
    box-shadow: none !important;
}

.headerPart .navbar-toggler:focus {
    outline: none;
    box-shadow: none !important;
}

.headerPart .navbar-toggler:focus,
.headerPart .navbar-toggler:hover {
    background-color: rgba(255, 255, 255, 0.1);
    /* تأثير خفيف */
}

.headerPart .navbar .nav-link {
    color: var(--fontcolor);
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.2rem;
}

.headerPart .navbar .nav-link:hover,
.headerPart .navbar .nav-link:focus {
    text-decoration: none;
}

.dropdown-toggle::after {
    display: none;
}

@media (max-width: 768px) {
    .headerPart .navbar .nav-link {
        font-size: 15px;
    }

    .dropdown-menu .dropdown-item {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .headerPart .navbar .nav-link {
        font-size: 14px;
    }
}

.headerPart .navbar-nav {
    gap: 5px;
}

@media (max-width: 991.98px) {
    .headerPart .navbar-nav {
        /* flex-direction: column;
        gap: 10px; */
    }

    .dropdown-menu {
        padding-inline-start: 10px;
    }
}

.lang-switch a {
    font-weight: bold;
    opacity: 0.9;
    transition: color 0.3s;
}

.lang-switch a:hover {
    color: var(--thirdcolor) !important;
}

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





.text-primary {
    color: var(--maincolor) !important;
    font-weight: 700;
}

.faculty-header
{
    margin-top: 4.9rem;
    position: fixed;
    top:0px;
    z-index: 99;
    background-color: #f3f4f6;
    left:0;
    right:0;
}
 .main-image {
    object-fit: cover;
    height: 450px !important;
     /* margin-top: 9.7rem; */
}

.program-header img {
    object-fit: cover;
    height: 200%;
}

.faculty-card {
    height: 270px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.faculty-card img {
    object-fit: cover;
    height: 100%;
    transition: 0.3s ease;
}

.faculty-card:hover img {
    transform: scale(1.1);
}
.faculty-card:hover p {
  visibility: visible;
}
.faculty-black-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.35);
    /* شفافية سوداء خفيفة */
    z-index: 1;
}

.faculty-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 15px;
    z-index: 2;
    /* للتأكد أن النص فوق التظليل */
    color: #fff;
    /* text-align: center; */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 80%);

}


.faculty-overlay h5 {
       font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.faculty-overlay p {
    font-size: 01rem;
    padding-right: 10px;
    color: #ddd;
    visibility: hidden;
    transition: all .5s;
}

.btn-accent {
    background-color: var(--thirdcolor);
    color: #fff;
    border: none;
    padding: 6px 14px;
    font-size: 0.85rem;
    border-radius: 5px;
    transition: 0.3s ease;
}

.btn-accent:hover {
    background-color: var(--thirdcolor);
    opacity: 0.9;
    color: #fff;
}

.faculty-icon {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 0 0 0 10px;
    color: var(--thirdcolor);
}




.text-accent {
    color: var(--secondcolor);
}



.carousel-control-icon {
    background: none;
    border: none;
}



/* تصغير الصورة */
.story-img {
    max-height: 360px;
    width: auto;
    object-fit: cover;
    margin-top: 30px;
}


/* الصندوق النصي */
.story-box {
    background-color: #fff;
    border-right: 4px solid var(--secondcolor);
    margin-top: -60px;
    z-index: 2;
}

.btn-readmore {
    background-color: var(--maincolor);
    color: #fff;
    padding: 8px 20px;
    border: none;
    transition: none;
    border-radius: 6px;
}

.btn-readmore:hover {
    cursor: pointer;
    background-color: var(--secondcolor);
    color: #fff;

}

.news-box {
    background-color: #fff;
    border: 1px solid #eee;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-height: 90px;
}

.news-box h5 {
    margin: 0;
    font-size: 1.1rem;
}

/* قسم تفاصيل التخصص */
#department-details {
    margin-top: 50px;
}

#department-details img {
    max-height: 320px;
    object-fit: cover;
    border-radius: 10px;
}

#department-details .section-header {
    color: var(--maincolor);
    font-weight: bold;
    border-bottom: 2px solid var(--thirdcolor);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

#department-details .lead {
    color: var(--fontcolor);
}

#department-details .info-label {
    font-weight: bold;
    color: var(--maincolor);
}

#department-details .info-box {
    background-color: #f8f9fa;
    border-right: 4px solid var(--thirdcolor);
    padding: 20px;
    border-radius: 8px;
}

/* زر الرجوع */
.btn-outline-primary {
    color: #f9f9f9 !important;
    border-color: var(--maincolor) !important;
    background-color: var(--maincolor);
    padding: 1rem 1rem;
    padding-top: .7rem;
}

.btn-outline-primary:hover {
    background-color: var(--secondcolor) !important;
    border-color: var(--secondcolor) !important;
    color: #fff !important;
}


.program-box {
    background-color: #fff;
    border-right: 4px solid var(--thirdcolor);
    transition: transform 0.2s ease;
}

.program-box:hover {
    transform: scale(1.02);
}






/* المؤتمرات */


.event-img-wrap {
    height: 180px;
    overflow: hidden;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.event-img-wrap img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: 0.3s ease;
}

.card:hover .event-img-wrap img {
    transform: scale(1.03);
}

.btn-accent {
    background-color: var(--thirdcolor);
    color: #fff;
    border: none;
    padding: 6px 14px;
    font-size: 0.85rem;
    border-radius: 5px;
}

.btn-accent:hover {
    background-color: var(--thirdcolor);
    opacity: 0.9;
    color: #fff;
}

.event-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #ddd;
}

/* الأخبار */


.new-img-wrap {
    height: 180px;
    overflow: hidden;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.new-img-wrap img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: 0.3s ease;
}

.card:hover .new-img-wrap img {
    transform: scale(1.03);
}

.btn-accent {
    background-color: var(--thirdcolor);
    color: #fff;
    border: none;
    padding: 6px 14px;
    font-size: 0.95rem;
    border-radius: 5px;
}

.btn-accent:hover {
    background-color: var(--thirdcolor);
    opacity: 0.9;
    color: #fff;
}

.new-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #ddd;
}

.news-box:hover {
    background-color: #f1f1f1;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--thirdcolor);
}

/* المدونة */

.blog-box,
.pro-box,
.new-box,
.event-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.50);
}

.blog-box:hover,
.pro-box:hover,
.new-box:hover,
.event-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.blog-box .card-img-top,
.new-box .card-img-top,
.event-box .card-img-top {
    height: 200px;
    object-fit: cover;
}

.pro-box .card-img-top {
    height: 220px;
    object-fit: cover;
}

.counter {
    font-size: 2rem;
    font-weight: bold;
    color: var(--thirdcolor);
}

/* #university-stats .col-md-2 {
    padding: 10px 0;
} */

#university-stats h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color:var(--thirdcolor);
}

#university-stats i {
    color: var(--maincolor);
    border-radius: 50%;
    background-color: #eef5f3;
    color:var(--maincolor);
    padding: 9px 14px;

}

/*     */
/* .bg-light {
    margin-bottom: 3rem;
} */

.video-box {
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s ease;
}

.video-box:hover {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}


.service-box {
    background-color: #fff;
    transition: 0.3s ease;
    cursor: pointer;

}

.service-box:hover {
    background-color: #eef7f6;
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.07);
}

.service-box i {
    color: var(--maincolor);
    border-radius: 50%;
    background-color: #eef5f3;
padding: 9px 14px;

}

.service-box h6 {
    margin: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.program-img {
    height: 180px;
    object-fit: cover;
    transition: 0.3s ease;
}

.program-card:hover .program-img {
    transform: scale(1.05);
}

.program-card h5 {
    font-size: 1rem;
    font-weight: 600;
}

/*   صفحة الكلية   */

.faculty-link {
    color: var(--maincolor);
    font-weight: 400;
    transition: 0.3s;
    font-size: 1.2rem;
}

.faculty-link:hover {
    color: var(--secondcolor);

}

.section-space {
    margin-top: 60px;
}

/* .section-title2 {
    border-right: 4px solid var(--secondcolor);
    padding-right: 10px;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--maincolor);
} */

/* .nav-container {
    background-color: #ca8d8d;
} */
.logo{
    height: 60px;

}
.faculty-page,
.program-page {
    background-color: #f9f9f9;
}

.program-name,
.dept-name {
    color: #444444;
    font-size: 1.25rem;
}

.about-fac {
    font-size: 1.25rem;
}

/*      contact        */
/* .section-title {
    font-size: 1.8rem;
    padding-right: 10px;
    color: var(--maincolor);
    font-weight: bold;
    border-bottom: 2px solid var(--thirdcolor);
} */
.section-title {
    margin-bottom: 1.5rem;
    border-right: 4px solid #f4c430;
    --tw-border-opacity: 1;
    padding-right: .75rem;
    text-align: right;
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    --tw-text-opacity: 1;
    color: rgb(10 61 98 / var(--tw-text-opacity, 1))
}
.section-sm-title {
    margin-bottom: 1rem;
    border-right: 2px solid #f4c430;
    --tw-border-opacity: 1;
    padding: .45rem;
    /* text-align: right; */
    font-size: 1.2rem;
    line-height: 1rem;
    font-weight: 700;
    --tw-text-opacity: 1;
    color: rgb(10 61 98 / var(--tw-text-opacity, 1))
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-info p {
    font-size: 0.95rem;
    color: #555;
}

.contact-form .form-control {
    border-radius: 6px;
    border: 1px solid #ccc;
}

.btn-accent {
    background-color: var(--maincolor);
    color: white;
    padding: 6px 18px;
    border-radius: 4px;
    font-size: 0.95rem;
}

.btn-accent:hover {
    background-color: var(--thirdcolor);
}

.section-div {
    padding-top: 0% !important;
    padding-bottom: 2rem !important;

}

/*  header  */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* خلفية شفافة */
    color: white;
    padding: 2rem;
}

/* .hero-img {
    height: 500px;
    object-fit: cover;
} */

/* التأثير الأساسي على الروابط */
.headerPart .navbar-nav .nav-link {
    position: relative;
    /* color: #ffffffcc; */
    transition: all 0.3s ease;
    font-weight: 500;
}

/* تأثير الإضاءة عند المرور */
.headerPart .navbar-nav .nav-link:hover {
    /* color: #fff; */
    transform: translateY(-2px);
}

/* خط أسفل الرابط عند المرور */
/* .headerPart .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--thirdcolor);
    transition: all 0.3s ease;
    transform: translateX(-50%);
} */

.headerPart .navbar-nav .nav-link:hover::after {
    width: 70%;
}

/* روابط القائمة المنسدلة (dropdown) */
.dropdown-menu .dropdown-item {
    transition: background-color 0.3s ease, padding-right 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f8f9fa;
    padding-right: 10px;
    color: var(--maincolor);
}

/*  dept  */
/* .dept-header .overlay {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-shadow: 1px 1px 3px #000;
}

.section-link {
    color: var(--maincolor);
    font-weight: 500;
    transition: 0.3s;
}
.section-link:hover {
    color: var(--thirdcolor);
    text-decoration: underline;
}

.section-space {
    margin-top: 60px;
}
.section-title {
    border-right: 4px solid var(--thirdcolor);
    padding-right: 10px;
    margin-bottom: 20px;
    font-size: 1.25rem;
} */

/* program */
.program-header .overlay {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-shadow: 1px 1px 3px #000;
}

.section-link {
    color: var(--maincolor);
    font-weight: 500;
    transition: 0.3s;
}

.section-link:hover {
    color: var(--thirdcolor);
    text-decoration: underline;
}

.section-space {
    margin-top: 60px;
}
/* الاخير من ساره */
/*     journal             */
.journal-page .nav-tabs {
    justify-content: center;
}

.journal-page .nav-tabs .nav-link {
    transition: color 0.3s ease;
}
.journal-page .nav-tabs .nav-link.active {
    font-weight: bold;
}
.journal-page .nav-tabs .nav-link:hover {
    color: var(--accent-color);
}

.journal-page .card {
    border: none;
}

.journal-page .statistic h3 {
    font-size: 1.75rem;
}

#journalTabs .nav-link {
    color: var(--accent-color);
}

.filed {
    background-color: var(--accent-color);
    color: #fff !important;
    padding: 20px 40px;
    margin: 10px;
    font-weight: 500 !important;
    font-size: 1rem !important;
    width: 23%;
}

.bg-accent {
    background-color: var(--accent-color);
    color: white;
}

.card .btn-sm {
    font-size: 0.875rem;
    font-weight: 500;
}

.btn-r {
    width: 130% !important;
}

.btn-d {
    background-color: #fff;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-d:hover {
    background-color: #fff;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.publication-field {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.card img.rounded-circle {
    border: 2px solid var(--accent-color);
}

/*     library        */
.library-book .badge {
    font-size: 0.8rem;
  }

  .filter-btn {
    transition: 0.3s;
  }
  .filter-btn:hover,
  .filter-btn.active {
    background-color: var(--main-color);
    color: white;
    border-color: var(--main-color);
  }

  .library-book {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .library-book:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }

  .card .card-img-top {
    height: 200px;
    object-fit: cover;
  }

/* conf         */
  .card-img-top {
    height: 200px;
    object-fit: cover;
}

.nav-tabs .nav-link {
    font-weight: 500;
    color: var(--main-color);
}
.nav-tabs .nav-link.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.conference-stats {
    background: #f8f9fa;
}

.conference-stats h3 {
    font-size: 2rem;
    color: var(--main-color);
}

/*  about    */

.wow {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease-in-out;
}
.wow.show {
    opacity: 1;
    transform: translateY(0);
}

/*     president    */
.president-message .icon-box {
    width: 80px;
    height: 80px;
    background: #e0f0ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.text-purple {
    color: #6f42c1;
}

.president-photo img {
    border: 4px solid var(--accent-color);
    transition: transform 0.3s ease-in-out;
}
.president-photo img:hover {
    transform: scale(1.05);
}

.accordion-button:not(.collapsed) {
    color: var(--accent-color);
}
/* ===============نهاية ملف ساره========= */
.event-conf
{
    position: relative;
}
.fixed-date
{
    position: absolute;
    top:10px;
    right:20px;
    padding: 7px;
    background-color: #f4c430;
    z-index: 3;
    border-radius: 5px;
color:white;
}
/* تصميم نبذه عن الكلية سمية */
        :root {
            /* --maincolor: #2c3e50; */
            /* --secondcolor: #3498db; */
            /* --thirdcolor: #e74c3c; */
            --light-bg: #ffffff;

            --dark-bg: #000000;
        }

        .college-about-section {

            /* background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%); */
            padding: 20px 0;
            position: relative;
            overflow: hidden;
            margin-top: 9rem;
        }

        .college-about-section .section-title {
            text-align: center;
            margin-bottom: 60px;
            position: relative;
            z-index: 2;
            border:none;
        }

        .college-about-section .section-title h1 {
            font-size: 2.5rem;
            color: var(--maincolor);
            margin-bottom: 20px;
            font-weight: 700;
            position: relative;
            display: inline-block;

        }

        .college-about-section .section-title h1:after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--secondcolor), var(--thirdcolor));
            border-radius: 2px;
        }

        .college-about-section .section-title p {
            font-size: 1.2rem;
            color: #7f8c8d;
            /* max-width: 700px; */
            margin: 15px 10px;
            line-height: 1.7;
        }

        .college-about-section .info-card {
            background: white;
            border-radius: 15px;
            padding: 15px;
            margin-bottom: 20px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
            transition: all 0.4s ease;
            height: 100%;
            border-left: 4px solid var(--secondcolor);
            position: relative;
            overflow: hidden;
        }

        .college-about-section .info-card:before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(52, 152, 219, 0.05) 0%, rgba(44, 62, 80, 0.05) 100%);
            z-index: 0;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .college-about-section .info-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            border-left: 4px solid var(--thirdcolor);
        }

        .college-about-section .info-card:hover:before {
            opacity: 1;
        }

        .college-about-section .info-card h3 {
            font-size: 1.6rem;
            color: var(--maincolor);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .college-about-section .info-card h3 i {
            margin-left: 12px;
            color: var(--secondcolor);
            font-size: 1.4rem;
            background: rgba(52, 152, 219, 0.1);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .college-about-section .info-card p {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #555;
            text-align: justify;
            position: relative;
            z-index: 1;
        }

        .college-about-section .contact-card {
            background: linear-gradient(135deg, var(--maincolor) 0%, var(--dark-bg) 100%);
            border-radius: 15px;
            padding: 35px;
            color: white;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
            height: 100%;
        }

        .college-about-section .contact-card h2 {
            font-size: 2rem;
            margin-bottom: 30px;
            text-align: center;
            position: relative;
            padding-bottom: 15px;
        }

        .college-about-section .contact-card h2:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, var(--secondcolor), var(--thirdcolor));
            border-radius: 2px;
        }

        .college-about-section .contact-item {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 15px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            transition: all 0.3s ease;
            margin-bottom: 15px;
            /* margin-left:10px ; */
        }

        .college-about-section .contact-item:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateX(5px);
        }

        .college-about-section .contact-item i {
            font-size: 1.8rem;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--secondcolor), var(--thirdcolor));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .college-about-section .contact-details h4 {
            font-size: 1.2rem;
            margin-bottom: 5px;
            color: white;
        }

        .college-about-section .contact-details p {
            font-size: 1.1rem;
            color: #ecf0f1;
            margin: 0;
        }

        .college-about-section .value-card {
            background: #f8f9fa;
            border-radius: 15px;
            padding: 25px 20px;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid #eaeaea;
            height: 100%;
        }

        .college-about-section .value-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
            background: #fff;
            border-color: var(--secondcolor);
        }

        .college-about-section .value-card i {
            font-size: 2.5rem;
            color: var(--secondcolor);
            margin-bottom: 15px;
            transition: all 0.3s ease;
        }

        .college-about-section .value-card:hover i {
            color: var(--thirdcolor);
            transform: scale(1.1);
        }

        .college-about-section .value-card h4 {
            font-size: 1.3rem;
            color: var(--maincolor);
            margin-bottom: 10px;
        }

        .college-about-section .value-card p {
            font-size: 1rem;
            color: #7f8c8d;
            line-height: 1.6;
        }

        .college-about-section .objectives-list {
            list-style-type: none;
            padding: 0;
        }

        .college-about-section .objectives-list li {
            position: relative;
            padding: 12px 0 12px 40px;
            font-size: 1.1rem;
            line-height: 1.7;
            color: #555;
            border-bottom: 1px dashed #eee;
        }

        .college-about-section .objectives-list li:last-child {
            border-bottom: none;
        }

        .college-about-section .objectives-list li:before {
            content: '\f00c';
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 14px;
            color: #27ae60;
            font-size: 1.2rem;
            background: rgba(39, 174, 96, 0.1);
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .college-about-section .decoration-element {
            position: absolute;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: rgba(52, 152, 219, 0.05);
            z-index: 0;
        }

        .college-about-section .dec-1 {
            top: 10%;
            left: 5%;
        }

        .college-about-section .dec-2 {
            bottom: 10%;
            right: 5%;
            background: rgba(231, 76, 60, 0.05);
            width: 150px;
            height: 150px;
        }

        .college-about-section .dec-3 {
            top: 40%;
            right: 20%;
            background: rgba(44, 62, 80, 0.05);
            width: 100px;
            height: 100px;
        }

        @media (max-width: 768px) {
            .college-about-section .section-title h1 {
                font-size: 2.2rem;
            }

            .college-about-section .section-title p {
                font-size: 1.1rem;
            }

            .college-about-section .info-card,
            .college-about-section .contact-card {
                padding: 25px 20px;
            }

            .college-about-section .info-card h3 {
                font-size: 1.4rem;
            }
        }
        /* @media (max-width: 1300px) { */
            @media (min-width: 990px) and (max-width: 1300px) {
            .college-about-section .section-title h1 {
            margin-top: 35px;
            }
        }

/* نهاية تصميم نبذه عن الكلية سمية */
