/* Global styles */
:root {
  --bg-color: #2C003E;
  --accent-turquoise: #14FFD2;
  --accent-yellow: #FFD447;
  --gradient-start: #FF4D8C;
  --gradient-end: #6A00FF;
  --text-color: #E6E6E6;
  --container-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
  font-family: 'Arial', sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

section[id] {
  scroll-margin-top: 40px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-turquoise);
  text-decoration: none;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.8;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 5rem 0;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1.5rem;
  font-weight: 700;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent-turquoise);
  border-radius: 2px;
}

p {
  margin-bottom: 1.5rem;
}

button, .btn {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

button:hover, .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(44, 0, 62, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  display: flex;
  align-items: center;
}

.logo svg {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-turquoise);
  transition: width 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 0, 62, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

option {
    background-color: #4B265B;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  animation: fadeIn 1s ease-in;
}

.hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  animation: fadeIn 1s ease-in 0.2s both;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  animation: fadeIn 1s ease-in 0.4s both;
}

/* About Section */
.about {
  background-color: rgba(0, 0, 0, 0.2);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  color: var(--accent-yellow);
  margin-bottom: 10px;
}

/* Advantages Section */
.advantages {
  background-color: rgba(0, 0, 0, 0.2);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(274px, 1fr));
  gap: 20px;
}

.advantage-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s;
}

.advantage-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.advantage-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.advantage-title {
  color: var(--accent-turquoise);
  margin-bottom: 10px;
}

/* Cases Section - Pure CSS Slider */
.cases-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.slider-container {
  display: flex;
  width: 300%;
  transition: transform 0.5s ease;
}

.case-slide {
  flex: 1;
  padding: 20px;
}

.case-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  height: 100%;
}

.case-title {
  color: var(--accent-yellow);
  margin-bottom: 15px;
}

.slider-nav {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* CSS-only slider with radio buttons */
.slider-radio {
  display: none;
}

.slider-dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  display: inline-block;
}

#slide1:checked ~ .slider-nav label[for="slide1"] .slider-dot,
#slide2:checked ~ .slider-nav label[for="slide2"] .slider-dot,
#slide3:checked ~ .slider-nav label[for="slide3"] .slider-dot {
  background-color: var(--accent-turquoise);
}

#slide1:checked ~ .slider-container {
  transform: translateX(0);
}

#slide2:checked ~ .slider-container {
  transform: translateX(-33.33%);
}

#slide3:checked ~ .slider-container {
  transform: translateX(-66.66%);
}

/* Form Section */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: var(--text-color);
}

select.form-control {
  cursor: pointer;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-turquoise);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input {
  margin-right: 10px;
  margin-top: 6px;
}

.checkbox-group label {
  font-size: 0.9rem;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

/* FAQ Section */
.faq {
  background-color: rgba(0, 0, 0, 0.2);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.faq-answer {
  background-color: rgba(255, 255, 255, 0.03);
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-toggle {
  display: none;
}

.faq-toggle:checked + .faq-question::after {
  content: '−';
}

.faq-toggle:checked + .faq-question + .faq-answer {
  max-height: 500px;
  padding: 20px;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  position: relative;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-text::before {
  content: '"';
  font-size: 3rem;
  color: var(--accent-turquoise);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-name {
  font-weight: 600;
  color: var(--accent-yellow);
}

.testimonial-position {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Footer */
footer {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 5rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-column h3 {
  color: var(--accent-turquoise);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.footer-contact-icon {
  margin-right: 10px;
  flex-shrink: 0;
}

.footer-bottom {
  margin-top: 3rem;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  color: var(--text-color);
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
  transition: bottom 0.5s;
}

.cookie-consent.active {
  bottom: 0;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
}

.cookie-text {
  margin-right: 20px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Policy Pages */
.policy-container {
  max-width: 800px;
  margin: 8rem auto 5rem;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-container h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.policy-section {
  margin-bottom: 2rem;
}

.policy-section h2 {
  text-align: left;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.policy-section h2::after {
  left: 0;
  transform: none;
  width: 60px;
}

/* Thank You Page */
.merci-container {
  max-width: 600px;
  margin: 8rem auto 5rem;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.merci-container h1 {
  font-size: 4rem;
  margin-bottom: 2rem;
}

.merci-container p {
  font-size: 1.2rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CSS Slider Animation */
@keyframes slide {
  0% {
    transform: translateX(0);
  }
  33.33% {
    transform: translateX(-100%);
  }
  66.66% {
    transform: translateX(-200%);
  }
  100% {
    transform: translateX(0);
  }
}

.auto-slider .slider-container {
  animation: slide 15s infinite;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-text, .about-image {
    flex: none;
    width: 100%;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1002;
  }
  
  .hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--text-color);
    position: absolute;
    transition: all 0.3s;
  }
  
  .hamburger span:nth-child(1) {
    top: 0;
  }
  
  .hamburger span:nth-child(2) {
    top: 9px;
  }
  
  .hamburger span:nth-child(3) {
    top: 18px;
  }
  
  #menu-toggle:checked + .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  #menu-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }
  
  #menu-toggle:checked + .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--bg-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s;
    z-index: 1001;
  }
  
  #menu-toggle:checked ~ .nav-menu {
    right: 0;
  }
  
  .nav-menu li {
    margin: 20px 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .policy-container, .merci-container {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .section-padding {
    padding: 3rem 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
}
