@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Satisfy&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.projectimgdivmain {
    width: 100%;
    position: relative;
}

.projectimgdivinner {
    position: relative;
    width: 100%;
    height: 60vh;
    background-image: url(./Assets/Banner-1.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* ensures overlay stays within bounds */
}

.projectimgdivinner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* semi-transparent black */
    z-index: 1;
}

/* Ensure content inside is above the overlay */
.projectimgdivinner>* {
    position: relative;
    z-index: 2;
    color: white;
    /* Optional: makes text visible on dark overlay */
}

.projectimgdivinner img {
    width: 100%;
    height: 100%;
}


.projectheadinner {
    width: 80%;
    margin: auto;
    padding-top: 150px;
}

.projectheadinner h2 {
    color: white;
    font-size: 60px;
    font-family: "Satisfy", cursive;
}

.projectheadinner p {
    color: white;
    font-size: 20px;
       font-family: "Poppins", sans-serif;
}

.mainprojectmainslide {
    width: 80%;
    height: auto;
    margin: auto;
}

.mainprojectmainslide img {
    width: 100%;
    height: 100%;
}

.mainprojectheading {
    text-align: center;
    font-size: 50px;
    color: #0a6b2e;
    margin-top: 60px;
    margin-bottom: 20px;
       font-family: "Poppins", sans-serif;
}

.mainprojectheadingsub {
    width: 70%;
    margin: auto;
    text-align: center;
    font-size: 20px;
    color: black;
    margin-bottom: 60px;
       font-family: "Poppins", sans-serif;
}



/* grid css */

.gridimg {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    display: inline-block;
}


.grid-wrapper>div {
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    border-radius: 6px;
}

.grid-wrapper>div>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.grid-wrapper {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
}

.grid-wrapper .wide {
    grid-column: span 2;
}

.grid-wrapper .tall {
    grid-row: span 2;
}

.grid-wrapper .big {
    grid-column: span 2;
    grid-row: span 2;
}

.maingalgriddiv {
    width: 80%;
    margin: auto;
    padding: 100px 0px;
}

/* grid css */



.grid-wrapper .grid-item {
    display: none;
}

.grid-wrapper .grid-item.visible {
    display: block;
}

/* Optional styling */
#loadMoreBtn {
    margin: 20px auto;
    cursor: pointer;
}

.saucarbtn {
    outline: none;
    cursor: pointer;
    border: none;
    padding: 0.9rem 2rem;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    position: relative;
    display: inline-block;
    letter-spacing: 0.05rem;
    font-weight: 700;
    font-size: 17px;
    border-radius: 500px;
    overflow: hidden;
    background: #66ff66;
    color: ghostwhite;
    display: block;
    margin: auto;
}

.saucarbtn span {
    position: relative;
    z-index: 10;
    transition: color 0.4s;
}

.saucarbtn:hover span {
    color: black;
}

.saucarbtn::before,
.saucarbtn::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.saucarbtn::before {
    content: "";
    background: #000;
    width: 120%;
    left: -10%;
    transform: skew(30deg);
    transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
}

.saucarbtn:hover::before {
    transform: translate3d(100%, 0, 0);
}


@media(max-width:600px) {
    .projectheadinner h2 {
        color: white;
        font-size: 40px;
        font-family: "Satisfy", cursive;
    }

    .projectheadinner p {
        color: white;
        font-size: 16px;
    }

    .mainprojectheading {
        text-align: center;
        font-size: 40px;
        color: #0a6b2e;
        font-family: "Josefin Sans", sans-serif;
        margin-top: 60px;
    }

    .mainprojectheadingsub {
        width: 90%;
        margin: auto;
        text-align: justify;
        font-size: 18px;
        color: black;
        font-family: "Josefin Sans", sans-serif;
        margin-bottom: 60px;
    }

    .mainprojectmainslide {
        width: 95%;
        height: auto;
        margin: auto;
    }

    .maingalgriddiv {
        width: 95%;
        margin: auto;
        padding: 60px 0px;
    }

    .grid-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        grid-auto-rows: 150px;
    }

    .grid-wrapper .wide,
    .grid-wrapper .tall,
    .grid-wrapper .big {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }


    .saucarbtn {
        outline: none;
        cursor: pointer;
        border: none;
        padding: 7px 30px;
        margin: 0;
        font-family: inherit;
        font-size: inherit;
        position: relative;
        display: inline-block;
        letter-spacing: 0.05rem;
        font-weight: 700;
        font-size: 12px;
        border-radius: 500px;
        overflow: hidden;
        background: #66ff66;
        color: ghostwhite;
        display: block;
        margin: auto;
        margin-top: 40px !important;
    }

}

@media(min-width:1800px) {
    .grid-wrapper {
        display: grid;
        grid-gap: 20px;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        grid-auto-rows: 300px;
        grid-auto-flow: dense;
    }

    .grid-wrapper .wide {
        grid-column: span 2;
    }

    .grid-wrapper .tall {
        grid-row: span 2;
    }

    .grid-wrapper .big {
        grid-column: span 2;
        grid-row: span 2;

    }

    .projectheadinner h2 {
        color: white;
        font-size: 75px;
        font-family: "Satisfy", cursive;
    }

    .projectheadinner p {
        color: white;
        font-size: 25px;
        /* font-family: "Merriweather", serif; */
    }
}