/* ===========================
   Global
=========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    font-family: "Poppins", sans-serif;
}

body {
    background: #f3f4f6;
}

/* ===========================
   Background
=========================== */

.main {
    width: 100%;
    min-height: 100vh;
    background: url("bg-image.jpg") center center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.overlay {
    width: 100%;
    min-height: 100vh;
    background: rgba(255, 255, 255, 0.40);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 50px 40px;
    gap: 40px;
}

/* ===========================
   Header
=========================== */

.header {
    width: 100%;
    max-width: 1280px;
    margin-top: 20px;
    text-align: center;
}

.header h1 {
    color: #7F1D1D;
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

.hero-tagline {
    margin-top: 12px;
    color: #ffffff;
    font-size: 34px;
    font-weight: 500;
}

/* ===========================
   Footer
=========================== */
.footer {
    /* width: 100%; */
    max-width: 1280px;
}


.box {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: .3s;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .10);
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .18);
}

/* ===========================
   Responsive
=========================== */

@media (max-width:1200px) {

    .header h1 {
        font-size: 52px;
    }

    .hero-tagline {
        font-size: 28px;
    }

    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width:768px) {

    .overlay {
        padding: 30px 20px;
    }

    .header h1 {
        font-size: 40px;
    }

    .hero-tagline {
        font-size: 22px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        padding: 20px;
    }

}

@media (max-width:1200px) {

    .header h1 {
        font-size: 52px;
    }

    .hero-tagline {
        font-size: 28px;
    }

    .footer-inner {
        display: flex;
        justify-content: center;
    }

}

@media (max-width:768px) {

    .overlay {
        padding: 30px 20px;
    }

    .header h1 {
        font-size: 40px;
    }

    .hero-tagline {
        font-size: 22px;
    }

    .box {
        width: 100%;
        max-width: 350px;
    }

}

@media (max-width:480px) {

    .header h1 {
        font-size: 30px;
    }

    .hero-tagline {
        font-size: 18px;
    }

    .box {
        width: 100%;
        padding: 20px;
    }

}