/* common style starts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Raleway:wght@600&family=Roboto:wght@900&family=Rubik+Pixels&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');
:root {
        --themeRed: #e43a47;
        --gray: #efefef;
}

html{
        scroll-behavior: smooth;
}
button,
body{
        font-family: 'Poppins', sans-serif;
}

* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
}

p{
        font-size: 18px;
        line-height: auto;

}

.fullContainer {
        width: 100%;
}

.container{
        width: 1140px;
        margin: auto;
}

.SectionTitle {
        width: 500px;
        border-bottom: 3px solid var(--themeRed);
        text-align: center;
        font-size: 2.5rem;
        font-weight: 200;
        margin: 0 auto 50px;
        position: relative;
        padding: 10px 0;
        text-transform: uppercase;
}

.SectionTitle::after {
        display: inline-block;
        content: "";
        height: 15px;
        width: 15px;
        background-color: var(--themeRed);
        position: absolute;
        left: calc(50% - 10px);
        top: calc(75% - 7px);
        transform: rotate(45deg) translate(50%, 50%);
        border: 3px solid #000;
}

section {
        padding: 10px 0;
        position: relative;
}
/* common style ends */

/* Home Style starts */
header {
        width: 100%;
        background-color: #fff;
        position: fixed;
        z-index: 2;
}

header .container {
        display: flex;
        justify-content: space-between;
}

header .container .logo {
        padding: 15px 0;
        height: 85px;
}

header .container .logo img {
        height: 100%;
}

header nav ul{
        list-style-type: none;
}

header nav ul li{
        display: inline-block;
}


header nav ul li a{
        display: inline-block;
        height: 75px;
        line-height: 75px;
        padding: 0 15px;
        text-decoration: none;
        text-transform: capitalize;
        font-size: 16px;
        color: #333;
        transition: 0.3s;
}


.banner {
        min-height: 100vh;
        width: 100%;
        background-image: url("../images/banner.jpg");
        background-size: cover;
        background-attachment: fixed;
}

.banner h1 {
        margin-top: 230px;
        display: inline-block;
        font-size: 3.5rem;
        color: #fff;
        text-shadow: 0 0 2px #000;
        width: 50%;
        line-height: 4.2rem;
        font-weight: 200;
}

.banner h1 span {
        background-color: var(--themeRed);
        display: inline-block;
        line-height: 3.5rem;
        padding: 0 15px;
        font-weight: 600;
        border-radius: 5px;
}

.banner p {
        color: #fff;
        width: 350px;
        font-weight: 250px;
        text-shadow: 0 0 2px #000;
        margin-top: 10px;
}

.banner button {
        background-color: var(--themeRed);
        border: 0;
        outline: none;
        color: #fff;
        padding: 10px 15px;
        margin-top: 20px;
        font-size: 13px;
        border-radius: 3px;
        font-weight: 600;

}
/*Home style ends */

/*about us starts */
#aboutSection .cards {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-top: 50px;
        position: relative;
        height: 245px;
}       

#aboutSection .cards > div {
        width: 350px;
        background-color: var(--gray);
        padding: 35px;
        color: #444;
        text-align: center;
        border-radius: 5px;
        height: 215px;
        border: 1px solid #ccc;
        transition: 0.4s;
}

#aboutSection .cards > div:hover {
        width: 400px;
        margin-top: -20px;
        border-color: var(--themeRed);
        padding: 55px;
        height: auto;
}

#aboutSection .cards > div .title {
        font-size: 18px;
        font-weight: 600;
        text-transform: uppercase;
}

#aboutSection .cards > div p {
        font-size: 14px;
        margin-top: 15px;
}

#aboutSection .cards > div button {
        border: 1px solid var(--themeRed);
        outline: none;
        padding: 7px 15px;
        margin-top: 15px;
        font-size: 12px;
        border-radius: 3px;
        cursor: pointer;
        transition: 0.3s;
}

#aboutSection .cards > div:hover button {
        background-color: var(--themeRed);
        color: #fff;
}
/*about us ends */



/* programs starts */
.programs {
        background-color: #e2e2e2;
}

.programs .boxContainer{
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 50px;
}

.programs .boxContainer .box {
        background-color: #fff;
        text-align: center;
        padding-bottom: 25px;
        border-radius: 5px;
        box-shadow: 0 0 3px 0 #c5c5c5;
        position: relative;
        margin-bottom: 15px;
}

.programs .boxContainer .box .cardImage {
        width: 100%;
        height: 300px;
        background-position: center;
        background-size: cover;
        position: relative;
        overflow: hidden;
        border-radius: 5px 5px 0 0;
}
.programs .boxContainer .box .cardImage:after {
        width: 100%;
        height: 100%;
        background-position: center;
        background-size: cover;
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        filter: grayscale(100%);
        transition: 0.4s;
}

.programs .boxContainer .box:nth-child(1) .cardImage,
.programs .boxContainer .box:nth-child(1) .cardImage:after {
        background-image: url("../images/programs/1.jpg");
} 

.programs .boxContainer .box:nth-child(2) .cardImage,
.programs .boxContainer .box:nth-child(2) .cardImage:after {
        background-image: url("../images/programs/2.jpg");
}

.programs .boxContainer .box:nth-child(3) .cardImage,
.programs .boxContainer .box:nth-child(3) .cardImage:after {
        background-image: url("../images/programs/3.jpg");
}

.programs .boxContainer .box:nth-child(4) .cardImage,
.programs .boxContainer .box:nth-child(4) .cardImage:after {
        background-image: url("../images/programs/4.jpg");
}

.programs .boxContainer .box:hover .cardImage:after {
        top: 100%;
}

.programs .boxContainer .box .programTitle {
        font-size: 16px;
        margin-top: 15px;
        font-weight: 600;
        color: #444;
}

.programs .boxContainer .box .donationCount {
        font-size: 13px;
        font-weight: 600;
        color: #444;
        margin-top: 10px;
}

.programs .boxContainer .box .donationCount span {
        color: var(--themeRed);
}

.programs .boxContainer .box button {
        position: absolute;
        left: 50%;
        background-color: var(--themeRed);
        color: #fff;
        transform: translate(-50%);
        bottom: -15px;
        border-radius: 60px;
        padding: 7px 15px;
        border: 0;
        outline: none;
        cursor: pointer;
}

/* program ends */


.education {
        height: 100vh;
        overflow: hidden;
        position: relative;
}

.education .videoPlayer {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        transform: translate(-50%, -50%);
}

.education .SectionTitle {
        color: #fff;
        text-shadow: 0 0 4px #000;
}

.education .educationContainer {
        position: absolute;
        background-color: #00000096;
        width: 600px;
        top: 35vh;
        color: #fff;
        text-shadow: 0 0 3px #000;
        padding: 30px;
}

.education .educationContainer h3 {
        font-size: 35px;
        font-weight: 300;
}

.education .educationContainer p {
        font-size: 15px;
        line-height: 20px;
        margin: 10px 0 30px;
}

.education .educationContainer button {
        background-color: var(--themeRed);
        border: 0;
        color: #fff;
        padding: 10px 25px;
        font-weight: bold;
        font-size: 14px;
        outline: none;
}

.gallery .galleryContainer {
        column-count: 4;
        column-gap: 20px;
}

.gallery .galleryContainer .item {
        position: relative;
        margin-bottom: 20px;
        overflow: hidden;
}

.gallery .galleryContainer img {
        width: 100%;
        display: block;
        transition: 0.4s;
}

.gallery .galleryContainer .title {
        position: absolute;
        background-color: var(--gray);
        padding: 5px;
        margin: 5px;
        border-radius: 5px;
        font-size: 14px;
        font-weight: bold;
        opacity: 0;
        z-index: 1;
        transition: 0.4s;
}

.gallery .galleryContainer .item:hover .title {
        opacity: 1;
}

.gallery .galleryContainer .item:hover img {
        transform: scale(1.2);
}
.client-review{
        position: relative;
        padding-bottom: 10px;
        text-align: center;
        margin-top: 50px;
        font-size: 40px;
        font-weight: 500;
        padding-bottom: 25px;
        color: #333;
}
.client-review:after{
        content: '';
        height: 3px;
        width: 200px;
        position: absolute;
        bottom: 0;
        left: calc(50% - 100px);
        background: #333;   
}
.client-review span {
        display: block;
        font-size: 15px;
        font-weight: 300;
        
}
.testimonials{
        
        max-width: 900px; 
        padding : 0 15px 50px;
        margin: 0 auto 80px auto;
}
.single-item{
        background: #fff;
        color: #333;
        padding: 15px;
        margin: 50px 15px;
}
.profile{
        margin-bottom: 30px;
        text-align: center;    
}
.img-area {
        margin: 0 15px 15px 15px;
}
.img-area img {
        height: 200px;
        width: 200px;
        border-radius: 50%;
        border: 7px solid black;
        
}
.contentTest{
        color: #333;
        font-size: 20px;
}
.contentTest p {
        background-color: #DCFCFB;
        border-radius: 25px;
        color: #333;
        text-align: center;
}
.contentTest p span {
        font-size: 48px;
        margin-right: 20px;
        color: #333;
}
.socials i {
        margin-right: 25px;
}
.bio h2{
font-size: 25px; 
}
.bio h4 {
        font-size: 15px;
        color: #333;
}
.carousel-control-next-icon, .carousel-control-prev-icon {
        background-color: #1D3A3A;
}

@media (max-width:767px){
        
}

.Sdgcontainer{
        width: 100%;
        height: 80%;
        background: #1b1f29;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row;
    }
    
    
    
    
    .Sdgcard_2{
        display: flex;
        width: 300px;
        height: 300px;
        background: #fff;
        transform-style: preserve-3d;
        transform: perspective(1000px);
        box-shadow: 10px 20px 40px rgba(0, 0, 0, 0.5);
        transition: 1s;
        margin: 100px;
    }
    .Sdgcard_2:hover{
        transform: translateX(50%);
    }
    .Sdgcard_2 .details{
       position: absolute;
       top: 0;
       left: 0;
       
       padding: 20px;
       display: flex;
       justify-content: center;
       align-items: center;
    }
    .Sdgcard_2 .details .content{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .Sdgcard_2 .details .content h2{
        text-align: center;
        font-weight: 300;
        line-height: 1em;
        font-size: 30px;
    }
    .Sdgcard_2 .details .content h2 span{
        color: #f66335;
        font-size: 25px;
        margin-top: 10px;
    }
    .Sdgcard_2 .details .content .social_2{
        position: relative;
        display: flex;
        margin-top: 10px;
    }
    .Sdgcard_2 .details .content .social_2 a{
          display: inline-block;
          width: 35px;
          height: 35px;
          background: #333;
          display: flex;
          justify-content: center;
          align-items: center;
          text-decoration: none;
          margin: 5px;
          font-size: 18px;
          transition: 0.2s;
    }
    .Sdgcard_2 .details .content .social_2 a:hover{
        background: #f66335;
    }
    .Sdgcard_2 .details .content .social_2 .icon_2{
        color: #fff;
    }
    .Sdgcard_2 .boximg{
        position: relative;
        height: 100%;
        width: 100%;
        z-index: 1;
        transform-origin: left;
        transform-style: preserve-3d;
        background:#000;
        transition: 1s;
        box-shadow: 10px 20px 40px rgba(0, 0, 0, 0.5);
    }
    .Sdgcard_2:hover .boximg{
        transform: rotateY(-180deg);
    }
    .Sdgcard_2 .boximg img{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform-style: preserve-3d;
        backface-visibility: hidden;
    }
    .Sdgcard_2 .boximg img:nth-child(2){
        transform: rotateY(180deg);
    }


.join {
        background-image: url("../images/pattern.jpg");
        color: #fff;
}

.join .joinTitle span {
        font-size: 30px;
        word-spacing: 50px;
        font-weight: 800;
}

.join button {
        padding: 7px 15px;
        margin-top: 20px;
        border: 0;
        outline: none;
        font-weight: 600;
        font-size: 16px;
}

.join button.joinNow {
        margin-right: 10px;
        background-color: #424242;
        color: #fff;
}

.join button,adoptBtn {
        background-color: var(--gray);
}

footer {
        background-color: #fff;
        color: #333;
        padding: 50px 0;
        font-size: 14px;
}

footer .container{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr ;
        grid-gap: 50px;
}

footer .title {
        font-size: 20px;
        font-weight: 600;
        text-transform: uppercase;
        border-bottom: 2px solid;
        margin-bottom: 30px;
        padding: 0 0 5px 0;
}

footer p {
        
        color: #333;
        margin-bottom: 10px;
}



footer .linksContainer ul li a {
        text-decoration: none;
        color: #333;
        margin-bottom: 10px;
        display: inline-block;
}

footer .newsLetterContainer img {
        height: 60px;
        margin-bottom: 11px;
}

footer .newsLetterContainer input {
        background-color: transparent;
        border: 1px solid #333;
        outline: none;
        padding: 10px 15px;
        width: 100%;
        margin-top: 10px;
        color: #ccc;
        border-radius: 30px;
        
}


@media screen and (max-width: 1140px){
        .container {
                width: 100%;
                padding: 0 15px;
        }

        .education .videoPlayer{
                width: 1280px;
        }
}
@media screen and (max-width: 1080px) {
        .banner h1 {
                margin-top: 200px;
        }
        #aboutSection .cards {
                justify-content: space-around;
                height: auto;
        }
        #aboutSection .cards > div {
           margin: 10px 0;     
        }
}

@media screen and (max-width:1024px) {
        .banner {
                background-position-x: 45%;
        }
        .banner h1 {
                font-size: 2.5rem;
        }
        .programs .boxContainer {
                grid-template-columns: repeat(2, 1fr);
        }
}

@media screen and (max-width:768px){
        header nav {
                position: relative;
                border: 2px solid #fff;
                height: 30px;
                width: 30px;
                margin-top: 20px;
                border-radius: 5px;
        }

        header nav:after {
                top: 17px;
        }
        header nav:before {
                top: 7px;
        }
        header nav:after, header nav:before {
                content: "";
                height: 2px;
                width: 17px;
                background-color: #fff;
                display: block;
                position: absolute;
                left: 5px;
        }
        header nav ul {
                position: absolute;
                right: -400px;
                top: 53px;
                transition: 0.5s;
        }
        header nav:hover ul {
                right: 0;
        }
        header nav ul li {
                display: block;
        }
        header nav ul li a {
                width: 300px;
                background-color: rgba(0, 0, 0, 0.6);
        }

        .banner {
                background-position: 65%;
        }
        
        .banner p {
                font-size: 14px;
        }

        .banner p, .banner h1 {
                width: 70%;
        }
        #aboutSection .cards > div:hover {
                width: 350px;
        }
        .education .educationContainer{
                width: 96%;
        }
        .education .educationContainer h3{
                font-size: 30px;
                line-height: 35px;
        }
        .education .educationContainer p {
                margin: 10px 0 20px;
        }

        .gallery .galleryContainer{
                column-count: 2;
        }       
}

@media screen and (max-width: 425px) {
        .banner h1{
                margin-top: 150px;
                font-size: 2rem;
                line-height: 3rem;
        }
        .banner button {
                margin-bottom: 10px;
        }

        #aboutSection p{
                text-align: justify;
        }

        #aboutSection .cards > div:hover{
                width: 400px;
                margin-top: 10px;
                padding: 35px;
        }
        .programs .boxContainer{
                grid-template-columns: 1fr;
        }
        .education .videoPlayer {
                width: 1400px;
        }
        .education .educationContainer{
                width: 93%;
        }
        .gallery .galleryContainer{
                column-count: 1;
        }
        footer .container {
                grid-template-columns: 1fr;
        }
}
@media screen and (max-width: 320px) {
        .education .educationContainer h3 {
                font-size: 18px;
                line-height: 24px;
        }
        .banner h1{
                margin-top: 100px;
        }
}
