
/* hero section */

.hero {
    display: flex;
    flex-direction: column;
    background-color: #fffdfb;
    /* min-height: 62vh; */
    align-items: center;
    gap: 2rem;
}

.hero__title {
    margin-top: 4.5rem;
    display: flex;
    font-family: 'DM Serif Display', serif;
    font-size: 2rem; 
    font-weight: 600;
    color: black;
    text-align: center;
    text-transform: capitalize;
    max-width: 20ch;
}

.hero__title__divider {
    border: 0;
    height: 3px;
    background: black; /* or your theme color */
    width: 80%; /* adjust as needed */
}

.hero__description__img__container{
    width: 100%;
    height: 50vh;
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.6)), 
    url('/images/about.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    /* background-position: top center; */
    align-items: center;
    justify-content: center;
}

.hero__description{
    font-size: 1.6rem;
    font-family: 'DM Serif Display', serif;
    color: #fffdfb;
    text-align: center;
    font-weight: 200;
    max-width: 20ch;
    padding: 1rem;
}


/* xs */
@media (min-width: 475px) {
    .hero__title{
        font-size: 2rem;
    }
    .hero__description__img__container{
        align-items: start;
    }
    .hero__description{
        font-size: 1.6rem;
        max-width: 30ch;
        padding: 2rem;
    }
}

/* md */
@media (min-width: 768px) {
    .hero__title{
        font-size: 2.4rem
    }
    .hero__description{
        font-size: 1.7rem;
        max-width: 40ch;
    }
}

/* lg */
 @media (min-width: 1024px) {
    .hero{
        gap: 4rem
    }
    .hero__title{
        font-size: 2.5rem;
        max-width: none;
    }
    .hero__title__divider {
        width: 95%;
    }
    .hero__description{
        font-size: 2.3rem;
        max-width: 40ch;
    }
 }

 @media (min-width: 1024px) and (orientation: portrait) {
    /* .hero {
        min-height: 30vh; 
    } */
}
/* xl */
/* @media (min-width: 1280px) {
    .hero__title{
        max-width: none;
        margin-bottom: 2rem;
    }
} */

/* 2xl */
@media (min-width: 1536px) {
    .hero__title{
        font-size: 3rem;
    }
    .hero__description{
        font-size: 2.4rem
    }
}


/* mission section*/

.mission.container{
    background-color: #fffdfb;
    display: flex;
    flex-direction: column;
    flex-wrap: none;
    gap: 2rem
    /* padding-inline: 1.5rem; */
}

.mission__title{
    text-align:left;
    margin-top: 4.5rem;
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    text-transform: capitalize;
}

.mission__content__container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
    align-items: center; /* Center items vertically if needed */
}


.mission__description__container {
    flex: 1;
    width: 100%;
    padding: 1.5rem;
    border-radius: 10px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1ab79dd2;
    height: auto;
    margin-top: 2rem;
}

.highlight{
    /* color: whitesmoke; */
    font-weight: 700;
}

.mission__description__container__second {
    flex: 1;
    width: 100%;
    padding: 1.5rem;
    border-radius: 50px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1ab79dd2;
    height: auto;
    margin-top: 2rem;
}
.mission__description, .mission__description__second {
    /* margin-inline: auto; */
    font-size: 1rem;
    text-align: start;
    font-weight: 400;
    margin-bottom: 2rem
}

p {
    margin-bottom: 1em
  }

.mission__image__container {
    height: 300px;
    /* border-radius: 3%; */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.mission__image__container img {
    width: 100%; /* Ensure the image fills the container horizontally */
    height: 100%; /* Ensure the image fills the container vertically */
}


/* xs */
@media (min-width: 475px) {
    .mission__title{
        font-size: 2.0rem;
    }
    .mission__description, .mission__description__second {
        font-size: 1.1rem;
        /* max-width: 40ch; */
    }
    .mission__description__container{
        max-width: 500px;
    }
    .mission__description__container__second{
        max-width: 600px;
    }
}

/* md */
@media (min-width: 768px) {
    .mission__title {
        font-size: 2rem;
    }
    .mission__description{
        font-size: 1.1rem;
        /* max-width: 32ch; */
    }
    .mission__content__container{
        flex-direction: row;
        align-items: flex-start;
    }
    .mission__image__container{
        flex: 1;
    }
    .mission__image__container img{
        width: 100%;
    }
    .mission__description__container__second{
        max-width: 100%;
        padding: 2rem;
    }
    .mission__description__second{
        max-width: none;

    }
}

/* lg */
 @media (min-width: 1024px) {
    .mission.container{
        /* padding-inline: 3rem; */
    }
    .mission__title{
        font-size: 2em;
    }
    .mission__description{
        font-size: 1.1rem;
        /* max-width: 40ch; */
    }
    .mission__description__second {
        font-size: 1.1rem;
    }
    .mission__image__container {
        height: 400px;
    }
    .mission__image__container img{
        width: 100%;
    }
 }

/* xl */
@media (min-width: 1280px) {
    .mission.container{
        /* padding-inline: 10rem; */
    }
    .mission__title{
        font-size: 2.8rem;
    }
    .mission__description{
        /* max-width: 40ch; */
    }
    .mission__image__container img{
        width: 100%;
    }
}

/* 2xl */
@media (min-width: 1536px) {
    .mission.container{
        /* padding-inline: 15rem; */
    }
    .mission__title{
        font-size: 3.2rem;
    }
    .mission__description{
        /* max-width: 40ch; */
    }
    .mission__image__container img{
        width: 100%;
    }
}


/* about section */
.about.container{
    display: flex;
    flex-direction: column;
    flex-wrap: none;
    padding-inline: 1.5rem;
}

.about__title{
    font-family: 'DM Serif Display', serif;
    text-align: center;
    font-size: 2rem;
    text-transform: capitalize;
    margin-top: 8rem;
}

.about__description{ 
    text-align: center;
    margin-top: 3rem;
    font-size: 1.1rem;
    padding-inline: 1.5rem;
    margin-inline: auto;

}

.span{
    color: #ee4962;
}

.card__container{
    margin-top: 5rem;
    position: relative;
    height: 485px;
    width: 100%;
    /* width: 95%;  b4 */
    display: flex;
    overflow-x: auto;
    overflow: hidden;
    scrollbar-width: none;
    justify-content: flex-start;
    margin-inline: auto;
}

.card__container .slide__list::-webkit-scrollbar{
    display: none;
}


.slide {
    position: relative;
    display: flexbox;
    flex: 0 0 100%;
    transform: translateX(0%);
    scroll-snap-align: start;
    }

.slide__list {
    display: flex;
    gap: .5rem;
    /* margin: -2px; b4 */
    overflow: auto;
    scroll-snap-type: x mandatory;
    }

.carousel__button{
    position: absolute;
    display: block;
    background: none;
    border: none;
    font-size: 2.5rem;
    fill: white;
    top: 50%;
    z-index: 998;
    transform: translateY(-50%) scale(1);
    border-radius: .25rem;
    background-color: rgba(0, 0, 0, 0.1);
}

.carousel__button:hover,
.carousel__button:focus {
    color: whitesmoke;
    background-color: rgba(0, 0, 0, 0.5);
}

.carousel__button.prev{
    left: 0rem
}

.carousel__button.next{
    right: 0rem;
}

.card {
    width: 100%;
    height: 100%;
    text-align: center;
    border-radius: 15px;
    padding: 2rem;
}

.card__img{
display: flex;
align-items: center;
justify-content: center;
width: 80px; /* Adjust as needed */
height: 80px; /* Adjust as needed */
margin: 0 auto; /* Center the image horizontally */
border-radius: 50%; /* Set border-radius to 50% for a circle */
overflow: hidden; /* Clip overflowing content */
background-color: inherit;
}

.card__title {
    margin-top: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: #181818;
    text-transform: capitalize;
}

.card__description{
    margin-top: 2rem;
    font-size: 1rem;
    max-width: 30ch;
    margin-inline: auto ;
}

.card__green{
    /* background-color: #1ab79d1a; */
    background-color: #1ab79d49;
}

.card__red{
    /* background-color: #ee49621a; */
    background-color: #1ab79d49;
}

.card__purple{
    /* background-color: #4461e41a; */
    background-color: #1ab79d49;
}

.card__yellow{
    /* background-color: #f8b7201a; */
    background-color: #1ab79d49;
}

/* .card__blue{
    background-color: rgba(45, 143, 255, 0.226);
} */
.card__white {
    background-color: #33d69faa;
}

.progress-bar-container {
    margin-inline: auto;
    width: 100%;
    height: 4px;
    background-color: #e0e0e0;
    margin-top: 20px;
}

.progress-bar {
    width: 0;
    height: 100%;
    background-color: #1ab79d;
    transition: width 0.3s ease;
}


/* xs */
@media (min-width: 475px) {
    .about__title{
        font-size: 2.2rem;
    }
    .about__description{
            font-size: 1.2rem;
    }
    .card__container {
        position: relative;
        width: 100%;
        height: 620px;
    }
    .card__container .slide__list::-webkit-scrollbar{
        display: none;
    }
.slide__list {
    display: flex;
    gap: .5rem;
    margin: 0;
    overflow: auto;
}

.slide {
    position: relative;
    display: flexbox;
    flex: 0 0 50%;
    height: 100%;
    opacity: 1;
    transform: translateX(0%);
}

.card {
    width: 100%;
    min-height: 510px;
}
    .card__title{
        font-size: 1.2rem;
    }
    .card__description{
        font-size: 1rem;
    }
}

/* sm */
@media (min-width: 640px) {
    .about__title{
        font-size: 2.2rem;
    }
    .card__container {
        position: relative;
        width: 100%;
        height: 500px;
    }
    .card__container .slide__list::-webkit-scrollbar{
        display: none;
    }
.slide__list {
    display: flex;
    gap: .5rem;
    margin: 0;
    overflow: auto;
}

.slide {
    position: relative;
    display: flexbox;
    flex: 0 0 50%;
    height: 100%;
    opacity: 1;
    transform: translateX(0%);
}
.card {
    width: 100%;
    min-height: 460px;
}
}


/* md */
@media (min-width: 768px) {
    .about__title {
        font-size: 2.4rem;
    }

    .slide__list {
        display: flex;
        gap: .5rem;
        margin: 0;
        overflow: auto;
    }
    .card__container {
        position: relative;
        width: 100%;
        height: 570px;
    }
    .slide {
        position: relative;
        display: flexbox;
        flex: 0 0 33.3%;
        height: 100%;
        opacity: 1;
        transform: translateX(0%);
    }
}
/* lg */
@media (min-width: 1024px) {
    .about.container{
        padding-inline: 3rem;
    }
    .about__title{
        font-size: 2.8rem;
    }
    .about__description{
        font-size: 1.25rem;
    }
    .card__container {
        position: relative;
        width: 100%;
        height: 480px;
    }
    .slide__list {
        display: flex;
        gap: .8rem;
        margin: 0;
        overflow: auto;
    }
    .card__description{
        margin-top: 2.5rem;
        font-size: 1.05rem;
    }
    .slide {
        flex: 0 0 33.3%;
    }
}

/* xl */
@media (min-width: 1280px) {
    .about.container{
        padding-inline: 8rem;
    }
    .about__title{
        font-size: 2.8rem;
    }
}

/* 2xl */
@media (min-width: 1536px) {
    .about__title{
        font-size: 3.2rem;
    }
    .card__container {
        position: relative;
        width: 90%;
    }
    .progress-bar-container{
        width: 90%;
    }
    .about__description {
        font-size: 1.4rem;
    }
    .slide__list {
        display: flex;
        gap: 1rem;
        margin: 0;
        overflow: auto;
    }
}

/* Our Story Section */

.story.container{
    display: flex;
    flex-direction: column;
    flex-wrap: none;
    padding-inline: 1.5rem;
}

.story__title{
    text-align:center;
    margin-top: 8rem;
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    text-transform: capitalize;
}

.story__description{
    text-align: center;
    margin-top: 3rem;
    font-size: 1.1rem;
    padding-inline: 1.5rem;
    margin-inline: auto;
}

.story__content__container{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
}

/* .story__img__container{
    margin-top: 2rem;
} */

.story__img{
    width: 100%;
    margin-inline: auto;
}
.story__description__main{
    margin-top: 4rem;
    margin-inline: auto;
    font-size:1rem ;
    text-align: center;
    font-weight: 400;
    /* max-width: 40ch; */
}
.span {
    font-weight: bold;
}

.story__cta {
    margin-top: 5rem;
    padding-inline: 1.5rem;
    margin-inline: auto; /*Need to do this whenever I add max-width */
    text-align: center;
    text-transform: capitalize;
    max-width: 40ch;
}

/* Button Container */
.story__btn__container {
    margin-top: 3rem;
    margin-inline: auto;
    text-align: center; /* Center-align the button */
}

/* Button Styling */
.story__btn {
    font-size: 1rem;
    font-weight: 500;
    padding: 0.8rem 2rem; /* Increase padding for more width */
    min-width: 150px; /* Ensure a minimum width for the button */
    border-radius: 0.3rem; /* Rounded corners */
    background-color: #007BFF; /* Button background color */
    color: #fff; /* Button text color */
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
    text-align: center; /* Center the text */
}

/* xs */
@media (min-width: 475px) {
    .story__title {
        font-size: 2.2rem;
    }
    .story__description,
    .story__description__main {
        font-size: 1.1rem;
        max-width: 40ch;
    }
    .story__cta {
        font-size: 1.2rem;
    }
    .story__img{
        width: 475px;
    }
    .story__btn {
        font-size: 1.1rem;
        padding: 0.9rem 2.2rem; /* Adjust padding for wider button */
        min-width: 160px; /* Increase minimum width */
    }
}

/* md */
@media (min-width: 768px) {
    .story__title {
        font-size: 2.4rem;
    }
    .story__description,
    .story__description__main {
        font-size: 1.1rem;
        max-width: 40ch;
    }
    .story__btn {
        font-size: 1.1rem;
        padding: 1rem 2.4rem; /* Increase padding */
        min-width: 170px; /* Increase minimum width */
    }
}

/* lg */
@media (min-width: 1024px) {
    .story__title {
        font-size: 2.8rem;
    }
    .story__description,
    .story__description__main {
        font-size: 1.1rem;
        max-width: 45ch;
    }
    .story__img{
        width: 475px;
    }
.story__content__container{
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    /* max-width: 1200px; */
    margin-inline: auto;
}
    .story__cta {
        font-size: 1.25rem;
    }
    .story__btn {
        font-size: 1.2rem;
        padding: 1.1rem 2.6rem; /* Increase padding */
        min-width: 180px; /* Increase minimum width */
    }
}

/* xl */
@media (min-width: 1280px) {
    .story__title {
        font-size: 2.8rem;
    }
    .story__description,
    .story__description__main {
        max-width: 50ch;
    }
    .story__btn {
        font-size: 1.25rem;
        padding: 1.2rem 2.8rem; /* Increase padding */
        min-width: 200px; /* Increase minimum width */
    }
}

/* 2xl */
@media (min-width: 1536px) {
    .story__title {
        font-size: 3.2rem;
    }
    .story__description,
    .story__description__main {
        max-width: 55ch;
    }
    .story__btn {
        padding: 1.3rem 3rem; /* Increase padding */
        min-width: 220px; /* Increase minimum width */
    }
}

/* Our Socials Section */

.socials.container {
    display: flex;
    flex-direction: column;
    padding-inline: 1.5rem;
    margin-top: 8rem;
}

.socials__title {
    text-align: center;
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    text-transform: capitalize;
    
}

.socials__container {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 300px;
    margin-inline: auto;
}

.social__card {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    background-color: #1ab79d;
    animation: liftUp 4s ease infinite; /* Changed to 4s and added infinite */
    /* opacity: 0; */
}
.social__icon {
    width: 70px;  /* Reduced from 70px */
    height: 70px; /* Reduced from 70px */
}
.socials__description {
    text-align: center;
    font-size: 1.1rem;
    color: black;
    margin-top: 2rem;
    max-width: 55ch;
    margin-inline: auto;
}

@keyframes liftUp {
    0%, 100% {
        /* opacity: 0; */
        transform: translateY(20px);
    }
    25%, 90% {
        opacity: 1;
        transform: translateY(0);
    }
}

.insta {
    border-radius: 15px 1px;
    animation-delay: 0s;
}

.tiktok {
    border-radius: 1px 15px;
    animation-delay: 1s;
}

.youtube {
    border-radius: 1px 15px;
    animation-delay: 2s;
}

.facebook {
    border-radius: 15px 1px;
    animation-delay: 3s;
}

/* Media Queries */
@media (min-width: 475px) {
    .socials__title {
        font-size: 2.2rem;
    }
    .socials__container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 300px;
        margin-inline: auto;
        margin-top: 3rem;
    }

}

@media (min-width: 768px) {
    .socials__title {
        font-size: 2.4rem;
    }
    .socials__description{
        font-size: 1.2rem
    }
    .socials__container {
        margin-top: 5rem;
        max-width: none;
        display: flex;
        flex-direction: row;
    }
    .social__card{
        width: 100px;
        height: 100px;
    }
}

@media (min-width: 1024px) {
    .socials__title {
        font-size: 2.8rem;
    }
    .socials__container {
        max-width: 500px;
    }
}

@media (min-width: 1536px) {
    .socials__title {
        font-size: 3.2rem;
    }
    .socials__container {
        max-width: 600px;
    }
}