/* FOOTER */
.footer {
    background: #111;
    color: #ccc;
    padding-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.footer-col h3,
.footer-col h4 {
    color: #fff;
    margin-bottom: 15px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
}

/* LINKS */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #ccc;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #fbc02d;
}

/* SOCIAL */
.social a {
    display: inline-block;
    margin-right: 10px;
    color: #fff;
    background: #b30000;
    padding: 10px;
    border-radius: 50%;
    transition: 0.3s;
}

.social a:hover {
    background: #fbc02d;
    color: #000;
}

/* BOTTOM */
.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #333;
    margin-top: 30px;
    font-size: 13px;
}

.social a {
    display: inline-flex;        /* penting untuk center icon */
    align-items: center;
    justify-content: center;
    
    width: 40px;
    height: 40px;
    
    border-radius: 50%;          /* bulat */
    background: #b30000;
    color: #fff;
    
    text-decoration: none;
    transition: 0.3s;
}

/* icon size */
.social a i {
    font-size: 16px;
}

/* hover */
.social a:hover {
    background: #fbc02d;
    color: #000;
}

.social a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* supaya content tolak footer ke bawah */
main {
    flex: 1;
}

footer {
    margin-top: auto;
}