/* --- home --- */
.home {
    width: 100%;
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero {
    position: relative;
    height: 70vh;
    width: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.hero-logo {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 290px;
    height: auto;
    max-width: 90vw;
}

.hero-tagline {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 550px;
    height: auto;
    max-width: 90vw;
}

.hero .btn {
    position: absolute;
    left: 50%;
    bottom: 22%;
    transform: translateX(-50%);
    font-weight: 500;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 8px 50px;
    white-space: nowrap;
}

.categories {
    display: grid;
    height: auto;
    width: 100%;
    grid-template-columns: repeat(2, minmax(300px, 400px));
    justify-content: center;
    grid-gap: 30px;
    padding: 80px 10%;
}

.category-card {
    position: relative;
    aspect-ratio: 1 / 1;
}

.category-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 15px;
}

.categories .btn {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 0;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .hero-logo {
        width: 220px;
    }

    .hero-tagline {
        width: 440px;
        top: 44%;
    }

    .categories {
        grid-template-columns: 1fr;
        padding: 80px 60px;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        width: 190px;
    }

    .hero-tagline {
        width: 390px;
        top: 43%;
    }

    .categories {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }
}
