.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body {
  background-color: #161515;
}

.homepagepic {
  width: 100%;
  height: 100vh;
}

.banner-card {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.background-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 5vw;
}

.main-headline {
  color: #f5f5f5;
  font-size: 320%;
  font-family: "Inter", sans-serif;
  font-weight: 800;
}

.subtext {
  color: #f5f5f5;
  font-size: 150%;
}

.highlight {
  color: #ffd600;
  font-family: "Inter", sans-serif;
  font-weight: 800;
}

.join-button {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  padding: 15px 40px;
  border-radius: 50px;
  border: none;
  background-color: #ffcc00;
  color: black;
  font-weight: 900;
  font-size: 1.2em;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.1s ease;
}

.join-button:hover {
  background-color: #e6b800;
  color: #f5f5f5;
  transform: translateY(-2px);
}

.join-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-text {
  position: absolute;
  top: 25%;
  color: #fff;
  padding: 80px;
}

.banner-text h4 {
  font-size: 60px;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 5px;
  font-family: "Bebas Neue", sans-serif;
}

.banner-text p {
  font-size: 30px;
  font-weight: lighter;
  margin-bottom: 5px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.custom-black-btn {
  background-color: #2f343b;
  color: rgb(196, 196, 196);
  border: 1px solid #242525;
}

.custom-black-btn:hover {
  background-color: #333;
  color: rgb(255, 255, 255);
  border-color: #333;
}

.footer {
  display: flex;
  justify-content: space-around;
  padding: 40px 40px;
  background-color: #1d1c1c;
  color: white;
  flex-wrap: wrap;
  font-family: "Proxima Nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.footer-section {
  /* Footer Start */
  flex: 1;
  min-width: 250px;
  margin: 10px;
}

.footer-section h3 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-section a {
  color: white;
  text-decoration: underline;
}

.footer-section p {
  font-size: 15px;
}

.footer-section em {
  font-style: italic;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  color: white;
  font-size: 24px;
  margin-right: 15px;
  transition: color 0.3s;
} /* Footer End */

.membership h2 {
  /* Membership start */
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.1;
  color: white;
  padding: 4%;
}

.cards-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card:focus-within,
.card:hover {
  transform: translateY(-6px);
  border-color: #ffd600;
  box-shadow: 0 12px 32px rgba(255, 214, 0, 0.7);
  outline: none;
}
/* Card image placeholder */
.card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #333;
}

/* Card content */
.card-content {
  padding: 24px 32px 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background-color: #1d1c1c;
  color: white;
}
/* Card title */
.card-title {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: #ffd600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
/* Section headings inside cards */
.section-heading {
  font-weight: 600;
  color: #fff176;
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

ul.price-list {
  list-style: none;
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 0;
}
ul.price-list li {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 1rem;
  border-bottom: 1px solid #333;
}
ul.price-list li:last-child {
  border: none;
}
/* Membership summary */
.summary {
  font-weight: 600;
  font-size: 0.95rem;
  color: #cccccc;
  padding: 12px 0 0;
  border-top: 1px solid #333;
  margin-top: auto;
}

.price {
  font-weight: 700;
  color: #ffd600;
}
/* Currency symbol consistent style */
.currency {
  font-weight: 700;
}
/* Daily rates flex container */
.daily-rates {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}
.daily-rate {
  background: #333;
  border-radius: 12px;
  padding: 10px 16px;
  width: 48%;
  text-align: center;
  font-weight: 600;
  color: #ffd600;
  user-select: none;
  box-shadow: inset 0 0 6px rgba(255, 214, 0, 0.3);
}

/* Icon in heading */
.material-icons.md-18 {
  font-size: 18px;
  vertical-align: middle;
  margin-right: 6px;
  color: #ffd600;
}
/* Accessibility focus outline for cards */
.card:focus-within {
  outline: 3px solid #ffd600;
  outline-offset: 2px;
}
/* Footer */
footer {
  background: #1f1f1f;
  color: #b9b9b9;
  padding: 24px 16px;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #333;
}
footer a {
  color: #ffd600;
  text-decoration: none;
  font-weight: 600;
}
footer a:hover,
footer a:focus {
  text-decoration: underline;
} /* Membership end */

/* Container and section base */
.instructors {
  padding: 48px 24px;
  background: #161515;
  font-family: "Inter", sans-serif;
  color: #222;
  max-width: 1440px;
  margin: 0 auto;
}
.instructors .container {
  max-width: 1140px;
  margin: 0 auto;
}
/* Section heading */
.instructors h2 {
  font-weight: 800;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.1;
  color: #ffffff;
}
.instructors p {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
  color: #ffffff;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
}

/* Cards container */
.tr-cards {
  display: grid;
  gap: 36px;
}
/* Card styling */
.training-card {
  position: relative;
  overflow: visible;
  cursor: default;
}
.training-card img {
  width: 100%;
  height: auto;
  display: block;
  transform-origin: center bottom;
  /* subtle skew for dynamic effect */
  transform: perspective(500px) rotateX(3deg);
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Card text box partially overlapping the image */
.info {
  background: #f5f5f5;
  padding: 24px 20px 28px;
  border-radius: 8px;
  max-width: 90%;
  position: relative;
  top: -40px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}
.info h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 1.25rem;
}
.info p {
  font-weight: 400;
  font-size: 1rem;
  color: #333;
  line-height: 1.4;
}
.info strong {
  font-weight: 700;
}

/* Responsive layout */
/* Mobile: Single-column */
@media (max-width: 767px) {
  .tr-cards {
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  .info {
    max-width: 100%;
    top: -32px;
    padding: 20px 16px 24px;
  }
}
/* Desktop: 3-column layout */
@media (min-width: 768px) and (max-width: 1439px) {
  .tr-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  .card:nth-child(4) {
    grid-column: span 1;
    /* hide 4th card on desktop as sample uses 4 cards but layout is 3 cols
          or you can show all four in a 4-column. Here we show all four in 4 columns on large desktop */
    display: none;
  }

  /* Adjust top offset on overlap */
  .info {
    top: -48px;
  }
}
/* Large desktop: 4-column wide with max width */
@media (min-width: 1440px) {
  .tr-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
  .training-card {
    display: block;
  }
  .info {
    top: -48px;
    max-width: 90%;
  }
}

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@600;700&display=swap"); /* About */
*,
*::before,
*::after {
  box-sizing: border-box;
}

section.blog {
  max-width: 1200px;
  margin: 48px auto 64px auto;
  padding: 0 24px;
}
/* Heading */
section.blog > h2 {
  font-weight: 200;
  font-size: 45px;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.1;
}
/* Subheading */
section.blog > p.intro {
  font-size: 15px;
  color: #86888a;
  max-width: 720px;
  margin-bottom: 48px;
}

/* Content grid */
section.blog .content-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
/* Image styling */
section.blog .aboutimage-container {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
section.blog .aboutimage-container img {
  width: 100%;
  height: auto;
  display: block;
}
/* Text content */
section.blog .text-content {
  color: #86888a;
  font-size: 18px;
}
section.blog .text-content p {
  margin-bottom: 24px;
}

section.blog .text-content p:last-child {
  margin-bottom: 0;
}
/* Responsive: two columns on desktop */
@media (min-width: 768px) {
  section.blog .content-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 64px;
  }
}

/* END OF WEBSITE CSS */
