/* ===============================
   GENERAL STYLES
=================================*/
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  background: #f4f4f4;
  color: #333;
}

/* ===============================
   HEADER
=================================*/
header {
  background-color: #E2574C;
  color: white;
  display: flex;
  justify-content: space-between; /* ✅ keep logo left, button right */
  align-items: center;
  padding: 15px 30px;
  flex-wrap: nowrap; /* ✅ prevent wrapping */
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  height: 60px;
}

.logo h1 {
  font-size: 24px;
  line-height: 1;
  margin: 0;
}

.btn-get-started {
  background-color: #FDD017;
  color: #363636;
  padding: 15px 25px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap; /* ✅ prevent text wrap */
}

.btn-get-started:hover {
  background-color: #FFF380;
  transform: scale(1.05);
}

/* ===============================
   CONTAINER
=================================*/
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background: #f4f4f4;
}

/* ===============================
   IMAGE SLIDER 
=================================*/
.image-slider {
  width: 100%;
  max-width: 1200px;
  height: 500px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: whitesmoke;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  margin-top: 0;
}

.slides {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: start;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
  display: block;
}

.slides::-webkit-scrollbar {
  display: none;
}

/* ===============================
   ARROWS
=================================*/
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  padding: 8px 14px;
  cursor: pointer;
  user-select: none;
  transition: 0.3s;
}

.arrow:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.arrow.left {
  left: 15px;
}

.arrow.right {
  right: 15px;
}

/* ===============================
   RESPONSIVE DESIGN
=================================*/

/* For tablets (≤1024px) */
@media (max-width: 1024px) {
  header {
    padding: 12px 25px;
  }

  .logo img {
    height: 50px;
  }

  .logo h1 {
    font-size: 22px;
  }

  .btn-get-started {
    padding: 12px 20px;
    font-size: 15px;
  }

  .image-slider {
    max-width: 95%;
  }
}

/* For phones (≤768px) */
@media (max-width: 768px) {
  header {
    flex-direction: row; /* ✅ keep them on one line */
    justify-content: space-between; /* ✅ spread apart */
    align-items: center;
    padding: 12px 20px;
    gap: 10px;
  }

  .logo {
    margin: 0;
    gap: 6px;
  }

  .logo img {
    height: 45px;
  }

  .logo h1 {
    font-size: 18px;
  }

  .btn-get-started {
    padding: 10px 15px;
    font-size: 14px;
  }

  .container {
    padding: 20px;
  }

  .slide img {
    border-radius: 10px;
  }
}

/* For small phones (≤480px) */
@media (max-width: 480px) {
  header {
    padding: 10px 15px;
  }

  .logo h1 {
    font-size: 16px;
  }

  .btn-get-started {
    font-size: 13px;
    padding: 8px 12px;
  }

  .image-slider {
    max-width: 100%;
    border-radius: 10px;
  }

  .slide img {
    border-radius: 8px;
  }
}
