@import url('https://fonts.cdnfonts.com/css/codec-pro');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    font-family: 'Codec Pro', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
main{
    padding: 5%;
    width: 100%;
}

header img {
    width: 100%;
    height: auto;
    max-width: 166px;
}

::-webkit-scrollbar {
    width: 1px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1; 
}

::-webkit-scrollbar-thumb {
    background: #008000; /* Naija green */
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #004d00;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
    border: none;
    outline: none;
    background: none;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

.about-us, .mission{
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    max-width: 100%;
    margin: 7% 5%;
}

.img{
    width: 1115.75px;
    height: auto;
    max-width: 100%;
}

.about-us .text, .mission .text{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.waitlist {
    padding: 0 2% 10% 7%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.waitlist button {
    width: 100%;
    max-width: 256.77px;
    padding: 10px;
    border-radius: 27.32px;
    height: 59.14px;
    background-color: #3B5120;
    color: #fff;
font-size: clamp(18px, 2vw, 24.55px);
    font-weight: 500;
}

.waitlist input {
    width: 100%;
    max-width: 440.38px;
    padding: 10px 10px 10px 26.22px;
    border: 1px solid #1319274D;
    border-radius: 27.32px;
    height: 59.14px;
}

.modal.hidden{
    display: none;
}

.modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.drawer{
    justify-content: flex-end;
}

.modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    position: relative;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal img {
    width: 100%;
    margin: 20px 0;
    border-radius: 12px;
}

.modal h1 {
    font-size: 24px;
    margin-top: 10px;
    color: #131927;
}

.modal-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.modal-content .modal-text p {
    font-size: 16px;
    color: #555;
    align-self: flex-end;
}

.modal-content svg {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 2% 3%;
    width: 70%;
    position: relative;
    flex-wrap: wrap;
}

.text{
    width: 80%;
}
.text p{
    font-size: clamp(18px, 2vw, 30px);
    line-height: 45px;
    padding-bottom: 10px;
}
footer img{
    width: 100%;
    height: auto;
    max-width: 48px;
}
.footer-flex, .socials{
    display: flex;
    align-items: center;
    gap: 20px
}

.footer-flex{
    gap: 40px
}

.about-us h1, .mission h1{
    font-size: clamp(43.54px, 4vw, 64px);
    font-weight: 400;
    position: relative;
}

.about-us h1::after, .mission h1::after{
    content: "";
    display: block;
    position: absolute;
    width: 72px;
    height: 1.91px;
    background-color: #B72113;
    margin-top: -15px
}

@media (max-width: 768px) {
    .text{
        width: 90%;
    }
    header img {
        max-width: 150px;
    }
    
    footer{
        width: 100%;
    }
    h1{
        margin-top: 5%;
    }
    .text p{
    line-height: 42.88px;
        
     }
     .about-us, .mission{
        width: 100%;
     }
}
@media (max-width: 450px) {
    footer{
       
        flex-direction: column;
        align-items: flex-start;
        gap: 20px
    }
    header img {
        max-width: 100px;
    }
    .text p{
       text-align: center;
       line-height: 30.61px;
    }
    h1{
        line-height: 71.26px;
        text-align: center;
    }

.about-us h1::after, .mission h1::after{
   left: 0;
   right: 0;
   margin: 0 auto;
   width: 51.7px;
   margin-top: -15px;
}
}
