/* ========== GLOBAL ========== */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(120deg, #f0f8ff, #fff7e6);
  color: #333;
  animation: bgShift 15s infinite alternate;
}

@keyframes bgShift {
  0% { background: linear-gradient(120deg, #f0f8ff, #fff7e6); }
  50% { background: linear-gradient(120deg, #e3f2fd, #fff3cd); }
  100% { background: linear-gradient(120deg, #fce4ec, #fffde7); }
}

/* ========== HEADER ========== */
header {
  background: linear-gradient(90deg, #004aad, #ffc107);
  color: white;
  text-align: center;
  padding: 20px 10px;
  animation: fadeIn 5s ease-in-out;
  position: relative;
}

.logo {
  width: 120px; /* adjust size */
  height: auto;
  border-radius: 50%; /* makes the image circular */
  animation: pulseGlow 11s infinite;
}

/* Navigation */
nav ul {
  list-style: none;
  padding: 0;
  animation: slideInLeft 2.5s ease-in-out;
}

nav ul li {
  display: inline;
  margin: 0 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: all 3.3s;
}

nav ul li a:hover, .active {
  color: #004aad;
  background: white;
  padding: 5px 10px;
  border-radius: 5px;
  transform: scale(1.1);
}

/* ========== HERO SECTION ========== */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(120deg, #ffc107, #004aad);
  color: white;
  animation: slideInTop 4.5s ease-in-out;
}

.hero h2 {
  animation: flipText 3s ease-in-out;
}

.btn {
  background: white;
  color: #004aad;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 2.3s;
  animation: zoomIn 3.8s ease-in-out;
}

.btn:hover {
  background: #004aad;
  color: white;
  transform: scale(1.15);
}

/* ========== CONTENT SECTION ========== */
.content {
  padding: 40px 20px;
  max-width: 900px;
  margin: 50px auto;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.15);
  animation: fadeUp 4.5s ease-in-out;
}

.content h2 {
  color: #004aad;
  animation: flipText 3.5s ease-in-out;
}

/* ========== FOOTER ========== */
footer {
  text-align: center;
  background: #004aad;
  color: white;
  padding: 15px;
  animation: fadeIn 4s ease-in-out;
}

/* ========== KEYFRAMES (7+ ANIMATIONS) ========== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInTop {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); filter: brightness(100%); }
  50% { transform: scale(1.05); filter: brightness(120%); }
}

@keyframes flipText {
  0% { transform: rotateY(90deg); opacity: 0; }
  100% { transform: rotateY(0deg); opacity: 1; }
}
