/* ============== TABLE OF CONTENTS ============== */

/* WEBSITE COMPONENTS
__Hero Text and Heading - Home page
__Introduction
__Youth Training Courses, Adult Training Courses
__Grid Gallery - Youth training courses page, Adult training courses page
__Course page sample
*/

/* =============================================== */

/* || WEBSITE COMPONENTS */

/* ===== Hero text and heading - Home page ===== */

.main__content {
  display: flex;
  justify-content: center;
}

.main__content > .main__content__text {
  display: flex;
  justify-content: center;
}

@media (min-width: 992px) {
  .main__content__text {
    width: 70%;
    margin: 0 2.1875rem;
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }
}

.gp-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);

  grid-column-gap: 32px;
  grid-row-gap: 32px;
}

@media (min-width: 768px) {
  .gp-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
}

.gp-grid img {
  max-width: 100%;
}

/* ===== Contact Us ===== */

.contact {
  margin-bottom: 3rem;
}

.contact__heading {
  text-align: center;
  padding: 0.625rem;
  margin-bottom: 0;
  background-color: #ccc; /* Light Gray */
}

@media (min-width: 992px) {
  .contact__heading {
    font-size: var(--XXLargeFont);
  }
}

@media (min-width: 992px) {
  .contact__main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
}

.contact__main__div {
  text-align: center;
}

.contact__main__div section {
  text-transform: capitalize;
  margin: 0.75rem 0;
}

.contact__main__div > section > h3 {
  font-size: var(--SmallFont);
  font-family: "Fira Sans Bold";
  margin-top: 0.3125rem;
}

.contact__main__div > section > p {
  font-size: var(--SmallFont);
  margin: 0.3125rem 0;
}

@media (min-width: 992px) {
  .contact__main__div {
    width: 30%;
    text-align: left;
    padding: 0.625rem 0 0 5rem;
    margin: 1rem;
  }

  .contact__main__div div {
    margin-top: auto;
    margin-bottom: 0.75rem;
  }

  .contact__div--pd {
    padding: 0.625rem 0;
  }

  .contact__main__div .contact--section {
    margin-top: 2.375rem;
  }
}

.contact__main__div--bg {
  height: 45vh;
  min-height: 400px;
  position: relative;
}

@media (min-width: 768px) and (max-width: 991px) {
  .contact__main__div--bg {
    height: 35vh;
  }
}

@media (min-width: 992px) {
  .contact__main__div--bg {
    width: 34%;
    height: unset;
  }
}

.contact__main__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.contact__main__cta {
  text-align: center;
  color: #fff; /* White */
  background-color: #f98c1e; /* Orange */
  border: 3px solid #fff; /* White */
  border-radius: 30px;
  height: 70%;
  width: 90%;
}

@media (min-width: 992px) {
  .contact__main__cta {
    transform: translate(-25%, 0);
    width: unset;
  }
}

.contact__main__heading {
  font-size: var(--LargeFont);
  font-family: "Fira Sans Bold";
  margin-bottom: -0.3125rem;
  margin-top: 0.3125rem;
}

.contact__main__inner {
  max-width: 85%;
  padding: 1.25rem 0;
  gap: 1.5rem;
}

.contact__icons {
  /* margin: 1.875rem 0; */
  display: flex;
  justify-content: end;
  gap: 0.5rem;
}

@media (min-width: 992px) {
  .contact__icons {
    margin: 0;
  }
}

.contact__icons-a {
  margin: 0.625rem;
  font-size: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3 ease-out;
}

/* @media (min-width: 992px) {
  .contact__icons-a:first-child {
    margin-left: 0;
  }
} */

.contact__footer {
  background-color: #e86424; /* Dark Orange */
  color: #fff; /* White */
  text-align: center;
  padding: 0.625rem 0;
  margin: 0.625rem 0 1.5625rem;
}

@media (min-width: 992px) {
  .contact__footer {
    margin: 0 0 1.5625rem;
  }
}

.contact__footer-p {
  margin: 0.625rem auto;
  width: 80%;
}

@media (min-width: 992px) {
  .contact__footer-p {
    width: 32%;
  }
}

.offer__b-image {
  width: 88px !important;
  position: absolute;
  left: 18%;
  transform: translate(-50%, -104%);
  border-radius: 50% !important;
  border: 2px solid #fff;
}

.offer__b-title {
  font-weight: 700;
  color: #f98c1e;
  /* margin-top: 1rem; */
  /* font-size: 28px; */
  font-size: 24px;
  margin-bottom: 1rem !important;
}

.offer__b-link {
  font-weight: 700;
  color: #f98c1e !important;
  /* margin-bottom: 0.25rem; */
  font-size: 16px;
}

.offer__card {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s;
}

@media (max-width: 767px) {
  .offer__card {
    max-width: 336px;
  }
}

.offer__card:hover {
  /* margin-top: -10px; */
  transform: translateY(-10px);
}

/* Arrow */

.home__s-heading {
  font-weight: 700;
  color: #f98c1e;
  margin-top: 1rem;
  font-size: 28px;
}

.home__overlay {
  position: absolute;
  top: 0%;
  right: 0%;
  bottom: 0%;
  left: 4%;
  padding: 1.25rem;
  /* background-color: rgba(231, 218, 218, 0.5); */
  width: 360px;
}

@media (min-width: 1201px) {
  .home__overlay {
    top: 20%;
  }
}

.home__overlay-btn {
  background-color: #f98c1e;
  border: 1px solid #f98c1e;
  color: #fff;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;

  transition: all 0.3s ease-out;
}

.home__overlay-btn:hover {
  background-color: #e86424;
  border: 1px solid #e86424;
  color: #fff;
}

.home__overlay-btn:visited {
  color: #fff;
}

.card-img {
  filter: brightness(60%);
  border-radius: 50px;
}

.home__contact-details {
  background-color: #f98c1e;
  color: #fff;
  border-radius: 16px;
  padding: 1rem 2rem;
}

.h1 {
  background-image: url(../img/contact-us-bg.png);
  background-position: center;
  background-size: cover;
}

/* Switch Bootstrap row to a 7‑column CSS grid only on large screens */
@media (min-width: 992px) {
  .seven-col-grid {
    display: grid !important;
    /* Cards expand (1fr), arrows stay narrow (80px) */
    grid-template-columns: 1fr 80px 1fr 80px 1fr 80px 1fr;
    align-items: start;
  }
}

.seven__i-box {
  border-radius: 50%;
  background-color: #f98c1e;
  color: white;
  font-size: 28px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.seven__arrow-img {
  max-width: 64px;
  width: 100%;
  display: block;
  margin-inline: auto; /* centers the image in its 80px column */
}

/* --- Large screens: keep your 7‑column curved-arrow layout --- */
@media (min-width: 992px) {
  .seven-col-grid {
    display: grid !important;
    grid-template-columns: 1fr 80px 1fr 80px 1fr 80px 1fr;
    /* gap: 1.5rem; */
    align-items: start;
  }

  /* Show curved arrow images */
  .seven__arrow-img {
    display: block;
    max-width: 80px;
    margin-inline: auto;
  }

  /* Hide vertical dotted arrow on desktop */
  .seven__arrow-vertical {
    display: none;
  }
}

/* --- Small & medium screens: vertical stacked layout --- */
@media (max-width: 991px) {
  /* Stack vertically */
  .seven-col-grid {
    display: block !important;
  }

  /* Hide curved arrows */
  .seven__arrow-img {
    display: none;
  }

  /* Show dotted vertical arrow */
  .seven__arrow-vertical {
    display: block;
    width: 2px;
    height: 40px;
    margin: 1rem auto;
    background-image: linear-gradient(#999 33%, rgba(255, 255, 255, 0) 0%);
    background-position: right;
    background-size: 2px 8px;
    background-repeat: repeat-y;
  }

  /* Card spacing on mobile */
  .seven-col-grid > .col {
    margin-bottom: 2rem;
    max-width: 336px;
    margin: auto;
  }
}

/* Icon circle (your original) */
.seven__i-box {
  border-radius: 50%;
  background-color: #f98c1e;
  color: white;
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.subtle-curves-bg {
  position: relative;
  height: 900px;
  background: #f7f7f7;
  overflow: hidden;
}

/* Multiple thin curved lines */
.subtle-curves-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
        circle at 50% 120%,
        rgba(0, 0, 0, 0.06) 0%,
        rgba(0, 0, 0, 0) 60%
      )
      0 0 / 180% 60% no-repeat,
    radial-gradient(
        circle at 50% 140%,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0) 60%
      )
      0 200px / 200% 60% no-repeat,
    radial-gradient(
        circle at 50% 160%,
        rgba(0, 0, 0, 0.04) 0%,
        rgba(0, 0, 0, 0) 60%
      )
      0 400px / 220% 60% no-repeat,
    radial-gradient(
        circle at 50% 180%,
        rgba(0, 0, 0, 0.03) 0%,
        rgba(0, 0, 0, 0) 60%
      )
      0 600px / 240% 60% no-repeat;
}

.home__card {
  max-width: 520px;
  margin: auto;
}

@media (min-width: 992px) {
  .home__card {
    max-width: unset;
  }
}

.p-c-img {
  filter: brightness(60%);
  border-radius: 25px;
}

@media (min-width: 992px) {
  .p-c-img {
    border-radius: 50px;
  }
}

.header__icon--cta {
  margin-right: 0;
}

header p {
  margin-bottom: 0;
}

/* Container for all three columns */
.lozenge-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap; /* mobile support */
  margin: 40px 0;
}

/* Individual orange lozenges */
.lozenge {
  background-color: #f49325; /* orange */
  color: #fff;
  padding: 25px 30px;
  border-radius: 25px; /* lozenge shape */
  flex: 1;
  min-width: 260px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* Hover effect */
/* .lozenge:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
} */

/* Headings */
.lozenge h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.3rem;
  font-weight: 700;
}

/* Paragraphs */
.lozenge p {
  margin: 0;
  line-height: 1.5;
}

/* Facebook button */
.fb-link {
  display: inline-block;
  margin-top: 15px;
  background: #fff;
  color: #f49325;
  padding: 10px 18px;
  border-radius: 20px;
  font-weight: bold;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.fb-link:hover {
  background: #ffe1c3;
  color: #cc6d00;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .lozenge-container {
    flex-direction: column;
  }
}
