@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans', sans-serif;
}

html,
body {
    background-color: #F7F7F7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Noto Sans', sans-serif;
}


/******************** scrollbar ********************/

::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.8);
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: black;
    border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    width: 5px;
}

/******************** navbar ********************/

#nav_bar {
    background-color: white;
    box-shadow: 0px 2px 10px 4px rgba(0, 0, 0, 0.1);
    cursor: default;
}

#navbarNav li {
    margin: 0 2px;
    width: 150px;
    transition: all .5s ease;
    font-size: 20px;
}


#navbarNav li:hover {
    border-radius: 10px;
    background-color: red;
}

#navbarNav li a {
    color: black;
    transition: all .5s ease;
}

#navbarNav li a:hover {
    color: white;
    font-weight: bold;
}


#nav_img {
    position: relative;
    animation-name: nav_img;
    animation-duration: 2s;
    animation-timing-function: ease;
}

#nav_a1 {
    position: relative;
    animation-name: nav_a1;
    animation-duration: 2s;
    animation-timing-function: ease;
}

#nav_a2 {
    position: relative;
    animation-name: nav_a2;
    animation-duration: 2.5s;
    animation-timing-function: ease;
}

#nav_a3 {
    position: relative;
    animation-name: nav_a3;
    animation-duration: 3s;
    animation-timing-function: ease;
}

#nav_a4 {
    position: relative;
    animation-name: nav_a4;
    animation-duration: 3.5s;
    animation-timing-function: ease;
}

#nav_a5 {
    position: relative;
    animation-name: nav_a5;
    animation-duration: 4s;
    animation-timing-function: ease;
}

#language-button {
    border-color: white;
    font-size: 20px;
    justify-content: end;
}

#language-button button {
    border-color: white;
    font-size: 20px;
    margin-right: 20px;
}

#btnEn:hover {
    border-color: white;
    background-color: red;
    color: white;
    font-weight: bold;
    border-radius: 10px;
}

#btnMn:hover {
    border-color: white;
    background-color: red;
    color: white;
    font-weight: bold;
    border-radius: 10px;
}

@keyframes nav_img {
    0% {
        left: -100px;
        transform: rotate(180deg);
    }

    100% {
        left: 0;
        transform: rotate(0deg);
    }
}

@keyframes nav_a1 {
    0% {
        top: -150px;
    }

    100% {
        top: 0;
    }
}

@keyframes nav_a2 {
    0% {
        top: -150px;
    }

    100% {
        top: 0;
    }
}

@keyframes nav_a3 {
    0% {
        top: -150px;
    }

    100% {
        top: 0;
    }
}

@keyframes nav_a4 {
    0% {
        top: -150px;
    }

    100% {
        top: 0;
    }
}

@keyframes nav_a5 {
    0% {
        top: -150px;
    }

    100% {
        top: 0;
    }
}


/******************** carousel ********************/

.top_carousel .carousel-item {
    min-height: 30vh;
    position: relative;
}

.top_carousel .carousel-item .row>img {
    position: absolute;
    z-index: -2;
}

.top_carousel .carousel-item .row h5 {
    color: red;
}

.anime-2 {
    position: relative;
    animation-name: anime-2;
    animation-duration: 1.3s;
    animation-timing-function: ease-out;
    overflow: hidden;
}

@keyframes anime-2 {
    0% {
        left: -500px;
    }

    100% {
        left: 0;
    }
}


.anime-3 {
    position: relative;
    animation-name: anime-3;
    animation-duration: 1.3s;
    animation-timing-function: ease-out;
    overflow: hidden;
}

@keyframes anime-3 {
    0% {
        right: -500px;
    }

    100% {
        right: 0;
    }
}

/******************** welcome ********************/


#welcome {
    margin-bottom: 40px;
}

#welcome .offset-md-2 {
    background: url(assets/quote-1.png) left top no-repeat, url(assets/quote-2.png) right top no-repeat;
}


#welcome span {
    font-family: 'Fredoka One', cursive;
}

#welcome p {
    font-size: 1.1rem;
    line-height: 30px;
}

/******************** what we do ********************/

#t-cards {
    padding-top: 50px;
    padding-bottom: 30px;
    background: url(assets/background-2.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/*** Panel cards ***/


.panel.panel-card {
    position: relative;
    height: 241px;
    border: none;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 3px 3px 10px 3px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
    transition: all .5s ease;
    background-color: #F7F7F7;
}

.panel.panel-card:hover {
    background-color: white;
}

.panel.panel-card .panel-heading {
    position: relative;
    z-index: 2;
    height: 120px;
    border-bottom-color: #fff;
    overflow: hidden;
}

.panel.panel-card .panel-heading img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* .panel.panel-card .panel-heading img {
    position: absolute;
    top: 50%;
    left: 50%;
    filter: grayscale(100%);
    z-index: 1;
    width: 120%;
    transition: all .8s ease;
    transform: translate3d(-50%, -50%, 0);
    -webkit-transform: translate3d(-50%, -50%, 0);
} */

.panel.panel-card .panel-figure {
    position: absolute;
    top: auto;
    left: 50%;
    z-index: 3;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: red;
    box-shadow: 0 0 0 3px #fff;
    -webkit-box-shadow: 0 0 0 3px #fff;
    transform: translate3d(-50%, -50%, 0);
    -webkit-transform: translate3d(-50%, -50%, 0);
    transition: opacity 400ms ease-in-out;
    -webkit-transition: opacity 400ms ease-in-out;
}

.panel.panel-card .panel-figure i {
    font-size: 1.8rem;
    color: white;
}

.panel.panel-card .panel-body {
    padding-top: 40px;
    padding-bottom: 20px;
    transition: padding 400ms ease-in-out;
    -webkit-transition: padding 400ms ease-in-out;
}

.panel.panel-card .panel-thumbnails {
    padding: 0 15px 20px;
}

.panel-thumbnails .thumbnail {
    width: 60px;
    max-width: 100%;
    margin: 0 auto;
    background-color: #fff;
}

.panel h4 {
    color: black;
    transition: all .8s ease;
}

.panel a {
    text-decoration: none;
    color: blue;
    transition: all .5s ease;
}

.panel a:hover {
    color: red;
}

.panel.panel-card:hover h4 {
    color: orangered;
}

/******************** Our Vision ********************/

#vision h1 {
    color: black;
    margin: 20px;
}

#vision section {
    width: max-content;
    margin: auto;
    padding: 20px;
    border-radius: 50%;
    background-color: rgb(223, 221, 221);
    margin-bottom: 20px;
    transition: all 1s ease;
    text-align: center;
    justify-content: center;
    align-items: center;
}

#vision img {
    transition: all 1s ease;
    width: 100px;
    height: 100px;
    object-fit:contain;
}

#service_img {
    transition: all 1s ease;
    width: 500px;
    height: 100px;
}

#vision {
    justify-content: center;
    align-items: center;
    width: auto;
    text-align: center;
}

#vision div {
    cursor: pointer;
    justify-content: center;
    text-align: center;
}

#vision div:hover img {
    transform: scale(1.10);
}

#vision div:hover section {
    box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.4);
}

/******************** Counter ********************/

#achieve {
    background: url(assets/background-3.png);
    background-position: bottom top;
    background-attachment: fixed;
    background-size: cover;

}

#achieve>div {
    background-color: rgba(0, 0, 0, 0.7);
    padding-bottom: 20px;
}

#achieve h1 {
    font-size: 3rem;
    color: white;
}

#achieve img {
    animation-name: anime-4;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes anime-4 {
    0% {
        transform: scale(1.10);
    }

    25% {
        transform: scale(0.90);
    }

    75% {
        transform: scale(1.10);
    }

    100% {
        transform: scale(0.90);
    }
}

.count_div {
    margin: auto;
}

.count_div p {
    font-size: 2rem;
    color: red;
    font-weight: bold;
}

.count_div span {
    font-size: 2rem;
    color: red;
    font-weight: bold;
}

.count_div h5 {
    color: white;
}


/******************** event ********************/

#event .card {
    border-radius: 10px;
    border: 1px solid rgba(128, 128, 128, 0.4);
    background-color: rgb(242, 240, 236);
    position: relative;
    overflow: hidden;
    margin: 8px 15px;
    transition: all .8s ease;
}

#event .card:hover {
    background-color: white;
    box-shadow: 1px 16px 8px 8px rgba(0, 0, 0, 0.1);
}

#event .card img {
    border-radius: 10px 10px 0px 0px;
    transition: all .8s ease;
    margin-bottom: 10px;
    filter: grayscale(100%);
}

#event .card:hover img {
    filter: none;
    transform: scale(1.05);
}

#event .card h5 {
    transition: all .8s ease;
}

#event .card:hover h5 {
    color: orangered;
}

#event .card span {
    position: absolute;
    top: 0;
    left: 0%;
    background-color: orangered;
    color: white;
    padding: 15px;
    font-weight: bold;
    border-radius: 10px 0px 10px 0px;
    z-index: 10;
}

#event .card a {
    text-decoration: none;
    color: blue;
    transition: all .5s ease;
}

#event .card a:hover {
    color: orangered;
    font-weight: bold;
}


/******************** Team or testimonials  ********************/

#team {
    background: url();
    background-attachment: fixed;
    background-size: cover;
    margin-bottom: 20px;
    background-color: white;
    border-radius: 10px 100px / 120px;
    border: 1px solid rgba(128, 128, 128, 0.26);
}

#team section img {
    width: 60px;
    border-radius: 50%;
    margin: 0 10px;
}

#team section div {
    margin: auto;
    margin-bottom: 15px;
}

#team section div span {
    font-size: 1rem;
}

#review_carousel {
    margin: 15px;
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 5px 22px 0 rgba(31, 38, 135, 0.2);
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

#review_carousel h5 {
    margin-bottom: 20px;
}

#vision {
    margin: auto;
}

#about_us {
    margin: auto;
    padding: 10px;
}

/* helper */

#helping_hand {
    background: url(assets/helping-hands-shape.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
}

#helping_hand .row {
    background-color: rgba(0, 0, 0, 0.2);
}

#hh_img1 {
    animation-name: anime-5;
    animation-duration: 1.2s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes anime-5 {
    0% {
        transform: translateX(-20px);
    }

    100% {
        transform: translateX(20px);

    }
}


#hh_img2 img {
    margin: 20px 10px;
    max-width: 350px;
    border-radius: 15px;
    transition: all .8s ease-in;
}

#helping_hand:hover #hh_img2 img {
    transform: scale(1.20);
}

/******************** become Volunteer ********************/

#help {
    background: url(assets/sketch-4.png);
    background-repeat: no-repeat;
    background-position: left bottom;
}

#volunteer {
    background: url(assets/sketch-5.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
}

#volunteer a {
    text-decoration: none;
    color: orangered;
    font-size: 1.1rem;
    padding: 10px;
    border-radius: 10px;
    transition: all .5s ease;
    background-color: white;
    font-weight: bold;
    border: 1px solid rgba(128, 128, 128, 0.4);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.24);
}

#volunteer a:hover {
    color: white;
    font-weight: normal;
    background-color: orangered;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.44);
}


/********************* footer ********************/

#footer {
    background: url(assets/footer.jpeg);
    background-size: contain;
    background-position: bottom;
    background-attachment: fixed;
    background-color: rgba(0, 0, 0, 0.8);
}

#footer .row {
    margin: 20%, 20%;
    justify-content: center;
}

#footer .row h4 {
    margin: 20px 10px;
    color: white;
}

#footer-com-name {
    padding-top: 50px;
    margin: auto;
    width: 50%;
    color: white;
    justify-content: center;
    text-align: center;
}


#footer .link a {
    text-decoration: none;
    color: white;
    display: block;
    padding: 5px 8px;
    margin: 5px;
    transition: all .5s ease;
}

#footer .link a:hover {
    color: red;
    transform: scale(1.10);
}

#footer .f_contact a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    margin: 15px;
}

@media screen and (max-width: 400px) {
    #navbarNav li {
        margin: auto;
    }

    .top_carousel .carousel-item img {
        margin: 40px 0;
    }

    .top_carousel .carousel-item h1 {
        font-size: 1rem;
    }

    .top_carousel .carousel-item h5 {
        font-size: 0.7rem;
    }

    #welcome .offset-md-2 {
        background: none;
    }

    #achieve h1 {
        font-size: 1.5rem;
    }

    .count_div p {
        font-size: 1rem;
    }

    #volunteer {
        background: none;
    }

    #help {
        background: none;
    }

    #hh_img2 img {
        margin: 0;
        margin-bottom: 20px;
    }

    #helping_hand:hover #hh_img2 img {
        transform: scale(0.90);
    }

    #footer {
        background-size: cover;
        background-repeat: no-repeat;
    }

}