@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
    --color-text: #e0e0e0;
    --color-link-hover: #FCA311;
    --color-primary: #FCA311;
    --font-family-sans-serif: "Inter", -apple-system, sans-serif;
    --navbar-height: 80px;
    --border-radius: 8px;
    --transition-speed: 0.6s;
}

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

html, body {
    margin: 0;
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', var(--font-family-sans-serif);
    background-color: #FAFAFA;
}

/* #################### NAVBAR ###################################################*/
/* ##############################################################################*/

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    background: #14213D;
}

.navbar__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.navbar__brand {
    font-size: 1.5rem;
    font-weight: 600;
}

.navbar__nav {
    display: none;
}

.navbar__mobile-toggle {
    display: block;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-text);
}

.logos {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 1rem;
}

.logo {
    display: block;
    width: 32px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.logo-linkedin {
    background-image: url('../images/linkedin.png');
}

.logo-linkedin:hover {
    background-image: url('../images/linkedin-hover.png');
}

.logo-proz {
    background-image: url('../images/proz.png');
}

.logo-proz:hover {
    background-image: url('../images/proz-hover.png');
}

.mobile-menu-pane {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: #141414;
    padding: 1.5rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1001;
}

.mobile-menu-pane.is-open {
    transform: translateX(0);
}

.mobile-menu-pane ul {
    margin-top: 4rem;
}

.mobile-menu-pane .nav-link {
    display: block;
    font-size: 1.2rem;
    padding: 1rem 0;
}

.animated-border-svg {
    display: none;
}

@media (min-width: 992px) {
    .navbar__mobile-toggle, .mobile-menu-pane {
        display: none;
    }

    .navbar__nav {
        display: block;
    }

    .nav-list {
        display: flex;
        gap: 1rem;
    }

    .nav-link {
        display: flex;
        align-items: center;
        position: relative;
        padding: 1rem 1.5rem;
        font-weight: 500;
        transition: color var(--transition-speed) ease;
    }

    .nav-link:hover, .nav-link:focus-visible {
        color: var(--color-link-hover);
    }

    .animated-border-svg rect {
        fill: none;
        stroke: var(--color-primary);
        stroke-width: 2px;
        stroke-linecap: round;
        stroke-dasharray: 1000;
        stroke-dashoffset: 1000;
        transition: stroke-dashoffset var(--transition-speed) ease-in-out;
    }

    .nav-link:hover .animated-border-svg rect,
    .nav-link:focus-visible .animated-border-svg rect {
        stroke-dashoffset: 0;
    }

    @media (prefers-reduced-motion: reduce) {
        .animated-border-svg rect {
            transition: none;
        }
    }
}

/* #################### INDEX.HTML ###################################################*/
/* ##############################################################################*/

.hero {
    flex:1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(60px, 8vw, 120px) 20px;
}

.hero-text {
    /* flex: 1; */
    max-width: 600px;
}

.hero-text h1 {
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
    letter-spacing: -0.5px;
}

.hero-text h1::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #FCA311;
    margin-top: 10px;
}

.hero-text p {
    font-size: clamp(16px, 1.2vw, 18px);
    line-height: 1.7;
    color: #333;
    max-width: 55ch;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    background-color: #FCA311;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.btn:hover {
    background-color: #d98c00;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
}

/* #################### MES_SERVICES.HTML ###################################################*/
/* ##############################################################################*/

.services-section {
    padding: 80px 20px;
    background-color: #FFFFFF;
    margin-top: 60px;
    margin-bottom: 54px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    justify-content: center;
}

.card-link {
    text-decoration: none;
    /* display: flex; */
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  max-width: 360px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0px 0px 14px 0px rgba(192, 192, 192, 0.2);
  transition: 1s all;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  bottom: -160%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: #FCA311;
  filter: blur(70px);
  border-radius: 50%;
  transition: width 1s, height 1s;
}
.card:hover::before {
  bottom: -230%;
  width: 1000px;
  height: 1000px;
  filter: blur(1px);
}
.containers {
  position: relative;
  

}

.card:hover .linkMore svg {
  filter: brightness(0) invert(1);
  transition: s all;
}
.title {
  color: #171d29;
  font-size: 26px;
  font-style: normal;
  font-weight: 500;
  white-space: nowrap;
  transition: 1s all;
  margin: 1rem 0;
}
.subtitle {
  color: #7e8882;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  transition: 1s all;
}
.linkMore {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 0.8rem;
  color: #072713;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 22px;
  text-decoration: none;
  transition: 1s all;
  margin-top: 1rem;
}
.card:hover .title,
.card:hover .subtitle,
.card:hover .linkMore {
  color: #fff;
  transition: 1s all;
}

.about {
    /* padding: 80px 20px;
    margin-bottom: -22px; */
}

.about-wrapper {
    /* max-width: 1200px; */
    /* margin: 0 auto; */
    display: flex;
    align-items: flex-start;
    
    /* gap: 60px; */
}

/* ####################  ###################################################*/
/* ##############################################################################*/
.about-text {
    flex: 2;

}

.about-text h2 {
    font-size: 25px;
    margin-top: 7px;
    margin-bottom: 20px;
    color: #14213D;
}

.about-text h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #FCA311;

}

.about-text p {
    font-size: 14px;
    line-height: 1.6;
    text-align: justify;
}

.about-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.highlight {
    background: #FFFFFF;
    border-left: 4px solid #FCA311;
    padding: 10px 10px;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    flex: 1 1 200px;
}

.highlight h3 {
    font-size: 15px;
    margin: 0;
    color: #FCA311;
}

.highlight p {
    margin: 5px 0 0 0;
    font-size: 13px;
    color: #555;
    text-align: justify;
}

.about-aside {
    flex: 1;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
    padding-left: 30px;
    border-left: 2px solid #E5E5E5;
}


.timeline-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers children vertically */
    align-items: stretch;    /* Stretches children horizontally (default) */
    padding: 20px;
    box-sizing: border-box;
  
}


/* About Text Styles */
.about-text {
    flex: 2;
    flex-direction: column;
    padding: 20px;
    height: 100%; /* Ensures it matches the height of the sibling */
    box-sizing: border-box; /* Includes padding in height calculation */
}

/* Timeline Items */
.timeline-item {
  display: flex;
  margin-bottom: 20px;
  margin-top: 20px;
  align-items: flex-start;
}

.timeline-year {
  font-weight: bold;
  min-width: 100px;
  color: #FCA311;
}

.timeline-content {
  flex: 1;
}

.timeline-content h4 {
  margin: 0 0 5px 0;
  font-size: 1.1em;
}

.timeline-content p {
  margin: 0;
  color: #666;
}

.timeline-divider {
  height: 1px;
  background: #ddd;
  margin: 20px 0;
}

/* Desktop Layout: Side-by-side */
.about-wrapper {
  display: flex;
  gap: 20px;
  align-items: stretch; /* Ensures both children stretch to the same height */
}

.about-text, .timeline-container {
  flex: 1;
  min-width: 0;
}

/* Mobile/Tablet Layout: Timeline above text */
@media (max-width: 768px) {
  .about-wrapper {
    flex-direction: column;
  }
  .timeline-container {
    order: -1;
    width: auto;
    margin-bottom: 20px;
    height: auto; /* Reset height for mobile */
  }
  .about-text {
    height: auto; /* Reset height for mobile */
  }
}




.footer {
    background-color: #14213D;
    color: #FFFFFF;
    text-align: center;
    padding: 1px;
    font-size: 12px;
}

.footer a {
    color: #FCA311;
    text-decoration: none;
    margin: 0 10px;
}

.footer a:hover {
    text-decoration: underline;
}

.content {
    min-height: 150vh;
    padding: 1.5rem;
    text-align: center;
    color: #fff;
    padding-top: calc(var(--navbar-height) + 2rem);
}

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

a {
    text-decoration: none;
    color: var(--color-text);
}



@media (max-width: 992px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
    }

    .hero-image img {
        max-width: 250px;
        max-height: 250px;
    }

    .logos {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
        margin: 1rem 0;
    }

    .services-container {
        flex-direction: column;
        gap: 40px; /* add more spacing between cards */
        align-items: center;
    }

    .service-card {
        width: 100%;
        max-width: 500px; /* optional, prevents cards from stretching too wide */
        padding: 25px 20px;
    }

    .card-header {
        flex-direction: column; /* stack icon above title */
        text-align: center;
    }

    .card-header h3 {
        margin-top: 15px;
        font-size: 22px;
    }

   

    .service-card p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text p {
        text-align: center;
    }

    .hero-image img {
        max-width: 150px;
        max-height: 150px;
    }

    .service-card {
        padding: 20px 15px;
    }

    .card-header h3 {
        font-size: 20px;
    }

    .card-icon {
        width: 70px;
    }

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

.navbar__logo {
  height: 2.5rem; /* Taille de base, ajustable */
  width: auto; /* Garde les proportions */
  max-width: 100%; /* Empêche le débordement */
  object-fit: contain; /* Assure que le logo reste visible */
  display: block; /* Évite les espaces indésirables */
}

/* Optionnel : pour les très petits écrans */
@media (max-width: 480px) {
  .navbar__logo {
    height: 2rem; /* Réduit légèrement la taille sur mobile */
  }
}



.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  max-width: 360px;
  width: 100%;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0px 0px 14px 0px rgba(192, 192, 192, 0.2);
  transition: 1s all;
  overflow: hidden;
  margin: 0 auto;
}

.card::before {
  content: "";
  position: absolute;
  bottom: -160%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: #FCA311;
  filter: blur(70px);
  border-radius: 50%;
  transition: width 1s, height 1s;
}

.card:hover::before {
  bottom: -230%;
  width: 1000px;
  height: 1000px;
  filter: blur(1px);
}

.containers {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

@media (max-width: 768px) {
  .card {
    max-width: 100%;
    padding: 15px;
  }
  .services-container {
    flex-direction: column;
    align-items: center;
  }
  .card-link {
    width: 100%;
    max-width: 300px;
  }
}

.form-message {
  display: none;
  margin-top: 20px;
  padding: 15px;
  border-radius: 4px;
  text-align: center;
}
.form-message.loading {
  display: block;
  color: #333;
  background-color: #f0f0f0;
}
.form-message.success {
  display: block;
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
}
.form-message.error {
  display: block;
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
}

     
      .formbold-main-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 24px;
        
      }
      .formbold-form-wrapper {
        margin: 0 auto;
        max-width: 550px;
        width: 100%;
        background: rgb(240, 239, 239);
        padding: 24px; /* Added padding inside the wrapper */
       
        border-radius: 8px; /* Optional: for rounded corners */
        }
        .formbold-form-group:first-child {
  margin-top: 10px;
}
      .formbold-form-group {
        margin-bottom: 20px;
      }
      .formbold-form-label {
        color: #07074D;
        font-size: 14px;
        line-height: 24px;
        display: block;
        margin-bottom: 8px;
      }
      .formbold-form-input {
        width: 100%;
        padding: 12px 16px;
        border-radius: 6px;
        border: 1px solid #DDE3EC;
        background: #FFFFFF;
        font-weight: 500;
        font-size: 15px;
        color: #07074D;
        outline: none;
        resize: none;
      }
      .formbold-form-input:focus {
        border-color: #6A64F1;
        box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.05);
      }
      .formbold-form-select {
        width: 100%;
        padding: 12px 16px;
        border-radius: 6px;
        border: 1px solid #DDE3EC;
        background: #FFFFFF;
        font-weight: 500;
        font-size: 15px;
        color: #07074D;
        outline: none;
        cursor: pointer;
      }
      .formbold-checkbox-group {
        display: flex;
        gap: 15px;
        align-items: center;
      }
      .formbold-checkbox-label {
        font-size: 14px;
        line-height: 24px;
        color: #07074D;
        position: relative;
        padding-left: 25px;
        cursor: pointer;
        user-select: none;
      }
      .formbold-input-checkbox {
        position: absolute;
        opacity: 0;
        cursor: pointer;
      }
      .formbold-checkbox-checkmark {
        position: absolute;
        top: 0;
        left: 0;
        height: 18px;
        width: 18px;
        background-color: #FFFFFF;
        border: 1px solid #DDE3EC;
        border-radius: 4px;
      }
      .formbold-checkbox-label .formbold-input-checkbox:checked ~ .formbold-checkbox-checkmark {
        background-color: #FCA311;
        border-color: #FCA311;
      }
      .formbold-checkbox-checkmark:after {
        content: "";
        position: absolute;
        display: none;
      }
      .formbold-checkbox-label .formbold-input-checkbox:checked ~ .formbold-checkbox-checkmark:after {
        display: block;
      }
      .formbold-checkbox-label .formbold-checkbox-checkmark:after {
        left: 6px;
        top: 2px;
        width: 5px;
        height: 10px;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
      }
      .formbold-btn {
        width: 100%;
        padding: 12px 20px;
        border-radius: 6px;
        border: none;
        font-weight: 600;
        font-size: 15px;
        background-color: #FCA311;
        color: white;
        cursor: pointer;
        margin-top: 10px;
        margin-bottom: 20px;
      }
      .formbold-btn:hover {
        opacity: 0.9;
      }
      .form-message {
        padding: 12px;
        margin-top: 15px;
        border-radius: 6px;
        text-align: center;
        display: none;
      }
      .form-message.loading {
        background-color: #f0f0f0;
        color: #333;
      }
      .form-message.success {
        background-color: #d4edda;
        color: #155724;
      }
      .form-message.error {
        background-color: #f8d7da;
        color: #721c24;
      }
      h1 {
        text-align: center;
        margin-bottom: 24px;
        color: #07074D;
      }
      @media (max-width: 768px) {
        .formbold-form-wrapper {
          padding: 0 16px;
        }
      }



      /* For contact.html */
.contact-hero {
    flex: 1;
    /* display: flex; */
    /* flex-direction: column; */
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 60px 20px;
    box-sizing: border-box;
}

.contact-hero .hero-text {
    max-width: 100%;
    width: 100%;
    text-align: center;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.contact-hero .hero-text h1 {
    text-align: center; /* Ensure the h1 text is centered */
    position: relative; /* Allows absolute positioning of the pseudo-element relative to the h1 */
}

.contact-hero .hero-text h1::after {
    content: "";
    display: block;
    width: 30%;
    height: 2px;
    background-color: #FCA311;
    margin-top: 10px;
    margin-left: auto; /* Center the bar horizontally */
    margin-right: auto; /* Center the bar horizontally */
}


.contact-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}
