* {
            box-sizing: border-box;
}
body {
    margin: 0;
      background: #0D2743;
      width: 100%;
}
.active {
    display: block;
}

.mobile {
         display: none;
     }
  .flex {
      display: flex;
  }
  .flex-col {
      flex-direction: column;
  }
  .flex-center {
      justify-content: center;
      align-items: center;
  }
  .text-center {
      text-align: center;
  }
  
  .content {
      padding: 64px 32px;
      max-width: 960px;
      margin: 0 auto;
  }

.mb-0 {
    margin-bottom: 0;
}
.mt-0 {
    margin-top: 0;
}
.ml-8 {
    margin-left: 8px;
}
.mr-8 {
    margin-right: 8px;
}
  h1 {
     font-family: "Montserrat", sans-serif;
        color: #f2e8d5;
    font-size: 144px;
    margin: 0;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
  }
  h2 {
        font-family: "Montserrat", sans-serif;
        font-size: 48px;
        margin: 0;
        line-height: 1.2;
        text-align: center;
  }
  p, a {
      font-family: "Inter", sans-serif;
  }
  .font-lt a {
    color: #0D2743;
  }
  .font-dk a {
    color: #F7F8F0;
  }
  .border {
    border: 2px solid #6F1A07;
    margin: 0 32px;
    padding: 0 32px;
    border-radius: 22px;
  }
  .font-sm {
      font-size: 14px;
      text-transform: uppercase;
      font-weight: 600;
      margin-top: 0;
  }
  .font-md {
    font-family: "Montserrat", sans-serif;
    font-size: 28px;
    font-weight: 600;
}
  .font-lt a, .font-lt {
    color: #F7F8F0;
  }
  .font-dk a, .font-dk {
    color: #0D2743;
  }
  .content p {
      text-align: center;
  }
  
 p.font-left, h2.font-left {
      text-align: left;
  }
   p.font-right, h2.font-right {
      text-align: right;
  }
.font-lg {
    font-size: 32px;
    font-weight: 600;
}
  
  .bk-img {
          background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
   .bk-img-dk h2, .bk-img-dk p {
         color: #F7F8F0;
   }
  .bk-lt {
          background: #F7F8F0;
  }
  .bk-lt h2,   .bk-lt p {
         color: #0D2743;
  }
  .bk-dk {
      background:  #0D2743;
  }
  .bk-dk h2,  .bk-dk p {
      color: #f2e8d5;
  }
  .img {
      width: 100%;
  }
  
  .img-round {
      border-radius: 22px;
  }
  


/* Navbar styling */
    .navbar {
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: #0D2743;
      padding: 0 20px;
      height: 80px;
      position: relative;
      width: 100%;
      max-width: 960px;
      margin: 0 auto;
      z-index:1;
    }

    .navbar .logo img {
      height: 40px;
    }

    /* Links */
    nav .cta {
    position: absolute;
    right: 0;
}
    .nav-links {
      display: flex;
      gap: 32px;
    }

    .nav-links a {
      color: #f2e8d5;
      text-decoration: none;
      font-weight: bold;
      font-size: 14px;
      transition: color 0.3s;
    }

    .nav-links a:hover {
      color: #66b3ff;
    }

    img.logo {
          width: 112px;
    position: absolute;
    left: 32px;
    top: 16px;
    }

    /* CTA button */
    .cta {
      border: none;
      padding: 8px 32px;
      border-radius: 25px;
      font-size: 14px;
      font-weight: bold;
      cursor: pointer;
      transition: 0.3s ease;
      min-width: 104px;
    text-align: center;
    text-decoration: none;
    }
    
.cta-primary {
    background: #2596be;
    color: #FFFFFF;
}
    .cta-primary:hover {
      background-color: #2673cc;
    }
    .cta-secondary {
    background: #FFFFFF;
    color: #2596be;
    }
      .cta-secondary:hover {
      background-color: #2596be;
          color: #FFFFFF;
    }
    .cta-center {
        display: block;
        margin: 0 auto;
    max-width: max-content;
    }

/*GRID*/
.grid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.grid-3 .grid__item {
    width: 33.33%;
        padding: 32px;
        
}
.grid-2 .grid__item {
    width: 50%;
        padding: 32px;
        
}

    /* Hamburger menu (hidden on desktop) */
    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 5px;
    }

    .hamburger div {
      width: 25px;
      height: 3px;
      background-color: white;
    }


    .grid-2 p.grid__item {
width: calc(50% - 32px);
    padding: 0 16px;
    text-align: left;
}
  
  /*HERO*/
  #hero {
      background: #0D2743;
  }
  #hero .content {
         padding: 32px;
  }
  img.hero__image {
    width: 960px;
}
  /*CAROUSEL*/
  .carousel {
  overflow: hidden;    
  width: 100%;        
  margin: 0;
}
 .carousel .grid__item {
  flex: 0 0 auto;             
  margin-right: 16px;         
}
 .carousel .grid__item .img {
  display: block;
  width: 400px;               
  height: auto;
  border-radius: 22px;        
}
.carousel-track {
  display: flex;
  width: max-content;       
  animation: slide 60s linear infinite; 
}
  @keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Slide halfway (adjust if more images) */
  }
}
  
  /*ABOUT*/

  #about .grid, #project .grid {
    margin: 32px 0 16px;
}


/*GRAND CTA*/
.bk-img {
    padding: 40px 0;
}
.grandcta__text {
        font-size: 32px;
        font-family: "Montserrat", sans-serif;
        font-weight: 600;
        text-shadow: 1px 1px black;
        line-height: 1.4;
        padding: 0;

}
  .grandcta-comboCTA-1 {
    margin-right: 8px;
}
  /*EVENTS*/
  #events .grid__item {
      background: #fff;
          border-radius: 22px;
    border: 1px solid #eee;
    width: calc(33% - 8px);
    padding: 32px 32px 64px;
    margin: 32px 4px;
    position: relative;
  }
    p.event__name,   p.event__date, p.event__location, p.event__desc {
          text-align: left;
            color: #545454;
    }
  p.event__name {
        font-family: "Montserrat", sans-serif;
        font-size: 20px;
        font-weight: bold;
        margin: 0;
}
  p.event__date, p.event__location {
  display: flex;
}
.event__image {
  width: 100%;
    margin-bottom: 32px;
    border-radius: 22px;  
}

a.event__cta {
    color: #2596be;
    font-weight: 600;
    position: relative;
     text-decoration: none;
     border-bottom: 2px solid #2596be;
     position: absolute;
     bottom: 32px;
}
  a.event__cta::after {
      content:' > ';
      transition: 0.3s ease all;
     
  }
  
  a.event__cta:hover::after {
      padding: 0 0 0 8px;
  }
  .event__icon {
      width: 40px;
          width: 20px;
    height: 20px;
    margin: 1px 8px 0 0;
  }
  .tag::before {
      content: "SOON";
      position: absolute;
      left: 0;
      top: 16px;
      color: #F7F8F0;
      background: #6F1A07;
      transform: rotate(-40deg);
      font-family: 'Inter';
      padding: 4px 8px;
      border-radius: 4px;
      font-weight: 600;
  }
  
  /*SPONSORS*/
  p.sponsor__name {
       color: #6F1A07;
    padding: 0 32px;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 600;   
  }
  
 
  /*CONTACT*/
#contact .content.flex.flex-center.flex-col {
    border-top: 1px solid #ccc;
}
  section#contact {
    /*background-image: url(/media/images/cityTree-dk.png);
    background-size: 200px;
    background-position: 100% 114%;
    background-repeat: no-repeat;
    */
}

  /*FOOTER*/
  #footer .content {
    padding: 32px 0;
}
  #footer p {
        color: #f2e8d5;
  }
  #footer a {
      color: #f2e8d5;
  }
  .img-social {
      width: 24px;
      height: 24px;
        transition: all 0.3s ease;
        margin: 4px 0;
  }
  .link-social:hover .img-social {
     opacity: 0.7;
  } 
  .text-bottom {
      font-size: 14px;
    align-self: center;
    justify-self: flex-end;
  }
  /*NEWS TICKER*/
  section#donations .border {
max-width: 1200px;
margin: 32px auto 0;
  }
  #donations .content {
      padding-top: 32px;
      padding-bottom: 32px;
      padding-right: 0;
      padding-left: 0;
  }
   #sponsors .font-md {
    margin-bottom: 32px;
}
p.sponsor__name.grid__item {
    padding: 0 32px 32px;
    margin-bottom: 0;
}
  
    .ticker-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 0 54px;
    border-radius: 5px;
    margin: 0 auto;
  }

  .ticker {
    display: inline-block;
    white-space: nowrap;
    position: absolute;
    will-change: transform;
  }

  .ticker span {
      color: #6F1A07;
    margin-right: 48px; /* space between news items */
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 600;
  }
/*BUSINESS HELP*/
section#business {
    margin-top: -32px;
}
#business .grid-3 .grid__item {
    margin: 0 auto;
    justify-self: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
 @media screen and (max-width: 1200px) {
.border {
    width: calc(100% - 64px);
}
}
 
 @media screen and (max-width: 850px) {
     .mobile {
         display: block;
     }
     .desktop {
         display: none;
     }
     .grid {
    flex-direction: column;
}
     h1 {
         font-size: 56px;
         margin: 0 0 16px;
     }
     h2 {
         font-size: 40px;
     }
      .header .logo {
      width: 104px;
  }
    .font-left {
      text-align: center;
  }

/*nav mobile*/
   nav .cta {
           position: relative;
   }
   .navbar {
        width: 100%;
        justify-content: space-between;
        position: fixed;
   }
.nav-links {
        display: none;
        flex-direction: column;
        background-color: #0D2743;
        position: absolute;
        top: 79px;
        left: 0;
        width: 100%;
        padding: 8px 0;
        gap: 8px;
      }

      .nav-links a {
               padding: 16px 32px;
      }
          .nav-donate {
        max-width: max-content;
    padding: 8px 32px !important;
    margin: 0 0 16px 16px !important;
    }
       .hamburger {
        display: flex;
        background: transparent;
        z-index: 1;
        height: 18px;
        width: 32px;
        border-top: 4px solid #F7F8F0;
        border-bottom: 4px solid #F7F8F0;
      }
      
      #nav-donate {
          display: none;
      }


      .nav-links.active {
        display: flex;
      }
      /*grid mobile*/
      .grid-2 .grid__item {
    width: 100%;
}
.grid-3 .grid__item {
    width: calc(100% - 8px);
}
      .grid-2-mobile  {
        flex-direction: row;
      }
      .grid-2-mobile .grid__item {
          width: 50%;
      }
      
      
      /*hero mobile*/
      #hero .content {
          padding-top: 104px !important;
      }
      img.hero__image {
    width: 400px;
    max-width: 100%;
}
      
        /*about mobile*/
 
        #about h2 {
            text-align: center;
        }
  .grid-2 p.grid__item {
    width: 100%;
    padding: 0;
    text-align: left;
}
/*donations mobile*/
 section#donations .border {
margin: 32px 32px 0;
  }

div#sponsors .grid-3 .grid__item {
    padding: 0;
}

 p.sponsor__name {
    font-size: 20px !important;
    padding: 0;
}
#sponsors .font-md {
    margin-bottom: 16px;
}
/*business mobile*/
section#business {
    margin-top: -24px;
}
#business .grid-3 {
    flex-direction: row;
    flex-wrap: wrap;
}

#business .grid-3 .grid__item {
    width: 50%;
    padding: 16px 8px;
}
#business img.img {
    object-fit: contain;
    width: 100% !important;
    max-width: 124px;
}
/*carousel mobile*/
.carousel {
    margin: -32px 0;
}
.carousel .grid__item {
    padding: 0 !important;
}
.carousel .grid__item .img {
    width: 300px;
}
/*event mobile*/
.events__desc {
    margin-top: 32px;
}
#events .grid.grid-3 {
    padding-top: 32px;
}

#events .grid__item {
    width: 100%; 
    margin: 0 0 32px;
}
/*grand cta mobile*/
.grandcta__text {
    font-size: 24px !important;
    line-height: 1.2;
}
.grandcta-comboCTA {
        width: calc(100% + 64px);
    flex-direction: row;
}
.grandcta-comboCTA-1 {
    margin-right: 8px;
}
/*contact mobile*/
section#contact {
    background-position: 50% 106%;
}

#contact p.font-left, #contact h2.font-left {
    text-align: center;
}
#contact .grid__item.flex.flex-center {
    padding: 0;
}
  section#contact .content {
    margin: 0 32px;
    padding: 32px 0 80px;
 
}
#contact .grid__item {
    padding: 32px 0;
}
 }