/* --- Global --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #f9f9f9;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* --- Header --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 0;
  background: #f9f9f9;         /* supaya tidak transparan */
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 999;  
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 45px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

/* Navbar dasar */
.nav-links li a {
  color: #000; /* warna hitam normal */
  text-decoration: none;
  display: flex;
  font-weight: 500;
  transition: color 0.2s ease;
  }

/* Hover effect */
.nav-links li a:hover {
  color: #555; /* warna abu-abu lebih redup */
  display: flex;
  }

.nav-buttons {
  display: flex;
  gap: 10px;
}

.btn-outline {
  border: 2px solid #c8102e;
  color: #c8102e;
  padding: 6px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn-outline:hover {
  transform: scale(1.05);
  background: #c8102e;
  color: white;
}

.btn-primary {
  border: 2px solid #c8102e;
  background: #c8102e;
  color: white;
  padding: 6px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn-primary:hover {
  transform: scale(1.05);
  background: #fff;
  color: #c8102e;
}

/* --- RESPONSIVE --- */
/* NEW: Tambahkan hamburger menu styling */
.hamburger {
  display: none; /* sembunyikan di desktop */
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #000;
  border-radius: 3px;
  transition: 0.3s;
}

/* --- UPDATE: Tambahan helper class --- */
.mobile-only {
  display: none;
}

.desktop-only {
  display: flex;
}

/* NEW: Styling untuk nav di mobile */
@media (max-width: 768px) {
  nav ul {
    position: absolute;
    top: 65px; /* di bawah header */
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 15px;
    background: #f9f9f9;
    padding: 20px;
    transform: translateY(-120%);
    transition: transform 0.3s ease-in-out;
  }
  
  .nav-links .mobile-only a {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 5px;
  }

  nav ul.show { /* ketika menu aktif */
    transform: translateY(0);
  }

  .nav-buttons {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .hamburger {
    display: flex; /* tampilkan hamburger */
  }
  
   /* --- UPDATE: sembunyikan tombol desktop, tampilkan mobile --- */
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  /* --- UPDATE: style tombol di hamburger menu --- */
  .nav-links .btn-outline,
  .nav-links .btn-primary {
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
  }
  
  .nav-links .mobile-only .btn-outline {
    color: #c8102e;
  }
  
  .nav-links .mobile-only .btn-outline:hover {
	color: white;
	display: flex;
	align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  
  .nav-links .mobile-only .btn-primary {
    color: #fff;
	border: 2px solid #c8102e;
  }
  
  .nav-links .mobile-only .btn-primary:hover {
	background: #fff; 
	color: #c8102e;
	display: flex;
	align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
}

body {
  padding-top: 80px; /* sama dengan tinggi header */
}

/* --- Hero Section --- */
.hero {
  display: flex;
  align-items: center;
  background: linear-gradient(to right, rgba(200, 16, 46, 1) 0%, rgba(200, 16, 46, 0) 100%);
  padding: 60px 0;
  color: white;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  flex: 1 1 45%;
}

.hero-text h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 40px;
  line-height: 1.5;
}

.cta-btn {
  display: inline-block;
  background: white;
  color: #c8102e;
  padding: 12px 28px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid #ffffff;
  transition: 0.3s;
}

.cta-btn:hover {
  transform: scale(1.05);
  background: #c8102e;
  color: white;
}

.hero-image {
  flex: 1 1 45%;
  text-align: right;
}

.hero-image img {
  max-width: 100%;
  border-radius: 12px;
  transform: translateX(63px); /* geser 50px ke kiri */
}

/* Tombol animasi bergoyang */
@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(2deg); }
  50% { transform: rotate(-2deg); }
  75% { transform: rotate(1deg); }
}

/* Animasi Fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-right{
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.visible-right {
  opacity: 1;
  transform: translateX(0);
}

/* --- Responsive Tablet --- */
@media (max-width: 991px) {
  .hero {
    padding: 40px 20px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    flex: 1 1 100%;
    margin-bottom: 20px;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-image {
    flex: 1 1 100%;
    text-align: center;
  }

  .hero-image img {
    max-width: 100%;
	transform: translateX(50px); /* geser 63px ke kiri */
  }
}

/* --- Responsive Mobile --- */
@media (max-width: 600px) {
  .hero {
    padding: 60px 15px;
  }

  .hero-text h1 {
    font-size: 25px;
  }

  .hero-text p {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }

  .cta-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .hero-image img {
    max-width: 100%;
    border-radius: 8px;
	transform: translateX(30px); /* geser 63px ke kiri */
  }
}
  
/* DEFINITION SECTION */
.definition {
  background: #c8102e;
  color: #fff;
  text-align: center;
  padding: 20px 40px;
  font-size: 16px;
}

/* Features */
.features {
  text-align: center;
  padding: 60px 30px;
  background: #f9f9f9;
}

.features h2 {
  font-size: 24px;
  margin-bottom: 40px;
}

.features h2 span {
  color: #c8102e;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 30px 20px;
  transition: transform .2s ease-in-out;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card img {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
}

.feature-card h3 {
  margin-bottom: 10px;
  color: #333;
  font-size: 13px;
}

/* --- Business Section --- */
.business {
  padding: 30px 0;
  background: #f9f9f9;
}

.business-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.business-image {
  flex: 1 1 45%;
}

.business-image img {
  max-width: 100%;
  transform: translateX(-63px); /* geser 63px ke kiri */
}

.business-text {
  flex: 1 1 45%;
}

.business-text h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #c8102e;
}

.business-text p {
  margin-bottom: 25px;
  color: #555;
}

.business-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 15px;
}

.icon-box {
  background: #f1f6ff;
  color: #007bff;
  font-weight: 500;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
}

/* --- Jaringan Gudang Section --- */
.jaringangudang {
  padding: 80px 0;
  background: #f9f9f9;
}

.jaringangudang-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.jaringangudang-text {
  flex: 1 1 45%;
}

.jaringangudang-text h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #c8102e;
}

.jaringangudang-text p {
  margin-bottom: 25px;
  color: #555;
}

.jaringangudang-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 15px;
}

.jaringangudang-image {
  flex: 1 1 45%;
  text-align: center;
}

.jaringangudang-image img {
  max-width: 100%;
  border-radius: 12px;
  transform: translateX(60px); /* geser 63px ke kanan */
}

/* --- automation Section --- */
.automation {
  padding: 30px 0;
  background: #f9f9f9;
}

.automation-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.automation-image {
  flex: 1 1 45%;
}

.automation-image img {
  max-width: 100%;
  transform: translateX(-63px); /* geser 63px ke kiri */
}

.automation-text {
  flex: 1 1 45%;
}

.automation-text h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #c8102e;
}

.automation-text p {
  margin-bottom: 25px;
  color: #555;
}

.automation-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 15px;
}

.icon-box {
  background: #f1f6ff;
  color: #007bff;
  font-weight: 500;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
}

/* --- sameday Section --- */
.sameday {
  padding: 80px 0;
  background: #f9f9f9;
}

.sameday-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.sameday-text {
  flex: 1 1 45%;
}

.sameday-text h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #c8102e;
}

.sameday-text p {
  margin-bottom: 25px;
  color: #555;
}

.sameday-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 15px;
}

.sameday-image {
  flex: 1 1 45%;
  text-align: center;
}

.sameday-image img {
  max-width: 100%;
  border-radius: 12px;
  transform: translateX(60px); /* geser 63px ke kanan */
}

/* --- datadriven Section --- */
.datadriven {
  padding: 30px 0;
  background: #f9f9f9;
}

.datadriven-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.datadriven-image {
  flex: 1 1 45%;
}

.datadriven-image img {
  max-width: 100%;
  transform: translateX(-63px); /* geser 63px ke kiri */
}

.datadriven-text {
  flex: 1 1 45%;
}

.datadriven-text h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #c8102e;
}

.datadriven-text p {
  margin-bottom: 25px;
  color: #555;
}

.datadriven-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 15px;
}

.icon-box {
  background: #f1f6ff;
  color: #007bff;
  font-weight: 500;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
}

/* --- General Section Spacing --- */
.jaringangudang,
.automation,
.sameday {
  padding-top: 10px;  /* lebih kecil dari sebelumnya */
  padding-bottom: 10px;
}

.business {
  padding-top: 30px;  /* lebih kecil dari sebelumnya */
  padding-bottom: 10px;
}

.datadriven {
  padding-top: 10px;  /* lebih kecil dari sebelumnya */
  padding-bottom: 30px;
}

.fade-in-right{
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.visible-right {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-left{
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.visible-left {
  opacity: 1;
  transform: translateX(0);
}

/* --- Responsive CSS --- */

/* Tablet (max-width 1024px) */
@media (max-width: 1024px) {
  .business-content,
  .jaringangudang-content,
  .automation-content,
  .sameday-content,
  .datadriven-content {
    flex-direction: column;
    text-align: center;
  }

  .business-image img,
  .jaringangudang-image img,
  .automation-image img,
  .sameday-image img,
  .datadriven-image img {
    transform: none; /* reset posisi geser */
    margin: 0 auto;
  }

  .business-text,
  .jaringangudang-text,
  .automation-text,
  .sameday-text,
  .datadriven-text {
    flex: 1 1 100%;
    text-align: center;
  }

  .business-text h2,
  .jaringangudang-text h2,
  .automation-text h2,
  .sameday-text h2,
  .datadriven-text h2 {
    font-size: 24px;
  }

  .business-text p,
  .jaringangudang-text p,
  .automation-text p,
  .sameday-text p,
  .datadriven-text p {
    font-size: 15px;
  }
}

/* Mobile (max-width 768px) */
@media (max-width: 768px) {
  .business,
  .jaringangudang,
  .automation,
  .sameday,
  .datadriven {
    padding: 40px 15px;
  }

  .business-icons,
  .jaringangudang-icons,
  .automation-icons,
  .sameday-icons,
  .datadriven-icons {
    grid-template-columns: 1fr; /* ikon 1 kolom */
  }

  .business-text h2,
  .jaringangudang-text h2,
  .automation-text h2,
  .sameday-text h2,
  .datadriven-text h2 {
    font-size: 20px;
  }

  .icon-box {
    font-size: 14px;
    padding: 10px;
  }
}

/* Extra Small (max-width 480px) */
@media (max-width: 480px) {
  .business-text h2,
  .jaringangudang-text h2,
  .automation-text h2,
  .sameday-text h2,
  .datadriven-text h2 {
    font-size: 18px;
  }

  .business-text p,
  .jaringangudang-text p,
  .automation-text p,
  .sameday-text p,
  .datadriven-text p {
    font-size: 14px;
  }

  .icon-box {
    font-size: 13px;
    padding: 8px;
  }
}


.kategori-produk {
  padding: 30px 20px;
  text-align: center;
}

.kategori-produk h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 50px;
  color: #c8102e;
}

.kategori-produk p {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

.kategori-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.kategori-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 20px;
  transition: transform 0.2s ease;
}

.kategori-card:hover {
  transform: translateY(-5px);
}

.kategori-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.kategori-card h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #c8102e;
}

.kategori-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

.kategori-grid-produk {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  justify-items: center; /* centerkan semua item */
}

/* Atur hanya card terakhir di grid ini */
.kategori-grid-produk .kategori-card:last-child {
  grid-column: 2; /* center di bawah card tengah */
}

/* ====== RESPONSIVE ====== */

/* Tablet (max-width 1024px) */
@media (max-width: 1024px) {
  .kategori-produk h2 {
    font-size: 24px;
    margin-bottom: 40px;
  }
  .kategori-produk p {
    font-size: 15px;
  }
  .kategori-card {
    padding: 18px;
  }
  .kategori-grid-produk .kategori-card:last-child {
    grid-column: auto; /* biar tetap fleksibel di tablet */
  }
}

/* HP (max-width 768px) */
@media (max-width: 768px) {
  .kategori-produk h2 {
    font-size: 20px;
    margin-bottom: 30px;
  }
  .kategori-produk p {
    font-size: 14px;
    margin-bottom: 25px;
  }
  .kategori-card h3 {
    font-size: 16px;
  }
  .kategori-card p {
    font-size: 13px;
  }
  .kategori-grid,
  .kategori-grid-produk {
    grid-template-columns: 1fr; /* 1 kolom di layar kecil */
  }
  .kategori-grid-produk .kategori-card:last-child {
    grid-column: auto; /* biar tidak ganggu layout di mobile */
  }
}

.benefits-section {
  text-align: center;
  padding: 70px 20px;
  background: #f9f9f9;
}

.benefits-section h2 {
  color: #c8102e;
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 10px;
}

.benefits-section .subtitle {
  color: #666;
  font-size: 16px;
  margin-bottom: 50px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.benefit-card {
  text-align: center;
  padding: 20px;
}

.benefit-card .icon {
  margin-bottom: 15px;
}

.benefit-card img {
  width: 50px;
  height: 50px;
}

.benefit-card h3 {
  font-size: 18px;
  font-weight: bold;
  color: #c8102e;
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

/* Responsif untuk tablet */
@media (max-width: 992px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

/* Responsif untuk HP */
@media (max-width: 600px) {
  .benefits-section h2 {
  color: #c8102e;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}
.benefits-section .subtitle {
  color: #666;
  font-size: 14px;
  margin-bottom: 50px;
}
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .benefit-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}
}

.testimoni-section {
  text-align: center;
  padding: 30px 20px;
  background: #f9f9f9;
}

.testimoni-section h2 {
  color: #c8102e;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 5px;
}

.testimoni-section h3 {
  color: #c8102e;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 40px;
}

.testimoni-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* default 2 kolom */
  gap: 25px;
  max-width: 600px;
  margin: 0 auto;
  align-items: start;
}

.testimoni-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px 20px 40px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  position: relative;
  text-align: center;
  transition: transform 0.3s;
}

.testimoni-card:hover {
  transform: translateY(-5px);
}

.testimoni-card p {
  font-size: 15px;
  color: #333;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimoni-card .avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.testimoni-card h4 {
  font-size: 16px;
  font-weight: bold;
  color: #c8102e;
  margin: 5px 0;
}

.testimoni-card span {
  font-size: 14px;
  color: #777;
}

/* HP: 1 kolom */
@media (max-width: 600px) {
	.testimoni-section h2 {
  color: #c8102e;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.testimoni-section h3 {
  color: #c8102e;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 40px;
}
  .testimoni-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Section*/
.contact-section {
  background: #f9f9f9;
  padding: 60px 20px;
}

.contact-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.contact-info {
  flex: 1;
}

.contact-info h2 {
  font-size: 36px;
  font-weight: 700;
  color: #c8102e;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 16px;
  color: #444;
  margin-bottom: 15px;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 2px solid #c8102e;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  color: #c8102e;
  text-decoration: none;
  transition: 0.3s;
}

.whatsapp-btn i {
  color: #25D366;
  font-size: 20px;
}

.whatsapp-btn:hover {
  background: #c8102e;
  color: #fff;
}

.contact-form {
  flex: 1;
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border: 1px solid #ccd6e0;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0b2d60;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 13px;
  color: #777;
}

.form-footer a {
  color: #c8102e;
  text-decoration: none;
}

.submit-btn {
  background: #c8102e;
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
  border: 2px solid #c8102e;
}

.submit-btn:hover {
  background: #fff;
  color: #c8102e;
}

/* Popup Container */
.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Show popup */
.popup.show {
  display: flex;
  opacity: 1;
}

/* Popup Content */
.popup-content {
  position: relative;
  background: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  max-width: 350px;
  animation: fadeIn 0.3s ease;
}

/* Close Button */
#popupClose {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: #555;
  font-weight: bold;
}

/* Animasi */
@keyframes fadeIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Pesan sukses/gagal */
.popup.success .popup-content { border-left: 6px solid #28a745; }
.popup.error .popup-content { border-left: 6px solid #dc3545; }

/* Responsif */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-info, 
  .contact-form {
    width: 100%;
  }

  .contact-info h2 {
    font-size: 22px;
  }

  .contact-info p {
    font-size: 14px;
  }

  .form-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Footer Section */
.footer {
  background: #f9f9f9;
  color: #111;
  padding: 40px 20px;
  font-size: 14px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto 30px auto;
}

.footer-logo img {
  max-width: 150px;
  margin-bottom: 20px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 150px;
}

.footer-column h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #969393;
  text-decoration: none;
  transition: 0.3s;
}

.footer-column ul li a:hover {
  color: #000;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 20px auto 0 auto;
  font-size: 13px;
}

.social-icons a {
  color: #969393;
  font-size: 18px;
  margin-left: 15px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #000;
}

/* Responsif */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    text-align: left;
  }

   .footer-columns {
    flex-direction: column; /* ⬅️ bikin vertical di HP */
    align-items: left;
    gap: 25px;
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}


