body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fb;
}

/* Hero section */
.hero-section {
  background: url('/assets/images/industrial-bg.jpg') center/cover no-repeat;
  height: 80vh;
  position: relative;
}
.hero-section .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}
.hero-section .content {
  position: relative;
  z-index: 2;
}

/* Navbar */
.navbar {
  transition: all 0.3s ease-in-out;
}
.navbar.scrolled {
  background-color: rgba(0,0,0,0.95) !important;
}

/* Cards */
.product-card {
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}
.product-card img {
  height: 230px;
  object-fit: cover;
}

/* Footer */
footer {
  background-color: #002b5c;
  color: #eee;
  padding: 40px 0;
}
footer a {
  color: #f0ad4e;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }
  .hero-section p {
    font-size: 1rem;
  }
}
/* Slider produit */
.slider-img {
  height: 480px;
  object-fit: cover;
  filter: brightness(80%);
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.45);
  padding: 20px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

.carousel-caption h5 {
  font-weight: 600;
  font-size: 1.8rem;
  color: #f0ad4e;
}

.carousel-caption p {
  color: #fff;
  font-size: 1rem;
}
/* LOGIN PAGE */
.login-card {
  animation: fadeInUp 0.7s ease-in-out;
  border: 1px solid #ddd;
}

@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.login-card h2 {
  color: #004080;
}

.btn-warning {
  background-color: #f0ad4e;
  border: none;
}
.btn-warning:hover {
  background-color: #e09c3e;
}

input:focus {
  border-color: #004080 !important;
  box-shadow: 0 0 5px rgba(0, 64, 128, 0.4);
}
/* REGISTER PAGE */
.register-section {
  background: linear-gradient(to bottom right, #0a2342, #004080);
  min-height: 100vh;
}

.register-box {
  animation: fadeIn 0.7s ease-in-out;
  border: 1px solid #ddd;
}

.register-box h2 {
  color: #004080;
}

.btn-warning {
  background-color: #f0ad4e;
  border: none;
  transition: all 0.3s ease;
}
.btn-warning:hover {
  background-color: #e09c3e;
  transform: scale(1.03);
}

input:focus {
  border-color: #004080 !important;
  box-shadow: 0 0 5px rgba(0, 64, 128, 0.4);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .register-box {
    margin: 0 15px;
  }
}

h1, h2, h3, h4, h5 {
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #004080;
}

