/* ================= RESET & BASE ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;  
    overflow-x: hidden;
    color: #333;
    /* background-color: #f8fafc; */
    background-color: #e3e7eb;
}

/* ================= HEADER (DIPERBAGUS) ================= */
.background1 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh; /* Lebih tinggi agar sinematik */
    background: url('../Gambar/HOME_HEADER_ANIMASI.jpeg') center/cover no-repeat fixed; /* Efek Parallax */
    position: relative;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 31, 63, 0.7), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.home-judul {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
}

.sub-judul {
    font-size: 1rem;
    letter-spacing: 5px;
    font-weight: 400;
    display: block;
    margin-bottom: 10px;
    color: #ff9133; /* Warna aksen oranye */
}

.home-judul h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
}

.home-judul h1 span {
display: block;
    background: linear-gradient(90deg, #ffffff, #80bfff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accent-line {
    width: 80px;
    height: 4px;
    background: #ff9133;
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ================= HALAMAN 2 (DIPERBAGUS) ================= */
.intro-section {
    padding: 0 20px;
    margin-top: -60px; /* Menumpuk ke atas header agar modern */
}

.halaman-2 {
    max-width: 1100px;
    margin: 0 auto 50px;
    background: #ffffff;
    padding: 60px 40px;
    text-align: center;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 10;
    border-bottom: 6px solid #007bff;
}

.quote-icon {
    font-size: 4rem;
    color: #f1f1f1;
    position: absolute;
    top: 10px;
    left: 30px;
    font-family: serif;
    line-height: 1;
}

.halaman-2 p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.halaman-2 strong {
    color: #004d99;
}

/* ================= CARD (TETAP SEPERTI ASLI) ================= */
.card-section {
    padding: 30px 20px 70px;
}

.card-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.card {
    width: min(320px, 90vw);
    border-radius: 18px;
    overflow: hidden;
    background: #f8fafc;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
    transition: .4s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,.25);
}

.slider {
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    animation: slide 6s infinite;
}

.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

@keyframes slide {
    0%, 45% { transform: translateX(0); }
    50%, 95% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

.card-content {
    padding: 16px;
}

.card-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #0b3a6f;
}

.card-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){
    .background1 { height: 60vh; }
    .home-judul h1 { font-size: 1.8rem; }
    .halaman-2 { padding: 40px 20px; }
    .halaman-2 p { font-size: 1rem; }
}