*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif!important;
}
html,body{
    scroll-behavior: smooth;
    overflow-x: clip!important;
}
body a{
    text-decoration: none;
}
body li{
    list-style-type: none;
}
body h1,h2,h3,h4,h5{
    font-family: "Quicksand", sans-serif!important;
    font-weight: 900!important;
}
body h1,h2,h3,h4,h5,h6,p{
    margin-bottom: 0%!important;
}
:root{
    --primary:rgb(194,68,161);
    --black:#222;
    --lightgray:lightgray;
    --white:white;
    --gray:gray;
    --red:red;
    --blue:blue;
}
.grid{
    width:90%;
    margin: auto;
}
.flex-center{
    display: flex;
    justify-content: center;
    align-items: center;
}
.flex-center-column{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.gap{
    margin-top: 5%;
}
.common{
    background:repeating-conic-gradient(#000 13deg 26deg, #222 26deg 52deg);
    background-size: 15px 15px;
    height:150px;
    color: var(--white);
    display: flex;
    justify-content: center;
}
.common a{
    color:var(--white);
}
.common p{
    margin-top: 1%!important;
}
.whatsapp,.pulse {
    background: #1ab744;
    position: fixed;
    right:1.8%;
    bottom:10%;
    font-size: 30px;
    text-align: center;
    padding-top: 3px;
    z-index: 99;
    border-radius: 50%;
    height: 50px;
    width: 50px;
    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{
    position: fixed;
    height: 36px;
    width: 36px;
    border-radius: 50%;
    border:2px solid var(--primary);
    z-index: 100;
    color:var(--primary);
    bottom:3%;
    right:2.2%;
    background-color: var(--white);
}

/* navbar part  */
.first{
    height:100%;
    padding-block: 3px;
}
.first-grid{
    display: grid;
    grid-template-columns: 0.3fr 1fr 0.3fr;
    gap:10px;
    align-items: center;
}
.logo{
    height: 100px;
    width: 100px;
    object-fit: cover;
}
.first-center{
    display: flex;
    justify-content: center;
    gap:80px;
}
.first-center-flex{
    display: flex;
    align-items:center;
    gap:20px;
}
.first-icon{
    height:40px;
    width:40px;
    background-color: var(--primary);
    border-radius: 5px;
    color: var(--white);
}
.first-right{
    display: flex;
    justify-content:end;
}
.donate-btn{
    padding:10px 27px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 14px;
    border-radius: 3px;
}
nav{
    --bs-navbar-padding-y:5px!important;
    transition: .2s;
    background-color: var(--primary);
}
.nav-link {
    font-size: 14px !important;
    font-weight: 500 !important;
    color:var(--white)!important;
}
.nav-link:hover{
    color:var(--lightgray)!important;
}
.nav-item {
    padding-right: 70px;
}
.nav-item:nth-child(6) {
    padding-right: 0px;
}
.dropdown{
    transition: 3s!important;
}
.dropdown-menu{
    border-radius: 0%!important;
    transform: translateY(30px);
    opacity: 0;
    visibility: hidden;
    transition: .5s!important;
}
.dropdown:hover .dropdown-menu{
    transform: translateY(3px);
    opacity: 1;
    visibility: visible;
}
.dropdown-item{
    font-size: 15px;
}
.dropdown-item:focus{
    background-color: transparent!important;
    color:var(--black)!important
}
.hide-icon{
    height:36px!important;
    width:36px!important;
    border:2px solid #444;
    display: inline-block;
    border-radius: 5px;
    margin-right: 8px;
    padding-top: 7px;
    padding-left: 9px;
}
.hide-link{
    display: none;
}

/* index page  */
header{
    height:80vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:5px;
    background-color: rgb(240, 242, 243);
}
.header-left{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding-left: 75px;
    padding-right: 25px;
    gap:20px;
}
.color{
    color:var(--primary);
}
.header-left h6{
    font-weight: bold;
    font-size: 20px;
    font-style: italic;
}
.header-left h1{
    font-weight: bold;
    font-size: 57px;
}
.btn-one{
    padding:9px 27px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 3px;
}
.header-img{
    height: 100%;
    width:100%;
    object-fit: cover;
}
.service-grid{
    display: grid;
    grid-template-columns: 0.5fr 1fr 0.3fr;
    border:1px solid var(--lightgray);
    border-left: none;
    border-right: none;
    height: 100%;
    align-items:center;
    padding-inline: 2px;
    padding-block: 20px;
    transition: .1s;
    gap:15px;
}
.service-grid:hover{
    background: var(--primary);
    color:var(--white);
    padding-inline: 10px;
}
.service-grid h5{
    font-size: 25px;
}
.service-last{
    display: flex;
    justify-content: end;
}
.arrow-icon{
    height: 50px;
    width:50px;
    background-color: var(--lightgray);
    border-radius: 50%;
    color:var(--black);
    transform: rotate(-45deg);
    transition: 0.1s;
}
.arrow-size{
    height:25px;
    width:25px;
}
.service-grid-one{
    border-top: none;
}
.aim-grid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap:30px;
}
.aim-image{
    height:100%;
    width:100%;
    border-radius: 5px;
}
.justify{
    text-align: justify;
}
.activity-grid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap:10px;
}
.activity-image{
    height:100%;
    width:100%;
    object-fit: cover;
}
.activity-right-grid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap:10px;
}
.join{
    position: relative;
    padding-block: 50px;
}
.join-content{
    width:50%;
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap:25px;
}
.join-content h1{
    font-size: 150px;
}
.join-img{
    position: absolute;
    object-fit: cover;
    border-radius: 3px;
}
.join-image-one{
    height:180px;
    width:150px;
    top:10px;
    left:10px;
}
.join-image-two{
    height:140px;
    width:180px;
    bottom:10px;
    left:50px;
}
.join-image-three{
    height:130px;
    width:130px;
    top:10px;
    right:10px;
}
.join-image-four{
    height:150px;
    width:130px;
    bottom:10px;
    right:50px;
}

/* footer page  */
footer{
    background-image: repeating-conic-gradient(#222 0deg 13deg, #000 13deg 25deg);
    background-size: 15px 15px;
    padding-top: 35px;
    box-shadow: inset -14px -14px 58px #000;
    padding-bottom: 15px;
    color:var(--white);
    margin-top: 1%;
}
.footer-grid{
    display: grid;
    grid-template-columns: 1fr 0.7fr 0.7fr 1fr;
    gap:30px;
}
.footer-left{
    padding-right: 50px;
}
footer a{
    color:var(--white);
}
footer h5{
    margin-bottom: 8%!important;
}
.footer-top{
    margin-top: 4%;
}
.footer-heading{
    margin-bottom: 5.5%!important;
}
.footer-social{
    display: flex;
    gap:5px;
    margin-top: 4%;
}
.footer-icon{
    height:30px!important;
    width:30px!important;
    border: 2px solid var(--white);
    border-radius: 50%;
}

/* about page */
.about-grid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap:40px;
    width:75%;
    margin: auto;
    margin-top: 4%;
}
.about-image{
    height:100%;
    width:100%;
    border-radius: 4px;
}
.team-grid{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap:50px;
}
.team-img{
    height:280px;
    width:100%;
    object-fit: cover;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    background-color: rgb(238, 234, 234);
    margin-bottom: 5%;
    border-radius: 5px;
}
.team-text{
    text-align: center;
}
.president-grid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap:70px;
    width:70%;
    margin: auto;
    margin-top: 4%;
}
.president-img{
    height:100%;
    width:100%;
    object-fit: cover;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    background-color: rgb(238, 234, 234);
    border-radius: 5px;
}

/* media page  */
.media-grid{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap:30px;
}
.media-image{
    height:100%;
    width:100%;
}
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}
.modal img {
    max-width: 90%;
    max-height: 90%;
}

/* member page  */
.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;
    color:var(--white)!important;
}

/* contact page  */
.contact-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:70px;
}
.map{
    height: 400px;
    width: 100%;
}

/* donate page  */
.donate-grid{
    width:70%;
    margin: auto;
    margin-top: 4%;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap:50px;
}
.donate-box{
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    padding-inline: 15px;
    padding-block: 20px;
}

/* responsive part start  */
@media (max-width:1024px){
    html,body{
        overflow-x: clip!important;
    }
    .grid{
        width:90%!important;
    }
    .first-grid{
        grid-template-columns: 0.2fr 1fr 0.2fr;
        gap:5px;
    }
    .first-center{
        gap:30px;
    }
    .first-center-flex{
        gap:10px;
    }
    .nav-item {
        padding-right: 60px;
    }
    .header-left h1{
        font-size: 40px;
    }
    .service-grid h5{
        font-size: 21px;
    }
    .about-image{
        height:300px;
    }
    .about-grid,.president-grid{
        width:90%;
    }
    .team-grid{
        gap:20px;
    }
    .team-img{
        height:100%;
    }
    .team-text h5{
        font-size: 17px;
    }
    .map{
        height: 350px;
    }
}

@media (max-width:768px){
    .hide-link{
        display: block;
    }  
    .hide-link a{
        font-size: 14px!important;
    } 
    .first-grid{
        grid-template-columns: 1fr;
    }
    .first-center{
        display: none;
    }
    .first-right{
        display: none;
    }
    .res-logo{
        text-align: center;
    }
    .navbar-toggler{
        border-radius: 0%!important;
    }
    .navbar-toggler:focus{
        box-shadow: none!important;
    }
    .nav-link{
        color:var(--black)!important;
    }
    .nav-item {
        padding-right: 0px;
        padding-bottom: 7px;
    }
    header{
        height:100%;
        grid-template-columns: 1fr;
        padding-top: 50px;
    }
    .header-left{
        padding-inline: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-bottom: 5%;
    }
    .header-left h1{
        font-size: 45px;
    }
    .service-grid{
        grid-template-columns: 0.5fr 1fr 0.2fr;
    }
    .aim-grid,.about-grid,.president-grid,.contact-grid{
        grid-template-columns: 1fr;
    }
    .join-content{
        width:60%;
    }
    .join-content h1{
        font-size: 100px;
    }
    .join-image-one{
        height:150px;
        width:130px;
    }
    .join-image-two{
        height:120px;
        width:160px;
    }
    .join-image-three{
        height:110px;
        width:110px;
    }
    .join-image-four{
        height:130px;
        width:110px;
    }
    .footer-grid,.team-grid{
        grid-template-columns: 1fr 1fr;
    }
    .about-image,.president-img{
        height:100%;
    }
    .media-grid{
        grid-template-columns: repeat(3,1fr);
    }
    .grid-member{
        width:60%;
    }
    .donate-grid{
        width:90%;
    }
}

@media (max-width:425px){
    .arrow{
        right:2.5%;
    }
    .header-left{
        padding-inline: 30px;
    }
    .header-left h1{
        font-size: 40px;
    }
    .header-left h6{
        font-size: 17px;
    }
    .service-grid,.activity-grid,.footer-grid,.team-grid,.media-grid,.donate-grid{
        grid-template-columns: 1fr;
    }
    .service-last{
        justify-content: start;
    }
    .join-img{
        display: none;
    }
    .join-content{
        width:90%;
    }
    .join-content h1{
        font-size: 90px;
    }
    .team-text h5{
        font-size: 22px;
    }
    .grid-member{
        width:90%;
    }
    .map{
        height:250px;
    }
}

@media (max-width:375px){
    .header-left h1{
        font-size: 35px;
    }
}

