/* BUS CSS Variables - Consistent with Index */
:root {
  --bus-gradient-start: #2d3b80;
  --bus-gradient-end: #4a90e2;
  --bus-card-bg: rgb(225, 225, 225);
  --bus-border: #e9ecef;
}

.bus-hero {
  min-height: 100vh;

  background: #f8f9fa;
  background-image: radial-gradient(
      circle at 20% 80%,
      rgba(117, 117, 117, 0.332) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(66, 66, 66, 0.211) 0%,
      transparent 50%
    );
}

.bus-card {
  background: var(--bus-card-bg);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.bus-card-header-1 {
  background: linear-gradient(
    135deg,
    var(--bus-gradient-start),
    var(--bus-gradient-end)
  );
  color: white;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}

.bus-card-header-1::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
}

.bus-card-body {
  padding: 2rem;
}

.bus-button {
  background: linear-gradient(
    135deg,
    var(--bus-gradient-start),
    var(--bus-gradient-end)
  );
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 4px 15px rgba(45, 59, 128, 0.3);
}

.bus-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 59, 128, 0.4);
  color: white;
}

.bus-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.bus-button:hover::before {
  left: 100%;
}

.alert-info {
  background-color: rgba(74, 144, 226, 0.1);
  border-color: var(--bus-gradient-start);
  color: var(--bus-gradient-start);
  border-radius: 12px;
}

.display-1 {
  font-size: 5rem;
  letter-spacing: 2px;
}

.display-6 {
  letter-spacing: 1px;
  line-height: 1.4;
}

/* Hero Inspiracional Styles */
.hero-inspiracional {
  background: linear-gradient(
    135deg,
    var(--bus-gradient-start) 0%,
    var(--bus-gradient-end) 100%
  );
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-inspiracional::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
    center/cover;
  animation: backgroundMove 20s ease infinite;
}

@keyframes backgroundMove {
  0%,
  100% {
    transform: translateX(0) translateY(0);
  }

  25% {
    transform: translateX(-10px) translateY(-10px);
  }

  50% {
    transform: translateX(10px) translateY(-5px);
  }

  75% {
    transform: translateX(-5px) translateY(10px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: white;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #4aacc4, #4aacc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #4aacc4, #4aacc4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--bus-gradient-start);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.stat-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* Visual Elements */
.hero-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  animation: float 6s ease-in-out infinite;
}

.icon-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.icon-2 {
  top: 10%;
  right: 20%;
  animation-delay: 1.5s;
}

.icon-3 {
  bottom: 30%;
  left: 15%;
  animation-delay: 3s;
}

.icon-4 {
  bottom: 15%;
  right: 10%;
  animation-delay: 4.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  25% {
    transform: translateY(-20px) rotate(5deg);
  }

  50% {
    transform: translateY(-10px) rotate(-5deg);
  }

  75% {
    transform: translateY(-15px) rotate(3deg);
  }
}

.central-element {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.graduation-cap {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #4aacc4, #4aacc4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--bus-gradient-start);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: rotate 10s linear infinite;
  position: relative;
  z-index: 2;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.ripple-effect {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 50%;
  animation: ripple 3s infinite;
}

@keyframes ripple {
  0% {
    transform: scale(0.5);
    opacity: 1;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-visual {
    height: 300px;
  }

  .graduation-cap {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }

  .floating-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* Submit Confirmation Styles for BUS */

.confirmation-icon-bus {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(
    135deg,
    var(--bus-gradient-start),
    var(--bus-gradient-end)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  box-shadow: 0 8px 20px rgba(45, 59, 128, 0.3);
  animation: confirmationPulseBus 2s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

@keyframes confirmationPulseBus {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(45, 59, 128, 0.3);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(45, 59, 128, 0.5);
  }
}

.confirmation-title-bus {
  color: var(--bus-gradient-start);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.confirmation-text-bus {
  color: #495057;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.submit-button-container-bus {
  position: relative;
  z-index: 2;
}

.submit-button-container-bus .bus-button {
  font-size: 1.1rem;
  padding: 1.2rem 3rem;
  box-shadow: 0 8px 25px rgba(45, 59, 128, 0.4);
  transition: all 0.3s ease;
}

.submit-button-container-bus .bus-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(45, 59, 128, 0.6);
}

/* Responsive adjustments for BUS confirmation */
@media (max-width: 768px) {
  .confirmation-icon-bus {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .confirmation-title-bus {
    font-size: 1.5rem;
  }

  .confirmation-text-bus {
    font-size: 1rem;
  }

  .submit-button-container-bus .bus-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}
