﻿:root {
  --green-900: #213c25;
  --green-800: #29472b;
  --green-700: #345532;
  --green-200: #c7d0bd;
  --cream-50: #fbf8ef;
  --cream-100: #f4efe3;
  --ink: #1e271e;
  --muted: #4d554b;
  --card: rgba(255, 255, 250, 0.94);
  --shadow: 0 14px 34px rgba(42, 53, 37, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream-50);
  font-family: "Segoe UI", Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 545px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: url("../assets/img/hero-lake.png") center / cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 251, 236, 0.76), rgba(255, 251, 236, 0.36) 34%, rgba(31, 62, 36, 0.16) 78%),
    linear-gradient(180deg, rgba(255, 252, 242, 0.08), rgba(244, 239, 227, 0.48));
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 32px));
  padding: 52px 0 36px;
  text-align: center;
}

.brand-mark {
  width: 190px;
  margin: 0 auto 22px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--green-900);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(38px, 4.7vw, 62px);
  line-height: 1.05;
  font-weight: 700;
  text-wrap: balance;
}

.hero p {
  max-width: 700px;
  margin: 23px auto 29px;
  color: #283228;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
}

.hero__button {
  min-width: 266px;
  min-height: 57px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, var(--green-700), var(--green-900));
  box-shadow: 0 12px 22px rgba(30, 58, 34, 0.2);
  font: 700 18px/1 "Segoe UI", Arial, sans-serif;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 28px rgba(30, 58, 34, 0.25);
}

.section {
  padding: 38px 0 55px;
}

.courses {
  background:
    radial-gradient(circle at 50% 5%, rgba(226, 221, 203, 0.45), transparent 36%),
    var(--cream-50);
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.05;
}

.section-heading p {
  margin: 4px 0 0;
  color: #203021;
  font-size: clamp(21px, 2vw, 29px);
  line-height: 1.1;
  font-weight: 600;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 15px auto 29px;
}

.divider span {
  width: 53px;
  height: 1px;
  background: #a9af9d;
}

.divider img {
  width: 17px;
  height: 17px;
  opacity: 0.78;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 31px;
  width: min(1290px, 100%);
  margin: 0 auto;
}

.course-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px rgba(42, 53, 37, 0.17);
}

.course-card__image {
  position: relative;
  height: 198px;
  overflow: hidden;
}

.course-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-card__number {
  position: absolute;
  top: 16px;
  left: 22px;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: rgba(32, 58, 36, 0.93);
  box-shadow: 0 5px 14px rgba(21, 36, 22, 0.24);
  font-size: 21px;
  font-weight: 700;
}

.course-card__body {
  min-height: 216px;
  padding: 18px 28px 21px;
  text-align: center;
}

.course-card h3 {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 23px;
  line-height: 1.16;
  font-weight: 800;
}

.course-card__subtitle {
  min-height: 22px;
  margin: 4px 0 13px;
  color: #111b13;
  font-size: 16px;
  line-height: 1.15;
}

.course-card__body > p:last-of-type {
  min-height: 50px;
  margin: 0 auto 17px;
  color: #283228;
  font-size: 16px;
  line-height: 1.35;
}

.course-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 192px;
  min-height: 38px;
  padding: 0 23px;
  border: 1.5px solid var(--green-900);
  border-radius: 999px;
  color: #1e2e20;
  background: rgba(255, 255, 251, 0.72);
  font-size: 15px;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.course-card__button:hover {
  color: #fff;
  background: var(--green-900);
}

.testimonials {
  background:
    linear-gradient(rgba(246, 244, 233, 0.78), rgba(246, 244, 233, 0.83)),
    url("../assets/img/hero-lake.png") center 58% / cover no-repeat;
  border-top: 1px solid rgba(42, 61, 37, 0.07);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: min(1320px, 100%);
  margin: 0 auto;
}

.quote-card {
  min-height: 151px;
  margin: 0;
  padding: 23px 24px 20px;
  border-radius: 8px;
  background: rgba(255, 255, 252, 0.83);
  box-shadow: 0 10px 26px rgba(42, 53, 37, 0.08);
  text-align: center;
}

.quote-card::before {
  content: "\201C";
  display: block;
  height: 19px;
  color: #79936e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 0.9;
}

.quote-card blockquote {
  min-height: 46px;
  margin: 0 0 18px;
  color: #243024;
  font-size: 16px;
  font-style: italic;
  line-height: 1.28;
}

.quote-card figcaption {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #253125;
  font-size: 16px;
  font-weight: 800;
}

.avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 3px solid rgba(211, 219, 199, 0.9);
  border-radius: 50%;
  background-size: cover;
  background-position: center;
}

.avatar--one {
  background-image: url("../assets/img/avatar-james.png");
}

.avatar--two {
  background-image: url("../assets/img/avatar-sophia.png");
}

.avatar--three {
  background-image: url("../assets/img/avatar-michael.png");
}

.avatar--four {
  background-image: url("../assets/img/avatar-emily.png");
}

.footer {
  color: #f8f5e9;
  background:
    linear-gradient(180deg, rgba(42, 79, 43, 0.96), rgba(25, 57, 30, 0.98)),
    var(--green-900);
}

.footer__inner {
  min-height: 117px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 28px 0 18px;
}

.footer__logo {
  width: 162px;
  justify-self: center;
}

.footer__inner p {
  margin: 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.34;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 23px;
}

.socials a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: transform 180ms ease, background 180ms ease;
}

.socials a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.11);
}

.socials img {
  width: 27px;
  height: 27px;
}

.footer__bottom {
  min-height: 53px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 86px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.footer__bottom a:hover {
  text-decoration: underline;
}

.video-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 18%, rgba(226, 221, 203, 0.55), transparent 34%),
    linear-gradient(180deg, #f7f3e8 0%, #fbf8ef 46%, #f1eddf 100%);
}

.video-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(42, 61, 37, 0.12);
  background: rgba(251, 248, 239, 0.9);
  backdrop-filter: blur(14px);
}

.video-header__inner {
  min-height: 104px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.video-header__logo img {
  width: 156px;
}

.video-header__nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--green-900);
  font-size: 15px;
  font-weight: 700;
}

.video-header__nav--right {
  justify-content: flex-end;
}

.video-header__nav a {
  position: relative;
  padding: 8px 0;
}

.video-header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--green-900);
  transition: transform 180ms ease;
}

.video-header__nav a:hover::after {
  transform: scaleX(1);
}

.video-main {
  background:
    linear-gradient(rgba(251, 248, 239, 0.84), rgba(251, 248, 239, 0.96)),
    url("../assets/img/hero-lake.png") center top / cover no-repeat;
}

.video-hero {
  padding: 58px 0 74px;
}

.video-shell {
  width: min(1500px, calc(100% - 64px));
}

.video-copy {
  max-width: 840px;
  margin: 0 auto 34px;
  text-align: center;
}

.video-kicker {
  margin: 0 0 10px;
  color: #6f8064;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.video-copy h1 {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.05;
}

.video-copy > p:last-child {
  max-width: 680px;
  margin: 18px auto 0;
  color: #2f3a2e;
  font-size: 20px;
  line-height: 1.45;
}

.video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 30px;
  align-items: start;
}

.video-player-card,
.video-panel {
  border: 1px solid rgba(42, 61, 37, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 250, 0.92);
  box-shadow: var(--shadow);
}

.video-player-card {
  overflow: hidden;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #172418;
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(23, 36, 24, 0.05), rgba(23, 36, 24, 0.2));
}

.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-frame .bunny-player {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.video-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  background: rgba(33, 60, 37, 0.9);
  box-shadow: 0 18px 34px rgba(16, 28, 18, 0.32);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, background 180ms ease;
}

.video-play-button:hover {
  background: rgba(42, 79, 43, 0.96);
  transform: translate(-50%, -50%) scale(1.04);
}

.video-play-button span {
  width: 0;
  height: 0;
  margin-left: 7px;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 25px solid #fff;
}

.video-player-card.is-playing .video-play-button {
  opacity: 0;
  pointer-events: none;
}

.video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
}

.video-meta h2,
.video-panel h2 {
  margin: 0;
  color: var(--green-900);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.video-meta h2 {
  font-size: 31px;
}

.video-meta p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.video-action {
  min-width: 142px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: var(--green-900);
  font-weight: 800;
}

.video-sidebar {
  display: grid;
  gap: 22px;
}

.video-panel {
  padding: 26px;
}

.video-panel h2 {
  margin-bottom: 16px;
  font-size: 27px;
}

.video-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.video-panel li {
  position: relative;
  padding: 13px 0 13px 28px;
  border-top: 1px solid rgba(42, 61, 37, 0.1);
  color: #293428;
  font-size: 16px;
  line-height: 1.25;
}

.video-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #879777;
  box-shadow: inset 0 0 0 3px #edf0e5;
}

.video-list-item {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(42, 61, 37, 0.1);
}

.video-list-item img {
  width: 94px;
  height: 64px;
  border-radius: 6px;
  object-fit: cover;
}

.video-list-item span {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.25;
}

.video-list-item strong {
  color: var(--green-900);
  font-size: 16px;
}

.is-visible {
  animation: fadeUp 560ms ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .course-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-layout {
    grid-template-columns: 1fr;
  }

  .video-header__inner {
    min-height: 94px;
  }

  .video-header__nav {
    gap: 18px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1500px);
  }

  .hero {
    min-height: 640px;
  }

  .brand-mark {
    width: 154px;
  }

  h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  .course-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .video-shell {
    width: min(100% - 28px, 1500px);
  }

  .video-header__inner {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 0 14px;
  }

  .video-header__logo {
    grid-row: 1;
    justify-self: center;
  }

  .video-header__logo img {
    width: 132px;
  }

  .video-header__nav,
  .video-header__nav--right {
    justify-content: center;
    gap: 20px;
  }

  .video-hero {
    padding: 35px 0 50px;
  }

  .video-copy > p:last-child {
    font-size: 18px;
  }

  .video-meta {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }

  .video-play-button {
    width: 70px;
    height: 70px;
  }

  .video-play-button span {
    border-top-width: 14px;
    border-bottom-width: 14px;
    border-left-width: 22px;
  }

  .course-card__image {
    height: 190px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 10px;
    padding: 17px 14px;
    text-align: center;
  }
}

.video-stage {
  min-height: calc(100vh - 170px);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 251, 236, 0.78), rgba(255, 251, 236, 0.52) 31%, rgba(42, 79, 43, 0.16) 76%),
    linear-gradient(180deg, rgba(251, 248, 239, 0.18), rgba(251, 248, 239, 0.78) 58%, rgba(251, 248, 239, 0.94)),
    url("../assets/img/hero-lake.png") center top / cover no-repeat;
}

.video-page .video-header {
  position: relative;
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
}

.video-page .video-header {
  display: flex;
  justify-content: center;
  padding: 34px 24px 12px;
}

.video-page .video-header__logo {
  display: inline-flex;
  justify-content: center;
}

.video-page .video-header__logo img {
  width: 174px;
}

.video-page .video-main {
  background: transparent;
}

.video-page .video-hero {
  padding: 16px 0 76px;
}

.video-page .video-shell {
  width: min(1500px, calc(100% - 64px));
}

.video-page .video-copy {
  max-width: 850px;
  margin: 0 auto 34px;
}

.video-page .video-copy h1 {
  font-size: clamp(42px, 4.5vw, 68px);
}

.video-page .video-copy > p:last-child {
  max-width: 720px;
  color: #263226;
  font-size: 22px;
}

.video-page .video-player-card {
  width: min(1080px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(42, 61, 37, 0.12);
  background: rgba(255, 255, 250, 0.88);
  box-shadow: 0 24px 58px rgba(31, 52, 34, 0.2);
}

.video-page .video-frame {
  aspect-ratio: 16 / 8.7;
}

.video-focus {
  width: min(1120px, 100%);
  margin: 52px auto 0;
}

.video-focus .section-heading h2 {
  font-size: clamp(31px, 3vw, 44px);
}

.video-focus__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.video-focus__grid article {
  min-height: 190px;
  padding: 25px 24px;
  border: 1px solid rgba(42, 61, 37, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 250, 0.82);
  box-shadow: 0 12px 30px rgba(42, 53, 37, 0.09);
}

.video-focus__grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--green-900);
  font-size: 14px;
  font-weight: 800;
}

.video-focus__grid h3 {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.15;
}

.video-focus__grid p {
  margin: 10px 0 0;
  color: #364335;
  font-size: 15px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .video-focus__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .video-page .video-header {
    padding: 22px 16px 8px;
  }

  .video-page .video-header__logo img {
    width: 142px;
  }

  .video-page .video-hero {
    padding: 12px 0 50px;
  }

  .video-page .video-shell {
    width: min(100% - 28px, 1500px);
  }

  .video-page .video-copy h1 {
    font-size: 36px;
  }

  .video-page .video-copy > p:last-child {
    font-size: 18px;
  }

  .video-page .video-frame {
    aspect-ratio: 16 / 9.4;
  }

  .video-focus {
    margin-top: 38px;
  }

  .video-focus__grid {
    grid-template-columns: 1fr;
  }

  .video-focus__grid article {
    min-height: 0;
    padding: 22px;
  }
}
