/* === Global Styles === */
body {
  margin: 0;
  padding: 0 40px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  padding-top: 90px; /* untuk menghindari tertutup header */
}

p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #000;
  margin-bottom: 20px;
  text-align: justify;
}

/* === Header === */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: #c60000;
  color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
}

.logo {
  width: 150px;
  height: auto;
  flex-shrink: 0;
}

.nav {
  display: flex;
  gap: 25px;
  margin-left: auto;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #ffcccc;
}

/* === Burger Menu === */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.burger span {
  height: 3px;
  width: 25px;
  background-color: #fff; /* <-- UBAH INI: Warna burger span menjadi putih */
  border-radius: 2px;
}

@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #c60000; /* <-- UBAH INI: Warna latar belakang navigasi menjadi warna header */
    padding: 10px 20px;
    border-top: 1px solid #c60000; /* Ini bisa Anda biarkan atau ubah sesuai keinginan */
    text-align: right;
    z-index: 9999;
  }

  .nav.show {
    display: flex;
  }

  .burger {
    display: flex;
  }
}

/* --- Footer --- */
.site-footer {
    background-color: #c60000;
    color: #fff;
    padding: 40px 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-top: 1px solid #c60000;
    margin-top: 40px;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: auto;
    margin: 0 auto;
    padding: 0 40px;
    /* --- Perubahan di sini: Mengurangi gap --- */
    gap: 50px; /* Mengurangi jarak antar kolom dari 30px menjadi 20px */
}

.footer-section {
    flex: 1;
    /* --- Perubahan di sini: Menyesuaikan min-width --- */
    min-width: 220px; /* Sedikit mengurangi lebar minimum agar lebih fleksibel */
    /* Jika konten sangat ringkas, bisa juga coba 200px */
}

.footer-section h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: bold;
}

.footer-section p, .footer-section ul {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 10px;
    color: #ffffff;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

.footer-section.contact p i {
    margin-right: 8px;
    color: #ffffff;
}

.footer-section.map iframe {
    border: 1px solid #c60000;
    border-radius: 8px;
    width: 100%;
    height: 180px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #c60000;
    font-size: 0.9em;
}

.footer-bottom p {
    color: #ffffff;
    margin: 0;
    text-align: center;
    font-size:0.9em;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px; /* Jarak antar link */
  padding: 15px 0;
  background-color: #c60000; /* warna latar belakang footer */
}

.footer-links a {
  color: white; /* warna teks */
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline; /* efek hover */
}


/* Penyesuaian Responsif untuk footer */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 20px;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 20px;
        /* --- Perubahan di sini: Mengurangi gap pada mobile juga --- */
        gap: 15px; /* Sedikit mengurangi gap antar section saat mobile */
    }

    .footer-section {
        min-width: 90%;
        margin-bottom: 20px; /* Jarak antar section tetap dikelola oleh margin-bottom ini */
    }
    .footer-section h3 {
        margin-bottom: 10px;
    }
    .footer-section ul {
        margin-bottom: 20px;
    }
}

/* === Video Background === */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.3;
  pointer-events: none;
}

/* === Typography === */
h1 {
  font-size: 1.8rem;
  color: #c60000;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

h2 {
  font-size: 2rem;
  text-align: center;
  color: #c60000;
  margin-top: 40px;
  margin-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 5px;
}

h3 {
  font-size: 1.3rem;
  color: #c60000;
  margin-top: 30px;
  margin-bottom: 10px;
  font-weight: 600;
}

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #000;
}

ul li::marker,
ol li::marker {
  color: #c60000;
  font-weight: bold;
}

.pricing-benefit p > ul,
.pricing-benefit p > ol {
  margin-top: 8px;
  margin-bottom: 8px;
  padding-left: 1.5rem;
}

.pricing-benefit p > ul li,
.pricing-benefit p > ol li {
  margin-bottom: 4px;
  font-size: 1rem;
  line-height: 1.6;
}

.pricing-benefit ul {
  list-style: none;
  padding-left: 1.5rem;
  margin-top: 1rem;
  text-align: left;
}

.pricing-benefit ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.6;
}

.pricing-benefit ul li::before {
  content: '✔';
  color: #c60000; /* Warna merah brand IndiHome */
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0.1em;
}


/* === Tabel Paket === */
.tabel-paket {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  font-size: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.tabel-paket thead {
  background-color: #c60000;
  color: #fff;
}

.tabel-paket th, .tabel-paket td {
  padding: 16px;
  text-align: center;
}

.tabel-paket tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.tabel-paket tbody tr:hover {
  background-color: #ffe5e5;
  transition: background-color 0.3s ease;
}

/* === Whatsapp Button === */
.whatsapp-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  background-color: #25D366;
  color: white;
  font-weight: bold;
  padding: 10px 16px;
  border-radius: 30px;
  text-decoration: none;
  font-family: sans-serif;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.whatsapp-button:hover {
  background-color: #1ebe5b;
}

.whatsapp-button img {
  height: 24px;
  width: 24px;
  margin-right: 8px;
}

/* === Section Karir === */
.karir-hero {
  position: relative;
  background: url('https://indihomebytelkomsel.com/assets/images/bg-rekrutmen.jpg') center center / cover no-repeat;
  min-height: 70vh;
  width: 100%;
  overflow: hidden;
}

.karir-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(198, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 40px;
  box-sizing: border-box;
}

.karir-hero-content {
  color: #fff;
  max-width: 700px;
  animation: fadeSlideUp 1s ease;
  z-index: 2;
  position: relative;
}

.karir-hero-content h1,
.karir-hero-content p {
  color: #fff;
  text-align: left;
}

/* === Tombol Apply === */
.apply-button {
  display: inline-block;
  background-color: #c60000;
  color: #fff;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.apply-button:hover {
  background-color: #a00000;
  transform: translateY(-2px);
}

/* === Testimoni === */
.testimoni-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .testimoni-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.testimoni-card {
  background-color: #fff;
  border-left: 5px solid #c60000;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.testimoni-card p {
  font-style: italic;
  color: #000;
}

.testimoni-card strong {
  color: #c60000;
}

/* === Pricing Section === */
.pricing-section {
  padding: 20px;
  text-align: center;
}

.pricing-section h2 {
  color: #c60000;
  font-size: 2rem;
  margin-bottom: 40px;
}

.pricing-grid {
  display: grid;
  gap: 30px;
  max-width: auto;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pricing-card {
  background-color: #fff;
  border: 2px solid #ddd;
  border-radius: 15px;
  padding: 25px 15px;
  position: relative;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.pricing-card.highlight {
  border-color: #c60000;
  background-color: #fff5f5;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #c60000;
}

.price {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.price-note {
  font-size: 12px;
  font-style: italic;
  color: #777;
  margin-top: -20px;
  margin-bottom: 20px;
  text-align: center;
}

.price-benefit {
  font-size: 14px;
  color: #000;
  margin-bottom: 10px;
  text-align: left;
}

.btn-order {
  display: inline-block;
  background-color: #c60000;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-order:hover {
  background-color: #a00000;
}

/* === Label & Badge === */
.label-badge {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #ff3c00;
  color: white;
  font-weight: bold;
  padding: 6px 12px;
  border-bottom-right-radius: 8px;
  font-size: 13px;
  animation: pulse 1.5s infinite;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 10;
}

.ribbon {
  width: 120px;
  height: 120px;
  overflow: hidden;
  position: absolute;
  top: -10px;
  left: -10px;
}

.ribbon span {
  position: absolute;
  display: block;
  width: 160px;
  padding: 8px 0;
  background-color: #ff3c00;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  transform: rotate(-45deg);
  top: 30px;
  left: -40px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  animation: ribbonPulse 2s infinite ease-in-out;
}

.badge-circle {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #ffc107, #ff9800);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 11px;
  animation: floatBadge 2s ease-in-out infinite;
  z-index: 10;
  padding: 6px;
  text-align: center;
}

.badge-circle img {
  width: 32px;
  height: auto;
  margin-bottom: 4px;
}

/* === Animations === */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes ribbonPulse {
  0%, 100% { transform: rotate(-45deg) scale(1); }
  50% { transform: rotate(-45deg) scale(1.05); }
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
