@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  color: #333;
  background: #fafafa;
  line-height: 1.6;
}

.hero {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.pap-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 220px;
  z-index: 2;
}

.search-container {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  border-radius: 25px;
  overflow: hidden;
  background: white;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  z-index: 3;
}

.search-container input {
  border: none;
  padding: 14px 18px;
  outline: none;
  width: 320px;
  font-size: 16px;
}

.search-container button {
  background: #184200;
  color: white;
  border: none;
  padding: 14px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.3s;
}

.search-container button:hover {
  background: #0d2100;
}

nav ul {
  list-style: none;
  background: #184200;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav ul li {
  position: relative;
}

nav ul li a {
  display: block;
  padding: 15px 20px;
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 5px;
  width: 0%; height: 2px;
  background: #dda919;
  transition: width 0.3s;
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li ul.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #0d2100;
  display: none;
  min-width: 180px;
  z-index: 999;
}

nav ul li:hover ul.dropdown {
  display: block;
}

nav ul li ul.dropdown li a {
  padding: 12px 16px;
  font-size: 15px;
}

.content-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 80px auto;
  padding: 20px;
  gap: 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-block img {
  width: 42%;
  max-width: 420px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.content-block img:hover {
  transform: scale(1.05);
}

.content-block h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #184200;
}

.content-block p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #444;
}

.latest-news {
  max-width: 1100px;
  margin: 80px auto;
  padding: 20px;
  text-align: center;
}

.latest-news h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #184200;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.news-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
  cursor: pointer;
}

.news-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-item:hover img {
  transform: scale(1.08);
}

.news-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.news-item:hover .news-overlay {
  opacity: 1;
}

.uniform-section { 
  max-width: 900px; 
  margin: 60px auto; 
  text-align: center; 
  padding: 20px; 
  height: 20%; 
  align-items: center; 
} 

.uniform-section h2 { 
  font-size: 2rem; 
  margin-bottom: 20px; 
  color: #184200; 
  background-color: rgba(0,0,0,0); 
} 

.uniform-slider { 
  position: relative; 
  overflow: hidden; 
  border-radius: 12px; 
  box-shadow: 0 6px 16px rgba(0,0,0,0.2); 
} 

.slides { 
  display: flex; 
  transition: transform 0.6s ease-in-out; 
  height: 50%; 
  background-color: #fff; 
} 

.slides a img { 
  width: fit-content; 
  display: block; 
  cursor: pointer; 
  background-color: #fff; 
} 

.prev, .next { 
  position: absolute; 
  top: 50%; 
  transform: translateY(-50%); 
  background: rgba(0,0,0,0.6); 
  color: #fff; 
  border: none; 
  font-size: 2rem; 
  padding: 8px 14px; 
  cursor: pointer; 
  border-radius: 50%; 
  transition: background 0.3s; 
  z-index: 5; 
} 

.prev:hover, .next:hover { 
  background: rgba(0,0,0,0.8); 
} 

.prev { left: 10px; 
} 

.next { 
  right: 10px; 
} 

.slides { 
  display: flex; 
  transition: transform 0.6s ease-in-out; 
  background-color: #fff; 
} 

.slide { 
  min-width: calc(100% / 3); 
  box-sizing: border-box; 
  height: 5%; background-color: #fff; 
} 

.slide img { 
  width: 50%; 
  display: block; 
  cursor: pointer; 
  height: auto; 
  background-color: #fff; 
}

.footer { 
  display: flex; 
  justify-content: space-around; 
  align-items: center; 
  padding: 40px 20px; 
  background: #0d2100; 
  background-image: linear-gradient(45deg, #0d2100 25%, transparent 25%), 
                    linear-gradient(-45deg, #0d2100 25%, transparent 25%), 
                    linear-gradient(45deg, transparent 75%, #0e2700 75%), 
                    linear-gradient(-45deg, transparent 75%, #0e2700 75%); 
  background-size: 60px 60px; 
  background-position: 0 0, 0 30px, 30px -30px, -30px 1px; 
  color: #fff;
} 

.footer-section { 
  flex: 1; 
  text-align: center; 
} 

.footer-section h3 { 
  font-size: 1.1em; 
  margin-bottom: 10px; 
} 
.footer-section a { 
  display: block; 
  color: white; 
  text-decoration: none; 
  margin: 5px 0; 
  transition: color 0.3s ease; 
} 

.footer-section a:hover { 
  color: #dda919; 
}

.papLogo {
  width: 160px;
  border-radius: 50%;
}

.aboutprimary {
  text-align: center;
}

.aboutimg {
  height: 600px;
  width: 500px;
}

.contact {
  text-align: center;
}

.evoy {
  height: 510px;
  width: 410px;
}

.employment {
  text-align: center;
}