@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&display=swap');

:root{
    --green:#0d9979;
}

*{
    font-family: 'Open Sans', 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:var(--green);
    color:#fff;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
}

.btn{
    height:3.5rem;
    width:15rem;
    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;
}

.btn::before, .btn::after{
    position: absolute;
    content: '';
    top:0; left:0;
    height:100%;
    width: 100%;
    background:var(--green);
    z-index: -1;
    transition: all 0.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: 7rem;
}

.heading i{
    color:var(--green);
    font-size: 2rem;
}


header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background:#fff;
    box-shadow: 0 .1rem .3rem rgba(0,0,0,.3);
    position: fixed;
    top:0; left:0;
    z-index: 1000;
    padding: 1rem 5rem;
    width: 100%;
}

header .logo{
    color:var(--green);
    font-size: 3rem;
}

header .navbar ul{
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}

header .navbar ul li{
    margin:0 1.5rem;
}

header .navbar ul li a{
    font-size: 2rem;
    color:#666;
}

.navbar a{
    color: black;
    margin-left: 1.4rem;
    font-size: 1rem;
    position: relative;
}

.navbar a:hover {
    color: var(--green);
    transition: 0.4s;
}

.navbar a:after {
    content: '';
    position: absolute;
    background: var(--green);
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    top: 100%;
    margin-top: 5px;
    transition: 1s;
}

.navbar a:hover:after {
    width: 100%;
}

header .navbar ul li a:hover{
    color:var(--green);
}
header .fa-bars{
    font-size: 3rem;
    color:#666;
    cursor: pointer;
    display: none;
}

.home{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../images/home-bg5.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.home .content{
    text-align: center;
    padding:1rem;
}

.home .content h1{
    font-size: 7rem;
    color:var(--green);
}

.home .content p{
    font-size: 1.9rem;
    color: #fff;
    text-shadow: 1px 1px var(--green);
    padding:1rem 0;
    width: 70rem;
}

.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:var(--green);
}

.about .row .content h4{
    font-size: 2rem;
    color:var(--green);
}

.about .row .content p{
    font-size: 1.6rem;
    color:#666;
    padding:1rem 0;
    font-family: raleway;
}

.about .row .content ul{
    list-style: none;
    font-size: 1.5rem;
    color:#666;
    padding:0 1rem;
    font-family: raleway;
}

.about .row .content li{
    font-family: raleway;
}

.about .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.about .box-container .box{
    padding:2rem 1rem;
    text-align: center;
    border:.2rem solid var(--green);
    flex:1 1 20rem;
    margin:2rem;
}

.about .box-container .box i{
    color:var(--green);
    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;
}

.service{
    background:#f0f0f0;
    min-height: 60vh;
}

.service .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 80%;
    margin:0 auto;
}

.service .box-container .box{
    flex:1 1 25rem;
    padding:2rem 1rem;
    text-align: center;
    background:#fff;
    border:.2rem solid var(--green);
    margin:2rem;
    cursor: pointer;
}

.service .box-container .box i{
    color: var(--green);
    font-size: 4rem;
    padding:1rem 0;
}

.service .box-container .box h3{
    color: #333;
    font-size: 2rem;
}

.service .box-container .box p{
    color: #666;
    font-size: 1.5rem;
    padding:1rem 0;
}

.service .box-container .box a{
    color:#333;
    font-size: 1.7rem;
}

.service .box-container .box a:hover{
    color:var(--green);
}

.service .box-container .box:hover{
    box-shadow: 0 .3rem .5rem rgba(0,0,0,.3);
}

.team{
    background:#333;
    min-height: 100vh;
}

.team .heading{
    color:#fff;
}

.team .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding:2rem 0;
    width: 90%;
    margin:0 auto;
}

.team .box-container .box{
    flex: 1 1 30rem;
    height: 22rem;
    box-shadow: 0 .3rem .5rem #000;
    overflow: hidden;
    position: relative;
    margin:1rem;
}

.team .box-container .box img{
    height:100%;
    width:100%;
    object-fit: cover;
}

.team .box-container .box .icons {
    height: 100%;
    width: 5.5rem;
    position: absolute;
    top: 0;
    left: -8rem;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    transform: scale(0);
}

.team .box-container .box:hover .icons {
    left: 0;
    transform: scale(1);
    display: inline-block;
    vertical-align: middle;
}

.team .box-container .box .icons a{
    font-size: 3rem;
    color: #fff;
    margin: 2rem 1rem;
    text-shadow: 0 .3rem .5rem #000;
    transform: translateX(-8rem);
    transition-delay: calc(.2s * var(--i));
}

.team .box-container .box:hover .icons a{
    transform: translateX(0rem);
}

.team .box-container .box .info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.team .box-container .box:hover .info {
    transform: translateY(0);
}

.team .box-container .box .info h2{
    color: #fff;
    margin: 0;
    font-size: 2rem;
    font-weight: 400;
}

.team .box-container .box .info p{
    color: #fff;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 400;
}
.donate{
    position: relative;
    z-index: 0;
    min-height: 100vh;
    padding-bottom: 3rem;
}

.donate .video-container video{
    position: absolute;
    top:0; left:0;
    height:100%;
    width:100%;
    object-fit: cover;
    z-index: -1;
}

.donate .form-container form{
    width:80%;
    margin:2rem auto;
    padding:2rem;
    background:rgba(255,255,255,.1);
    backdrop-filter: blur(.4rem);
    box-shadow: 0 .3rem .5rem #000;
    text-align: center;
    border-top: .1rem solid rgba(255,255,255,.3);
    border-left: .1rem solid rgba(255,255,255,.3);
}

.donate .form-container form .inputBox{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.donate .form-container form .inputBox input, select{
    height:4rem;
    width: 49%;
    background:#fff;
    color:#333;
    padding:0 1rem;
    margin:1rem 0;
    font-size: 1.7rem;
    outline: none;
    border-color: var(--green);
}

.donate .form-container form textarea{
    height:20rem;
    width: 100%;
    background:#333;
    color:#fff;
    padding:1rem;
    margin:1rem 0;
    font-size: 1.7rem;
    outline: none;
    border-color: var(--green);
    resize: none;
}

.donate .form-container form input[type="submit"]{
    color:#333;
    border-color: var(--green);
}

.donate .form-container form input[type="submit"]:hover{
    color:var(--green);
    border-color: var(--green);
    background:#fff;
}

.main-contact {
    padding: 4rem 7%;
}

.main-inner-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
    background: #333;
}

.inner-contact {
    flex: 1 1 45rem;
}

.inner-contact .contact-im img{
    width: 100%;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.contact-content h2{
    font-size: 30px;
    color: #fff;
    margin-bottom: 15px;
    margin-left: -2rem;
}

.contact-content h2 span{
    position: relative;
}

.contact-content h2 span:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--green);
    width: 100%;
    height: 2px;
}

.contact-content form{
    margin-left: 2rem;
}

.contact-content input{
    width: 80%;
    padding: 1rem;
    margin: 1rem;
    border: 1px solid var(--green);
    background: #333;
    color: #fff;
    text-transform: none;
}

.contact-content textarea{
    width: 80%;
    padding: 1rem;
    margin: 1rem;
    border: 1px solid var(--green);
    background: #333;
    color: #fff;
}

.contact-content .btn{
    font-size: 16px;
}

.contact-content .btn:hover {
    color: var(--green);
    background: #fff;
}

.footer{
    background:#333;
}

.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 .logo{
    font-size: 3rem;
    color:var(--green);
}

.footer .box-container .box p{
    font-size: 1.7rem;
    color:#ccc;
    padding:1rem 0;
}

.footer .box-container .box .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 .letter{
    font-size: 3rem;
    color:#fff;
}

.footer .box-container .box form input[type="email"]{
    padding:0 1rem;
    outline:none;
    border:.2rem 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: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:.1rem 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 queries  */

@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: .1rem solid #ccc;
        opacity: 0;
    }

    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;
    }

    .fa-times{
        transform: rotate(180deg);
    }

    header .nav-toggle{
        top:6rem; 
        opacity: 1;
    }

    .home .content h1{
        font-size: 5rem;
    }

    .home .content p{
        width: auto;
    }

    .service .box-container{
        width: auto;
    }

    .main-contact {
        padding-top: 5rem;
    }

    .main-inner-contact {
        display: block;
        padding-top: 2rem;
    }

}

@media (max-width:500px){
    .donate .form-container form .inputBox input, select{
        width: 100%;
    }
    .donate .form-container form{
        width: 90%;
    }
}