/* Reset & Base Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f7f9;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header Section */
.header-section {
    text-align: center;
    margin-bottom: 50px;
}

.header-section h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    text-transform: uppercase;
}

.header-section p {
    font-size: 1.2rem;
    color: #7f8c8d;
}

.divider {
    width: 80px;
    height: 4px;
    background-color: #3498db;
    margin: 15px auto;
    border-radius: 2px;
}

/* Grid Layout (Mobile First) */
.grid-container {
    display: grid;
    grid-template-columns: 1fr; /* 1 Kolom di HP */
    gap: 30px;
}

/* Card Styling */
.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card-image {
    position: relative;
    height: 350px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Foto tetap proporsional */
}

.term-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(52, 152, 219, 0.9);
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 1.25rem;
}

.card-content .description {
    font-size: 0.95rem;
    color: #636e72;
}

/* Tablet & Laptop Styles */
@media (min-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr); /* 2 Kolom di Tablet */
    }
}

@media (min-width: 1024px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr); /* 3 Kolom di Laptop */
    }
    
    .header-section h1 {
        font-size: 3rem;
    }
}