/**
* Template Name: FNCT
* Author: Tac-tic
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
@font-face {
  font-family: "Helvetica Now Display";
  src: url("../vendor/fonts/HelveticaNowDisplay-Light.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "VIP Hakm";
  src: url("../vendor/fonts/VIPHakmRegular.ttf") format("truetype");
  font-weight: 400; /* Regular */
  font-style: normal;
}
@font-face {
  font-family: "VIP Hakm";
  src: url("../vendor/fonts/VIPHakmBold.ttf") format("truetype");
  font-weight: 700; /* Bold */
  font-style: normal;
}
:root {
  --default-font:  "Helvetica Now Display", sans-serif;
  --heading-font: "Helvetica Now Display", sans-serif;
  --default-font-ar:  "VIP Hakm", sans-serif;
  --heading-font-ar: "VIP Hakm", sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #556270; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #d9232d; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
  --blue-fnct-primary:#24195D;
  --green-fnct-secondry:#95C11F;
  --red-fnct:#E30613;
  --yellow-fnct:#FECC00;
  --blue-light-fnct:#46BCCD;
  --heading-dark:#000000;
  --color-title-cards:#121212;
  --bg-gray-50:#F7F5FF;
  --bg-gray-100:#dfdfdf;
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #4C4C4C;  /* The default color of the main navmenu links */
  --nav-hover-color: #d9232d; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #556270; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #d9232d; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f2f4f6;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #3b4654;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #444e5b;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}
[lang="ar"] body {
  font-family: var(--default-font-ar);
}

a {
  color: var(--global-primary, #24195D);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-dark);
  font-family: var(--heading-font);
  font-weight: 700;
}

[lang="ar"] h1,
[lang="ar"] h2,
[lang="ar"] h3,
[lang="ar"] h4,
[lang="ar"] h5,
[lang="ar"] h6 {
  font-family: var(--heading-font-ar);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  /* max-height: 36px; */
  margin-right: 8px;
  height: 62px;
}

.header .logo h1 {
  font-size: 28px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
  text-transform: uppercase;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 4px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }

 .header .col-lg-8.d-flex.text-md-left.mb-3.mb-md-0{
    align-items: center;
    justify-content: space-between;
  }

}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 12px 9px;
    font-size: 12px;
    font-family: var(--nav-font);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--blue-light-fnct);
  }

  [dir="rtl"] .navmenu .dropdown ul{
    left: auto;
   right: 14px;
   left: auto !important;
  }
  [dir="rtl"] .navmenu .dropdown .dropdown ul{
    left: auto;
    right: 100%;
    left: auto !important;
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: #F5F5F5;
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    /* border-radius: 4px; */
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 12px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--heading-dark);
    background-color: var(--yellow-fnct);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: 90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--contrast-color);
    padding: 6px;
    background-color: var(--blue-fnct-primary);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: #61c6d41a;
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--blue-light-fnct);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}
.blog-gallery-thumb {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  gap: 16px;
  align-self: stretch;
}
.blog-single-thumb{
  height: 400px;
}
/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--heading-dark);
  background-color: var(--yellow-fnct);
  font-size: 16px;
  position: relative;
}

.footer .footer-top {
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  /* max-height: 40px;
  margin-right: 6px; */
}

.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}
[lang="ar"] .footer .footer-about .logo span {
  font-family: var(--heading-font-ar);
}

.footer .footer-about p {
  font-family: var(--heading-font);
}
[lang="ar"] .footer .footer-about p {
  font-family: var(--heading-font-ar);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  /* border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%); */
  /* font-size: 16px; */
  /* color: color-mix(in srgb, var(--default-color), transparent 30%); */
  /* margin-right: 10px; */
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 24px;
  font-weight: 500;
  position: relative;
  /* padding-bottom: 12px; */
  color: var(--heading-dark);
}

.footer h3 {
  font-size: 24px;
  font-weight: 400;
  padding-bottom: 12px;
  color: var(--heading-dark);
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: var(--heading-dark);
  display: inline-block;
  line-height: 1;
}

.footer-links.rs-links {
  margin-top: 35px;
}

.footer .footer-links ul a:hover {
  color: var(--red-fnct);
}

.footer .rs-contact {
  margin-top: 90px;
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  /* border-radius: 4px; */
  border: 1px solid var(--blue-fnct-primary);
  display: flex;
  background-color: var(--contrast-color) !important;
  transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: var(--contrast-color);
  color: var(--blue-fnct-primary);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 2px solid var(--blue-fnct-primary);
  font-size: 16px;
  padding: 5px 10px;
  /* margin: -7px -9px -7px 0; */
  background: var(--blue-fnct-primary);
  border: 2px solid var(--blue-fnct-primary);
  color: var(--contrast-color);
  transition: 0.3s;
  /* border-radius: 0 4px 4px 0; */
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: var(--contrast-color);
  color: var(--blue-fnct-primary);
  border: 2px solid var(--blue-fnct-primary);
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid var(--heading-dark);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

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

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

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 28px;
  font-weight: 300;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  /* background-color: var(--background-color); */
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding: 0;
  padding-bottom: 30px;
  font-weight: 700;
  position: relative;
  color: var(--heading-dark);
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-dark);
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  text-transform: capitalize;
  font-family: var(--heading-font);
}
[lang="ar"] .section-title p {
  font-family: var(--heading-font-ar);
}
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding: 0;
}

.hero .carousel {
  width: 100%;
  min-height: 480px;
  height: 480px;
  padding: 0;
  margin: 0;
  background-color: var(--background-color);
  position: relative;
}

@media (max-width: 1200px) {
  .hero .carousel {
    min-height: calc(100vh - 540px);
    height: calc(100vh - 350px);
  }
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero .carousel-item:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .carousel-container {
  position: absolute;
  inset: 90px 64px 64px 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 3;
}

.carousel-container h3 {
  color: var(--contrast-color);
}

.hero h2 {
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 700;
  animation: fadeInDown 1s both;
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 30px;
  }
}

.hero p {
  animation: fadeInDown 1s both 0.2s;
}

@media (min-width: 1024px) {

  .hero h3,
  .hero p {
    max-width: 65%;
    text-align: center;
    font-weight: 400;
    line-height: 45px;
  }
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 32px;
  border-radius: 4px;
  transition: 0.5s;
  margin: 10px;
  animation: fadeInUp 1s both 0.4s;
}
[lang="ar"] .hero .btn-get-started {
  font-family: var(--heading-font);
}

.hero .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  width: 10%;
  transition: 0.3s;
  opacity: 0.5;
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
  opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  opacity: 0.9;
}

@media (min-width: 1024px) {

  .hero .carousel-control-prev,
  .hero .carousel-control-next {
    width: 5%;
  }
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
  font-size: 25px;
  line-height: 1;
  color: var(--blue-fnct-primary);
  border-radius: 4px;
  background-color: white;
}

.gallery-container .carousel-control-prev-icon, .gallery-container .carousel-control-next-icon  {
  background-image:none !important;
}

.gallery-container .bi-chevron-left::before, .gallery-container .bi-chevron-right::before {
  padding: 3px;
  font-size: 20px;
  color: var(--blue-fnct-primary);
}



.bi-chevron-left::before {
  padding: 3px;
}

.bi-chevron-right::before {
  padding: 3px;
}


.hero .carousel-indicators {
  display: none;
  list-style: none;
}

.hero .carousel-indicators li {
  cursor: pointer;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about ul {
  list-style: none;
  padding: 0;
}

.about ul li {
  padding-bottom: 5px;
  display: flex;
  align-items: center;
}

.about ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.about .read-more {
  background: var(--blue-fnct-primary);
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  border: 2px solid var(--blue-fnct-primary);
  letter-spacing: 1px;
  padding: 10px 28px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
[lang="ar"] .about .read-more {
  font-family: var(--heading-font-ar);
}

.btn.btn-primary.form-btn{
  background: var(--blue-fnct-primary);
  border: 2px solid var(--blue-fnct-primary);
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 10px 28px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  border-radius: 0;
  justify-content: center;
}
[lang="ar"] .btn.btn-primary.form-btn{
  font-family: var(--heading-font-ar);
}

.btn.btn-primary.form-btn:hover {
  background: var(--background-color);
  border: 2px solid var(--blue-fnct-primary);
  color: var(--blue-fnct-primary);
}

.about .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.about .read-more:hover {
  background: var(--background-color);
  border: 2px solid var(--blue-fnct-primary);
  color: var(--blue-fnct-primary);
}

.about .read-more:hover i {
  transform: translate(5px, 0);
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding: 20px 0;
}

.clients .client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.clients .client-logo img {
  padding: 20px 40px;
  max-width: 90%;
  transition: 0.3s;
  opacity: 0.5;
  filter: grayscale(100);
}

.clients .client-logo img:hover {
  filter: none;
  opacity: 1;
}

@media (max-width: 640px) {
  .clients .client-logo img {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  padding: 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  transition: 0.3s;
}

.services .service-item .icon {
  font-size: 36px;
  line-height: 0;
  margin-right: 30px;
  color: var(--accent-color);
}

.services .service-item .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.services .service-item .title a {
  color: var(--heading-color);
}

.services .service-item .description {
  line-height: 24px;
  font-size: 14px;
  margin: 0;
}

.services .service-item:hover {
  border-color: var(--accent-color);
}

.services .service-item:hover .title a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  font-family: var(--heading-font);
}
[lang="ar"] .portfolio .portfolio-filters li {
  font-family: var(--heading-font-ar);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 0 10px 0;
  }
}

.portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -100%;
  z-index: 3;
  transition: all ease-in-out 0.5s;
  background: color-mix(in srgb, var(--surface-color), transparent 10%);
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# About 2 Section
--------------------------------------------------------------*/
.about-2 .about-img {
  position: relative;
  margin: 60px 0 0 60px;
}

.about-2 .about-img:before {
  position: absolute;
  inset: -60px 0 0 -60px;
  content: "";
  background: url("../img/about-bg.png") top left;
  background-repeat: no-repeat;
  z-index: 1;
}

.about-2 .about-img img {
  position: relative;
  z-index: 2;
}

@media (max-width: 575px) {
  .about-2 .about-img {
    margin: 30px 0 0 30px;
  }

  .about-2 .about-img:before {
    inset: -30px 0 0 -30px;
  }
}

.about-2 h3 {
  font-weight: 300;
  font-size: 32px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .about-2 h3 {
    font-size: 28px;
  }
}

.about-2 .nav-pills {
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.about-2 .nav-pills li+li {
  margin-left: 40px;
}

.about-2 .nav-link {
  background: none;
  font-size: 18px;
  font-weight: 400;
  color: var(--default-color);
  padding: 12px 0;
  margin-bottom: -2px;
  border-radius: 0;
}

.about-2 .nav-link.active {
  color: var(--accent-color);
  background: none;
  border-bottom: 3px solid var(--accent-color);
}

@media (max-width: 575px) {
  .about-2 .nav-link {
    font-size: 16px;
  }
}

.about-2 .tab-content h4 {
  font-size: 18px;
  margin: 0;
  font-weight: 700;
  color: var(--default-color);
}

.about-2 .tab-content i {
  font-size: 22px;
  line-height: 0;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats {
  padding: 10px 0;
}

.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item span {
  color: var(--heading-color);
  font-size: 48px;
  display: block;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.stats .stats-item span:after {
  content: "";
  position: absolute;
  display: block;
  width: 25px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 500;
}
[dir="rtl"] .stats .stats-item p {
  font-family: var(--heading-font-ar);
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  color: var(--heading-color);
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: var(--heading-font);
}
[dir="rtl"] .skills .progress .skill {
  font-family: var(--heading-font-ar);
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  height: 10px;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  border-radius: 5px;
  transition: 0.5s;
  padding: 30px;
  height: 100%;
}

@media (max-width: 468px) {
  .team .team-member {
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
  }
}

.team .team-member .pic {
  overflow: hidden;
  width: 150px;
  border-radius: 5px;
  flex-shrink: 0;
}

.team .team-member .pic img {
  transition: ease-in-out 0.3s;
}

.team .team-member:hover {
  transform: translateY(-10px);
}

.team .team-member .member-info {
  padding-left: 30px;
}

@media (max-width: 468px) {
  .team .team-member .member-info {
    padding: 30px 0 0 0;
    text-align: center;
  }
}

.team .team-member h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
}

.team .team-member span {
  display: block;
  font-size: 15px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 500;
}

.team .team-member span::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 85%);
  bottom: 0;
  left: 0;
}

@media (max-width: 468px) {
  .team .team-member span::after {
    left: calc(50% - 25px);
  }
}

.team .team-member p {
  margin: 10px 0 0 0;
  font-size: 14px;
}

.team .team-member .social {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: start;
  width: 100%;
}

@media (max-width: 468px) {
  .team .team-member .social {
    justify-content: center;
  }
}

.team .team-member .social a {
  background: color-mix(in srgb, var(--default-color), transparent 94%);
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  width: 36px;
  height: 36px;
}

.team .team-member .social a i {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 16px;
  margin: 0 2px;
}

.team .team-member .social a:hover {
  background: var(--accent-color);
}

.team .team-member .social a:hover i {
  color: var(--contrast-color);
}

.team .team-member .social a+a {
  margin-left: 8px;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
  position: relative;
  height: 100%;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

.testimonials .testimonial-item .stars {
  margin: 10px 0;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features {
  overflow: hidden;
}

.features .nav-tabs {
  border: 0;
}

.features .nav-link {
  border: 0;
  padding: 12px 15px 12px 0;
  transition: 0.3s;
  color: var(--default-color);
  border-radius: 0;
  border-right: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  font-weight: 600;
  font-size: 15px;
}

.features .nav-link:hover {
  color: var(--accent-color);
}

.features .nav-link.active {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background-color: var(--background-color);
}

.features .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.features .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

.features .details p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.features .details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .features .nav-link {
    border: 0;
    padding: 15px;
  }

  .features .nav-link.active {
    color: var(--accent-color);
    background: var(--accent-color);
  }
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.pricing .pricing-item h3 {
  font-weight: 400;
  margin: -20px -20px 20px -20px;
  padding: 20px 15px;
  font-size: 16px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background: color-mix(in srgb, var(--default-color), transparent 95%);
}

.pricing .pricing-item h4 {
  font-size: 36px;
  font-weight: 600;
  font-family: var(--heading-font);
}
[dir="rtl"] .pricing .pricing-item h4 {
  font-family: var(--heading-font-ar);
}

.pricing .pricing-item h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .pricing-item h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 16px;
  font-weight: 300;
}

.pricing .pricing-item ul {
  padding: 15px 0;
  list-style: none;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.pricing .pricing-item ul li {
  padding-bottom: 16px;
}

.pricing .pricing-item ul i {
  color: var(--accent-color);
  font-size: 18px;
  padding-right: 4px;
}

.pricing .pricing-item ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-decoration: line-through;
}

.pricing .btn-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  margin: 0 -20px -20px -20px;
  padding: 20px 15px;
  text-align: center;
}

.pricing .btn-buy {
  background: var(--accent-color);
  color: var(--contrast-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 4px;
  transition: none;
  font-size: 14px;
  font-weight: 400;
  font-family: var(--heading-font);
  font-weight: 600;
  transition: 0.3s;
}
[dir="rtl"] .pricing .btn-buy {
  font-family: var(--heading-font);
}

.pricing .btn-buy:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.pricing .featured h3 {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .advanced {
  background: var(--accent-color);
  color: var(--contrast-color);
  width: 200px;
  position: absolute;
  top: 18px;
  right: -68px;
  transform: rotate(45deg);
  z-index: 1;
  font-size: 14px;
  padding: 1px 0 3px 0;
}

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
.blog-posts article {
  background-color: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
}

.blog-posts .post-img {
  max-height: 440px;
  margin: -30px -30px 0 -30px;
  overflow: hidden;
}

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

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

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

.blog-posts .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

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

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

.blog-posts .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-posts .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog-posts .content {
  margin-top: 20px;
}

.blog-posts .content .read-more {
  text-align: right;
}

.blog-posts .content .read-more a {
  background: var(--accent-color);
  color: var(--contrast-color);
  display: inline-block;
  padding: 8px 30px;
  transition: 0.3s;
  font-size: 14px;
  border-radius: 4px;
}

.blog-posts .content .read-more a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/
.blog-pagination {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog-pagination li a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-pagination li a.active,
.blog-pagination li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.blog-pagination li a.active a,
.blog-pagination li a:hover a {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
  padding-bottom: 30px;
}

.blog-details .article {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-details .post-img {
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog-details .title {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}

.blog-details .content {
  margin-top: 20px;
}

.blog-details .content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog-details .content blockquote {
  overflow: hidden;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog-details .content blockquote p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--accent-color);
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog-details .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

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

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

.blog-details .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog-details .meta-bottom {
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .meta-bottom i {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  display: inline;
}

.blog-details .meta-bottom a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: 0.3s;
}

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments {
  padding: 10px 0;
}

.blog-comments .comments-count {
  font-weight: bold;
}

.blog-comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog-comments .comment .comment-img {
  margin-right: 14px;
}

.blog-comments .comment .comment-img img {
  width: 60px;
}

.blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog-comments .comment h5 a {
  font-weight: bold;
  color: var(--default-color);
  transition: 0.3s;
}

.blog-comments .comment h5 a:hover {
  color: var(--accent-color);
}

.blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-comments .comment h5 .reply i {
  font-size: 20px;
}

.blog-comments .comment time {
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 5px;
}

.blog-comments .comment.comment-reply {
  padding-left: 40px;
}

/*--------------------------------------------------------------
# Comment Form Section
--------------------------------------------------------------*/
.comment-form {
  padding-top: 10px;
}

.comment-form form {
  background-color: var(--surface-color);
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.comment-form form h4 {
  font-weight: bold;
  font-size: 22px;
}

.comment-form form p {
  font-size: 14px;
}

.comment-form form input {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  font-size: 14px;
  border-radius: 4px;
  padding: 10px 10px;
}

.comment-form form input:focus {
  color: var(--default-color);
  background-color: var(--surface-color);
  box-shadow: none;
  border-color: var(--accent-color);
}

.comment-form form input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form textarea {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
  height: 120px;
}

.comment-form form textarea:focus {
  color: var(--default-color);
  box-shadow: none;
  border-color: var(--accent-color);
  background-color: var(--surface-color);
}

.comment-form form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form .form-group {
  margin-bottom: 25px;
}

.comment-form form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.comment-form form .btn-primary:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--contrast-color);
  background: var(--blue-light-fnct);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--blue-fnct-primary);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 0px;
}

.contact .php-email-form button[type=submit]:hover {
  background: var(--contrast-color);
  border: 2px solid var(--blue-fnct-primary);
  color: var(--blue-fnct-primary);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  background-color: var(--surface-color);
  padding: 30px;
  margin: 60px 0 30px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.widget-item {
  margin-bottom: 40px;
}

.widget-item:last-child {
  margin-bottom: 0;
}

.search-widget form {
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  padding: 3px 10px;
  position: relative;
  transition: 0.3s;
}

.search-widget form input[type=text] {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
}

.search-widget form input[type=text]:focus {
  outline: none;
}

.search-widget form button {
  background: var(--accent-color);
  color: var(--contrast-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  line-height: 0;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}

.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget ul li {
  padding-bottom: 10px;
}

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.categories-widget ul a:hover {
  color: var(--accent-color);
}

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.tags-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 1px solid var(--accent-color);
}

.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}

.form-search .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -9px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

.form-search .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: var(--surface-color);
  color: var(--default-color);
}
.form-search .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  border: 1px solid  #808080;
  display: flex
;
  background-color: var(--surface-color);
  transition: 0.3s;
}

input.form-control.form-control-md {
  border-radius: 0;
  padding: 0;
  border: none;
}

button.btn.btn-primary.px-4 {
  border-radius: 0;

}

.input-group {
  border: 1px solid #000000;
  padding: 2px;
}

.search-item button.btn.btn-primary {
  border-radius: 0;
  background-color: var(--blue-fnct-primary);
  border: 2px solid var(--blue-fnct-primary);
}

.search-item button.btn.btn-primary:hover {
  background-color: var(--background-color);
  border: 2px solid var(--blue-fnct-primary);
  color: var(--blue-fnct-primary);
}

.top-menu {
  background-color: var(--yellow-fnct);
  padding: 10px 36px;
}
.top-menu-menu {
  padding: 10px 36px;
}

.top-menu .row {
align-items: center;}

.mr-10 {
  margin-right: 10px;
}
.mr-5 {
  margin-right: 5px;
}

.ml-10 {
  margin-left: 10px;
}
.cta-fnct {
  color: var(--blue-fnct-primary);
}

.cta-fnct:hover {
  color: var(--default-color);
}

.btn-radio-web {
  color: var(--contrast-color);
  background: var(--blue-fnct-primary);
  font-size: 14px;
  padding: 6px 20px;
  /* margin: 0 0 0 30px; */
  transition: 0.3s;
}
.btn-default {
  color: var( --blue-fnct-primary);
  border: 2px solid var( --blue-fnct-primary);
  background: var(--contrast-color);
  font-size: 16px;
  padding: 6px 20px;

  transition: 0.3s;
}
.btn-default:hover {
  color: var( --contrast-color);
  border: 2px solid var( --blue-fnct-primary);
  background: var( --blue-fnct-primary);
  font-size: 16px;
  padding: 6px 20px;
  transition: 0.3s;
}

.btn-radio-web {
  display: inline-flex; /* Alignement horizontal du texte et de l'icône */
  align-items: center; /* Centre verticalement */
  font-size: 16px;
  text-decoration: none; /* Supprime le soulignement */
  color: var(--contrast-color); /* Couleur par défaut du texte */
  background: var(--blue-fnct-primary); /* Couleur de fond par défaut */
  border: 2px solid var(--blue-fnct-primary); /* Bordure par défaut */
  transition: all 0.3s ease; /* Animation fluide */
}

.btn-radio-web svg {
  stroke: var(--contrast-color); /* Change la couleur du trait de l'icône */
}

.btn-radio-web:hover {
  color: var(--blue-fnct-primary); /* Change la couleur du texte */
  background: var(--contrast-color); /* Change la couleur de fond */
  border-color: var(--blue-fnct-primary); /* Change la couleur de la bordure */
}

.btn-radio-web:hover svg {
  stroke: var(--blue-fnct-primary); /* Change la couleur du trait de l'icône */
  transition: transform 0.3s ease; /* Ajoute une animation de transformation */
}
span.separator-lg {
  color: var(--blue-fnct-primary);
  padding-left: 10px;
  padding-right: 10px;
}

.lg-menu p a {
  color: var(--blue-fnct-primary);
}
/* Hero Section */
.hero {
  position: relative;
  margin-bottom: 0;
}

/* Banniere de news */
.news-banner {
  height: 62px;
  position: absolute;
  bottom: 0; /* Fixé en bas du slider */
  width: 100%; /* Prend toute la largeur */
  background: rgba(0, 0, 0, 0.5); /* Noir avec opacité */
  color: #fff; /* Texte blanc */
  padding: 10px 0; /* Espace vertical */
  z-index: 10; /* Au-dessus du slider */
}

.news-content {
  display: inline-block;
  white-space: nowrap; /* Pas de retour à la ligne */
  animation: scroll-news 15s linear infinite; /* Défilement fluide */
  font-size: 16px; /* Taille du texte */
  font-weight: 500; /* Texte légèrement épais */
  padding: 0 10px; /* Espace sur les côtés */
}

@keyframes scroll-news {
  0% {
    transform: translateX(100%); /* Commence à droite */
  }
  100% {
    transform: translateX(-100%); /* Finit à gauche */
  }
}

.bg-grph-fnct {
  background-image: url('../img/bg-section.png');
  background-repeat: no-repeat;
  background-size: cover;
}

.overlay-card {
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

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

.overlay-content {
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.overlay-content a {
   color: var(--background-color);
  }
.horizontal-card {
  flex: 1;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.125);
}
.h-cards-div{
  height: 445px;
}
.h-145{
	height: 145px !important;
}
@media screen and (max-width: 991px) {
  .h-cards-div{
    height: auto;
  }
  .h-145{
    height: auto !important;
  }

}

.horizontal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.horizontal-card .img-fluid {
  height: 100%;
  object-fit: cover;
}
.card-img-overlay {
  padding: 0;
}
section.about {
  background-color: none;
}

.meta-date.d-flex {
  align-items: flex-start;
}
section.annuaire {
  background-image: url(../img/landscape_bg.png);
  background-size: cover;
}

.key-figure {
  padding: 20px;
  transition: transform 0.3s ease;
}
.key-figure:hover {
  transform: translateY(-5px);
}
.figure-content {
  gap: 15px;
  margin-bottom: 15px;
}
.figure-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}
.figure-number {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin: 0;
}
.figure-description {
  font-size: 0.9rem;
  color: var(--heading-dark);
  text-align: center;
  line-height: 1.4;
  /* padding-left: 75px; */
}

section.projects-carte {
  background: url(../img/bg-projects.png);
  background-size: cover;
  background-color: var(--blue-fnct-primary);

}

svg.carte-fnct {
  fill: var(--contrast-color);
}

.section-title.title-projects {
  color: var(--contrast-color);
}
.detail-map-header h4 {
  color: var(--background-color);
}

p.title-dt-projects {
  color: var(--background-color);
  font-weight: 300;
}
.content-projects {
  padding-top: 15px;
}
.partner-img {
  height: 120px;
  object-fit: contain;
  margin: 10px;
}
.nav-tabs .nav-link {
  margin-left: 5px;
  margin-right: 5px;
  color: var(--blue-fnct-primary);
  font-weight: 500;
  border: 2px solid var(--blue-fnct-primary);
  border-radius: 0;
}
.nav-tabs .nav-link:hover {

  color: var(--contrast-color);
  border: 2px solid var(--blue-fnct-primary);
  background-color: var(--blue-fnct-primary);


}
.nav-tabs .nav-link.active {
  margin-left: 5px;
  margin-right: 5px;
  background-color: var(--blue-fnct-primary);
  border-radius: 0;
  color: var(--contrast-color);
}
ul#partnerTabs {
  border-bottom: 0;
}

#partnerTabs .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  border-color: var(--blue-fnct-primary);
}

.carousel-item {
  padding: 20px 0;
}
@media (max-width: 768px) {
  .partner-img {
      height: 80px;
  }
}

/*
side buttons
fix
*/

.sidebar-buttons {
  position: fixed;
  top: 300px;
  right: 0;
  z-index: 1000;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.share {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 10000;
}

.share li {
  position: relative;
}

.share .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  transition: background 0.3s ease;
}

/* Nav label base style with dynamic positioning */
.share .nav-label {
  position: absolute;
  top: 0;
  right: 100%; /* Aligns label to the left of button */
  /*margin-right: 10px;*/
  line-height: 50px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  z-index: 4;
  transform: rotateY(-90deg);
  transform-origin: right center;
  transition: transform 0.4s ease;
  pointer-events: none;
}

/* Label background & color per item */
.share li:nth-of-type(1) .social-link,
.share li:nth-of-type(1) .nav-label {
  background: #FFF5F5;
  color: var(--heading-dark);
}

.share li:nth-of-type(2) .social-link,
.share li:nth-of-type(2) .nav-label {
  background: var(--blue-fnct-primary);
  color: white;
}

.share li:nth-of-type(3) .social-link,
.share li:nth-of-type(3) .nav-label {
  background: #FFFCEE;
  color: var(--heading-dark);
}

/* Reveal the label on hover */
.share li:hover .nav-label {
  transform: rotateY(0);
}

/*
side buttons fix end
*/

/* .page-banner {
  position: relative;
  height: 300px;
  background-image: url(../img/banner-page.jpg);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  margin-bottom: 30px;
} */

.bg-news {
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url('../img/bg-news.png');

}

.col-lg-6.img-assistance {
  background-image: url('../img/side-img.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.cta-cta  {
  background-image: url('../img/cta-bg.png');
  padding: 35px;
  background-size: cover;
}


.banner-content {
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.breadcrumb {
  background: transparent;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.8);
}

.breadcrumb-item a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: white;
}

.single-title {
  color: var(--bg-white);
  font-weight: 900;
}

.search-bar {
  background-color: var(--bg-gray-50);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}
.form-control {
  border-radius: 4px;
  border: 1px solid #E2E8F0;
  padding: 8px 12px;
}
.form-control:focus {
  box-shadow: none;
  border-color: #6366F1;
}
.search-btn {
  background-color: #F5F5F5;
  border: 1px solid var(--heading-dark);
  padding: 8px 16px;
  color: var(--heading-dark);
  border-radius: 0px;
}
.search-btn:hover {
  background-color: var(--blue-fnct-primary);
}
.input-group-text {
  background-color: transparent;
  border: 1px solid #E2E8F0;
  border-right: none;
}
.date-input {
  border-left: none;
}
.search-bar .input-group {
  border: none;
  padding: 0px;
}
.search-bar input, .search-bar select {
  border-radius: 0px;

}

.all-news .card-img-top {
  height: 200px;
  object-fit: cover;
  padding: 5px;
}
.all-news .card.news-card.col-lg-4 {
  padding: 0px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  margin: 20px 15px;
}
.all-news .tag-news {
  margin-bottom: 5px;
  /* position: absolute; */
  /* top: 10px;
  left: 10px; */
  /* background-color: var(--red-fnct); */
  color: white;
  padding: 5px 10px;
  border-radius: 0px;
  font-size: 0.9em;
}
.category-items-list {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--yellow-fnct);
  color: black;
  padding: 5px 10px;
  border-radius: 0px;
  font-size: 0.9em;
}
.category-items-list:hover {
  background-color: #ffd428;
}
.tag-items-list {
  background-color: var(--bg-gray-100);
  color: black;
  padding: 5px 10px;
  border-radius: 0px;
  font-size: 0.9em;
}
.video-modal .modal-dialog {
  max-width: 900px;
  width: 100%;
  max-height: 600px;
  height: 100%;
}

.all-news .card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.all-news .card-title.uploads-items {
  display: block;
}
.all-news .card-title .btn {
  margin-left: auto;
}

.all-news .card-body {
  background-color: var(--bg-gray-50);
}

.pb-15 {
  padding-bottom: 15px!important;
}


.container.form-assistance {
background-color: var(--bg-gray-50);
}

.description-projects, .gallery-container {
  background-color: var(--bg-gray-50);
  padding: 24px 16px;
  }

.form-pang {
  padding: 35px;
}

.form-assistance form input {
  border-radius: 0;
}

.gallery-container {
  margin: auto;
  text-align: center;
}
.gallery-container .main-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: 0.3s ease-in-out;
}
.gallery-container .thumbnail-container {
  margin-top: 15px;
  padding: 15px 0;
}
.gallery-container .thumbnail {
  /* width: 100px;
  height: 70px; */
  object-fit: cover;
  cursor: pointer;
  margin: 5px;
  border: 2px solid transparent;
  transition: 0.3s;
}
.gallery-container .thumbnail:hover, .thumbnail.active {
  border-color: #007bff;
  transform: scale(1.1);
}

.gallery-container .carousel-control-next, .carousel-control-prev {
  opacity: 1;
}

.bg-cta {
  background-color: #F5F5F5;
}

/* videos cards */
/* Style global de la carte vidéo */
.video-card {
  cursor: pointer;
  border-radius: 0px;
  overflow: hidden;
}

/* Wrapper pour gérer l'effet overlay uniquement sur l'image */
.video-wrapper {
  position: relative;
  border-radius: 0px;
  overflow: hidden;
}

/* Style de l'image */
.video-wrapper img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease-in-out;
}

/* Effet overlay sur l'image */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0px;
}

/* Icône Play */
.play-icon img {
  transition: transform 0.3s ease-in-out;
}

/* Hover sur la carte : agrandissement de l'icône */
.video-card:hover .play-icon img {
  transform: scale(1.2);
}

/* Card body avec fond violet clair */
.card-body {
  background: var(--bg-gray-50); /* Violet clair */
  text-align: start;
  padding: 10px;
  font-size: 16px;
}

/* instances cards */
.instances .card {
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.instances .profile-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.instances .card-title {
  color: #47336f;
  font-weight: bold;
}

.instances .section-title {
  color: var(--blue-light-fnct);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.instances h5.section-title {
 padding-bottom: 10px;
}

.instances p {
 font-weight: 400;
 }


.instances .contact-icon {
  color: var(--contrast-color);
  background-color: var(--yellow-fnct);
  border-radius: 50%;
  padding: 6px;
  font-size: 14px;
}

.instances .contact-text {
  font-size: 13px;
  color: #666;
  text-decoration: none;
}

.assembles .card {
  border-radius: 0;
  border-bottom: 2px solid var(--blue-fnct-primary);
}

.assembles .card-body {
  background-color: #F5F5F5;
}
.date-news {
  font-weight: 400;
}
.docs-assembles .card {
  border-bottom: none;
  border: none !important;

}

.docs-assembles .card-body {
  background-color: var(--bg-gray-50);
  border-bottom: none;
  padding: 25px;
}
.ms-bg {
  background-color: var(--bg-gray-50);
  padding: 45px;
}
.bg-gray-lower{
  background-color: var(--bg-gray-50)
}
.docs-assembles .card-body i {
    background-color: var(--yellow-fnct);
    color: var(--heading-dark);
    border-radius: 50%; /* pour un vrai cercle */
    width: 40px;         /* fixe la largeur */
    height: 40px;        /* fixe la hauteur */
    display: flex;
    align-items: center;
    justify-content: center;
}

.gal-as img {
  border: 4px solid var(--bg-gray-50) ;
}
.bb-N small a, .bb-N small i{
  color: var(--blue-fnct-primary) !important;
}
.bb-N .card {
  border-radius: 0;
}

.bb-N img.card-img {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.container.bb-N .card-body {
    height: 100%;
}

.container.bb-N .card-title a {
    color: var(--color-title-cards) !important;
}

.container.bb-N .text-end {
    margin-top: 68px;
}
.form-select {
  border-radius: 0;
  padding: 8px 12px;
}
.img-newsletter img.w-100 {
  height: 100% !important;
}

.service-card {
  background: white;
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  color: #47336f;
}

.service-title {
  color: #333;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.service-text {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.arrow-link {
  color: #47336f;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease;
}

.arrow-link:hover {
  transform: translateX(5px);
}

.service-card:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.services-container {
  background-color: #f8f9ff;
  padding: 4rem 0;
}

.service-card {
   background-color: var(--bg-gray-50);
}

.service-card img {
  padding-bottom: 15px;
}

/* Style global de la pagination */
.custom-pagination {
  justify-content: end;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 0;
}

/* Style des liens de pagination */
.custom-pagination .page-item .page-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  font-weight: bold;
  font-size: 14px;
  color: #333;
  background-color: #F5F2FF; /* Violet clair */
  border: none;
  transition: all 0.3s ease;
}

a.page-link.prev-next {
  background-color: var(--blue-fnct-primary) !important;
  color: var(--contrast-color) !important;
}

/* Effet hover */
.custom-pagination .page-item .page-link:hover {
  background-color: var(--blue-fnct-primary);
  color: white;
}

/* Page active */
.custom-pagination .page-item.active .page-link {
  background-color: var(--bg-gray-50); /* Violet foncé */
  color: var(--blue-fnct-primary);
  border: 1px solid var(--blue-fnct-primary);
}

/* Style des flèches */
.custom-pagination .prev-next {
  background-color: #3A267B; /* Violet foncé */
  color: white;
  font-size: 18px;
}

.custom-pagination .prev-next:hover {
  background-color: #1E1047; /* Encore plus foncé */
}

.direct-fnct .overlay-card {
  position: relative;
}

.direct-fnct .tag-news {
  position: absolute;
  top: 10px; /* Ajuste la distance du haut */
  right: 10px; /* Aligné à droite */
  left: auto;
  background-color: var(--accent-color);
  color: white;
  padding: 5px 10px;
  display: flex;
  align-items: center;
}

.direct-fnct .tag-news img {
  width: 20px; /* Ajuste la taille de l'icône */
  margin-right: 5px;
}

.map-annuaire svg {
  fill: #F5F2FF;

}

.map-annuaire path {
  stroke: var(--blue-fnct-primary);

}

.map-annuaire path:hover {
  fill: var(--yellow-fnct);

}

.map-annuaire path:focus {
  fill: var(--yellow-fnct);
}
.map-annuaire .map--svg a.active path {
  fill: var(--yellow-fnct); /* Highlight color when selected */
}
/* .map-annuaire path:focus {
  fill: var(--yellow-fnct);
  outline: transparent auto 0px !important;
} */
.map-annuaire a:focus {
  outline: transparent auto 0px !important;
}
.map-annuaire path:focus {
  outline: transparent auto 0px !important;
}
.map-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}
.map-region {
  fill: #f8f9fa;
  stroke: #6c757d;
  stroke-width: 1;
  transition: fill 0.3s;
  cursor: pointer;
}
.map-region:hover {
  fill: #ffc107;
}
.map-region.active {
  fill: #ffc107;
}
.info-icon {
  width: 40px;
  height: 40px;
  /* background-color: #ffc107; */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  margin-right: 0;
}
[dir="rtl"] .info-icon {
  margin-left: 15px;
  margin-right: 0;
}
.info-card {
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-card .card-body {
  background-color: var(--contrast-color);
  border: 2px solid var(--blue-fnct-primary);
  border-radius: 12px;
  padding: 35px;
}
.missions-fnt img {
  width: 85%;
}

.col-lg-4.col-fnct.mb-4 {
  border: 1 px solid var(--blue-fnct-primary);

}

.breadcrumb-item.active{
  color: var(--yellow-fnct);
}

.s-g-dh img {
  border-bottom: 6px solid var(--green-fnct-secondry);
  width: 100%;

}

h3.section-title-services-s-g-dh  {
  padding-top: 25px;
  padding-bottom: 25px;
  color: var(--green-fnct-secondry);
}

.s-g-dg img {
  border-bottom: 6px solid var(--blue-fnct-primary);
  width: 100%;

}

h3.section-title-services-s-g-dg  {
  padding-top: 25px;
  padding-bottom: 25px;
  color: var(--blue-fnct-primary);
}

.s-g-sg img {
  border-bottom: 6px solid var(--yellow-fnct);
  width: 100%;

}

h3.section-title-services-s-g-sg  {
  padding-top: 25px;
  padding-bottom: 25px;
  color: var(--yellow-fnct);
}

.s-g-es img {
  border-bottom: 6px solid var(--red-fnct);
  width: 100%;

}

h3.section-title-services-s-g-es  {
  padding-top: 25px;
  padding-bottom: 25px;
  color: var(--red-fnct);
}

.s-g-as img {
  border-bottom: 6px solid var(--blue-light-fnct);
  width: 100%;
}

h3.section-title-services-s-g-as {
  padding-top: 25px;
  padding-bottom: 25px;
  color: var(--blue-light-fnct);
}

.s-g-af img {
  border-bottom: 6px solid var(--green-fnct-secondry);
  width: 100%;

}

h3.section-title-services-s-g-af {
  padding-top: 25px;
  padding-bottom: 25px;
  color: var(--green-fnct-secondry);
}

.s-g-rs img {
  border-bottom: 6px solid var(--blue-fnct-primary);
  width: 100%;

}

h3.section-title-services-s-g-rs {
  padding-top: 25px;
  padding-bottom: 25px;
  color: var(--blue-fnct-primary);
}

.s-g-apc img {
  border-bottom: 6px solid var(--red-fnct);
  width: 100%;

}

h3.section-title-services-s-g-apc {
  padding-top: 25px;
  padding-bottom: 25px;
  color: var(--red-fnct);
}

.s-g-ds img {
  border-bottom: 6px solid var(--blue-light-fnct);
  width: 100%;
}

h3.section-title-services-s-g-ds {
  padding-top: 25px;
  padding-bottom: 25px;
  color: var(--blue-light-fnct);
}

.card.horizontal-card img.img-fluid.rounded-start {
  width: 100% !important;
}
a.alert.alert-primary {
  cursor: pointer;
}
.color-none{
  color: var(--netural-0, #FFF);
}
.color-none:hover{
  color: var(--netural-0, #FFF);
}
.btn-news .button-icon{
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 99px;
  width: 100%;
  height: 100%;
  padding: 5px;
	border: 1px solid ;
	background: var(--global-primary, #24195D);
}
.btn-news .button-icon:hover{
	border: 1px solid var(--global-primary, #24195D);
	background: var(--netural-0, #FFF);
}
.button-icon svg{
	stroke: var(--netural-0, #FFF);
}
.button-icon svg:hover{
	stroke: var(--global-primary, #24195D);
}

/* pagination style*/


.page-item:first-child .page-link, .page-item:last-child .page-link {

    border-radius: 50% !important;
    background-color: var(--blue-fnct-primary);
    color: var(--contrast-color);
}

ul.pagination {
    justify-content: end;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.pagination .active>.page-link, .page-link.active {
    background-color: var(--bg-gray-50);
    color: var(--blue-fnct-primary);
    border: 1px solid var(--blue-fnct-primary);
}

.pagination .page-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
    background-color: #F5F2FF;
    border: none;
    transition: all 0.3s ease;
}
a.upload-text{
  color: var(--global-primary, #24195D) !important;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 130%;
}
a.upload-text:hover{
  color: #6b5db1 !important;
}

.row.no-gutters {
    --bs-gutter-x: 0;
}
.seen-arrow-icon {
  background: var(--blue-fnct-primary);
  color: var(--contrast-color);
  border:2px solid var(--blue-fnct-primary);
  border-radius: 50%;
  padding: 0.5rem;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.seen-arrow-icon:hover {
  background: var(--contrast-color);
  color: var(--blue-fnct-primary);
  border: 2px solid var(--blue-fnct-primary);
}
[dir=rtl] .breadcrumb-item+.breadcrumb-item::before {
  float: right;
  padding-left: var(--bs-breadcrumb-item-padding-x);
}

[dir=rtl] .breadcrumb-item+.breadcrumb-item::before {
    float: right;
    padding-left: 0.5rem;
}

[dir=rtl] .breadcrumb-item+.breadcrumb-item {
    padding-right:0.5rem;
}

[dir=rtl] .button-icon svg {
    transform: rotate(180deg);
}

[dir=rtl] .mr-10 {
    margin-left: 10px;
    margin-right: 0;
}

[dir=rtl] i.bi.bi-chevron-right {
    transform: rotate(180deg);
}
[dir=rtl] .assembles .text-end, [dir=rtl] .service-card .text-end {
    text-align: left;
}

[dir=rtl] .assembles .text-end img {
    transform: rotate(180deg);
}

/*gallerie style*/

.gallery-container .thumbnail {
    height: 150px !important;
    width: auto;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s ease;
  }

  .gallery-container .thumbnail.active {
    border: 2px solid #007bff;
  }

  .gallery-container {
    margin: auto;
    text-align: center;
  }

  .gallery-container .main-image {
    width: 100%;
    height: 400px !important;
    /* border-radius: 10px; */
    transition: 0.3s ease-in-out;
  }
  .gallery-container .thumbnail-container {
    margin-top: 15px;
    padding: 15px 0;
  }
  .gallery-container .thumbnail {
    /* width: 100px;
    height: 70px; */
    object-fit: cover;
    cursor: pointer;
    margin: 5px;
    border: 2px solid transparent;
    transition: 0.3s;
  }
  .gallery-container .thumbnail:hover, .thumbnail.active {
    border-color: #007bff;
    transform: scale(1);
  }

  .gallery-container .carousel-control-next, .carousel-control-prev {
    opacity: 1;
  }

  .gallery-container .owl-nav {
    /* position: relative; */
    margin-top: 10px;
  }

  .gallery-container .owl-nav button.owl-prev,
  .gallery-container .owl-nav button.owl-next {
    position: absolute;
    top: 35%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    font-size: 1.5rem;
    border-radius: 50%;
    z-index: 10;
    transition: 0.3s ease;
  }

  /* .owl-nav button.owl-prev:hover,
  .owl-nav button.owl-next:hover {
    background: rgba(0, 0, 0, 0.8);
  } */

  .gallery-container .owl-nav button.owl-prev {
    left: -12px;
  }

  .gallery-container .owl-nav button.owl-next {
    right: -12px;
  }

  .upload-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  [dir="rtl"] .upload-text {
    flex-direction: row-reverse;
  }

html[dir="rtl"] input[type="text"],
html[dir="rtl"] input[type="date"],
html[dir="rtl"] select,
html[dir="rtl"] textarea {
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] select {
  background-position: left 0.75rem center;
  padding-right: 1rem;
  padding-left: 2.5rem;
}

html[dir="rtl"] .input-group .form-control {
  text-align: right;
}
.search-result-item{
  cursor: pointer;
  padding: 16px  32px;
  border: 1px solid var(--blue-fnct-primary);
  background-color: #fbfcfd;
  transition: all 0.3s ease;
}
.search-result-item:hover{
  background-color: #eaedfa;
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}
.search-result-item h4 {
  color: var(--blue-fnct-primary);
}
.search-result-item h5 {
  color: var(--default-color);
}
.search-result-item:hover h4 {
  color: var(--blue-fnct-primary);
}
.search-result-item:hover h5 {
  color: var(--blue-fnct-primary);
}


.description.services {
    max-height: 200px; /* ou la hauteur que tu veux */
    overflow-y: auto;
    padding-right: 10px; /* optionnel pour l'espace à droite du scroll */
  }

  .docs-assembles.partner .card-body {
    padding: 10px 25px !important;
}

img.img-partner.mb-4 {
    height: 150px;
    border: 2px solid #f7f5ff;
}

.gal-as-ph #photo-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* pour permettre aux flèches d’être cliquables */
}

.gal-as-ph #photo-carousel .owl-nav button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 1.5rem;
    pointer-events: all; /* réactive le clic sur les flèches */
}

.gal-as-ph #photo-carousel .owl-nav button.owl-prev {
    margin-left: -30px;
}

.gal-as-ph #photo-carousel .owl-nav button.owl-next {
    margin-right: -30px;
}

.gal-as-ph #photo-carousel .item {
    height: 300px; /* Choisis la hauteur souhaitée */
    overflow: hidden;
}

.gal-as-ph #photo-carousel .item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}



.gal-as-vd #videoCarousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* pour permettre aux flèches d’être cliquables */
}

.gal-as-vd #videoCarousel .owl-nav button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 1.5rem;
    pointer-events: all; /* réactive le clic sur les flèches */
}

.gal-as-vd #videoCarousel .owl-nav button.owl-prev {
    margin-left: -30px;
}

.gal-as-vd #videoCarousel .owl-nav button.owl-next {
    margin-right: -30px;
}

.view-icon-download{
  display: flex;
  justify-content: center;
  cursor: pointer;
  padding: 3px 8px;
  border: 1px solid var(--blue-fnct-primary);
  border-radius: 5px;
  transition: all 0.3s ease;
}
.view-icon-download:hover{
  background: var(--blue-fnct-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}


#partnerTabsContent .carousel-control-prev-icon, #partnerTabsContent .carousel-control-next-icon  {
    filter: brightness(1) invert(1) !important;
}

#partnerTabsContent .carousel-control-next, #partnerTabsContent .carousel-control-prev {
    width: auto;
}
.search-bar .input-group-text {
  height: 100%;
}








/* Style de base pour le lecteur audio */
  /* #audioPlayer {
      width: 100%;
      max-width: 600px;
      margin: 20px 0;
  } */
  /* Pour WebKit (Chrome, Safari, Edge) */
  /* #audioPlayer::-webkit-media-controls-panel {
      background-color: var(--blue-light-fnct);
  }
  #audioPlayer::-webkit-media-controls-play-button,
  #audioPlayer::-webkit-media-controls-mute-button {
      background-color: #f1f1f1;
      border-radius: 50%;
  }
  #audioPlayer::-webkit-media-controls-current-time-display,
  #audioPlayer::-webkit-media-controls-time-remaining-display {
      color: white;
  }
  #audioPlayer::-webkit-media-controls-timeline {
      background-color: #f1f1f1;
      border-radius: 25px;
      margin: 0 10px;
  }
  #audioPlayer::-webkit-media-controls-volume-slider {
      background-color: #f1f1f1;
      border-radius: 25px;
      padding: 0 8px;
  } */

  #Indicateurs img.figure-icon {
  width:59px;
  height:60px;

  }
  [lang="ar"] #calendarModal .modal-dialog  .fc-header-toolbar .fc-button-group{
    display: flex;
    flex-direction: row-reverse;
    gap: 5px;
  }
  [lang="ar"] #calendarModal .modal-dialog  .fc-header-toolbar .fc-button-group button{
    border-radius: 5px;
  }
  
