@font-face {
  font-family: HeliosExt;
  src: url(./font//HeliosExt.otf);
}

@font-face {
  font-family: HeliosExtBold;
  src: url(./font//HeliosExt-Bold.otf);
}

@font-face {
  font-family: HeliosExtItalics;
  src: url(./font//HeliosExt-Italic.otf);
}

@font-face {
  font-family: HeliosExtBoldItalics;
  src: url(./font//HeliosExt-Bold-Italic.otf);
}

:root {
  --primary-1: #5d240e;
  --primary-1-hover: #8f5450;
  --primary-1-hover-light: #E7DAD5;
  --tertiary-1: #00c5d0;
  --tertiary-1-hover: #4de6ee;
  --primary-2: #FBF2C0;
  --dark-1: #5d240e;
  --bg-1: #24201D;
  --bg-2: #191919;
  --secondary-1: #e99a2aea;
  --secondary-1-hover: #ffd395ea;
  --text-1: #F5F1EE;
  --text-2: #D3C8BA;
}

body {
  font-family: "Manrope", sans-serif !important;
  font-size: 22px;
  padding: 0;
  margin: 0;
  background-color: #f7f7f7;
  color: #333;
  line-height: 1.5;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

footer {
  background: #35424a;
  color: #ffffff;
  text-align: center;
  padding: 10px;
}

.content-wrapper {
  max-width: 1280px;
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  /* This keeps the overlay within the .hero bounds */
  min-height: 30vh;
  background-size: cover;
  background-position: center;
  background-image: url(img/hero-bg.jpg);
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.hero>* {
  position: relative;
  z-index: 2;
  /* ensures hero content appears above the overlay */
}


.hero h1 {
  font-family: "HeliosExtBold", sans-serif;

  font-size: 4em;
  font-weight: bold;
  color: var(--primary-2);

  @media (max-width: 768px) {
    font-size: 2em;

  }
}

.hero h2 {
  line-height: 1.5em;
  font-size: 2.5em;
  color: #F5F1EE;
  /* text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
    0 0 30px rgba(255, 255, 255, 0.4); */

  @media (max-width: 768px) {
    font-size: 1.5em;
  }
}

.hero-img {
  width: 100%;
  height: auto;
  transform: scaleX(-1);

}

.hero-full-vh {
  min-height: 90vh;
  height: 90vh;
  position: relative;
  background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-full-vh .content-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.video-overview {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(img/mountain.jpg);
  background-position: center top -500px;
    background-size: cover;

}

.programme-speakers {
  background-color: var(--bg-1);
  padding: 24px;
}

.programme-speakers h2 {
  color: var(--text-2);
  font-family: "HeliosExtBold", sans-serif;
}



.about-the-programme {
  background-color: var(--text-1);
  padding: 24px;
}

.about-the-programme h2 {
  color: var(--primary-1);
  padding: 24px 0;
}

.about-the-programme p {
  font-size: 1.2em;
  line-height: 1.5em;
  color: var(--primary-1);
  text-align: justify;
}

.highlight-text {
  color: var(--primary-2);
}

.what-is-clear-leadership {
  background-color: #F5F1EE;
  padding: 24px;
}

.what-is-clear-leadership h2 {
  color: var(--primary-1);
}

.what-is-clear-leadership h3 {
  color: var(--primary-1);
}

.cards {
  display: flex;
}

.summary-details__card:hover {
  background-color: var(--primary-1-hover-light) !important;
}

.info-card {
  background-color: var(--text-2) !important;
  padding: 16px;
  margin: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100%;           /* allow flex to stretch */
  min-height: 380px;      /* or whatever minimum you want */
  max-height: 420px;      /* optional: set a max if you want */
  display: flex;
  flex-direction: column;

}

.info-card:hover {
  box-shadow: 0 0 1px #333;
  border: solid 1px var(--primary-1-hover);
  background-color: var(--primary-1-hover-light) !important;

}

.info-card__header {
  display: flex;
  align-items: start;
  gap: 12px;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 1.2em;
}

.info-card__header img {
  margin-top: 4px;
}

.summary-details p {
  color: #212529;
  font-size: 1em;
  line-height: 1.5;
  font-weight: 500;
  margin: 0;
}

.card-text {
  font-style: italic;
}

.card-image {
  width: 200px;
  border-radius: 100%;
  height: 200px;
  object-fit: cover;
}

.enrol-programme {
  background: linear-gradient(to right, #b23d58, var(--dark-1));

  text-align: center;
}

form {
  background-color: #303345;
  border-radius: 1em;
}

.nav-item {
  width: 50%;
}

.nav-link {
  width: 100%;
  background-color: #303345 !important;
  color: white !important;
  border: none !important;
  padding: 20px !important;
  font-size: 1.2em !important;
  font-weight: 600 !important;
}

.nav-link.active {
  background-color: #15172b !important;
  color: white !important;
  border: none !important;
}

#brochure-tab {
  border-radius: 1em 1em 0 0;
}

#brochure-tab .active {
  background-color: red;
}

#enquire-tab {
  border-radius: 1em 1em 0 0;
}

#myTabContent {
  padding: 24px;
  background-color: #15172b;
  border-radius: 0 0 1em 1em;
  height: 540px;
}

button .nav-link .active {
  background-color: red !important;
}

.form-group {
  color: white;
  margin-bottom: 16px;
}

.form-group label {
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  background-color: #303345;
  border-color: #303345;
  padding: 12px;
  color: white;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #55556a;
}

.btn-primary {
  background-color: var(--primary-1) !important;
  color: white;
  border: none;
  padding: 12px 24px !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  border: none !important;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--primary-1-hover) !important;
}


.btn-cta {
   font-family: "HeliosExt", "Manrope", sans-serif !important;
   padding: 12px 24px !important;
}

@media (min-width: 768px) {
  .btn-cta {
  font-size: 1.2em !important;
  padding: 24px 32px !important;
  }
}


.btn-cta:hover {
  background-color: var(--primary-1-hover) !important;
}

.btn-secondary {
  background-color: var(--secondary-1) !important;
  border: none;
  padding: 12px 24px !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  border: none !important;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: var(--secondary-1-hover) !important;
}

section h2 {
  font-family: "HeliosExtBold", "Manrope", sans-serif;
  color: var(--text-1);
  margin-bottom: 16px;
}

/* Tablet and above overrides */
@media (min-width: 768px) {
  section h2 {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 24px;
  }
}

section h3 {
  font-family: "HeliosExtBold", "Manrope", sans-serif;
  font-size: 1.5em;
  margin-bottom: 24px;
  color: var(--text-1)
}

section h4 {
  font-family: "HeliosExtBold", "Manrope", sans-serif;
}

.enrol-programme {
  color: white;
}

footer {
  background: var(--dark-1);
}

footer span {
  text-align: start;
  padding: 0 12px;
  margin: 0;
}

.img-fluid {
  max-width: 200px;
  max-height: 200px;
}


.image-wrapper {
  position: absolute;
  /* right: 5%; Moves image outside the box */
  /* top: 50%; */
  transform: translateY(-50%);
  max-width: 60%;
}

.image-wrapper img {
  height: 400px;
}

/* @media (max-width: 1440px) { */
@media (max-width: 2440px) {
  .image-wrapper {
    position: relative;
    /* Keeps it inside on small screens */
    right: 0;
    transform: none;
    max-width: 100%;
    margin-top: 1rem;
  }

  .image-wrapper img {
    max-width: 100%;
    height: auto;
  }
}

.blue-box {
  background-image: url("img/who-should-apply-grain.png");
  background-size: cover;
  color: blue;
  border-radius: 40px;
  position: relative;
  /* Needed for the absolute image */
  color: white;
  /* Ensures text remains readable */
}

.who-should-apply {
  position: relative;
  /* padding: 40px; */
  /* background-color: var(--text-1); */
  background-color: var(--bg-1);
  color: white;
  /* text-align: center; */

}

/* tab style  */
.camp-schedule {
  position: relative;
  background-color: white;
  padding: 40px;
  background-image: linear-gradient(rgba(255, 255, 255, 0.7),
      rgba(255, 255, 255, 0.7)),
    url("/img/a-day-in-a-life-bg.png");
  background-size: cover;
  background-position: center;

  h6 {
    margin: 0;
  }

  .tabs {
    font-family: HeliosExtBold;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    margin-bottom: 24px;
    gap: 12px;
  }

  .tab {
    padding: 12px 24px;
    border: 2px solid var(--tertiary-1);
    border-radius: 40px;

    @media (max-width: 768px) {
      font-size: 12px;
    }
  }

  .tab:hover {
    background-color: var(--tertiary-1-hover);
    color: white;
  }

  .tab.active {
    background-color: var(--tertiary-1);
    color: white;
  }

  .camp-schedule-tab-content {
    display: none;
  }

  .camp-schedule-tab-content.active {
    display: block;
  }

  .time {
    font-family: HeliosExtBold;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    padding: 20px;
    border: 3px solid var(--primary-1);
    background-color: var(--primary-1-hover-light);
    border-radius: 16px;
  }

  .time:hover {
    background-color: #ffd2a8;
  }

  .inactive {
    color: gray;
    opacity: 0.5;
  }

  .time-content {
    display: none;
    height: 100%;
    font-family: HeliosExtBold;
    font-size: 18px;

    padding: 24px 40px;
    border: 3px solid black;
    border-radius: 16px;
    background-color: var(--primary-1);
  }

  .time-content.active {
    display: block;
  }
}

.carousal {
  /* background-image: url(img/Banner\ background.png); */
  background-image: linear-gradient(rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.5)),
    url("img/Banner\ background.png");
  background-size: cover;
}

.carousel-inner {}

/* TESTIMONIAL CAROUSAL */
.testimonial-content {
  /* max-width: 800px; */
  margin: auto;
}


.quote-icon {
  width: 40px;
  height: auto;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  /* filter: invert(1); */
  /* Turns white arrows black */
}

/* FAQ ACCORDION */

/* Accordion button when collapsed */
.accordion-button {
  color: #000 !important;
}

/* Accordion button when expanded (active state) */
.accordion-button:not(.collapsed) {
  background-color: var(--primary-1) !important;
}

.accordion-button:hover {
  background-color: var(--primary-1-hover-light) !important;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.video-player {
  width: 100%;
  display: block;
}

.control-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 20px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease-in-out, opacity 0.3s;
}

.control-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.video-container.playing .control-btn {
  opacity: 0;
}

.video-container.paused .control-btn {
  opacity: 1;
}

.quote {
  background-image: linear-gradient(rgba(0, 0, 0, 0.0),
      rgba(0, 0, 0, 0.0)),
    url("img/Banner\ background\ 2.png");
  background-size: cover;
  text-align: center;
  /* padding: 24px 48px; */
  color: var(--text-1);
  

  h3 {
    padding: 0;
    margin: 0;
    max-width: 900px;
    margin: auto;
  }
}

.card-image-large {
  width: 300px;
  height: 300px;
  border-radius: 100%;
  object-fit: cover;
}

.surplus {
  padding: 24px;
  color: var(--text-1);
}

