/* Base resets & typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth; /* smooth scrolling */
}

body {
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* HEADER */
header {
  background: #f47f00;
  color: #fff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header a {
  color: #fff;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5em;
  margin: 0;
}

.hamburger {
  display: block;
  position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  width: 2em;
  height: 3px;
  background: #fff;
  transition: transform 250ms ease-in-out;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(90deg) translateX(8px);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  opacity: 0;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}

header nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

header nav a:hover {
  background: #fff;
  color: #b52e20;
}


/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 4rem 2rem;
  background: linear-gradient(
    rgba(244, 127, 0, 0.8),
    rgba(244, 127, 0, 0.8)
  );
  color: #fff;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text {
  text-align: left;
}

.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.btn-primary {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #b52e20;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #8c1f15;
}

.hero-img {
  justify-self: center;
  width: 100%;
  max-width: 600px;
}

.hero-img .img-placeholder {
  overflow: hidden;
  border-radius: 10px;
}

.hero-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* CONTENT SECTIONS */
.content-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.content-section h2 {
  text-align: center;
  color: #f47f00;
  margin-bottom: 2rem;
}
.light-bg {
  background: #fff7f0;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* For a 16:9 aspect ratio (9/16 * 100%) */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Grid helpers */
.grid {
  display: grid;
  gap: 2rem;
}
.grid + .grid {
  margin-top: 24px;
}
#products .text > p,
#business-description .text > p {
  margin-bottom: 24px;
}
.two-cols {
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
}
.three-cols {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Cards for Learn/Practice/Compare */
.card {
  background: #ffffff;
  border: 1px solid #f0c9a8;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}
.card .img-placeholder.small {
  background: #ffe0cc;
  color: #b52e20;
  height: 150px;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

#our-team .card {
  background: #ffe0cc;
}

.card .img-placeholder.small.headshot{
  background: none;
}

.card img {
    border-radius: 8px;
}

.card h3 {
  color: #b52e20;
  margin-bottom: 0.8rem;
}

/* Card List Styles */
.card ul {
  list-style-position: outside;
  text-align: left;
  padding-left: 1.2rem;
}

.card ul li {
  padding-left: 0;
  margin-bottom: 0.5rem;
}

/* SIGNUP CTA */
#signup-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
}
#signup-cta h2 {
  margin-bottom: 1rem;
}
.signup-inner p {
  margin-bottom: 1.5rem;
}

/* Timeline / Roadmap */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.timeline-item {
  background: #f47f00;
  color: #fff;
  border-left: 6px solid #b52e20;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}
.timeline-item:hover {
  transform: translateY(-5px);
}
.timeline-item h3 {
  color: #b52e20;
  margin-bottom: 0.5rem;
}
.timeline-item p {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* CONTACT + SOCIAL */
.contact-section {
  background: #b52e20;
  color: #fff;
  text-align: center;
  padding: 3rem 2rem;
}
.contact-section p {
  margin-bottom: 0.8rem;
}

.contact-section a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.contact-section a:hover {
  background: #fff;
  color: #b52e20;
}

.social-links {
  margin-top: 1rem;
}
.social-links a {
  color: #fff;
  font-size: 1.5rem;
  margin: 0 0.5rem;
  transition: color 0.3s;
}
.social-links a:hover {
  color: #ffe0cc;
}

/* FOOTER */
footer {
  background: #f47f00;
  color: #fff;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* ICONS */
.icon {
  color: #b52e20;
  margin-right: 8px;
  vertical-align: middle;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .hero {
    padding: 3rem 1.5rem;
  }
  .hero h2 {
    font-size: 2rem;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-text {
    text-align: center;
  }
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-img {
    max-width: 500px;
    order: -1;
  }
}

@media (max-width: 890px) {
  .nav-toggle {
    display: block;
    z-index: 1000;
  }

  .nav {
    position: fixed;
    background: #f47f00;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    padding: 5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 250ms ease-in-out;
    z-index: 999;
  }

  .nav[data-visible="true"] {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .hero {
    padding: 2rem 1rem;
  }
  .hero h2 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .grid.three-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-img {
    max-width: 100%;
  }
  .hero h2 {
    font-size: 1.6rem;
  }
}
