:root {
  --primary-color: #faa61a;
  --primary-dark: #bf693d;
  --secondary-color: #17295c;
  --dark-blue: #0d47a1;
  --white: #FFFFFF;
  --black: #000000;
  --text-color: #1A202C;
  --light-gray: #f5f5f5;
  --medium-gray: #666666;
  --dark-gray: #333333;
  --border-gray: #e0e0e0;
  --success-color: #2ecc71;
  --warning-color: #f39c12;
  --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Sora', sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
}

#progress {
    background-color: white;
    position: fixed;
    bottom: 10px;
    right: 10px;
    height: 70px;
    width: 70px;
    border-radius: 50%;
    display: none;
    place-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 4;
}

#progressValue {
    display: block;
    height: calc(100% - 15px);
    width: calc(100% - 15px);
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: grid;
    place-items: center;
    font-size: 35px;
    color: white !important;
    font-weight: bold;
    border-radius: 50%;

}

/* Header */
header {
  background: var(--white);
  padding: 20px 0;
  box-shadow: 0 2px 5px var(--shadow-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  z-index: 1001;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-gray);
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.3s;
  padding: 5px 0;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  bottom: 0;
  left: 0;
  transition: width 0.3s;
}

.nav-links a.active {
  color: var(--primary-color);
}

.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active::after {
  width: 100%;
}


.nav-links a:hover::after {
  width: 100%;
}

/* Menu Burger pour mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 5px;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark-gray);
  border-radius: 2px;
  transition: 0.3s;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
  header nav.container {
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  header {
    padding: 16px 0;
  }

  .logo img {
    width: 170px !important;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 12px;
  }
}

@media screen and (max-width: 992px) {
  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 11px;
  }
}

@media screen and (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    gap: 30px;
    box-shadow: 0 5px 10px var(--shadow-color);
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
      opacity 0.5s ease;
    z-index: 1000;
    visibility: hidden;
  }

  .nav-links.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    font-size: 18px;
    display: block;
    padding: 15px 0;
    width: 100%;
  }

  .nav-links a:hover::after {
    width: 0;
  }

  /* Animation du menu burger */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

@media screen and (max-width: 480px) {
  .logo {
    font-size: 20px;
  }

  .container {
    padding: 0 15px;
  }

  header {
    padding: 15px 0;
  }

  .nav-links a {
    font-size: 16px;
  }
}
