:root {
  --main-header-color: #f2c43a;
  --choose-your-course: #b6bcc2;
  
}


/* Container and Layout */
#banner-cards-container {


  box-shadow: inset -1px -5px 14px black;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #2f363d;
    padding: 40px 20px;
    width: 100%;
    box-sizing: border-box;
    height: 100%;



  /* Right Side: Card List */
  .course-list {

    img {
      height: 100%;
      width: 100%;
      color:red;
    }
    /* flex: 0 0 350px;  */
    display: grid;
    gap: 10px;
    grid-auto-flow: row;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 200px;
    align-items: stretch;
    min-height: 0;

    /* grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); */
    height: auto;

    .course-card {

      justify-items: center;
      cursor: pointer;
      height: 100%;
      min-height: 0;
      min-width: 0;
      overflow: hidden;
      background-color: #f3f3f3; /* The specific green from the image */
      color: #2f363d;
      /* padding: 20px 25px; */
      border-radius: 8px;
      text-align: center;
      box-shadow: 0px 5px 1px 4px #231f20;
      transition: transform 0.2s ease;
      display: grid;
      grid-template-rows: 50% 20% 30%;
      /* flex-direction: column; */
      align-items: center;


      .icon {
        height: 100%;
      }

      h3 {
        font-size: 1.7rem;
        font-weight: 700;
      
        line-height: 1.2;
      }


      p {
        font-size: 1.1rem;
        font-weight: 400;
        margin: 0;
        display: block;
        text-align: center;
        /* padding: 10%; */
        width: 100%;
        line-height: 1.4;
        opacity: 0.9; /* Slightly softer white for description */
        max-width: 90%;
      }

      &:hover {
        /* transform: translateY(-3px); */
        /* box-shadow: 0 6px 20px rgba(203, 203, 203, 0.4); */
        filter: brightness(1.03);
      }


    }
    
  }





  .hero-section {
    max-width: 1600px;
    /* margin: 0 auto; */
    display: grid;
    width: 100%;
    height: auto;
    grid-template-rows: auto auto;
    align-items: center; /* Vertically center the title with the list */
    justify-content: start;
    gap: 10px;
    /* Left Side: Headline */
    .hero-text {
      flex: 1; /* Takes up remaining space */
        h2 {
          text-align: center;
          font-size: 3.5rem;
          font-weight: 700;
          color: var(--hds-yellow);
          line-height: 1.1;
          letter-spacing: 1.5px;
          /* font-style: italic; */
          /* color: #f3f3f3; */
          margin: 0;
      }
      p {
        text-align: center;
        color:var(--choose-your-course);
        font-size: 1.5rem;
      }
    }
  }

  







}






/* Responsive Design */
@media screen and (min-width: 846px) and (max-width: 1185px) {
  #banner-cards-container {
    .course-list {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
}

@media screen and (min-width: 481px) and (max-width: 845px) {
  #banner-cards-container {
    .course-list {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
}

@media screen and (max-width: 480px) {
  #banner-cards-container {
    .course-list {
      grid-template-columns: 1fr;
    }
  }
}

@media (max-width: 900px) {
  .hero-section {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hero-text {
    /* margin-bottom: 40px; */
    text-align: center;
    width: 100%;
    padding-right: 0;
  }

  .course-list {
    width: 100%; /* Full width on mobile */
    flex: none;
  }
  
  .hero-text h2 {
    font-size: 2.5rem;
  }
}