@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900;1000&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Cairo', sans-serif;
}

:root {
  --main-color: #1E3E77;
  --yellow: #ABA005;
  --yellow-light: #FFE597;
  --bg-color: #F2F2F2;
  --gray: #7D7D7D;
  --gray-light: #A8A8A8;
  --white: #fff;
  --black: #252525;
}

main {
  max-width: 1920px;
  margin: auto;
}

img {
  width: 100%;
  height: 100%;
}

a {
  text-decoration: none;
}

.hero-section {
  min-height: 100vh;
}

.mh-900 {
  min-height: 70vh;
  /* padding-left: 240px; */
}

.hero-section .image img {
  object-fit: cover;
    display: flex
;
    align-items: center;
    justify-content: center;
    height: 110vh;
    width: 100% !important;
}

.nav-link:focus,
.nav-link {
  color: var(--white);
}

.nav-link {
  padding: 10px 2rem !important;
}

.navbar-toggle:focus,
.navbar-toggler {
  box-shadow: none !important;
  outline: none !important;
  border: none !important;
}

.navbar-toggler-icon {
  background-image: none;
}

.dropdown-item {
  text-align: start;
}

.nested {
  top: 0;
  right: 170px;
}

.dropdown-menu {
  background-color: var(--white);
  border-radius: 0;
  padding: 0;
}

.dropdown-toggle::after {
  display: none;
  margin-right: 0.5rem;
}

.login {
  height: 50px !important;
  padding: 0 2rem !important;
  width: fit-content !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--yellow-light) !important;
}

.navbar-brand {
  height: 80px;
}

.hero-section .image {
  z-index: -1;
  /* width: 100%;
  height: 100%; */
  /* height: -webkit-fill-available; */
  /* width: fit-content; */
}

.inner-box {
  width: 44%;
}

.icon {
  width: 20px;
}

.w-90 {
  width: 90%;
  margin: auto;
}

.content img {
  object-fit: contain;
}

hr {
  color: #E5E5E5;
}

.social-icons .box {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  background-color: var(--yellow-light);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px;
}

.social-icons .box img {
  width: 16px;
  height: 16px;
}

.dropdown:has(ul>.show) .dropdown-toggle::after,
.dropdown-toggle:hover::after {
  transform: rotate(180deg);
}

/* about-us */
.tab-section,
.about-us {
  background-color: var(--bg-color);
}

.accordion-button::after {
  margin: 0;
}

.accordion-item {
  border: 0;
  border-top: 3px solid var(--main-color) !important;
  border-radius: 0 !important;
  margin-bottom: 2rem;
}

.accordion-button:focus,
.accordion-button {
  border: none;
  border-radius: 0;
  box-shadow: none;
  min-height: 135px;
}

.accordion-button:not(.collapsed) {
  background-color: transparent;
}

.accordion-button:not(.collapsed)::after,
.accordion-button::after {
  content: none;
}

.accordion-body {
  min-height: 130px;
}

.accordion-body p {
  line-height: 2;
  min-height: 150px;
  width: 90%;
}

.about-img {
  height: 70px;
  margin-left: 2rem;
}

.img-video {
  height: 670px;
  width: 645px;
  margin: auto;
}

.img-video img {
  border-radius: 60px;
}

.accordion-item:has(.show) .fa-angle-up {
  color: var(--yellow);
}

.accordion-item:not(:has(.show)) .fa-angle-up {
  color: var(--main-color);
  transform: rotate(180deg);
}

.play {
  position: absolute;
  top: 50%;
  right: 50%;
  background: #CC9D42;
  width: 87px;
  height: 87px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(50%, -50%);
}

.btn {
  box-shadow: none;
  outline: none;
  border: none;
}

/* collage */
.collage {
  background-color: var(--bg-color);
}

.card-collage {
  min-width: 500px;
  width: calc(88%/3);
  min-height: 280px;
  background-color: var(--white);
  border-radius: 15px;
  /* box-shadow: 0 0 20px #ddd; */
  box-shadow: 0px 0px 77px #0000000F;
  margin: 1.5rem 2rem;
}

.collage-img {
  width: 160px;
}

.collage-img img {
  border-radius: 12px;
}

.object-cover {
  object-fit: cover;
}

.object-contain {
  object-fit: contain;
}

.w-22 {
  width: 22px;
}

/* last news */
.img-last-new {
  height: 290px;
}

.img-last-new img {
  border-radius: 30px;
}

.more {
  margin: 4rem 0 1rem 0;
  background-color: var(--yellow-light);
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 10px;
  height: 60px;
  width: 200px;
}

.last-news-slick a:hover h5 {
  color: var(--main-color);
}



    .d-sm-flex {
        display: flex !important
;
    }
}



/* advs */
.card-adv {
  display: flex !important;
  /* box-shadow: 0 0 20px #ddd; */
  box-shadow: 0px 0px 77px #0000000F;
  margin: 1rem 2rem;
  border-radius: 15px;
  min-height: 350px;
}

.advs h5 {
  line-height: 1.7;
}

.card-adv:hover h5 {
  color: var(--yellow);
}

.card-adv:hover .box-number {
  background-color: var(--yellow-light);
}

.img-adv {
  width: 250px;
  height: 250px;
}

.img-adv img {
  object-fit: cover;
  border-radius: 30px;
}

.box-number {
  display: flex;
  flex-direction: column;
  min-width: 70px;
  height: 70px;
  background-color: #1e3e771a;
  border-radius: 15px;
  justify-content: center;
  align-items: center;
  padding: 10px;
  margin-left: 1rem;
  margin-bottom: 1rem;
}

.card-adv p {
  line-height: 1.7;
}

/* counter-up */
.counter-up {
  background-color: #F2F2F2;
  min-height: 350px;
  display: flex;
  align-items: center;
}

/* activities */
.activity-card {
  border-radius: 10px;
  box-shadow: 0px 6px 42px #0000001A;
  margin: 2rem;
  min-width: 300px;
  max-width: 350px;
}

.img-activity {
  height: 220px;
}

.img-activity img {
  border-radius: 10px 10px 0px 0px;
}

.activity-card .title {
  line-height: 2;
  min-height: 50px;
}

/* subscribe */
.subscribe,
.subscribe form {
  min-height: 150px;
}

.subscribe {
  /* background-image: linear-gradient(180deg, var(--white) 0% 50%, var(--main-color) 50% 100%); */
}

.subscribe form {
  background-color: #dad4cd;
  height: 100%;
  border-radius: 8px;
}

.subscribe input:focus {
  outline: 0;
  border: 0;
}

.subscribe input {
  height: 60px;
  background: #F5F5F5 0% 0% no-repeat padding-box;
  border-radius: 4px;
  width: 100%;
  border: 0;
  padding: 10px 20px;
}

.subscribe input:focus::placeholder {
  color: transparent;
}

.btn-subscribe:hover,
.btn-subscribe:focus,
.btn-subscribe {
  background-color: #69443c;
  color: var(--white);
  border-radius: 30px;
}

.btn-subscribe {
  height: 60px;
}

.btn-subscribe:hover {
  background-color: var(--yellow);
  /* color: var(--main-color); */
}

/* footer */
footer .footer {
  /* background-color: var(--main-color); */
  background-image: url(../images/footer.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

a:hover i,
a .brown-text:hover,
footer a span.brown-text:hover,
footer ul li:hover a:hover,
footer ul li:hover a {
  color: var(--yellow);
}

.footer-img {
  height: 80px;
  width: 300px;
}

.footer .box {
  width: 47px;
  height: 47px;
  background-color: var(--yellow);
}

.footer-icon {
  height: 24px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #69443c;
  padding-right: 10px;
}

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

.footer .box img {
  width: 20px;
  height: 20px;
}



/* modal */
#showVideo {
  background-color: rgb(0 0 0 / 54%);
}

#showVideo .modal-dialog {
  min-height: 90vh;
  display: flex;
  align-items: center;
  min-width: 800px;
}

#showVideo .modal-content {
  background: transparent;
  border: 0;
  width: 100%;
  height: 100%;
}

#showVideo .modal-body {
  display: flex;
  justify-content: center;
}

iframe {
  width: 800px;
  height: 400px;
}

.inner-footer {
  background-color: #e9e5e0;
  border-radius: 40px;
}

.inner-footer input,
.inner-footer input::placeholder {
  background-color: #ad9e8e;
  color: #69443c;
}

/* animation */
.fade-up {
  animation-name: fadeUp;
  animation-duration: 500ms;
  animation-timing-function: ease-in-out;
  animation-fill-mode: both;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* nav */
.dropdown .dropdown-menu {
  display: none;
}

.dropdown:hover>.dropdown-menu,
.dropend:hover>.dropdown-menu {
  display: block;
  /* margin-top: 0.125em; */
  margin-left: 0.125em;
  border: 0;
}

nav .dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.dropdown-menu {
  top: 85%;
  width: 200px;
  right: 16px;
}

.dropdown-menu.nested {
  top: 0;
  right: 100%;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  height: 50px;
}

.dropdown-menu a:hover {
  background-color: var(--yellow-light);
  transition: 5s;
}

.dropdown-menu li {
  position: relative;
  display: inline-block;
  width: 100%;
}

.dropdown-menu li::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(to left, var(--yellow-light) 100%, var(--yellow-light) 100%);
  transition: width 0.5s ease;
  z-index: -1;
}

ul li:hover::after {
  width: 100%;
  background: linear-gradient(to left, var(--yellow-light) 100%,
      var(--yellow-light) 90%,
      var(--yellow-light) 80%,
      var(--yellow-light) 70%,
      var(--yellow-light) 60%,
      var(--yellow-light) 50%,
      var(--yellow-light) 40%,
      var(--yellow-light) 30%,
      var(--yellow-light) 20%,
      var(--yellow-light) 10%,
      var(--yellow-light) 0%);
}


.social-icons .box:hover i {
  color: var(--white);
}

.box-info:hover h6 {
  color: var(--yellow-light) !important;
}

.more:hover {
  background-color: var(--main-color);
  color: var(--yellow-light) !important;
}

.fa-arrow-left {
  transition: transform 0.3s ease;
}

.btn-subscribe:hover .fa-arrow-left-long,
a.yellow-text:hover .fa-arrow-left,
.more:hover .fa-arrow-left {
  animation: infiniteTranslation 2s ease infinite;
}

@keyframes infiniteTranslation {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-10px);
  }

  100% {
    transform: translateX(0);
  }
}

.activity-card:hover .yellow-text {
  color: var(--main-color);
}

.card-collage:hover .yellow-text {
  color: var(--main-color);
}

.card-collage:hover .main-text {
  color: var(--yellow);
}

footer li:hover .white-text {
  color: var(--yellow-light);
}

footer a:hover span.white-text,
.activity-card:hover .title {
  color: var(--yellow);
}



.hero-section .header {
  position: absolute;
  width: 100%;
  z-index: 1000;
}

.hero-section .slick-slider .slick-track,
.hero-section .slick-slider .slick-list,
.hero-section .slick-dotted.slick-slider {
  min-height: 100vh;
}

.hero-section .mh-900 {
  padding-top: 300px;
  min-height: 100vh;
  padding-bottom: 100px;
}

.image-overlay {
  position: relative;
}

.image-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(30, 63, 119, 0.936), #01010178);
}

.hero-section .slick-dotted.slick-slider {
  margin-bottom: 0;
}

.hero-section .slick-dots {
  flex-direction: column;
  width: 20px;
  right: 50px;
  top: 0;
  margin-bottom: 0;
}

.hero-section .slick-dots li {
  margin: 4px;
  width: 14px;
  height: 14px;
  background-color: #ffe597b3;
}

.hero-section .slick-dots li.slick-active {
  height: 18px;
  width: 18px;
  background-color: var(--yellow);
}

.w-280 {
  width: 280px;
}

.social-icons .box.border-6 {
  border-radius: 6px;
}

/* tab */
.video-tab {
  height: 350px;
  width: 350px;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link {
  border-radius: 0;
  border-width: 2px;
  color: var(--main-color) !important;
  background-color: var(--yellow-light);
  border: 1px solid var(--white);
  border-top: 0;
  min-height: 60px;
}

.nav-tabs .nav-item {
  min-width: fit-content;
}

.nav-tabs .nav-link.active {
  background-color: var(--main-color);
  color: var(--yellow-light) !important;
}

.nav-tabs {
  border: 0;
}

.labs p,
.tab-section p {
  line-height: 2;
}

.labs .slick-dots {
  bottom: -33px;
}

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

/* labs */
.img-lab {
  height: 280px;
}

.labs-slick a:hover h5 {
  color: var(--white);
}

.labs .position-absolute {
  background-color: #001335c7;
}

.labs-slick a:hover p {
  color: var(--yellow-light);
}

/* ads-section */
.ads-section .cards .card-image:hover h5 {
  color: var(--yellow);
}

.date {
  width: fit-content;
  border-bottom: 3px solid var(--main-color);
  padding-bottom: 6px;
}

.card-item:hover .date .main-text,
.card-item:hover p {
  color: var(--yellow);
}

.card-item:hover .date {
  border-color: var(--yellow);
}

.card-item:hover .date .yellow-text {
  color: var(--main-color);
}

.ads-img {
  height: 250px;
  width: 100%;
}

.ads-img img {
  border-radius: 23px;
}

.email-box {
  width: fit-content;
  margin: 0 auto;
  height: 60px;
}

.email {
  background-color: #1e3e77d4;
  min-height: 350px;
  border-radius: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* */

.btn-login {
  width: fit-content !important;
  padding: 2px 4px;
}

.btn-login:hover span {
  color: var(--white);
}

.email-img {
  position: absolute;
  top: 0;
  height: 100%;
  z-index: -1;
}

.email-img img {
  border-radius: 38px;
}

.display-none {
  display: none;
}

li:hover a.main-text {
  color: var(--yellow);
}

.footer-hr {
  height: 12px;
  background: #E9E5E0;
  opacity: 1;
  margin-bottom: 3rem;
}


.nav-social .dropdown-menu a {
  height: 35px;
  font-size: 12px;
  font-weight: bold;
}

.nav-social .dropdown-toggle {
  border-radius: 4px;
}

.nav-social .dropdown-menu {
  top: 85%;
  width: fit-content;
  right: 0 !important;
}
.dropdown:hover>.dropdown-menu, .dropend:hover>.dropdown-menu {
    width: fit-content;
    display: block;
    /* margin-top: 0.125em; */
    margin-left: 0.125em;
    border: 0;
}





.activitys-slick,
.labs-slick,
.last-news-slick{
direction: rtl;
}


.slider,
.activitys-slick,
.labs-slick,
.last-news-slick{
direction: rtl;
}

.faculty-section,
.labs-slick,
.last-news-slick{
direction: rtl;
}

.slider,
.faculty-section,
.labs-slick,
.last-news-slick{
direction: rtl;
}

.subscribe-form input[type="email"] {
    border: none;
    border-radius: 12px;
}

#subscribeForm .fa-arrow-left-long{
display:none;
}

#subscribeForm .text-danger{
margin-bottom: 0 !important;
}

#subscribeForm{
border-radius: 60px;
}

.subscribe input{
    border-radius: 12px;
}