* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    min-height: 100vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url('../imgs/index_bg.png') center / cover no-repeat fixed;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ========= MAIN CONTENT: INDEX =========*/
.hero {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.logo {
    width: 180px;
    opacity: 0;
    transform: translateY(-20px);
}

.title-image {
    width: 700px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(-20px);
}

/* 🔥 Brochure Grid Layout */
.buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    width: 100%;
    max-width: 500px;
}

/* Desktop 2x2 */
@media (min-width: 768px) {
    .buttons {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
    }
}

@media (max-width: 767px) {
    .hero {
        justify-content: flex-start;
        padding-top: 120px;
        padding-bottom: 80px;
        min-height: 100vh;
    }

    .logo {
        margin-top: 0;
        width: 150px;
    }

    .title-image{
        width: 320px;
    }
}

.btn-card {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 0.5px;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image background */
.btn-card img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Dark overlay for text readability */
.btn-card::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.3),
        rgba(0,0,0,0.6)
    );
    z-index: 1;
}

/* Text */
.btn-card span {
    position: relative;
    z-index: 2;
}

/* Hover Effects (Brochure Style) */
.btn-card:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.btn-card:hover img {
    transform: scale(1.1);
}