/*--------------------------------------------------------------

#   Font
--------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Gabarito&family=Inter&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800&display=swap');



/*--------------------------------------------------------------

# General

--------------------------------------------------------------*/
:root {
  --bg-main: #040D21;
  --color-gray-light: #E0E0E0;
  --white: #fff;
  --color-gray-dark: #333647;
  --color-first-btn-hero: #fff;
  --color-gray-medium: #E0E0E0;
  --bg-card-services: #161928;
  --bg-text-animation: #1B1E32;
  --bg-card-client-comment: #1B1E32;
  --bg-card-price-plan: #161928;
  --bg-input-contact-form: #161928;
  --bg-accordion: #161928;
  --text-gray: #8E8E8E;
  --border-accordion: #333647;
  --active-accordion: #161928;
  --bg-transparent: none;
  --border-footer: #E0E0E04D;
  --border-gray-details-project: #D6D6D6
}

.pp {
  border: 1px solid red
}

/* Theme Light */
body.light {
  --bg-main: #FFFFFF;
  --color-gray-light: #040D21;
  --white: #040D21;
  --bg-card-services: #fff;
  --bg-text-animation: #F5F5F5;
  --bg-card-client-comment: #fff;
  --bg-card-price-plan: #fff;
  --bg-input-contact-form: #fff;
  --bg-accordion: #fff;
  --active-accordion: #fff;
  --bg-transparent: #fff;
  --border-footer: #e0e0e0bf;

}

body.light #what-we-offer-section .blur-shape-3 {
  display: none;
}

/* Affichage images selon thème */
.logo-website.dark-logo {
  display: none;
}

body.dark .logo-website.dark-logo {
  display: inline;
}

body.dark .logo-website.light-logo {
  display: none;
}

body.dark .display-first-logo {
  display: none !important;
}

.light-only,
.dark-only {
  display: none;
}

body.light .blur-shape-1,
body.light .blur-shape-2,
body.light .blur-shape-3,
body.light .blur-shape-4,
body.light .blur-shape-5,
body.light .blur-shape-6,
body.light .blur-shape-7,
body.light .blur-shape-8,
body.light .blur-shape-9,
body.light .blur-shape-10,
body.light .perspective-grid {
  display: none;
}

[dir="rtl"] body.light h1,
[dir="rtl"] body.light h2,
[dir="rtl"] body.light h3,
[dir="rtl"] body.light h4,
[dir="rtl"] body.light h5,
[dir="rtl"] body.light h6,
[dir="rtl"] body.light p,
[dir="rtl"] body.light a,
[dir="rtl"] body.light span,
[dir="rtl"] body.light label,
[dir="rtl"] body.light input,
[dir="rtl"] body.light input::placeholder,
[dir="rtl"] body.light textarea::placeholder,
[dir="rtl"] body.dark h1,
[dir="rtl"] body.dark h2,
[dir="rtl"] body.dark h3,
[dir="rtl"] body.dark h4,
[dir="rtl"] body.dark h5,
[dir="rtl"] body.dark h6,
[dir="rtl"] body.dark p,
[dir="rtl"] body.dark a,
[dir="rtl"] body.dark span,
[dir="rtl"] body.dark label,
[dir="rtl"] body.dark input,
[dir="rtl"] body.dark input::placeholder,
[dir="rtl"] body.dark textarea::placeholder {
  font-family: 'Tajawal', sans-serif !important;
}

[dir="rtl"] #footer-website .contact-phone span {
  direction: ltr !important;
}

body.light-mode .dark-only {
  display: none;
}

body.light .icon-filter {
  filter: invert(1);
}

body.light .icon-box {
  color: #161928;
}

body.light .icon-whatsapp {
  filter: invert(1);
}

body.dark .img-partner {
  filter: brightness(0) invert(1);
}

body.light #need-something-section .iti__arrow {
  filter: invert(1);
}

@media(max-width :1100px) {
  body.dark .display-first-logo {
    display: inline !important;

  }

  body.dark .display-second-logo {
    display: none !important;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-main);
  position: relative;
}

.margin-between-section {
  margin-top: 100px;
}

main {
  padding-top: 140px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-family: 'Gabarito', sans-serif;
}

a {
  text-decoration: none;
}



.title-section {
  font-family: Gabarito;
  font-weight: 700;
  font-style: Bold;
  font-size: 56px;
  color: var(--white);
  line-height: 100%;
  letter-spacing: -4%;
  text-align: center;
  margin-bottom: 20px;
}

@media(max-width : 768px) {
  .title-section {
    font-size: 35px;
  }
}

.short-description-section {
  font-family: Gabarito;
  color: var(--white);
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0%;
  text-align: center;

}

.main-container {
  max-width: 80%;
  margin: 0 auto;
}

@media (max-width: 1220px) {
  .main-container {
    max-width: 85%;
  }
}

@media (max-width: 1100px) {
  body.home .logo-website {
    filter: initial;
  }
}



/*--------------------------------------------------------------

# Section Navigation

--------------------------------------------------------------*/
header.shadow-on-scroll {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

body.dark header.shadow-on-scroll.scrolled {
  backdrop-filter: blur(50px);
}

body.light header.shadow-on-scroll.scrolled {
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.links ul {
  display: flex;
  gap: 38px;
}

.top-menu {
  padding: 30px 0px;
  width: 100%;
}

.top-menu .navbar {
  width: 100%;
  margin: auto;
}

.top-menu .navbar .links {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-menu .navbar .links li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 0;
}

.top-menu .navbar .links li a {
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
  text-transform: capitalize;
  color: var(--color-gray-light)
}

.rotate-icon {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.menu-item:hover>a .rotate-icon {
  transform: rotate(180deg);
}

.navbar .nav-links .sidebar-logo {
  display: none;
}

.navbar .bx-menu-alt-left {
  display: none;
}

.logo-website {
  width: 165px;
  height: 40px;
  display: block;
}

.page-website-1 ul {
  position: relative;
}

.page-website-1 ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 2px;
  width: 0%;
  background-color: var(--white);
  transition: width 0.3s ease;
}

.page-website-1 ul li a:hover::after {
  width: 100%;
}

.overlay {
  height: 100%;
  width: 100%;
  display: none;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.9);
}

/*--------------------------------------------------------------
# Overlay Mobile Menu
--------------------------------------------------------------*/
.my-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
}

.my-overlay.active {
  display: block;
}

.display-logo-web {
  display: none;
}

.toggle-button {
  display: flex;
  gap: 26px;
}

.btn-light-mode {
  background: transparent;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  border: 1px solid var(--color-gray-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

}

#theme-icon {
  width: 24px;
  height: 24px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.btn-language {
  padding: 10px 45px;
  width: 84px;
  height: 45px;
  border-radius: 24px;
  border: 1px solid rgba(51, 54, 71, 1);
  background: transparent;
  color: var(--color-gray-light);
  font-weight: 600;
  font-size: 15px;
  line-height: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  line-height: 15px;
}

.dropdown-content {
  display: none;
  position: absolute;
  width: 91.6px;
  top: 50px;
  z-index: 1;
  border-radius: 24px;
  border: 1px solid rgba(51, 54, 71, 1);
}

.dropdown-content a {
  text-align: center;
  padding: 10px 0px;
  text-decoration: none;
  display: block;
  color: var(--color-gray-light);
  font-weight: 600;
  font-size: 15px;
  line-height: 15px;
}

.dropdown.show .dropdown-content {
  display: block;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}

.rotate-icon {
  transition: transform 0.3s ease;
  font-size: 24px;
}

.rotate-icon.open {
  transform: rotate(180deg);
}


.dropdown-content.show {
  display: block;
}

@media (max-width: 1100px) {

  .logo-website {
    filter: initial;
  }

  .links ul {
    flex-direction: column;
    gap: 0;
  }

  .display-logo-mobile {
    display: none;
  }

  .display-logo-web {
    display: initial;
  }

  .top-menu .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
  }

  .page-website-1 {
    flex-direction: column;
    gap: 0px;
  }

  .top-menu .navbar .links li a {
    font-size: 15px;
  }

  .navbar .bx-menu-alt-left {
    display: block;
    color: var(--white);
  }

  .top-menu .navbar .nav-links {
    opacity: 0;
    visibility: hidden;
    height: 100vh;
    position: fixed;
    top: 0;
    left: -100%;
    display: block;
    max-width: 300px;
    width: 100%;
    background: var(--bg-main);
    line-height: 40px;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    z-index: 1000;
    overflow: auto;
  }

  .navbar .nav-links .sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .sidebar-logo i,
  .navbar .bx-menu {
    font-size: 25px;
    color: var(--white);
  }

  .top-menu .navbar .links {
    display: block;
    margin-top: 20px;
  }

  .toggle-button {
    margin-top: 20px;
  }

  .page-website-1 ul li a:hover::after {
    width: 0;
  }

  .top-menu .navbar .links li {
    display: block;
  }

}


@media (max-width: 370px) {
  .top-menu .navbar .nav-links {
    max-width: 100%;
  }
}


/*--------------------------------------------------------------
# Footer  
--------------------------------------------------------------*/
#footer-website {
  border-top: 1px solid var(--border-footer);
}

#footer-website .content-footer-website {
  display: flex;
  justify-content: space-between;
  padding: 30px 0;
}

#footer-website .text-copyright,
#footer-website .contact-phone span {
  font-family: Inter;
  font-weight: 500;
  font-style: Medium;
  font-size: 18px;
  color: var(--color-gray-light);
  line-height: 28px;
  letter-spacing: 0%;

}

#footer-website .contact-phone {
  display: flex;
  align-items: center;
  gap: 15px;
}

@media(max-width : 768px) {
  #footer-website .content-footer-website {
    flex-direction: column;
    gap: 20px;
    ;
  }
}

/*--------------------------------------------------------------
# 404 Not Found Page
--------------------------------------------------------------*/

#not-found-page {
  text-align: center;
  padding: 100px 20px;
  position: relative;
}

#not-found-page .img-not-found-page {
  position: absolute;
bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: auto;
  z-index: -1;
}

#not-found-page .title-page-404 {
  font-family: Gabarito;
  font-weight: 700;
  font-size: 48px;
  color: var(--white);
  margin-bottom: 20px;
}

#not-found-page .description-page-404 {
  font-family: Gabarito;
  font-weight: 500;
  font-size: 24px;
  color: var(--color-gray-light);
  margin-bottom: 20px;
}

#not-found-page .link-to-home-page {
  font-family: Gabarito;
  font-weight: 600;
  font-size: 18px;
  color: var(--white);
  text-decoration: underline;
}