* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #f5f8f3;
    color: #333;
    line-height: 1.7;
}

/* =========================
   HEADER
========================= */

.header {
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.35)
        ),
        url("images/bg-ukri.jpg");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    min-height: 320px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: white;
    text-align: center;
    padding: 50px 20px;
}

/* =========================
   LOGO
========================= */

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;

    padding: 16px 30px;

    background: #f7ecd2;
    border: 2px solid #e6d4a7;
    border-radius: 999px;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.18),
        inset 0 1px 2px rgba(255, 255, 255, 0.6);

    transition: all 0.3s ease;
}

.logo-pill:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.20),
        inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.logo-pill img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: block;
}

.header h1 {
    font-size: 40px;
    margin-top: 15px;
}

/* =========================
   NAVIGATION
========================= */

nav {
    background: #145214;
    padding: 15px;
    text-align: center;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 20px;
    font-weight: 600;
    transition: 0.3s;
}

nav a.recycle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 25px;
}

nav a:hover {
    color: #b9f6ca;
    background: rgba(255, 255, 255, 0.08);
}

/* =========================
   HERO
========================= */

.hero {
    position: relative;
}

.hero img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    filter: brightness(60%);
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    width: 80%;
}

.hero-text h2 {
    font-size: 40px;

    -webkit-text-stroke: 0.3px #ffffff;
    text-stroke: 0.3px #ffffff;
}   

/* =========================
   BUTTON
========================= */

button {
    margin-top: 20px;
    padding: 12px 25px;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: transform .2s ease, background .3s ease;
}

button:hover {
    background: #43a047;
}

button:active {
    transform: scale(0.96);
}

/* Ikon Recycle */

.recycle-icon {
    display: inline-block;
    margin-right: 8px;
}

/* Animasi Spin */

.spin {
    animation: recycleSpin .6s ease-in-out;
}

@keyframes recycleSpin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}

/* =========================
   SECTION
========================= */

section {
    padding: 60px 10%;
}

section h2 {
    text-align: center;
    color: #1b5e20;
    margin-bottom: 30px;
    font-size: 32px;
}

/* =========================
   VIDEO YOUTUBE
========================= */

.video-box {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px #ddd;
    text-align: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
}

.video-wrapper iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: none;
    border-radius: 15px;
}

/* =========================
   CARDS
========================= */

.cards {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background: white;
    padding: 25px;
    width: 300px;
    border-radius: 15px;
    box-shadow: 0 5px 15px #ddd;
    border-top: 5px solid #4caf50;
    transition: transform .3s ease;
}

.card:hover {
    transform: translateY(-6px);
}

/* =========================
   FOOTER
========================= */

footer {
    background: #1b5e20;
    color: white;
    padding: 45px 20px;
}

.footer-content {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.footer-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.footer-content p {
    margin: 8px 0;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 30px 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.footer-links a:hover {
    color: #b9f6ca;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,.25);
    margin: 30px 0;
}

.footer-tagline {
    color: #dcedc8;
    font-style: italic;
    font-size: 18px;
}

.footer-copy {
    margin-top: 15px;
    font-size: 14px;
    opacity: .8;
}

/* =========================
   RESPONSIVE
========================= */

/* Tablet */

@media (max-width:1024px) {

    .hero-text {
        width: 90%;
    }

    .hero-text h2 {
        font-size: 32px;
    }

    section {
        padding: 50px 8%;
    }

    .logo-pill {
        gap: 18px;
        padding: 12px 24px;
    }

    .logo-pill img {
        width: 60px;
        height: 60px;
    }

}

/* Mobile */

@media (max-width:768px) {

    .header h1 {
        font-size: 28px;
    }

    .header p {
        font-size: 15px;
    }

    .logo-pill {
        gap: 12px;
        padding: 10px 18px;
    }

    .logo-pill img {
        width: 50px;
        height: 50px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    nav a {
        margin: 0;
    }

    .hero img {
        height: 350px;
    }

    .hero-text {
        width: 90%;
    }

    .hero-text h2 {
        font-size: 25px;
    }

    .hero-text p {
        font-size: 15px;
    }

    button {
        width: 100%;
        max-width: 320px;
    }

    section {
        padding: 40px 5%;
    }

    .card {
        width: 100%;
    }

    .footer-content h2 {
        font-size: 22px;
    }

    .footer-links {
        gap: 18px;
    }

    .footer-tagline {
        font-size: 16px;
    }

}

/* Small Mobile */

@media (max-width:480px) {

    .header h1 {
        font-size: 24px;
    }

    .logo-pill {
        gap: 8px;
        padding: 8px 14px;
    }

    .logo-pill img {
        width: 40px;
        height: 40px;
    }

    .hero img {
        height: 280px;
    }

    .hero-text h2 {
        font-size: 22px;
    }

    section h2 {
        font-size: 26px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }

}
