/* The outer container with the background image */
.start5 {
  height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
  background: url(./landing.png) center center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
}

/* Flex container for the main card */
.starter-page5 {
  display: flex;
  justify-content: end;
  align-items: center;
  width: 100%;
  height: 100%;
}

/* Main card content (white background removed) */
.starter-content5 {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 400px;
  position: relative;
  margin-right: 5%;
}

/* Headings and paragraphs */
.starter-content5 h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.starter-content5 p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
}

/* Button with shiny text effect */
.btn-custom5 {
  color: #fff;
  background: #2b5ce7;
  padding: 14px 34px;
  letter-spacing: 1px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 20px rgba(0, 82, 212, 0.4);
}

.btn-custom5:hover,
.btn-custom5:focus {
  transform: scale(1.1);
  background: #0041ac;
  box-shadow: 0px 0px 20px rgba(0, 81, 212, 0.8);
}

.btn-custom5:active {
  transform: scale(0.9);
}

/* ===== Overlay Styles ===== */
/* Initial overlay state */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 1s ease-in-out; /* Smooth fade-out */
  z-index: 10000;
}

/* Fade-out effect */
.overlay.fade-out {
  opacity: 0;
  pointer-events: none; /* Disable interaction while fading */
}

.overlay-content {
  padding: 2rem;
  text-align: center;
}

.overlay-split-text {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
}
