/* Custom Fonts  */

/* Sofia Pro */
@font-face {
  font-family: "Sofia Pro 300";
  src: url("../fonts/SofiaPro/SofiaPro-Regular.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Sofia Pro 300 IT";
  src: url("../fonts/SofiaPro/SofiaPro-Regularitalic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: "Sofia Pro 400";
  src: url("../fonts/SofiaPro/SofiaPro-Medium.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Sofia Pro 500";
  src: url("../fonts/SofiaPro/SofiaPro-SemiBold.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Sofia Pro 700";
  src: url("../fonts/SofiaPro/SofiaPro-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

/* Font Museo Slab */
@font-face {
  font-family: "Museo Slab 500";
  src: url("../fonts/MuseoSlab/Museo_Slab_500.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Museo Slab 700";
  src: url("../fonts/MuseoSlab/Museo_Slab_700.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

/* Global */

html {
  overflow-x: hidden;
}

body {
  margin: 0px;
  /* Chrome (WebKit) specific */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; /* For macOS */

  /* overflow-x: hidden; */
}

/* Team Membars balon TEST */
/* .shrink-grow-div {
 
  will-change: filter;
  backface-visibility: hidden; 
} */

/* Team Membars balon  TEST*/

p {
  font-family: "Sofia Pro 400", sans-serif;
  font-size: 18px;
  color: var(--fa-text-p);
  line-height: 28px;
}

.wpml-ls-menu-item .wpml-ls-flag {
  border-radius: 4px;
}

.post-content li {
  font-size: 18px;
  color: var(--fa-text-p);
  list-style-type: square;
  font-family: "Sofia Pro 400", sans-serif;
}

.fluentform .ff-el-input--label label {
  font-size: 18px;
  color: var(--fa-text-p);
  font-family: "Sofia Pro 300", sans-serif;
}

.fluentform .ff_upload_btn.ff-btn {
  font-family: "Sofia Pro 300", sans-serif;
  font-size: 16px;
  margin-top: 3px;
}

a:link,
a:visited,
a:active {
  color: var(--primary); /* change to your preferred color */
  text-decoration: none; /* removes underline */
}

/* Global end */

h1 {
  font-family: "Museo Slab 500", sans-serif;
  font-weight: 500;
}

.small-h1 {
  font-size: var(--fa-text-3xl);
}

h2 {
  font-family: "Museo Slab 500", sans-serif;
  font-weight: 500;
}

h3 {
  font-family: "Sofia Pro 400", sans-serif;
  font-weight: 400;
}

h4 {
  font-family: "Sofia Pro 400", sans-serif;
  font-weight: 400;
}

h5 {
  font-family: "Sofia Pro 500", sans-serif;
  font-weight: 500;
}

/* Header Section position fixed */
.header-section {
  position: fixed;
  width: 100%;
  z-index: 999;
  background: var(--fa-bg-body);
}

/* Section go-back to homepage */
.go-back-box a {
  font-size: 22px;
  font-family: "Sofia Pro 500", sans-serif;
}
.go-back-box a::before {
  content: "←";
  margin-right: 10px;
  font-size: 22px;
  font-family: "Sofia Pro 500", sans-serif;
}

.current_page_item {
  text-decoration: underline;
  font-weight: bold;
}

/* hero-section-banner */

.hero-specialties {
  padding-top: 80px;
}

.section-bg {
  background: var(--fa-bg-section);
}

.section-title-area h3 {
  color: var(--fa-text-p);
  margin-bottom: 10px;
}

.section-title-area h2 {
  margin-top: 0px;
}

.client-slide-img {
  max-width: 300px;
}

/* Forms styles */
.wpforms-container .wpforms-form * {
  font-family: "Sofia Pro 400", sans-serif;
}

.flatpickr-calendar.animate.open {
  font-family: "Sofia Pro 300", sans-serif;
  color: var(--fa-text-p);
}

.wpforms-field-label {
  font-family: "Sofia Pro 400", sans-serif;
  font-size: 18px;
  color: var(--fa-text-p) !important;
}

.wpforms-confirmation-container-full p {
  font-family: "Sofia Pro 400", sans-serif;
  font-size: 18px;
}

.wpforms-error {
  font-family: "Sofia Pro 300", sans-serif;
}

.wpforms-field-label-inline {
  font-family: "Sofia Pro 400", sans-serif;
  color: var(--fa-text-p) !important;
}

.wpforms-informativa a {
  font-size: 18px !important;
  text-decoration: underline;
}

.wpforms-field-html h3 {
  font-family: "Sofia Pro 400", sans-serif;
  color: var(--fa-text-title);
  font-size: 24px !important;
}

button[name="wpforms[submit]"] {
  background: var(--fa-primary) !important;
  color: #fff !important;
  border-radius: 25px !important;
  padding: 3px 40px !important;
  font-size: 18px !important;
  line-height: 36px !important;
  border: none !important;
  cursor: pointer !important;
  transition: transform 0.5s ease !important;
  font-family: "Sofia Pro 500", sans-serif !important;
}

button[name="wpforms[submit]"]:hover {
  background: #36799c !important;
}

/* div.wpforms-container-full select > option, .wp-core-ui div.wpforms-container-full select > option {
  font-family: "Sofia Pro 400", sans-serif;
}

div.wpforms-container-full select:not([multiple]) > option, .wp-core-ui div.wpforms-container-full select:not([multiple]) > option {
  font-family: "Sofia Pro 400", sans-serif;
} */

/* Toogle day night */

.switch {
  font-size: 17px;
  position: relative;
  display: inline-block;
  width: 64px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch_slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #272726;
  /* background-color: black; */
  /* background-color: #D8DDE3; */

  transition: 0.4s;
  border-radius: 30px;
}

.switch_slider:before {
  position: absolute;
  content: "";
  height: 30px;
  width: 30px;
  border-radius: 20px;
  left: 2px;
  bottom: 2px;
  z-index: 2;
  background-color: #e8e8e8;
  transition: 0.4s;
}

.sun svg {
  position: absolute;
  top: 5px;
  left: 6px;
  z-index: 1;
  width: 24px;
  height: 24px;
  fill: #ffc505;
}

.moon svg {
  fill: #ffc505;
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 1;
  width: 15px;
  height: 15px;
}

/* .switch:hover */
.sun svg {
  animation: rotate 15s linear infinite;
}

/* NEW TEST */
/* Default position of the slider */
.switch .switch_slider::before {
  content: "";
  position: absolute;
  /* Adjust these values to position the slider */
  top: 2px;
  left: 2px;
  /* ... other styles ... */
}

/* Position of the slider when the checkbox is checked */
.switch .input_change_theme:checked ~ .switch_slider::before {
  /* Adjust this value to move the slider */
  left: 33px;
  /* ... other styles ... */
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* .switch:hover */
.moon svg {
  animation: tilt 5s linear infinite;
}

@keyframes tilt {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-10deg);
  }

  75% {
    transform: rotate(10deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.input:checked + .switch_slider {
  background-color: #183153;
}

.input:focus + .switch_slider {
  box-shadow: 0 0 1px #183153;
}

.input:checked + .switch_slider:before {
  transform: translateX(30px);
}

/* Layout */

.container {
  max-width: 1440px;
}

/* Header  */
#primary-menu {
  display: flex;
  gap: 20px;
  flex-direction: row;
  justify-content: end;
}

.primary-menu li {
  font-size: 18px;
  list-style-type: none;
  font-family: "Sofia Pro 500", sans-serif;
  padding-left: var(--fa-space-s);
  padding-right: var(--fa-space-s);
}

.primary-menu li:last-child {
  padding-right: 0px;
}

#primary-menu ul {
  /* Remove bullet points */
  list-style-type: none;
  padding: 0;
}

#primary-menu a {
  text-decoration: none;
  color: var(--fa-text-title);
}

/* Fixed left sidebar  */

.fixed-sidebar {
  position: fixed;
  top: 50%;
  left: 6px;
  transform: translateY(-50%);
  background-color: transparent;
  padding: 10px 5px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sidebar-item {
  margin: 10px 0;
  text-align: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 16px;
  font-family: "Sofia Pro", sans-serif;
}

.rotate-text {
  margin: 10px 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.fixed-sidebar-icon {
  width: 16px;
  height: 16px;
  margin-top: 20px;
  transform: rotate(180deg);
  padding-top: 5px;
}

:root.cf-theme-dark .fixed-sidebar-icon {
  filter: invert(1);
}

/* Fixed left sidebar end */

/* Section Hero in Homepage */

.section-specialties {
  background-position: center 45px !important;
}

.section-hero {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: var(--fa-bg-section);
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  position: relative;
}

.hero-h1-text {
  font-family: "Museo Slab 500", sans-serif;
  margin: 0px;
}

.hero-p-text {
  font-family: "Sofia Pro 500", sans-serif;
  color: var(--fa-primary);
  font-size: var(--fa-text-xl);
  text-transform: uppercase;
}

.hero-left-box {
  /* max-width: 50%; */
  z-index: 1;
  max-width: 600px;
  width: 100%;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  padding: 0px;
  font-size: 18px;
  font-family: "Sofia Pro 500", sans-serif;
  color: var(--fa-text-title);
  cursor: pointer;
}

.hero-cta span {
  text-decoration: underline;
}

.hero-cta::after {
  content: "→";
  margin-left: 10px;
}

.hero-right-box {
  position: relative;
  z-index: 2;
}

/* .brain {
    width: 100%;
    max-width: 600px; 
    position: relative;
    z-index: 3;
    animation: moveBrain 5s infinite;
}

@keyframes moveBrain {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(10px, -10px); }
  50% { transform: translate(0, -20px); }
  75% { transform: translate(-10px, -10px); }
} */

.brain {
  width: 100%;
  max-width: 720px;
  position: relative;
  z-index: 3; /* Ensure the brain image is in front */
  animation: moveBrain 10s infinite; /* Make the animation slower */
}

@keyframes moveBrain {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(0, -10px);
  } /* Only vertical movement */
  50% {
    transform: translate(0, -20px);
  } /* Only vertical movement */
  75% {
    transform: translate(0, -10px);
  } /* Only vertical movement */
}

.square_dots {
  top: 0px;
  left: 10px;
  background: url("/wp-content/themes/fabrico/assets/images/hero-section-home/square-dots.svg")
    no-repeat center;
  background-size: cover;
  position: absolute;
  width: 150px;
  height: 150px;
  z-index: 1;
}

.grey_array {
  top: 10px;
  right: 10px;
  background: url("/wp-content/themes/fabrico/assets/images/hero-section-home/grey-array.svg")
    no-repeat center;
  background-size: cover;
  position: absolute;
  width: 150px;
  height: 150px;
  z-index: 1;
}

.orange_array {
  position: absolute;
  width: 150px;
  height: 150px;
  z-index: 1;
  bottom: 10px;
  left: 0;
  background: url("/wp-content/themes/fabrico/assets/images/hero-section-home/orange-array.svg")
    no-repeat center;
  background-size: cover;
}

.square_lines {
  position: absolute;
  width: 150px;
  height: 150px;
  z-index: 1;
  top: 40%;
  left: -20%;
  width: 150px;
  height: 150px;
  background: url("/wp-content/themes/fabrico/assets/images/hero-section-home/square-lines.svg")
    no-repeat center;
  background-size: cover;
  z-index: 2;
}

.blue-line {
  background: url("/wp-content/themes/fabrico/assets/images/hero-section-home/blue-line.svg")
    no-repeat center;
  background-size: cover;
  position: absolute;
  width: 50%;
  height: 100%;
  z-index: 1;
  bottom: 20px;
  left: 20%;
}

.grey_circle {
  background: url("/wp-content/themes/fabrico/assets/images/hero-section-home/grey_circle.svg")
    no-repeat center;
  background-size: cover;
  position: absolute;
  width: 200px;
  height: 200px;
  z-index: 1;
  bottom: 0px;
  right: 0px;
}

/* Section Hero in Homepage end */

/*  Optional Swiper CSS customization */

.swiper-container {
  width: 100%;
  overflow: hidden; /* Ensure no overflow */
}

.swiper-wrapper {
  display: flex;
  width: 100%; /* Ensure wrapper takes full width */
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  width: 100%; /* Ensure each slide takes full width */
}

.slide-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.text-content {
  flex: 1;
  /* padding: 20px; */
  position: relative;
}

.image-content {
  flex: 1;
  text-align: center;
}

.image-content img {
  max-width: 660px;
  width: 100%;
  height: auto;
}

.swiper-buttons {
  position: absolute;
  bottom: 0px;
  left: 1%;
  display: flex;
  width: 120px;
}

.swiper-button-prev,
.swiper-button-next {
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 20px;
  border: 1px solid red;
  border-radius: 50%;
  padding: 15px 20px;
  font-size: 20px !important;
  border-color: var(--fa-secondary);
  color: var(--fa-text-title);
}

/* Swiper end */

/* Section Ensemble */
.primary-btn,
form.fluent_form_3 .ff-btn-submit {
  background: var(--fa-primary);
  color: #fff !important;
  border-radius: 25px;
  padding: 3px 40px;
  font-size: 18px;
  line-height: 36px;
  border: none;
  cursor: pointer;
  transition: transform 0.5s ease;
  font-family: "Sofia Pro 500", sans-serif;
}

.secondary-btn {
  background: var(--fa-bg-body);
  color: var(--fa-primary) !important;
  border-radius: 25px;
  padding: 3px 40px;
  font-size: 18px;
  line-height: 36px;
  border: none;
  cursor: pointer;
  transition: transform 0.5s ease;
  font-family: "Sofia Pro 400", sans-serif;
}

.primary-btn:hover {
  background: #36799c;
}

.secondary-btn:hover {
  background: #ed8940;
  color: white !important;
  font-weight: bold;
}

.section-ensemble img {
  width: 100%;
}

/* Section Ensemble end */

/* Single Post */
.single-post_hero_container {
  display: flex;
  flex-direction: row;
}

.single_post_image img {
  max-width: 350px;
  width: 100%;
}

.single_post_prev_link,
.single_post_next_link {
  font-size: 14px;
  font-family: "Sofia Pro 400", sans-serif;
  color: black;
  display: inline-flex;
  max-width: 320px;
}

.single_post_prev_link::before {
  content: "←";
  margin-right: 10px;
  font-size: 22px;
  font-family: "Sofia Pro 500", sans-serif;
}

.single_post_next_link:after {
  content: "→";
  margin-left: 10px;
  font-size: 22px;
  font-family: "Sofia Pro 500", sans-serif;
}

/* Section Footer */

.footer-logo {
  padding-bottom: 40px;
}

.section-footer {
  background: #1d1d1b;
}

#footer-primary-menu {
  list-style-type: none;
  padding: 0;
  display: flex;
  gap: 100px;
}

#footer-primary-menu li a {
  color: #fff;
  font-size: 18px;
  font-family: "Sofia Pro 500", sans-serif;
  text-decoration: none;
}

#footer-secondary-menu {
  list-style-type: none;
  padding: 0;
  display: flex;
  justify-content: start;
  gap: 20px;
}

#footer-secondary-menu li a {
  color: #7d8186;
  font-size: 14px;
  line-height: 16px;
  font-family: "Sofia Pro 300", sans-serif;
  text-decoration: none;
}

.footer-divider-line {
  color: #7d8186;
  margin: 40px 0px 20px 0px;
}

.menu_footer_bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.menu_footer_bottom p {
  font-size: 14px;
}

#footer-primary-menu li:last-of-type {
  display: flex;
  justify-content: center;
}

/* Section Team members */

#team-members {
  padding: 25vh 40px 25vh 40px;
}

.card_container {
  grid-row-gap: 10px;
}

.team_card img {
  max-width: 100%;
  height: auto;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  transition: clip-path 0.6s;
}

.team_card img:hover {
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}

.team_card h5 {
  margin: 10px 0px 5px 0px;
  font-size: 18px;
}

.team_card p {
  margin: 0px;
}

.card_info_hide {
  display: none;
}

#loadMoreTeam {
  margin-top: var(--fa-space-s);
  cursor: pointer;
}

/* Section Team members end */

/* Home specialities area */
.home-speciality-card img {
  width: 80px;
}

/* Section Blog  */
.blog_card h6 {
  font-family: "Sofia Pro 400", sans-serif;
  font-size: 18px;
}

.blog_card p {
  color: var(--fa-text-body);
}
.blog_card .blog_meta_info p {
  margin-top: 10px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.blog_card img {
  width: 100%;
  height: auto;
}

.blog_card .blog_meta_info p span {
  text-transform: lowercase;
  color: var(--fa-text-p);
}

.blog_card .blog_meta_info p::before {
  content: "";
  display: inline-block;
  border-top: 1px solid var(--fa-text-body); /* Change the color as needed */
  width: 10%; /* Adjust the width as needed */
  margin-right: 10px; /* Adjust the space between the line and the text as needed */
  vertical-align: middle; /* Align the line with the middle of the text */
}

/* Section Blog  End*/

/* Section Career */

.career_card {
  border: 1px solid #d8dde3;
}

.career-cta {
  display: flex;
  justify-content: end;
  padding: 0px;
  font-size: 18px;
  font-family: "Sofia Pro 500", sans-serif;
  color: var(--fa-primary);
  cursor: pointer;
}

.career-cta span {
  text-decoration: underline;
}

.career-cta::after {
  content: "→";
  margin-left: 10px;
}

/* Identity page */

.hero-identity {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  position: relative;
}

.hero-identity h1 {
  margin-top: 320px;
  text-align: center;
}

.dots-bg-sec-1 {
  bottom: 20%;
  right: -7%;
  position: absolute;
}

/* Single case */

.case-single-content {
  max-width: 692px;
}

.case-single-content a {
  cursor: pointer;
  color: #41a5d6;
  font-weight: bold;
}

/* GOOGLE MAP STYLE */
/* -------------------------------- 

Primary style

-------------------------------- */
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* -------------------------------- 

Main components 

-------------------------------- */

#cd-google-map {
  display: table;
  width: 100%;
  height: 80vh;
}
#google-container {
  display: table-cell;
  position: relative;
  width: 100%;
  background-color: #e7eaf0;
}

.google-map_text_box {
  position: absolute;
  background: white;
  padding: 60px;
  bottom: 25%;
  right: 10%;
}

.google-map_text_box h3 {
  margin-top: 0px;
}

.careers-title {
  display: flex;
  align-content: center;
  gap: 30px;
  line-height: 1.2;
  margin-top: 30px !important;
  margin-bottom: 30px;
}

@media only screen and (min-width: 768px) {
  #cd-google-map {
    height: 360px;
  }

  .columns-2-33-67 {
    display: grid;
    grid-template-columns: 1fr 2fr;
  }
  .columns-2-67-33 {
    display: grid;
    grid-template-columns: 2fr 1fr;
  }
}

@media only screen and (min-width: 960px) {
  #cd-google-map {
    height: 720px;
  }
}

#cd-google-map {
  position: relative;
}

#cd-zoom-in,
#cd-zoom-out {
  height: 32px;
  width: 32px;
  cursor: pointer;
  margin-left: 10px;
  background-color: var(--fa-primary);
  background-repeat: no-repeat;
  background-size: 32px 64px;
  background-image: url("https://codyhouse.co/demo/custom-google-map/img/cd-icon-controller.svg");
}
.no-touch #cd-zoom-in:hover,
.no-touch #cd-zoom-out:hover {
  background-color: var(--fa-primary);
}

@media only screen and (min-width: 768px) {
  #cd-zoom-in,
  #cd-zoom-out {
    margin-left: 20px;
  }

  #cd-zoom-in {
    margin-top: 20px;
  }
}

#cd-zoom-in {
  background-position: 50% 0;
  margin-top: 10px;
  margin-bottom: 1px;
}

#cd-zoom-out {
  background-position: 50% -32px;
}

/* GOOGLE MAP STYLE END */

/* Careers page  */

.job-offers-banner {
  background: var(--fa-primary);
  border-radius: 40px;
  margin: var(--fa-space-2xl) auto var(--fa-space-m);
}

.job-offers-banner h3,
.job-offers-banner p {
  color: var(--fa-light);
}

.job-offers-banner h3 {
  margin-top: 0px;
}

.job-offers-banner_link::after {
  content: "→";
  margin-left: 10px;
}

/* Specialties page */
/* .right-method-section {
  margin-bottom: 120px;
} */

.right-method-section h2 {
  margin-top: 0px;
}

.right-method-arrow-image {
  position: absolute;
  top: 45%;
  max-height: 48%;
  width: 450px;
}

#method-image-desktop {
  position: absolute;
  left: 25%;
  bottom: 0%;
  max-width: 350px;
}
.right-method-section ul {
  list-style-type: none;
}
.right-method-section li a {
  font-size: var(--fa-text-xl);
  font-family: "Sofia Pro 400", sans-serif;
  line-height: 2.5;
  color: var(--fa-text-p);
}

.active-link-rm {
  color: var(--fa-text-title) !important;
}

#method-video-desktop {
  max-width: 450px;
}

#method-video-mobile {
  max-width: 360px;
}

/* Ensemble page */
.ensemble-tabs_container a {
  padding: 40px 20px;
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ensemble-tabs_container p {
  margin: 0px;
}

.ensemble-tabs_container {
  gap: 20px;
}

.active-tab {
  border-bottom: 3px solid var(--fa-primary) !important;
}

/* MOBILE MENU */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
}

.hamburger div {
  width: 2rem;
  height: 0.25rem;
  background: #333;
}

#mobile-navigation {
  position: absolute;
  top: 15%;
}

#mobile-navigation ul {
  flex-direction: column;
  padding-left: 0px;
  list-style-type: none;
  gap: 8px;
}

#mobile-navigation ul li a {
  font-size: 20px;
  line-height: 31px;
  color: #fff;
  font-family: "Sofia Pro 500", sans-serif;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 70%;
  height: 100vh;
  background: var(--fa-primary); /* Semi-transparent black */
  color: #fff;
  padding: 2rem;
  z-index: 999;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
}

.close-btn {
  position: absolute;
  top: 23px;
  right: 18px;
  cursor: pointer;
}

/* Partners page */
.partner_image {
  /* border: 1px solid var(--fa-primary); */
  max-width: 300px;
}

.partner-text-box {
  display: flex;
  flex-direction: column;
  gap: 0px;
  align-items: end;
}

.partner-text-box p {
  text-align: end;
  margin-top: 5px;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .primary-menu {
    display: none;
  }

  .social-link-item img {
    max-width: 16px;
  }

  .careers-title {
    gap: 10px;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .image-content img {
    max-width: 320px;
    width: 100%;
    height: auto;
  }

  .brain {
    max-width: 320px;
  }
}

/* MOBILE MENU END */

/* RESPONSIVE DESIGN */

/* Page home responsive */

@media only screen and (max-width: 768px) {
  .hero {
    flex-direction: column;
  }

  .hero-right-box {
    order: -1;
  }

  .hero-left-box {
    max-width: 100%;
  }

  #logo-header {
    max-width: 150px;
  }

  .orange_array,
  .grey_array,
  .square_dots,
  .square_lines {
    width: 50px;
    height: 50px;
  }

  .grey_circle {
    width: 100px;
    height: 100px;
  }

  /* .fabrico-slider .text-content {
    min-height: 520px;
  } */

  .home_slider_fa {
    flex-direction: column;
  }

  .home_slider_fa h2 {
    margin-bottom: 10px;
    margin-top: 10px;
  }

  .home_slider_fa h4 {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .card_container {
    grid-row-gap: 10px;
  }

  .team_card h5 {
    font-size: 14px;
  }

  .team_card_info p {
    font-size: 14px;
  }

  .team_card img {
    max-width: 100%;
    height: auto;
  }

  .team_card img:last-child {
    width: 18px;
  }

  .hero-specialties {
    padding-top: 40px;
  }

  .client-slide-img {
    width: 150px;
  }

  /* Slider btns hide on mobile */
  .swiper-buttons {
    display: none;
  }

  /* section_home_specialties */

  .section_home_specialties h4 {
    font-size: 18px;
  }

  .right-method-section {
    margin-bottom: 0px;
  }

  .right-method-arrow-image {
    width: 105%;
    top: 48%;
    max-height: 42%;
  }

  .right-method-section ul {
    padding-left: 5px !important;
  }

  .home-speciality-card {
    justify-items: center;
  }

  .home-speciality-card h4 {
    margin-top: 10px;
    margin-bottom: 0px;
    text-align: center;
  }

  /* Single Case */
  .case-single-content {
    position: unset;
  }

  /* Single Post */
  .single-post_hero_container {
    flex-direction: column;
    gap: 20px;
  }

  .single_post_prev_link,
  .single_post_next_link {
    font-size: 12px;
    align-items: center;
    display: inline-flex;
    gap: 5px;
  }

  .single_post_prev_next_container {
    gap: 10px;
  }

  .single_post_prev_link::before {
    margin-right: 0px;
  }
  .single_post_next_link::after {
    margin-left: 0px;
  }

  /* Footer */
  .site-footer {
    text-align: center;
  }

  #footer-primary-menu {
    flex-direction: column;
    gap: 20px;
  }

  #footer-secondary-menu {
    flex-direction: column;
    gap: 20px;
  }

  .menu_footer_bottom {
    display: block;
  }

  .footer-logo img {
    max-width: 160px;
    margin-top: 40px;
  }

  .footer-divider-line {
    margin: 20px 0px 20px 0px;
  }

  .google-map_text_box {
    padding: 30px;
    bottom: 0%;
  }

  .fixed-sidebar {
    display: none;
  }

  /* New */
  .section-specialties img {
    width: 100%;
  }

  #team-members {
    padding: 8vh var(--fa-space-l) 10vh var(--fa-space-l);
  }

  .home_speciality {
    flex-direction: column;
  }

  .home_speciality h4 {
    margin: 0px;
  }

  .speciality-image:nth-child(2n) {
    order: -1;
  }

  .mobile-structure h3 {
    padding-top: 80px;
    margin: 0px;
  }

  #method-image-mobile {
    max-width: 100%;
    position: relative;
    left: 0px;
    bottom: -20%;
  }

  #method-video-mobile {
    max-width: 100%;
  }

  /* Google maps area test style for mobile */

  .google-map_text_box {
    bottom: 5%;
    width: 100%;
    position: absolute;
    padding: 15px 10px;
    bottom: 5%;
    left: 10px;
    right: 10px;
    margin: auto;
    max-width: 340px;
  }

  .google-map_text_box h3 {
    font-size: 25px;
  }

  .google-map_text_box p {
    font-size: 14px;
    line-height: 22px;
  }

  .google-map_text_box.primary-btn {
    font-size: 14px;
  }

  /* Right method section */
  #method-video-mobile {
    max-width: 85%;
  }
  #method-image-mobile {
    max-width: 80%;
    position: absolute;
    bottom: -20%;
    left: 50px;
  }

  .right-method-text-box {
    display: flex;
    flex-direction: column;
  }

  /* .right-method-text-box div:last-child {
    order: -1 
  } */

  /* Responsive fix 11.07.2024 */
  .section-hero {
    height: 100vh;
  }

  .hero {
    padding: var(--fa-space-l);
    width: 100%;
  }

  .hero .hero-left-box h1 {
    font-size: var(--fa-text-3xl);
    padding-top: 20px;
    min-height: 130px;
  }

  .hero-identity {
    width: 100%;
  }

  .dots-bg-sec-1 {
    max-width: 150px;
  }

  /* mobile menu fix */
  .mobile-menu .social-links-m-ul .social-link-item a {
    font-family: "Sofia Pro 400", sans-serif;
    font-weight: 400;
    font-size: var(--fa-text-l);
  }

  .social-links-m-ul {
    padding-left: 0px;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }

  .current_page_item {
    text-decoration: underline;
    font-weight: bold;
  }

  .partner-text-box {
    align-items: start;
  }

  .partner-text-box p {
    text-align: left;
  }

  .partner_image {
    max-width: unset;
    width: 100%;
  }

  /* Single Case page */
  .single_case_logo {
    max-width: 80px !important;
  }

  /* Ensembl page */

  .ensemble-tabs_container {
    gap: 8px;
  }

  .ensemble-tabs_container a {
    text-align: unset;
    align-items: unset;
    /* position: relative; */
  }

  /* .ensemble-tabs_container p:first-of-type {
    position: absolute;
    top: 0px;
  } */

  .ensemble-tabs_container p:last-of-type {
    text-align: right;
    font-size: 14px;
  }
}

/* Page Case Single */
.case-point {
  display: flex;
  gap: 20px;
  /* align-items: center; */
}

.case-point p {
  margin-top: 0px;
  margin-bottom: 0px;
}

.case-point h4 {
  margin-top: 0px;
  margin-bottom: 4px;
  font-weight: 400;
}

.go-back-case a,
.go-next-case a {
  font-size: 22px;
  font-family: "Sofia Pro 500", sans-serif;
}
.go-back-case a::before {
  content: "←";
  margin-right: 10px;
  font-size: 22px;
  font-family: "Sofia Pro 500", sans-serif;
}

.go-next-case a::after {
  content: "→";
  margin-left: 10px;
  font-size: 22px;
  font-family: "Sofia Pro 500", sans-serif;
}

/* Page Cases LE NOSTRE CASE */
.section-our-cases {
  padding-top: 0px;
}

.case-card h5 {
  font-weight: 400;
}

.case-card a {
  position: relative;
  display: block;
  overflow: hidden;
}

.case-card h5 {
  visibility: hidden;
  position: absolute;
  bottom: 20px;
  left: 40px;
  color: white;
  z-index: 1;
}

.case-card a:hover h5 {
  visibility: visible;
}

.case-card a::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background-color: #3da3d4;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-sizing: border-box;
  z-index: 0;
}

.case-card a:hover::before {
  opacity: 1;
}

.case-card:hover {
  cursor: pointer;
}

.more-cases-btn-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px auto;
}

.single_case_title {
  font-size: var(--fa-text-3xl) !important;
  line-height: 1.2;
  margin-top: 20px;
}
.single_case_logo {
  max-height: 48px;
  width: auto;
  margin-top: 20px;
}
.case-greybox-wrap {
  background-color: #d8dde3;
  border-radius: 20px;
  padding: 20px 22px 25px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 50px;
}
.case-greybox-wrap h4 {
  margin: 0;
}
.case-greybox-wrap p {
  margin: 0;
}

@media (max-width: 768px) {
  .case-card a::before {
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
  }

  .case-card h5 {
    left: 10px;
    right: 10px;
    bottom: 10px;
    text-align: center;
  }
}
