@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&display=swap');
:root{
    --green: #76a713;
}
*{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-transform: capitalize;
    text-decoration: none;
    transition: all .5s cubic-bezier(.37,1.14,.26,1.24);
}
*::selection{
    background-color: var(--green);
    color: #fff;
}
html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 4rem;
}
section{
    padding: 4% 6%;
    background-image: url('images/bg.avif');
    background-size: cover;
    background-repeat: no-repeat;
}
.btn{
    height: 5rem;
    width: 16rem;
    background: none;
    outline: none;
    border: .2rem solid var(--green);
    color: var(--green);
    font-size: 2rem;
    margin: 1rem 0;
    cursor: pointer;
    overflow: hidden;
    z-index: 0;
    position: relative;
    padding: .5rem 1rem;
    border-radius: 5px;
}
.btn::before,
.btn::after{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--green);
    z-index: -1;
    transition: all .5s cubic-bezier(.37,1.14,.26,1.24);
}
.btn::before{
    clip-path: polygon(0 0, 0 0, 0 0);
}
.btn:hover::before{
    clip-path: polygon(0 0, 0 100%, 100% 0);
}
.btn::after{
    clip-path: polygon(100% 100%, 100% 100%, 100% 100%);
}
.btn:hover::after{
    clip-path: polygon(100% 0%, 0% 100%, 100% 100%);
}
.btn:hover{
    color: #fff;
}
.heading{
    text-align: center;
    font-size: 4rem;
    color: #555;
    padding: 1rem;
    padding-top: 5rem;
}
.heading i{
    color: #76a713;
    font-size: 2rem;
}
header{
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 1rem 5rem;
    width: 100%;
}
header .navbar ul{
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}
header .navbar ul li{
    margin: 0 1rem;
}
header .navbar ul li a{
    font-size: 2rem;
    color: #000;
    font-style: italic;
}
header .navbar ul li a:hover{
    color: var(--green);
}
header .fa-bars{
    font-size: 3rem;
    color: #000;
    cursor: pointer;
    display: none;
}
header .img{
    border-radius: 50%;
}
.home{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('images/banner.jpg');
    background-size: cover;
}
.home .content{
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(11px);
    box-shadow: 0 20px 50px rgba(40, 113, 85, 0.4);
    padding: 2rem 1rem;
}
.home .content h1{
    font-size: 7rem;
    color: #fff;
}
.home .content p{
    font-size: 1.9rem;
    color: lightgray;
    padding: 1rem 0;
    margin-bottom: 2rem;
    width: 70rem;
    line-height: 1.5;
}
.about .row{
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}
.about .row .image{
    flex: 1 1 40rem;
    padding: 2rem;
}
.about .row .image img{
    width: 100%;
}
.about .row .content{
    flex: 1 1 40rem;
    padding: 2rem;
}
.about .row .content h3{
    font-size: 3rem;
    color: #000;
}
.about .row .content p{
    font-size: 1.5rem;
    color: #666;
    padding: 1rem 0;
    line-height: 1.5;
    margin-bottom: 1rem;
}
.about .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.about .box-container .box{
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(11px);
    box-shadow: 0 20px 50px rgba(40, 113, 85, 0.4);
    padding: 2rem 1rem;
    flex: 1 1 20rem;
    text-align: center;
    border-radius: 10px;
    margin: 1rem;
}
.about .box-container .box i{
    color: #76a713;
    font-size: 4rem;
}
.about .box-container .box h3{
    color: #333;
    font-size: 2.5rem;
    padding: 1rem 0;
}
.about .box-container .box p{
    color: #666;
    font-size: 1.7rem;
}
.services{
    background-image: url('images/footer.jpg');
    min-height: 100vh;
}
.services .heading{
    color: #fff;
}
.services .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 80%;
    margin: 0 auto;
}
.services .box-container .box{
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(11px);
    box-shadow: 0 20px 50px rgba(40, 113, 85, 0.4);
    padding: 2rem 1rem;
    flex: 1 1 25rem;
    text-align: center;
    border-radius: 10px;
    margin: 2rem;
    cursor: pointer;
    line-height: 1.5;
}
.services .box-container .box i{
    color: var(--green);
    font-size: 4rem;
    padding: 1rem 0;
}
.services .box-container .box h3{
    color: #fff;
    font-size: 2rem;
}
.services .box-container .box p{
    color: lightgray;
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}
.services .box-container .box a{
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(11px);
    box-shadow: 0 20px 50px rgba(40, 113, 85, 0.4);
    padding: 1rem;
    border-radius: 10px;
    color: #76a713;
    font-size: 1.7rem;
}
.services .box-container .box a:hover{
    background: rgba(255, 255, 255, 0.3);
}
.services .box-container .box:hover{
    box-shadow: 0 .3rem .5rem rgba(0,0,0,.3);
}
.projects{
    min-height: 100vh;
}
.projects .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 0;
    width: 90%;
    margin: 0 auto;
}
.projects .box-container .thumbnail{
    flex: 1 1 30rem;
    height: 22rem;
    box-shadow: 0 .3rem .5rem #000;
    overflow: hidden;
    position: relative;
    margin: 1rem;
    cursor: pointer;
}
.projects .box-container .thumbnail img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.projects .box-container .thumbnail .icons{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    transform: scale(0);
}
.projects .box-container .thumbnail:hover .icons{
    top: 0;
    transform: scale(1);
}
.projects .box-container .thumbnail a{
    font-size: 3rem;
    color: #fff;
    margin: 2rem 0;
    transform: translateY(13rem);
    transition-delay: calc(.2s * var(--i));
}
.projects .box-container .thumbnail:hover .icons a{
    transform: translateY(0);
}
.lightbox{
    position: fixed;
    left: 0;
    top: 0;
    background-image: url('images/bg0.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    z-index: 200;
    display: none;
    justify-content: center;
    align-items: center;
}
.lightbox.open{
    display: -ms-flexbox;
    display: flex;
}
.lightbox-content{
    position: relative;
    text-align: center;
}
.lightbox-content img{
    height: auto;
    width: auto;
    max-width: 100%;
    height: 600px;
    cursor: pointer;
    padding: 1rem;
    position: relative;
}
.lightbox-close{
    position: absolute;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    right: -40px;
    top: -45px;
    cursor: pointer;
    font-size: 30px;
    background-color: #76a713;
}
.lightbox-close:hover,
.lightbox-control .prev:hover,
.lightbox-control .next:hover{
    background-color: crimson;
}
.lightbox-control .prev,
.lightbox-control .next{
    position: absolute;
    position: absolute;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #76a713;
    cursor: pointer;
}

.lightbox-control .prev .fa,
.lightbox-control .next .fa{
    font-size: 20px;
    line-height: 50pc;
}
.lightbox-control .prev{
    left: 30px;
}
.lightbox-control .next{
    right: 30px;
}
.donate{

    position: relative;
    z-index: 0;
    min-height: 100vh;
    padding-bottom: 3rem;
}
.donate .heading{
    color:black;
}
.donate .video-container video{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -1;
}
.donate .form-container form{
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    box-shadow: 0 20px 50px rgba(40, 113, 85, 0.4);
    padding: 2rem;
    text-align: center;
    width: 80%;
    border-radius: 10%;
    margin: 2rem auto;
}
.donate .form-container form .inputBox{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.donate .form-container form .inputBox input,select{
    height: 4rem;
    border-radius: 5%;
    width: 49%;
    background-color: #fff;
    color: #333;
    padding: 0 1rem;
    margin: 1rem 0;
    font-size: 1.7rem;
    outline: none;
    border: none;
}
.donate .form-container{
    height: 20rem;
    width: 100%;
    background-color: #fff;
    color: #333;
    margin: 1rem 0;
    font-size: 1.7rem;
    outline: none;
    border: none;
    resize: none;
}
.donate .form-container form input[type="submit"]{
    color: #fff;
    border-color: #fff;
}

.post{
    min-height: 100vh;
}
.post .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 0;
}
.post .box-container .box{
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(11px);
    box-shadow: 0 20px 50px rgba(40, 113, 85, 0.4);
    margin: 2rem 1.5rem;
    padding: 1rem;
    border-radius: 10px;
}
.post .box-container .box img{
    height: 30rem;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.post .box-container .box .content{
    padding: 1rem;
}
.post .box-container .box .content span{
    font-size: 1.5rem;
    color: #666;
}
.post .box-container .box .content span i{
    padding: 1rem 0;
    color: crimson;
    margin-right: .5rem;
}
.post .box-container .box .content h3{
    margin: .5rem;
    font-size: 2.4rem;
    color: #333;
}
.post .box-container .box .content:hover h3{
    text-decoration: underline;
    color: crimson;
}

.post .box-container .box .content p{
    color: #666;
    font-size: 1.5rem;
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 2rem;
}
.footer{
    background-image: url('images/footer.jpg');

}
.footer .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 95%;
    margin: 0 auto;
}
.footer .box-container .box{
    margin: 2rem;
    flex: 1 1 25rem;
}
.footer .box-container .box p{
    font-size: 1.7rem;
    color: #ccc;
    padding: 1rem 0;
}
.footer .box-container .share{
    text-align: center;
    font-size: 3rem;
    color: #fff;
}
.footer .box-container .box:nth-child(2) a{
    text-align: center;
    font-size: 1.7rem;
    color: #eee;
    display: block;
    padding: .5rem 0;
}
.footer .box-container .box:nth-child(2) a:hover{
    text-decoration: underline;
}
.footer .box-container .box .news{
    font-size: 3rem;
    color: #fff;
}
.footer .box-container .box form input[type="email"]{
    padding: 0 1rem;
    outline: none;
    border: 2px solid var(--green);
    background: none;
    font-size: 1.7rem;
    color: #fff;
    height: 4rem;
    width: 74%;
}
.footer .box-container .box form button{
    outline: none;
    border: none;
    background-color: var(--green);
    font-size: 1.9rem;
    color: #fff;
    height: 4rem;
    width: 25%;
    cursor: pointer;
}
.footer .box-container .box form button:hover{
    color: var(--green);
    background: none;
    border: 1px solid var(--green);
}
.footer .credit{
    text-align: center;
    color: #fff;
    font-size: 2rem;
    width: 85%;
    margin: 0 auto;
    padding: 2rem 1rem;
    border-top: .1rem solid #ccc;
}
.footer .credit span {
    color: var(--green);
}


@media (max-width:768px){
    html{
        font-size: 55%;
    }
    header .fa-bars{
        display: block;
    }
    header .navbar{
        position: fixed;
        top: -100rem;
        left: 0;
        width: 100%;
        border-top: 1px solid #ccc;
        opacity: 1;
    }
    header .navbar ul{
        flex-flow: column;
        padding: 2rem 0;
        background-color: #fff;
    }
    header .navbar ul li{
        width: 100%;
        text-align: center;
        margin: 1rem 0;
    }
    header .navbar ul li a{
        font-size: 3rem;
        display: block;
        color: #000;
    }
    header .nav-toggle{
        top: 6rem;
        opacity: 1;
    }
    .home .content h1{
        font-size: 5rem;
    }
    .home .content p{
        width: auto;
    }
    .services .box-container{
        width: auto;
    }
}
@media (max-width:768px){
    .donate .form-container form .inputBox input,select{
        width: 100%;
    }
    .donate .form-container form{
        width: 90%;
    }
}


.projects1{
    min-height: 100vh;
}
.projects1 .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 0;
    width: 90%;
    margin: 0 auto;
}
.projects1 .box-container .thumbnail{
    flex: 1 1 30rem;
    height: 22rem;
    box-shadow: 0 .3rem .5rem #000;
    overflow: hidden;
    position: relative;
    margin: 1rem;
    cursor: pointer;
}
.projects1 .box-container .thumbnail img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.projects1 .box-container .thumbnail .icons{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    transform: scale(0);
}
.projects1 .box-container .thumbnail:hover .icons{
    top: 0;
    transform: scale(1);
}
.projects1 .box-container .thumbnail a{
    font-size: 3rem;
    color: #fff;
    margin: 2rem 0;
    transform: translateY(13rem);
    transition-delay: calc(.2s * var(--i));
}
.projects1 .box-container .thumbnail:hover .icons a{
    transform: translateY(0);
}


/* Post- Gujrat Style */
.gujrat{
    background-image: url('./images/gujrat/images.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
}
.gujrat{
    min-height: 100vh;
}
.gujrat .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 0;
    width: 90%;
    margin: 0 auto;
}
.gujrat .box-container .thumbnail{
    flex: 1 1 30rem;
    height: 22rem;
    box-shadow: 0 .3rem .5rem #000;
    overflow: hidden;
    position: relative;
    margin: 1rem;
    cursor: pointer;
}
.gujrat .box-container .thumbnail img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.gujrat .box-container .thumbnail .icons{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    transform: scale(0);
}
.gujrat .box-container .thumbnail:hover .icons{
    top: 0;
    transform: scale(1);
}
.gujrat .box-container .thumbnail a{
    font-size: 3rem;
    color: #fff;
    margin: 2rem 0;
    transform: translateY(13rem);
    transition-delay: calc(.2s * var(--i));
}
.gujrat .box-container .thumbnail:hover .icons a{
    transform: translateY(0);
}


/* Post-Kaddipatta */
.kadipatta{
    background-image: url('./images/project2.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}
.kadipatta{
    min-height: 100vh;
}
.kadipatta .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 0;
    width: 90%;
    margin: 0 auto;
}
.kadipatta .box-container .thumbnail{
    flex: 1 1 30rem;
    height: 22rem;
    box-shadow: 0 .3rem .5rem #000;
    overflow: hidden;
    position: relative;
    margin: 1rem;
    cursor: pointer;
}
.kadipatta .box-container .thumbnail img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.kadipatta .box-container .thumbnail .icons{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    transform: scale(0);
}
.kadipattat .box-container .thumbnail:hover .icons{
    top: 0;
    transform: scale(1);
}
.kadipatta .box-container .thumbnail a{
    font-size: 3rem;
    color: #fff;
    margin: 2rem 0;
    transform: translateY(13rem);
    transition-delay: calc(.2s * var(--i));
}
.kadipatta .box-container .thumbnail:hover .icons a{
    transform: translateY(0);
}

/* Slideshow Container */
.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    padding: 20px;
    background-color: #f7f7f7;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Slideshow Images */
.mySlides {
    display: none;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.mySlides img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Fade Animation */
.fade {
    animation: fade 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* Dots */
.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    cursor: pointer;
}

.dot.active {
    background-color: #717171;
}

.dot:hover {
    background-color: #999;
}

/* Thumbnail Icons */
.icons {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

.icons a {
    margin: 0 5px;
    transition: color 0.3s ease;
}

.icons a:hover {
    color: #ccc;
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
    .slideshow-container {
        padding: 10px;
    }
    .mySlides img {
        border-radius: 5px;
    }
    .dot {
        height: 10px;
        width: 10px;
    }
}

@media only screen and (max-width: 480px) {
    .slideshow-container {
        padding: 5px;
    }
    .mySlides img {
        border-radius: 0;
    }
    .dot {
        height: 5px;
        width: 5px;
    }
}