:root{
    --blue : #002d55;
    --green: #2cb845;
    --white: #ffffff;
    --button-hover-white: #cfd4de;
}
body{
    background-color: var(--blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;

}

.nav-logo img{
    width: 240px;
}

.section{
    margin-bottom: 10px;
    width: 100%;
    max-width: 1250px;
    /*border: 1px solid white;*/
    min-height: 50px;
    box-sizing: border-box;
}

.nav-bar{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 60px;
    padding-left: 30px;
    padding-right: 30px;

}


#nav-links{
    display: flex;
    gap: 50px;
    margin-left: auto;
    margin-right: 135px;
}

#nav-links a{
    color: var(--green);
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

#social-links{
    display: flex;
    gap: 20px;
    flex-direction: row;
    margin-top: 3px;

}

#social-links a i{
    color: var(--green);
    text-decoration: none;
    font-size: 20px;

}

/* Hamburger button - hidden by default */
.hamburger {
    display: none;
}

/* Menu close button - hidden by default */
.menu-close {
    display: none;
}



.hero-main-text{
    margin-top: 120px;
    max-width: 1000px;
}

#hero-content{
    font-size: 48px;
    color: var(--white);
    font-weight: 400;
    line-height: 1.4;
    min-height: 135px;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
   
}

.hero-call-to-actions{
  display: flex;
  flex-direction: row;
  row-gap: 40px;
  column-gap: 10px;
  margin-top: 210px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 115px;
  padding: 0px 30px;
 
}



.hero-action-item{
   gap: 12px;
   display: flex;
   flex-direction: row;
   max-width: 540px;
   flex: 1 1 calc(50% - 10px);
   align-items: flex-start;
}



.hero-call-to-action-text{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
    align-items: flex-start;
}

.hero-action-description{
    font-size: 18px;
    color: var(--white);
    font-weight: 700;

}

.hero-star-holder img{
    width: 72px;
}

.button{
    padding: 12px 24px;
    background-color: var(--green);
    color: var(--blue);
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    display: inline-block;
    width: fit-content;
    margin: 0;
    transition: background-color 0.3s ease;
}

.button:hover{
    background-color: var(--button-hover-white);
}

.challenge-section-holder{
    margin-top: 120px;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 120px;
    max-width: 1200px;
}

.challenge-section{
    
}

.challenge-section-title{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 70px;
    align-items: flex-start;
    padding-right: 100px;
}



.challenge-number-text{
    font-size: 20px;
    color: var(--green);
    font-weight: 700;
}

.challenge-title-name{
    font-size: 36px;
    color: var(--white);
    font-weight: 600;
}

.challenge-description{
    font-size: 14px;
    color: var(--white);
    font-weight: 400;
    margin-bottom: 30px;

}


.challenge-sub-category-holder{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-top: 60px;
    margin-left: 40px;
    margin-right: 40px;
}
.challenge-sub-category{
    background-color: var(--white);
    padding: 30px;
    border: solid 2px var(--green);
    border-radius: 14px;
    width: calc(50% - 80px);
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: flex-start;
}
.challenge-sub-category-name{
    font-size: 18px;
    font-weight: 700;
    color: var(--blue);
}
.challenge-sub-category-description{
    font-size: 14px;
    color: var(--blue);
}

.portfolio-company-holder{
    display: flex;
    flex-direction: row;
    column-gap: 30px;
    row-gap: 10px;
    flex-wrap: wrap;
}
.portfolio-company-holder img{
    height: 40px;
}

.about-tim{
    display: flex;
    flex-direction: row;
    gap: 60px;
    justify-content: center;
    margin-top: 60px;
    padding-top: 120px;
    min-height: 385px;
    padding-left: 40px;
    padding-right: 30px;

}

.about-tim-left-holder{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tim-photo{
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 2px solid var(--green);
}

.tim-photo img{
    width: 100%;
    height: 100%;

}

.tim-call-to-action-title{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-top: 40px;
    margin-bottom: 20px;

}



.about-tim-right-holder{

    max-width: 730px;

}

.about-tim-right-top-holder{
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: space-between;

    height: auto;
}

.tim-text-holder{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 60px;
}


.tim-name{
    font-size: 36px;
    font-weight: 600;
    color: var(--white);
}

.tim-title{
    font-size: 18px;
    font-weight: 400;
    font-size: 20px;
    font-weight: 700;
    color: var(--green);
}

.about-tim-description{
    margin-top: 30px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--white);
}

.accolades-holder{
    font-size: 14px;
    font-weight: 700;
    color: var(--green);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    margin-left: 0;
    min-width: 100px;
    padding-right: 30px;
    
}

.accolades-holder img{
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    top: 0;
    object-fit: contain;
    scale: 1.1;
    left: -10px;
}

.accolades-holder .accolade-item-one,
.accolades-holder .accolade-item-two{
    position: relative;
    z-index: -1;
}
.accolade-item-one, .accolade-item-two{
    margin-bottom: 3px;
    margin-left: -11px;
}

.footer{
    margin-top: 180px;
    max-width: 1100px;
    min-height: 445px;
    padding-left: 40px;
    padding-right: 40px;

}
.footer-title{
    font-size: 36px;
    font-weight: 600;
    color: var(--white);
    
}
.footer-description{ 
    margin-top: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--green);
}
.footer-action-buttons{
    margin-top: 60px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
}

.footer-attribution{
    margin-top: 130px;
    font-size: 12px;
    font-weight: 400;
    text-align: right;
    color: var(--green);
    margin-bottom: 120px;
    padding-right: 30px;
}

.footer-attribution a{
    color: var(--green);
}

@media (max-width: 1160px) {
    #nav-links{
        margin-right: 45px;
    }

    .hero-call-to-actions{
        justify-content: space-around;
        justify-content: flex-start;
    }
  .hero-action-item {
    max-width: 500px;
    justify-content: flex-start;
  }

}


@media (max-width: 1060px) {

    .nav-bar{
        margin-top: 20px;
        
    }


    .nav-logo img{
        width: 180px;
        margin-top: 6px;
    }
    /* Hamburger menu styles */




    .hamburger {
        display: block;
        cursor: pointer;
        background: none;
        border: none;
        padding: 10px;
        margin-left: auto;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--green);
        margin: 5px 0;
        transition: 0.3s;
    }



    #nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--blue);
        flex-direction: column;

        padding: 80px 30px 30px 30px;
        margin: 0;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
        align-content: flex-start;
        gap: 20px;
    }

    #nav-links.active {
        right: 0;
    }

    /* Close button for mobile menu */
    .menu-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        color: var(--green);
        font-size: 24px;
        cursor: pointer;
        padding: 10px;
        z-index: 1001;
    }

    .menu-close:hover {
        opacity: 0.8;
    }

    #nav-links a {
        font-size: 20px;
        margin: 15px 0;
        padding: 5px 0;
        border-bottom: 2px solid var(--green);
        width: fit-content;
       color: var(--white);
    }

    #social-links {
        position: static;
        justify-content: center;
        margin-top: 30px;
        width: 100%;
        text-align: center;
    }

    #social-links a{
        border-bottom: none;
    }

    #social-links a i {
        font-size: 24px;
      

    }

    /* Overlay for when menu is open */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    
    .challenge-section-title{
        margin-left: 0;
        padding-right: 30px;
        padding-left: 50px;
    }

   
    .about-tim{
        gap: 40px;
    }

    .footer-attribution{
        padding-right: 0;
        text-align: center;
        margin-top: 150px;
    }

   
}


@media (max-width: 950px) {
     
    .about-tim {
        flex-direction: column;
        gap: 20px;
        padding-top: 0px;
       
    }
    .about-tim-left-holder{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .about-tim-right-holder{
        max-width: 100%;
    }

    .about-tim-right-top-holder{

        display: flex;
        flex-direction: column-reverse;
       
        justify-content: center;

    }


    .tim-call-to-action-title{
        margin-top: 20px;
    }
    
    .tim-text-holder{
        margin-top: 60px;
        gap: 10px;
        flex-direction: column-reverse;
        
    
    }
    .accolades-holder{
        width: 100%;
        padding: 0;
        display: flex;
        flex-direction: row; 
        gap: 20px;
    
    }
    .accolade-item-one, .accolade-item-two{
        margin-left: 0;
    }
    .accolades-holder img{
        display: none;
    }

    .footer-action-buttons{
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
    }
    .footer-action-buttons a{
        width: 100%;
    }
   
    
}


@media (max-width: 900px) {
    .challenge-sub-category-holder{
        flex-direction: column;

    }
    .challenge-sub-category{
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;

    }
    
}




@media (max-width: 735px) {
    .hero-call-to-actions{
        flex-direction: column;
        margin-top: 160px;
        margin-bottom: 60px;
    }
    .hero-action-item{
        max-width: 100%;
    }
    #hero-content{
        line-height: 1.2;
    }

    .challenge-sub-category-holder{
        margin-top: 40px;
    }

    .challenge-section-holder{
        margin-top: 60px;
    }
    .challenge-description{
        margin-bottom: 10px;
    }
    .challenge-section-title{
        padding-right: 40px;
        padding-left: 30px
      }

      .challenge-sub-category-holder{
        margin-left: 20px;
        margin-right: 20px;
      }

    .about-tim{
        padding-left: 30px;
        padding-right: 30px
    }


    .footer{
        padding-left: 30px;
        padding-right: 30px;
    }

      
    
}





@media (max-width: 502px) {
  .hero-call-to-actions {
    flex-direction: column;
  }
  #hero-content{
    font-size: 40px;
  }
  .about-tim{
    margin-top: 40px;
    padding-top: 40px;
  }

  .about-tim-description{
    margin-top: 15px;
  }
}