:root {
  --sage-green: #A8BBA8;
  --sand-beige: #DDD0C8;
  --warm-clay: #C2A28A;
  --soft-white: #F7F5F2;
  --deep-brown: #5D4A3D;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: var(--soft-white);
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.section-heading {
  text-align: center;
  font-size: 2rem;
  color: var(--deep-brown);
  margin-bottom: 40px;
  font-weight: 400;
}

/* HERO SECTION */
.yttc-hero-alt {
  background-color: var(--sand-beige);
  padding: 80px 0;
}

.alt-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.alt-layout.flipped {
  flex-direction: row-reverse;
}

.hero-textbox {
  flex: 1;
  min-width: 300px;
}

.hero-textbox h1 {
  color: var(--deep-brown);
  font-size: 2.1rem;
  margin-bottom: 20px;
}

.hero-textbox h2 {
  color: var(--deep-brown);
  font-size: 1.7rem;
  margin-bottom: 20px;
}

.hero-textbox p {
  color: #4c3b32;
  line-height: 1.7;
  margin-bottom: 15px;
}

.hero-textbox blockquote {
  font-style: italic;
  color: var(--warm-clay);
  margin-top: 20px;
  border-left: 4px solid var(--sage-green);
  padding-left: 15px;
}

.h100-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.h100-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.h100-image:hover img {
  transform: rotate(-1deg) scale(1.02);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

/* BENEFITS SECTION */
.benefits-alt {
  background-color: var(--soft-white);
  padding: 80px 0;
}

.benefit-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.benefit-cards .card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  text-align: center;
  padding: 30px 20px;
  transition: transform 0.3s ease;
}

.benefit-cards .card:hover {
  transform: translateY(-5px);
}

.benefit-cards i {
  font-size: 30px;
  color: var(--sage-green);
  margin-bottom: 10px;
}

.benefit-cards h3 {
  color: var(--deep-brown);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.benefit-cards p {
  color: #555;
  font-size: 0.95rem;
}

/* DETAILS SECTION */
.yttc-details-alt {
  background-color: var(--soft-white);
  padding: 80px 0;
}

.program-block {
  background: white;
  padding: 25px 30px;
  border-left: 5px solid var(--sage-green);
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.program-block h3 {
  color: var(--deep-brown);
  margin-bottom: 10px;
}

.program-block p {
  color: #555;
  line-height: 1.6;
}

.certification-banner {
  text-align: center;
  margin-top: 60px;
}

.certification-banner img {
  height: 60px;
  margin-bottom: 15px;
  filter: grayscale(100%);
}

.certification-banner p {
  color: var(--warm-clay);
  font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .alt-layout,
  .alt-layout.flipped {
    flex-direction: column;
  }

  .hero-textbox h2 {
    font-size: 1.6rem;
  }

  .section-heading {
    font-size: 1.5rem;
  }

  .h100-image img {
    width: 100%;
    max-height: 300px;
  }
}
.alt-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.alt-layout.flipped {
  flex-direction: row-reverse;
}

/* Mobile behavior: Stack image first, text second */
@media (max-width: 768px) {
  .alt-layout,
  .alt-layout.flipped {
    flex-direction: column;
  }
}


.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}



/* Show only one video based on screen width */
.desktop-video {
  display: block;
}

.mobile-video {
  display: none;
}

@media (max-width: 768px) {
  .desktop-video {
    display: none;
  }

  .mobile-video {
    display: block;
  }
}
