:root {
  --bg: #050816;
  --surface: #10162c;
  --surface-2: #18233e;
  --text: #f4f7ff;
  --muted: #9aa7c7;
  --accent: #ff6b35;
  --accent-2: #3ddc97;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top left, rgba(255, 107, 53, 0.15), transparent 25%), var(--bg);
  color: var(--text);
  line-height: 1.6;
  
  
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Forces the body element to take up the full screen height */
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  border-radius: 20px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px 0;
  
  /* --- ADD THIS LINE --- */
  width: 100%; /* Forces the header block to stretch out across its maximum boundaries */
}

.brand {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 18px;
}

.site-nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.site-nav a.active {
  color: var(--accent); 
  border-bottom: 2px solid var(--accent);
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px;
  width: 100%; /* Ensures the grid container doesn't shrink horizontally */
  
  /* --- PUSHES FOOTER TO BOTTOM --- */
  flex: 1; /* Instructs the main content element to expand and absorb all empty space */

  /* --- BALANCE THE EMPTY VOID --- */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centers content perfectly vertically when there is extra room */
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  padding: 44px 0 28px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.1;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.hero-text,
.feature-card p,
.info-card p,
.contact-list p,
.testimonial-card p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent), #ff8b4d);
  color: white;
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 16px;
  border-radius: 14px;
  min-width: 120px;
}

.hero-stats strong {
  font-size: 1.2rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-card,
.contact-card,
.testimonial-card,
.feature-card,
.info-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 10px;
}

.section {
  padding: 30px 0 10px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-card,
.info-card {
  padding: 20px;
}

.cards-section {
  padding-top: 36px;
}

.section-heading {
  margin-bottom: 16px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card a {
  color: var(--accent-2);
  font-weight: 600;
}

.testimonial-section {
  padding-top: 36px;
}

.testimonial-card {
  padding: 28px;
}

.contact-hero {
  grid-template-columns: 1fr 0.9fr;
}

.contact-list {
  margin-top: 16px;
}

form {
  display: grid;
  gap: 14px;
  padding: 20px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: rgba(255,255,255,0.05);
  color: var(--text);
}

.site-footer {
  text-align: center;
  padding: 34px 20px 28px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero,
  .intro-grid,
  .contact-hero,
  .card-grid {
    grid-template-columns: 1fr;
  }
  form {
    gap: 20px; 
  }
  img {
    max-height: 300px;
    object-fit: cover; 
  }
}

/* --- HAMBURGER MENU CORE STYLES --- */

/* Hide the raw checkbox and hamburger button on desktop screens */
.menu-toggle-checkbox,
.hamburger-icon {
  display: none;
}

/* --- MOBILE SPECIFIC HEADER STYLES --- */
@media (max-width: 640px) {
  /* Override the old flex column to keep branding inline */
  .site-header {
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
  }

  /* Show and style the hamburger bar lines */
  .hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px; 
  }

  .hamburger-icon span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text);
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* Transform the site navigation panel into a mobile overlay drawer */
  .site-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: fixed;
    top: 0;
    right: -100%; /* Completely hidden off-screen to the right by default */
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--surface);
    padding: 100px 30px;
    box-shadow: var(--shadow);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .site-nav a {
    font-size: 1.2rem;
  }

  /* Swap underline for a clean left block indicator on mobile menu screens */
  .site-nav a.active {
    border-bottom: none; 
    border-left: 3px solid var(--accent); 
    padding-left: 8px; 
  }

  /* When the checkbox is clicked/checked, slide the nav menu into view! */
  .menu-toggle-checkbox:checked ~ .site-nav {
    right: 0;
  }

  /* Morph the lines into an "X" close icon when open */
  .menu-toggle-checkbox:checked + .hamburger-icon span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .menu-toggle-checkbox:checked + .hamburger-icon span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle-checkbox:checked + .hamburger-icon span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}