:root {
  /* font-size: 16px; */
  font-size: clamp(10px, 0.7vw, 14px);
  --clr-accent-100: hsla(0, 0%, 95%, 0.4);
  --clr-accent-150: hsla(0, 0%, 95%, 0.6);
  --clr-accent-200: hsl(91, 71%, 44%);
  --clr-accent-300: hsl(208, 60%, 25%);
  --clr-accent-400: hsl(275, 26%, 29%);

  --clr-primary-100: hsl(208, 100%, 17%);
  --clr-primary-900: hsl(0, 0%, 100%);

  --ff-primary: "Raleway", sans-serif;

  --ff-body: var(--ff-primary);
  --ff-heading: var(--ff-primary);

  --fw-regular: 400;
  --fw-bold: 700;
  --fw-heavy: 900;

  --fs-200: 0.75rem;
  --fs-300: 0.875rem;
  --fs-400: 1rem;
  --fs-500: 1.25rem;
  --fs-520: 1.6rem;
  --fs-540: 1.8rem;
  --fs-560: 2rem;
  --fs-600: 3rem;
  --fs-700: 3.2rem;
  --fs-720: 3.9rem;
  --fs-800: 5.3rem;

  --fs-body: var(--fs-500);
  --fs-button: var(--fs-300);
  --fs-primary-heading: var(--fs-700);
  --fs-sec-heading: var(--fs-400);
}

/* @media (min-width: 50em) {
  :root {
    /* --fs-200: 0.525rem;
    --fs-300: 0.6125rem;
    --fs-400: 0.7rem;
    --fs-500: 0.875rem;
    --fs-540: 1.26rem;
    --fs-560: 1.4rem;
    --fs-600: 2.1rem;
    --fs-700: 2.24rem;
    --fs-800: 3.71rem; 
  }
} */

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
* {
  margin: 0;
  padding: 0;
  font: inherit;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

/* Set core body defaults */
body {
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

a {
  text-decoration: none;
}
/* Make images easier to work with */
img,
picture,
svg {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/*Utility classes*/
.text-uppercase {
  text-transform: uppercase;
}
.text-primary-100 {
  color: var(--clr-primary-100);
}

.text-primary-900 {
  color: var(--clr-primary-900);
}

.bg-accent-100 {
  background-color: var(--clr-accent-100);
}

.bg-accent-150 {
  background-color: var(--clr-accent-150);
}

.bg-accent-200 {
  background-color: var(--clr-accent-200);
}

.bg-accent-300 {
  background-color: var(--clr-accent-300);
}

.bg-accent-400 {
  background-color: var(--clr-accent-400);
}

.bg-white {
  background-color: white;
}

.fw-bold {
  font-weight: var(--fw-bold);
}

.fw-heavy {
  font-weight: var(--fw-heavy);
}

.fw-regular {
  font-weight: var(--fw-regular);
}

.fs-primary-heading {
  font-size: var(--fs-primary-heading);
}

.fs-sec-heading {
  font-size: var(--fs-sec-heading);
}

section {
  padding-top: calc(2rem + 40px);
  padding-bottom: 0;
  /* margin-top: 40px; */
  /* margin-top: 2rem; */
}

.section-title {
  font-size: 2.8rem; /*var(--fs-700);*/
  font-family: var(--ff-heading);
  font-weight: var(--fw-bold);
  padding-bottom: 1rem;
  letter-spacing: 2px;
}

.section-subtitle {
  font-size: var(--fs-sec-heading);
  font-family: var(--ff-body);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.section-body {
  font-size: 1.4rem; /*var(--fs-sec-heading);*/
  font-family: var(--ff-body);
  padding-bottom: 3rem;
  /* max-width: 1200px; */
  max-width: clamp(80%, 80vw, 1200px);
  margin: 0 auto;
  font-weight: 400;
}

.fs-button {
  font-size: var(--fs-button);
}

.pd-basic {
  padding: 1em;
}

.pd-4 {
  padding: 4rem;
}

.flex-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3em;
}

.flex-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6em;
}

.flex {
  display: flex;
}

.align-center {
  text-align: center;
}
.sec-link:hover {
  text-decoration: underline !important;
  color: inherit !important;
  position: relative;
  text-decoration-color: var(--clr-accent-200) !important;
  text-decoration-thickness: 0.1rem !important;
  /*text-underline-offset: 2rem !important; */
}

/* .sec-link:hover::after {
  content: "";
  position: absolute;
  display: inline;
  width: 100%;
  height: 0.2rem;
  background-color: var(--clr-accent-200);
  bottom: 0;
  left: 0;
} */
/*Utility classes END*/

body {
  font-family: "Raleway", sans-serif;
}
.announcement-bar {
  background-image: linear-gradient(
    to right,
    var(--clr-accent-300),
    var(--clr-primary-100)
  );
  height: 6em;
  display: flex;
  align-items: center;
}
ul.announcement-bar_list {
  display: flex;
  font-size: var(--fs-400);
  gap: 1em;
  list-style: none;
}

ul.announcement-bar_list li::before {
  content: "\2022";
  color: var(--clr-accent-200);
  display: inline-block;
  margin-right: 0.5em;
  font-weight: 900;
}

.hero_quick-nav {
  display: flex;
  justify-content: space-between;
  padding: 1em 2em 1em 7%;
  width: 100%;
}

.hero_quick-nav_btn {
  display: grid;
  gap: 2em;
  grid-template-columns: repeat(4, 1fr);
  place-content: flex-start;
  place-items: right;
  padding: 2rem;
  flex: 1;
}

.hero_quick-nav_btn button {
  padding: 0.9rem;
  /* min-width: 32ch; */
  max-width: 32ch;
}

.hero {
  background-image: url(./assests/img/homepage-banner.jpg);
  height: 110vh; /*calc(100vh - 4em);*/
  position: relative;
  display: flex;
  width: 100%;
  background-color: black;
  justify-content: space-between;
  align-items: flex-start;
  background-size: cover;
  background-position: center;
}

.hero-bottom_cutout {
  background-image: radial-gradient(
    circle at center 10%,
    /* adjust the position of the circle's center to be a little up */
      transparent,
    transparent 70px,
    #f7f7f7 70px
  );
  position: absolute;
  bottom: 0;
  height: 80px; /* adjust this for desired height */
  width: 100%;

  display: flex; /* Use Flexbox to center the text */
  justify-content: center; /* Center horizontally */
  align-items: flex-start; /* Start from the top edge of the cutout */
  padding-top: 10px; /* Some padding from the top for better positioning */
}

.cutout-text {
  font-size: 18px; /* Adjust as needed */
  font-weight: 400;
  color: white; /* Adjust color based on your design needs */
  text-align: center;
}

.latest-news-box {
  position: absolute;
  max-width: 436px;
  bottom: 70px;
  right: calc(min(8.2vw, 135px));
  background-color: hsl(208, 60%, 25%, 0.6);
  padding: 2rem;
  /* width: 436px;
  height: 225px; */
}

.latest-news-box-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 1em auto;
  letter-spacing: 2px;
}

.latest-news-box-body {
  padding-bottom: 1em;
  line-height: 1.2;
}

.latest-news-box a.simple {
  margin: 2em auto;
  color: white;
  letter-spacing: 2px;
}

/* ------------------------------- END latest-news-box ---------------- */
.hero_logos {
  margin-right: 3rem;
  flex: 0.6;
  display: flex;
  align-items: flex-start;
  gap: 3em;
}

.hero_logos img {
  max-height: 100px;
  width: 90%;
  padding-top: 2rem;
}
button,
.btn {
  outline: transparent;
  box-shadow: none;
  padding: 0.7em 1.2em;
  border: none;
  white-space: nowrap;
}

button.hot,
.btn.hot {
  background-color: var(--clr-accent-200);
  color: white;
  font-size: var(--fs-500);
}

button.simple,
.btn.simple {
  background-color: transparent;
  position: relative;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: var(--fs-400);
}

a.simple {
  position: relative;
}

a.simple::after {
  content: " ";
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--clr-accent-200);
  display: block;
  bottom: -0.5rem;
  /* left: 10%; */
}

button.simple::after,
.btn.simple::after {
  content: " ";
  position: absolute;
  width: 90%;
  height: 3px;
  background-color: var(--clr-accent-200);
  display: block;
  bottom: 0;
  left: 5%;
}

.navbar {
  width: 9%;
  background-color: hsla(275, 26%, 29%, 0.6);
  height: calc(100% - 80px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-height: calc(100% - 80px);
  max-width: 135px;
}

.quick-navbar_ico {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  font-size: 1.8rem;
  color: var(--clr-accent-200);
  padding-bottom: 16rem;
}

button.btn-prim-hot {
  background-color: var(--clr-accent-300);
}

/* -------------------------- The Overlay (background) Menu --------------------- */
.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 9999;
  right: 0;
  top: 0;
  background-image: 
    linear-gradient(to right,rgba(38, 78, 112, 0.7), rgba(48, 13, 50, 0.7)),
    url(./assests/img/homepage-banner.jpg);
  overflow-x: hidden;
  transition: 0.5s ease-in-out;
  background-size: cover;
}

.overlay-container {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  padding: 1rem 7%;
  transition: 0.5s ease-in;
}

.overlay-header {
  min-height: 10rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
}

.overlay-header_btns {
  display: flex;
  align-items: center;
  margin: auto 2rem;
  gap: 2rem;
  background-color: transparent !important;
}

.overlay-content {
  position: relative;
  width: 100%;
  text-align: center;
  margin-top: 7em;
  height: 100%;
}

.nav-btn {
  display: flex;
  gap: 1em;
  min-width: 700px;
}

.nav-btn button {
  width: 100%;
  background-color: white;
  max-width: 50ch;
  flex: 1;
}

.nav-btn button a {
  color: var(--clr-primary-100);
  background-color: white;
  font-size: 0.9rem;
  letter-spacing: 1px;
  line-height: 1.4;
  font-weight: 450;
}

.icons {
  padding: 0.5em;
}

.nav_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.nav_icon img {
  max-width: 30px;
  margin-left: 0.8rem;
}

.overlay a {
  text-decoration: none;
  transition: 0.3s;
  color: var(--clr-primary-900);
}

.overlay a:hover,
.overlay a:focus {
  color: var(--clr-accent-200);
}

.overlay .closebtn {
  position: absolute;
  top: 2rem;
  right: 45px;
  font-size: var(--fs-600);
  text-align: center;
  transform: translateY(25%);
  margin: 0;
  font-weight: var(--fw-regular);
}

.overlay .closebtn::after {
  content: "CLOSE";
  display: block;
  left: 0;
  font-size: var(--fs-400);
  margin-top: -1rem;
}

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

ul.nav-menu > li {
  position: relative;
}

ul.nav-menu > li > a {
  font-size: 1.9rem;
  font-weight: 900;
}

ul.nav-menu > li > .submenu {
  display: none;
  transition: ease-in;
  position: absolute;
  width: 100%;
  padding-top: 1em;
  text-align: left;
  font-size: var(--fs-500);
  font-weight: 700;
}

ul.nav-menu > li > .submenu li {
  margin-top: 0.3em;
}

ul.nav-menu > li:hover > ul.submenu {
  display: block;
}

.icons-container img {
  padding: 0.2rem;
}

.overlay_footer {
  display: flex;
  justify-content: space-between;
  width: 80%;
  position: absolute;
  bottom: 7rem;
  left: 10rem;
  font-size: 1.6rem;
  font-weight: var(--fw-regular);
}

.overlay-logo {
  max-width: 20%;
}

.icons-container {
  justify-content: center;
  align-items: center;
}

.main-content {
  margin: 0 auto;
}

/* -------------------------------------- decouvrir ------------- */
#decouvrir-melkart {
  padding-left: 10rem;
  padding-right: 10rem;
  padding-top: 150px;
}
/* ------------------------------- Advantages/expertise section - -----------------------------*/

#expertise {
  display: flex;
  justify-content: center;
}

/* -------------------------------------------- facts ------------------------------------------------ */

#facts .flex {
  justify-content: space-evenly;
  width: 100%;
  background: linear-gradient(
    to right,
    var(--clr-accent-300),
    var(--clr-primary-100)
  );
  padding: 6rem 0;
  color: white;
}

.fact {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fact-number {
  font-size: var(--fs-720);
  font-weight: var(--fw-bold);
}

/* ------------------------------------------programme d'etude ------------------------------------ */
.grid_etude {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.card {
  width: 100%;
  height: 90vh;
  background: url("./assests/img/etude.png") center/cover no-repeat
    rgba(31, 0, 50, 0.4);
  position: relative;
  border-right: 3px solid transparent;
}

.card:not(:last-child) {
  border-right-color: hsl(91, 71%, 44%);
}

.card_content {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease-in-out;
  z-index: 3;
  padding-bottom: 3rem;
}

.item-text-header {
  background-color: transparent;
  color: white;
  padding: 10px 3rem;
  text-align: left;
}

.text-body {
  color: white;
  padding: 10px 3rem;
  opacity: 0;
  transition: opacity 0.3s ease-in-out, max-height 0.4s ease-in-out;
  max-height: 0;
  overflow: hidden;
  text-align: left;
}

.card:hover .content {
  transform: translateY(0);
}

.card:hover .text-body {
  opacity: 1;
  max-height: 500px;
}

.card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--clr-accent-400);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
  z-index: 1;
}

.card:hover .card__overlay {
  opacity: 0.7;
}

/* here */

@media only screen and (max-width: 575.98px) /*and (orientation: portrait) */ {

    .card .content {
        transform: translateY(0);
    }

    .card .text-body {
        opacity: 1;
        max-height: 500px;
    }
    .card .content {
        transform: translateY(0);
    }
    .card .card__overlay {
        opacity: 0.7;
    }
}

.item-subtitle {
  margin-bottom: 1rem;
  font-size: var(--fs-500);
}

.item-title {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.text-body {
  max-width: 80%;
  font-size: var(--fs-500);
}

.text-body a {
  margin-top: 2rem;
  color: white;
  text-decoration: none;
  position: relative;
  display: block;
}

.text-body a::before {
  content: "";
  position: absolute;
  display: block;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 13ch;
  background-color: green;
  transform: translateY(100%);
}

#rencontrer-avenir img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile {
  display: none;
}

@media (max-width: 768px) {
  .mobile {
    display: block;
  }
  .desktop {
    display: none;
  }
}

/* -------------------------------------------------- NEWS ----------------------------- */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
  max-width: 80%;
  margin: 0 auto;
}

.news-card {
  text-align: left;
}

.card-header p {
  padding: 0.7em 0;
  color: black;
}

.card-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem; /* Changed padding to margin for better spacing */
}

.card-body {
  line-height: 1.2;
}

/* ------------------------------  Navbar humbergur icon --------------------------------- */

.bar-container {
  width: 5.5rem;
  height: 25px; /* Corrected missing 'px' */
  margin: 3rem auto;
  text-align: center;
  color: white;
  cursor: pointer;
}

.bar {
  width: 80%;
  height: 3px;
  background: white;
  margin: 0 auto 0.3em;
}

.two-1 {
  margin-bottom: 0;
  transition: transform 0.2s ease-in;
}

.two-2 {
  margin-top: -3px;
  transition: transform 0.2s ease-in;
}

/* .bar-container:hover .two-1 {
  transform: rotate(45deg);
}

.bar-container:hover .two-2 {
  transform: rotate(-45deg);
}

.bar-container:hover {
  transform: translateY(8.2px);
} */

/*-------------------------------------------  blockquote ------------------------------------  */

#home-quote,
#start {
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

blockquote {
  font-size: 2.2rem;
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.quote {
  position: relative;
}

.quote::before,
.quote::after {
  font-size: 20rem;
  position: absolute;
  top: 20%;
  transform: translateY(-50%);
  color: var(--clr-accent-200);
  font-weight: 900;
  z-index: 1;
}

.quote::before {
  content: url(./assests/img/open_quote.png);
  left: 7%;
}

.quote::after {
  content: url(./assests/img/close_quote.png);
  right: 7%;
}

@media only screen and (max-width: 575.98px) /*and (orientation: portrait) */ {
    .quote::before,
    .quote::after {
        transform: translateY(-80%);
        z-index: 1;
          content: ""; 
            display: block; 
            /* background-image: url(./assests/img/open_quote.png); */
            background-size: contain; 
            background-repeat: no-repeat; 
            width: 60px; 
            height: 60px; 
    }
    .quote::before {
        background-image: url(./assests/img/open_quote.png);
        /* transform: translateY(50px); */
    }

    .quote::after {
        background-image: url(./assests/img/close_quote.png);
    }
}

.quote_author {
  display: block;
  margin-top: 1rem; /* Adjusted margin for better spacing */
  font-size: 1.4rem;
  font-weight: 700;
}

.quote-date {
  font-size: 1.1rem;
  font-weight: 400;
}

/* ------------------------------------------ entammez ce parcours --------------------------- */
#start {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

#start h2 {
  margin: 2rem 0 5rem;
  font-size: 3.6rem;
  line-height: 1.2;
}

.action-btn-container {
  display: flex;
  justify-content: space-evenly;
  gap: 0.5em;
  align-items: stretch;
  min-width: 900px;
}

#start button {
  font-size: 1.5rem;
  width: 100%;
  padding: 0.7em;
}

/* Footer */

.subscribe-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
  margin: 2em auto;
  font-size: var(--fs-500);
  padding: 1rem;
  max-width: 1600px;
  position: relative;
}

.subscribe-form form {
  display: flex;
  flex-grow: 1;
  gap: 1em;
}

.subscribe-form input {
  border: none;
  box-shadow: none;
  padding: 1em;
  font-size: var(--fs-400);
  background-color: var(--clr-accent-100);
  flex-grow: 2;
}

.subscribe-form input[type="email"] {
  min-width: 70ch;
}

.subscribe-form .submit {
  max-width: 20ch;
  padding: 0.5em 3em;
  margin: 0;
  background-color: var(--clr-accent-300);
  color: white;
  flex-grow: 1;
  cursor: pointer;
}

/* ------------------------------------- footer ------------------------------*/

footer {
  display: flex;
  justify-content: space-evenly;
  padding: 2rem;
  position: relative;
}

footer::after,
footer::before {
  content: "";
  width: 90%;
  height: 3px;
  display: block;
  background-color: var(--clr-accent-200);
  position: absolute;
}

footer::after {
  bottom: -1rem;
}

footer::before {
  top: -0.7rem;
}

footer ul {
  list-style: none;
  padding: 0; /* Remove default padding */
  margin: 0; /* Remove default margin */
}

footer ul li {
  text-transform: uppercase;
  color: var(--clr-primary-100);
  margin-bottom: 0.4em;
  font-size: var(--fs-500);
}

footer h3 {
  margin-bottom: 14px;
  color: var(--clr-primary-100);
  font-size: 1.4rem;
  letter-spacing: 2px;
}

.quick-links-contact li {
  display: flex;
  align-items: center;
  gap: 1em;
  margin: 1em;
}

li i {
  color: var(--clr-accent-200);
}

.quick-links-social li {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
}

.quick-links-social li i {
  font-size: 1.4rem;
  margin-left: 0.2em;
}

h2 {
  line-height: 1.2;
}

.sidebar-icons {
  display: none;
}

#expertise #wrapper {
  max-width: 80%;
}

.overlay-footer_btns_mobile {
  display: none;
}

/*-----------------------------MOBILE portrait mode  ---------------------------------*/

@media only screen and (max-width: 575.98px) /*and (orientation: portrait) */ {
  /* ----------------------header------------------ */

  html,
  body {
    overflow-x: hidden;
  }
  pre-footer {
    display: none !important;
  }

  .latest-news-box {
    left: 0;
    max-width: 300px;
    bottom: 170px;
  }

  .hero_logos > a:nth-child(1) {
    max-width: 100%;
  }

  .hero_logos {
    padding: 0.4rem;
    display: grid;
    align-items: center;
    justify-content: center;
    margin: 0;
    grid-template-columns: 2fr 1fr 2fr
  }

  .hero_quick-nav {
    align-items: center;
    display: grid;
  }

  .mobile {
    display: block;
  }

  .navbar {
    width: auto;
  }

  .hero_quick-nav_btn {
    grid-template-columns: 1fr 1fr;
  }

  .hero_quick-nav {
    padding: 0;
  }


  /* --------------------- OVERLAY ------------------ */

  .overlay {
    right: 0;
    max-height: 100vh;
    overflow-y: hidden;
  }

  .overlay-header_btns {
    display: none;
  }
  ul.nav-menu {
    flex-direction: column;
    text-align: left;
  }
  .overlay-logo {
    max-width: 100%;
  }

  ul.nav-menu > li {
    margin: 2em;
  }
  ul.nav-menu > li > .submenu {
    position: relative;
  }
  .submenu {
    display: none; /* Hide submenu by default */
    margin-left: 1em;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0s linear 0.5s;
  }

  ul.nav-menu > li > .submenu li {
    margin-top: 1em;
  }
  .nav-menu {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .submenu.expanded {
    display: block !important; /* Show submenu when expanded */
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s;
  }
  .overlay_footer {
    display: none;
  }
  .overlay-content {
    display: flex;
    justify-content: space-between;
  }

  .sidebar-icons {
    transform: translateY(-3.5em);
  }
  .sidebar-icons,
  .sidebar-icons .connectez_vs_icons,
  .sidebar-icons .quick-links-icons {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 0.5em;
  }

  .sidebar-icons img {
    margin-top: 1em;
  }

  .overlay-footer_btns_mobile {
    width: 100%;
    display: block;
  }

  .nav-btn {
    min-width: 0;
  }

  .overlay-content {
    margin-top: 2em;
  }

  .overlay-container {
    height: 100%;
    padding-top: 6em;
    padding-bottom: 2em;
  }

  .overlay .closebtn {
    transform: translateY(10%);
  }
  header {
    position: relative;
  }

  /* ----------------------END header------------------ */

  div.main-content,
  header,
  footer {
    padding: 0;
    max-width: 100%;
    overflow: hidden;
  }

  /* CHECK --- inline  */
  #decouvrir {
    padding-left: 1em !important;
  }

  .pd-4 {
    padding: 0;
  }

  /* ----------------------------------- Sections ------------------ */
  section,
  .section-btns,
  .section-body {
    padding: 1em;
  }

  .flex-section {
    flex-direction: column-reverse;
  }

  .section-btns {
    padding: 1em;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    flex-wrap: wrap;
    gap: 1.2rem;
  }
  .section-btns button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  a.simple:nth-child(2){
      margin-left: -12px;
  }

  section h2,
  .section-subtitle {
    padding-left: 1rem;
  }

  /* recheck */
  button.hot,
  .btn.hot {
    min-width: 100%;
    text-align: center;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-body {
    text-align: left; /*was center, asked to change to left -- charles -- 20/12/2024*/
    max-width: 100%;
  }

  section#decouvrir-melkart {
    padding-left: 0rem;
    padding-right: 0rem;
    padding-top: 0px;
  }

  section#decouvrir-melkart {
    flex-direction: column;
  }

  /* change on desktop to make it resizable grid instead of flex */
  #facts > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .grid_etude,
  .news-grid {
    display: flex;
    min-height: 90vh;
  }
  .news-grid {
    flex-direction: column;
  }

  blockquote {
    font-size: 1.5rem;
  }

  .quote::before {
    font-size: 15rem;
    top: 32rem;
  }
  .quote::after {
    font-size: 15rem;
    top: 8rem;
  }

  .swiper {
    width: 100%;
  }

  .swiper-pagination-bullet{
      background: white;
      opacity: 1
  }

  .advantage-tiles {
    position: relative;
  }

  .advantage-tiles::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(31, 0, 50, 0.4);
    z-index: 1;
  }

  /* ----------------------- expertise --------------- */
  #expertise #wrapper {
    max-width: 100%;
  }

  #expertise #wrapper main .section,
  #wrapper .block-advantage .hoz-accordion {
    margin-top: 0;
    margin-bottom: 0;
  }

  /* ----------------------- program d'etude ----------------  */

  /* ------------------------ rencontre avec  avenir ------------ */
  #rencontrer-avenir {
    margin-top: 0;
  }

  /* ----------------------entammez ce parcours------------- */
  .action-btn-container {
    flex-direction: column;
  }
  .subscribe-form,
  .subscribe-form form {
    flex-direction: column;
    width: 100%;
    gap: 0.5em;
  }
  .subscribe-form form {
    max-width: 100%;
    align-items: center;
  }
  .subscribe-form form input {
    width: 100%;
    min-width: 100%;
    flex: 1;
  }

  .logo-footer,
  footer .quick-links-social {
    display: none;
  }

  footer {
    transform: translateY(2rem);
    position: relative;
  }

  footer::before {
    content: "";
    position: absolute;
    height: 4px;
    width: 80%;
    /* display: block; */
    top: -1rem;
    z-index: 9999;
    display: none
  }
}

.container.is-expanded {
  max-width: 1600px;
}

/* ----------------------------------------------------------------------------------------- */

/* Styles for mobile devices in landscape mode */
@media only screen and (max-width: 575.98px) and (orientation: landscape) {
  /* Your styles here */
}

/* Styles for tablets in portrait mode */
@media only screen and (min-width: 576px) and (max-width: 767.98px) and (orientation: portrait) {
  /* Your styles here */
}

/* Styles for tablets in landscape mode */
@media only screen and (min-width: 576px) and (max-width: 767.98px) and (orientation: landscape) {
  /* Your styles here */
}

/* Styles for small laptops/desktops */
@media only screen and (min-width: 768px) and (max-width: 991.98px) {
  /* Your styles here */
  /* adjust the footer and the gap padding in the programme d'etude grid */
  /* turn some flexboxes, column 
start the grid to slider
*/
}

/* Styles for large laptops/desktops */
@media only screen and (min-width: 992px) and (max-width: 1199.98px) {
  /* Your styles here */

  /* adjust the footer and the gap padding in the programme d'etude grid */
}

/* Styles for extra large screens */
@media only screen and (min-width: 1200px) {
  /* Your styles here */
  /* final check */
}

/* last 3 sections including the footer,
the menu to be vertical and fit 
the navbar on small screens to be adjusted along with the banner */

.advantage-tiles {
  position: relative;
}

.advantage-tiles picture::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(128, 0, 128, 0.5); /* Purple with 50% transparency */
}

.tab-title {
  font-weight: 900;
}

.accordion-c h2 {
  font-weight: 900;
}

.submenu li {
  overflow: visible;
  white-space: nowrap;
}

.section-img {
  margin: 0 auto;
}

/* ------------------------------------------- */

/* .mobile-nav {
  
}

.mobile-menu-content {
  
}

.hamburger-menu img {
 
}

.mobile-nav-menu li {
  
} */

.mobile-submenu {
  display: none;
}

.mobile-submenu.active {
  display: block;
}

.swiper-container-quote {
  position: relative;
}

/* General button styles */
.swiper-button-prev-quote,
.swiper-button-next-quote {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10;
}

.swiper-button-prev-quote {
  left: 10px;
}

.swiper-button-next-quote {
  right: 10px;
}

/* Chevron shape for the "Previous" button */
.swiper-button-prev-quote::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 12px 10px 0; /* Top, right, bottom, left */
  border-color: transparent black transparent transparent;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}

/* Chevron shape for the "Next" button */
.swiper-button-next-quote::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 12px; /* Top, right, bottom, left */
  border-color: transparent transparent transparent black;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}



        #mapModal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
        }

        .modal-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            width: 90%;
            max-width: 800px;
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }

        .modal-title {
            margin: 0;
            font-size: 1.25rem;
            color: #333;
        }

        .close-btn {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 4px;
            color: #666;
        }

        .map-container {
            width: 100%;
            height: 400px;
        }

        .map-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

#start .action-btn-container a {
  width: 100%
}

pre-footer{
    width: 90%;
  display: block;
  margin: auto;
}

.fact-icon{
    height: 78px;
    display: flex;
  align-items: center;
}

.news-card .card-img{
    height: 300px;
  overflow: hidden;
}

.news-card .card-img img{
    object-position: center;
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.hero_quick-nav_btn a{
    font-weight: 600
}

.card_content a{
    display: none !important
}

.swiper-pagination-bullet-active{
    background: #007aff
}

      p.link{
          display: none!important;
      }