@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');


body {
    max-width: 1440px;
    margin: auto;
}

/* Navigation Menu */
.topnav {
    overflow: hidden;
    padding: 10px;
    font-family: 'Red Hat Display', sans-serif;

  }
  
  .topnav a {
    float: left;
    display: block;
    color: black;
    text-align: center;
    padding: 34px 16px;
    text-decoration: none;
    font-size: 17px;
  }

  .topnav img {
    float: left;
    display: block;
    padding: 14px 16px;
    width: 200px;
  }
  
  .topnav a:hover {
    background-color: #644B3B;
    color: white;
  }
  
  
  .topnav .icon {
    display: none;
  }
  
  @media screen and (max-width: 600px) {
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
      float: right;
      display: block;
      position: absolute;
      right: 10px;
      top: 15px;
    }

    .topnav img {
        display: block;
        float: none;
    }
  }
  
  @media screen and (max-width: 600px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive .icon {
      position: absolute;
      right: 5px;
      top: 10px;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
    }
  }

  /*Hero Section*/

  .hero-image {
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url("https://gripset.com/training/images/gap-new/main.jpg");
    height: auto;
    padding: 5%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
  }
  
  .hero-text {
    display: flex;
    justify-content: left;
    align-items: start;
    flex-direction: column;
    color: white;
    padding: 25px;
    font-family: 'Red Hat Display', sans-serif;
  }

  .hero_title {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0px;
  }

  .hero_attendance {
    display: flex;
    gap: 10px;
    margin-top: -10px;
  }

  .hero_attendance h2 {
    font-weight: 500;
  }

  .hero_description {
    width: 50%;
    margin-top: 2px;
    margin-bottom: 3%;
  }
  

  .hero_buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }

  @media (max-width: 500px) {
    .hero_buttons {
      display: grid !important;
      grid-template-columns: 100%;
      gap: 10px;
    }
  }

  .hero_button {
    border: none;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    background: rgb(36, 168, 80);
    color: white;
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 700;

  }

  .hero_button:hover {
    background: white;
    border: 1px solid #FFF;
    color: black;
    cursor: pointer;
  }

  .hero_play_button {
    border: none;
    border-radius: 50%;
    padding: 5px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgb(36, 168, 80);
  }

  .hero_play_button:hover {
    border: 1px solid #fff;
  }

  .hero_play_button img {
    width: 25px;
  }

  .play_button_display {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  
  .hero-text button:hover {
    background-color: #555;
    color: white;
  }


  @media (max-width: 500px) {

    .hero-image {
        padding: 1%;
    }

    .hero-text {
        justify-content: center;
        align-items: center;
    }

    .hero_title {
        text-align: center;
        font-size: 2em;
        
    }

    .hero_attendance {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero_attendance h2 {
        font-size: 1.0rem;
    }

    .hero_description {
        width: 100%;
        text-align: center;
    }

    .hero_button {
        height: 50px;
        font-size: 0.8rem;
    }

    .hero_play_button {
        height: 50px;
    }

    .play_button_display {
        font-size: 0.7rem;
        height: 50px;
    }
  }

  /*What Did You Learn Pointers*/
  .what_you_learn_points {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 10px;
    border: 1px solid black;
    width: 100%;
    margin: auto;
}

.what_you_learn_points div {
    display: grid;
    grid-template-columns: 5% 95%;
    gap: 15px;
    align-items: center;
    word-break: break-word;
    width: 90%;
    margin: auto;
    font-family: 'Red Hat Display', sans-serif;

}

.WYWL_TITLE {
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 900;
  font-size: 2em;
  margin-top: 2px;
  margin-bottom: 0px;
  padding: 15px;
}

@media (max-width: 500px) {
    .what_you_learn_points {
        grid-template-columns: 100% !important;
        width: 95%;
    }

    .what_you_learn_points img {
        width: 25px;
        height: 25px;
    }

    .what_you_learn_points div {
        margin: 2%;
    }

    .WYWL_TITLE {
      text-align: center;
    }

    .WYWL_NOT {
      display: none;
    }
}

  /*Course Details Grid*/

  .course_details_panel {
    background: #333;
    width: 100%;
    min-height: 150px;
    height: auto;
  }

  .course_grid {
    display: grid;
    grid-template-columns: 60% 40%;
    padding: 2%;
    gap: 10px;
  }

  .course_details_grid {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    padding: 5%;
    padding-left: 1.5%;
    padding-top: 0.5%;
    gap: 5px;
    background: #fff;
  }

  .course_referral {
    background: #8B634A;
    display: grid;
    grid-template-columns: 50% 50%; 
    padding: 10px;
  }

  .course_referral div img {
    width: 100%;
  }

  @media (max-width: 500px) {
    .course_referral {
      grid-template-columns: 100%;
      gap: 10px;
    }
  }

  .course_referral h2 {
    color: white;
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    margin-top: 2px;
    margin-bottom: 0px;
  }

  .course_referral p {
    margin-top: 1px;
    width: 75%;
    font-size: 1.1rem;
    color: white;
    font-family: 'Red Hat Display', sans-serif;
  }

  .course_referral button {
    border: 1px solid #fff;
    text-align: center;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    background: rgb(36, 168, 80);
    padding: 10px;
    color: white;
    width: 80%;
  }

  @media (max-width: 500px) {
    .course_referral button {
      width: 80%;
      margin: auto;
    }
  }

  .course_referral button:hover {
    background: white;
    color: black;
    cursor: pointer;
  }

  .course_grid_item {
    display: flex;
    flex-direction: column;
    justify-content: left;
    padding: 10px;
    
  }

  .course_item_flex {
    display: flex;
    flex-direction: row;
    gap: 5px;
    border-bottom: 1px solid #d9d9d9;
    font-family: 'Red Hat Display', sans-serif;
  }

  .course_item_flex h2 {
    font-size: 1rem;
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 500;
  }

  .course_grid_item p {
    margin-top: 0px;
    padding-left: 10px;
    padding-top: 10px;
    margin-bottom: 0px;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 1rem;
  }

  @media (max-width: 500px) {
    .course_grid {
        grid-template-columns: 100%;
        padding: 5%;
    }
    
    .course_details_grid {
        grid-template-columns: 100%;
    }

    .course_grid_item {
        justify-content: center;
    }
  }


  /*Course Overview Section*/

  .course_overview_grid {
    display: grid;
    grid-template-columns: 70% 30%;
    padding: 2.5%;
    gap: 10px;
  }

  .course_overview_description {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: start;
    padding: 5px;
  }

  .course_overview_description h1 {
    font-weight: 900;
    font-family: 'Red Hat Display', sans-serif;
  }

  .course_overview_description p {
    font-family: 'Red Hat Display', sans-serif;
  }

  .course_overview_benefits {
    display: flex;
    flex-direction: column;
    border-radius: 0px;
    background: #8B634A;
    padding: 10px;
    align-items: stretch;
    justify-content: space-evenly;
  }

  .course_overview_benefits div {
    display: flex;
    flex-direction: row;
    justify-content: left;
    gap: 10px;
    padding: 10px;
    align-items: center;
  }

  .course_overview_benefits div h3 {
    color: white;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 1rem;
    margin: 0px;
  }

  .course_overview_benefits div img {
    width: 40px;
    height: 40px;
  }

  /*Course Overview Mobile Responsiveness*/

  @media (max-width: 500px) {
    .course_overview_grid {
      grid-template-columns: 100%;
    }

    .course_overview_description h1 {
      text-align: center;
    }

    .course_overview_description p {
      text-align: center;
    }

    .course_overview_description {
      align-items: center;
    }

    .course_overview_benefits {
      align-items: start;
      justify-content: space-evenly;
    }

    .course_overview_benefits div h3 {
      font-size: 1rem;
          text-align: center;

    }
  }


  /*What Will Be Covered Section*/
  .course_what_is_covered_grid {
    display: grid;
    grid-template-columns: 45% 55%;
    padding: 2.5%;
    gap: 10px;
  }

  
  .course_what_is_covered_description {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: start;
    padding: 5px;
  }

  .course_what_is_covered_description h1 {
    font-weight: 900;
    font-family: 'Red Hat Display', sans-serif;
    margin-top: 0px;
    margin-bottom: 0px;
  }

  .course_what_is_covered_description p {
    font-family: 'Red Hat Display', sans-serif;
  }


  /*What Will Be Covered Section - Mobile*/

  @media (max-width: 500px) {
    .course_what_is_covered_grid {
      grid-template-columns: 100%;
    }

    .course_what_is_covered_description {
      align-items: center;
    }

    .course_what_is_covered_description h1 {
      text-align: center;
    }

    .course_what_is_covered_description p {
      text-align: center;
    }
  }


  /*Image Slider Gallery*/

  .image_gallery {
    width: 100%;
  }

  .scroll-container {
    background-color: #333;
    overflow: auto;
    white-space: nowrap;
    padding: 10px;
  }
  
  .scroll-container img {
    padding: 10px;
    width: 600px;
    height: 400px;
  }

  
  /*Image Gallery - Mobile Responsive*/
  
  @media (max-width: 500px) {
    .scroll-container img {
      width: 300px;
      height: 200px;
    }
  }


  /*Course Structure Section*/

  .course_structure_grid {
    display: grid;
    grid-template-columns: 55% 45%;
    padding: 2.5%;
    gap: 10px;
  }

  .course_structure_description {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: start;
    padding: 5px;
  }

  .course_structure_description h1 {
    font-weight: 900;
    font-family: 'Red Hat Display', sans-serif;
  }

  .course_structure_description p {
    font-family: 'Red Hat Display', sans-serif;
  }

  .course_structure_topics_grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .course_structure_topics_table {
    border-radius: 20px;
    border: 1px solid #D9D9D9;
    height: auto;
  }

  .course_structure_topics_table .topbar {
    background: #8B634A;
    padding: 10px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    display: flex;
    justify-content: space-between;
  }

  .course_structure_topics_table .topbar h3 {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 1rem;
    color: white;
    font-weight: 400;
  }


  .course_structure_topics_table .description {
    display: flex;
    flex-direction: column;
    padding: 10px;
    overflow: hidden;
    overflow-y: scroll;
    min-height: 100px;
    max-height: 150px;
  }

  .course_structure_topics_table .description h5 {
    font-size: 1rem;
    margin-bottom: 10px;
    margin-top: 5px;
    font-family: 'Red Hat Display',sans-serif;
    font-weight: 300;
  }

  /*Course Structure - Mobile Responsive*/ 

  @media (max-width: 500px) {
    .course_structure_grid {
      grid-template-columns: 100%;
    }

    .course_structure_description {
      align-items: center;
    }

    .course_structure_description h3 {
      text-align: center;
    }

    .course_structure_description p {
      text-align: center;
    }
  }


  /*How To Apply + Fees Section*/
  .course_apply_fees_grid {
    display: grid;
    grid-template-columns: 50% 50%;
    padding: 2.5%;
    gap: 10px;
  }

  .course_apply_fees_description {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: start;
    padding: 5px;
  }

  .course_apply_fees_description h1 {
    font-weight: 900;
    font-family: 'Red Hat Display', sans-serif;
  }

  .course_apply_fees_description p {
    font-family: 'Red Hat Display', sans-serif;
  }


  .course_fees_topics_table {
    border-radius: 20px;
    border: 1px solid #D9D9D9;
    height: auto;
    width: 100%;
  }

  .course_fees_topics_table .topbar {
    background: #63ab61;
    padding: 10px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    display: flex;
    justify-content: space-around;
  }

  .course_fees_topics_table .topbar h3 {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 1rem;
    color: white;
    font-weight: 400;
    text-align: center;
  }

  .course_fees_topics_table .description {
    display: flex;
    padding: 2.5%;
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 300;
    justify-content: space-around;
    text-align: center;
    font-size: 1.3rem;
  }

  .course_fees_topics_table .description h5 {
    margin-bottom: 0px;
    margin-top: 5px;
  }

  /*How To Apply + Fees - Mobile Responsiveness*/
  @media (max-width: 500px) {
    .course_apply_fees_grid {
      grid-template-columns: 100%;
    }
    
    .course_apply_fees_description {
      align-items: center;
    }

    .course_apply_fees_description h1 {
      text-align: center;
    }

    .course_apply_fees_description p {
      text-align: center;
    }
  }



  /*Reviews Section*/ 

  .course_reviews_section {
    display: flex;
    flex-direction: row;
    width: 95%;
    margin: 2.5%;
    overflow: hidden;
    overflow-x: scroll;

  }

  .course_reviews_grid {
    display: flex;
    margin: auto;
    gap: 10px;
  }

  .course_reviews_item {
    display: flex;
    width: 350px;
    height: auto;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 20px;
    border: 3px solid #D9D9D9;
    padding: 10px;
  }

  .course_reviews_item img {
    width: 120px;
  }

  .course_reviews_item p {
    font-size: 1rem;
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 400;
  }

  .course_reviews_item h3 {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 1rem;
    font-weight: 600;
  }

  /*Reviews - Mobile Responsiveness*/
  @media (max-width: 500px) {
    .course_reviews_item {
      width: 250px;
    }

    .course_reviews_item p {
      font-size: 0.75rem;
    }
  }


  /*Image CTA Section*/

  .image_cta_section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url("https://gripset.com/training/images/gap-new/main.jpg");
    height: 200px;
    padding: 5%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
  }

  .image_cta_section_text {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    font-family: 'Red Hat Display', sans-serif;
  }

  .image_cta_section_text_title {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0px;
    color: white;
    text-align: center;
  }

  .image_cta_section_text_button {
    background: white;
    padding: 15px;
    border-radius: 15px;
    font-size: 1.2rem;
    margin-bottom: 10px;
    width: 250px;
  }

  .image_cta_section_text_button:hover {
    border: 1px solid white;
    color: white;
    background: none;
    cursor: pointer;
  }

  /*Image CTA - Mobile Responsive*/

@media (max-width: 500px) {
  .image_cta_section {
    height: auto;
  }

  .image_cta_section_text_title {
    font-size: 1.5rem;
  }

}



/*What Is Covered*/



.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
  font-family: 'Red Hat Display', sans-serif;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #644B3B;
  color: white;
}

/*Read More / Read Less Content*/

.text-container {
  max-width: 600px;
}

.text-content {
  max-height: 220px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.4s ease;
}

.text-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3em;
  background: linear-gradient(to bottom, transparent, white);
  pointer-events: none;
}

.text-content.expanded {
  max-height: 1000px; /* large enough to show all content */
}

.text-content.expanded::after {
  display: none;
}

#toggleButton {
  margin-top: 10px;
  background-color: transparent;
  border: none;
  color: #007BFF;
  cursor: pointer;
  font-weight: bold;
  padding: 0;
}

/* Style the tab content */

.session_legend_keys {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 0px;;
  padding: 10px;
  padding-top: 0px;
}

.session_legend_keys div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 300;
}

.red_box {
  width: 24px;
  height: 24px;
  background: #cc3300;
  color: #cc3300;
  border-radius: 5px;
}

.yellow_box {
  background: #ff9966;
  width: 24px;
  height: 24px;
  color: #ff9966;
  border-radius: 5px;
}

.green_box {
  background: #339900;
  width: 24px;
  height: 24px;
  color: #339900;
  border-radius: 5px;
}

.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
  font-family: 'Red Hat Display', sans-serif;
  height: auto;

}

.tab_gapp_dates {
  display: grid;
  grid-template-columns: 100%;
  gap: 10px;
  padding: 10px;
  overflow: hidden;
  overflow-y: scroll;
  max-height: 250px;
}

.tab_gapp_content {
display: flex;
    justify-content: space-between;
    align-items: center;
    background: red;
    border-radius: 5px;
    border: 1px solid #D9D9D9;
    padding: 0px 10px 0px 10px;
}

.tab_gapp_content h5 {
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  color: black;
}

.tab_gapp_content div {
  padding: 10px;
  background: #9FE19D;
  border-radius: 5px;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
}

.tab_title {
  margin-top: 0px;
  margin-bottom: 10px;
  padding-left: 10px;
  text-transform: uppercase;
  font-weight: 300;
}

.tab_title_bar {
  width: 1px;
  height: 0.5px;
  background: #000;
  color: black;
  border-radius: 30px;
  padding: 2px;
  margin-right: 5px;
}


/*Tab Footer Bar*/
.tab_footer_bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.register_interest {
  display: flex;
  flex-direction: column;
}

.register_interest img {
  width: 40px;
}

.register_interest h4 {
  margin-bottom: 0px;
}

.enquire_button_tab button {
  padding: 10px;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  background: rgb(36, 168, 80);
  color: white;
  border: none;
  border-radius: 10px;
}

.enquire_button_tab button:hover {
  border: 1px solid #8B634A;
  background: none;
  color: black;
  cursor: pointer;
}

/*Tabs - Mobile Responsiveness*/

@media (max-width: 500px) {
  .tab_gapp_content h5 {
    font-size: 0.5rem;
    color: black;
  }

  .tab_gapp_content div {
    font-size: 0.5rem;
  }

  .tab button {
    text-align: center;
  }

  .session_legend_keys div {
    justify-content: center;
    text-align: center;
    font-size: 0.8rem;

  }

  .register_interest h4 {
    font-size: 0.7rem;
  }

  .register_interest img {
    margin-top: 0px;
  }

  .enquire_button_tab button {
    font-size: 0.8rem;
  }
}

/*Modal For Video Display*/

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 10000; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}