/* ================= HERO SLIDER ================= */
.hero-slider-section {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: relative;
  width: 100%;
  min-height: 550px;
  display: none;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  transition: all 1s ease;
}

.hero-slide.active {
  display: flex;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(31, 41, 55, 0.7);
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
}

.hero-slide-content h1,
.hero-slide-content h2 {
  font-size: 48px;
  margin-bottom: 15px;
}

.hero-slide-content p {
  font-size: 18px;
  margin-bottom: 25px;
}

.hero-slide-content .btn {
  padding: 14px 30px;
  background: #ea7e28;
  color: white;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.hero-slide-content .btn:hover {
  background: #d66f1f;
}

/* ================= SLIDER CONTROLS INSIDE SLIDER ================= */
.hero-slider .slider-prev,
.hero-slider .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  padding: 10px 18px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
  z-index: 3;
}

.hero-slider .slider-prev {
  left: 20px;
}

.hero-slider .slider-next {
  right: 20px;
}

.hero-slider .slider-prev:hover,
.hero-slider .slider-next:hover {
  background: #ea7e28;
  color: white;
}
/* ================= POPUP CONTACT FORM ================= */
.popup-form {
  display: none; /* hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;  /* centers horizontally */
  align-items: center;      /* centers vertically */
  z-index: 9999;            /* above everything else */
  padding: 20px;
}

.popup-form.active {
  display: flex; /* show popup when active class is added */
}

.popup-form .popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 100%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  animation: popupFade 0.3s ease forwards;
}

@keyframes popupFade {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: color 0.3s;
}

.popup-close:hover {
  color: #ea7e28;
}

.popup-form input,
.popup-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

.popup-form button {
  width: 100%;
  padding: 14px;
  background: #ea7e28;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.popup-form button:hover {
  background: #d66f1f;
}
