*,
*::before,
*::after {
  box-sizing: border-box;
}

.video-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  margin-bottom: 40px;
  z-index: 1;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.50); /* Zoom out */
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  object-position: center right;
  z-index: 0;
  pointer-events: none;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.3);  */
  z-index: 2;
}

/* Animated Message Container */
.animated-message-container {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1800px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.message-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 180px;

  font-size: 100px !important;
  margin-top: -95px !important;
  margin-bottom: 100px !important;
}

.message {
  position: absolute;
  width: 100%;
  padding: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.message.active {
  opacity: 1;
  transform: translateY(0);
}

.message h3 {
  color: white;
  font-size: 3.8rem;
  margin-bottom: 15px;
  /* text-shadow: 0 2px 10px rgba(0,0,0,0.3); */
  background: linear-gradient(90deg, #8b5cf6, #4f46e5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: bolder !important;
}

.capitalize {
  text-transform: capitalize;
}

.message p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.8rem;
  margin-bottom: 0;
  font-weight: 300;
}

/* Indicators */
.message-indicators {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #4f46e5;
  transform: scale(1.2);
}

/* Animation Effects */
@keyframes textGlow {
  0% {
    text-shadow: 0 0 10px rgba(79, 70, 229, 0);
  }
  50% {
    text-shadow: 0 0 15px rgba(79, 70, 229, 0.4);
  }
  100% {
    text-shadow: 0 0 10px rgba(79, 70, 229, 0);
  }
}
/* 
.message.active h3 {
    /* animation: textGlow 3s ease-in-out infinite; */
/* }  */

/* Responsive */
@media (max-width: 992px) {
  .message-wrapper {
    height: 160px;
  }

  .message h3 {
    font-size: 1.8rem;
  }

  .message p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .video-background {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
  }

  .video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%)scale(0.5);
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    pointer-events: none;
  }

  .message-wrapper {
    width: 90%;
    height: 160px;
  }

  .message h3 {
    font-size: 1.5rem;
  }
}


/* Welcome Section Styling */
.welcome-note-section {
  background-color: #1a1a2e !important;
  padding: 20px 20px;
  background: #1a1a2e;
  position: relative;
  margin-top: -50px !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.welcome-card {
  background: #1a1a2e;
  border-radius: 16px;
  padding: 60px;
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(79, 70, 229, 0.1);
  margin: 0 auto;
  max-width: 1000px;
}

.welcome-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #4f46e5, #8b5cf6);
}

.welcome-header {
  margin-bottom: 40px;
  position: relative;
}

.welcome-icon {
  width: 60px;
  height: 60px;
  background: rgba(79, 70, 229, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.welcome-icon svg {
  width: 24px;
  height: 24px;
  color: #4f46e5;
}

.welcome-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.brand-gradient {
  background: linear-gradient(135deg, #4f46e5, #8b5cf6) !important;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.welcome-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #4f46e5, #8b5cf6);
  margin: 0 auto;
  border-radius: 2px;
}

.welcome-content {
  max-width: 700px;
  margin: 0 auto 40px;
}

.welcome-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #6c757d;
  margin-bottom: 20px;
  font-weight: bolder;
}

.welcome-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5, #8b5cf6);
  color: white;
  border: none;
  box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
}

.btn-outline {
  border: 2px solid #4f46e5;
  color: #4f46e5;
  background: transparent;
}

.btn-outline:hover {
  background: #ffffff;
  transform: translateY(-3px);
}

.btn svg {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .welcome-card {
    padding: 40px 20px;
  }

  .welcome-header h2 {
    font-size: 2rem;
  }

  .welcome-actions {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
  }
}
