/* ================= NAVBAR ================= */
.navbar {
  z-index: 1050;
  background-color: white;
  color: #000;
}

/* Dropdown ikut rapi */
.navbar-scrolled .dropdown-menu {
  margin-top: 10px;
}

.navbar-dark .nav-link {
  color: rgba(255, 255, 255, 0.9);
}

.navbar-dark .nav-link:hover {
  color: #fff;
}

/* ================= HERO ================= */
.hero-edu {
  min-height: 110vh;
  padding-top: 30px;
  position: relative;
  overflow: hidden;

  /* === DISDIK STYLE BACKGROUND === */
  background: url("img/ft.svg"); /* FOTO KOTA / GEDUNG */
  background-size: cover;
  background-position: center;
}

/* ================= TEXT ================= */
.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 2px; /* kecil & aman */
}

/* @media (min-width: 992px) { */
  /* .hero-title { */
    /* font-size: 2.8rem; */
    /* font-weight: 800; */
    /* line-height: 1.2; */
    /* margin-bottom: 10px; */ /* default h1 terlalu besar */ 
    /* margin-top: 4px; */
  /* } */
/* } */

.hero-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  margin-top: 0; /* ini kunci */
}

/* ================= BADGE ================= */
.hero-badge {
  background: #f59e38;
  color: #f8f8f8;
  padding: 8px 18px; /* sebelumnya 20px 25px (TERLALU BESAR) */
  border-radius: 8px; /* pill */
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px; /* KUNCI: kecilkan jarak */
  display: inline-block;
  line-height: 1.2;
}

/* ================= IMAGE (ORANG) ================= */
.hero-image {
  max-height: 460px;
  position: relative;
  z-index: 2;
}

/* ========================CARD================ */
/* ================= NEWS CARD ================= */
.news-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  height: 420px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  transform: scale(1.08);
}

.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.news-card:hover .news-overlay {
  background: linear-gradient(to top, rgba(219, 193, 1, 0.95), /* #dbc101 - kuat di bawah */ rgba(219, 193, 1, 0.55), rgba(219, 193, 1, 0.15));
}
/* overlay gelap bawah */
.news-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.25), transparent);
}

/* konten */
.news-content {
  position: absolute;
  bottom: 0;
  padding: 22px;
  color: #fff;
  z-index: 2;
}

/* meta */
.news-meta {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-bottom: 8px;
  display: flex;
  gap: 12px;
}

.news-meta i {
  margin-right: 4px;
}

/* judul */
.news-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

/* share icon */
.news-share {
  position: absolute;
  right: 20px;
  bottom: 20px;
  color: #fff;
  font-size: 1.2rem;
  opacity: 0.85;
}

.news-share:hover {
  opacity: 1;
}
/*========================footer
/* ===== FOOTER WRAPPER ===== */
/* ================= FOOTER ================= */
.footer-main {
  background: #12131d;
  color: #ffffff;
  border-radius: 28px;
  margin: 40px 20px;
}

/* link footer */
.footer-main a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.footer-main a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* mobile */
@media (max-width: 768px) {
  .footer-main {
    border-radius: 18px;
    margin: 20px 12px;
  }
}

/* ================= SERVICE CARD ================= */
.service-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 26px;
  height: 100%;

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* hover lembut (beda dari berita) */
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

/* wrapper logo */
.service-logo {
  width: 88px;
  height: 88px;
  border-radius: 16px;

  background: #f8f8f8;
  border: 1px solid #eee;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 18px;
}

/* logo image */
.service-logo img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

/* judul */
.service-title {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #2b2b2b;
}

/* deskripsi */
.service-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* link */
.service-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: #dbc101;
  text-decoration: none;
}

.service-link:hover {
  text-decoration: underline;
}
/* ===== FOOTER SOCIAL ===== */
.footer-social i {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-social a:hover i {
  color: #ffffff;
  transform: translateY(-2px);
}
/* WRAPPER */
.logo-slider {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
}

/* TRACK */
.slide-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: scroll 30s linear infinite;
}

/* LOGO */
.slide-track img {
  width: 250px;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

/* ANIMASI */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* WRAPPER */
.gallery-wrapper {
  overflow: hidden;
  padding: 10px 0 20px;
}

/* TRACK */
.gallery-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: scrollGallery 35s linear infinite;
}

/* ITEM GALERI */
.gallery-item {
  width: 520px; /* ⬅️ BESAR */
  height: 300px; /* ⬅️ TINGGI */
  border-radius: 22px;
  overflow: hidden;
  flex-shrink: 0;
}

/* GAMBAR */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ANIMASI */
@keyframes scrollGallery {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.btn-lihat-berita {
  font-weight: 600;
  color: rgb(224, 191, 4); /* sesuaikan warna brand */
  text-decoration: none;
  padding: 0;
}

.btn-lihat-berita:hover {
  color: #a19030;
  text-decoration: underline;
}
.profil-image-wrapper img {
  object-fit: cover;
  max-height: 420px;
}

@media (max-width: 768px) {
    .hero-edu {
  min-height: 90vh;
  margin-top: -100px;
  position: relative;
  overflow: hidden;

        /* background: red !important; */
		background-image: url("img/ft-mobile.png") !important;
		background-position: center;
		background-size: 150% 70%;
		background-repeat: no-repeat;
    }
	
.hero-title {
  position: absolute;
  padding-top:120px !important;
  color:black;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1;

}

.hero-subtitle {
  position: absolute;
  font-size: 1rem;
  color:black;
  opacity: 0.9;
  padding-top: 230px !important; /* ini kunci */
}
}



