/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
html, body {
  background: #dbefff;
  color: #1e293b;
  line-height: 1.6;
}

/* ===== NAVBAR ===== */
.custom-navbar {
  background: linear-gradient(120deg, #070707, #273d5f, #000000);
  padding: 20px 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  position: relative;
}
.nav-left {
    z-index: 800;
}

.nav-left li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 10px;
  transition: all 0.3s ease;
}
.nav-left a:hover {
  background-color: rgba(200, 200, 200, 0.3);
  color: #fff;
}
.nav-left a.active {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.nav-item a:hover {
  background-color: rgba(200, 200, 200, 0.3);
  color: #fff;
}
.nav-item a.active {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.header-center {
  position: absolute;
  left: 50%; 
  transform: translateX(-50%);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.nav-right .download-btn {
  background: #fff;
  color: #2b2b2b;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}
.nav-right .download-btn:hover {
  background: #f3f1f1;
  transform: translateY(-3px) scale(1.05);
}

@media screen and (max-width: 991px) {
  .nav-left ul {
    flex-direction: column;
   background: linear-gradient(120deg, #070707, #273d5f, #000000);
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 15px 0;
  }
  .nav-left ul.show {
    display: flex;
  }

  .nav-right {
    display: none;
  }
}

/* ===== BANNIÈRE ===== */
.header-banner {
  position: relative;
  height: 400px;
  background: linear-gradient(120deg, #165ef9, #3c88fb, #3ee9ff);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0 0 15px 15px;
  margin-bottom: 50px;
  overflow: hidden;
}
.banner-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.banner-text {
  position: relative;
  color: #fff;
  font-size: 52px;
  font-weight: 700;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.4);
  text-align: center;
  z-index: 1;
}

/* ===== SECTIONS ===== */
.section-alternating {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 100px 10%;
  flex-wrap: wrap;
}
.section-alternating.reverse {
  flex-direction: row-reverse;
}
.section-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.section-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.section-text {
  flex: 1;
}
.section-text h2 {
  font-size: 34px;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 50px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
.section-text p, .section-text ul {
  font-size: 18px;
  line-height: 1.8;
  color: #1e293b;
  background: rgba(255,255,255,0.7);
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.section-text ul {
  padding-left: 40px;
}
.section-text ul li {
  margin-bottom: 15px;
  font-weight: 500;
  color: #1e40af;
}

/* ===== FOOTER ===== */
footer {
  background: hsl(224, 64%, 33%);
  color: #fff;
  text-align: center;
  padding: 35px 20px;
  font-size: 16px;
  box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
}
footer p {
  margin-bottom: 12px;
}

/* ===== contact ===== */

.contact-main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  background: linear-gradient(120deg, hsl(187, 100%, 64%), #3c88fb, #3ee9ff);
}

.contact-card {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  padding: 50px 40px;
  border-radius: 25px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255,255,255,0.15);
  text-align: center;
}

.contact-card h1 {
  color: #ffffff;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
.contact-card p {
  color: #fff;
  margin-bottom: 30px;
  line-height: 1.6;
}


.form-modern .form-group {
  position: relative;
  margin-bottom: 25px;
}

.form-modern input, .form-modern textarea {
  width: 100%;
  padding: 16px 15px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: 0.3s;
}

.form-modern input:focus, .form-modern textarea:focus {
  border-color: #fcfcfc;
  background: rgba(207, 207, 207, 0.1);
}

.form-modern label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  pointer-events: none;
  transition: 0.3s;
}

.form-modern input:focus + label,
.form-modern input:not(:placeholder-shown) + label,
.form-modern textarea:focus + label,
.form-modern textarea:not(:placeholder-shown) + label {
  top: -10px;
  font-size: 13px;
  color: #f7f6f5;
}

.form-modern button {
  width: 100%;
  padding: 16px;
  background: #ffffff;
  color: #1e293b;
  font-size: 17px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}
.form-modern button:hover {
  background: #f7f7f7;
  transform: scale(1.05);
}