body {
  margin: 0; padding:0;
  font-family: Arial, sans-serif;
}

/* Navbar styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #0066FF, #00CCFF);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: slideIn 0.5s ease-out;
}

.navbar img {
  height: 50px;
  animation: rotateLogo 2s infinite;
}

@keyframes rotateLogo {
  0%, 100% {
      transform: rotate(0);
  }
  50% {
      transform: rotate(360deg);
  }
}

.navbar a {
  text-decoration: none;
  color: white;
  margin: 0 15px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #FFD700;
  text-shadow: 0px 0px 5px #FFD700;
}

@keyframes slideIn {
  from {
      transform: translateY(-100%);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

.content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items:center;
  gap: 20px;
}

.department-info {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width:85%;
  color: #333;
  font-family: 'Arial', sans-serif;
  text-align: center;
}

.department-info h1 {
  font-size: 2rem;
  color: #333;
}

.department-info h2 {
  font-size: 1.8rem;
  color: #007BFF;
}

.department-info p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 10px 0;
}

.department-info .highlight {
  color: #4d4bd797;
  font-weight: bold;
}

.message-section {
  background-color: #f1f1f1;
  padding: 20px;
  width: 85%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
  font-family: Arial, sans-serif;
}

.message-section img {
  float: left;
  margin-right: 20px;
  border-radius: 50%;
  width: 150px;
  height: 150px;
}

.message-section h2 {
  color: #333;
  margin-bottom: 10px;
}

.message-section p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
}

.banner {
  position: relative;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

.banner-images {
  height: 100%;
  width: 100%;
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.banner img {
  flex-shrink: 0;
  width: 100vw;
  height: 500px;
  object-fit: cover;
}

.banner-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.banner-buttons button {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 1.2rem;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.banner-buttons button:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.news-section {
  max-width: 85%;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.news-carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.news-item {
  flex-shrink: 0;
  width: 100%;
  text-align: left;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #f9f9f9;
  display: flex;
  align-items: center;
}

.news-item img {
  width: 150px;
  height: 150px;
  margin-right: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.news-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.news-buttons button {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.news-buttons button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.hero {
    background: url('https://via.placeholder.com/1500x500') no-repeat center center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

@media (max-width : 700px) {
  .message-section p{
    font-size: 15px;
  }

  .news-item{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
  }

  .news-item img{
    margin-right: 0;
    width: 200px;
    height: 200px;
  }
}