/* ====== GLOBAL ====== */
* {margin:0; padding:0; box-sizing:border-box;}
body {
  font-family:'Poppins', sans-serif;
  line-height:1.6;
  color:#fff;
  background:#ffffff;
}
h1, h2, h3 {font-weight:700;}

/* NAVBAR */
.navbar {
  width:100%;
  position:fixed;
  top:0; left:0;
  background: rgba(255, 255, 255, 1); 
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 50px;
  z-index:1000;
}
.navbar .logo img {
  height:45px;
}
.navbar .menu {
  list-style:none;
  display:flex;
  gap:25px;
}
.navbar .menu li a {
  color:#070707;
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
}
.navbar .menu li a:hover {color:#7ce6f8;}

/* Hamburger Default Hidden on Desktop */
.hamburger {
  display:none;
  flex-direction:column;
  justify-content:space-between;
  width:25px;
  height:20px;
  cursor:pointer;
}
.hamburger span {
  display:block;
  height:3px;
  background:#080808;
  border-radius:5px;
  transition:0.3s;
}

/* Toggle Checkbox */
#menu-toggle {display:none;}
#menu-toggle:checked ~ .menu {
  right:0;
}
#menu-toggle:checked + .hamburger span:nth-child(1) {
  transform:rotate(45deg) translateY(8px);
}
#menu-toggle:checked + .hamburger span:nth-child(2) {
  opacity:0;
}
#menu-toggle:checked + .hamburger span:nth-child(3) {
  transform:rotate(-45deg) translateY(-8px);
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {padding:15px 20px;}
  .navbar .menu {
    position:fixed;
    top:70px;
    right:-100%;
    width:200px;
    height:100vh;
    background:#ffffff;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    gap:20px;
    padding-top:40px;
    transition:0.4s ease-in-out;
  }
  .hamburger {display:flex;}
}

/* Dropdown Container */
.dropdown {
  position: relative;
}
.dropdown > a {
  cursor: pointer;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  list-style: none;
  min-width: 200px;
  padding: 10px 0;
  margin: 0;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
}
.dropdown-menu li {
  width: 100%;
}
.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #ffd700;
  text-decoration: none;
  font-weight: 500;
}
.dropdown-menu li a:hover {
  background: rgba(146, 222, 252, 0.1);
  color: #2fbbfc;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Responsive Dropdown (Mobile) */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .dropdown-menu li a {
    padding: 10px;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, #1a2b6b, #1a2b6b);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10%;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  width: 100%;
  max-width: 1200px;
}

/* TEKS */
.hero-text {
  flex: 1;
}
.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #ffd700;
  text-shadow: 0 0 10px rgba(0,0,0,0.2);
  animation: fadeInUp 1s ease forwards, popUp 1.2s ease forwards;
}
.hero-text p {
  margin-top: 15px;
  font-size: 1.2rem;
  color: #f0f0f0;
  line-height: 1.6;
  animation: fadeIn 2s ease forwards;
}
.hero-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 28px;
  background: #ffd700;
  color: #0f172a;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
  animation: fadeIn 2.5s ease forwards;
}
.hero-btn:hover {
  background: #fff04d;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* GAMBAR */
.hero-image {
  flex: 1;
  text-align: center;
}
.hero-image img {
  width: 350px;
  max-width: 100%;
  filter: drop-shadow(0 6px 15px rgba(0,0,0,0.3));
  animation: fadeInRight 1.5s ease forwards;
}

/* ===== ANIMASI ===== */
@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(40px);}
  to {opacity: 1; transform: translateY(0);}
}
@keyframes fadeInRight {
  from {opacity: 0; transform: translateX(60px);}
  to {opacity: 1; transform: translateX(0);}
}
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
@keyframes popUp {
  0% {transform: scale(0.8);}
  60% {transform: scale(1.1);}
  100% {transform: scale(1);}
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 2.2rem;
  }
  .hero-image img {
    width: 220px;
    margin-top: 20px;
  }
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom, #ffffff, #ffffff);
  margin: 0;
  padding: 0;
}

/* ===== SECTION ===== */
.profil-section {
  text-align: center;
  padding: 60px 20px;
}

.profil-section h2 {
  font-size: 2rem;
  color: #1a2b6b;
  font-weight: 700;
  margin-bottom: 40px;
}

/* ===== GRID KOTAK ===== */
.profil-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.profil-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

/* Animasi delay per kotak */
.profil-card:nth-child(1) { animation-delay: 0.2s; }
.profil-card:nth-child(2) { animation-delay: 0.4s; }
.profil-card:nth-child(3) { animation-delay: 0.6s; }
.profil-card:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profil-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.profil-card h3 {
  color: #1a2b6b;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.profil-card p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}


/* Section */
.layanan-section {
  padding: 60px 20px;
  text-align: center;
  background: #ffffff;
}

.layanan-title {
  font-size: 28px;
  font-weight: bold;
  color: #1a2b6d;
  margin-bottom: 40px;
}

/* Grid layout */
.layanan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Card style */
.layanan-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s forwards;
}

.layanan-card:nth-child(1) { animation-delay: 0.1s; }
.layanan-card:nth-child(2) { animation-delay: 0.2s; }
.layanan-card:nth-child(3) { animation-delay: 0.3s; }
.layanan-card:nth-child(4) { animation-delay: 0.4s; }
.layanan-card:nth-child(5) { animation-delay: 0.5s; }

/* Hover menimbul */
.layanan-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Title & text */
.layanan-card h3 {
  font-size: 18px;
  color: #1a2b6d;
  font-weight: bold;
  margin-bottom: 12px;
}

.layanan-card p {
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}

/* Animasi muncul */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===== MITRA PRODUK ===== */
.mitra-section {
  padding: 60px 20px;
  text-align: center;
  background: #ffffff;
}

.mitra-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1d3b8b;
}

.mitra-subtitle {
  font-size: 1rem;
  margin-bottom: 40px;
  color: #555;
}

/* Grid */
.mitra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 kolom */
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Kotak mitra */
.mitra-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  height: 140px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
}

.mitra-item img {
  max-width: 140px;
  max-height: 80px;
  object-fit: contain;
}

/* Hover menimbul */
.mitra-item:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Animasi muncul */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsif */
@media (max-width: 992px) {
  .mitra-grid {
    grid-template-columns: repeat(2, 1fr); /* tablet: 2 kolom */
  }
}

@media (max-width: 600px) {
  .mitra-grid {
    grid-template-columns: 1fr; /* HP: 1 kolom */
  }
}

/* ===== KONTAK ELNUS ===== */
.kontak-section {
  padding: 70px 20px;
  background: #ffffff;
  font-family: 'Poppins', sans-serif;
}

.kontak-container {
  max-width: 1100px;
  margin: 0 auto;
}

.kontak-header {
  text-align: center;
  margin-bottom: 40px;
}

.kontak-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a2b6b;
}

.kontak-header p {
  font-size: 16px;
  color: #4b5563;
  margin-top: 8px;
}

.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.kontak-info h3,
.kontak-form h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #1a2b6b;
}

.kontak-info ul {
  list-style: none;
  padding: 0;
}

.kontak-info li {
  margin-bottom: 12px;
  font-size: 15px;
  color: #374151;
}

.kontak-info a {
  color: #2563eb;
  text-decoration: none;
}

.kontak-info a:hover {
  text-decoration: underline;
}

.kontak-form form {
  display: flex;
  flex-direction: column;
}

.kontak-form input,
.kontak-form textarea {
  margin-bottom: 15px;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}

.kontak-form button {
  padding: 12px;
  border: none;
  background: #2563eb;
  color: #fff;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.kontak-form button:hover {
  background: #1e40af;
}

/* Responsif */
@media (max-width: 768px) {
  .kontak-grid {
    grid-template-columns: 1fr;
  }
}

/* Lokasi Section */
.lokasi-section {
  padding: 80px 10%;
  background: #ffffff;
}

.lokasi-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.lokasi-maps iframe {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Teks Lokasi */
.lokasi-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a2b6b; /* Gold */
  text-shadow: 0 0 10px rgba(212,175,55,0.7);
  margin-bottom: 15px;
}

.lokasi-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 10px;
}


/* ===== Footer ===== */
.elnus-footer {
  width: 100%;
  background: linear-gradient(135deg, #1a2b6b, #1a2b6b); /* full background */
  color: #f3f4f6;
  padding: 40px 20px 20px;
  margin: 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.footer-col {
  flex: 1 1 250px;
  min-width: 200px;
}

.footer-col h3.brand {
  font-size: 26px;
  font-weight: 700;
  color: #facc15;
  margin-bottom: 8px;
}

.footer-col .slogan {
  font-size: 14px;
  color: #d1d5db;
}

.footer-col h4 {
  margin-bottom: 12px;
  color: #facc15;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin: 6px 0;
}

.footer-col ul li a {
  text-decoration: none;
  color: #f3f4f6;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #facc15;
}

.footer-bottom {
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid #a0c4fd;
  text-align: center;
  font-size: 14px;
}

/* Responsif */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

/* Biar konten Mitra tidak nempel ke navbar */
#mitra {
  padding-top: 100px;       /* jarak dari navbar */
  scroll-margin-top: 100px; /* saat klik link, berhenti dengan jarak */
}

/* Section Company Profile */
.company-profile {
  padding: 100px 20px;
  background: #ffffff; /* hitam elegan */
  color: #1a2b6b;
  font-family: 'Poppins', sans-serif;
  line-height: 1.8;
  text-align: justify;
}

.profile-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgb(40, 88, 248);
  text-shadow: 0 0 10px rgba(252, 252, 251, 0.8),
               0 0 20px rgba(253, 253, 250, 0.6);
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeSlideDown 1s forwards;
}

.profile-content p, 
.profile-content ul {
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s forwards;
}

.profile-content p:nth-child(1) { animation-delay: 0.3s; }
.profile-content p:nth-child(2) { animation-delay: 0.5s; }
.profile-content p:nth-child(3) { animation-delay: 0.7s; }
.profile-content p:nth-child(4) { animation-delay: 0.9s; }
.profile-content p:nth-child(5) { animation-delay: 1.1s; }
.profile-content h3 { 
  margin-top: 30px; 
  font-size: 1.5rem; 
  color: #ffd700;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.6);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s forwards 1.3s;
}
.profile-content ul li {
  margin: 10px 0;
  padding-left: 20px;
  position: relative;
  list-style: none;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s forwards;
}
.profile-content ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: gold;
  font-weight: bold;
}

/* Animations */
@keyframes fadeSlideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tombol Scroll to Top */
#scrollTopBtn {
  display: none; /* default tidak terlihat */
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 99;
  background: #d4af37; /* gold */
  color: white;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 15px 18px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: all 0.3s ease-in-out;
}

#scrollTopBtn:hover {
  background: #b8962e; /* lebih gelap saat hover */
  transform: scale(1.1);
}
