/* Base styles */
:root {
  --dark-blue: #0A1F44;
  --neon-orange: #FF6B35;
  --turquoise: #2EC4B6;
  --light-gray: #E5E5E5;
  --white: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--dark-blue);
  color: var(--light-gray);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--neon-orange);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--turquoise);
}

/* Header & Navigation */
header {
  background-color: rgba(10, 31, 68, 0.95);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

header.scrolled {
  padding: 0.5rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--neon-orange);
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--white);
  transition: all 0.3s ease;
}

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;

}

nav a {
  color: var(--light-gray);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

nav a:hover {
  background-color: rgba(255, 107, 53, 0.2);
  color: var(--neon-orange);
}

/* Mobile navigation */
#menu-toggle {
  display: none;
}

/* Button styles */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background-color: var(--neon-orange);
  color: var(--white);
  border-radius: 30px;
  border: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn:hover {
  background-color: var(--turquoise);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(46, 196, 182, 0.4);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--turquoise);
}

.btn-secondary:hover {
  background-color: var(--neon-orange);
}

/* Section styles */
section {
  padding: 5rem 0;
}

.section-title {
    color: var(--turquoise);
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--neon-orange), var(--turquoise));
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Hero section */
.hero {
  background-image: url('./img/1TYBw.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 31, 68, 0.7);
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 800px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--light-gray);
}

/* About section */
.about {
  background: linear-gradient(135deg, #0A1F44 0%, #0d2d5e 100%);
}

.about-content {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-advantages {
  flex: 1;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
  margin-right: 1rem;
  color: var(--neon-orange);
  font-size: 1.5rem;
}

/* Services section */
.services {
  background-color: var(--white);
  color: var(--dark-blue);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background: linear-gradient(135deg, var(--dark-blue) 0%, #122c5e 100%);
  color: var(--light-gray);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 1.5rem;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Why choose us section */
.why-us {
  background-color: var(--dark-blue);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 3rem;
  color: var(--turquoise);
  margin-bottom: 1rem;
}

/* Testimonials section */
.testimonials {
  background-color: var(--white);
  color: var(--dark-blue);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: linear-gradient(135deg, var(--dark-blue) 0%, #122c5e 100%);
  color: var(--light-gray);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-image {
  height: 150px;
  overflow: hidden;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  padding: 1.5rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--turquoise);
}

/* Case studies section */
.case-studies {
  background-color: var(--dark-blue);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.case-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.case-image {
  height: 200px;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-content {
  padding: 1.5rem;
}

.case-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.case-result {
  color: var(--neon-orange);
  font-weight: 600;
  margin-top: 1rem;
}

/* Form section */
.contact-form {
  background: linear-gradient(135deg, rgba(10, 31, 68, 0.8) 0%, rgba(18, 44, 94, 0.8) 100%);
  padding: 2rem;
  border-radius: 10px;
  max-width: 600px;
  margin: 8rem auto 5rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-title {
  text-align: center;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1rem;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-control:focus {
  outline: none;
  border-color: var(--turquoise);
  box-shadow: 0 0 0 2px rgba(46, 196, 182, 0.3);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFFFFF' d='M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

select.form-control option {
  background-color: #FFFFFF;
  color: var(--dark-blue);
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-container input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 5px;
}

.form-button {
  width: 100%;
  padding: 1rem;
}

/* FAQ section */
.faq {
  background-color: var(--white);
  color: var(--dark-blue);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 1rem;
  cursor: pointer;
  display: block;
  font-weight: 600;
  position: relative;
  padding-right: 40px;
}

.faq-question:after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-checkbox {
  display: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: var(--white);
  transition: max-height 0.3s ease;
  padding: 0 1rem;
}

.faq-checkbox:checked ~ .faq-answer {
  max-height: 500px;
  padding: 1rem;
}

.faq-checkbox:checked ~ .faq-question:after {
  transform: translateY(-50%) rotate(45deg);
}

/* Contact section */
.contact {
  background-color: var(--dark-blue);
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  color: var(--neon-orange);
  font-size: 1.5rem;
}

.contact-map {
  width: 100%;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
}

.contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer */
footer {
  background-color: #071333;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  position: relative;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer-column h3:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--neon-orange);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(10, 31, 68, 0.95);
  padding: 1.5rem;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.cookie-popup.show {
  transform: translateY(0);
}

.cookie-content {
  flex: 1;
}

.cookie-actions {
  margin-left: 2rem;
}

/* Merci page */
.merci-container {
  max-width: 600px;
  margin: 8rem auto 5rem;
  padding: 3rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(10, 31, 68, 0.8) 0%, rgba(18, 44, 94, 0.8) 100%);
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.merci-icon {
  font-size: 4rem;
  color: var(--turquoise);
  margin-bottom: 1.5rem;
}

.merci-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Policy pages */
.policy-container {
  max-width: 900px;
  margin: 7rem auto 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-title {
  margin-bottom: 2rem;
  text-align: center;
}

.policy-section {
  margin-bottom: 2rem;
}

.policy-section h3 {
  margin-bottom: 1rem;
  color: var(--turquoise);
}

/* Media queries */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--dark-blue);
    transition: left 0.3s ease;
    z-index: 999;
    padding-top: 70px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
  }
  
  nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 2rem;
    gap: 0;
  }
  
  nav li {
    width: 100%;
    margin: 0.5rem 0;
  }
  
  nav a {
    display: block;
    width: 100%;
    padding: 0.5rem;
  }
  
  #menu-toggle:checked ~ nav {
    left: 0;
  }
  
  #menu-toggle:checked ~ .menu-toggle .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  #menu-toggle:checked ~ .menu-toggle .bar:nth-child(2) {
    opacity: 0;
  }
  
  #menu-toggle:checked ~ .menu-toggle .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .cookie-popup {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-actions {
    margin: 1rem 0 0;
  }
}

@media (max-width: 576px) {
  .header-container {
    padding: 1rem;
  }
  
  .container {
    width: 95%;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}
