body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* Slider Container */
.gov-slider {
  position: relative;
  height: 650px;
  overflow: hidden;
}

/* Slides */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}
.caption {
  position: absolute;
  bottom: 10%;
  left: 5%;
  right: 5%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 20px 25px;
  max-width: 550px;
  border-radius: 8px;

  display: flex;
  flex-direction: column;
  gap: 10px;

  box-sizing: border-box;
}

/* Responsive Text */
.caption h2 {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: 1.2;
}

.caption p {
  margin: 0;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.5;
}

/* Button */
.btn {
  align-self: flex-start;
  padding: 10px 20px;
  background: #14984c;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

.caption h2 {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: 1.2;
  color: #14984c;
}

/* Mobile */
@media (max-width: 768px) {
  .caption {
    max-width: 100%;
  }
}
/* dce card css */
.dce-card {
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.dce-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.profile-image-card {
  position: relative;
  height: 100%;
  min-height: 500px; /* Increased height */
  overflow: hidden;
}

.profile-image-card img {
  width: 850%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.profile-image-card:hover img {
  transform: scale(1.05);
}

.profile-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 35px 25px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.4),
    transparent
  );
  color: #fff;
}

.profile-overlay h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

.profile-overlay span {
  font-size: 15px;
  opacity: 0.9;
}

.small-title {
  letter-spacing: 1px;
  font-weight: 600;
  color: #0d6efd;
}

.dce-highlight {
  background: #f8f9fa;
  border-left: 4px solid #0d6efd;
  border-radius: 10px;
}

/* EVENTS AND ONLINE SERVICES css */
.gov-links li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.gov-links a {
  color: #000000;
  text-decoration: none;
  display: block;
  font-weight: 500;
}

.gov-links a:hover {
  color: #094b07;
  padding-left: 6px;
  transition: 0.3s;
}
/*NEW DOCUMENTS ON INDEX PAGE CSS*/
.gov-documents .card {
  transition: 0.3s;
}

.gov-documents .card:hover {
  transform: translateY(-5px);
}

/* LATEST NEW ON INDEX PAGE CSS */
.gov-news-card img {
  height: 220px;
  object-fit: cover;
  transition: 0.3s;
}

.gov-news-card:hover img {
  transform: scale(1.05);
}

.news-date {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #094b07;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
}

.gov-news-card h5 {
  line-height: 1.4;
}

/* FOOTER CSS */
.gov-footer {
  background: #0b1c2d;
  color: #ccc;
}

.gov-footer h5 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: #c33d3a;
}

.footer-social a {
  color: #fff;
  margin-right: 10px;
  font-size: 18px;
}

.footer-bottom {
  background: #07121d;
  padding: 15px;
  font-size: 13px;
}

.footer-bottom a {
  color: #0d6efd;
  text-decoration: none;
}

/* document page CSS */

.gov-documents {
  background: #f4f7fb;
  padding: 80px 5%;
}

.doc-section {
  margin-bottom: 70px;
}

.doc-section h2 {
  color: #0b6b3a;
  margin-bottom: 25px;
  font-size: 28px;
  border-left: 5px solid #0b6b3a;
  padding-left: 15px;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.doc-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  text-decoration: none;
  color: #222;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.doc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.doc-card i {
  font-size: 32px;
  color: #0b6b3a;
}

.doc-card span {
  font-weight: 600;
  font-size: 15px;
}

.doc-card small {
  color: #777;
  font-size: 12px;
}
.doc-date {
  font-size: 12px;
  color: #666;
  margin-top: -4px;
}
/*PRESENT COORDINATORS PAGE CSS*/
.modern-profile {
  padding: 80px 0;
  background: #f4f7fb;
}

.profile-image-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.profile-image-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.profile-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgb(0, 0, 0));
  color: #fff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.profile-overlay h3 {
  margin: 0;
  font-size: 22px;
}

.profile-overlay span {
  font-size: 14px;
  opacity: 0.9;
}

.profile-overlay h3 {
  margin: 0;
  font-size: 22px;
  color: #0b6b3a;
}

/* Right content */

.profile-content {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
}

.profile-content .badge {
  background: #0b6b3a;
  color: #fff;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
}

.profile-content h2 {
  margin: 20px 0;
  color: #0b6b3a;
}

.profile-content p {
  color: #444;
  line-height: 1.7;
}

.profile-box {
  margin-top: 25px;
  padding-left: 20px;
  border-left: 4px solid #0b6b3a;
}

.profile-box h4 {
  margin-bottom: 8px;
  color: #0b6b3a;
}

/* Mobile */

@media (max-width: 768px) {
  .profile-image-card img {
    height: 380px;
  }

  .profile-content {
    margin-top: 30px;
  }
}

/*PAST COORDINATORS PAGE CSS*/
.past-directors {
  background: #f4f7fb;
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  color: #0b6b3a;
  font-size: 30px;
  margin-bottom: 10px;
}

.section-title p {
  color: #666;
}

.directors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.director-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px 10px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
}

.director-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.director-card img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #0b6b3a;
  margin-bottom: 20px;
}

.director-card h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.director-card small {
  color: #777;
  font-size: 13px;
}

.profile-name {
  text-align: center;
  margin-top: 20px;
}

.profile-name h3 {
  color: #0b6b3a;
  font-size: 22px;
  margin-bottom: 5px;
}

.profile-name span {
  color: #555;
  font-size: 14px;
}
/*contact us page css*/

.modern-contact {
  padding: 80px 0;
  background: #f4f7fb;
}

.contact-hero-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-badge {
  background: #0b6b3a;
  color: #fff;
  padding: 6px 15px;
  border-radius: 30px;
  font-size: 12px;
}

.modern-contact h2 {
  margin: 15px 0;
  color: #0b6b3a;
}

.contact-intro {
  color: #555;
  margin-bottom: 25px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.contact-card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.contact-card i {
  font-size: 28px;
  color: #0b6b3a;
  margin-bottom: 10px;
}

.contact-card h4 {
  margin-bottom: 6px;
}

.contact-card a,
.contact-card span {
  color: #444;
  font-size: 14px;
}

.contact-footer {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.office-hours {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.office-hours i {
  color: #0b6b3a;
  font-size: 22px;
}

.contact-social a {
  margin-left: 10px;
  font-size: 20px;
  color: #0b6b3a;
}

/* MAP */

.modern-map iframe {
  width: 100%;
  height: 500px;
  border: 0;
}

/* Mobile */

@media (max-width: 768px) {
  .contact-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* quick service view tab under the slider css */
.department-modern {
  position: relative;
  padding: 80px 0;
  background: #f8f9fc;
}

.department-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #eef1f6;
}

.department-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.department-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #0d6efd;
  transition: 0.3s ease;
}

.department-card:hover .department-icon {
  background: #0d6efd;
  color: #fff;
}

.department-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.department-title a {
  text-decoration: none;
  color: #1c1c1c;
}

.department-title a:hover {
  color: #0d6efd;
}

.department-bottom-text {
  margin-top: 50px;
  text-align: center;
  font-weight: 500;
}

.department-bottom-text a {
  color: #0d6efd;
  font-weight: 600;
  text-decoration: none;
}
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.pagination a {
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 30px;
  background: #f1f3f5;
  color: #333;
  font-weight: 500;
  transition: 0.3s ease;
}

.pagination a.active {
  background: #0d6efd;
  color: #fff;
  font-weight: 600;
}

.pagination a:hover {
  background: #0d6efd;
  color: #fff;
}
