@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;
}

/* Custom scrollbar for Webkit browsers */
::-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;
}

main {
    width: 100%;
}

.coming-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    background-color: #fff;
    padding: 20px 0 30px 0;
}

.coming {
    display: flex;
    width: fit-content;
    animation: scrollLeft 20s linear infinite;
}

.scroll-text {
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
}

.scroll-text p {
font-size: clamp(18px, 2vw, 23.9px);
    font-weight: 500;
    color: #000;
    margin: 0;
}

.scroll-text div {
    width: 14.14px;
    height: 14.14px;
    background: #000;
    flex-shrink: 0;
    border-radius: 50%;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4% 0 7%;
    width: 100%;
}

header svg {
    display: none;
}

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

header .about, .drawer .about {
    width: 100%;
    max-width: 150px;
    padding: 10px;
    border: 1px solid #3B512066;
    border-radius: 10px;
    height: 59px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero {
    display: grid;
    justify-content: flex-start;
    align-items: flex-start;
    grid-template-columns: 580px auto;
    padding: 105.71px 2% 0 7%;
    width: 100%;
    height: 550px
    /* flex-wrap: wrap; */
}


.hero .hero-text h1, .hero .hero-text h2 {
    font-weight: 500;
    font-size: clamp(50px, 10vw, 98px);
    line-height: 104.75px;
}

.hero .hero-text h2 {
    font-weight: 600;
    color: #3B5120;
}

.hero .hero-text p {
    font-weight: 400;
font-size: clamp(18px, 2vw, 20.55px);
    line-height: 32.81px;
    margin-top: 3%;
}

.hero-img {
    width: 100%;
}

.hero-img img {
    height: auto;
    object-fit: contain;
    width: auto;
}

.waitlist {
    padding: 12% 2% 4% 7%;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 43.85px;
    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, .drawer.hiddenn {
    display: none;
}

.modal, .drawer{
    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;
}

.drawer-content {
    background: #fff;
    padding: 2rem;
    text-align: center;
    position: relative;
    width: 90%;
    max-width: 700px;
    min-height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 200px;
}

.drawer-content .flex {
    display: flex;
    justify-content: space-between;
}

.drawer-content .flex .logo{
    max-width: 130px;
}

.drawer-content .about{
    align-self: center;
}

.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% 7%;
    width: 100%;
    position: relative;
    flex-wrap: wrap;
}

footer .footer-img {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 368.18px;
}

.footer-flex {
    margin-top: 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 60%;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-flex div {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-flex img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 48px;
}

.word-rotate {
    height: 100px; /* Adjust as needed */
    overflow: hidden;
    position: relative;
  }
  
  .word-rotate h2 {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: wordFade 6s infinite;
    width: 100%;
    text-align: left; /* Or center */
  }
  
  .word-rotate h2:nth-child(1) {
    animation-delay: 0s;
  }
  .word-rotate h2:nth-child(2) {
    animation-delay: 2s;
  }
  .word-rotate h2:nth-child(3) {
    animation-delay: 4s;
  }
  
  @keyframes wordFade {
    0% {
      opacity: 0;
      transform: translateY(100%);
    }
    10%, 30% {
      opacity: 1;
      transform: translateY(0);
    }
    40% {
      opacity: 0;
      transform: translateY(-100%);
    }
    100% {
      opacity: 0;
      transform: translateY(-100%);
    }
  }
  
  

/* Responsive Design */
@media (max-width: 1024px) {
    
    .hero {
        grid-template-columns: auto;
        padding: 4%;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    .hero .hero-text, .hero-img {
        width: 100%;
        /* margin-top: 10%; */
    }
    .hero-img{
        margin-top: 10%;
    }
    .hero .hero-text h1, .hero .hero-text h2 {
        line-height: 1.2;
        text-align: center;
}
    .hero .hero-text p {
        
        text-align: center;
    }
    .waitlist {
        padding: 4%;
        flex-direction: column;
        gap: 20px;
    }
    footer {
        flex-direction: column;
        padding: 4%;
    }
    .footer-flex {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-flex div {
        align-items: flex-start;
        gap: 15px;
        flex-wrap: wrap;
    }
    footer .footer-img {
       /* width: 240px; */
        height: auto;
    }
    header {
        /* flex-direction: column; */
        align-items: flex-start;
        padding: 4%;
    }
    }
    .modal-content {
        height: auto;
    }

    @media (max-width: 768px) {
        header{
            margin-bottom: 20px;
        }
        header img {
            max-width: 150px;
        }
        header .about{
            display: none;
        }
        header svg {
            display: block;
        }
        footer .footer-img {
            width: 300px;
             height: auto;
         }
    }
@media (max-width: 450px) {
    header img {
        max-width: 120px;
    }
    footer .footer-img {
        width: 240px;
         height: auto;
     }
}
    
     