/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
}

/* ======================
   HERO SECTION
====================== */

.hero-section {
  background: linear-gradient(135deg, #0a1a2f, #142f50);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.radial-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: transparent;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.3);
  z-index: 1;
  opacity: 0.4;
  backdrop-filter: blur(0.5px);
}

.hero-text {
  z-index: 2;
  color: #fff;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 550;
  letter-spacing: 6px;
  margin-bottom: 0.5rem;
}

.hero-text .subtitle {
  font-size: 3.5rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fbfeff;
  font-weight: 800;
}

.hero-text .tagline {
  font-size: 1.5rem;
  margin-top: 0.5rem;
  color: #b6c9de;
  font-weight: 300;
}


/* ======================
   BERITA SECTION
====================== */
.content-section {
    background: linear-gradient(135deg, #f0f4ff, #ffffff);
}

.berita-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 6px solid #0d6efd33;
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}

.berita-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    border-left-color: #0d2c5a;
    background-color: #fefefe;
}

.berita-box img {
    border: 3px solid #0d6efd22;
    transition: transform 0.3s ease;
    width: 220px;
    height: 140px;
    object-fit: cover;
    border-radius: 0.75rem;
}

.berita-box:hover img {
    transform: scale(1.05);
}

.berita-box h5 {
    color: #0d2c5a;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.berita-box p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.berita-box small {
    font-size: 0.8rem;
    color: #888;
}

.berita-box .btn-outline-primary {
    border-radius: 20px;
    font-size: 0.85rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.berita-box .btn-outline-primary:hover {
    background-color: #1c2a40;
    color: #fff;
}

/* Responsive - Stack Konten Vertikal di HP */
@media (max-width: 768px) {
    .berita-box {
        flex-direction: column;
        text-align: center;
    }

    .berita-box img {
        width: 100%;
        height: auto;
    }

    .berita-box .d-flex.justify-content-between {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.8s ease-out forwards;
}

.fade-up-delay-1 { animation-delay: 0.2s; }
.fade-up-delay-2 { animation-delay: 0.4s; }
.fade-up-delay-3 { animation-delay: 0.6s; }
.fade-up-delay-4 { animation-delay: 0.8s; }
.fade-up-delay-5 { animation-delay: 1s; }
.fade-up-delay-6 { animation-delay: 1.2s; }
