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

body {
    font-family: oswald;
    line-height: 1.6;
    color: #333;
    background-color: var(--beige);
    padding: 20px;
    padding-top: 90px;
}


.contacts {
    margin-top: 0;
    position: relative;
    width: 100%;
}



.mask1 {
    width: 100%;
    display: block;
}

.overlay-box {
    position: absolute;
    top: 50px;
    left: 30px;

    display: flex;
    align-items: center;
    gap: 15px;

    background: transparent;
    padding: 15px 20px;
    border-radius: 12px;
}

.overlay-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.overlay-text {
    color: rgb(247, 243, 243);
}

.overlay-text h1 {
    font-size: 2rem;
    margin: 0;
}

.overlay-text h3 {
    margin-top: 5px;
    font-size: 1.2rem;
}

.yoga {
    color: #970909;
}

.seva {
    color: rgb(245, 233, 10);
}

.detail {
    position: absolute;
    bottom: 30px;
    right: 30px;

    width: 400px;

    background: rgba(0, 0, 0, 0.2);
    color: rgb(248, 243, 243);

    padding: 20px;
    border-radius: 9px;
}

.detail h2 {
    margin-top: 0;
}

.detail ul {
    padding-left: 20px;
}



.mask1 {
    -webkit-mask-image: linear-gradient(black, transparent);
    mask-image: linear-gradient(black, transparent);
}

@media (max-width: 768px) {
    .overlay-box {
        top: 15px;
        left: 15px;
        gap: 10px;
    }

    .overlay-logo {
        width: 50px;
        height: 50px;
    }

    .overlay-text h1 {
        font-size: 1.1rem;
    }

    .overlay-text h3 {
        font-size: 0.9rem;
    }

    .detail {
        position: static;
        width: 100%;
        margin-top: 1rem;
        background: rgba(0, 0, 0, 0.75);
    }
}

/* =========================================================
   MOBILE PAGE WIDTH FIX
   Gallery/Contact pages had 20px body padding, which was
   also shrinking the shared navbar and footer.
========================================================= */

@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        padding-left: 0;
        padding-right: 0;
    }

    /* Keep the shared navbar and footer edge-to-edge */
    nav,
    .footer {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    /* Footer itself should never inherit a narrow content width */
    .footer__container,
    .footer__bar {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}
