/* palette: denim-copper */
:root {
  --primary-color: #1B3A6B;
  --secondary-color: #253F70;
  --accent-color: #A06830;
  --background-color: #EEF4FF;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: rgba(255,255,255,0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.4);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --main-font: 'DM Serif Display', serif;
  --alt-font: 'Open Sans', sans-serif;
}

/* Base Styles & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  font-family: var(--alt-font);
  font-size: clamp(14px, 1.6vw, 17px);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--main-font);
  color: #FFFFFF;
}

h1 {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 600;
  line-height: 1.3;
}

p, .subtitle {
  line-height: 1.7;
}

/* DARK-PRO Preset Rules (Copied Literally) */
body,html{background:var(--secondary-color);color:#F0F0F0} section{background:var(--secondary-color);padding:72px 16px} @media(min-width:1024px){section{padding:88px 24px}} .card{background:rgba(255,255,255,0.06);border-top:3px solid var(--accent-color);border-radius:8px} p,.subtitle{color:rgba(240,240,240,0.75)} .btn:hover,.btn:focus{box-shadow:0 0 24px var(--accent-color)} section+section{border-top:1px solid rgba(255,255,255,0.08)}

/* Header & CSS Burger Menu */
header {
  background: var(--primary-color);
  position: relative;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo img {
  max-height: 48px;
  width: auto;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.burger-btn .bar {
  width: 100%;
  height: 3px;
  background-color: #FFFFFF;
  transition: all 0.3s ease;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--primary-color);
  padding: 24px 16px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}

.site-nav a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--accent-color);
}

#menu-toggle:checked ~ .site-nav {
  display: block;
}

#menu-toggle:checked ~ .burger-btn .bar:first-child {
  transform: translateY(9px) rotate(45deg);
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked ~ .burger-btn .bar:last-child {
  transform: translateY(-9px) rotate(-45deg);
}

@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 24px;
  }
  .site-nav a {
    font-size: 0.95rem;
  }
}

/* Hero Variant: cinematic-bottom-left */
.hero-cinematic {
  position: relative;
  min-height: 82vh;
  background-image: url('./img/bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: flex-end;
  padding: 48px 16px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: left;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .hero-cinematic {
    padding: 80px 48px;
  }
}

.hero-content h1 {
  color: #FFFFFF;
  font-weight: 300;
  margin-bottom: 16px;
}

.hero-content p {
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent-color);
  color: #FFFFFF;
}

.btn-outline {
  border: 2px solid #FFFFFF;
  color: #FFFFFF;
  background: transparent;
}

.btn-outline-white {
  border: 2px solid #FFFFFF;
  color: #FFFFFF;
  background: transparent;
}

.btn-outline-white:hover {
  background: #FFFFFF;
  color: var(--secondary-color);
}

/* How It Works Steps */
.step-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--accent-color);
  line-height: 1;
}

/* Timeline */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-line {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--accent-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 50px;
}

.timeline-badge {
  position: absolute;
  left: 7px;
  top: 20px;
  width: 28px;
  height: 28px;
  background: var(--accent-color);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 2;
}

@media (min-width: 768px) {
  .timeline-line {
    left: 50%;
  }
  .timeline-item {
    width: 50%;
    padding-left: 0;
  }
  .timeline-item.left {
    left: 0;
    padding-right: 40px;
    text-align: right;
  }
  .timeline-item.right {
    left: 50%;
    padding-left: 40px;
  }
  .timeline-badge {
    left: auto;
    right: -14px;
  }
  .timeline-item.right .timeline-badge {
    right: auto;
    left: -14px;
  }
}

/* Progress Bar Animations (CSS-only @property) */
@property --bar {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

.bar-fill {
  --pct: 78;
  width: calc(var(--bar) * 1%);
  animation: fill-bar 1.5s ease-out forwards;
  animation-timeline: view();
  animation-range: entry 0% entry 50%;
  background: var(--accent-color);
  height: 12px;
  border-radius: 999px;
}

@keyframes fill-bar {
  from { --bar: 0; }
  to { --bar: var(--pct); }
}

.bar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

/* Dense Icon Grid */
.icon-accent {
  color: var(--accent-color);
  font-size: 2.5rem;
}

.pillar-label {
  font-weight: 600;
  font-size: 0.9rem;
}

/* CTA Banner Section */
.cta-banner-section .container {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

/* Forms & Inputs */
.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #FFFFFF;
  font-family: var(--alt-font);
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-color);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Scroll-Reveal */
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: reveal-up linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 25%;
}

/* Cascading cards delay */
.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: 0.12s; }
.card:nth-child(3) { animation-delay: 0.24s; }

.card {
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
}

/* Footer styling */
footer {
  background: var(--primary-color);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer img[alt="logo"] {
  filter: brightness(0) invert(1);
}

.bg-gray-100,
.bg-gray-100 p,
.bg-white,
.bg-white p,
.bg-white h3,
.bg-yellow-100,
.bg-yellow-100 p,
.bg-blue-100,
.bg-blue-100 p,
.bg-red-100,
.bg-red-100 p,
.bg-green-100,
.bg-green-100 p  {
  color: #111A13;
}