/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Variables */
:root {
  --primary-color: #0072B2;
  --primary-dark: #00558c;
  --primary-light: #3e97d1;
  --secondary-color: #444444;
  --accent-color: #D55E00;
  --success-color: #664433;
  --revendeur-color: #2E8B57;
  --revendeur-light: #5CBA6F;
  --text-color: #222222;
  --light-text: #555555;
  --bg-color: #f0f4f8;
  --secondary-bg: #e0eaf0;
  --light-bg: #f7fafd;
  --dark-bg: #1a1f2b;
  --dark-card: #252b38;
  --dark-secondary: #2a3142;
  --light-card: #ffffff;
  --border-radius: 8px;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --button-color: #444444;
  --button-text: #ffde00;
}

/* Reset and Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  transition: var(--transition);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

a {
  text-decoration: none;
  color: #359ad4;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: 40px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  position: relative;
  display: inline-block;
}

.underline {
  height: 4px;
  width: 70px;
  background: var(--primary-color);
  margin: 0 auto;
  margin-top: 10px;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.logo a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

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

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

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

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

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

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

.language-selector select {
  border: 1px solid #ddd;
  padding: 5px 10px;
  border-radius: 4px;
  background-color: white;
  cursor: pointer;
}

.dark-mode-toggle {
  background-color: #111;
  color: #fff;
  border: none;
  padding: 8px 10px;
  font-size: 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

body.dark-mode .dark-mode-toggle {
  background-color: #121212;
  color: #111;
}

.dark-mode-toggle:hover {
  background-color: #ffcc00;
  color: #111;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 114, 178, 0.9), rgba(0, 114, 178, 0.8));
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 140px 0 100px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: linear-gradient(to top left, var(--bg-color) 50%, transparent 50%);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
}

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

.primary-btn:hover {
  background-color: var(--primary-dark);
}

.offers-btn {
  background-color: var(--accent-color);
  color: white;
  border: 2px solid var(--accent-color);
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(213, 94, 0, 0.3);
  animation: pulse 2s infinite;
}

.offers-btn:hover {
  background-color: #c05200;
  border-color: #c05200;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(213, 94, 0, 0.4);
}

/* About Section */
.about {
  background-color: var(--light-bg);
  position: relative;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.about-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 50px;
}

.feature-item {
  text-align: center;
  flex: 1 1 300px;
  padding: 30px;
  border-radius: var(--border-radius);
  background-color: var(--light-card);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-item:hover {
  animation: floating 1.5s ease-in-out infinite;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-item i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-item h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Services Section */
.services {
  background-color: var(--bg-color);
  position: relative;
}

.services .about-text {
  margin-bottom: 30px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.service-item {
  background-color: var(--light-card);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  animation: floating 1.5s ease-in-out infinite;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(0, 114, 178, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

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

.service-item h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Offers Section */
.offers {
  background-color: var(--light-bg);
  position: relative;
}

.reseller-cta {
  background-color: #eefaf0;
  border-left: 4px solid #33aa66;
  padding: 10px 15px;
  margin-top: 10px;
  font-weight: 500;
  color: #2b2b2b;
  border-radius: 4px;
}

.section-subtitle {
  margin-bottom: 50px;
}

.pricing-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.pricing-card {
  background: var(--light-card);
  border-radius: var(--border-radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  width: 260px;
  transition: transform 0.3s ease;
}
.pricing-card {
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.pricing-card .price span {
  display: block;
  font-size: 0.9rem;
  color: var(--light-text);
}

/* Dark mode support */
body.dark-mode .pricing-card {
  background-color: var(--dark-card);
  color: white;
}

body.dark-mode .pricing-card h3 {
  color: white;
}

body.dark-mode .pricing-card .price span {
  color: #ccc;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: stretch;
}

@media screen and (min-width: 1024px) {
  .offers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.offer-card {
  background-color: var(--light-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.offer-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.offer-header {
  background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
  padding: 30px;
  text-align: center;
  color: white;
}

#atlas-pro .offer-header {
  background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
}

#dino .offer-header {
  background: linear-gradient(45deg, var(--accent-color), #E67E22);
}

#strong .offer-header {
  background: linear-gradient(45deg, var(--success-color), #8B5A2B);
}

#revendeur .offer-header {
  background: linear-gradient(45deg, var(--revendeur-color), var(--revendeur-light));
  padding-top: 40px;
  padding-bottom: 40px;
}

.offer-header h3 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 10px;
}

.offer-price {
  margin-top: 15px;
}

.offer-price span {
  font-size: 0.9rem;
  opacity: 0.8;
}

.offer-price p {
  font-size: 2.5rem;
  font-weight: 700;
}

.offer-price p span {
  font-size: 1rem;
}

.offer-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.offer-content ul {
  width: 100%;
  margin-bottom: 20px;
  flex-grow: 1;
}

.offer-content ul li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-left: 25px;
}

.offer-content ul li:before {
  content: "✓";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 10px;
}

.offer-btn {
  background-color: var(--button-color);
  color: var(--button-text);
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  margin-top: auto;
  padding: 12px 15px;
  display: block;
  text-align: center;
  font-weight: 500;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.offer-btn:hover {
  background-color: #333333;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Apps Section */
.apps-section {
  background-color: var(--bg-color);
  padding: 80px 0;
}

.apps-description {
  text-align: center;
  margin-top: 20px;
  line-height: 1.6;
}

.apps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.app-logo {
  text-align: center;
  min-width: 100px;
}

.app-logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.app-logo-img {
  width: 180px;
  height: 110px;
  object-fit: contain;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.app-logo p {
  margin-top: 10px;
  font-weight: 500;
}

/* FAQ Section - OPTIMIZED FOR BETTER DISPLAY */
.faq-section {
  background-color: var(--secondary-bg);
  padding: 80px 0;
  position: relative;
}

.faq-section .container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
}

.faq-content {
  display: none;
}

.faq-content.active {
  display: block;
}

.faq-category {
  margin-bottom: 40px;
}

.category-title {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  padding: 15px 20px;
  background: linear-gradient(135deg, rgba(0, 114, 178, 0.1), rgba(0, 114, 178, 0.05));
  border-left: 4px solid var(--primary-color);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-item {
  background-color: var(--light-card);
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(0, 114, 178, 0.1);
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.faq-question {
  padding: 20px 25px;
  background-color: var(--light-card);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  user-select: none;
  border-bottom: 1px solid transparent;
}

.faq-question:hover {
  background-color: rgba(0, 114, 178, 0.05);
}

.faq-item.active .faq-question {
  background-color: rgba(0, 114, 178, 0.1);
  border-bottom-color: rgba(0, 114, 178, 0.2);
}

.faq-question h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--secondary-color);
  font-weight: 600;
  line-height: 1.4;
  flex: 1;
  padding-right: 15px;
}

.faq-question .toggle {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: bold;
  transition: var(--transition);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 114, 178, 0.1);
  flex-shrink: 0;
}

.faq-item.active .faq-question .toggle {
  transform: rotate(45deg);
  background-color: var(--accent-color);
  color: white;
}

/* OPTIMIZED FAQ ANSWER STYLES FOR BETTER DISPLAY */
.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background-color: #f9fafb;
}

.faq-item.active .faq-answer {
  padding: 20px 25px;
  max-height: 200px; /* Reduced max height to prevent overflow like in the image */
  border-top: 1px solid rgba(0, 114, 178, 0.1);
  overflow-y: auto; /* Add scroll if content exceeds max height */
}

.faq-answer p {
  margin-bottom: 8px;
  line-height: 1.5;
  color: var(--text-color);
  font-size: 0.9rem; /* Slightly smaller font for better fit */
}

.faq-answer ul, .faq-answer ol {
  margin: 8px 0;
  padding-left: 18px;
}

.faq-answer ul {
  list-style-type: none;
}

.faq-answer ul li {
  position: relative;
  margin-bottom: 6px;
  line-height: 1.4;
  padding-left: 12px;
  font-size: 0.85rem; /* Smaller font for list items */
}

.faq-answer ul li:before {
  content: "•";
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.faq-answer ol {
  list-style-type: decimal;
}

.faq-answer ol li {
  margin-bottom: 6px;
  line-height: 1.4;
  font-size: 0.85rem;
}

.faq-answer strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Contact Section */
.contact {
  background-color: var(--bg-color);
  position: relative;
}
.contact-form {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* 🌙 Dark mode : adapte le fond de la carte du formulaire */
body.dark-mode .contact-form {
  background: #1e1e1e;
  color: var(--text-color, #fff);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

/* Champs de saisie */
body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
  background-color: #2b2b2b;
  color: #ffffff;
  border: 1px solid #444;
}

/* Placeholder dans les champs */
body.dark-mode .contact-form input::placeholder,
body.dark-mode .contact-form textarea::placeholder {
  color: #bbb;
}

/* Labels au-dessus des champs */
body.dark-mode .contact-form label {
  color: #ddd;
}

.contact-form .form-group {
  margin-bottom: 25px;
}

.contact-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--secondary-color);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact-info-full {
  display: block;
  background-color: var(--primary-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 50px;
  color: white;
  text-align: center;
}

.contact-info-full .contact-info {
  max-width: 800px;
  margin: 0 auto;
}

.contact-info-full .contact-item {
  justify-content: center;
  margin-bottom: 30px;
}

.contact-info-full .social-media {
  justify-content: center;
  margin-top: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 40px;
  background-color: var(--primary-color);
  color: white;
}

.contact-info h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 30px;
  position: relative;
}

.contact-info h3:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: white;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-item i {
  font-size: 1.5rem;
  color: white;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item p {
  font-size: 1.1rem;
}

.social-media {
  display: flex;
  gap: 15px;
  margin-top: 40px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--accent-color);
  transform: translateY(-5px);
}

.contact h2 small {
  font-size: 0.6em;
  display: block;
  font-weight: normal;
  margin-top: 5px;
  color: #666;
  font-family: 'Poppins', Arial, sans-serif;
}

/* Footer */
footer {
  background-color: var(--bg-color, #f9f9f9);
  color: var(--text-color, #000);
  padding: 50px 20px;
}

body.dark-mode footer {
  background-color: var(--dark-bg, #1a1a1a);
  color: var(--text-color, #fff);
}


/* ✅ Sous-menu déroulant dans le footer (même style que la navbar desktop) */
.footer-links .dropdown {
  position: relative;
}

.footer-links .dropdown-menu {
  display: none;
  position: absolute;
  background-color: var(--navbar-bg);
  box-shadow: var(--shadow);
  top: 100%;
  left: 0;
  min-width: 160px;
  z-index: 999;
  padding: 10px 0;
  border-radius: 8px;
}

.footer-links .dropdown-toggle {
  display: block;
  padding: 5px 20px;
  color: var(--link-color);
  cursor: pointer;
  font-size: inherit;
  text-decoration: none;
}

.footer-links .dropdown:hover .dropdown-menu {
  display: block;
}

.footer-links .dropdown-menu li {
  display: block;
  width: 100%;
  padding: 5px 20px;
}

.footer-links .dropdown-menu li a {
  color: var(--link-color);
  text-decoration: none;
  display: block;
  width: 100%;
}

.footer-links .dropdown-toggle {
  display: block;
  padding: 12px 22px;
  color: var(--link-color);
  background-color: var(--button-bg, transparent);
  border-radius: 8px;
  font-size: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.footer-links .dropdown-toggle {
  display: inline-block;
  padding: 12px 20px;
  background-color: var(--light-card); /* Couleur claire par défaut */
  border-radius: 10px;
  font-weight: 500;
  color: var(--link-color, #333);
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow); /* même ombre que les <a> */
  transition: background-color 0.3s;
}

.footer-links .dropdown-toggle:hover {
  background-color: #007bcb;
  color: #fff;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-logo h3 {
  color: #242424;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.footer-logo p {
  opacity: 1 !important;
}

.footer-links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  list-style: none;
  margin: 0;
  row-gap: 15px; /* en plus de gap: 10px */
}

.footer-links li {
  margin: 0;
}

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

.footer-links a {
  display: block;
  width: 100%;
  background-color: var(--light-card);
  padding: 12px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--text-color);
  text-align: center;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.footer-links a:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);

}

/* Animations */
@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 10px rgba(213, 94, 0, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(213, 94, 0, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 10px rgba(213, 94, 0, 0.4);
  }
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 15px;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  .nav-links {
    margin: 15px 0;
  }
  
  .hero {
    padding: 100px 0 80px;
    margin-top: 120px;
    min-height: calc(100vh - 120px);
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .about-features {
    flex-direction: column;
  }
  
  .offers-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* 🌞 Mode clair - tous écrans */
body:not(.dark-mode) .footer-copy {
  color: #333;
  text-align: center;
  font-size: 14px;
  margin-top: 20px;
}

/* 🌙 Mode sombre - tous écrans */
body.dark-mode .footer-copy {
  color: #fafafa;
  text-align: center;
  font-size: 14px;
  margin-top: 20px;
}

  .footer-content {
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-links ul {
    justify-content: center;
  }

  /* Mobile FAQ adjustments */
  .faq-item.active .faq-answer {
    max-height: 150px; /* Even smaller for mobile */
    padding: 15px 20px;
  }
  
  .faq-question {
    padding: 15px 20px;
  }

  .faq-answer p {
    font-size: 0.85rem;
  }

  .faq-answer ul li,
  .faq-answer ol li {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 480px) {
  .nav-links {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .nav-controls {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero {
    padding: 80px 0 60px;
    margin-top: 150px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  section {
    padding: 50px 0;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Extra small mobile FAQ adjustments */
  .faq-item.active .faq-answer {
    max-height: 120px; /* Very compact for small screens */
    padding: 12px 15px;
  }
  
  .faq-question {
    padding: 12px 15px;
  }
  
  .faq-question h4 {
    font-size: 1rem;
  }

  .faq-answer p {
    font-size: 0.8rem;
  }

  .faq-answer ul li,
  .faq-answer ol li {
    font-size: 0.75rem;
  }
}

/* Dark Mode Styles */
body.dark-mode {
  background-color: var(--dark-bg);
  color: white;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3 {
  color: white;
}

body.dark-mode .navbar {
  background-color: var(--dark-secondary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .logo a {
  color: var(--primary-light);
}

body.dark-mode .nav-links a {
  color: #fff;
}

body.dark-mode .dark-mode-toggle {
  color: #fff !important; /* couleur blanche en dark mode */
}

body.dark-mode .language-selector select {
  background-color: var(--dark-secondary);
  color: #fff;
  border-color: #555;
}

body.dark-mode .about,
body.dark-mode .offers,
body.dark-mode .apps-section,
body.dark-mode .faq-section {
  background-color: var(--dark-bg);
}

body.dark-mode .services {
  background-color: var(--dark-secondary);
}

body.dark-mode .feature-item,
body.dark-mode .service-item,
body.dark-mode .offer-card,
body.dark-mode .faq-item {
  background-color: var(--dark-card);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .service-icon {
  background-color: rgba(0, 114, 178, 0.2);
}

body.dark-mode .offer-content ul li {
  border-bottom-color: #333;
}

body.dark-mode .contact-info-full {
  background-color: var(--primary-dark);
}

body.dark-mode .contact h2 small {
  color: #aaa;
}

/* 🌙 Contact - Adaptation en mode sombre */
body.dark-mode #contact.contact {
  background-color: var(--dark-bg);
  color: var(--text-color);
}

/* 🌙 Titre h2 dans la section contact */
body.dark-mode #contact .section-header h2 {
  color: #fafafa;
}

/* 🌙 Champs input & textarea */
body.dark-mode #contact.contact input,
body.dark-mode #contact.contact textarea {
  background-color: #1e1e1e;
  color: #ffffff;
  border: 1px solid #444;
}

/* 🌙 Placeholder dans les champs */
body.dark-mode #contact.contact input::placeholder,
body.dark-mode #contact.contact textarea::placeholder {
  color: #aaa;
}

body.dark-mode .hero::after {
  background: linear-gradient(to top left, var(--dark-bg) 50%, transparent 50%);
}

body.dark-mode .faq-question {
  background-color: var(--dark-card);
  color: white;
  border-bottom-color: #444;
}

body.dark-mode .faq-question:hover {
  background-color: var(--dark-secondary);
}

body.dark-mode .faq-item.active .faq-question {
  background-color: rgba(0, 114, 178, 0.2);
  border-bottom-color: rgba(0, 114, 178, 0.3);
}

body.dark-mode .faq-question h4 {
  color: white;
}

body.dark-mode .faq-answer {
  background-color: var(--dark-secondary);
  color: #e0e0e0;
}

body.dark-mode .faq-item.active .faq-answer {
  border-top-color: #555;
}

body.dark-mode .faq-answer p {
  color: #e0e0e0;
}

body.dark-mode .faq-answer ul li {
  color: #e0e0e0;
}

body.dark-mode .faq-answer ol li {
  color: #e0e0e0;
}

body.dark-mode .faq-answer strong {
  color: var(--primary-light);
}

body.dark-mode .faq-answer ul li:before {
  color: var(--primary-light);
}

body.dark-mode .category-title {
  color: var(--primary-light);
  background: linear-gradient(135deg, rgba(62, 151, 209, 0.2), rgba(62, 151, 209, 0.1));
  border-left-color: var(--primary-light);
}

body.dark-mode .faq-question .toggle {
  background-color: rgba(62, 151, 209, 0.2);
  color: var(--primary-light);
}

body.dark-mode .faq-item.active .faq-question .toggle {
  background-color: var(--accent-color);
  color: white;
}

/* ==================================================
   Contact-form fixes for Dark Mode:
   keep input/textarea text in black so it’s readable
   ================================================== */

body.dark-mode .contact input,
body.dark-mode .contact textarea {
  /* force user-typed text to be black */
  color: #000 !important;
}

/* adjust placeholder color so it’s not too light */
body.dark-mode .contact input::placeholder,
body.dark-mode .contact textarea::placeholder {
  color: #666;
}

/* Reviews Section */
.reviews {
  background-color: var(--secondary-bg);
  padding: 80px 0;
}
.review-slide {
  min-width: 280px; /* Ensures each card has enough space */
  box-sizing: border-box;
}

.review-intro {
  margin-top: 15px;
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 600;
  text-align: center;
  color: var(--secondary-color);
}

body.dark-mode .review-intro {
  color: #eeeeee;
}

.reviews-content {
  display: none;
}

.reviews-content.active {
  display: block;
}

.reviews-grid {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1rem; /* espacement entre les cartes */
  padding: 1rem;
}

.review-card {
  flex: 0 0 auto;
  min-width: 280px;
  max-width: 300px;
  box-sizing: border-box;
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.review-header {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-stars {
  color: var(--accent-color);
  font-size: 1.1rem;
}

.review-card p {
  font-style: italic;
  margin-bottom: 15px;
  color: var(--light-text);
}

.review-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.review-author span {
  color: var(--light-text);
  font-size: 0.8rem;
}

.reviews-cta {
  text-align: center;
  margin-top: 50px;
}

.reviews-cta p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* Dark mode styles for reviews */
body.dark-mode .review-card {
  background-color: var(--dark-card);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .review-card p {
  color: #e0e0e0;
}

body.dark-mode .review-author span {
  color: #aaa;
}
/* Avis - Défilement au survol */
.reviews-wrapper {
  overflow-x: auto;
  display: flex;
  gap: 20px;
  scroll-behavior: smooth;
  padding: 20px 0;
}
.reviews-wrapper:hover {
  animation: scrollReviews 20s linear infinite;
}
.reviews-content {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.review {
  background-color: var(--light-card);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 20px;
  min-width: 250px;
  max-width: 300px;
  flex-shrink: 0;
  font-size: 0.95rem;
}
@keyframes scrollReviews {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* Avis - Carrousel */
.carousel-wrapper {
  overflow: hidden;
  position: relative;
}
.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto; /* ✅ autorise le scroll horizontal */
  scroll-behavior: smooth;
  padding-right: 40px;
}

.carousel.active {
  display: flex;

  .scroll-hint {
  text-align: center;
  font-size: 1rem;
  font-style: italic;
  color: #bbb;
  margin-bottom: 30px;
  margin-top: 10px;
}

}
.review-card {
  background-color: var(--light-card);
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-width: 280px;
  max-width: 300px;
  text-align: center;
  flex-shrink: 0;
}
.review-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 10px;
}
.review-stars {
  color: gold;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.review-text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--light-text);
}
.review-name {
  margin-top: 10px;
  font-weight: 600;
  color: var(--text-color);
}

@keyframes scrollCarousel {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}



/* Avis - Section avec flèches */
.reviews-carousel-container {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: 1200px; /* ou selon le design */
}

.reviews-carousel {
  display: flex;
  transition: transform 0.5s cubic-bezier(.4,1,.4,1);
  gap: 20px;
  will-change: transform;
}

.carousel-container {
  overflow-x: hidden;
}

.carousel-track {
  scrollbar-width: none; /* Firefox */
}

.carousel-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.review-slide {
  flex: 0 0 300px;
  background: var(--light-card);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: var(--shadow);
  text-align: center;
  margin: 0 5px;
}

.review-slide {
  min-width: 300%;     /* You can also try 50% or 33.33% for 2–3 reviews/row */
  max-width: 300%;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.review-slide img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  font-size: 2rem;
  color: white;
  background-color: #0072B2;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.carousel-arrow.left {
  left: -20px; /* ou 10px si tu veux qu'elle soit dans le cadre */
}

.carousel-arrow.right {
  right: 2%;
}

.carousel-arrow:hover {
  background-color: #00558c;
}

.carousel-arrow.left { left: 0; }
.carousel-arrow.right { right: 0; }
.carousel-arrow:hover { background: var(--primary-dark); }

@media (max-width: 700px) {
  .review-slide { flex: 0 0 90vw; max-width: 90vw; }
  .reviews-carousel-container { max-width: 100vw; }
}

/* Carousel avis clients */
.carousel-wrapper {
  position: relative;
  margin: 40px 0;
  display: flex;
  align-items: center;
}

.carousel-container {
  overflow: hidden;
  flex-grow: 1;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 16px;
  box-sizing: border-box;
  max-width: 100%;
}

.review-slide {
  min-width: 300px;
  max-width: 300px;
  flex: 0 0 auto;
  background: var(--light-card);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: left;
}

.review-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.review-slide .stars {
  color: #ffc107;
  margin-bottom: 10px;
}

.review-slide .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 0;
}

.carousel-wrapper {
  position: relative;
  overflow-x: hidden;
  margin: 2rem auto;
  max-width: 700px;
}
.carousel-container {
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.review-slide {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 1.5rem;
  background: var(--light-card);
  color: var(--text-color);
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin: 0 0.5rem;
}

.review-slide {
  flex: 0 0 100%;
  background: var(--light-card);
  margin: 0 10px;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 90%;
}
.review-slide p {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1rem;
}
.review-slide .stars {
  font-size: 1.2rem;
  color: gold;
  margin-bottom: 0.5rem;
}
.review-slide img.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}
.review-slide span {
  font-weight: 500;
}
.review-slide {
  flex: 0 0 100%;
  max-width: 320px;
  margin: 0 10px;
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--light-card);
  color: var(--text-color);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}
.review-slide:hover {
  transform: translateY(-5px);
}
.review-slide img.avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 15px;
}
.review-slide .stars {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.review-slide p {
  font-style: italic;
  margin-bottom: 10px;
}
.review-slide span {
  font-weight: bold;
  color: var(--secondary-color);
}
.carousel-track {
  display: flex;
  gap: 20px;
  padding: 1rem;
  transition: transform 0.4s ease;
}
.carousel-wrapper {
  max-width: 1000px;
  margin: 2rem auto;
  position: relative;
  overflow: hidden;
}
.carousel-container {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  gap: 20px;
}
.carousel-container {
  overflow: hidden;
  width: 100%;
}
.carousel-wrapper {
  position: relative;
  max-width: 1100px;
  margin: auto;
}
.review-slide {
  flex: 0 0 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
  background: var(--light-card);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.review-slide:hover {
  transform: translateY(-5px);
}
.review-slide img.avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 10px;
}
.review-slide .stars {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.review-slide p {
  font-style: italic;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}
.review-slide span {
  font-weight: bold;
  color: var(--secondary-color);

}
@media screen and (max-width: 900px) {
  .review-slide {
    flex: 0 0 80%;
    max-width: 80%;
  
}

}
@media screen and (max-width: 768px) {
  .review-slide {
    min-width: 90%;
    max-width: 90%;
  }
}

section#contact .email-label {
  all: unset;
  color: #212121;
  font-weight: 500 !important;
  display: inline;
  .section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: bold;
}
section.contact-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  margin-top: 2px;
  color: #000 !important; /* Force noir */
}

body.dark-mode .contact-title {
  color: #000 !important;
}

}
body.dark-mode .contact .email-label {
  color: #fafafa !important;
}

.submit-wrapper {
  text-align: center;
  margin-top: 1em; /* optional: adds spacing above the button */
}

.submit-btn {
  display: inline-block;
}

.submit-btn {
  background-color: #0072B2;       /* Nice blue */
  color: white;                    /* White text */
  padding: 12px 24px;              /* Bigger padding */
  font-size: 16px;                 /* Slightly larger font */
  font-weight: 600;                /* Bold text */
  border: none;                    /* Remove border */
  border-radius: 6px;              /* Rounded corners */
  cursor: pointer;                 /* Pointer on hover */
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #005a8c;       /* Darker blue on hover */
}

@media (min-width: 768px) {
  .how-to-use-section {
    grid-template-columns: 1fr 1fr;
  }
}

.step-card {
  background-color: var(--light-card);
  padding: 20px 25px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  font-size: 1rem;
  line-height: 1.6;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-color);
  transition: background-color 0.3s ease;
}

body.dark-mode .step-card {
  background-color: var(--dark-card);
  color: white;
}

  /* HOW TO USE – Two-column layout with cards */
  .how-to-use-section {
    display: flex;
    flex-direction: column;
    align-items: center; /* ✅ centre les enfants horizontalement */
    gap: 15px;
    max-width: 600px;     /* ✅ largeur max contrôlée */
    margin: 0 auto;       /* ✅ centre le bloc lui-même */
    padding: 20px 15px;
  }

  .how-to-use-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    text-align: center;
  }

  .steps-scroll {
    width: 100%;
    max-width: 402px;    /* même que la section */
    margin: 0 auto;       /* centre le bloc horizontalement */
  }

  .step-card {
    flex: 1 1 320px;              /* ✅ largeur mini pour responsive */
    max-width: 400px;
    background-color: var(--light-card);
    padding: 20px 25px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    font-size: 1rem;
    line-height: 1.6;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text-color);
    transition: background-color 0.3s ease;
  }

  .step-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
  }

body.dark-mode .step-card {
  background-color: var(--dark-card);
  color: white;
}

@media (max-width: 767px) {
  .step-card {
    flex: 1 1 100%;
  }
}

.submit-review-cta {
  text-align: center;
  margin-top: 40px;
}

.submit-review-cta .submit-btn {
  background-color: #0072B2;
  color: white;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.submit-review-cta .submit-btn:hover {
  background-color: #005a8c;
}

.carousel-container::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 60px;
  height: 100%;
  background: linear-gradient(to left, rgba(0,0,0,0.4), transparent);
  pointer-events: none;
}

.carousel-container::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.4), transparent);
  pointer-events: none;
}

.offer-description {
  padding: 0 20px;
  margin-top: -10px;
  color: var(--text-color); /* ou une couleur claire si dark mode */
  font-size: 0.95rem;
  text-align: left;
}
.offer-description ul {
  list-style: none;
  padding-left: 0;
}
.offer-description li::before {
  content: "✓ ";
  color: #00bfff;
  margin-right: 5px;
}

.checklist {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.check-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-color);
}

.check-item::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color); /* or replace with a color like #00cc66 */
  font-weight: bold;
}

body.dark-mode .check-item {
  color: #f0f0f0; /* or white: #ffffff */
}

.pricing-card.highlight-orange {
  background: linear-gradient(to bottom right, #f57c00, #ff9800);
  color: white;
}

.pricing-card.highlight-red {
  background: linear-gradient(to bottom right, #ff6f61, #ff8a80); /* coral to light red */
  color: white;
}

.pricing-card.highlight-orange .btn,
.pricing-card.highlight-red .btn {
  background-color: #ffffff;
  color: #000;
  font-weight: bold;
}

.highlight-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.9rem; /* Try 2rem if you want it even larger */
  color: gold;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.pricing-card.highlight-orange,
.pricing-card.highlight-red {
  animation: bounce 1.2s ease-in-out infinite;
}


.pricing-card .badge {
  background: #ffc107;
  color: #000;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  position: absolute;
  top: 10px;
  right: 10px;
}

.highlight-icon:not(.pricing-card .highlight-icon) {
  display: none !important;
}

.support-section {
  margin-bottom: 25px;     /* espace entre chaque bloc */
  padding: 10px;           /* un peu d'air intérieur */
  overflow: hidden;        /* évite les marges fusionnées */
}

.support-section h2 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.support-section h2:first-child {
  margin-top: 0;           /* supprime l'espace en haut du bloc */
}

/* Support Page – Navigation & Footer Styling */
.support-nav ul,
.support-footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.support-nav ul li a,
.support-footer-links li a {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary-color);
  transition: color 0.3s ease;
  text-decoration: none;
}

.support-nav ul li a:hover,
.support-footer-links li a:hover {
  color: var(--primary-dark);
}

.support-nav ul li a.active {
  border-bottom: 2px solid var(--primary-color);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* Format 16:9 */
  height: 0;
  overflow: hidden;
  margin: 1.5rem 0;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-section h3 {
  text-align: center;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.video-title {
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-color);
}

.video-wrapper {
  margin-bottom: 30px;
}

.video-title {
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
  color: #333;
}

.app-link {
  text-align: center;
  margin: 10px;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-link:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.app-logo {
  width: 60px;
  height: auto;
  display: block;
  margin: 0 auto 8px;
}

/* Correction couleur texte apps-section en dark mode */
body.dark-mode .apps-section .app-logo p {
  color: #ffffff !important;
  font-weight: 500;
  margin-top: 0.5rem;
}

/* Forcer une couleur plus claire pour ce paragraphe en dark mode */
body.dark-mode .apps-section p {
  color: #cccccc !important; /* ou #dddddd pour un peu plus clair */
}
/* Fix spacing between footer tagline and menu */
.footer .container > p {
  margin-bottom: 25px;
}

.footer-logo p {
  margin-bottom: 20px;
}

/* ===================
   ✅ General responsive adjustments
=================== */
:root {
  --link-color: #333;
  --navbar-bg: #fff;
  --light-card: #fff;
  --text-color: #333;
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Dark mode overrides */
body.dark-mode {
  --link-color: #fff;
  --navbar-bg: #111;
  --light-card: #222;
  --text-color: #fff;
}

/* Navbar background */
.navbar {
  background-color: var(--navbar-bg) !important;
}

/* General nav-link style */
.nav-links a {
  display: block;
  width: 100%;
  background-color: var(--light-card);
  padding: 12px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--text-color);
  text-align: center;
  margin-bottom: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  body, html {
    width: 100%;
    overflow-x: hidden;
  }

  .navbar {
    position: static !important;
    height: auto;
    flex-direction: column;
    align-items: center;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    padding: 10px 0;
    width: 100%;
    background: none;
  }

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

  .nav-controls {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 10px;
    padding-bottom: 10px;
  }

  .hero {
    padding: 100px 20px 80px;
    text-align: center;
    margin: 0 !important;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .about-text {
    padding: 0 20px;
    text-align: justify;
  }

  .container,
  .section-header,
  .about-content {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  /* Horizontal scroll for "how to use" */
  .how-steps {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }

  .how-steps .step {
    min-width: 250px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}

/* ✅ Sous-menu déroulant dans la navbar desktop */
.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  background-color: var(--navbar-bg);
  box-shadow: var(--shadow);
  top: 100%;
  left: 0;
  min-width: 160px;
  z-index: 999;
  padding: 10px 0;
  border-radius: 8px;
}

.nav-links .dropdown-menu li {
  display: block;
  width: 100%;
  padding: 5px 20px;
}

.nav-links .dropdown-menu li a {
  color: var(--link-color);
  text-decoration: none;
  display: block;
  width: 100%;
}

.nav-links .dropdown-menu li a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Affichage au survol */
.nav-links .dropdown:hover .dropdown-menu {
  display: block;
}

.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background-color: var(--accent-color, #e50914);
    color: white;
    font-size: 20px;
    padding: 12px;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
    transition: all 0.3s ease;
  }

  .scroll-to-top:hover {
    background-color: var(--accent-hover, #c40810);
  }

  .scroll-to-top i {
    vertical-align: middle;
  }

  /* Optionnel : affichage prioritaire pour mobile si nécessaire */
  @media (max-width: 600px) {
    .scroll-to-top {
      font-size: 18px;
      padding: 10px;
      bottom: 20px;
      right: 15px;
    }
  }

  @media (max-width: 768px) {
  .scroll-to-top {
    left: 20px;
    right: auto;
  }
}
