@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



/* ===== VARIABLES CSS ===== */
:root {
  --violet: #3b254e;
  --violet-dark: #2a1839;
  --blue: #0057ff;
  --red: #cc2e2e;
  --black: #111111;
  --white: #ffffff;
  --gray: #f5f5f7;
  --green: #28a745;
  --orange: #fd7e14;
}

/* ===== BASE STYLES ===== */
body {
  font-family: 'Inter', sans-serif;
  color: var(--black);
  background-color: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

/* ===== HEADER ===== */
header {
  width: 90%;
  max-height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 40px;
  margin: 0 auto;
  padding: 0 30px;
  position: absolute;
  top: 20px;
  right: 0;
  left: 0;
  z-index: 1003;
}

.logo img {
  width: 120px;
  height: 100px;
  background: transparent;
}

header ul {
  display: flex;
  gap: 25px;
}

header ul li {
  list-style: none;
  text-transform: capitalize;
}

header ul a {
  position: relative;
  color: #000;
  text-decoration: none;
  font-size: 15px;
  padding-bottom: 5px;
  font-weight: 600;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

header ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--red);
  transition: width 0.6s ease;
}

header ul li a:hover::after {
  width: 100%;
}

/* ===== HERO SECTION ===== */
.hero-tl {
  position: relative;
  margin-top: 0;
  padding-top: calc(140px + 1.5cm);
  padding-bottom: 120px;
  min-height: 80vh;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.45), rgba(17, 17, 17, 0.55)),
    url('images/camion.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: skyMove 20s sease-in-out infinite;
}

.hero-tl h1 {
  font-family: 'Laviossa', serif;
}

.hero-tl .gradien {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(0, 87, 255, 0.35), transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 87, 255, 0.2), rgba(59, 130, 246, 0.2));
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 25px rgba(0, 87, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ===== BUTTONS ===== */
.btn-blue {
  background: linear-gradient(135deg, var(--blue), #3b82f6);
  color: var(--white);
  border-radius: 50px;
  padding: 14px 32px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-blue::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-blue:hover::before {
  left: 100%;
}

.btn-blue:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 87, 255, 0.4);
  color: var(--white);
}

.btn-red {
  background: linear-gradient(135deg, var(--red), #ef4444);
  color: var(--white);
  border-radius: 50px;
  padding: 14px 32px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-red::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-red:hover::before {
  left: 100%;
}

.btn-red:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 35px rgba(204, 46, 46, 0.4);
  color: var(--white);
}

.btn-outline-blue {
  border: 2px solid var(--blue);
  color: var(--blue);
  background: transparent;
  border-radius: 25px;
  padding: 8px 20px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline-blue:hover {
  background-color: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.services-section {
  background: var(--white);
}

.why-section {
  background: var(--gray);
}

.process-section {
  background: #fff;
}

.mission-section {
  background: var(--gray);
}

.cta-final {
  background: linear-gradient(135deg, var(--violet), var(--black));
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-radius: 24px;
  padding: 35px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(59, 37, 78, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 87, 255, 0.05), transparent);
  transition: left 0.6s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0, 87, 255, 0.15);
  border-color: rgba(0, 87, 255, 0.2);
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-card ul li {
  padding: 0.25rem 0;
  color: var(--text-light);
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.service-card ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: bold;
}

.premium-card {
  border: 2px solid transparent;
  background: linear-gradient(145deg, #ffffff, #f0f7ff) padding-box,
              linear-gradient(135deg, var(--blue), #3b82f6, var(--red)) border-box;
  position: relative;
}

.premium-card::after {
  content: 'PREMIUM';
  position: absolute;
  top: 15px;
  right: -10px;
  background: linear-gradient(135deg, var(--blue), #3b82f6);
  color: white;
  padding: 8px 25px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  transform: rotate(15deg);
  box-shadow: 0 4px 15px rgba(0, 87, 255, 0.3);
}

.icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 87, 255, 0.1), rgba(0, 87, 255, 0.05));
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  position: relative;
  transition: all 0.3s ease;
}

.icon-wrap::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--blue), #3b82f6);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.service-card:hover .icon-wrap::after {
  opacity: 1;
}

.service-card:hover .icon-wrap {
  background: white;
  transform: scale(1.1) rotate(5deg);
}

/* ===== WHY CARDS ===== */
.why-card {
  background: #fff;
  border-radius: 18px;
  padding: 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
}

.why-card i {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 15px;
}

.why-card a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

.why-card a:hover {
  color: var(--red);
}

/* ===== TIMELINE ===== */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  position: relative;
}

.timeline-step {
  background: #fff;
  border-radius: 18px;
  padding: 25px;
  border: 1px solid rgba(59, 37, 78, 0.1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.step-number {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: var(--violet);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 15px;
}

/* ===== TYPOGRAPHY ===== */
.subtitle {
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
}

.text-violet {
  color: var(--violet) !important;
}

.text-blue {
  color: var(--blue) !important;
}

.text-red {
  color: var(--red) !important;
}

/* ===== FORMS ===== */
.form-control {
  border-radius: 10px;
  border: 2px solid #e9ecef;
  padding: 12px 15px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 0.2rem rgba(0, 87, 255, 0.25);
}

.form-label {
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}

/* ===== FOOTER ===== */
.footer {
  background: #fff;
  color: #000;
  padding: 60px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-contact a {
  text-decoration: none;
  color: red;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 400;
}

.footer-contact .mail-info {
  display: flex;
  flex-direction: column;
  margin: 20px 0;
  line-height: 30px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-about,
.footer-links,
.footer-contact {
  flex: 1;
  min-width: 250px;
}

.footer h3, .footer h4 {
  font-size: 20px;
  color: #000;
  margin-bottom: 15px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 700;
}

.footer p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 500;
}

.footer-links ul li a:hover {
  color: #ff6f61;
}

.footer-socials a {
  color: #ccc;
  font-size: 20px;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  margin-top: 30px;
  padding-top: 20px;
  font-size: 13px;
  color: #777;
}

/* ====== NEWSLETTER SECTION ====== */
.newsletter {
  text-align: center;
  padding: 30px 20px;
  background: #222;
  margin-top: 30px;
}

.newsletter h4 {
  color: #fff;
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.newsletter-form input {
  padding: 12px 15px;
  border: none;
  border-radius: 4px;
  outline: none;
  width: 250px;
  max-width: 100%;
}

.newsletter-form button {
  padding: 12px 20px;
  border: none;
  background: #ff6f61;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #ff3c2f;
}


/* ===== BACK TO TOP ===== */
.btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--red);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1050;
  box-shadow: 0 4px 15px rgba(204, 46, 46, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.btn-back-to-top:hover {
  background-color: var(--violet);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(59, 37, 78, 0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  header {
    padding: 10px 20px;
    width: 95%;
    border-radius: 40px 40px 0 0;
  }

  .logo img {
    width: 80px;
    height: 70px;
  }

  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    padding: 15px;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .menu.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    display: flex !important;
  }

  .menu li {
    margin: 5px 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-tl {
    text-align: center;
    padding-top: calc(120px + 1.5cm);
    min-height: 70vh;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 20px;
  }

  .btn-blue,
  .btn-red {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  header {
    padding: 8px 15px;
    width: 98%;
    top: 10px;
  }

  .logo img {
    width: 60px;
    height: 50px;
  }

  .hero-tl {
    padding-top: calc(100px + 1cm);
  }

  .footer-container {
    flex-direction: column;
    text-align: left;
  }
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 2px;
  transition: 0.4s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

@media (min-width: 992px) {
  .hamburger {
    display: none !important;
  }
}