/* Global */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background: #f4f7fb;
}

/* Header */
.main-header {
  background-color: #ffffff;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  color: #003366;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #0077cc;
}

.hamburger {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    flex-direction: column;
    background: #fff;
    width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
    color: #003366;
  }
}


/* Hero Section */
.kredit-hero {
  color: black;
  padding: 5px 20px;
  text-align: center;
}

.kredit-hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.kredit-hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Penawaran Kredit */
.kredit-penawaran {
  padding: 60px 20px;
  text-align: center;
  background-image: url('../img/background/digital-marketing.jpeg');
  background-position: center;
  background-size: cover;
}

.kredit-penawaran h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.kredit-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}

.kredit-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.kredit-card:hover {
  transform: translateY(-5px);
}

.kredit-card h3 {
  color: #003399;
  margin-bottom: 10px;
}

.kredit-card p {
  font-size: 0.95rem;
}

/* Keunggulan */
.kredit-keunggulan {
  background: #eaf0fb;
  padding: 60px 20px;
  text-align: center;
}

.kredit-keunggulan h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.kredit-keunggulan-list {
  list-style: none;
  padding: 0;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.kredit-keunggulan-list li {
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
}

/* Footer */
.kredit-footer {
  text-align: center;
  padding: 1px;
  background: #003399;
  color: white;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .kredit-hero-content h1 {
    font-size: 2rem;
  }

  .kredit-penawaran h2,
  .kredit-keunggulan h2 {
    font-size: 1.5rem;
  }
}


.simulasi-button-container {
  text-align: center;
  margin: 40px 0;
}

.simulasi-button {
  display: inline-block;
  background-color: #0055cc;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.simulasi-button:hover {
  background-color: #003399;
}


/* tabel angsuran */

.tabel-angsuran {
  padding: 60px 20px;
  background-color: #f4f8ff;
  color: #333;
  text-align: center;
}

.tabel-angsuran h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.tabel-angsuran p {
  margin-bottom: 20px;
  font-size: 1rem;
  color: #555;
}

.table-container {
  overflow-x: auto;
}

.table-container table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.table-container th,
.table-container td {
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 0.95rem;
}

.table-container th {
  background-color: #003399;
  color: white;
  position: sticky;
  top: 0;
}

.table-container tr:nth-child(even) {
  background-color: #eef3ff;
}



/* persyaratan kredit */

.section-persyaratan {
  padding: 50px 20px;
  background-color: #f4f9ff;
  color: #333;
  font-family: 'Segoe UI', sans-serif;
}

.section-persyaratan h2 {
  text-align: center;
  color: #003399;
  font-size: 2rem;
  margin-bottom: 20px;
}

.section-persyaratan h3 {
  color: #003366;
  font-size: 1.25rem;
  margin-top: 30px;
}

.section-persyaratan p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: justify;
}

.section-persyaratan .note {
  background: #eaf4ff;
  border-left: 4px solid #003399;
  padding: 15px;
  font-style: italic;
}


/* marketing */

.marketing-section {
  padding: 60px 20px;
  background-image: url('../../asset/img/background/office.jpeg');
  background-size: cover;
  text-align: center;
}

.marketing-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: yellow;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.head-marketing-card {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.marketing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.marketing-card {
  background-image: url('../../asset/img/logo.png');
  color: white;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  width: 200px;
  padding: 20px;
  transition: transform 0.3s;
}

.marketing-card:hover {
  transform: translateY(-5px);
}

.marketing-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.marketing-info h4 {
  margin: 0 0 5px;
  font-size: 1.1rem;
  color: red;
  background: #003399;
}

.marketing-info a {
  text-decoration: none;
  color: white;
  background: #003399;
}

.badge {
  background: #004aad;
  color: white;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 768px) {
  .marketing-card {
    width: 100%;
    max-width: 300px;
  }
}


/* Sim-Kredit */

#simulasiBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 12px 20px;
  background-color: #003399;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
  display: none;
  z-index: 9999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#simulasiBtn:hover {
  background-color: #001f66;
  transform: translateY(-3px);
}