/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f7faff;
  color: #333;
}

/* Banner */
.banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #003399, #0066cc);
  color: white;
  padding: 30px 20px 25px; /* Much smaller vertical padding */
  text-align: center;
}

/* Background Animation Layer */
.background-animate {
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 80%);
  animation: rotateBackground 60s linear infinite;
  z-index: 0;
}

/* Banner Content */
.banner-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: auto;
}

/* Branding */
.branding {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 10px; /* Reduced margin */
}

.logo {
  width: 100px; /* Smaller logo */
  height: 100px;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s;
}
.logo:hover {
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.5);
}

.school-name {
  font-size: 1.8rem; /* Smaller font */
  font-weight: 700;
  text-align: left;
  transition: color 0.3s;
}
.school-name:hover {
  color: #ffe600;
}

/* Tagline & Welcome */
.tagline {
  font-size: 1rem;
  font-style: italic;
  color: #cfe5ff;
  margin-bottom: 6px;
}

.welcome-message {
  font-size: 0.95rem;
  color: #d6eaff;
  margin-bottom: 18px;
  animation: fadeIn 1s ease-in-out;
}

/* CTA Button */
.cta-button {
  background-color: #ffffff;
  color: #003399;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.cta-button:hover {
  background-color: #003399;
  color: white;
  transform: scale(1.05);
}

/* Animations */
@keyframes rotateBackground {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .branding {
    flex-direction: column;
    text-align: center;
  }
  .school-name {
    font-size: 1.4rem;
  }
  .logo {
    width: 80px;
    height: 80px;
  }
}
