/* Import font */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;600;700&display=swap');

body {
    font-family: 'Figtree', sans-serif;
}

/* ================= NAVBAR ================= */
#mainNavbar {
    transition: all 0.3s ease;
}

#navbarLogo {
    height: 65px;
    transition: 0.3s ease;
}

#mainNavbar.navbar-scrolled {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

#mainNavbar.navbar-scrolled #navbarLogo {
    height: 55px;
}

/* ================= HERO SECTION ================= */
#hero {
    height: 100vh;
    background: linear-gradient(
        rgba(10, 34, 68, 0.45),
        rgba(245, 186, 27, 0.45)
    ),
    url('../asset/guil.png') center/cover no-repeat;
}

.hero-logo {
    height: 120px;
}

@media (max-width: 768px) {
    #navbarLogo {
        height: 40px;
    }

    #mainNavbar.navbar-scrolled #navbarLogo {
        height: 30px;
    }

    .hero-logo {
        height: 80px;
    }
}

/* CTA SECTION */
#ctaSection {
    background: linear-gradient(180deg, #1d4f7e, #1f5b9b, #1c66b4);
    color: white;
}

.cta-text {
    font-size: 2.2rem;
    line-height: 1.4;
}

.cta-btn {
    background-color: #ffcc00 !important;
    border: none;
    font-weight: 600;
    color: #0a3368 !important;
    border-radius: 8px;
    transition: 0.3s ease;
}

.cta-btn:hover {
    transform: translateX(5px);
    opacity: 0.9;
}

/* Responsive */
@media(max-width: 768px) {
    .cta-text {
        font-size: 1.6rem;
        text-align: center;
    }
}

/* LAYANAN SECTION */
#layananKami {
    background: #f6f9fc;
}

.layanan-title {
    color: #0a3368;
    font-size: 2.4rem;
}

.layanan-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.layanan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 12px 28px rgba(0,0,0,0.12);
}

/* IMAGE WRAPPER */
.layanan-img-wrapper {
    background: linear-gradient(135deg, #00d2ff, #0a3368);
    padding: 0px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.layanan-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* CONTENT */
.layanan-content {
    padding: 25px;
}

.layanan-content h4 {
    color: #0a3368;
    font-size: 1.4rem;
}

.layanan-content p {
    font-size: 0.95rem;
}

.layanan-btn {
    background: #0a3368;
    color: white;
    border-radius: 10px;
    padding: 10px 25px;
    font-weight: 600;
    transition: 0.3s ease;
}

.layanan-btn:hover {
    background: #092b57;
    color: white;
}

/* RESPONSIVE */
@media(max-width: 768px) {
    .layanan-img-wrapper {
        height: 180px;
    }
}

#about {
  background: #ffffff;
}

.about-img {
  border-radius: 12px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-title {
  font-family: "Figtree", sans-serif;
  color: #0c2d48;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.about-desc {
  font-family: "Figtree", sans-serif;
  color: #4a4a4a;
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 35px;
}

.about-btn {
  background: #0c2d48;
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.about-btn:hover {
  background: #09304f;
  color: #fff;
}

.arrow {
  font-size: 18px;
  transition: 0.2s ease;
}

.about-btn:hover .arrow {
  transform: translateX(4px);
}

.why-us {
  background: #ffffff;
}

.why-us .section-title {
  font-weight: 700;
  font-size: 32px;
  color: #0a2239;
}

.why-box {
  background: #f8f9fb;
  border: 1px solid #e2e6ea;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: 0.3s ease;
  height: 100%;
}

.why-box:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.why-icon {
  font-size: 48px;
  color: #103a5c;
  margin-bottom: 20px;
}

.why-title {
  font-size: 20px;
  font-weight: 600;
  color: #0a2239;
  margin-bottom: 12px;
}

.why-box p {
  color: #5a6a7a;
  font-size: 15px;
  line-height: 1.6;
}

.news-section {
  background: #eef3f9;
}

.news-title {
  font-size: 32px;
  font-weight: 700;
  color: #0a2239;
}

.news-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.news-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card.no-img {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 30px;
}

.news-body {
  padding: 20px;
}

.news-heading {
  font-size: 18px;
  font-weight: 600;
  color: #0a2239;
  margin-bottom: 12px;
}

.news-link {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: #f0b400;
}

.news-link:hover {
  text-decoration: underline;
}

/* Button */
.btn-more {
  background: #0a2239;
  padding: 12px 26px;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
}

.btn-more:hover {
  opacity: 0.85;
}

.footer-section {
  background: #0c3b69;
  color: #fff;
  position: relative;
  background-image: url("bg-city.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.footer-content {
  position: relative;
  z-index: 2;
}

.footer-logo {
  width: 90px;
  margin-bottom: 10px;
}

.footer-brand {
  font-size: 22px;
  font-weight: 700;
}

.footer-desc {
  margin-top: 10px;
  line-height: 1.5;
}

.footer-title {
  font-size: 22px;
  font-weight: 700;
  color: #f0b400;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer-social a {
  display: inline-block;
  margin-right: 10px;
}

.footer-social i {
  font-size: 24px;
  color: #fff;
  transition: 0.3s;
}

.footer-social i:hover {
  color: #f0b400;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: #0b2f54;
  font-size: 15px;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  right: 25px;
  bottom: 25px;
  background: #25d366;
  color: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: 0.3s;
}

.floating-whatsapp i {
  font-size: 22px;
}

.floating-whatsapp:hover {
  opacity: 0.9;
}
