/* tampilan.css - Main Styling untuk Bimba Bintang Junior */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Quicksand', 'Segoe UI', Arial, sans-serif;
    background: #eaf6ff;
    color: #333;
}

/* ROW & COLUMNS */
.row {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 20px auto;
    gap: 20px;
    padding: 0 15px;
}

.leftcolumn {
    flex: 3;
    min-width: 300px;
    gap: 5px;
}

.rightcolumn {
    display: flex;
    flex: 1;
    min-width: 200px;
    flex-direction: column;
    gap: 15px;
    position: sticky;
    top: 70px;
    height: fit-content;
}

.rightcolumn .card {
    margin: 0;
}

/* CARD */
.card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card h1, .card h2 {
    color: #1976d2;
    margin-bottom: 15px;
}
.card p { 
    line-height: 1.7; 
    margin-bottom: 12px; 
}

.card .box {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card h3 {
    color: #1976d2;
    border-bottom: 2px solid #ffb300;
    padding-bottom: 6px;
    margin-bottom: 10px;
}

.card p {
    line-height: 1.6;
    font-size: 14px;
    color: #555;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-links a {
    display: block;
    padding: 10px;
    background: #f0f0f0;
    color: #1976d2;
    text-decoration: none;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #ffb300;
    color: #1976d2;
}

/* PROGRAMS GRID LAYOUT */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.program-card {
    background: linear-gradient(135deg, #f5f9ff 0%, #ffffff 100%);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #e0e8ff;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    cursor: pointer;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(25, 118, 210, 0.15);
    border-color: #1976d2;
}

.program-icon {
    font-size: 48px;
    color: #1976d2;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
}

.program-card h3 {
    color: #1976d2;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.program-subtitle {
    color: #ffb300;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.program-desc {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* WHATSAPP ICON */
.wa-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    text-align: center;
    line-height: 55px;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 100;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    body { padding-top: 65px; }
    .row { flex-direction: column; }
    .leftcolumn { order: 1; }
    .rightcolumn { order: 2; }
    #navbar { position: fixed; }
    #navbar ul li.login { margin-left: 0; }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .program-icon {
        font-size: 40px;
    }
}
