:root {
    --primary-color: #343A40;
    --secondary-color: #343A40;
    --text-color: #343A40;
    --light-text-color: #6C757D;
    --background-color: #f9f8fa;
    --card-background: #ffffff;
    --accent-color: #000000;
    --hover-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 100px; /* Atur tinggi logo sesuai kebutuhan */
    margin-right: 40px; /* Memberi jarak antara logo dan teks judul */
}

.logo {
    font-size: 2.5rem; /* Ukuran font yang lebih besar untuk judul */
    letter-spacing: 3px; /* Tambahan jarak antar huruf */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar {
    background: var(--primary-color);
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    list-style: none;
    margin-left: 20px;
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.navbar ul li a:hover {
    color: var(--secondary-color);
}

.header {
    background-color: var(--card-background);
    color: var(--primary-color);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 5px solid var(--primary-color);
    position: relative;
}

.header h1 {
    font-family: 'Lato', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.header p {
    font-size: 1.1rem;
    color: var(--light-text-color);
    margin: 0;
    position: relative;
    padding-bottom: 20px;
}

.header p::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.regulasi-box {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    padding: 20px;
    max-width: 1170px;
    text-align: center;
}

.regulasi-box h2 {
    color: #333;
    font-size: 1.8em;
    margin-bottom: 15px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

.regulasi-box ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.regulasi-box li a {
    background-color: #f1f1f1;
    color: #555;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9em;
    font-weight: 600;
    display: inline-block;
}

.regulasi-box li a:hover {
    background-color:  rgba(56, 24, 125, 0.5);
    color: #fff;
}

.card-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    flex-grow: 1;
}


.clean-card {
    background-color: var(--card-background);
    border-radius: 15px; 
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease, border 0.4s ease;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    border: 2px solid transparent;
}

.clean-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
    border: 2px solid var(--accent-color);
    background-color: rgba(56, 24, 125, 0.5);
}

.icon-box {
    font-size: 3.5rem; 
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease-in-out;
}

.clean-card:hover .icon-box {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.clean-card .icon-box img {
    max-width: 200px; 
    height: auto;
    border-radius: 10px;
    transition: transform 0.4s ease-in-out;
}

.clean-card h2 {
    font-family: 'Lato', sans-serif;
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    text-align: center;
}

.clean-card p {
    font-size: 1.05rem;
    color: var(--light-text-color);
    margin: 0;
    text-align: center;
}

.footer {
    background: var(--primary-color);
    color: var(--card-background);
    padding: 40px 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 20px;
}

.footer-content h3,
.footer-content h4 {
    margin-bottom: 15px;
}

.footer-content div {
    flex: 1;
    min-width: 200px;
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links ul a {
    color: var(--card-background);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    margin-bottom: 8px;
}

.footer-links ul a:hover {
    color: #fff;
}

.social-icons a {
    color: var(--card-background);
    font-size: 1.5rem;
    margin-right: 15px;
    text-decoration: none;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-container img {
    height: 100px;
    margin-right: 40px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--light-text-color);
    padding-top: 20px;
    margin-top: 20px;
}


@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        text-align: center;
    }

    .navbar nav {
        margin-top: 10px;
    }

    .navbar ul {
        flex-direction: column;
        align-items: center;
    }

    .navbar ul li {
        margin: 5px 0;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
.social-icons img {
    width: 32px;
    height: 32px;
    background-color: transparent;
    border-radius: 50%;
}