*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}
body{
    scroll-behavior: smooth;
}
body li{
    list-style: none;
}
body a{
    text-decoration: none;
}
body h1,h2,h3,h4,h5,h6,p{
    margin-bottom: 0%!important;
}
body h1,h2,h3,h4,h5{
    font-family: "Raleway", sans-serif;
}
:root{
    --primary:#173f63;
    --white:white;
    --lightgray:lightgray;
    --gray:gray;
    --red:red;
    --black:#222;
}
.flex-center{
    display: flex;
    justify-content: center;
    align-items: center;
}
.flex-center-column{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.grid{
    width:88%;
    margin: auto;
}
.common{
    height:100px;
    background: repeating-conic-gradient(#000 1deg 2deg, #111 2deg 3deg);
    background-size: 10px 10px;
    display: flex;
    align-items: center;
    color:var(--white);
}
.common a{
    color: var(--white);
}
.common h5{
    font-weight: 700;
    font-size: 25px;
    letter-spacing: 1px;
}
.common-grid{
    display: flex;
    justify-content: space-between;
}
.gap{
    margin-top: 5%;
}
.justify{
    text-align: justify;
}

/* navbar page  */
.whatsapp,.pulse {
    background: #1ab744;
    position: fixed;
    right:2%;
    bottom:10%;
    font-size: 30px;
    text-align: center;
    z-index: 99;
    border-radius: 50%;
    height: 55px;
    width: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: var(--white);
}
.pulse:nth-child(1) {
    animation: pulse 2s infinite
}
.pulse:nth-child(2) {
    animation: pulse 2s infinite .3s
}
.pulse:nth-child(3) {
    animation: pulse 2s infinite .6s
}
@keyframes pulse {
0% {
    transform: scale(.1);
    opacity: 0;
}
50% {
    opacity: .3;
}
100% {
    transform: scale(1.6);
    opacity: 0;
}
}
.arrow-up{
    display: none;
    position: absolute;
    border: 2px solid var(--primary);
    height:35px;
    width:35px;
    background-color: var(--white);
    border-radius: 50%;
    color:var(--primary);
    bottom:3%;
    right:2.4%;
    position: fixed;
    z-index: 99;
    animation: popup 0.4s linear forwards;
}
@keyframes popup{
  from {
    transform: translateY(50%);
  }
  to {
    transform: translateY(-5%);
  }
}
.nav-top{
    padding-block: 3px;
    color: var(--white);
    background-color: var(--primary);
    font-size: 14px;
}
.nav-top-grid{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-top-icon{
    height:28px!important;
    width:28px!important;
    border: 2px solid var(--white);
    border-radius: 50%;
    padding-top: 4.5px;
    margin-right: 8px;
}
.first-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-block: 5px;
}
.logo{
    height:80px;
    width:80px;
    object-fit: contain;
}
.first-right{
    display: flex;
    gap:70px;
    justify-content: end;
}
.first-flex{
    display: flex;
    align-items: center;
    gap:20px;
}
.first-icon{
    height: 45px;
    width: 45px;
    background-color: var(--primary);
    color:var(--white);
    border-radius: 5px;
}
.first-text{
    font-weight: 600;
}
.first-top{
    margin-top: 3%;
}
.first-top a{
    color:var(--black)!important;
}
nav{
    --bs-navbar-padding-y: 0rem!important;
    padding-block: 5px!important;
    background-color: var(--primary);
}
.nav-item {
    padding-right: 65px;
}
.nav-item:nth-child(7) {
    padding-right: 0;
}
.nav-link{
    font-size: 14px!important;
    color:var(--white)!important;
}
.navbar-nav{
    align-items: center;
}
.dropdown-menu{
    border-radius: 0%!important;
    transform: translateY(50px);
    transition: 0.5s;
    opacity: 0;
}
.dropdown:hover .dropdown-menu{
    transform: translateY(3px);
    opacity: 1;
}
.dropdown-item{
    font-size: 15px;
    font-weight: 500!important;
}
.dropdown-item:focus{
    background-color: transparent!important;
    color:var(--black)!important;
}
.show-social-icon{
    height:33px!important;
    width:33px!important;
    border: 2px solid var(--black);
    padding-top: 7px;
    border-radius: 5px;
}
.hide-text{
    color:var(--black);
}
.hide-content{
    display: none;
}

/* header page  */
header{
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: rgb(240, 238, 238);
    height:650px;
}
.header-one{
    padding-left: 100px;
    padding-right: 70px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap:30px;
}
.header-one h5{
    color:var(--primary);
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.header-one h1{
    font-weight: 800;
    font-size: 45px;
}
.header-image{
    height:100%;
    width:100%;
    object-fit: cover;
}
.who-grid{
    width:70%;
    margin: auto;
    text-align: center;
}
.aim-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
}
.aim-icon{
    height:71px;
    width:71px;
    background-color: var(--primary);
    font-size: 30px;
    border-radius: 50%;
    color: var(--white);
}
.aim-grid-one{
    position: relative;
    padding-inline: 30px;
    gap:20px;
}
.aim-grid-one:before{
    position: absolute;
    content:"";
    height:5px;
    width:100%;
    background-color: var(--primary);
    top:33px;
    left:0;
    z-index: -1;
}
.aim-grid-one h5{
    font-weight: 700;
}
.title{
    font-weight: 800;
}
.work-grid{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap:20px;
}
.work-box{
    position: relative;
    height:100%;
    width:100%!important;
    border: 1px solid var(--lightgray);
    border-radius: 5px;
}
.work-image{
    height:200px;
    width:100%;
    object-fit: cover;
    border-radius: 5px;
}
.work-content{
    padding-top: 55px;
    padding-inline: 10px;
    text-align: center;
    height:200px;
}
.work-content h5{
    margin-bottom: 4%!important;
    font-weight: 600;
}
.work-btn{
    margin-top: 6%;
}
.work-icon{
    position: absolute;
    content:"";
    height: 70px;
    width:70px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 30px;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 20;
    border-radius: 50%;
}
.work-icon:before{
    position: absolute;
    content: "";
    height:85px;
    width:85px;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border:2px dotted var(--primary);
    background-color: transparent;
    border-radius: 50%;
    animation: circle 1s linear infinite; 
}
@keyframes circle{
    0%{
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100%{
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
.color{
    color:var(--primary);
}
.reach-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    width:70%;
    margin: auto;
    margin-top: 5%;
    gap:5px;
}
.reach{
    height:230px;
    width:100%;
    background-color: var(--primary);
    color:var(--white);
}
.reach-one{
    border-top-right-radius: 150px;
    border-top-left-radius: 150px;
    border-bottom-right-radius: 150px;
}
.reach-image{
    height:230px;
    width:100%;
    object-fit: cover;
    border-top-right-radius: 100px;
    border-bottom-left-radius: 100px;
}
.reach-image-one{
    height:230px;
    width:100%;
    object-fit: cover;
    border-top-left-radius: 100px;
    border-bottom-right-radius: 100px;
}
.reach-two{
    border-top-right-radius: 150px;
    border-top-left-radius: 150px;
    border-bottom-left-radius: 150px;
}
.reach-three{
    height:230px;
    width:100%;
    object-fit: cover;
    border-top-right-radius: 150px;
    border-bottom-left-radius: 150px;
    border-bottom-right-radius: 150px;
}
.reach-four{
    height:230px;
    width:100%;
    object-fit: cover;
    border-bottom-right-radius: 150px;
    border-top-left-radius: 150px;
    border-bottom-left-radius: 150px;
}
.reach h2{
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 5%!important;
}
.btn-one{
    padding:11px 27px;
    background-color: var(--primary);
    color:var(--white);
}
.testimonial-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap:50px;
}
.testimonial-box{
    border: 1px solid var(--lightgray);
    display: flex;
    flex-direction: column;
    gap:20px;
    padding-block: 20px;
    padding-inline: 20px;
    border-radius: 7px;
}
.fa-star{
    color:rgb(255, 145, 0);
}
.justify{
    text-align: justify;
}
.testimonial-flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.testimonial-flex-one{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 10px;
    gap:20px;
}
.user-img{
    height:60px;
    width:60px;
    background-color: var(--gray);
    border-radius: 5px;
}
.testimonial-content h5{
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 4%!important;
}
.fa-quote-right{
    font-size: 40px;
}

/* about page  */
.about-grid{
    width:70%;
    margin: auto;
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    gap:50px;
    margin-top: 5%;
    height:100%;
}
.img-one{
    height: 100%;
    width:100%;
    object-fit: cover;
    border-radius: 5px;
}
.about-right{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap:25px;
}
.about-right h2{
    font-size: 38px;
    font-weight: 800;
}
.president-grid{
    width:75%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 0.6fr;
    gap:50px;
    margin-top: 5%;
}
.president-image{
    height:400px;
    width:100%;
    object-fit: cover;
    background-color: var(--lightgray);
    border-radius: 5px;
}

/* contact page  */
.contact-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    width:75%;
    margin: auto;
    margin-top: 4%;
    gap:40px;
}
.contact-box{
    gap:12px;
    background-color: var(--primary);
    color:var(--white);
    padding-block: 15px;
    border-radius: 5px;
    padding-inline: 10px;
}
.contact-icon{
    font-size: 23px;
}
.contact-box h5{
    font-size: 18px;
    letter-spacing: 1px;
}
.map-grid{
    width:75%;
    margin: auto;
    margin-top: 4%;
}
.map{
    height:400px;
    width:100%;
    border:1px solid var(--lightgray);
    border-radius: 5px;
}

/* member part  */
.grid-member{
    width:40%;
    margin: auto;
    margin-top: 4%;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    padding-block: 30px;
    padding-inline: 15px;
}
.input-group,.input-group-text,.form-control{
    border-radius: 0%!important;
    height:44px;
}
.form-control:focus{
    border:1px solid var(--lightgray)!important;
    outline: none!important;
    box-shadow: none!important;
}
.submit-btn{
    background-color: var(--primary)!important;
    height:45px!important;
    color:var(--white)!important;
}

/* our work page  */
.heading{
    font-weight: 600;
    font-size: 30px;
}

/* media page start  */
.media-grid{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap:30px;
}
.media-image{
    height: 100%;
    width: 100%;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
}
#modal{
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}
#fullImage{
    max-height:90vh;
    max-width:90vw;
    border-radius: 5px;
}

/* donate page start  */
.donate-grid{
    width:30%;
    margin: auto;
    margin-top: 4%;
    padding-block: 30px;
    padding-inline: 20px;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}
.donate-grid h5{
    margin-bottom: 4%!important;
    font-weight: 700;
}

/* footer page  */
footer{
    position: relative;
    margin-top: 3%;
    background: repeating-conic-gradient(#000 0deg 31deg,#111 31deg 62deg);
    background-size: 10px 10px;
    padding-top: 40px;
    padding-bottom: 10px;
    overflow: hidden;
    clip-path: polygon(5% 3%, 95% 3%, 90% 0, 100% 0, 100% 100%, 0 100%, 0 0, 10% 0);
}
footer:before{
    position: absolute;
    content: "";
    height:850px;
    width:850px;
    background-color: var(--white);
    border-radius: 50%;
    z-index: -1;
    top:199%;
    left:50%;
    transform: translate(-50%, -50%);
}
footer a{
    color:var(--white)!important;
}
.footer-grid{
    display: grid;
    grid-template-columns: 1fr 0.5fr;
    gap:10px;
}
.footer-sub-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap:10px;
}
footer h5{
    color: var(--white);
    font-weight: 700;
    margin-bottom: 8%!important;
}
.footer-top{
    margin-top: 4.5%;
}
.footer-top p{
    color:var(--white);
}
.footer-right h5{
    margin-bottom: 5.3%!important;
}
.copyright{
    margin-top: 4%;
    font-size: 15px;
    font-weight: 500;
}

/* admin area  */
.login{
    height:100vh;
    width:100vw;
}
.login-form{
    width:35%;
    padding: 25px;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}
.login-form h4{
    margin-bottom: 5%!important;
    font-weight: 600;
}
.dashboard{
    background-color: var(--gray);
    height:7vh;
    display: flex;
    align-items: center;
}
.dashboard h4{
    color: var(--white);
    padding-inline: 10px;
    font-size: 30px;
    font-weight: 600;
}
.admin{
    height:93vh;
}
.admin-left,.admin-right{
    height: 93vh;
}
.admin-left{
    background-color: var(--black);
}
.admin-top{
    background-color: var(--white);
    padding:8px 10px;
    margin-top: 5%;
}
.admin-top a{
    color:var(--black);
}
.admin-content{
    font-weight: 700;
}
.fa-trash-can{
    color:red;
}

/* responsive part start  */
@media (max-width:1024px){
    .grid{
        width:90%;
    }
    .first-grid{
        grid-template-columns: 0.4fr 1fr;
    }
    .nav-item{
        padding-right: 45px;
    }
    .header-one{
        padding-left: 70px;
    }
    .header-one h1{
        font-size: 30px;
    }
    .gap{
        margin-top: 7%;
    }
    .about-grid{
        width:80%;
    }
    .about-right h2{
        font-size: 30px;
    }
    .work-grid{
        grid-template-columns: repeat(2,1fr);
        gap:70px;
    }
    .reach-grid{
        width:90%;
    }
    .testimonial-grid{
        gap:20px;
    }
    footer:before{
        width:930px;
        top:214%;
    }
    .president-grid{
        width:90%;
        grid-template-columns: 1fr 0.7fr;
        overflow-x: clip;
    }
    .president-image{
        height:100%;
    }
    .contact-grid{
        width:90%;
    }
    .map-grid{
        width:90%;
    }
    .login-form{
        width:40%;
    }
}

@media (max-width:768px){
    .first-grid{
        grid-template-columns: 0.5fr 2fr;
    }
    .first-right{
        gap:40px;
    }
    .first-flex{
        gap:20px;
    }
    .navbar-toggler{
        border-radius: 0%!important;
        background-color: var(--white)!important;
    }
    .navbar-toggler:focus{
        box-shadow: none!important;
    }
    .nav-link{
        color:var(--black)!important;
        font-weight: 500!important;
    }
    .navbar-nav{
        align-items: flex-start;
    }
    .nav-item {
        padding-right: 0px;
    }
    header{
        grid-template-columns: 1fr;
        height:100%;
        text-align: center;
        padding-inline: 40px;
    }
    .header-one{
        padding-block: 40px;;
    }
    .about-grid,.president-grid{
        grid-template-columns: 1fr;
    }
    .testimonial-grid,.aim-grid,.contact-grid{
        grid-template-columns: 1fr 1fr;
    }
    .res-aim{
        margin-top: 7%;
    }
    footer{
        padding-top: 50px;
    }
    .footer-grid{
        grid-template-columns: 1fr;
        gap:40px;
    }
    .footer-sub-grid h5{
        margin-bottom: 10%!important;
    }
    .footer-right h5{
        margin-bottom: 3%!important;
    }
    .res-footer-top{
        margin-top: 2%!important;
    }
    .copyright{
        margin-top: 6%;
    }
    footer:before{
        top:164%;
    }
    .media-grid{
        grid-template-columns: 1fr 1fr 1fr;
    }
    .grid-member{
        width:60%;
    }
    .donate-grid{
        width:50%;
    }
    .login-form{
        width:50%;
    }
}

@media (max-width:425px){
    .nav-top,.first-right{
        display: none;
    }
    .first-grid{
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hide-content{
        display: block;
        margin-top: 6%;
    }
    header{
        padding-inline: 25px;
    }
    .header-one{
        padding-inline: 10px;
    }
    .who-grid{
        width:90%;
    }
    .aim-grid{
        grid-template-columns: 1fr;
        gap:40px;
    }
    .res-aim{
        margin-top: 0%;
    }
    .aim-grid-one{
        padding-inline: 10px;
    }
    .about-grid,.grid-member,.donate-grid{
        width:90%;
    }
    .work-grid{
        grid-template-columns: 1fr;
        gap:20px;
    }
    .work-box{
        width:84%!important;
        margin: auto;
    }
    .reach-grid,.testimonial-grid,.contact-grid,.media-grid{
        grid-template-columns: 1fr;
    }
    .reach,.reach-image,.reach-three,.reach-four{
        height:180px;
        width:100%;
    }
    .reach-image,.reach-three,.reach-four{
        height:230px;
        width:100%;
    }
    footer{
        padding-top: 80px;
    }
    .footer-sub-grid{
        grid-template-columns: 1fr;
        gap:40px;
    }
    .footer-grid{
        gap:35px;
    }
    .footer-sub-grid h5{
        margin-bottom: 6%!important;
    }
    .footer-right h5{
        margin-bottom: 6%!important;
    }
    .res-footer-top{
        margin-top: 2%!important;
    }
    .copyright{
        margin-top: 10%;
        font-size: 14px;
    }
    footer:before{
        top:131.5%;
    }
    .team-img{
        height:250px;
        width:250px;
    }
    .common{
        height:100%;
        padding-block: 30px;
    }
    .common h5{
        font-size: 22px;
    }
    .common-grid{
        flex-direction: column;
        gap:13px;
    }
    .map{
        height:300px;
    }
    .login-form{
        width:90%;
    }
    .admin-left{
        height: 40vh;
    }
    .admin-right{
        height: 70vh;
    }
}

@media (max-width:375px){
    .work-box{
        width:90%!important;
        margin: auto;
    }
    header{
        padding-inline: 20px;
    }
    .reach,.reach-image,.reach-three,.reach-four{
        height:170px;
    }
    .reach-image,.reach-three,.reach-four{
        height:220px;
    }
    .copyright{
        width:70%;
        text-align: center;
    }
}

