/* 🟠 Banner Section */
.custom-banner-section {
  position: relative;
  height: 75vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

/* 🟠 Video Background */
.custom-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* 🟠 Content Styling */
.custom-content {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 55%; /* 🔹 Lowered the content */
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 🟠 Heading */
.custom-content h1 { 
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0; /* 🔹 Increased margin to push the button down */
  color: white;
}

/* 🟠 Button Styling */
.custom-btn-apply {
  width: 190px; 
  height: 50px; 
  border-radius: 8px;
  background: linear-gradient(45deg, #ff7b00, #ffb300);
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  position: relative;
  box-shadow: 0px 4px 10px rgba(255, 140, 0, 0.5);
  border: 1px dashed #ff7b00;
  overflow: hidden;
  margin-top: 10px; /* 🔹 Lowered button slightly */
}

/* 🟠 Inner Button Content */
.custom-inner {
  z-index: 2;
  position: relative;
  color: white;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  transition: color 0.2s ease-in-out;
}

/* 🟠 Corner Fold Effect */
.custom-fold {
  z-index: 1;
  position: absolute;
  top: 0;
  right: 0;
  height: 1rem;
  width: 1rem;
  display: inline-block;
  transition: all 0.5s ease-in-out;
  background: radial-gradient(
      100% 75% at 55%,
      rgba(255, 200, 50, 0.8) 0%,
      rgba(255, 200, 50, 0) 100%
  );
  box-shadow: 0 0 3px black;
  border-bottom-left-radius: 0.5rem;
  border-top-right-radius: 8px;
}

.custom-fold::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150%;
  height: 150%;
  transform: rotate(45deg) translateX(0%) translateY(-18px);
  background-color: #e8e8e8;
  pointer-events: none;
}

/* 🟠 Hover Effects */
.custom-btn-apply:hover {
  background: linear-gradient(45deg, #ff9900, #ffcc00);
  transform: scale(1.05);
}

.custom-btn-apply:hover .custom-fold {
  margin-top: -1rem;
  margin-right: -1rem;
}

/* 🟠 Floating Dots Animation */
.custom-points-wrapper {
  overflow: hidden;
  width: 100%;
  height: 100%;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.custom-points-wrapper .custom-point {
  bottom: -10px;
  position: absolute;
  animation: custom-floating-points infinite ease-in-out;
  pointer-events: none;
  width: 2px;
  height: 2px;
  background-color: #fff;
  border-radius: 9999px;
}

@keyframes custom-floating-points {
  0% {
      transform: translateY(0);
  }
  85% {
      opacity: 0;
  }
  100% {
      transform: translateY(-55px);
      opacity: 0;
  }
}

/* 🟠 Floating Dots Position */
.custom-points-wrapper .custom-point:nth-child(1) { left: 10%; opacity: 1; animation-duration: 2.35s; animation-delay: 0.2s; }
.custom-points-wrapper .custom-point:nth-child(2) { left: 30%; opacity: 0.7; animation-duration: 2.5s; animation-delay: 0.5s; }
.custom-points-wrapper .custom-point:nth-child(3) { left: 25%; opacity: 0.8; animation-duration: 2.2s; animation-delay: 0.1s; }
.custom-points-wrapper .custom-point:nth-child(4) { left: 44%; opacity: 0.6; animation-duration: 2.05s; }
.custom-points-wrapper .custom-point:nth-child(5) { left: 50%; opacity: 1; animation-duration: 1.9s; }
.custom-points-wrapper .custom-point:nth-child(6) { left: 75%; opacity: 0.5; animation-duration: 1.5s; animation-delay: 1.5s; }
.custom-points-wrapper .custom-point:nth-child(7) { left: 88%; opacity: 0.9; animation-duration: 2.2s; animation-delay: 0.2s; }
.custom-points-wrapper .custom-point:nth-child(8) { left: 58%; opacity: 0.8; animation-duration: 2.25s; animation-delay: 0.2s; }
.custom-points-wrapper .custom-point:nth-child(9) { left: 98%; opacity: 0.6; animation-duration: 2.6s; animation-delay: 0.1s; }
.custom-points-wrapper .custom-point:nth-child(10) { left: 65%; opacity: 1; animation-duration: 2.5s; animation-delay: 0.2s; }

/* 🟠 Responsive Styles */
@media (max-width: 768px) {
  .custom-content {
    top: 57%; /* Adjusted for smaller screens */
  }
  .custom-content h1 {
    font-size: 1.8rem;
  }
  .custom-btn-apply {
    width: 160px;
    height: 45px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .custom-content {
    top: 60%; /* Adjusted further for mobile */
  }
  .custom-content h1 {
    font-size: 1.6rem;
  }
  .custom-btn-apply {
    width: 140px;
    height: 40px;
    font-size: 0.9rem;
  }
}
