body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: #f4f4f4;
  color: #222;
}

.navbar {
  background: #fff;
  padding: 20px 30px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  justify-content: center; /* Center the logo */
  align-items: center;
}

.logo {
  text-align: center;
}

.logo img {
  height: 100px; /* Increased size */
  max-width: 100%;
}

.news-banner {
  background: url('images/img1.jpg') no-repeat center center/cover;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.banner-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.banner-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.news-section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

.news-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.news-section p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.news-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  margin-top: 20px;
  border-radius: 10px;
}

/* Footer */
.footer {
    background-color: #9370DB;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    color: white; /* Ensures all text in the footer is white */
}

/* Footer Social Section */
.footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-social h3 {
    font-size: 1.5rem;
    color: white; /* Now white */
    margin-bottom: 10px;
}

/* Social Icons */
.social-icons a {
    font-size: 1.5rem;
    color: white; /* Now white */
    transition: color 0.3s ease;
    margin: 0 10px;
}

.social-icons a:hover {
    color: #f1f1f1; /* Slightly lighter white on hover */
}

/* Footer Bottom */
.footer-bottom {
    font-size: 1rem;
    color: white; /* Now white */
    margin-top: 20px;
}
/* Reveal Effect */
.news-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.reveal {
  opacity: 1;
  transform: translateY(0);
}




.back-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  padding: 10px 20px;
  background-color: #800080; /* Purple */
  color: #fff;            /* Deep Red */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  z-index: 9999;
  transition: background-color 0.3s;
}
.back-btn:hover {
  background-color: #4B004B; /* Darker purple on hover */
}