
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  html {
    font-size: 15px;
    font-family: "Graphik", sans-serif;
    scroll-behavior: smooth;
  }
  
  body {
    overflow-x: hidden;
  }
  
  a {
    text-decoration: none;
  }
  
  img {
    max-width: 100%;
    width: 100%;
    height: 100%;
  }
  
  p {
    color: black;
    font-size: 1em;
    margin-top: 5px;
    line-height: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.05rem;
  }
  
  /* .container {
    min-height: 100vh;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
  } */
  .container-body {
    max-width: 1100px;
    width: 90%;
    margin: 0 auto;
  }
  
  .explore {
    font-size: 16px;
    color: white;
    background-color: orange;
    border: 1px solid rgb(236, 241, 250);
    border-radius: 4px;
    padding: 12px 15px;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.5s ease;
  }
  
  .explore a:hover {
    background-color: rgba(0, 100, 8, 0.66);
    color: white;
  }
  
  .introduction {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 9rem;
    padding-bottom: 2rem;
  }
  
  /*==================== Courosel ====================*/
  .owl-carousel {
    position: relative;
  }
  
  .box h5 {
    padding-top: 20px;
    font-size: 15px;
    font-weight: 600;
    color: #000;
    margin: 0;
    font-style: italic;
  }
  
  .box p {
    font-size: 16px;
    font-weight: 300;
    padding: 20px;
    line-height: 24px;
    color: blue;
    margin: 5px 0 10px;
  }
  
  .carousel-container {
    margin-top: 5rem;
  }
  
  .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: absolute;
    background:orange;
    width: 100%;
    padding: 10px;
    top: bottom;
    bottom: 20px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
  }
  
  .owl-dot {
    background-color: #c1bdbd !important;
    width: 10px;
    height: 10px;
    border-radius: 50%;
  }
  
  .owl-dot.active {
    background-color: rgb(86, 85, 85) !important;
  }
  
  .owl-prev {
    width: 15px;
    height: 70px;
    position: absolute;
    top: 10%;
    margin-left: 10px;
    display: block !important;
    border: 0px solid black;
  }
  
  .owl-next {
    width: 15px;
    height: 70px;
    position: absolute;
    top: 10%;
    margin-right: 40px;
    right: -25px;
    display: block !important;
    border: 0px solid black;
  }
  
  .owl-next span,
  .owl-prev span {
    font-size: 30px;
    font-weight: normal;
  }
  
  .owl-controls {
    position: relative;
  }
  
  .owl-nav {
    position: absolute;
    top: 20%;
    width: 100%;
    transform: translateY(-50%);
  }
  
  .head {
    font-size: 3rem;
    font-weight: 600;
    color: green;
    margin-top: 0;
    padding: 10px;
    text-align: center;
  }
  
  .box {
    background-color: #f2f2f2;
    margin-bottom: 40px;
    border-radius: 5px;
    padding: 40px;
    padding-top: 20px;
    text-align: center;
    position: relative;
  }
/*----------End of Courosel-----*/
  
  #hero {
    background-image: url(Images/home.avif);
    /* https://pixabay.com/photos/search/family%20cycling/ */
    background-size: cover;
    background-position: top center;
    position: relative;
    z-index: 1;
    min-height: 100vh;
  }
  
  #hero::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.3;
    z-index: -1;
    /* Only apply black affect to background */
  }
  
  #hero h1 {
    display: block;
    width: fit-content;
    color: transparent;
    position: relative;
    font-size: 5rem;
    animation: text-reveal 1.5s ease forwards;
    text-align: center;
  }
  
  #hero h1 span {
    /* H1 Animation */
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: green;
    animation: text-reveal-box 1.5s ease;
    animation-delay: 0.5s;
  }
  
  #hero .heading_text {
    display: block;
    width: fit-content;
    color: transparent;
    position: relative;
    font-size: 20px;
    animation: text-reveal 2.5s ease forwards;
  }
  
  #hero .heading_text span {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: orange;
    animation: text-reveal-box 2.5s ease;
    animation-delay: 1.5s;
  }
  
  #hero .cta {
    display: inline-block;
    padding: 10px 30px;
    color: white;
    background-color: transparent;
  }
  
  /* #header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  } */
  
  nav {
    width: 95%;
    max-width: 120rem;
    margin: 0 auto;
    /* Centering the nav */
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .hamburger {
    padding-right: 20px;
    cursor: pointer;
  }
  
  .hamburger .line {
    display: block;
    width: 40px;
    height: 5px;
    margin-bottom: 10px;
    background-color: white;
  }
  
  .hamburger {
    display: none;
  }
  
  /* small screens for navbar */
  @media screen and (max-width: 900px) {
    .hide {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.5s ease-out;
    }
  
    .show {
      max-height: 500px;
      transition: max-height 0.5s ease-in;
    }
  
    .hamburger {
      display: block;
    }
  
    #hero h1 {
      font-size: 2rem;
      padding: 20px;
      font-weight: 600;
      text-align: initial;
    }
    #hero p {
        font-size: 1rem;
        padding: 20px;
        text-align: initial;
      }
    .explore {
      padding: 10px 20px;
      font-size: 15px;
      width: 60%;
      justify-content: center;
      align-items: center;
      display: flex;
      margin-left: 20px;
      text-align: center;
    }
  
    nav {
      position: relative;
    }
  
    nav ul {
      flex-direction: column;
      gap: 1rem;
      position: absolute;
      right: -5%;
      top: 100%;
      background: green;
      z-index: 1000;
      border-radius: 7px;
    }
  
    nav ul li {
      padding: 1rem;
      padding-bottom: 0px;
    }
  
    .last-list {
      padding-bottom: 1rem;
    }
  
    nav a:hover {
      color: greenyellow;
    }
  
    /* contribute */
    .card-container {
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
  }
  
  .logo {
    font-size: 2rem;
    color: white;
    padding: 1rem 0;
    display: flex;
    margin: 0;
    justify-content: space-between;
    align-items: center;
  }
  
  nav ul {
    display: flex;
  }
  
  nav li {
    list-style: none;
    margin-right: 2rem;
    /* Added margin for spacing between nav items */
  }
  
  nav a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
  }
  
  nav a:hover {
    color: orange;
  }
  
  
  

  main.cards {
    display: flex;
    padding: 32px;
}

main.cards section.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    max-height: 468px;
    margin-left: 32px;
}

main.cards section.card:first-child {
    margin-left: 0;
}

main.cards section.card .icon {
    width: 64px;
    height: 64px;
}

main.cards section.card img {
    width: 100%;
}

main.cards section.card h3 {
    font-size: 100%;
    margin: 16px 0;
}

main.cards section.card span {
    font-weight: 300;
    max-width: 240px;
    font-size: 80%;
    margin-bottom: 16px;
}

main.cards section.card button {
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    border-radius: 32px;
    border: 0;
    cursor: pointer;
    font-size: 80%;
    font-weight: 500;
    color: #fff;
    margin-bottom: 16px 0;
}

main.cards section.card.contact button {
    background: linear-gradient(to right, #9F66FF, #DFCBFF);
}
main.cards section.card.shop button {
    background: linear-gradient(to right, #3E8AFF, #BBDEFF);
}
main.cards section.card.about button {
    background: linear-gradient(to right, #FE5F8F, #FFC7D9);
}

main.cards section.card.contact {
    box-shadow: 20px 20px 50px -30px #DBC4FF;
}
main.cards section.card.shop {
    box-shadow: 20px 20px 50px -30px #AFD6FF;
}
main.cards section.card.about {
    box-shadow: 20px 20px 50px -30px #FFC1D5;
}

@media screen and (max-width: 720px) {
    main.cards {
        flex-direction: column;
    }

    main.cards section.card {
        margin-left: 0;
        margin-bottom: 32px;
    }

    main.cards section.card:last-child {
        margin-bottom: 0;
    }

    main.cards section.card button {
        font-size: 70%;
    }

}