
:root{
  --max-nav: 1100px;
  --max-content: 900px;

  --text: #1a1a1a;
  --muted: #555;
  --border: #eee;
  --bg: #fff;

  --btn: #344256;
  --btnHover: #566478;
  --btnText: #fff;
  --btnAlt: #e1e1e1;
  --btnAltHover: #d0d0d0;
  --btnAltText: #000;

  --padX: 20px;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  background-color:#f2f2f2;
}

/* Header / Nav */
header {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
nav {
  max-width: var(--max-nav);
  margin: 0 auto;
  padding: 14px var(--padX);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}

.rounded { 
  border-radius: 5px !important;
}

.bi { margin-left: 6px !important; }

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  margin-left: 12px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  color: #0b5ed7;
}
.nav-links a:hover { text-decoration: underline; color: #344256; }

/* Mobile menu button */
.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 10px 12px;
  line-height: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}
.hamburger {
  width: 20px;
  height: 14px;
  position: relative;
  display: inline-block;
}
.hamburger span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.hamburger span:nth-child(1){ top: 0; }
.hamburger span:nth-child(2){ top: 6px; }
.hamburger span:nth-child(3){ top: 12px; }

/* Mobile dropdown */
.mobile-panel {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
}
.mobile-panel .inner {
  max-width: var(--max-nav);
  margin: 0 auto;
  padding: 10px var(--padX) 14px;
  display: grid;
  gap: 8px;
}
.mobile-panel a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.mobile-panel a:hover { background: #fafafa; }

/* When menu is open */
header[data-open="true"] .mobile-panel { display: block; }
header[data-open="true"] .hamburger span:nth-child(1){ top: 6px; transform: rotate(45deg); }
header[data-open="true"] .hamburger span:nth-child(2){ opacity: 0; }
header[data-open="true"] .hamburger span:nth-child(3){ top: 6px; transform: rotate(-45deg); }

/* Sections / Type */
section {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 70px var(--padX);
  border-bottom: 2px solid #344256;
}
.hero { padding-top: 90px; }

h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 30px;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
h3 { font-size: 20px; margin-top: 30px; }
p { font-size: 17px; max-width: 750px; margin: 0 0 14px; }
.subhead {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 22px;
}
ul { padding-left: 20px; margin: 0 0 14px; }
li { margin-bottom: 8px; }

/* CTA buttons */
.cta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  background: var(--btn);
  color: var(--btnText);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid var(--btn);
  min-height: 46px;
}

.cta a:hover {
  background: var(--btnHover);
}

.cta a.secondary {
  background: var(--btnAlt);
  color: var(--btnAltText);
  border-color: var(--border);
}

.cta a.secondary:hover {
  background: var(--btnAltHover);
}

footer {
  border-top: 1px solid var(--border);
  padding: 32px var(--padX);
  text-align: center;
  font-size: 14px;
  color: #777;
}

/* Mobile adjustments */
@media (max-width: 820px) {
  /* switch to mobile menu */
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }

  section { padding: 56px var(--padX); }
  .hero { padding-top: 72px; }

  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  p { font-size: 16px; }
  .subhead { font-size: 18px; }

  /* easier tap targets */
  .cta a { width: 100%; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hamburger span { transition: none; }
}

html,body,table,p,input,select {
	font-family: 'Rubik', sans-serif !important;
	font-weight: 300;
}

h1,h2,h3,h4,h5,h6 {
	font-family: 'Titillium Web', serif !important;
	font-weight: 600;
}

button,a,select,input {
	font-family: 'Titillium Web', serif !important;
	font-weight: 600;
}

strong { font-weight: 600; }

.bold { font-weight: 600; }

.a-easy { color: #0b5ed7; }

.a-easy:hover { color: #344256; }

  .carousel {
    position: relative;
    width: min(980px, 100%);
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: #0b0f14;
  }

  .carousel__viewport {
    overflow: hidden;
    outline: none;
  }

  .carousel__track {
    display: flex;
    transition: transform 350ms ease;
    will-change: transform;
  }

  .carousel__slide {
    min-width: 100%;
    display: block;
    position: relative;
    text-decoration: none;
  }

  .carousel__slide img {
    width: 100%;
    height: auto;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
  }

  .carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 28px;
    line-height: 1;
    color: #fff;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
  }

  .carousel__btn:hover { background: rgba(0,0,0,0.6); }
  .carousel__btn:active { transform: translateY(-50%) scale(0.98); }

  .carousel__btn--prev { left: 12px; }
  .carousel__btn--next { right: 12px; }

  .carousel__dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
  }

  .carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    background: rgba(255,255,255,0.45);
  }

  .carousel__dot[aria-current="true"] {
    background: rgba(255,255,255,0.95);
  }

  /* Optional: hide arrows on very small screens */
  @media (max-width: 420px) {
    .carousel__btn { display: none; }
  }

.hero_container {
  overflow: hidden;
  width:100%;
}

.hero__video {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero > *:not(.hero__video):not(.hero__overlay) {
  position: relative;
  z-index: 2;
}