@charset "UTF-8";
/* ----- POPPINS FONT Link ----- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Sniglet:wght@400;800&display=swap");
/* ----- VARIABLES ----- */
:root {
  --hue-1: 257;
  --hue-2: 47;
  --font-family-primary: "Poppins", sans-serif;
  --font-family-secondary: "Rubik Mono One", sans-serif;
  --text-color-second: #424f56;
  --color-primary: #377495;
  --color-transparent: rgba(255, 255, 255, 0.4);
  --color-secondary: #7F00FF;
  --bg-color: #F3F5F8;
  --color-light: #F3F5F8;
  --bg-color-1: #364C62;
  --bg-color-2: #fff;
  --bg-color-3: #F3F5F8;
  --text-color: hsl(var(--hue-1), 17%, 63%);
  --color-primary-light: #F4D03F;
  --color-primary-light-2: #D4AC0D;
  --nav-links-color-after: #7F00FF;
  --nav-links-color: #7F00FF;
}

/* ----- DARK MODE ----- */
:root.dark-mode {
  --bg-color: #0a192f;
  --bg-color-1: #1a1a1a;
  --bg-color-2: #1e293b;
  --bg-color-3: #0f172a;
  --text-color: #e2e8f0;
  --headline-color: #f8fafc;
  --card-bg: #1e293b;
  --card-shadow: 1px 8px 10px 2px rgba(0, 0, 0, 0.2);
  --nav-bg: rgba(15, 23, 42, 0.9);
  --border-color: #2d3748;
}

/* Ajoutons des transitions douces */
body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Styles pour les cartes projet en mode sombre */
.dark-mode .project-box {
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
}

/* Styles pour la navigation en mode sombre */
.dark-mode nav {
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

/* Styles pour les conteneurs about et contact en mode sombre */
.dark-mode .about-containers .details-container {
  border-color: var(--border-color);
  background: var(--card-bg);
}

.dark-mode .contact-info-upper-container {
  border-color: var(--border-color);
  background: var(--card-bg);
}

/* Styles pour les témoignages en mode sombre */
.dark-mode .testimonial {
  background-color: var(--card-bg);
}

.dark-mode .testimonial q {
  color: var(--text-color);
}

/* Style du toggle button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-color-2);
  box-shadow: var(--card-shadow);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hidden {
  display: none !important;
}

.theme-toggle i {
  font-size: 1rem;
  transition: opacity 0.3s ease;
}

.theme-toggle:hover {
  transform: scale(1.1);
}

/* Style par défaut du footer */
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 30px;
  background: var(--bg-color-2);
  padding-block: 40px 60px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dark mode pour le footer */
.dark-mode footer {
  background: var(--bg-color-2);
}

/* Styles pour les éléments du footer en dark mode */
.dark-mode .footer_menu_list a {
  color: var(--text-color);
}

.dark-mode .top-footer .nav-name {
  color: var(--text-color);
}

.dark-mode .bottom-footer {
  color: var(--text-color);
}

.dark-mode .footer-social-icons .icon {
  background: var(--card-bg);
  color: var(--text-color);
}

.dark-mode .footer-social-icons .icon:hover {
  color: var(--color-secondary);
}

.dark-mode .btn.secondary-btn.sm {
  color: var(--text-color);
}

/* ----- BASE ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* ----- SMOOTH SCROLL ----- */
html {
  scroll-behavior: smooth;
}

/* ----- CHANGE THE SCROLL BAR DESIGN ----- */
::-webkit-scrollbar {
  width: 10px;
  border-radius: 25px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 30px;
}

::-webkit-scrollbar-thumb:hover {
  background: #bbb;
}

/* ---##-- REUSABLE CSS --##--- */
p {
  color: var(--text-color);
}

/* ----- GLOBAL BUTTON DESIGN ----- */
.btn {
  font-weight: 500;
  padding: 12px 20px;
  background: #efefef;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: 0.4s;
}

.download-cv a {
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 500;
  position: relative;
}

.download-cv a::before {
  content: "";
  background-color: var(--color-primary-light);
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 8px;
  z-index: -1;
  transition: all 0.3s ease-in-out;
}

.download-cv a:hover::before {
  left: -10px;
  bottom: 0;
  height: 110%;
  width: calc(100% + 20px);
  border-radius: 5px;
}

.dark-mode .download-cv a {
  color: var(--color-primary-light);
}

.dark-mode .download-cv a::before {
  background-color: var(--color-secondary);
  opacity: 0.2;
}

.dark-mode .download-cv a:hover {
  color: #fff;
}

.dark-mode .download-cv a:hover::before {
  opacity: 0.9;
  background-color: var(--color-primary);
}

.btn > i {
  margin-left: 10px;
}

.btn:hover {
  background: var(--bg-color);
  color: var(--color-white);
}

/* ----- GLOBAL ICONS DESIGN ----- */
i {
  font-size: 16px;
}

/* ------- BASE -------- */
body {
  background: var(--bg-color);
}

.container {
  width: 100%;
  position: relative;
}

/* ----- NAVIGATION BAR ----- */
nav {
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* Ajout pour centrer verticalement */
  width: 100%;
  height: 90px;
  background: var(--bg-color);
  padding-inline: 9vw;
  transition: 0.3s;
  z-index: 100;
}

.nav-logo {
  position: relative;
}

.nav-name {
  font-family: "Sniglet", system-ui;
  font-weight: 500;
  font-size: 2rem;
  font-style: normal;
  letter-spacing: 1px;
  color: var(--color-primary);
  text-decoration: none;
}

.nav-logo b {
  font-size: 30px;
  color: var(--color-secondary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav_menu_list {
  display: flex;
}

.nav-menu .nav_list {
  list-style: none;
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 500;
  padding-inline: 15px;
  margin-inline: 20px;
}

.active-link {
  position: relative;
  color: var(--color-primary);
  transition: 0.3;
}

.active-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 5px;
  background-color: var(--nav-links-color-after);
  border-radius: 50%;
}

/* ----- WRAPPER DESIGN ----- */
.wrapper {
  padding-inline: 10vw;
}

/* ----- FEATURED BOX ----- */
.featured-box {
  position: relative;
  display: flex;
  height: 100vh;
  min-height: 700px;
}

/* ----- FEATURED TEXT BOX ----- */
.featured-text {
  position: relative;
  display: flex;
  justify-content: center;
  align-content: center;
  min-height: 80vh;
  flex-direction: column;
  width: 50%;
  padding-left: 20px;
}

.featured-text-card span {
  background: var(--color-primary-light);
  color: var(--color-primary);
  padding: 3px 8px;
  font-size: 12px;
  border-radius: 5px;
}

.featured-name {
  font-size: 50px;
  font-weight: 600;
  color: var(--text-color-second);
  margin-block: 20px;
}

.featured-name p {
  color: var(--color-primary);
}

.typedText {
  text-transform: capitalize;
  color: var(--color-secondary);
  font-family: var(--font-family-primary);
}

.featured-text-info {
  font-size: 15px;
  margin-bottom: 30px;
  color: var(--text-color);
}

.featured-text-btn {
  display: flex;
  gap: 20px;
}

.featured-text-btn > .blue-btn {
  background-color: var(--color-secondary);
  color: var(--color-light);
}

.featured-text-btn > .blue-btn:hover {
  background: var(--first-color-hover);
  color: var(--color-primary);
}

.social_icons {
  display: flex;
  margin-top: 5em;
  gap: 30px;
}

.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  color: var(--text-color);
}

.icon:hover {
  color: var(--color-secondary);
}

/* ----- FEATURED IMAGE BOX ----- */
.featured-image {
  display: flex;
  justify-content: right;
  align-content: center;
  min-height: 80vh;
  width: 50%;
}

.image {
  margin: auto 0;
  width: 380px;
  height: 380px;
  border-radius: 55% 45% 55% 45%;
  overflow: hidden;
  animation: imgFloat 7s ease-in-out infinite;
}

.image img {
  width: 380px;
  height: 380px;
  -o-object-fit: cover;
     object-fit: cover;
}

@keyframes imgFloat {
  50% {
    transform: translateY(10px);
    border-radius: 45% 55% 45% 55%;
  }
}
.scroll-btn {
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 50px;
  gap: 5px;
  text-decoration: none;
  color: var(--text-color-second);
  background: var(--color-white);
  border-radius: 30px;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25);
}

.scroll-btn i {
  font-size: 20px;
}

/* ----- MAIN BOX ----- */
.section {
  padding-block: 5em;
  overflow: hidden;
}

.row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 50px;
}

.col {
  display: flex;
  width: 50%;
}

/* -- ## --- RESUABLE CSS -- ## -- */
.top-header {
  text-align: center !important;
  margin-bottom: 5em;
}

.top-header h1 {
  font-weight: 500;
  font-family: "Abril Fatface", cursive;
  color: var(--text-color-second);
}

.top-header span {
  color: #999;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-color-second);
  margin-bottom: 15px;
}

/* ----- ABOUT INFO ----- */
.about-info {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-block: 30px 70px;
  padding-inline: 20px;
  width: 100%;
  background: var(--color-white);
  box-shadow: 1px 8px 10px 2px var(--first-shadow-color);
  border-radius: 20px;
}

.about-info p {
  text-align: center;
  font-size: 15px;
  color: #777;
}

.about-btn button {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background: var(--first-color);
  color: var(--color-white);
  border-radius: 30px;
}

.about-btn button:hover {
  background: var(--first-color-hover);
}

/* ----- ABOUT / SKILLS BOX ----- */
.skills-box {
  margin: 10px;
}

.skills-header {
  margin-bottom: 30px;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.skills-list span {
  font-size: 14px;
  background: var(--color-secondary);
  color: var(--bg-color);
  padding: 2px 10px;
  border-radius: 5px;
}

/* ABOUT SECTION */
#about {
  position: relative;
}

.section-container {
  display: flex;
  gap: 4rem;
  height: 80%;
}

.section__text__p1 {
  justify-content: center;
}

.about-containers {
  gap: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.about-details-container {
  justify-content: center;
  flex-direction: column;
}

.about-containers,
.about-details-container {
  display: flex;
  justify-content: center;
}

.arrow {
  position: absolute;
  right: -5rem;
  bottom: 2.5rem;
}

.details-container {
  padding: 1.5rem;
  flex: 1;
  background: transparent;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  text-align: center;
}

.details-container i {
  font-size: 2rem;
  color: var(--color-primary);
}

.about-pic {
  border-radius: 2rem;
  transition: 0.4s;
}

.about-pic:hover {
  filter: blur(5px);
  transition: 1s ease;
}

.section__pic-container {
  display: flex;
  height: 400px;
  width: 400px;
  margin: auto 0;
}

/* EXPERIENCE SECTION */
#experience {
  position: relative;
}

.experience-sub-title {
  color: rgb(85, 85, 85);
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.experience-details-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.article-content {
  display: flex;
  flex-direction: column;
}

.article-container {
  display: flex;
  text-align: initial;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 2.5rem;
  justify-content: space-around;
}

article {
  display: flex;
  width: 10rem;
  justify-content: space-around;
  gap: 0.5rem;
}

article .icon {
  cursor: default;
}

/* ----------- PROJECTS SECTION ---------- */
.projects .container {
  transition: 0.4s;
}

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.projects-title {
  padding-bottom: 1rem;
}

.filter-btn {
  display: inline-block;
  color: var(--color-primary);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-left: 1.3rem;
  font-family: inherit;
  text-transform: uppercase;
}

.filter-btn.mixitup-control-active {
  color: var(--color-secondary);
}

.prt-image img {
  width: 105%;
}

.prt-card {
  border-radius: 15px;
  overflow: hidden;
  background-color: var(--bg-color-2);
  height: 265px;
  display: grid;
  grid-template-rows: 1fr auto;
}

.prt-image {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.projects-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.prt-desc {
  padding: 1.1rem 1.6rem;
  display: flex;
  justify-content: space-between;
}

.prt-desc h3 {
  font-size: 0.95rem;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: capitalize;
}

.btn.secondary-btn.sm {
  padding: 0.07rem 0.1rem;
  font-size: 0.78rem;
  border-bottom-width: 2px;
  text-decoration: none;
  background-color: transparent;
  color: var(--bg-color-1);
}

.btn.secondary-btn.sm::before {
  height: 2px;
  bottom: -2px;
}

.prt-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: transparent;
  -webkit-backdrop-filter: blur(0px);
          backdrop-filter: blur(0px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: 0.5s;
}

.prt-image:hover .prt-overlay {
  pointer-events: auto;
  background-color: var(--color-transparent);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.prt-icon {
  color: var(--color-primary);
  font-size: 1.1rem;
  margin: 0 0.4rem;
  background-color: var(--color-primary-light);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateY(15px);
  opacity: 0;
  transition: 0.3s;
}

.prt-icon:hover {
  background-color: var(--color-primary-light-2);
}

.prt-image:hover .prt-icon {
  opacity: 1;
  transform: translateY(0px);
  transition: 0.3s var(--i);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 11;
  pointer-events: none;
}

.modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.85);
  opacity: 0;
  transition: 0.3s;
}

.slider-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 400px));
  width: 90%;
  max-width: 900px;
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.2s;
}

.slider-wrap img {
  width: 100%;
  display: none;
  border-radius: 10px;
}

.slider-wrap img.showImage {
  display: block;
}

.navigation {
  color: var(--bg-color-2);
  cursor: pointer;
  font-size: 2rem;
  padding: 2rem;
}

.projects.open .modal {
  pointer-events: auto;
}

.projects.open .modal-overlay {
  opacity: 1;
}

.projects.open .container {
  transform: scale(0.9);
}

.projects.open .slider-wrap {
  transform: translate(-50%, -50%);
  opacity: 1;
  transition: 0.45s 0.1s;
}

/* ----- PROJECTS BOX ----- */
.project-container {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.project-box {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 30%;
  height: 250px;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 1px 8px 10px 2px var(--first-shadow-color);
  overflow: hidden;
}

.project-box > i {
  font-size: 50px;
  color: var(--color-primary);
  margin-bottom: 25px;
}

.project-box > h3 {
  color: var(--bg-color-1);
}

.project-box label {
  font-size: 15px;
  color: #777;
}

.project-box::after,
.contact-info::after {
  content: "";
  position: absolute;
  bottom: -100%;
  background: var(--color-primary);
  width: 100%;
  height: 100%;
  transition: 0.4s;
  z-index: 1;
}

.project-box:hover.project-box::after,
.contact-info:hover.contact-info::after {
  bottom: 0;
}

.project-box:hover.project-box i,
.project-box:hover.project-box > h3,
.project-box:hover.project-box > label {
  color: var(--color-light);
  z-index: 2;
}

/* ----- Project modals----- */
.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-modal.active {
  display: flex;
  opacity: 1;
}

.modal-container {
  background: var(--bg-color-2);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.project-modal.active .modal-container {
  transform: translateY(0);
}

.modal-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-color);
}

.modal-content {
  padding: 2rem;
  overflow-y: auto;
  max-height: calc(90vh - 80px);
}

.project-preview {
  margin-bottom: 2rem;
}

.modal-project-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.project-info {
  display: grid;
  gap: 2rem;
}

.project-description {
  line-height: 1.6;
}

.project-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.tech-stack span {
  padding: 0.3rem 0.8rem;
  background: var(--color-primary);
  color: white;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* Dark mode styles */
.dark-mode .modal-container {
  background: var(--bg-color-2);
}

.dark-mode .modal-header {
  border-color: var(--border-color);
}

.dark-mode .modal-title {
  color: var(--text-color);
}

/* Responsive styles */
@media (max-width: 768px) {
  .modal-container {
    width: 95%;
  }
  .project-details {
    grid-template-columns: 1fr;
  }
}
/* ----- CONTACT BOX ----- */
.contact-info {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 30px;
  width: 100%;
  height: 315px;
  background: url("../img/map.png") center center/cover;
  border-radius: 10px;
  box-shadow: 1px 8px 10px 2px var(--first-shadow-color);
  overflow: hidden;
}

.contact-info > h2 {
  color: var(--color-white);
  margin-bottom: 20px;
}

.contact-info > p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  margin-block: 5px;
}

.contact-info p > i {
  font-size: 18px;
}

.contact-info::after {
  background: var(--color-white);
}

.contact-info:hover.contact-info h2,
.contact-info:hover.contact-info p,
.contact-info:hover.contact-info i {
  color: #777;
  z-index: 2;
}

/* ----- CONTACT FORM ----- */
.contact-info-container p {
  font-size: larger;
}

.email-icon {
  height: 2.5rem;
}

.contact-text a {
  text-decoration: none;
  color: #364C62;
}

.contact-text a {
  text-decoration: none;
  color: #18272F;
  font-weight: 500;
  position: relative;
}

.contact-text a::before {
  content: "";
  background-color: var(--color-primary-light);
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 8px;
  z-index: -1;
  transition: all 0.3s ease-in-out;
}

.contact-text a:hover::before {
  bottom: 0;
  height: 100%;
}

/* Styles de base pour la section contact */
#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-height: 50vh;
  padding: 2rem 1rem;
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem auto;
  padding: 1.5rem;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  max-width: 900px;
}

.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}

.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  -o-object-fit: contain;
     object-fit: contain;
}

/* Media Queries pour le responsive */
@media screen and (max-width: 768px) {
  .contact-info-upper-container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    margin: 1rem;
    width: 90%;
  }
  .contact-info-container {
    width: 100%;
    justify-content: flex-start;
    padding: 0.5rem;
  }
  .top-header {
    padding: 0 1rem;
  }
  .top-header h1 {
    font-size: 1.8rem;
  }
  .top-header span {
    font-size: 0.9rem;
  }
}
@media screen and (max-width: 480px) {
  #contact {
    padding: 1rem 0.5rem;
  }
  .contact-info-container {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  .contact-icon {
    width: 2rem;
    height: 2rem;
  }
  .contact-text {
    font-size: 0.9rem;
  }
  .top-header h1 {
    font-size: 1.5rem;
  }
  .contact-info-upper-container {
    margin: 1rem 0.5rem;
    padding: 0.8rem;
  }
}
/* Pour les très petits écrans */
@media screen and (max-width: 320px) {
  .contact-text a {
    font-size: 0.8rem;
    word-break: break-all;
  }
  .top-header span {
    font-size: 0.8rem;
  }
}
/* Styles spécifiques pour le dark mode */
.dark-mode .contact-info-container a {
  color: #fff;
  font-weight: 600;
}

.dark-mode .contact-info-container a::before {
  background-color: var(--color-primary);
}

.dark-mode .contact-info-container a:hover {
  color: var(--color-primary-light);
}

.dark-mode .contact-info-container {
  background-color: var(--bg-color-2);
}

.dark-mode .contact-info-container .contact-icon {
  color: var(--color-primary-light);
}

/* ----- TESTIMONIALS ----- */
.section#testimonials {
  border-radius: 10px;
  padding: 4rem 0;
}

.swiper {
  background-color: var(--bg-color);
  max-width: 900px;
  height: 250px;
  margin: 4rem 0;
}

.swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.testimonial {
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
}

.client {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.client-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  -o-object-fit: contain;
     object-fit: contain;
}

.client-info h3 {
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.client-info span {
  color: var(--text-color-second);
  font-size: 0.9rem;
}

.testimonial q {
  font-style: italic;
  color: #555;
  display: block;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .swiper {
    max-width: 90%;
  }
}
/* ----- FOOTER BOX ----- */
.top-footer p {
  font-size: 25px;
  font-weight: 600;
}

.middle-footer .footer-menu {
  display: flex;
}

.footer_menu_list {
  list-style: none;
}

.footer_menu_list a {
  text-decoration: none;
  color: var(--text-color-second);
  font-weight: 500;
  margin-inline: 20px;
}

.footer-social-icons {
  display: flex;
  gap: 30px;
}

.bottom-footer {
  font-size: 14px;
  margin-top: 10px;
}

/* Style de base du bouton burger */
.nav-menu-btn {
  display: none;
  cursor: pointer;
}

.nav-menu-btn i {
  font-size: 28px;
  color: var(--color-primary);
  /* Utilise la couleur primaire par défaut */
  transition: color 0.3s ease;
}

/* ----- MEDIA QUERY == 1024px / RESPONSIVE ----- */
@media only screen and (max-width: 1024px) {
  .featured-text {
    padding: 0;
  }
  .image,
  .image img {
    width: 320px;
    height: 320px;
  }
  #profile,
  .section-container {
    display: block;
  }
  .section__pic-container {
    width: 275px;
    height: 275px;
    margin: 0 auto 2rem;
  }
  .about-containers {
    margin-top: 0;
  }
}
/* ----- MEDIA QUERY == 900px / RESPONSIVE ----- */
@media only screen and (max-width: 900px) {
  .nav-button {
    display: none;
  }
  .nav-menu.responsive {
    left: 0;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
    width: 100%;
    min-height: 450px;
    height: 90vh;
    transition: 0.3s;
  }
  .nav_menu_list {
    flex-direction: column;
    gap: 2rem;
  }
  /* Media query principale pour le responsive */
}
@media only screen and (max-width: 900px) and (max-width: 900px) {
  .nav-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-color-2);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    transition: all 0.3s ease-in-out;
    opacity: 0;
  }
  .nav-menu.responsive {
    left: 0;
    opacity: 1;
  }
  .nav_menu_list {
    flex-direction: column;
    gap: 2rem;
  }
  /* Dark mode styles */
  .dark-mode .nav-menu {
    background: rgba(30, 41, 59, 0.9);
  }
  .dark-mode .nav-menu-btn i {
    color: var(--text-color);
  }
  .dark-mode .nav-menu .nav-link {
    color: var(--text-color);
  }
  .dark-mode .active-link::after {
    background-color: var(--nav-links-color-after);
  }
}
@media only screen and (max-width: 900px) {
  .featured-box {
    flex-direction: column;
    justify-content: center;
    height: 100vh;
  }
  .featured-text {
    width: 100%;
    order: 2;
    justify-content: center;
    align-content: flex-start;
    min-height: 60vh;
  }
  .social_icons {
    margin-top: 2em;
  }
  .featured-image {
    order: 1;
    justify-content: center;
    min-height: 150px;
    width: 100%;
    margin-top: 65px;
  }
  .image,
  .image img {
    width: 150px;
    height: 150px;
  }
  .row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
  }
  .col {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .about-info,
  .contact-info {
    width: 100%;
  }
  .project-container {
    justify-content: center;
  }
  .project-box {
    width: 80%;
  }
}
/* ----- MEDIA QUERY == 540px / RESPONSIVE ----- */
@media only screen and (max-width: 540px) {
  .featured-name {
    font-size: 40px;
  }
  .project-box {
    width: 100%;
  }
  .form-inputs {
    flex-direction: column;
  }
  .input-field {
    width: 100%;
  }
  .section__pic-container {
    width: auto;
    height: 46vw;
    justify-content: center;
  }
  .about-containers {
    flex-wrap: wrap;
  }
}/*# sourceMappingURL=style.css.map */