/* ----------------- fonts ----------------------- */
@font-face {
  font-display: swap;
  font-family: IBM;
  font-style: normal;
  font-weight: 100;
  src: url(../../fonts/IBM/IBMPlexSansArabic-Light.ttf) format("truetype");
}
@font-face {
  font-display: swap;
  font-family: IBM;
  font-style: normal;
  font-weight: 400;
  src: url(../../fonts/IBM/IBMPlexSansArabic-Regular.ttf) format("truetype");
}
@font-face {
  font-display: swap;
  font-family: IBM;
  font-style: normal;
  font-weight: 500;
  src: url(../../fonts/IBM/IBMPlexSansArabic-Medium.ttf) format("truetype");
}
@font-face {
  font-display: swap;
  font-family: IBM;
  font-style: normal;
  font-weight: 600;
  src: url(../../fonts/IBM/IBMPlexSansArabic-SemiBold.ttf) format("truetype");
}
@font-face {
  font-display: swap;
  font-family: IBM;
  font-style: normal;
  font-weight: 700;
  src: url(../../fonts/IBM/IBMPlexSansArabic-Bold.ttf) format("truetype");
}

/* --------------- national day slider --------------- */
:not(.admin-page) section.national_day_slider {
  margin-top: 15rem;
}
@media (max-width: 1220px) {
  :not(.admin-page) section.national_day_slider {
    margin-top: 21rem;
  }
}
.admin-page section.national_day_slider {
  margin-top: 18.4rem;
}
@media (max-width: 975px) {
  .admin-page section.national_day_slider {
    margin-top: 20.5rem;
  }
}
section.national_day_slider {
  background-color: #074d31;
  height: calc(100dvh - var(--drupal-displace-offset-top, 0px) - 30dvh);
  position: relative;
}

section.national_day_slider .slider-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Force full height on the carousel chain — !important needed to beat OwlCarousel's inline height */
section.national_day_slider .owl-carousel,
section.national_day_slider .owl-stage-outer {
  height: 100% !important;
  overflow: hidden;
}
section.national_day_slider .owl-stage,
section.national_day_slider .owl-item {
  height: 100% !important;
}

/* Fade between slides — items stay in normal flow, only opacity changes */
section.national_day_slider .owl-item {
  opacity: 0;
  transition: opacity 0.8s ease;
}
section.national_day_slider .owl-item.active {
  opacity: 1;
}

/* Each slide fills its owl-item */
section.national_day_slider .slider-item {
  width: 100%;
  height: 100%;
  position: relative;
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* Dot indicators */
section.national_day_slider .owl-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 10;
}
section.national_day_slider .owl-theme .owl-dots .owl-dot span {
  background: rgba(255, 255, 255, 0.45);
}
section.national_day_slider .owl-theme .owl-dots .owl-dot.active span,
section.national_day_slider .owl-theme .owl-dots .owl-dot:hover span {
  background: #fff;
}

/* section.national_day_slider .slider-wrapper::after {
  content: "";
  height: 100%;
  position: absolute;
  inset: 0 0 0 0;
  width: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35));
  z-index: 1;
} */

section.national_day_slider .slider-content {
  padding: 0 6rem;
  position: absolute;
  inset: auto 0 0 0;
  transform: translateY(-8rem);
  width: 100%;
  z-index: 2;
}
section.national_day_slider .slider-title {
  line-height: 1.5;
  font-size: 5rem;
  font-family: IBM, sans-serif !important;
  font-weight: 700;
  color: #000;
}
section.national_day_slider .hayyakum-allah-logo {
  position: absolute;
  inset: 5rem 6rem auto auto;
  width: 100px !important;
}
section.national_day_slider .slider-item.first .hayyakum-allah-logo {
  filter: brightness(0) invert(1);
}
section.national_day_slider .slider-description {
  color: #000;
  font-family: IBM, sans-serif !important;
  font-size: 1.6rem;
}
@media (max-width: 480px) {
  section.national_day_slider .slider-title {
    font-size: 3rem;
  }
}

/* ---------- background pattterns --------------- */
.path-frontpage .region-front-page .section {
  padding: 0;
}
.path-frontpage .region-front-page > section[id|="block"] {
  position: relative;
  padding: 5rem 0;
}
.path-frontpage .region-front-page > section[id|="block"]::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 24px;
  inset: auto 0 0 auto;
  background-size: auto 100%;
  background-repeat: repeat-x;
  background-position: right;
}
.path-frontpage
  .region-front-page
  > section[id|="block"]:not(:last-child)::after {
  background-image: url("/themes/custom/custom_theme_nf/assets/foundation_day/new-pattern01.svg");
}
.path-frontpage .region-front-page > section[id|="block"] .section-head .title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.path-frontpage
  .region-front-page
  > section[id|="block"]
  .section-head
  .title::before {
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: block;
  height: 45px;
  width: 45px;
}
.path-frontpage
  .region-front-page
  > section[id|="block"]:nth-child(even)
  .section-head
  .title::before {
  background-image: url("/themes/custom/custom_theme_nf/assets/foundation_day/new-pattern02.svg");
}
.path-frontpage
  .region-front-page
  > section[id|="block"]:nth-child(odd)
  .section-head
  .title::before {
  background-image: url("/themes/custom/custom_theme_nf/assets/foundation_day/new-pattern01.svg");
}
/* ----------------- footer ------------------------------------------- */

/* footer.footer {
  background-color: #e9dfcf;
  position: relative;
  padding: 5rem 0;
}
footer.footer .link-item,
footer.footer li {
  color: #384250 !important;
}
.footer .main-footer .footer-widget .widget-title {
  color: #000 !important;
  border-bottom: 2px solid #6b4e45;
  padding-bottom: 1rem;
}
footer.footer .footer-copyRight {
  background-color: #e2d8c7;
}
footer.footer .copyRight-links li a {
  color: #000 !important;
}
footer.footer .footer-copyRight .copyRight-content > p {
  color: #000 !important;
}
footer.footer .social-list .social-list-item .social-list-link {
  color: #000;
}
footer.footer .social-list .social-list-item .social-list-link:hover {
  color: #6b4e45;
}

footer.footer .footer-top .logos img {
  filter: brightness(0%);
}
footer.footer .footer-top .logos .seperator {
  background-color: #000;
}
footer.footer::before {
  content: "";
  background-image: url("/themes/custom/custom_theme_nf/assets/foundation_day/footer-pattern.svg");
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  inset: 40px auto auto 0;
  height: calc(100% - 40px);
  width: 100%;
  z-index: 0;
  opacity: 0.05;
}
footer.footer .container {
  position: relative;
  z-index: 1;
}
footer.footer .foundation_day {
  display: flex;
  justify-content: end;
  margin-bottom: 2rem;
  z-index: 100;
}
@media screen and (max-width: 450px) {
  footer.footer .foundation_day {
    justify-content: center;
  }
}
footer.footer .floating-btn {
  background-color: #1b8354;
  border-radius: 50%;
  padding: 14px;
  position: fixed;
  width: 56px;
  height: 56px;
  display:flex;
  align-items: center;
  justify-content: center;
}
footer.footer .foundation_day .god-eleskan-button {
  inset: auto auto 90px 10px;
}
footer.footer .foundation_day .ehsan-button {
  inset: auto auto 30px 10px;
} */
/* -------------- old footer ------------------- */
footer.footer {
  position: relative;
  padding: 3rem 0;
  background-color: #074d31;
}
footer.footer .footer-copyRight {
  background-color: #053622;
}
.footer .main-footer .footer-widget .widget-title {
  border-bottom: 2px solid #fff;
  padding-bottom: 1rem;
}

footer.footer .container {
  position: relative;
  z-index: 1;
}
footer.footer .foundation_day {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  z-index: 100;
}
footer.footer .foundation_day .ai_year {
  width: 106px;
  height: auto;
}
@media screen and (max-width: 450px) {
  footer.footer .foundation_day {
    justify-content: center;
  }
}
footer.footer .floating-btn {
  background-color: #1b8354;
  border-radius: 50%;
  padding: 14px;
  position: fixed;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
footer.footer .foundation_day .god-eleskan-button {
  inset: auto auto 90px 10px;
}
footer.footer .foundation_day .ehsan-button {
  inset: auto auto 30px 10px;
}
footer.footer .footer-top .logos .momrah-logo {
  margin-inline-end: 16px;
}
