/* palette: indigo-gold */
:root {
  --primary-color: #1A237E;
  --secondary-color: #283593;
  --accent-color: #C9A227;
  --background-color: #F4F4FF;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: rgba(0,0,0,0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.16);
  --radius-sm: 0px; 
  --radius-md: 0px; 
  --radius-lg: 0px; 
  --radius-xl: 0px;
  --main-font: 'Nunito', sans-serif;
  --alt-font: 'Noto Sans', sans-serif;
}

/* Base resets & typography scale */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.bg-dark,
.bg-primary {
  background: #1A237E;
}

body {
  font-family: var(--alt-font);
  background-color: var(--background-color);
  color: var(--text-color);
  overflow-x: hidden;
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.7;
}

h1 {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 900;
  font-family: var(--main-font);
}

h2 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  font-family: var(--main-font);
  color: var(--primary-color);
}

h3 {
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 600;
  font-family: var(--main-font);
}

/* Neo-Brutal Style Presets applied literally */
section {
  padding: 48px 16px;
}

@media(min-width:1024px) {
  section {
    padding: 56px 24px;
  }
}

.card, .btn {
  border: 3px solid var(--primary-color);
  box-shadow: 6px 6px 0 var(--primary-color);
  border-radius: 0;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  text-decoration: none;
  min-height: 44px;
  cursor: pointer;
  font-family: var(--main-font);
  transition: transform .15s, box-shadow .15s;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--primary-color);
}

h1, h2, h3 {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.0;
}

section + section {
  border-top: 4px solid var(--primary-color);
}

/* Button variants */
.btn-accent {
  background-color: var(--accent-color);
  color: var(--dark-color);
}

.btn-outline {
  background-color: transparent;
  border-color: white;
  box-shadow: 6px 6px 0 white;
}

.btn-outline:hover {
  box-shadow: 3px 3px 0 white;
}

/* Header & Navigation (CSS-only burger) */
.site-header {
  background-color: white;
  border-bottom: 4px solid var(--primary-color);
}

.header-inner {
  position: relative;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  right: -16px;
  background-color: white;
  border-top: 4px solid var(--primary-color);
  border-bottom: 4px solid var(--primary-color);
  padding: 24px;
  z-index: 999;
}

.site-nav ul {
  list-style: none;
}

.site-nav a {
  font-family: var(--main-font);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-color);
  text-decoration: none;
  display: block;
  padding: 8px 0;
}

.site-nav a:hover {
  color: var(--accent-color);
}

/* Burger Button */
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.burger-btn .bar {
  width: 100%;
  height: 4px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

#menu-toggle:checked ~ .site-nav {
  display: block;
}

#menu-toggle:checked ~ .burger-btn .bar:first-child {
  transform: translateY(8px) 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-color: transparent;
    border: none;
    padding: 0;
  }
  .site-nav ul {
    flex-direction: row;
  }
  .site-nav a {
    padding: 0;
  }
}

/* Hero Section (floating-cards variant) */
.hero-section {
  min-height: 90vh;
  background-image: url('./img/bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 35, 126, 0.85); /* primary tint with transparency */
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.5;
}

/* Floating Cards Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(var(--rotate));
  }
  50% {
    transform: translateY(-12px) rotate(calc(var(--rotate) + 1deg));
  }
}

.floating-card {
  animation: float 4s ease-in-out infinite;
  animation-delay: var(--delay);
  width: 280px;
  border-width: 3px;
}

/* Stats Counter (CSS @property Chrome 115+) */
@property --count {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

.stat-num {
  --target: 80;
  animation: count-up 2s ease-out forwards;
  animation-timeline: view();
  animation-range: entry 0% entry 60%;
  counter-reset: n var(--count);
}

.stat-num::after {
  content: counter(n);
}

@keyframes count-up {
  from {
    --count: 0;
  }
  to {
    --count: var(--target);
  }
}

/* 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 30%;
}

/* Card Hover effect */
.card {
  transition: transform .25s, box-shadow .25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 10px 10px 0 var(--primary-color);
}

/* Footer logo filter */
footer img[alt="logo"] {
  filter: brightness(0) invert(1);
}

.footer-logo-img {
  max-height: 50px;
  width: auto;
}

/* Input styles matching Neo-brutalist */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  border-radius: 0;
}