﻿*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/* ✅ MAIN CONTAINER (instead of body) */
.main-container {
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* ✅ GALLERY GRID */
.gallery {
    max-width: 800px;
    width: 90vw;
    display: grid;
    grid-template-columns: repeat(auto-fit, 150px);
    grid-auto-rows: 150px;
    justify-content: center;
    align-content: center;
    grid-auto-flow: dense;
}

    /* grid styling */
    .gallery a {
        overflow: hidden;
    }

        .gallery a:nth-of-type(2) {
            grid-column: span 2;
        }

        .gallery a:nth-of-type(5) {
            grid-column: span 2;
            grid-row: span 2;
        }

        .gallery a:nth-of-type(7) {
            grid-row: span 2;
        }

    .gallery img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        /* filter: brightness(0.6); */
        transition: 0.3s;
    }

    .gallery a:hover img {
        transform: scale(1.1);
        filter: brightness(1);
    }

/* ✅ OVERLAY */
.overlay-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: rgba(0,0,0,0.7); */
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
    z-index: 99999;
}

    .overlay-container.overlay {
        opacity: 1;
        visibility: visible;
    }

.overlay-img {
    max-width: 80%;
    max-height: 90%;
    border-radius: 10px;
}

/* close button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

.info-card {
    border-radius: 50px;
    width: 290px;
    height: auto;
    padding: 25px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border: 1px solid #FF7722;
}

@@media(max-width:576px) {
    .padding_gap {
        padding: 20px;
    }
}

.info-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: #fff;
    padding: 20px;
}

    /* Top-right orange soft shade */
    .info-card::before {
        content: "";
        position: absolute;
        top: -50px;
        right: -50px;
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(255, 119, 34, 0.6) 0%, transparent 70%);
        z-index: 0;
    }

    /* Content above effect */
    .info-card * {
        position: relative;
        z-index: 1;
    }

    .info-card::before {
        filter: blur(20px);
    }

.left-to-right {
    border-radius: 50%;
    padding: 4px;
    font-size: 17px;
}

.readmore {
    font-size: 12px;
}


