/* Fonts import */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&family=Public+Sans:wght@300;400;700&display=swap");

:root {
  --background: #f2f1f7;
  --background-dark: #3c3b3b;
  --background-table: #fcfcfc;
  --color-gold: #e5c37b;
  --color-gold-hover: #c0963a;
  --link-color--light: #fff;
  --link-color--dark: #000;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

a,
a:link,
a:visited {
  text-decoration: none;
  color: var(--link-color-dark);
}

a.hero-cta-button,
a.reservation-button {
  color: var(--link-color--light);
  letter-spacing: 1.5px;
}

.nav {
  position: relative;
  width: 100%;
  margin-bottom: 50px;
  border-bottom: 1px solid var(--color-gold);
  padding: 10px 20px;
}
.nav-desktop {
  display: none;
}
.navbar-desktop {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.desktop-menu-items {
  display: flex;
  list-style: none;
}
ul.desktop-menu-items > li::before {
  content: "";
  margin-left: 20px;
}
.desktop-menu-item.social-media-icons > a > i:last-child {
  margin-left: 20px;
}
.desktop-menu-item-link {
  transition-duration: 0.25s;
}
.desktop-menu-item-link:hover {
  color: var(--color-gold);
}
.navbar-mobile {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.mobile-menu-open-btn {
  display: flex;
  align-items: center;
  font-size: 20px;
}
.mobile-menu-close-btn {
  position: relative;
  top: 20px;
  left: 20px;
  font-size: 36px;
  background: none;
  border: none;
}
.navbar-mobile > .nav-menu {
  position: absolute;
  display: none;
  background-color: var(--color-gold-hover);
  width: 100vw;
  height: 100dvh;
  left: 0;
  top: 0;
  z-index: 1;
}
.navbar-mobile > .nav-menu > ul {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 34px;
  list-style: none;
}
.navbar-brand {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 400;
}
.navbar-brand > .nabvar-brand-ceond-row {
  font-weight: 700;
}
.wrapper {
  font-weight: 300;
  font-family: "Poppins", sans-serif;
  font-family: "Public Sans", sans-serif;
  overflow: hidden;
}
.header-container {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  /* height: 100dvh; */
  padding: 0 20px;
  /* background-color: red; */
}
.hero-text-container {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  margin-top: 25px;
}
.header-container p {
  max-width: 900px;
}
.hero-box {
    width: 100%;
    display: flex;
    align-items: baseline;
    gap: 20px;
}
.logo-image {
    max-width: 125px;
    border: 5px solid var(--color-gold);
}

@media screen and (max-width: 430px) {
  .hero-box {
    align-items: flex-end;
    margin-bottom: 20px;
  }
  .logo-image {
    max-width: 100px;
  }
}

.hero-text {
  margin-top: 30px;
}
.hero-title {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 600;
}
.hero-title > span {
  color: var(--color-gold);
}
.hero-button-container {
  margin-top: 75px;
}
.hero-cta-button,
.reservation-button {
  max-width: 270px;
  padding: 15px 30px;
  background-color: var(--color-gold);
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  transition-duration: 0.25s;
}
.hero-cta-button:hover,
.reservation-button:hover {
  background-color: var(--color-gold-hover);
}
.hero-image-container {
  position: relative;
}
.hero-image-container:hover .profile-image {
  scale: 1.3;
}
.hero-image-overflow {
  overflow: hidden;
}
.profile-image {
  width: 250px;
  transition-duration: 0.5s;
}
.hero-image-container::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -7px;
  width: 100px;
  border-top: 14px solid var(--color-gold);
  border-left: 14px solid var(--color-gold);
  height: 100px;
  transition-duration: 0.4s;
  z-index: 10;
}
.hero-image-container::after {
  content: "";
  position: absolute;
  bottom: -4px;
  right: -7px;
  width: 100px;
  border-bottom: 14px solid var(--color-gold);
  border-right: 14px solid var(--color-gold);
  height: 100px;
}
.section {
  margin-top: 125px;
  padding: 10px 20px 10px;
  width: 100%;
}
.section-dark {
  background-color: var(--background-dark);
  color: #fff;
}
.section-content {
  width: 100%;
}
h2.section-title-contianer {
  text-align: center;
  margin-bottom: 75px;
}
.section-title {
  position: relative;
  z-index: 1;
  font-size: 40px;
  font-weight: 300;
}
.section-title::after {
  position: absolute;
  width: 100%;
  /* left: 0; */
  right: -10px;
  bottom: 10px;
  z-index: -1;
  content: "";
  border: 10px solid var(--color-gold);
}
#my-offer .section-title::before {
  width: 93%;
}
#help .section-title::before {
  width: 70%;
  left: 55px;
}
#payments .section-title::before {
  width: 90%;
  left: 5px;
}
#my-qualifications .section-title::before {
  width: 140%;
  left: -80px;
}
#footer .section-title::before {
  width: 90%;
  left: 0;
}
.footer-copyrights {
  margin-top: 25px;
}
.copyrights-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  padding-bottom: 15px;
  font-size: 14px;
}
.copyrights-text > p {
  text-align: center;
}
.copyrights-text a {
  color: #fff;
}
.copyrights-text a:hover {
  color: #cecece;
}

.tables-row {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.table {
  position: relative;
  width: 100%;
  /* border: 2px solid var(--color-gold);
  background-color: var(--background-table); */
}
.table-title {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 75px;
  padding-right: 10px;
  /* background-color: var(--color-gold); */
  font-size: 20px;
  text-transform: uppercase;
}
.table-title-years {
  padding-right: 7px;
  margin-right: 10px;
  margin-left: 10px;
  font-size: 40px;
  font-weight: 200;
  color: var(--color-gold);
  border-right: 2px solid var(--color-gold);
}
.table-content > p {
  margin: 10px;
}
.table-content ul {
  margin: 30px 10px 30px 25px;
}
.table-content li {
  /* list-style: square; */
  padding-right: 10px;
}

/* Help boxes */
.help-boxes {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.help-box {
  width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 75px;
}
.help-box-icon {
  width: 100px;
  height: 100px;
  background: var(--color-gold);
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.help-box-icon > i {
  font-size: 46px;
}
.help-box-title {
  margin: 45px 0 30px;
  font-size: 24px;
}
/* reservation */
#reservation {
  position: relative;
  left: 0;
  background: url("../images/visit-background.jpg");
  background-size: cover;
  background-position-x: -350px;
  width: 100dvw;
  height: 200px;
  margin-top: 100px;
}
.reservation-content {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
}
a.reservation-button-mobile {
  display: block;
}
a.reservation-button-desktop {
  display: none;
}
/* Payments */
h3.payments-info {
  text-transform: uppercase;
  font-size: 24px;
}
.account-number {
  font-size: 20px;
}

/* Counsels */
.counsel-options {
  margin-top: 70px;
}
.counsel {
  margin-bottom: 50px;
}
.counsel-icon {
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  /* background-color: var(--color-gold);
  border-radius: 100%; */
}
.counsel-icon > i {
  font-size: 75px;
  color: var(--color-gold);
}
.courses {
  margin-bottom: 50px;
}
.courses > h4 {
  font-size: 24px;
  margin-bottom: 15px;
}
.courses > h4 > span {
  color: var(--color-gold);
}
.postgraduate-studies,
.qualifying-courses {
  padding-left: 15px;
}
.certificates-carousel {
  margin-top: 100px;
}
.certificates-carousel > h3 {
  font-size: 40px;
  text-align: center;
  margin-bottom: 25px;
}
/* Footer */
.footer-left-column-title {
  margin-bottom: 50px;
}
.footer-right-column {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 120px;
  margin-top: 100px;
}

.footer-box-link,
.footer-box-link:visited {
  text-decoration: none;
  color: #fff;
}
.footer-content-box {
  margin-bottom: 50px;
}
.footer-box-icon {
  margin-bottom: 5px;
  font-size: 45px;
  color: var(--color-gold);
}
.footer-icon-link > i {
  font-size: 60px;
  color: var(--color-gold);
}
.copyrights-text-divider {
  display: none;
}

@media (min-width: 768px) {
  .footer-right-column {
    margin-top: 0;
  }
  .footer-content {
    display: flex;
    justify-content: space-between;
  }
  .footer-content-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 25px;
  }
  .copyrights-text {
    flex-direction: row;
  }
  .copyrights-text-divider {
    display: inline-block;
  }
  a.reservation-button-mobile {
    display: none;
  }
  a.reservation-button-desktop {
    display: block;
  }
}
@media (min-width: 1024px) {
  .nav-mobile {
    display: none;
  }
  .nav-desktop {
    display: flex;
  }
  .header-container {
    flex-direction: row;
    justify-content: space-around;
  }
  .hero-text {
    margin-top: 0;
  }

  .hero-cta-button {
    margin-top: 50px;
  }
  .profile-image {
    width: 275px;
  }

  .table-title {
    justify-content: flex-start;
  }
  #my-offer .section-title::before {
    width: 95%;
  }
  #help .section-title::before {
    width: 100%;
    left: -10px;
  }
  #payments .section-title::before {
    width: 100%;
    left: -10px;
  }
  #my-qualifications .section-title::before {
    width: 98%;
    left: 0;
  }
  #footer .section-title::before {
    width: 93%;
    left: 0;
  }
  .hidden-on-desktop {
    display: none;
  }
  .help-boxes {
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
  }
  .counsel {
    display: flex;
    justify-content: flex-start;
  }
  .counsel-desc {
    max-width: 750px;
  }
}
@media (min-width: 1440px) {
  .nav {
    margin-bottom: 0;
    padding: 20px 100px 20px;
  }

  .section {
    padding: 40px 165px 0;
  }
  .header-container {
    margin-top: 100px;
  }
  .hero-text {
    max-width: 70%;
  }
  .hero-title {
    flex-direction: row;
    font-size: 36px;
  }
  .hero-title > span {
    padding-left: 5px;
  }
  .hero-image {
    max-width: 30%;
  }
  .profile-image {
    width: 300px;
  }
  .section {
    padding: 10px 165px 10px;
  }
  .section-title {
    font-size: 60px;
  }
  .section-title::before {
    bottom: 10px;
  }

  .table-title {
    font-size: 24px;
    height: 85px;
  }
  #reservation {
    background-position-x: 0;
    height: 300px;
  }
  h3.payments-info {
    text-transform: uppercase;
    font-size: 36px;
  }
  .account-number {
    font-size: 30px;
  }
  .first-session-info {
    font-size: 24px;
    margin-top: 25px;
  }
  .counsel-desc {
    max-width: 900px;
  }
}
@media (min-width: 1650px) {
  .nav {
    margin-bottom: 0;
    padding: 20px 165px 20px;
  }
  .section {
    padding: 50px 225px 0px;
  }
  .profile-image {
    width: 400px;
  }
  section#reservation {
    padding: 0px 225px 0px;
  }
}

/* Generic list style bullet */
ul {
  list-style: none;
}

ul li::before {
  content: "\26AC";
  color: var(--color-gold-hover);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* Menu links hover animation */
.hover-underline-animation {
  display: inline-block;
  position: relative;
  color: #000;
}

.hover-underline-animation::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color-gold);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover {
  color: var(--link-color);
}
.hover-underline-animation:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Go the top button */
#scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  background: none;
  border: none;
  font-size: 45px;
  color: var(--color-gold);
  opacity: 0.5;
  z-index: 1000;
}
#scroll-to-top:hover {
  color: var(--color-gold-hover);
  cursor: pointer;
}

#scroll-to-top.show {
  display: block;
}
