/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* VARIABLES */
:root {
  --bg-gradient-start: #011627;
  --bg-gradient-end: #2E294E;
  --accent-red: #F71735;
  --accent-mint: #41EAD4;
  --text-white: #FFFFFF;
  --text-light: #E1E1E1;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --form-bg: rgba(25, 25, 55, 0.9);
}

/* BASE STYLES */
body {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
  color: var(--text-light);
  min-height: 100vh;
  line-height: 1.6;
  padding-top: 5rem;
}
.policy-section h1{
    text-align: center;
}
.policy-section h2{
    text-align: left !important;
}
.policy-section h2::after{
    left: 0 !important;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--text-white);
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 4rem;
  height: 3px;
  background: var(--accent-red);
  transform: translateX(-50%);
}

h3 {
  font-size: 1.5rem;
}

a {
  color: var(--accent-mint);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-red);
}

p {
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--accent-red);
  color: var(--text-white);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 0 10px var(--accent-red);
}

.btn:hover {
  background: #e01530;
  transform: translateY(-2px);
  box-shadow: 0 0 15px var(--accent-red);
  color: var(--text-white);
}

.text-center {
  text-align: center;
}

.accent-text {
  color: var(--accent-mint);
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(1, 22, 39, 0.95);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  padding: 0.5rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-left: 0.5rem;
}

.logo svg {
  width: 28px;
  height: 28px;
}

/* NAVIGATION */
.nav-checkbox {
  display: none;
}

.nav-toggle {
  display: none;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 1.5rem;
}

.nav-link {
  color: var(--text-white);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-mint);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* HERO SECTION */
.hero {
  height: calc(100vh - 5rem);
  display: flex;
  align-items: center;
  justify-content: center; /* Centrer le contenu horizontalement */
  position: relative;
  overflow: hidden;
}

.hero-bg {
  background-image: linear-gradient(rgba(1, 22, 39, 0.75), rgba(46, 41, 78, 0.85)), url('../img/NELGWT.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero .container {
  display: flex;
  justify-content: center; /* Centrer le contenu horizontalement */
  align-items: center; /* Centrer le contenu verticalement */
  height: 100%;
  text-align: center; /* Centrer le texte */
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  background-color: rgba(1, 22, 39, 0.6); /* Fond semi-transparent pour la lisibilité */
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px); /* Effet de flou derrière le contenu */
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ABOUT SECTION */
.about-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 20px var(--shadow-color);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image img:hover {
  transform: scale(1.02);
}

/* SERVICES SECTION */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: rgba(15, 35, 60, 0.8);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--shadow-color);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--accent-mint);
  margin-bottom: 1.5rem;
}

.service-title {
  margin-bottom: 1rem;
}

/* WHY US SECTION */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  text-align: center;
  padding: 0;
  background: rgba(15, 35, 60, 0.8);
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow-color);
}

.feature-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-item:hover .feature-image img {
  transform: scale(1.05);
}

.feature-icon {
  font-size: 2rem;
  color: var(--accent-red);
  margin-bottom: 1rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
}

.feature-title {
  margin-bottom: 0.5rem;
  padding: 0 1.5rem;
}

.feature-item p {
  padding: 0 1.5rem 1.5rem;
}

@media (max-width: 768px) {
  .feature-image {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .feature-image {
    height: 140px;
  }
}

/* TESTIMONIALS SECTION */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: rgba(15, 35, 60, 0.8);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px var(--shadow-color);
  position: relative;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

.testimonial-author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author-name {
  font-weight: 600;
}

.testimonial-author-title {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* FAQ SECTION */
.faq-container {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  margin-bottom: 1rem;
}

.faq-question {
  background: rgba(15, 35, 60, 0.8);
  padding: 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-mint);
}

.faq-checkbox {
  display: none;
}

.faq-checkbox:checked + .faq-question::after {
  content: '−';
}

.faq-answer {
  background: rgba(10, 25, 45, 0.8);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  border-radius: 0 0 6px 6px;
  transition: all 0.3s ease;
}

.faq-checkbox:checked + .faq-question + .faq-answer {
  padding: 1.5rem;
  max-height: 500px;
}

/* CONTACT SECTION */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--accent-mint);
  margin-right: 1rem;
  min-width: 2rem;
}

.form-container {
  background: var(--form-bg);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 20px var(--shadow-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: var(--text-white);
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-mint);
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.radio-option {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.radio-input {
  margin-right: 0.5rem;
  cursor: pointer;
}

.checkbox-group {
  margin-top: 0.5rem;
}

.checkbox-option {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  cursor: pointer;
}

.checkbox-input {
  margin-right: 0.8rem;
  margin-top: 0.3rem;
  cursor: pointer;
}

.checkbox-text {
  font-size: 0.9rem;
}

/* FOOTER */
.footer {
  background: rgba(1, 15, 30, 0.9);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-about h3 {
  margin-bottom: 1.5rem;
}

.footer-links h3 {
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-contact h3 {
  margin-bottom: 1.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  margin-right: 1rem;
  color: var(--accent-mint);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
}

/* COOKIE POPUP */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(15, 35, 60, 0.95);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  display: none;
  max-width: 500px;
  margin: 0 auto;
}

.cookie-content {
  margin-bottom: 1.5rem;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.cookie-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

.cookie-accept {
  background: var(--accent-mint);
  color: #000;
  border: none;
}

/* RESPONSIVE STYLES */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 4rem;
  }
  
  .header {
    padding: 0.4rem 0;
  }
  
  .logo-text {
    font-size: 1rem;
  }
  
  .logo svg {
    width: 26px;
    height: 26px;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .hero {
    height: auto;
    min-height: calc(100vh - 4rem);
  }
  
  .hero-content {
    padding: 1.5rem;
    max-width: 90%;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-image {
    order: -1;
  }
  
  .nav-menu {
    position: fixed;
    top: 4rem;
    left: 0;
    width: 100%;
    background: rgba(1, 22, 39, 0.98);
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    z-index: 999;
  }
  
  .nav-item {
    margin: 0;
    width: 100%;
    text-align: center;
  }
  
  .nav-link {
    display: block;
    padding: 1rem 0;
  }
  
  .nav-toggle {
    display: block;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
  }
  
  .nav-checkbox:checked ~ .nav-menu {
    max-height: 300px;
    padding: 0.5rem 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 3.5rem;
  }
  .services-grid , .testimonials-grid{
    grid-template-columns: 1fr;
  }
  .header {
    padding: 0.3rem 0;
  }
  
  .logo-text {
    font-size: 0.9rem;
  }
  
  .logo svg {
    width: 24px;
    height: 24px;
  }
  
  .nav-link {
    font-size: 0.8rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  .radio-group {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .form-container {
    padding: 1.5rem;
  }
} 