@font-face {
  font-family: "SourceSansProNew";
  src: url("https://fonts.gstatic.com/s/sourcesanspro/v14/6xKtdSZaM9iE8KbpRA_hA1QNYuDyPw.woff2")
    format("woff2");
}
.academy-page {
  font-family: "Source Sans Pro" !important;
}
.academy-page h1,
.academy-page h2,
.academy-page h3,
.academy-page h4,
.academy-page h5,
.academy-page h6,
.academy-page p,
.academy-page span,
.academy-page div,
.academy-page section {
  font-family: "Source Sans Pro" !important;
}

.academy-page h2 {
  font-size: 56px;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

#main {
  width: 100%;
  padding: 0;
  border: none;
  margin-top: 87px;
}

#user-profile-bottom-wrapper {
  display: none;
}

.academy-page .w3-margin-left-32 {
  margin-left: 32px;
}

.academy-page .link {
  text-decoration: none;
  font-size: 22px;
  font-weight: 400;
  color: rgba(0, 0, 0, 1);
}

.academy-page .first-link {
  font-size: 30px;
  font-weight: 600;
}

.academy-page .active-link {
  text-decoration: underline;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 4px;
}

.academy-page .navigation {
  position: relative;
  width: 100%;
  z-index: 1;
  background-color: rgba(255, 244, 163, 1);
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.4);
}

.academy-page .navigation a:hover,
.academy-page .navigation a:focus,
.academy-page .navigation a:active {
  color: black;
}

.academy-page .container {
  max-width: 1480px;
  margin: 0 auto;
}

.academy-page.accordion-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 90%;
}

.academy-page .bg {
  background: url("../images/students_bg_gradient.svg");
  background-repeat: no-repeat;
  background-size: cover;
}

.academy-page .bg-light-gray {
  background: rgba(245, 247, 250, 1);
}

/*w3 utility*/
.academy-page .w3-font-16 {
  font-size: 16px;
}

.academy-page .w3-font-32 {
  font-size: 32px;
}

.academy-page .w3-font-48 {
  font-size: 48px;
}

.academy-page .w3-font-64 {
  font-size: 64px;
}

.academy-page .w3-padding-x-large {
  padding-left: 32px;
  padding-right: 32px;
}

.academy-page .w3-padding-left-large {
  padding-left: 32px;
}

.academy-page .w3-padding-left-xl {
  padding-left: 65px;
}

.academy-page .w3-padding-y-large {
  padding-top: 96px;
  padding-bottom: 96px;
}

.academy-page .w3-padding-y-xl {
  padding-top: 64px;
  padding-bottom: 64px;
}

.academy-page .w3-text-center {
  text-align: center;
}

/** accordion */
/* Style the buttons that are used to open and close the accordion panel */
.academy-page .accordion {
  background-color: white;
  color: #444;
  cursor: pointer;
  padding: 18px;
  font-size: 20px;
  border: none; /* Ensure no border initially */
  text-align: left;
  outline: none;
  width: 100%;
  margin-top: 16px;
  border-radius: 6px; /* Unified radius */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Initial shadow */
}

.academy-page .active,
.academy-page .accordion:hover {
  background-color: white;
  border-bottom-left-radius: 0; /* Setting to 0 for cleaner transition */
  border-bottom-right-radius: 0;
}

.academy-page .accordion:after {
  font-family: "fontawesome";
  content: "\f054"; /* FontAwesome arrow */
  color: rgba(4, 170, 109, 1);
  font-weight: bold;
  float: right;
  font-size: 16px;
  width: 38px;
  height: 38px;
  padding-left: 14px;
  padding-top: 7.5px;
  border-radius: 50%;
  margin-top: -5px;
}

.academy-page .active:after {
  content: "\f078"; /* Change icon */
  color: white;
  background: rgba(4, 170, 109, 1);
  border-radius: 50%;
  padding-left: 11px;
}

.academy-page .panel {
  padding-right: 36px;
  padding-left: 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  border-radius: 0 0 6px 6px; /* Bottom radius only */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Apply shadow to the panel */
  border: none; /* No border until active */
}

.academy-page .w3-picture {
  max-width: 600px;
  width: 100%;
  height: auto;
  position: relative;

  & .p-1-adjusted {
    float: right;
  }
  & .p-2-adjusted {
    max-width: 500px;
    float: right;
  }
  & .p-3-adjusted {
    float: left;
  }
  & .p-4-adjusted {
    max-width: 500px;
    float: right;
  }
  & .p-5-adjusted {
    margin-top: 50px;
    margin-left: 50px;
    max-width: 400px;
    float: left;
  }
  & .p-6-adjusted {
    float: right;
  }
  & .p-7-adjusted {
    float: left;
  }
  & .p-8-adjusted {
    float: right;
  }
  & .p-9-adjusted {
    float: left;
  }
}

.academy-page .w3-margin-auto {
  margin: 0 auto;
}

.academy-page .w3-margin-top-med {
  margin-top: 48px;
}

.academy-page .w3-margin-top-large {
  margin-top: 64px;
}

.academy-page .w3-margin-top-xl {
  margin-top: 128px;
}

.academy-page .w3-margin-top-neg-large {
  margin-top: calc(-100%);
}

.academy-page .w3-text-bold-600 {
  font-weight: 600;
}

.academy-page .w3-text-bold {
  font-weight: 600;
}

.academy-page h2 {
  font-size: 45px;
}

.academy-page p {
  font-size: 18px;
}

.academy-page .read-more {
  background: rgba(4, 170, 109, 1);
  color: white;
  border-radius: 8px;
  padding: 10px 40px;
  text-decoration: none;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 18px;
  font-weight: 400;

  &:hover {
    color: white;
    text-decoration: none;
    cursor: pointer;
  }
}

.academy-page .student-count {
  margin-right: 10px;
  font-size: 20px;
  color: #6e6e6e;
}

.academy-page .profile-pictures {
  margin-left: 20px;
}

.academy-page .profile-picture {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-left: -30px;
  border: 2px solid white; /* For white border between overlapping images */
}

.academy-page .text-column,
.academy-page .image-column {
  width: 50%; /* Each column takes 50% of the container */
  box-sizing: border-box; /* Includes padding inside the width */
}

.academy-page .responsive-image {
  width: 100%; /* Let the image take full width of its column */
  height: auto; /* Maintain the aspect ratio */
}

.academy-page .desktop-section {
  display: block;
}

.academy-page .mobile-section {
  display: none;
}

.academy-page .heart {
  max-width: 160px;
}

/**Form input */
.academy-page .get-started input[type="text"] {
  padding: 10px;
  font-size: 17px;
  border: none;
  border-right: none;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  float: left;
  width: 40%;
  background: rgba(249, 249, 249, 0.32);
}

.academy-page .get-started input[type="text"]:focus,
.academy-page .get-started input[type="text"]:active {
  outline: 1px solid rgba(4, 170, 109, 1);
  background: rgba(249, 249, 249, 0.32);
}

/* Style the submit button */
.academy-page .get-started a {
  float: left;
  width: 30%;
  padding: 10px;
  background: rgba(4, 170, 109, 1);
  color: white;
  font-size: 17px;
  border: 1px solid rgba(4, 170, 109, 1);
  border-left: none;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  cursor: pointer;
}

.academy-page .get-started a:hover {
  background: rgba(4, 170, 109, 1);
}

/**cards */
.academy-page .s_card {
  width: 23%;
  background-color: white;
  border-radius: 8px;
  margin: 1%;
  padding: 12px;
  float: left;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.academy-page .s_icon {
  font-size: 40px;
  margin: 0;
}

.academy-page .s_card h2 {
  font-size: 18px;
  margin: 0;
}

.academy-page .s_card p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.academy-page .s_card p br {
  display: block;
}

.academy-page .get-started-width {
  width: 60%;
}

/** MEDIA QUERIES */
@media screen and (min-width: 1408px) and (max-width: 1600px) {
  .academy-page .w3-picture {
    max-width: 600px;
    width: 100%;
    height: auto;
    position: relative;

    & .p-1-adjusted {
      float: right;
    }
    & .p-2-adjusted {
      float: right;
    }
    & .p-3-adjusted {
      float: left;
    }
    & .p-4-adjusted {
      max-width: 500px;
      float: right;
    }
    & .p-5-adjusted {
      float: left;
    }
    & .p-6-adjusted {
      float: right;
    }
    & .p-7-adjusted {
      float: left;
    }
    & .p-8-adjusted {
      float: right;
    }
    & .p-9-adjusted {
      float: left;
    }
  }

  .academy-page .get-started-width {
    width: 80%;
  }
}

@media screen and (min-width: 1091px) and (max-width: 1407px) {
  .academy-page .w3-picture {
    max-width: 600px;
    width: 100%;
    height: auto;
    position: relative;

    & .p-1-adjusted {
      float: right;
    }
    & .p-2-adjusted {
      float: right;
    }
    & .p-3-adjusted {
      float: left;
    }
    & .p-4-adjusted {
      max-width: 500px;
      float: right;
    }
    & .p-5-adjusted {
      float: left;
    }
    & .p-6-adjusted {
      float: right;
    }
    & .p-7-adjusted {
      float: left;
    }
    & .p-8-adjusted {
      float: right;
    }
    & .p-9-adjusted {
      float: left;
    }
  }

  .academy-page .get-started-width {
    width: 80%;
  }

  .academy-page .s_card {
    width: 30%;
  }
}

@media screen and (max-width: 1090px) {
  .academy-page .w3-margin-bottom-mobile {
    margin-bottom: 32px;
  }
  /* Style the submit button */
  .academy-page .get-started button {
    width: auto;
  }
  .academy-page .get-started-width {
    width: 100%;
  }
  .academy-page .desktop-section {
    display: none;
  }

  .academy-page .mobile-section {
    display: block;
  }

  .academy-page .m-width-30 {
    width: 30%;
  }

  .academy-page .m-width-50 {
    width: 50%;
  }

  .academy-page .m-width-70 {
    width: 70%;
  }

  /* .academy-page .w3-padding-y-xl {
    padding-top: 64px;
    padding-bottom: 64px;
  } */

  .academy-page .w3-margin-top-neg-large {
    margin-top: -180px;
  }
  .academy-page .w3-half {
    width: 100%;
  }
  .academy-page .w3-picture {
    /* max-width: 500px; */
    width: 100%;
    height: auto;
    position: relative;
    display: block;
    margin: 0 auto;
    margin-bottom: 32px;

    & .p-1-adjusted {
      float: none;
    }
    & .p-2-adjusted {
      margin-top: 32px;
      float: none;
      margin-bottom: 38px;
    }
    & .p-3-adjusted {
      float: none;
      margin-bottom: 28px;
    }
    & .p-4-adjusted {
      margin-top: 32px;
      float: none;
      margin-bottom: 28px;
    }
    & .p-5-adjusted {
      float: none;
      margin: 0 auto;
      margin-bottom: 38px;
    }
    & .p-6-adjusted {
      margin-top: 32px;
      float: none;
      margin-bottom: 28px;
    }
    & .p-7-adjusted {
      margin-bottom: 32px;
      float: none;
    }
    & .p-8-adjusted {
      margin-bottom: 36px;
      max-width: 500px;
      float: none;
    }
    & .p-9-adjusted {
      /* margin-bottom: 22px; */
      max-width: 700px !important;
      float: none;
    }
  }

  .academy-page .icon-container {
    position: absolute;
    top: 0;
    margin-top: 10%;
    width: fit-content;
    right: 20%;
  }

  .academy-page .heart {
    width: fit-content;
    margin-top: 60px;
  }

  .academy-page .hat {
    width: fit-content;
    margin: auto;
    margin-top: 20px;
  }

  .academy-page .cert {
    width: fit-content;
    margin-top: 40px;
    margin-left: 35%;
  }

  .academy-page .s_card {
    width: 30%;
  }

  .academy-page .margin-mobile-none {
    margin: 0px;
  }
}

@media screen and (max-width: 600px) {
  .academy-page .w3-padding-y-xl {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .margin-left-reset-mobile {
    margin-left: 0 !important;
  }

  .margin-top-reset-mobile {
    margin-top: 0 !important;
  }

  .padding-left-reset-mobile {
    padding-left: 0 !important;
  }

  .padding-top-reset-mobile {
    padding-top: 0 !important;
  }

  .margin-left-mobile-32 {
    margin-left: 32px;
  }
  .academy-page .academy-page .text {
    width: 100%;
    font-size: 16px;
  }
  .academy-page .get-started {
    display: none;
  }
  .academy-page .accordion span {
    display: inline-block;
    font-size: 18px;
    width: 85%;
  }
  .academy-page .w3-margin-top-neg-large {
    margin-top: -180px;
  }
  .academy-page .w3-half {
    width: 100%;
  }
  .academy-page .w3-picture {
    width: 100%;
    height: auto;
    position: relative;
    display: block;
    margin: 0 auto;

    & .p-1-adjusted {
      float: none;
    }
    & .p-2-adjusted {
      float: none;
    }
    & .p-3-adjusted {
      float: none;
    }
    & .p-4-adjusted {
      float: none;
    }
    & .p-5-adjusted {
      float: none;
    }
    & .p-6-adjusted {
      float: none;
    }
    & .p-7-adjusted {
      float: none;
    }
    & .p-8-adjusted {
      float: none;
    }
    & .p-9-adjusted {
      float: none;
    }
  }

  .academy-page .heart img {
    width: 80px;
  }

  .academy-page .heart {
    margin-top: 190px;
  }

  .academy-page .hat img {
    width: 60px;
  }

  .academy-page .hat {
    margin-top: 20px;
    margin-left: -40px;
  }

  .academy-page .cert img {
    width: 50px;
  }

  .academy-page .cert {
    width: fit-content;
    margin-top: 40px;
    margin-left: 35%;
  }

  .academy-page .mobile-academy p:first-child {
    font-size: 24px;
  }

  .academy-page .mobile-academy h2 {
    font-size: 32px;
  }

  .academy-page .mobile-academy br {
    display: none;
  }

  .academy-page .icon-container {
    right: 10%;
  }

  .academy-page .s_card {
    margin: 0 auto;
    margin-top: 16px;
    float: none;
    width: 60%;
    text-align: center;
  }

  .academy-page .navigation {
    position: relative;
  }

  .academy-page .navigation a:first-child {
    display: block;
    margin-top: 8px;
  }

  .academy-page .navigation a {
    display: inline-block;
    margin-top: 8px;
  }

  .academy-page h2 {
    font-size: 32px;
  }
}

@media screen and (max-width: 440px) {
  .margin-left-reset-mobile {
    margin-left: 0 !important;
  }

  .margin-top-reset-mobile {
    margin-top: 0 !important;
  }

  .padding-left-reset-mobile {
    padding-left: 0 !important;
  }

  .padding-top-reset-mobile {
    padding-top: 0 !important;
  }

  .academy-page .mobile-academy p {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .academy-page .mobile-academy h2,
  .academy-page .mobile-academy .button-container {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .academy-page p {
    font-size: 16px;
  }
}

.academy-page #user-profile-bottom-wrapper {
  display: none;
}

.academy-page .w3-academy-heading {
  font-size: 40px !important;
  font-weight: 600;
  line-height: 52px;
  font-family: "Source Sans Pro", sans-serif;
}

.academy-page .w3-academy-subcopy {
  font-size: 18px !important;
  font-weight: 400;
  line-height: 27px;
  font-family: "Source Sans Pro", sans-serif;
}

.academy-page .w3-academy-margin-left-32 {
  margin-left: 32px !important;
}

@media screen and (max-width: 1090px) {
  .academy-page .w3-academy-margin-left-32 {
    margin-left: 0 !important;
  }
}

/** Dark mode */

body.darkpagetheme .academy-page h2 {
  color: white !important;
}

body.darkpagetheme .academy-page .boolean_girl {
  background: rgba(45, 55, 72, 1) !important;
}

body.darkpagetheme .academy-page .accordion, body.darkpagetheme .academy-page .panel {
  color: white !important;
  background: rgba(45, 55, 72, 1) !important;
}

/* When darkpagetheme class is on the body, switch the image */
body.darkpagetheme .academy-page .w3-picture.p-1-adjusted {
  content: url("../images/students_1_darkmode.png") !important;
  max-width: 350px;
}
body.darkpagetheme .academy-page .w3-picture.p-2-adjusted {
  content: url("../images/students_2_darkmode.png") !important;
}
body.darkpagetheme .academy-page .w3-picture.p-3-adjusted {
  content: url("../images/students_3_darkmode.png") !important;
}
body.darkpagetheme .academy-page .w3-picture.p-4-adjusted {
  content: url("../images/students_4_darkmode.png") !important;
  /* max-width: 550px !important; */
}
body.darkpagetheme .academy-page .w3-picture.p-5-adjusted {
  content: url("../images/students_5_darkmode.png") !important;
}
body.darkpagetheme .academy-page .w3-picture.p-6-adjusted {
  content: url("../images/students_6_darkmode.png") !important;
  margin-top: 40px !important; 
  max-width: 550px !important;
}
body.darkpagetheme .academy-page .w3-picture.p-7-adjusted {
  content: url("../images/students_7_darkmode.png") !important;
}
/* body.darkpagetheme .academy-page .w3-picture.p-8-adjusted {
  content: url("../images/students_8_darkmode.png") !important;
} */
body.darkpagetheme .academy-page .w3-picture.p-9-adjusted {
  content: url("../images/students_9_darkmode.png") !important;
  max-width: 550px !important;
  margin-top: 80px !important;
}
body.darkpagetheme .academy-page.bg {
  background: url("../images/students_hero_bg_darkmode.svg") !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}
body.darkpagetheme .academy-page .navigation {
  background: rgba(115, 112, 89, 1) !important;
}
body.darkpagetheme .academy-page .navigation a {
  color: white !important;
}
body.darkpagetheme .academy-page .get-started input,
body.darkpagetheme .academy-page .get-started input::placeholder {
  color: white !important;
}
body.darkpagetheme .academy-page.accordion-container {
  margin-top: 60px !important;
}
body.darkpagetheme .academy-page .practice-and-test {
  margin-top: 60px !important;
}
