*{
    margin : 0;
    padding:0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}
body,html{
    overflow-x: clip;
}
body h1,h2,h3,h4,h5,h6,p{
    margin-bottom: 0%!important;
}
body h1,h2,h3,h4,h5{
    font-family: "DM Sans", sans-serif;
}
body li{
    list-style: none;
}
body a{
    text-decoration: none;
}
:root{
    --primary:#0169B5;
    --black: #222;
    --white:white;
    --gray:gray;
    --lightgray:lightgray;
}
.wrapper{
    width:90%;
    margin: auto;
}
.gaps{
    margin-top: 5%;
}
.flex-center{
    display: flex;
    justify-content: center;
    align-items: center;
}
.flex-center-column{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.common{
    background:repeating-conic-gradient(#000 7deg 14deg, #111 14deg 29deg);
    background-size: 4px 4px;
    color:var(--white);
    padding-block: 35px;
}
.common-grid{
    display: flex;
    justify-content: space-between;
}
.common h5{
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 25px;
}
.common a{
    color:var(--white);
}
.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{
   position: fixed;
   height:35px;
   width:35px; 
   border: none;
   outline: none;
   border: 2px solid var(--primary);
   border-radius: 50%;
   background-color: var(--white);
   color:var(--primary);
   bottom:3.5%;
   right:2.5%;
   z-index: 999;
}

/* navbar page  */
.first{
    background:linear-gradient(to right,var(--black),var(--primary));
    color:var(--white);
    padding-block: 2px;
}
.first a,.year{
    color:var(--white);
    font-size: 13px;
}
.first-nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14.5px;
}
.first-grid{
    display: flex;
    gap:25px;
}
.first-icon{
    height:25px!important;
    width:25px!important;
    border:2px solid var(--white);
    border-radius: 50%;
    padding-top: 3.5px;
    margin-right: 5px;
}
.second-nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap:10px;
    border-bottom:1px solid var(--lightgray);
    padding-block: 3px;
}
.nav-icon{
    height:34px!important;
    width: 34px!important;
    border: 2px solid var(--black);
    border-radius: 5px;
    padding-top: 7px;
    color:var(--black);
}
.logo{
    height:80px;
    width:80px;
    object-fit: cover;
}
.second-left{
    display: flex;
    align-items: center;
    gap:15px;
}
.second-left h2{
    font-size: 50px;
    font-weight: 900;
    width:0ch;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 5s linear forwards;
}
@keyframes typing{
    0%{
        width:0ch;
    }
    100%{
        width:24ch;
    }
}
nav{
    background:linear-gradient(to right,var(--primary),var(--black));
    --bs-navbar-padding-y:4px!important;
}
.navbar-nav{
    gap:70px;
}
.nav-link{
    font-size: 14px!important;
    color:var(--white)!important;
    font-weight: 500!important;
}
.nav-link:hover{
    color:var(--lightgray)!important;
}
.hide-nav{
    display: none;
}

/* index page  */
header{
    background:linear-gradient(rgba(0,0,0,0.0),rgba(0,0,0,0.0)),url('images/a6.jfif');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height:610px;
}
.heading{
    font-weight: 900;
}
.about-grid{
    width:75%;
    margin: auto;
    text-align: center;
    margin-top: 3%;
}
.color{
    color:var(--primary);
}
.counter-one{
    background-color: var(--primary);
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap:10px;
    padding-top: 40px;
    padding-bottom: 20px;
}
.count{
    height: 90px;
    width: 90px;
    border-radius: 50%;
    background-color: var(--white);
    margin-bottom: 13%;
    font-size: 30px;
    color: var(--black);
    transition: all .8s;
}
.count:hover{
    box-shadow: 0 0 5px var(--white),
                0 0 25px var(--white),
                0 0 50px var(--white),
                0 0 100px var(--white);
    color: var(--black);
}
.count:before{
    position: absolute;
    content: "";
    height: 120px;
    width: 120px;
    border: 2px dotted var(--lightgray);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}
@keyframes spin { 
    100% { 
        transform: rotateZ(360deg); 
    }
}
.work-grid{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap:20px;
}
.cause{
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    gap:20px;
    padding-block:30px;
    padding-inline: 5px;
    padding-bottom: 10px;
    overflow: hidden;
}
.cause a{
    color:var(--white);
}
.cause:before{
    position: absolute;
    content: "";
    height:100%;
    width:100%;
    background-color: var(--primary);
    border-radius: 50%;
    top:85%;
    z-index: -5;
    transition: all 1s;
}
.cause:hover{
    color:var(--white);
}
.cause:hover:before{
    border-radius: 0%;
    top:0px;
}
.cause-one{
    height:70px;
    width:70px;
    border: 2px solid var(--black);
    font-size: 30px;
    border-radius: 50%;
}
.cause h5{
    margin-top: 4%;
    margin-bottom: 5%;
}
.dummy{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    background-color: var(--primary);
}
.dummy-left{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap:25px;
    padding-left: 10%;
    padding-right: 5%;
    color:var(--white);
}
.dummy-left h1{
    font-weight: 700;
    font-size: 50px;
}
.dummy-img{
    height:100%;
    width:100%;
}
.btn-one{
    padding:10px 30px;
    background-color: var(--white);
    color:var(--black)!important;
}
.aim-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap:50px;
}
.aim-icon{
    height:85px!important;
    width:85px!important;
    color:var(--white);
    font-size: 45px;
    background-color: var(--primary);
    border-radius: 5px;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    transition: all 0.3s;
}
.aim-icon:hover{
    background-color: var(--primary);
    color:var(--white);
    box-shadow: 0 0 5px var(--primary),
                0 0 25px var(--primary),
                0 0 50px var(--primary),
                0 0 100px var(--primary);
}

/* about pagr  */
.president-grid{
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    gap:40px;
    width:70%;
    margin: auto;
    margin-top: 4%;
}
.president-img{
    height:100%;
    width:100%;
    object-fit: cover;
    background-color: rgb(198, 221, 231);
    border:1px solid var(--lightgray);
}
.board-grid{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap:30px;
}
.board-img{
    height:100%;
    width:100%;
    object-fit: cover;
    background-color: rgb(198, 221, 231);
}
.board-content{
    margin-top: 4%;
}

/* media part start  */
.media-grid{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap:30px;
}
.media-img{
    height:200px;
    width:100%;
    object-fit: cover;
}

/* contact page  */
.contact-grid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    height:450px;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    gap:50px;
}
.contact-left{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap:25px;
    padding-left: 30px;
}
.contact-icon{
    height: 37px!important;
    width:37px!important;
    border:2px solid var(--black);
    color:var(--black)!important;
    border-radius: 5px;
    padding-top: 8px;
}
.map{
    height:100%;
    width:100%;
}

/* donate page  */
.donate-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    margin-top: 4%;
}
.donate-box{
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    margin-top: 4%;
    padding-inline: 15px;
    padding-block: 20px;
}

/* footer page  */
footer{
    background: repeating-conic-gradient(#000 0deg 45deg ,#111 45deg 90deg);
    background-size: 4px 4px;
    color: var(--white);
    padding-top: 80px;
    padding-bottom: 20px;
    clip-path: polygon(5% 10%, 95% 10%, 90% 0, 100% 0, 100% 100%, 0 100%, 0 0, 10% 0);
}
footer a{
    color:var(--white);
}
footer h4{
    font-size: 21px;
    margin-bottom: 5%!important;
}
.footer-grid{
    display: grid;
    grid-template-columns: 1fr 0.7fr 0.7fr 1fr;
    gap:35px;
}
.footer-icon{
    height: 37px!important;
    width:37px!important;
    border:2px solid var(--lightgray);
    border-radius: 5px;
    padding-top: 8px;
}
.footer-one{
    border-bottom: 1px dotted var(--white);
    padding-block: 10px;
    transition: 0.5s;
}
.footer-one:last-child{
    border-bottom: none;
}
.footer-two{
    padding-block: 7px;
    border-bottom: 1px dotted var(--white);
}
.fa-arrow-right{
    font-size: 12px;
}

/* responsive part  */
@media (max-width:1024px){
    html,body{
        overflow-x: hidden;
    }
    .second-left h2{
        font-size: 35px;
    }
    .navbar-nav{
        gap:55px;
    }
    .work-grid{
        grid-template-columns: repeat(2,1fr);
        gap:80px;
    }
    .dummy-left h1{
        font-size: 35px;
    }
    .aim-grid{
        gap:15px;
    }
    footer{
        clip-path: polygon(5% 5%, 95% 5%, 90% 0, 100% 0, 100% 100%, 0 100%, 0 0, 10% 0);
    }
    .footer-grid{
        grid-template-columns: 1fr 1fr 1fr;
    }
    .president-grid{
        width:90%;
    }
    .media-img{
        height: 150px;
    }
    .donate-grid{
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width:768px){
    nav{
        padding-block: 5px!important;
    }
    .navbar-toggler{
        background-color: var(--white)!important;
        border-radius: 0%!important;
    }
    .navbar-toggler:focus{
        box-shadow: none!important;
        outline: none!important;
    }
    .nav-link{
        color:var(--black)!important;
    }
    .nav-link {
        font-size: 14px !important;
    }
    .navbar-nav{
        gap:10px;
        align-items: flex-start!important;
    }
    .hide-nav{
        display: flex;
    }
    .res-first-icon{
        height:35px!important;
        width:35px!important;
        border:2px solid var(--black);
        padding-top: 8px;
        border-radius: 5px;
        margin-right: 5px;
    }
    .second-left h2{
        display: none;
    }
    header{
        height: 500px;
    }
    .about-grid{
        width:90%;
    }
    .work-grid{
        gap:50px;
    }
    .dummy-left{
        gap:5px;
    }
    .dummy-left h1{
        font-size: 25px;
    }
    .aim-grid,.board-grid{
        grid-template-columns: 1fr 1fr;
        gap:50px;
    }
    .footer-grid,.media-grid{
        grid-template-columns: repeat(2,1fr);
    }
    .president-grid{
        grid-template-columns: 1fr;
    }
}

@media (max-width:425px){
    .first{
        display: none;
    }
    header{
        height:270px;
    }
    .gaps{
        margin-top: 8%;
    }
    .counter-one{
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .count{
        margin-bottom: 10%;
    }
    .work-grid{
        grid-template-columns: 1fr;
    }
    .cause:hover{
        color:var(--black);
    }
    .cause:hover:before{
        top:85%;
    }
    .dummy,.aim-grid{
        grid-template-columns: 1fr;
    }
    .dummy-left{
        padding-block: 30px;
        gap:20px;
    }
    .dummy-left h1{
        font-size: 30px;
    }
    footer{
        clip-path: polygon(3% 3%, 97% 3%, 90% 0, 100% 0, 100% 100%, 0 100%, 0 0, 10% 0);
    }
    .footer-grid,.board-grid,.media-grid{
        grid-template-columns: 1fr;
    }
    .media-img{
        height: 100%;
    }
    .common h5{
        font-size: 20px;
    }
    .contact-grid{
        grid-template-columns: 1fr;
        height:100%;
        gap:40px;
        padding-top: 30px;
    }
    .contact-left{
        padding-inline: 15px;
    }
    .map{
        height:250px;
    }
    .donate-grid{
        grid-template-columns: 1fr;
    }
}

@media (max-width:375px){
    header{
        height:250px;
    }
}