/* Horizontal green line on top */
.full-width-line {
  border: none;
  height: 2px;
  background-color: #20ca53; /* bright green */
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 0 56px 0;
}

/* SPECIFICATION SECTION */
.specification-section {
  display: flex;
  gap: 96px;
  max-width: 100%;
  padding:  60px 0;
  color: #0b0c2b; /* dark blue-black */
  font-family: "Hanken Grotesk", sans-serif;
  background-color: #fff;
  align-items: flex-start;
  min-height: 540px;
}

.location-container {
  width: 100%;
  /* Initial state: Hidden for animation */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.3s ease, transform 0.3s ease;  /* Faster */
}

.location-container.animate {
  /* Triggered state: Fade in and slide up */
  opacity: 1;
  transform: translateY(0);
}

/* Horizontal line */
.horizontal-line {
  /* Initial state: Hidden */
  opacity: 0;
  transition: opacity 0.4s ease 0.1s;  /* Faster */
}

.location-container.animate .horizontal-line {
  /* Triggered state: Fade in */
  opacity: 1;
}

/* LEFT SIDE */
.spec-left {
  flex: 1;
}

.spec-label {
  color: #20ca53; /* green */
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  font-weight: 600;
  /* Initial state: Hidden */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;  /* Faster */
}

.location-container.animate .spec-label {
  /* Triggered state: Slide up and fade in */
  opacity: 1;
  transform: translateY(0);
}

.spec-heading {
  color: #0a0e67; /* navy-blue */
  font-size: 32px;
  font-weight: 100;
  line-height: 38px;
  margin-bottom: 40px;
  text-transform: uppercase;
  /* Initial state: Hidden */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease 0.3s, transform 0.4s ease 0.3s;  /* Faster */
}

.location-container.animate .spec-heading {
  /* Triggered state: Slide up and fade in */
  opacity: 1;
  transform: translateY(0);
}

/* Grid of spec items */
.spec-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
}

.spec-item {
  display: flex;
  
  align-items: center;
  background: #3b4253; /* dark gray-blue */
  border-radius: 8px;
  padding: 24px 20px;
  gap: 20px;
  color: white;
  transition: none;  
  cursor: pointer;
  box-shadow: none;
  /* Initial state: Hidden */
  opacity: 0;
  transform: translateY(30px);
}

.location-container.animate .spec-item:nth-child(1) { transition-delay: 0.4s; }  /* Faster delays */
.location-container.animate .spec-item:nth-child(2) { transition-delay: 0.5s; }
.location-container.animate .spec-item:nth-child(3) { transition-delay: 0.6s; }
.location-container.animate .spec-item:nth-child(4) { transition-delay: 0.7s; }
.location-container.animate .spec-item:nth-child(5) { transition-delay: 0.8s; }
.location-container.animate .spec-item:nth-child(6) { transition-delay: 0.9s; }
.location-container.animate .spec-item:nth-child(7) { transition-delay: 1.0s; }
.location-container.animate .spec-item:nth-child(8) { transition-delay: 1.1s; }
.location-container.animate .spec-item:nth-child(9) { transition-delay: 1.2s; }
.location-container.animate .spec-item:nth-child(10) { transition-delay: 1.3s; }

.location-container.animate .spec-item {
  /* Triggered state: Slide up and fade in */
  opacity: 1;
  transform: translateY(0);
}

/* Icon inside specification */
.spec-item img {
  height: 28px;
  width: 28px;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(46%) sepia(84%) saturate(367%) hue-rotate(81deg) brightness(97%) contrast(86%);
  transition: filter 0.4s ease;
}

/* Spec text */
.spec-item p {
  color: white;
  font-size: 13px;
  font-weight: 100;
  line-height: 18px;
  margin: 0;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.1s ease;
}

/* Hover effect: white-gray gradient background + black text */
.spec-item:hover {
  background: linear-gradient(160deg, #343434 0%, #00067b 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.15);
}

.spec-item:hover p {
  color: #ffffff;
}

.spec-item:hover img {
  filter: none; /* normal colored icons */
}

/* RIGHT SIDE (SLIDER) */
.spec-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: -webkit-fill-available;
}

.slider {
  position: relative;
  width: 100%;
  max-width: 620px;
  height: -webkit-fill-available;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgb(0 0 0 / 0.2);
  /* Initial state: Hidden */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease 1.4s, transform 0.4s ease 1.4s;  /* Faster */
}

.location-container.animate .slider {
  /* Triggered state: Slide up and fade in */
  opacity: 1;
  transform: translateY(0);
}

.slider img.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  border-radius: 14px;
}

.slider img.slide.active {
  opacity: 1;
  position: relative;
}

/* SLIDER DOTS */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dots button.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7);
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.slider-dots button.dot.active {
  background-color: #20ca53;
  border-color: #20ca53;
}

/* RESPONSIVE */

/* Medium screens */
@media (max-width: 992px) {
  .specification-section {
    gap: 30px;
    padding: 0 40px 60px;
  }
  .spec-left {
    flex: 1 1 60%;
  }
  .spec-right {
    flex: 1 1 40%;
    max-width: 20px;
    min-height: 480px;
    justify-content: center;
  }
}

/* Small screens */
@media (max-width: 768px) {
  .specification-section {
    flex-direction: column;
    align-items: center;
    margin: 60px 0;
    padding: 0 30px 40px;
  }

  .spec-left,
  .spec-right {
    flex: 1 1 100%;
    max-width: 100%;
    min-height: auto;
    width: 100%;
  }

  .spec-left {
    margin-bottom: 36px;
    text-align: center;
  }

  .spec-heading {
    font-size: 28px;
    line-height: 34px;
  }

  .spec-items {
    grid-template-columns: 1fr;
    gap: 16px 0;
  }

  .spec-item {
    justify-content: center;
    text-align: center;
  }

  .spec-item img {
    margin-bottom: 10px;
    filter: none;
    height: 32px;
    width: 32px;
  }

  .spec-item p {
    font-size: 14px;
  }

  .slider {
    max-width: 100%;
    height: 280px;
  }

  .slider img.slide {
    border-radius: 10px;
  }
  /* Disable animations on mobile */
  .location-container,
  .horizontal-line,
  .spec-label,
  .spec-heading,
  .spec-item,
  .slider {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .spec-heading {
    font-size: 24px;
  }
}