/* ===== 1. General Styles ===== */
body {
  background: #f9f9f9;
  font-family: 'Poppins', sans-serif;
}

/* ===== 2. Navbar ===== */
.navbar {
  background-color: #fff !important;
  margin-bottom: 0;
  padding: 0.8rem 1rem;
  z-index: 1030;
}

.navbar-nav .nav-link {
  position: relative; 
  padding-bottom: 8px; 
  transition: all 0.3s ease;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: #fbc02d;
}

.navbar-nav .nav-item {
  margin: 0 15px;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: #0d2d63;
  transition: width 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 10px;
  background: #003366;
}
.navbar::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 0;
  width: 40%;
  height: 10px;
  background: #fbc02d;
}

/* ===== 3. Hero Section ===== */
.hero-section {
  position: relative;
  width: 100%;
  height: 720px;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  background: #fff;
  clip-path: polygon(99% 0, 100% 0, 100% 100%, 0 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 10%;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 5px;
  background: #0d2d63;
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-text {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  padding-left: 20%;
  padding-top: 90%;
}

.hero-overlay h1 {
  color: #fff;
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

/* ===== 4. General Section Styling ===== */
.section-title {
  color: #0d2d63;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 155px;
  height: 6px;
  background-color: #fbc02d;
}

/* ===== 5. About Us Section ===== */
#tentang-kami .image-container {
  position: relative;
}

#tentang-kami .image-container::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  background-color: #0d2d63;
  z-index: -1;
}

#tentang-kami .image-container::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 180px;
  height: 180px;
  background-color: #fbc02d;
  z-index: -1;
}

#tentang-kami h2 {
  color: #0d2d63;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 15px;
}

#tentang-kami h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 155px;
  height: 6px;
  background-color: #fbc02d;
}

#tentang-kami .col-md-6 p,
#tentang-kami .col-md-6 ul {
  color: #0d2d63;
}

#tentang-kami .col-md-6 ul {
  list-style: none;
  padding-left: 0;
  background-color: transparent;
}

#tentang-kami .col-md-6 ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  background-color: transparent;
}

#tentang-kami .col-md-6 ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #0d2d63;
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1;
  background-color: transparent;
}

/* ===== 6. Vision & Mission Section ===== */
#visi-misi .visi-misi-text {
  background-color: #0d2d63;
  color: #fff;
}

#visi-misi h2 {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 15px;
}

#visi-misi h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 155px;
  height: 6px;
  background-color: #fbc02d;
}

#visi-misi h4 {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

#visi-misi ul {
  list-style: none;
  padding-left: 0;
}

#visi-misi ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
}

#visi-misi ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 2px;
  color: #fff;
  font-size: 1rem;
}

#visi-misi .visi-misi-image {
  height: 100%;
}

#visi-misi .visi-misi-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== 7. Services Section ===== */
#pelayanan .service-box {
  background-color: #f2f2f2;
  border-radius: 8px;
  border: none;
  transition: all 0.3s ease;
}

#pelayanan .service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

#pelayanan .icon-circle {
  width: 80px;
  height: 80px;
  background-color: #0d2d63;
  border-radius: 50%;
  margin: 0 auto 25px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

#pelayanan .icon-circle i {
  color: #fbc02d;
  font-size: 2.2rem;
}

#pelayanan .service-box h4 {
  color: #0d2d63;
  font-weight: 700;
  text-transform: uppercase;
}

/* ===== 5. Commitment Section (was image-banner-section) ===== */
.image-banner-section {
  position: relative;
  background: url('images/pelayanan-team.png') no-repeat center center/cover;
  background-attachment: fixed;
  padding: 5rem 0;
}

.image-banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0);
  z-index: 1;
}

.image-banner-section .container {
  position: relative;
  z-index: 2;
}

.commitment-section-title {
  color: var(--primary-blue);
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 40px;
}

.commitment-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 70px;
  height: 6px;
  background-color: var(--primary-yellow);
}

.glass-card p.card-content {
  color: #0d2d63 !important;
  grid-area: content;
  line-height: 1.6;
  margin: 0;
}

.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem;
  height: 100%;
  display: grid;
  grid-template-areas:
      "title icon"
      "content content"
      "bar bar";
  grid-template-columns: 1fr auto;
  gap: 1rem;
}

.glass-card .card-title {
  grid-area: title;
  align-self: center;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0;
  color: #0d2d63 !important;
}

.glass-card .card-icon {
  grid-area: icon;
  font-size: 1.8rem;
  color: #fbc02d;
}

.glass-card::after {
  content: '';
  grid-area: bar;
  height: 3px;
  background: var(--primary-yellow);
  margin-top: 1rem;
}

/* Sertifikasi */
#sertifikasi {
  background-color: #0d2d63;
  padding: 60px 0;
}

.section-title-white {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 40px;
  text-align: center;
}

.section-title-white::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 155px;
  height: 6px;
  background-color: #fbc02d;
}

.sertifikasi-slider .slick-slide {
  padding: 0 10px;
  box-sizing: border-box;
}

.sertifikat-item {
  background: #fff;
  padding: 10px;
  border: 2px solid #fbc02d;
  height: 350px;
}

.sertifikat-item img {
  width: 100%;
  max-height: 100%;
  object-fit:cover;
  display: block;
}

/* ===== 9. Portfolio Section ===== */
.portfolio-title {
  font-weight: 800;
  color: #343a40;
  text-transform: uppercase;
}

.portfolio-slider .slick-slide {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

#portofolio img.grayscale {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

#portofolio img.grayscale:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.portfolio-slider .slick-prev,
.portfolio-slider .slick-next {
  width: 40px;
  height: 40px;
  z-index: 1;
}

.portfolio-slider .slick-prev:before,
.portfolio-slider .slick-next:before {
  font-size: 40px;
  color: #0d2d63;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.portfolio-slider .slick-prev:hover:before,
.portfolio-slider .slick-next:hover:before {
  opacity: 1;
}

.portfolio-slider .slick-prev {
  left: -50px;
}

.portfolio-slider .slick-next {
  right: -50px;
}


/* ===== 10. Testimonials Section ===== */
#testimoni {
  position: relative;
  padding-top: 100px;
  background-color: #f2f2f2;
}

#testimoni::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: #fbc02d;
  z-index: 1;
}

#testimoni .section-title {
  position: relative;
  z-index: 2;
  padding-top: 5%;
}

.testimoni-slider .slick-dots {
  display: inline;
}

.testimonial-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.326);
  min-height: 320px;
}

.testimonial-header {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  position: relative;
  flex-shrink: 0;
}

.testimonial-avatar img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: auto;
}

.testimonial-author {
  margin-left: 15px;
}

.testimonial-author h5 {
  font-weight: 700;
  color: #333;
}

.testimonial-author small {
  color: #888;
}

.testimonial-text {
  flex-grow: 1;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #555;
  font-style: normal;
  line-height: 1.6;
}

.testimonial-rating .fa-star {
  color: #fbc02d;
  font-size: 1.1rem;
}


/* ===== 11. Footer ===== */
.main-footer-content {
  display: flex;
  flex-wrap: wrap;
  height: 25vw;
  max-height: 300px;
  min-height: 250px;
}

.footer-info-col {
  width: 50%;
  background-color: #f8f9fa;
  color: #0d2d63;
  padding: 2rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-logo-title {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo-title img {
  height: 40px;
  width: auto;
  margin-right: 15px;
}

.footer-logo-title h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.footer-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-item i {
  font-size: 1.2rem;
  color: #0d2d63;
  margin-right: 15px;
  margin-top: 5px;
}

.contact-item p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-image-col {
  width: 50%;
  background-size: cover;
  background-position: center;
}

.footer-credit {
  background-color: #0d2d63 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  text-align: center !important;
  padding: 1.5rem !important;
  font-size: 0.9rem !important;
}

/* ===== 12. Third-Party Overrides ===== */
.mfp-close {
  display: block !important;
  cursor: pointer !important;
  z-index: 1060 !important;
  position: absolute !important;
  top: 15px !important;
  right: 10px !important;
  width: 44px !important;
  height: 44px !important;
  font-size: 30px !important;
  color: #fff !important;
  opacity: 0.8 !important;
  line-height: 44px !important;
  text-align: center !important;
}

.mfp-close:hover {
  opacity: 1 !important;
}

/* ===== 13. Responsive Media Queries ===== */
@media (max-width: 991.98px) {
  .navbar::before,
  .navbar::after {
      width: 100%;
  }

  .hero-section {
      height: 500px;
  }

  .hero-overlay {
      width: 50%;
  }

  .hero-overlay h1 {
      font-size: 2rem;
  }
  
  .main-footer-content {
      height: auto;
  }

  .footer-info-col,
  .footer-image-col {
      width: 100%;
  }

  .footer-image-col {
      height: 300px;
  }

  .footer-contact-grid {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .boxed-container {
      max-width: 100%;
      padding: 0 10px;
  }

  .navbar {
      padding: 0.5rem 1rem;
  }

  .navbar::before,
  .navbar::after {
      width: 100%;
      height: 4px;
  }
  .navbar::after {
      top: 4px;
  }

  .hero-section {
      height: auto;
      min-height: 400px;
  }

  .hero-banner img {
      height: 100%;
      min-height: 400px;
  }

  .hero-overlay {
      width: 100%;
      clip-path: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
  }

  .hero-overlay h1 {
      font-size: 2.5rem;
  }
  #tentang-kami img,
  #pelayanan .mt-4 img {
      margin-bottom: 20px;
  }
}

/* GALLERY ITEM CSS (Slider Carousel) */

/* Main Slider Container */
.slider-container {
    /* Provides extra space for navigation arrows on the sides */
    padding: 0 20px; 
  }
  
  /* Styling for each Image within the Slider */
  .slider-item img {
    /* Ensure the image fills the space properly */
    width: 100%;
    /* Consistent image height */
    height: 350px; 
    /* Ensures the image covers the area without distortion, cropping if necessary */
    object-fit: cover; 
    margin: 0 auto;
    /* Space between slides */
    padding: 10px; 
    border-radius: 15px;
  }
  
  /* Slider Arrow Customization (Slick default) */
  .slick-prev:before, 
  .slick-next:before {
    color: #0d2d63 !important;
    font-size: 30px !important;
  }
