@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700&display=swap")

/* ===== Modern Header Style ===== */
.modern-header .navbar {
  transition: all 0.4s ease;
}

.navbar-brand img {
  transition: transform 0.3s ease;
}
.navbar-brand:hover img {
  transform: scale(1.05);
}

.navbar-light .navbar-nav .nav-link {
  position: relative;
  font-weight: 500;
  color: #1a1a1a;
  padding: 8px 15px;
  transition: color 0.3s ease;
}

/* Hover underline effect */
.navbar-light .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #00a88f;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.navbar-light .navbar-nav .nav-link:hover::after {
  width: 60%;
}
.navbar-light .navbar-nav .nav-link:hover {
  color: #00a88f;
}

/* Active link */
.navbar-light .navbar-nav .nav-link.active {
  color: #00a88f;
  font-weight: 600;
}
.navbar-light .navbar-nav .nav-link.active::after {
  width: 60%;
}

/* Sticky shadow */
.sticky-top.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  backdrop-filter: blur(6px);
}

/* Mobile menu spacing */
@media (max-width: 991px) {
  .navbar-nav .nav-link {
    text-align: center;
    padding: 10px;
  }
}

/* ============================
   Modern Outline Primary Button
   ============================ */
.btn-outline-primary {
  color: #00a88f;
  border: 2px solid #00a88f;
  font-weight: 600;
  border-radius: 30px;
  padding: 10px 26px;
  background: transparent;
  transition: all 0.3s ease;
  text-transform: capitalize;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: #00a88f;
  color: #fff;
  border-color: #00a88f;
  box-shadow: 0 6px 12px rgba(0, 168, 143, 0.3);
  transform: translateY(-2px);
}

/* Saat ditekan (klik) */
.btn-outline-primary:active {
  background: #008f79;
  border-color: #008f79;
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0, 168, 143, 0.25);
}

/* Ukuran di mobile */
@media (max-width: 768px) {
  .btn-outline-primary {
    padding: 8px 22px;
    font-size: 0.95rem;
  }
}

.clean-slider {
  position: relative;
  height: 80vh; /* lebih landscape daripada full 100vh */
  overflow: hidden;
}

.clean-slider .slider {
  height: 100%;
  display: flex;
  transition: transform 1s ease-in-out;
}

.clean-slider .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.5s ease, transform 6s ease;
}

.clean-slider .slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* Overlay lebih terang */
.clean-slider .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.25));
  z-index: 1;
  transition: background 0.5s ease;
}

/* Navigasi panah */
.clean-slider .slider-controls button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  transition: 0.3s;
  z-index: 3;
}

.clean-slider .slider-controls button:hover {
  background: rgba(255,255,255,0.35);
}

.clean-slider .slider-controls .prev { left: 25px; }
.clean-slider .slider-controls .next { right: 25px; }

/* Dots */
.clean-slider .dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.clean-slider .dots button {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  border: none;
  transition: 0.3s;
}

.clean-slider .dots button.active,
.clean-slider .dots button:hover {
  background: #00a88f;
}

/* Responsive */
@media (max-width: 768px) {
  .clean-slider {
    height: 60vh;
  }
}

.img-center {
  display: block;
  margin: 0 auto;
}

/* === Modern Footer === */
.modern-footer {
  background: linear-gradient(135deg, #0a3d36, #016b5b);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.footer-logo {
  width: 55px;
  height: 55px;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-right: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
}
.footer-social a:hover {
  background: #fff;
  color: #016b5b;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-logo {
    width: 45px;
    height: 45px;
  }
  .footer-brand h5 {
    font-size: 1.1rem;
  }
}

/* ==========================================
   Section: Apa Saja yang Kami Lakukan
   ========================================== */
.program {
  background-color: #f8f9fa;
  position: relative;
  z-index: 1;
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.program h2 {
  color: #1a1a1a;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
}

.program h2::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #00a88f;
  border-radius: 2px;
}

/* Card style */
.program .card {
  border-radius: 12px;
  transition: all 0.4s ease;
  background: #fff;
}

.program .card-body {
  padding: 40px 25px;
  transition: all 0.3s ease;
}

.program .card img {
  transition: transform 0.4s ease;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

/* Hover effect */
.program .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 168, 143, 0.15);
}

.program .card:hover img {
  transform: scale(1.1);
}

/* Headings */
.program .card h5 {
  font-weight: 700;
  color: #00a88f;
  margin-bottom: 10px;
}

/* Paragraph */
.program .card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .program .card-body {
    padding: 30px 20px;
  }
  .program .card h5 {
    font-size: 1.1rem;
  }
}

/* Fix jarak antar card di mobile view */
@media (max-width: 767.98px) {
  .program .col-md-4 {
    margin-bottom: 1.5rem; /* beri jarak antar card */
  }
  .program .col-md-4:last-child {
    margin-bottom: 0; /* hilangkan jarak di card terakhir */
  }
}


/* ============================
   Section: Referensi
   ============================ */
.reference-section {
  /*background: linear-gradient(135deg, #f8f9fa, #e9f9f5);*/
  position: relative;
  overflow: hidden;
}

.reference-section h2 {
  color: #1a1a1a;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
}

.reference-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #00a88f;
  border-radius: 2px;
}

/* Tambah jarak antar tombol di mobile view */
@media (max-width: 767.98px) {
  .reference-section .btn-ref {
    width: 100%;
    max-width: 280px;
    margin-bottom: 1rem; /* spasi antar tombol */
  }
  .reference-section .btn-ref:last-child {
    margin-bottom: 0; /* hilangkan jarak di tombol terakhir */
  }
}


/* ===== Custom Button Style ===== */
.btn-ref {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid #00a88f;
  color: #00a88f;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  background: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(0, 168, 143, 0);
}

.btn-ref:hover {
  background: #00a88f;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 168, 143, 0.3);
}

/* Tambahan efek “pop” saat aktif */
.btn-ref:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0, 168, 143, 0.25);
}

/* Responsif */
@media (max-width: 768px) {
  .btn-ref {
    width: 100%;
    max-width: 250px;
    font-size: 0.95rem;
  }
}

/* ==========================================
   Section: Kenapa Harus Memilih Kami
   ========================================== */
.why-section {
  background: linear-gradient(135deg, #f8f9fa, #e9f9f5);
  position: relative;
  overflow: hidden;
}

.why-section h2 {
  color: #1a1a1a;
  position: relative;
  display: inline-block;
}
.why-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: #00a88f;
  border-radius: 2px;
}

/* Card */
.why-card {
  background: #fff;
  border-radius: 14px;
  padding: 40px 25px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border-top: 4px solid transparent;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 168, 143, 0.15);
  border-top-color: #00a88f;
}

/* Icon */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(0, 168, 143, 0.08);
  transition: all 0.4s ease;
}
.why-card:hover .icon-box {
  background: rgba(0, 168, 143, 0.15);
  transform: scale(1.08);
  box-shadow: 0 0 10px rgba(0, 168, 143, 0.25);
}

/* Texts */
.why-card h5 {
  color: #00a88f;
  font-weight: 700;
}
.why-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Fix jarak antar card di mobile view */
@media (max-width: 767.98px) {
  .why-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  .why-section .col-md-4 {
    margin-bottom: 1.5rem; /* spasi antar card */
  }
  .why-section .col-md-4:last-child {
    margin-bottom: 0;
  }
  .why-card {
    padding: 30px 20px;
  }
  .icon-box {
    width: 70px;
    height: 70px;
  }
}


/* ==========================================
   Section: Tentang Kami (About)
   ========================================== */
.about-section {
  background: linear-gradient(135deg, #f8f9fa, #e9f9f5);
  position: relative;
  overflow: hidden;
}

.about-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.about-image-wrapper img {
  border-radius: 16px;
  transition: transform 0.6s ease, box-shadow 0.4s ease;
}

.about-image-wrapper:hover img {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0, 168, 143, 0.25);
}

/* Optional overlay effect */
.about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,168,143,0.05), rgba(0,0,0,0.1));
  opacity: 0.2;
  transition: opacity 0.4s ease;
}
.about-image-wrapper:hover .about-overlay {
  opacity: 0.4;
}

/* Text Content */
.about-content h2 {
  font-weight: 700;
  color: #1a1a1a;
  position: relative;
}

.about-content h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #00a88f;
  border-radius: 2px;
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
}

/* Modern button style (same theme) */
.btn-modern {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  border: 2px solid #00a88f;
  color: #00a88f;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-modern:hover {
  background: #00a88f;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 168, 143, 0.3);
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .about-section {
    text-align: center;
  }
  .about-content {
    padding: 0;
  }
  .about-content h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ==========================================
   Section: Berita Terbaru
   ========================================== */
.latest-news-section {
  /*background: linear-gradient(135deg, #f8f9fa, #ecfdf8);*/
  position: relative;
  overflow: hidden;
}

.latest-news-section h2 {
  position: relative;
  display: inline-block;
}
.latest-news-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: #00a88f;
  border-radius: 2px;
}

/* ===== News Card ===== */
.news-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,168,143,0.15);
}

/* Thumbnail */
.news-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.news-card:hover .news-img img {
  transform: scale(1.1);
}

/* Content */
.news-content {
  position: relative;
}

.news-title {
  color: #1a1a1a;
  font-size: 1.1rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}
.news-title:hover {
  color: #00a88f;
}

.news-content p {
  font-size: 0.95rem;
  color: #555;
}

/* Read More Button */
.btn-news {
  display: inline-block;
  color: #00a88f;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-news:hover {
  color: #007a6c;
  text-decoration: underline;
}

/* Main CTA Button */
.btn-modern {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid #00a88f;
  border-radius: 30px;
  color: #00a88f;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-modern:hover {
  background: #00a88f;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,168,143,0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .news-img {
    height: 180px;
  }
  .news-title {
    font-size: 1rem;
  }
}

/* ==========================================
   Section: Program Kami
   ========================================== */
.program-section {
  /*background: linear-gradient(135deg, #f8f9fa, #ecfdf8);*/
  position: relative;
  overflow: hidden;
}

.program-section h2 {
  color: #1a1a1a;
  position: relative;
  display: inline-block;
}

.program-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: #00a88f;
  border-radius: 2px;
}

/* ===== Card Style ===== */
.program-card {
  background: #fff;
  border-radius: 14px;
  transition: all 0.4s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,168,143,0.15);
}

/* Icon style */
.icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,168,143,0.08);
  border-radius: 50%;
  width: 90px;
  height: 90px;
  transition: all 0.3s ease;
}
.program-card:hover .icon-wrapper {
  background: rgba(0,168,143,0.15);
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(0,168,143,0.25);
}

/* Button modern */
.btn-modern {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 30px;
  border: 2px solid #00a88f;
  color: #00a88f;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-modern:hover {
  background: #00a88f;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,168,143,0.3);
}

/* Responsive spacing */
@media (max-width: 767.98px) {
  .program-section h2 {
    font-size: 1.5rem;
  }
  .program-section p.lead {
    font-size: 1rem;
  }
  .program-section .col-md-6 {
    margin-bottom: 1.5rem;
  }
  .icon-wrapper {
    width: 70px;
    height: 70px;
  }
}


/* ==========================================
   Section: Kontak Kami
   ========================================== */
.contact-section {
  /*background: linear-gradient(135deg, #f8f9fa, #ecfdf8);*/
  position: relative;
  overflow: hidden;
}

.contact-logo img {
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.contact-logo h2 {
  color: #1a1a1a;
  font-weight: 700;
  position: relative;
}
.contact-logo h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: #00a88f;
  border-radius: 2px;
}

.contact-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,168,143,0.15);
}

/* Info */
.contact-info i {
  color: #00a88f;
}
.contact-info a:hover {
  color: #00a88f;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-card {
    padding: 30px 20px;
  }
  .contact-logo img {
    width: 70px;
  }
  .contact-logo h2 {
    font-size: 1.5rem;
  }
}

footer.modern-footer {
  background: #0b0b0b;
  color: #fff;
}
footer .footer-logo {
  max-height: 50px;
}
footer .footer-social a {
  font-size: 1.1rem;
  transition: 0.3s;
}
footer .footer-social a:hover {
  color: #0dcaf0;
}
.footer-bottom {
  background: #080808;
}
