.school-bus-footer {
  background: rgba(255, 255, 255, 0.95);;
  padding-top: 60px; /* added space above */
  padding-bottom: 100px; /* more space for wheels */
  position: relative;
  overflow: visible; /* allow wheels to be visible */
}

.bus-body {
  position: relative;
  width: 95%;
  max-width: 1250px;
  margin: auto;
  background: #ffcc00;
  border: 5px solid #333;
  border-radius: 30px 30px 10px 10px;
  padding: 30px 20px 60px;
  box-shadow: inset 0 -10px 0 #f2b600;
  box-sizing: border-box;
}

.windows {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.window {
  width: 60px;
  height: 60px;
  background: #fff;
  border: 3px solid #333;
  margin: 0 5px;
  border-radius: 10px;
} 
.contact-info {
  text-align: center;
  color: #333;
}

.contact-info p {
  margin: 5px 0;
  font-size: 16px;
}

.contact-btn {
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  border: none;
  margin-top: 10px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.contact-btn:hover {
  background-color: #222;
}

.wheels {
  position: absolute;
  bottom: -40px; /* move lower to give full wheel room */
  width: 100%;
  display: flex;
  justify-content: space-around;
  z-index: 0;
}

.wheel {
  width: 50px;
  height: 50px;
  background: #444;
  border-radius: 50%;
  border: 5px solid #222;
  animation: spin 2s linear infinite;
}

.headlight {
  position: absolute;
  left: -10px; /* sticks to the left edge of the bus */
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  border: 3px solid #999;
  animation: blink 1s infinite;
  z-index: 1;
}

@keyframes blink {
  0%, 100% {
    background: #fff;
  }
  50% {
    background: #f5dc00;
  }
}

.rays1 {
  position: absolute;
  top: 180%;
  right: 20px;
  width: 80px;
  height: 20px;
  background: #ffcc00;
  transform: translateY(-50%) rotate(-40deg); /* flipped left */
  border-radius: 10px;
  filter: blur(2px);
  animation: rays-flicker 1s infinite;
}

.rays2 {
  position: absolute;
  top: -40%;
  right: 20px;
  width: 80px;
  height: 20px;
  background: #ffcc00;
  transform: translateY(-50%) rotate(40deg); /* flipped left */
  border-radius: 10px;
  filter: blur(2px);
  animation: rays-flicker 1s infinite;
}


@keyframes rays-flicker {
  0%, 100% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
}

.bus-title-box {
  width: fit-content;
  margin: 0 auto 20px;
  padding: 10px 20px;
  background: #fff;
  border: 3px solid #333;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.bus-title {
  margin: 0;
  font-size: 20px;
  color: #333;
  font-weight: bold;
  text-align: center;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* Responsive Styling */
@media only screen and (max-width: 1200px) {
  .bus-body {
    padding: 25px 15px 50px;
  }
  .window {
    width: 50px;
    height: 50px;
  }
}

@media only screen and (max-width: 992px) {
  .bus-body {
    width: 90%;
  }
  .window {
    width: 45px;
    height: 45px;
  }
  .contact-btn {
    max-width: 250px;
    width: 100%;
    font-size: 14px;
  }
}

@media only screen and (max-width: 768px) {
  .bus-body {
    padding: 20px 10px 40px;
  }
  .window {
    width: 40px;
    height: 40px;
  }
  .contact-info p {
    font-size: 14px;
  }
}

@media only screen and (max-width: 576px) {
  .bus-body {
    width: 95%;
    border-width: 3px;
    padding: 15px 10px 30px;
  }
  .window {
    width: 35px;
    height: 35px;
  }
  .contact-info p {
    font-size: 13px;
  }
  .contact-btn {
    padding: 8px;
    font-size: 13px;
  }
}

@media only screen and (max-width: 400px) {
  .window {
    width: 30px;
    height: 30px;
  }
  .contact-btn {
    font-size: 12px;
  }
}
