/* 🔄 Reset et base globale */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Poppins', sans-serif;
  background-color: #0f172a;
  color: #ffffff;
  line-height: 1.6;
}

/* 🧱 Structure de base */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
}

/* NAVIGATION PRINCIPALE */
nav {
  background: rgba(30, 58, 138, 0.9);
  padding: 15px 20px;
  border-bottom: 2px solid #facc15;
  backdrop-filter: blur(5px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

.nav-links li a:hover {
  background: #facc15;
  color: #0f172a;
  transform: scale(1.05);
}

/* BOUTON HAMBURGER (par défaut caché) */
.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* RESPONSIVE À PARTIR DE 785px */
@media screen and (max-width: 785px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #0a1d3d;
    flex-direction: column;
    padding: 1.5rem;
    z-index: 99;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin-bottom: 1rem;
  }
}
/* ✍️ Typographie */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  margin-bottom: 0.5em;
  line-height: 1.2;
}

p {
  font-size: 20px;
  margin-bottom: 1em;
  color: #ffffff;
  line-height: 1.8;
}

a {
  color: #facc15;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

a:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* 🧾 Formulaires */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
  background: #1e293b;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

input,
textarea,
select {
  padding: 12px;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: #fff;
  color: #000;
  transition: border 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #facc15;
  outline: none;
}

/* 🔘 Boutons */
button,
.btn {
  background: #facc15;
  color: #0f172a;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 5px 15px rgba(254, 195, 0, 0.3);
}

button:hover,
.btn:hover {
  background: #2563eb;
  color: white;
  transform: scale(1.05);
}

/* 🪪 Cartes génériques */
.card {
  background: #1e293b;
  color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
  text-align: center;
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0px 4px 20px rgba(255, 255, 255, 0.2);
}

.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* 🌍 Section Hero */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px;
  background: linear-gradient(to right, #1e3a8a, #0f172a);
  color: white;
  border-radius: 10px;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1 1 45%;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
}
.webestra-title {
    text-align: center;
    font-size: 8rem !important;
    color: #facc15;
    font-weight: bold;
    margin-top: -20rem;
    margin-bottom: 10rem !important;

}


.hero-image {
  flex: 1 1 45%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 1000px;
  width: 300px;
}

/* 🌟 Témoignages */
.testimonials-container {
  max-width: 800px;
  margin: 50px auto;
  padding: 40px;
  background: #1e293b;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.testimonials-container h2 {
  font-size: 2em;
  color: #facc15;
  margin-bottom: 20px;
}

/* 🎞️ Slider */
.slider {
  position: relative;
  overflow: hidden;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide {
  display: none;
  font-size: 1.2rem;
  color: white;
  padding: 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
  max-width: 80%;
  margin: auto;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  display: block;
  opacity: 1;
  animation: fade 1s ease-in-out;
}

.controls {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.controls button {
  background: #facc15;
  border: none;
  color: #0f172a;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  transition: all 0.3s ease-in-out;
}

.controls button:hover {
  background: #2563eb;
  transform: scale(1.1);
}

/* 🔄 Animation de transition */
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 🔚 Footer */
footer {
  background-color: #1e3a8a;
  color: white;
  text-align: center;
  padding: 20px 0;
  border-top: 2px solid #facc15;
  width: 100%;
  margin-top: auto;
}

footer p {
  margin: 0;
  font-size: 1rem;
  color: #ffffff;
}

/* 🍪 Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  z-index: 1000;
  max-width: 500px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cookie-banner button {
  margin: 10px;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

#acceptCookies {
  background: #4CAF50;
  color: white;
}

#declineCookies {
  background: #d9534f;
  color: white;
}

/* 📩 Contact */
.contact-me {
  text-align: center;
  padding: 60px 20px;
  background: #1e3a8a;
  color: white;
}

.contact-me h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #facc15;
}

.contact-me p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.8;
  color: #f1f5f9;
}

.contact-me .btn-primary {
  background: #facc15;
  color: #0f172a;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.contact-me .btn-primary:hover {
  background: #2563eb;
  color: white;
}

/* 🛠️ Compétences */
.skills {
  text-align: center;
  padding: 60px 20px;
  background: #1e293b;
  color: #ffffff;
}

.skills h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #facc15;
}

.skills-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.skill {
  background: white;
  color: black;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 300px;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.skill:hover {
  transform: scale(1.05);
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3);
}

.skill i {
  font-size: 40px;
  margin-bottom: 15px;
  color: #1e3a8a;
}

.skill h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #111;
}

.skill p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

/* 📈 Expérience */
.experience {
  text-align: center;
  padding: 60px 20px;
  background: #0f172a;
  color: #ffffff;
}

.experience h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #facc15;
}

.timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.timeline-item {
  background: #1e293b;
  padding: 20px;
  width: 100%;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: all 0.3s ease-in-out;
}

.timeline-item:hover {
  transform: scale(1.02);
}

.timeline-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #facc15;
}

.timeline-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
}

.date {
  display: inline-block;
  font-weight: bold;
  font-size: 0.95rem;
  color: #facc15;
  margin-bottom: 5px;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 60px 0;
  background: linear-gradient(to right, #1e3a8a, #0f172a);
  color: white;
  border-radius: 10px;
  gap: 0;
  overflow: hidden;
  flex-wrap: wrap;
}

.about-content,
.about-image {
  flex: 1 1 50%;
  padding: 40px;
  box-sizing: border-box;
}

.about-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #facc15;
}

.about-content p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.8;
}

.about-content strong {
  color: #facc15;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
  }

  .about-content,
  .about-image {
    width: 100%;
    padding: 20px;
    text-align: center;
  }

  .about-image {
    margin-top: 20px;
  }
}

.presentation {
  text-align: center;
  padding: 60px 20px;
  background: #1e293b;
  color: #ffffff;
}

.presentation h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #facc15;
}

.presentation p {
  font-size: 1.1rem;
  margin: 10px 0;
  line-height: 1.8;
}

.cta {
  text-align: center;
  padding: 60px 20px;
  background: #1e3a8a;
  color: #ffffff;
}

.cta h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #facc15;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.8;
}

.cta .btn-primary {
  background: #facc15;
  color: #0f172a;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta .btn-primary:hover {
  background: #2563eb;
  color: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  display: block;
  background: #ffffff;
  color: #000000;
  padding: 25px 20px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.25);
}

.service-card i {
  font-size: 40px;
  color: #1e3a8a;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.2rem;
  color: #111111;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 1rem;
  color: #333333;
  margin-bottom: 10px;
  line-height: 1.6;
}

.service-card .price {
  display: inline-block;
  font-weight: bold;
  font-size: 1.1rem;
  color: #facc15;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 40px;
}

.card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  padding: 2rem;
  flex: 1 1 280px;
  max-width: 400px;
  transition: transform 0.3s ease;
  text-align: left;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #1e3a8a;
  text-align: center;
}

.card .price {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  color: #facc15;
  margin-bottom: 20px;
}

/* ✅ Liste à puces avec icônes */
.check-list p {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0.5rem 0;
}

.note {
  font-size: 0.85rem;
  vertical-align: super;
  color: #888;
}

.card-full-width {
  width: 100%;
  max-width: 1100px;
  margin: 50px auto;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  padding: 2rem;
  color: #000000;
}

.asterisk-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #333;
}

.feature-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.feature-columns .column {
  flex: 1;
  min-width: 250px;
}

.feature-columns h4 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.6rem;
  color: #222;
}

.feature-columns p {
  font-size: 0.95rem;
  margin: 0.4rem 0;
  line-height: 1.5;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  margin-top: 20px;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #000;
}

.pricing-table thead {
  background-color: #f0f0f0;
  font-weight: bold;
}

.pricing-table th,
.pricing-table td {
  padding: 12px 15px;
  text-align: center;
  border: 1px solid #ddd;
}

.pricing-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}
