body{
  scroll-behavior: smooth;
}
.banner {
  background: linear-gradient(to right, #0052d4, #4364f7, #6fb1fc);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  animation: fadeInDown 1s ease-in-out;
}

.banner h1 {
  font-size: 2.5rem;
}

.banner p {
  font-size: 1.2rem;
  margin-top: 10px;
}

/* Blog Section */
.blog-section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.blog-post {
  background: #fff;
  margin-bottom: 30px;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-5px);
}

.blog-post h2 {
  font-size: 1.6rem;
  color: #1e3a8a;
  margin-bottom: 10px;
}

.blog-post p {
  font-size: 1rem;
  color: #555;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  background-color: #e2e8f0;
  font-size: 0.9rem;
  color: #333;
}

/* Animation */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .banner h1 {
    font-size: 2rem;
  }

  .blog-post {
    padding: 15px 20px;
  }
}
.hero-banner {
  background-image: url('images/banner.jpg'); /* Replace with your image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: #ffffff;
  position: relative;
  animation: fadeInBanner 1.2s ease-in-out;
  border-bottom: 4px solid #1e3a8a;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for text visibility */
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
}

.banner-content h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.banner-content p {
  font-size: 1.2rem;
}

/* Animation */
@keyframes fadeInBanner {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-banner {
    height: 280px;
  }
  .banner-content h1 {
    font-size: 1.8rem;
  }
  .banner-content p {
    font-size: 1rem;
  }
}




.blog-banner {
  background: linear-gradient(to right, rgba(188, 222, 255, 0.85), rgba(0, 89, 179, 0.85)),
              url('../Images/3.jpeg') center/cover no-repeat;
  color: white;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}


.banner-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.banner-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

.banner-btn {
  background-color: hsl(305, 100%, 85%);
  color: #003366;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s;
}

.banner-btn:hover {
 background-color: hsl(305, 100%, 79%);;
}

/* Responsive Design */
@media (max-width: 768px) {
  .banner-content h1 {
    font-size: 1.8rem;
  }

  .banner-content p {
    font-size: 1rem;
  }
}
