.container-fluid img{
    max-width: 50px;
}
.headers{
    width: 100%;
    position: relative;
}
.headers img {
    width: 100%;
    height: auto;
    display: block;
}
.headers .overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    pointer-events: none;
}
.tentanghima{
    margin: 120px;
    text-align: center;
}
.cards {
    margin: 100px;
    display: flex;
    gap: 20px;
    justify-content: center;
}
.divisi-hima {
    margin: 40px 20px;
    text-align: center;
}
.divisi-grid {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 30px; 
    justify-content: center;
    margin: 30px auto;
}
.divisi-card {
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 28px;
    border-radius: 8px;
    width: 200px;
    display: grid;
    flex-direction: column;
    align-items: center;
}
.divisi-card img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    margin-bottom: 10px;
}
.divisi-card p {
    margin: 0;
    font-weight: bold;
    font-size: 1.3rem;
    text-align: center;
}
.karma-content{
    margin: 80px;
    display: flex;
    gap: 30px;
}
.karma {
    justify-items: center;
    margin: 100pxo ;
}
.trivia{
    justify-items: center;
}

.footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.footer-content h4 {
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-content p {
    margin: 5px 0;
    font-size: 0.9rem;
}

.footer-icons {
    margin-top: 15px;
}

.footer-icons .icon {
    display: inline-block;
    width: 30px;
    height: 15px;
    background-color: #fbbf24; 
    margin: 0 5px;
    border-radius: 3px;
}

@media (max-width: 768px) {
    .headers {
        width: 100%;
    }
    .headers img {
        width: 100%;
        height: auto;
    }
    .headers .overlay-text {
        font-size: 1.2rem;
        padding: 0 10px;
        white-space: normal;
        text-align: center;
    }
    .cards {
        flex-direction: column;
        margin: 40px 20px;
        gap: 15px;
        align-items: center;
    }
    .tentanghima {
        margin: 40px 20px;
        font-size: 0.9rem;
    }
    .divisi-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 90%;
        width: 100%;
        margin: 0 auto;
    }
    .divisi-card {
        width: 150px;
        padding: 20px;
    }
    .divisi-card img {
        width: 100px;
        height: 100px;
    }
    .divisi-card p {
        font-size: 1rem;
    }
    .karma-content {
        flex-direction: column;
        margin: 40px 20px;
        gap: 15px;
        align-items: center;
    }
}
