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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  background-color: #ffffff;
}

/* ========== NAVIGATION ========== */
.navbar {
  background-color: #ffffff;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.container-fluid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.navbar-brand img {
  max-width: 150px;
  height: auto;
  transition: transform 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.05);
}

.navbar-collapse {
  display: flex;
  justify-content: center;
}

.navbar-nav {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 40px;
}

.nav-item .nav-link {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 16px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-item .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #FFB953, #FFA500);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-item .nav-link:hover {
  color: #FFB953;
}

.nav-item .nav-link:hover::after {
  width: 80%;
}

.auth-buttons {
  display: flex;
  align-items: center;
}

.btn {
  border-radius: 50px;
  color: white;
  background: linear-gradient(135deg, #FFB953, #FFA500);
  padding: 10px 28px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 185, 83, 0.3);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 185, 83, 0.4);
  color: white;
}

.nav-toggle {
  display: none;
}

.navbar-toggler {
  display: none;
}

/* ========== HERO SECTION ========== */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 80px;
  background-color: #ffffff;
  min-height: 85vh;
  gap: 60px;
}

.text-container {
  flex: 1;
  max-width: 600px;
  animation: fadeInLeft 1s ease;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.text-container h1 {
  color: #1a1a1a;
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
}

.text-container h2 {
  color: #1a1a1a;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.3;
}

.text-container p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 35px;
}

.text-container ul {
  list-style: none;
  padding: 0;
}

.text-container ul li {
  margin-bottom: 20px;
  padding-left: 30px;
  position: relative;
  line-height: 1.8;
  color: #555;
}

.text-container ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FFB953;
  font-weight: bold;
  font-size: 1.3rem;
}

.text-container ul li strong {
  color: #1a1a1a;
  font-weight: 600;
}

.image-container {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.phone-img {
  max-width: 500px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
  animation: floatPhone 4s ease-in-out infinite;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.scooter-img {
  position: absolute;
  bottom: -50px;
  right: -50px;
  max-width: 350px;
  height: auto;
  animation: slideIn 1.5s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========== SERVICE SECTION ========== */
.ServiceClass {
  background-color: #ffffff;
  padding: 100px 80px;
}

.ServiceClass .row.text-center {
  margin-bottom: 60px;
}

#Services {
  color: #FFB953;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

#TitreService {
  font-weight: 800;
  color: #1a1a1a;
  font-size: 2.8rem;
  margin-top: 10px;
}

.containerr {
  max-width: 1400px;
  margin: 0 auto;
  background-color: #ffffff;
}

.containerr .row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.containerr .col-4 {
  flex: 1;
  min-width: 300px;
  padding: 0;
  transition: all 0.4s ease;
}

.service-card {
  padding: 50px 35px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #f5f5f5;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(255, 185, 83, 0.2);
  border-color: #FFB953;
}

.service-img {
  width: 100%;
  max-width: 250px;
  height: 250px;
  object-fit: contain;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-img {
  transform: scale(1.05);
}

.service-card .h4 {
  font-family: 'Segoe UI', sans-serif;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1.4rem;
  margin: 20px 0 15px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-text {
  color: #666;
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 1rem;
  flex-grow: 1;
  min-height: 120px;
  display: flex;
  align-items: center;
}

.btn.inscrire {
  background: linear-gradient(135deg, #263238, #1a1f22);
  color: white;
  border-radius: 50px;
  padding: 12px 35px;
  width: auto;
  min-width: 150px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(38, 50, 56, 0.3);
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn.inscrire:hover {
  background: linear-gradient(135deg, #1a1f22, #263238);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(38, 50, 56, 0.4);
  text-decoration: none;
  color: white;
}

/* ========== IMAGE LEFT TEXT RIGHT SECTION ========== */
.image-left-text-right-white {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  padding: 100px 80px;
  gap: 60px;
}

.image-left-container {
  flex: 1;
}

.left-img {
  width: 100%;
  max-width: 550px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease;
}

.left-img:hover {
  transform: scale(1.02);
}

.text-right-container {
  flex: 1;
  max-width: 650px;
}

.text-right-container h1 {
  color: #1a1a1a;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 30px;
}

/* ========== ABOUT US SECTION ========== */
#aboutus {
  background-color: #ffffff;
}

.about-hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 80px;
  background-color: #ffffff;
  gap: 60px;
}

.about-text-container {
  flex: 1;
  max-width: 600px;
}

.about-text-container h1 {
  color: #1a1a1a;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 25px;
}

.about-text-container p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.about-image-container {
  flex: 1;
  text-align: center;
}

.about-delivery-img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* Our Story Section */
.our-story {
  padding: 100px 80px;
  background-color: #ffffff;
  text-align: center;
}

.our-story h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 25px;
}

.our-story p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  max-width: 900px;
  margin: 0 auto;
}

/* Our Values Section */
.our-values {
  padding: 100px 80px;
  text-align: center;
  background-color: #ffffff;
}

.our-values h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 60px;
}

.values-container {
  display: flex;
  justify-content: space-around;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
}

.value-item {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  padding: 40px 30px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 1px solid #f5f5f5;
}

.value-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(255, 185, 83, 0.2);
  border-color: #FFB953;
}

.value-img {
  max-width: 120px;
  height: auto;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.value-item:hover .value-img {
  transform: scale(1.1);
}

.value-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.value-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: #666;
}

/* ========== PLATS SECTION ========== */
.PlatsClass {
  padding: 100px 80px;
  background-color: #ffffff;
}

#Livraison {
  color: #FFB953;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-align: center;
}

#PlatTitre {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 60px;
  text-align: center;
}

/* Slider Styles */
.slider {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  width: 100%;
}

.phone-mockup {
  background-size: contain;
  width: 390px;
  height: 812px;
  position: relative;
  overflow: hidden;
}

.carousel {
  position: absolute;
  top: 15%;
  left: 7%;
  width: 86%;
  height: 75%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carousel .contain {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.carousel img {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.carousel img:hover {
  transform: scale(1.05);
}

.slide {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 1s ease-in-out;
}

.screenshot {
  width: 100%;
  object-fit: contain;
}

.description {
  font-size: 1rem;
  color: #555;
  margin-top: 10px;
  text-align: center;
}

@keyframes fadeSlider {
  0%, 25% { opacity: 1; }
  33%, 100% { opacity: 0; }
}

.carousel .slide:nth-child(1) {
  animation: fadeSlider 8s infinite;
}

.carousel .slide:nth-child(2) {
  animation: fadeSlider 8s infinite 2s;
}

.carousel .slide:nth-child(3) {
  animation: fadeSlider 8s infinite 4s;
}

.carousel .slide:nth-child(4) {
  animation: fadeSlider 8s infinite 6s;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 100px 80px;
  background-color: #ffffff;
  gap: 60px;
}

.image-containere {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-containere img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.form-containere {
  flex: 1;
  max-width: 500px;
}

.form-containere h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.form-containere p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555;
}

form {
  display: flex;
  align-items: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  overflow: hidden;
}

input[type="email"] {
  flex: 1;
  padding: 15px 20px;
  border: none;
  outline: none;
  font-size: 1rem;
}

.bton {
  padding: 15px 35px;
  background: linear-gradient(135deg, #FFB953, #FFA500);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.bton:hover {
  background: linear-gradient(135deg, #FFA500, #FFB953);
  transform: scale(1.02);
}

/* ========== FOOTER ========== */
footer {
  background: linear-gradient(135deg, #F7A400 0%, #FFA500 100%);
  padding: 60px 40px 20px;
  color: white;
}

footer .container {
  max-width: 1400px;
  margin: 0 auto;
}

footer .row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

footer .col-lg-2 {
  flex: 1;
  min-width: 200px;
}

footer .img {
  margin-bottom: 20px;
}

footer .img img {
  max-width: 120px;
  height: auto;
  filter: brightness(0) invert(1);
}

footer h5 {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

footer ul li {
  margin-bottom: 12px;
}

footer ul li a,
footer ul li p {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

footer ul li a:hover {
  color: white;
  padding-left: 5px;
  text-decoration: underline;
}

footer .social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

footer .social-icons a img {
  width: 35px;
  height: 35px;
  transition: transform 0.3s ease;
  filter: brightness(0) invert(1);
}

footer .social-icons a:hover img {
  transform: scale(1.2) rotate(5deg);
}

footer .text-center.p-3 {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 25px;
  margin-top: 20px;
  font-size: 0.95rem;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
  .hero-section,
  .ServiceClass,
  .image-left-text-right-white,
  .about-hero-section,
  .our-story,
  .our-values,
  .PlatsClass,
  .contact-section {
    padding: 80px 60px;
  }
}

@media (max-width: 992px) {
  .navbar-brand img {
    transform: translateX(0);
  }
  
  .auth-buttons {
    position: static;
    transform: none;
  }
  
  .hero-section,
  .ServiceClass,
  .image-left-text-right-white,
  .about-hero-section,
  .our-story,
  .our-values,
  .PlatsClass,
  .contact-section {
    padding: 60px 40px;
  }
  
  .text-container h1 {
    font-size: 2.5rem;
  }
  
  .text-container h2 {
    font-size: 2rem;
  }

  .containerr .col-4 {
    min-width: 45%;
  }

  .value-item {
    min-width: 45%;
  }
}

@media (max-width: 768px) {
  .navbar-toggler {
    display: block;
    cursor: pointer;
    padding: 10px;
    background: transparent;
    border: none;
  }

  .navbar-toggler-icon {
    display: block;
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, #FFB953, #FFA500);
    position: relative;
    transition: all 0.3s ease;
    border-radius: 2px;
  }

  .navbar-toggler-icon::before,
  .navbar-toggler-icon::after {
    content: "";
    background: linear-gradient(90deg, #FFB953, #FFA500);
    width: 28px;
    height: 3px;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
    border-radius: 2px;
  }

  .navbar-toggler-icon::before {
    top: -8px;
  }

  .navbar-toggler-icon::after {
    top: 8px;
  }

  .nav-toggle:checked + .navbar-toggler + .navbar-collapse {
    display: block;
  }

  .navbar-collapse {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .auth-buttons {
    display: none;
  }

  .d-lg-none {
    display: block;
  }

  .hero-section,
  .image-left-text-right-white,
  .about-hero-section,
  .contact-section {
    flex-direction: column;
    padding: 40px 20px;
    min-height: auto;
  }

  .ServiceClass,
  .our-story,
  .our-values,
  .PlatsClass {
    padding: 40px 20px;
  }

  .text-container,
  .image-container,
  .image-left-container,
  .text-right-container,
  .about-text-container,
  .about-image-container,
  .image-containere,
  .form-containere {
    max-width: 100%;
  }

  .text-container h1,
  .about-text-container h1 {
    font-size: 2rem;
  }

  .text-container h2,
  .text-right-container h1 {
    font-size: 1.8rem;
  }

  .phone-img {
    max-width: 300px;
  }

  .scooter-img {
    max-width: 200px;
    bottom: -30px;
    right: -30px;
  }

  .containerr .col-4,
  .value-item {
    min-width: 100%;
  }

  .service-card .h4 {
    min-height: auto;
  }

  .service-text {
    min-height: auto;
  }

  .service-img {
    max-width: 200px;
    height: 200px;
  }

  .phone-mockup {
    width: 300px;
    height: 620px;
  }

  form {
    flex-direction: column;
    border-radius: 15px;
  }

  input[type="email"] {
    width: 100%;
    border-radius: 10px 10px 0 0;
  }

  .bton {
    width: 100%;
    border-radius: 0 0 10px 10px;
  }
}

@media (max-width: 576px) {
  .text-container h1,
  .about-text-container h1 {
    font-size: 1.8rem;
  }

  .text-container h2,
  .text-right-container h1 {
    font-size: 1.6rem;
  }

  .text-container p,
  .about-text-container p,
  .our-story p {
    font-size: 1rem;
  }

  #TitreService,
  #PlatTitre,
  .our-story h2,
  .our-values h2 {
    font-size: 2rem;
  }

  .containerr .col-4,
  .value-item {
    padding: 30px 20px;
  }

  footer {
    padding: 40px 20px 15px;
  }

  footer .row {
    gap: 30px;
  }

  .phone-mockup {
    width: 250px;
    height: 520px;
  }
}

@media (min-width: 769px) {
  .d-lg-none {
    display: none;
  }
}