/* Banner Section with Video Background */
.banner-section {
  position: relative;
  min-height: 100vh;
  padding: 30px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Video Background Container */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

/* Video Styling */
.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.7);
}

/* Video Overlay (for better text readability) */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 25, 47, 0.85) 0%,
    rgba(0, 102, 204, 0.7) 50%,
    rgba(10, 25, 47, 0.85) 100%
  );
  z-index: 2;
}

/* Banner Container */
.banner-container {
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 3;
  margin: 0 auto;
}

/* Banner Content */
.banner-content {
  text-align: center;
  margin-bottom: 80px;
}
/* Enterprise Badge/Ribbon */
.enterprise-badge {
  display: inline-block;
  margin-bottom: 30px;
  position: relative;
  animation: badgeBounce 2s infinite ease-in-out;
  cursor: pointer;
}

@keyframes badgeBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.badge-content {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(
    90deg,
    rgba(0, 201, 167, 0.1),
    rgba(76, 224, 255, 0.1)
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 201, 167, 0.3);
  border-radius: 50px;
  padding: 15px 25px;
  position: relative;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.badge-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
  z-index: -1;
}

.enterprise-badge:hover .badge-content::before {
  left: 100%;
}

.enterprise-badge:hover .badge-content {
  transform: scale(1.05);
  border-color: #00c9a7;
  box-shadow: 0 10px 25px rgba(0, 201, 167, 0.3);
  background: linear-gradient(
    90deg,
    rgba(0, 201, 167, 0.15),
    rgba(76, 224, 255, 0.15)
  );
}

.badge-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #00c9a7, #4ce0ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: iconPulse 2s infinite ease-in-out;
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 201, 167, 0.4);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(0, 201, 167, 0);
  }
}

.badge-icon i {
  font-size: 18px;
  color: white;
}

.badge-text {
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(90deg, #00c9a7, #4ce0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.badge-arrow {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.badge-arrow i {
  font-size: 14px;
  color: #00c9a7;
  transition: all 0.3s ease;
}

.enterprise-badge:hover .badge-arrow {
  background: #00c9a7;
  transform: rotate(90deg);
}

.enterprise-badge:hover .badge-arrow i {
  color: white;
}

.badge-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #00c9a7, #4ce0ff);
  border-radius: 50px;
  filter: blur(15px);
  opacity: 0;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.4s ease;
}

.enterprise-badge:hover .badge-glow {
  opacity: 0.3;
}

/* Responsive Design for Badge */
@media (max-width: 768px) {
  .enterprise-badge {
    margin-bottom: 20px;
  }

  .badge-content {
    padding: 12px 20px;
    gap: 10px;
  }

  .badge-icon {
    width: 35px;
    height: 35px;
  }

  .badge-icon i {
    font-size: 16px;
  }

  .badge-text {
    font-size: 1rem;
  }

  .badge-arrow {
    width: 28px;
    height: 28px;
  }

  .badge-arrow i {
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .enterprise-badge {
    margin-bottom: 15px;
    animation: badgeBounceMobile 2s infinite ease-in-out;
  }

  @keyframes badgeBounceMobile {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-5px);
    }
  }

  .badge-content {
    padding: 10px 16px;
    gap: 8px;
  }

  .badge-icon {
    width: 30px;
    height: 30px;
  }

  .badge-icon i {
    font-size: 14px;
  }

  .badge-text {
    font-size: 0.9rem;
  }

  .badge-arrow {
    width: 25px;
    height: 25px;
    display: none; /* Hide arrow on very small screens */
  }

  .badge-arrow i {
    font-size: 11px;
  }
}

@media (max-width: 400px) {
  .badge-content {
    flex-direction: column;
    gap: 8px;
    padding: 15px 20px;
    text-align: center;
  }

  .badge-text {
    order: -1;
  }

  .badge-icon {
    order: 1;
  }

  .badge-arrow {
    display: none;
  }
}
.banner-heading {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 30px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.heading-line {
  display: block;
  margin-bottom: 10px;
}

.heading-line:first-child {
  background: linear-gradient(90deg, #00c9a7, #4ce0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.heading-line:last-child {
  color: #fff;
}

.typewriter-container {
  display: inline-block;
  position: relative;
  min-width: 300px;
  margin-left: 10px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.typewriter-text {
  color: #00c9a7;
  font-weight: 700;
  display: inline-block;
  position: relative;
}

.cursor {
  display: inline-block;
  width: 3px;
  height: 1.2em;
  background-color: #4ce0ff;
  margin-left: 2px;
  animation: cursorBlink 1s infinite;
  vertical-align: middle;
  box-shadow: 0 0 5px rgba(76, 224, 255, 0.5);
}

@keyframes cursorBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.banner-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Divider */
.divider {
  margin: 40px 0;
  display: flex;
  justify-content: center;
}

.divider-line {
  display: block;
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #00c9a7, #4ce0ff);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 0 15px rgba(0, 201, 167, 0.3);
}

.divider-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  100% {
    left: 100%;
  }
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 100px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: linear-gradient(90deg, #00c9a7, #0066cc);
  color: white;
  box-shadow: 0 8px 25px rgba(0, 201, 167, 0.3);
}

.btn-primary .arrow-animation {
  display: flex;
  margin-left: 12px;
  position: relative;
  width: 60px;
  height: 20px;
  overflow: hidden;
}

.arrow-animation i {
  position: absolute;
  font-size: 16px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-20px);
}

.arrow-animation i:nth-child(1) {
  left: 0;
  animation: arrowFlow 2s infinite;
}

.arrow-animation i:nth-child(2) {
  left: 20px;
  animation: arrowFlow 2s infinite 0.4s;
}

.arrow-animation i:nth-child(3) {
  left: 40px;
  animation: arrowFlow 2s infinite 0.8s;
}

@keyframes arrowFlow {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  20%,
  80% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(20px);
  }
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 201, 167, 0.4);
  background: linear-gradient(90deg, #00d6b3, #0077e6);
}

.btn-primary:hover .arrow-animation i {
  animation-play-state: paused;
}

.btn-primary:hover .arrow-animation i:nth-child(1) {
  left: 40px;
  opacity: 0;
}

.btn-primary:hover .arrow-animation i:nth-child(2) {
  left: 20px;
  opacity: 1;
}

.btn-primary:hover .arrow-animation i:nth-child(3) {
  left: 0;
  opacity: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary i {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #00c9a7;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 201, 167, 0.2);
}

.btn-secondary:hover i {
  transform: translateX(5px);
}

/* Banner Cards */
.banner-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-cards {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.service-cards::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 201, 167, 0.1),
    rgba(76, 224, 255, 0.1)
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.service-cards:hover::before {
  opacity: 1;
}

.service-cards:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 201, 167, 0.4);
}

.card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #00c9a7, #4ce0ff);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.5s ease;
  align-self: flex-start;
  box-shadow: 0 8px 20px rgba(0, 201, 167, 0.2);
}

.service-cards:hover .card-icon {
  transform: rotateY(360deg) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 201, 167, 0.3);
}

.card-icon i {
  font-size: 32px;
  color: white;
}

.card-titles {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
  background: linear-gradient(90deg, #00c9a7, #4ce0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: left;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.card-descriptions {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  font-size: 1.05rem;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: left;
}

.card-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.95);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  border-radius: 20px;
}

.service-cards:hover .card-hover {
  opacity: 1;
  transform: translateY(0);
}

.card-hover p {
  color: rgba(255, 255, 255, 0.9);
  /* margin-bottom: 25px; */
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: left;
}

.card-link {
  display: inline-flex;
  align-items: center;
  color: #00c9a7;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.card-link i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.card-link:hover {
  color: #4ce0ff;
}

.card-link:hover i {
  transform: translateX(5px);
}

/* Floating Animations for Cards */
.service-cards:nth-child(1) {
  animation: floatCard 6s ease-in-out infinite;
}

.service-cards:nth-child(2) {
  animation: floatCard 6s ease-in-out infinite 2s;
}

.service-cards:nth-child(3) {
  animation: floatCard 6s ease-in-out infinite 4s;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .banner-heading {
    font-size: 3.2rem;
  }

  .banner-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}

@media (max-width: 992px) {
  .banner-section {
    padding: 80px 20px;
  }

  .banner-heading {
    font-size: 2.8rem;
  }

  .typewriter-container {
    min-width: 250px;
  }

  .banner-description {
    max-width: 100%;
    font-size: 1.1rem;
  }

  .cta-buttons {
    margin-bottom: 80px;
  }

  .banner-cards {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }

  .service-cards:nth-child(3) {
    grid-column: span 2;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .banner-heading {
    font-size: 2.3rem;
  }

  .typewriter-container {
    min-width: 200px;
  }

  .banner-description {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .banner-cards {
    grid-template-columns: 1fr;
    max-width: 500px;
    gap: 30px;
  }

  .service-cards:nth-child(3) {
    grid-column: span 1;
    max-width: 100%;
  }

  .service-cards {
    padding: 35px 25px;
    min-height: 280px;
  }
}

@media (max-width: 576px) {
  .banner-section {
    padding: 60px 15px;
  }

  .banner-heading {
    font-size: 2rem;
  }

  .typewriter-container {
    min-width: 180px;
  }

  .banner-description {
    font-size: 0.95rem;
  }

  .cta-buttons {
    margin-bottom: 50px;
  }

  .btn {
    padding: 16px 30px;
    font-size: 1rem;
  }

  .banner-cards {
    gap: 25px;
  }

  .service-cards {
    padding: 30px 20px;
    min-height: 260px;
  }

  .card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
  }

  .card-icon i {
    font-size: 28px;
  }

  .card-titles {
    font-size: 1.4rem;
  }

  .card-descriptions,
  .card-hover p {
    font-size: 1rem;
  }
}

/* Mobile video autoplay fallback */
@media (max-width: 768px) {
  .video-bg {
    display: block; /* Ensure video shows on mobile */
  }
}
