/* 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( 90deg,
        rgba(8, 70, 158, 0.45),
        rgba(217, 54, 0, 0.664)
    ),
    url('https://t3.ftcdn.net/jpg/04/96/48/04/360_F_496480434_VtvDbJ3I7u3UHi2pkQuaTahV2TegLfCd.jpg') 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: #ff640e !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;
  color: #020617 !important;
}

.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;
}

/* SECTION BASE */
.about-section {
  background-color: #ff640e; /* kuning seperti gambar */
}

/* TEXT STYLES */
.about-label {
  font-weight: 600;
  letter-spacing: 1px;
  color:#020617 !important;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 800;
  color:#020617 !important;
  line-height: 1.2;
}

.about-desc {
  font-size: 1rem;
  color:#020617 !important;
  line-height: 1.7;
  max-width: 520px;
}

/* BUTTON */
.about-btn {
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* IMAGE STYLES */
.main-image {
  border-radius: 8px;
  max-width: 100%;
}

.secondary-image {
  border-radius: 8px;
  max-width: 240px;
  position: absolute;
  bottom: -40px;
  left: -40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .secondary-image {
    position: static;
    margin-top: 20px;
    max-width: 200px;
  }

  .about-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .about-title {
    font-size: 1.7rem;
  }

  .about-desc {
    font-size: 0.95rem;
  }
}

/* SECTION BASE */
.products-section {
  background-color: #ffffff;
}

/* TITLE */
.products-title {
  font-weight: 800;
  letter-spacing: 1px;
  color: #0f172a;
}

.products-divider {
  width: 120px;
  height: 2px;
  background-color: #0f172a;
  margin-top: 12px;
}

/* PRODUCT CARD */
.product-card {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 36px 26px;
  box-shadow:
    0 10px 30px rgba(15, 23, 42, 0.08),
    0 2px 6px rgba(15, 23, 42, 0.05);
  transition: all 0.35s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 20px 45px rgba(15, 23, 42, 0.14),
    0 6px 14px rgba(15, 23, 42, 0.08);
}

/* IMAGE */
.product-image {
  max-height: 260px;
  object-fit: contain;
}

/* NAME */
.product-name {
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.6px;
}

/* BUTTON */
.product-btn {
  background-color: #f7c928;
  color: #0f172a;
  border-radius: 999px;
  padding: 10px 28px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  box-shadow: 0 6px 18px rgba(247, 201, 40, 0.45);
  transition: all 0.3s ease;
}

.product-btn:hover {
  background-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.35);
}

/* RESPONSIVE */
@media (max-width: 576px) {
  .product-image {
    max-height: 220px;
  }

  .products-title {
    font-size: 1.5rem;
  }
}
/* VIEW ALL PRODUCTS BUTTON */
.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #0f172a;
  text-decoration: none;
  padding-bottom: 4px;
  position: relative;
  transition: all 0.3s ease;
}

/* underline elegant */
.view-all-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #0f172a;
  transition: width 0.3s ease;
}

.view-all-btn:hover::after {
  width: 100%;
}

.view-all-btn:hover {
  color: #0f172a;
}

.view-all-btn i {
  transition: transform 0.3s ease;
}

.view-all-btn:hover i {
  transform: translateX(4px);
}

/* ICON STYLE */
.products-section .bi {
  font-size: 2.6rem;
  color: #334155 !important; /* slate dark */
  background: linear-gradient(145deg, #f8fafc, #e2e8f0);
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  transition: all 0.35s ease;
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* HOVER EFFECT */
.products-section .product-card:hover .bi {
  color: #ffffff !important;
  background: linear-gradient(135deg, #0f766e, #0891b2);
  transform: translateY(-6px) scale(1.05);
  box-shadow:
    0 20px 40px rgba(15, 118, 110, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* OPTIONAL: ICON SMOOTH ON MOBILE */
@media (hover: none) {
  .products-section .product-card:hover .bi {
    transform: none;
  }
}

/* SECTION BASE */
.why-us-section {
  background-color: #f5f8fb; /* light bluish grey seperti gambar */
}

/* TITLE */
.why-title {
  font-weight: 800;
  letter-spacing: 1px;
  color: #0f172a;
}

.why-subtitle {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto;
}

/* CARD */
.why-card {
  background: transparent;
  padding: 32px 24px;
  transition: all 0.35s ease;
}

.why-card:hover {
  transform: translateY(-8px);
}

/* ICON */
.why-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon i {
  font-size: 4.5rem;
  color: #ffbf4d; /* warm yellow/orange */
}

/* TEXT */
.why-card-title {
  font-weight: 700;
  color: #0f172a;
}

.why-card-text {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.7;
  max-width: 320px;
  margin: 0 auto;
}

/* RESPONSIVE */
@media (max-width: 576px) {
  .why-icon i {
    font-size: 3.8rem;
  }

  .why-title {
    font-size: 1.6rem;
  }
}

/* SECTION BASE */
.cta-section {
  background-color: #ffffff;
}

/* WRAPPER */
.cta-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

/* TITLE */
.cta-title {
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

/* SUBTITLE */
.cta-subtitle {
  color: #475569;
  font-size: 0.95rem;
}

/* BUTTONS */
.cta-buttons .btn {
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

/* PRIMARY BUTTON */
.cta-btn-primary {
  background-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
}

.cta-btn-primary:hover {
  background-color: #020617;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.35);
}

/* WHATSAPP BUTTON */
.cta-btn-whatsapp {
  background-color: #5ecf72;
  color: #0f172a;
  box-shadow: 0 10px 30px rgba(94, 207, 114, 0.35);
}

.cta-btn-whatsapp:hover {
  background-color: #4fbf64;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(94, 207, 114, 0.45);
}

/* RESPONSIVE */
@media (max-width: 576px) {
  .cta-title {
    font-size: 1.4rem;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== EXPIRED MODAL STYLE ===== */
#expiredModal .modal-content {
  background: linear-gradient(135deg, #ffb6a5 0%, #ff8c42 100%);
  border: none;
  border-radius: 18px;
  color: #2b1b10;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

/* HEADER */
#expiredModal .modal-header {
  border-bottom: none;
}

#expiredModal .modal-title {
  font-weight: 800;
  font-size: 1.25rem;
  color: #2b1b10;
}

/* Close button lebih soft */
#expiredModal .btn-close {
  filter: invert(1);
  opacity: 0.6;
}

#expiredModal .btn-close:hover {
  opacity: 1;
}

/* BODY */
#expiredModal .modal-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #3b2617;
}

#expiredModal .modal-body strong {
  color: #1f120a;
}

/* FOOTER */
#expiredModal .modal-footer {
  border-top: none;
  gap: 10px;
}

/* WhatsApp Button */
#expiredModal .btn-success {
  background-color: #1faa59;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(31, 170, 89, 0.4);
  transition: all 0.3s ease;
}

#expiredModal .btn-success:hover {
  background-color: #168f4a;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(31, 170, 89, 0.55);
}

/* Secondary Button */
#expiredModal .btn-secondary {
  background-color: rgba(255, 255, 255, 0.3);
  color: #2b1b10;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

#expiredModal .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.45);
}
