/* Reset & base */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}
a {
  color: white;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Container */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: linear-gradient(135deg, #760808, #840b0b);
  color: white;
  padding: 80px 20px 60px;
  text-align: center;
}
header h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  font-weight: 700;
}
header p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  font-weight: 500;
}
.btn-primary {
  background: #ffffff;
  border: none;
  padding: 15px 35px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #20232a;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease;
  box-shadow: 0 4px 8px rgba(10, 10, 0, 0.4);
}
.btn-primary:hover {
  background: #e65500;
  color: white;
  box-shadow: 0 6px 12px rgba(230, 85, 0, 0.6);
}

/* Section styles */
section {
  padding: 60px 0;
  background: white;
  margin-bottom: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgb(0 0 0 / 0.05);
}
section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #840b0b;
  font-weight: 700;
}

/* About */
.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.about-text {
  flex: 1 1 300px;
  font-size: 1.1rem;
}
.about-img {
  flex: 1 1 280px;
  max-width: 280px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.about-img img {
  width: 100%;
  display: block;
}

/* Features */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}
.feature-item {
  flex: 1 1 250px;
  text-align: center;
  padding: 20px;
}
.feature-item svg {
  width: 60px;
  height: 60px;
  fill: #840b0b;
  margin-bottom: 15px;
}
.feature-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Sectors */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(140px,1fr));
  gap: 20px
;
max-width: 900px;
margin: 0 auto;
}
.sector-item {
background: #840b0b;
color: white;
font-weight: 600;
padding: 20px;
border-radius: 10px;
cursor: default;
user-select: none;
box-shadow: 0 4px 12px rgb(0 119 255 / 0.35);
transition: background 0.3s ease;
text-align: center;
}
.sector-item:hover,
.sector-item:focus {
background: #e65500;
outline: none;
}

/* How it works */
.how-list {
max-width: 600px;
margin: 0 auto;
list-style-type: disc;
padding-left: 20px;
font-size: 1.15rem;
line-height: 1.8;
}

/* Testimonials */
.testimonials {
max-width: 900px;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
gap: 30px;
justify-content: center;
}
.testimonial {
background: #d9d9d9;
padding: 25px 30px;
border-radius: 15px;
flex: 1 1 280px;
box-shadow: 0 4px 10px rgb(0 0 0 / 0.1);
}
.testimonial p {
font-style: italic;
font-size: 1.1rem;
margin-bottom: 15px;
}
.testimonial .author {
text-align: right;
font-weight: 600;
color: #840b0b;
}

/* Contact form */
.final-cta {
background: #840b0b;
color: white;
padding: 60px 20px;
border-radius: 12px;
text-align: center;
}
.final-cta h2 {
font-size: 2.2rem;
margin-bottom: 30px;
color: white;
}
.final-cta form {
max-width: 500px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 15px;
}
.final-cta input,
.final-cta select,
.final-cta textarea {
padding: 12px 15px;
border-radius: 8px;
border: none;
font-size: 1rem;
resize: vertical;
font-family: inherit;
}
.final-cta textarea {
min-height: 80px;
}
.final-cta button {
background: #ffffff;
color: black;
font-weight: 700;
border: none;
padding: 15px;
border-radius: 30px;
font-size: 1.2rem;
cursor: pointer;
box-shadow: 0 4px 10px rgba(255, 102, 0, 0.5);
transition: background 0.3s ease;
}
.final-cta button:hover {
background: #e65500;
}

/* Footer */
footer {
text-align: center;
padding: 20px 10px;
font-size: 1rem;
color: #777;
background: black;
border-top: 1px solid #ddd;
}

/* Responsive */
@media (max-width: 720px) {
.about {
flex-direction: column;
}
.features {
flex-direction: column;
gap: 30px;
}
.testimonials {
flex-direction: column;
}
}

/* Menu principal */
.main-nav {
  background-color: #20232a;
  color: white;
  font-family: sans-serif;
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
}

.nav-title {
  font-size: 1.2rem;
  font-weight: bold;
}

.nav-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}

/* Menu */
.nav-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin: 10px;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  transition: background 0.3s ease;
}

.nav-menu a:hover {
  background-color: #61dafb;
  color: #20232a;
  border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    text-align: center;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    margin: 5px 0;
  }
}
.main-nav {
  background-color: #20232a;
  padding: 0.5em 1em;
  text-align: center;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  display: inline-block;
  margin: 0 10px;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  transition: background 0.3s ease;
}

.main-nav a:hover {
  background-color: #ffffff;
  color: #20232a;
  border-radius: 5px;
}
/* Popup modale */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #ffffff;
  margin: 15% auto;
  padding: 20px 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  font-family: sans-serif;
}

.modal-content p {
  margin: 0;
  font-size: 1.1rem;
}

.close-btn {
  float: right;
  font-size: 1.4rem;
  font-weight: bold;
  color: #444;
  cursor: pointer;
}
