:root {
  --dark: #0a1634;
  --primary: #162242;
  --secondary-dark: #a79866;
  --secondary: #a69766;
  --beige: #f6f5ef;
  --white: #ffffff;
}

@font-face {
  font-family: "gotham";
  src: url("../fonts/Gotham-Bold.otf") format("opentype");
  font-weight: 700;
}

@font-face {
  font-family: "gotham";
  src: url("../fonts/Gotham-Book.otf") format("opentype");
  font-weight: 400;
}

@font-face {
  font-family: "gotham";
  src: url("../fonts/Gotham-Medium.otf") format("opentype");
  font-weight: 500;
}

@font-face {
  font-family: "minion-pro";
  src: url("../fonts/MinionPro-Regular.otf") format("opentype");
  font-weight: 400;
}

@font-face {
  font-family: "requiem-text";
  src: url("../fonts/RequiemText-Roman.otf") format("opentype");
  font-weight: 400;
}

@font-face {
  font-family: "bembo-monotype";
  src: url("../fonts/Monotype-BemboMTPro-Italic.otf") format("opentype");
  font-weight: 500;
}

@font-face {
  font-family: "monotype";
  src: url("../fonts/Monotype-BemboMTPro-Regular.otf") format("opentype");
  font-weight: 500;
}

@font-face {
  font-family: "monotype";
  src: url("../fonts/Monotype-BemboMTPro-SemiboldIt.otf") format("opentype");
  font-weight: 500;
}

body {
  font-family: "gotham";
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* -- custom classes */
.text-primary {
  color: var(--primary) !important;
}
.text-secondary {
  color: var(--secondary) !important;
}
.text-beige {
  color: var(--beige);
}
.bg-beige {
  background-color: var(--beige);
}
.bg-primary {
  background-color: var(--primary) !important;
}
.bg-secondary {
  background-color: var(--secondary) !important;
}
.bg-secondary-dark {
  background-color: var(--secondary-dark) !important;
}
.bg-dark {
  background-color: var(--dark) !important;
}
.bg-lobby {
  background: url(../images/lobby-view-v2.jpg);
  background-size: cover;
  height: 1100px;
  width: 100%;
  background-repeat: no-repeat;
  background-position: top;
}
.f-requiem {
  font-family: "requiem-text";
}

.f-bembo-monotype {
  font-family: "bembo-monotype";
}
.fw-medium {
  font-weight: 500;
}
hr:not([size]) {
  height: 2px;
  background-color: var(--primary);
}
.balance {
  text-wrap: balance;
}
.wings {
  position: relative;
}

.wings::before {
  content: "";
  background: inherit;
  width: 110vw;
  height: 100%;
  position: absolute;
  z-index: -1;
  top: 0;
  left: -8%;
}

.f-2rem {
  font-size: 2rem;
}
.f-3rem {
  font-size: 3rem;
}

.w-fit-con {
  width: fit-content;
}

/* -- slick style  */
.slick-next,
.slick-prev {
  position: absolute;
  top: 35%;
  z-index: 1;
  scale: 0.8;
}

.slick-next {
  right: 10px;
}

.slick-rev {
  left: 10px;
}

.slick-prev:before,
.slick-next:before {
  content: url("../images/right.png");
  color: var(--secondary);
  opacity: 1 !important;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.slick-prev:before {
  content: url("../images/left.png");
}

/* -- banner section */
.banner-container {
  position: relative;
  height: 87vh;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  z-index: 0;
}

@media only screen and (max-width: 768px) {
  .bg-video {
    object-fit: contain;
    display: block;
  }
  video.bg-video {
    position: relative;
  }
}

@media(max-width: 1000px) {
  .banner-container {
    height: 54vh;
  }
}

.logo-overlay {
  position: absolute;
  top: 0rem;
  left: 3rem;
  width: 190px;
  z-index: 1;
}

@media (max-width: 768px) {
  .banner-container {
    height: auto;
  }

  .logo-overlay {
    width: 80px;
    top: 0rem;
    left: 1rem;
  }
}

/* -- legacy excellence section */
.legacy-wrapper {
  background-color: white;
  padding: 4vw;
}

.legacy-image-container {
  background: url("../images/sec-two-bg.jpg") no-repeat center center;
  background-size: cover;
  position: relative;
  min-height: 90vh;
}

.legacy-overlay-box {
  position: absolute;
  top: 0;
  left: 5rem;
  max-width: 535px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
}

.legacy-overlay-logo {
  padding: 1rem;
  text-align: center;
}

.legacy-overlay-logo img {
  max-width: 113px;
}

.legacy-overlay-body {
  padding: 1rem 3rem;
  position: relative;
}

.legacy-overlay-body h4 {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 300;
}

.yellow-strip {
  width: 50%;
  height: 4px;
  background-color: #fdc800;
  border: none;
}
.legacy-mobile-image {
  display: none;
  text-align: center;
}

.legacy-mobile-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

@media (max-width: 767.98px) {
  .legacy-wrapper {
    padding: 0;
  }

  .legacy-image-container {
    position: relative;
    height: auto;
    border-radius: 0;
    background: none;
  }

  .legacy-overlay-box {
    position: static;
    max-width: 100%;
  }

  .legacy-mobile-image {
    display: block;
  }

  .legacy-overlay-logo img {
    max-width: 85px;
  }

  .legacy-overlay-body {
    padding: 1rem 2rem;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
  }
}

/* -- harrow values */
.harrow-values-section {
  position: relative;
  overflow: hidden;
}

.light-yellow-bg {
  background-color: #f9f8ed;
  position: absolute;
  left: 0;
  height: 320px;
  width: 100%;
  z-index: 0;
}

.harrow-values-content {
  position: relative;
  z-index: 2;
  padding: 4vw;
}

.values-image {
  height: 100%;
  object-fit: cover;
}

.value-item {
  margin-bottom: 2.5rem;
}

.value-heading {
  color: var(--primary);
  font-size: 2rem;
  font-family: "requiem-text";
}

.value-subtext {
  font-weight: bold;
  color: var(--secondary);
  letter-spacing: 0.04em;
}

.value-underline {
  width: 15%;
  height: 2px;
  background-color: var(--secondary);
  margin-top: 0.5rem;
}

.text-top {
  margin-bottom: 100px;
}

.values-content-div {
  padding-left: 50px;
}

.values-container {
  position: relative;
}

.values-content-wrapper {
  position: absolute;
  top: 2rem;
}

.values-sec-img img {
  width: 300px;
}

.harrow-values-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.haroow-values-sub-text {
  font-size: 2rem;
}

@media (max-width: 768px) {
  .image-column {
    order: 2;
    margin: 1.5rem 0 2rem 0;
  }

  .text-top {
    order: 1;
    margin-bottom: 0px;
    /* padding: 41px 27px 0px 16px; */
  }

  .text-bottom {
    order: 3;
    /* padding: 0 18px; */
  }

  .value-item {
    margin-bottom: 2rem;
  }

  .values-content-div {
    /* padding: unset; */
    /* padding-left: 12px; */
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
  }

  .harrow-values-content {
    padding: 0;
  }

  .harrow-values-title {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .haroow-values-sub-text {
    font-size: 1.5rem;
  }

  .value-heading {
    font-size: 1.5rem;
  }

  .value-subtext {
    font-size: 0.9rem;
  }
}

/* -- football player image */
.football-player-img {
  padding: 4vw;
}

@media (max-width: 768px) {
  .football-player-img {
    padding: 0px;
  }
}

/* -- giants of old */
.giants-of-old {
  position: relative;
  padding: 4rem 4vw;
  overflow: hidden;
}

.giants-of-old-bg {
  background-color: #f9f8ed;
  position: absolute;
  top: 0;
  left: 0;
  height: 70%;
  width: 100%;
  z-index: 0;
}

.giants-of-old-content {
  color: white;
  padding: 3rem 5rem;
  position: relative;
  z-index: 1;
  width: 100%;
}

.giants-of-old-title {
  font-size: 1.8rem;
  color: white;
}

.giants-of-old-title-strip {
  width: 70%;
  height: 2px;
  background-color: var(--secondary);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.giants-of-old-para {
  width: 60%;
}

@media (max-width: 950px) {
  .giants-of-old-para {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .giants-of-old-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .giants-of-old-content {
    padding: 3rem 2rem;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
  }

  .giants-of-old {
    padding: 0;
  }
}

/* -- executive principal */
.executive-principal {
  padding: 0;
  overflow: hidden;
}

.executive-principal-content {
  color: white;
  padding: 4rem 4vw;
  z-index: 1;
  width: 100%;
  margin-bottom: 100px;
}

.executive-principal-title {
  font-size: 2rem;
  color: white;
}

.executive-principal-title-strip {
  width: 70%;
  height: 2px;
  background-color: var(--secondary);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.executive-principal-image img {
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
  height: auto;
  max-height: 500px;
}

.executive-principal-description p {
  font-size: 1rem;
  line-height: 1.8;
  color: white;
}

.exec-princi-desc-wrapper {
  padding: 6vw 8vw;
}

@media (max-width: 900px) {
  .exec-princi-desc-wrapper {
    padding: 3vw;
  }
}

@media (max-width: 768px) {
  .exec-princi-desc-wrapper {
    padding: 0px 37px;
  }
}

@media (max-width: 950px) {
  .executive-principal-content {
    padding: 2rem 4vw;
    margin-bottom: 50px;
  }

  .executive-principal-image img {
    max-height: 400px;
    object-fit: cover;
    object-position: top;
  }

  .executive-principal-description {
    margin-top: 1rem;
  }

  .executive-principal-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .executive-principal-content {
    padding: 2rem 3vw;
    margin-bottom: 30px;
  }

  .executive-principal-image img {
    max-height: 370px;
    object-fit: cover;
    object-position: top;
  }

  .executive-principal-title {
    font-size: 1.4rem;
  }
}

truncate-text p {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 9em;
}

.read-more-btn {
  background: none;
  color: var(--secondary);
  border: none;
  padding: 0;
  font-weight: bold;
  cursor: pointer;
  margin-top: 0.5rem;
}

/* Modal styles */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.show {
  display: flex;
}

.modal-content {
  background: #fff;
  color: #000;
  padding: 2rem;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-content h3 {
  margin-top: 0;
}

.modal-body {
  font-size: 1rem;
  line-height: 1.7;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #ffffff;
}

/* -- our team */

.out-team-title-strip {
  width: 100%;
  height: 2px;
  background-color: var(--secondary);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.team-member-card {
  max-width: 400px;
}

.team-member-card img {
  width: 100%;
  height: auto;
}

.our-team-slider .team-cards-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.team-member-content {
  height: 170px;
  max-height: 170px;
  overflow-y: auto;
}

.team-member-content::-webkit-scrollbar {
  width: 8px;
}

.team-member-content::-webkit-scrollbar-track {
  background: var(--primary);
}

.team-member-content::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 30px;
  border: 2px solid #2c2f3a;
}

.team-member-content::-webkit-scrollbar-thumb:hover {
  background-color: #aaa;
}

/* Mobile: only show 1 card per slide */
@media (max-width: 768px) {
  .our-team-slider .team-cards-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
}

/* -- tuition fees */
.tuition-fees-title-strip {
  width: 40%;
  height: 2px;
  background-color: var(--secondary);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.tuition-fees-table th,
.tuition-fees-table td {
  vertical-align: middle;
  padding-left: 30px;
  font-weight: 500;
}

.tuition-fees-table tr {
  border: transparent;
}

@media (max-width: 768px) {
  .tuition-fees-section {
    /* padding-left: 1rem;
    padding-right: 1rem; */
  }

  .tuition-fees-table td,
  .tuition-fees-table th {
    padding: 0.75rem 0.5rem;
  }
}

/*
.tution-fees-wrapper {
  padding: 4vw 9vw;
} */
/* -- giant section  */

section.giant {
  font-family: "Times New Roman", Times, serif;
}

section.giant h2 {
  font-family: "requiem-text";
}

.giant hr {
  opacity: 1;
  height: 1px;
}

.giant figure {
  position: relative;
  margin-bottom: 0;
  color: var(--white);
}

.giant figcaption {
  position: absolute;
  bottom: 0;
  margin-left: 10px;
  margin-bottom: 10px;
  text-shadow: 0 5px 3px black;
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-size: 14px;
}

.giant-footer {
  background-color: var(--secondary);
  color: var(--white);
  text-align: center;
  padding: 15px;
  text-transform: uppercase;
  font-family: "gotham";
  font-weight: 500;
}

section.giant p {
  font-style: italic;
  text-align: center;
  margin-top: 1rem !important;
}

.giant-slider {
  width: 250px;
}

section.giant .col-md-4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  margin-top: 20px;
}

@media only screen and (min-width: 768px) {
  section.giant .col-md-4 {
    padding-right: 3rem !important;
    padding-left: 3rem !important;
  }
}

/* -- education  */

.education hr {
  width: 30%;
  opacity: 1;
  background-color: var(--secondary);
}

/* -- facilities */
.facilities hr {
  width: 20%;
  opacity: 1;
  background-color: var(--secondary);
}

.facilities p {
  text-wrap: balance;
}
@media only screen and (min-width: 768px) {
  .facilities p {
    width: 70%;
  }
}

/* -- footer  */

footer #logo {
  position: relative;
}

footer #logo::after {
  content: "";
  height: 100%;
  width: 1.5px;
  background-color: var(--secondary);
  z-index: 1;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}
@media only screen and (max-width: 1200px) {
  footer #logo::after {
    display: none;
  }
}

footer p {
  font-size: 0.9rem;
}

footer a {
  display: inline-block;
  text-decoration-line: none;
  color: white;
}

footer a:hover {
  color: var(--secondary);
}
