/* ===== Variables & Reset ===== */
:root {
  --navy: #0d172a;
  --navy-light: #162038;
  --blue: #005087;
  --blue-light: #0068b0;
  --red: #d43d3a;
  --red-dark: #b8302d;
  --off-white: #f4f4f1;
  --white: #ffffff;
  --gray-100: #f7f8fa;
  --gray-200: #e8eaed;
  --gray-300: #cdd1d6;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--gray-700);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.hidden {
  display: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(13, 23, 42, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo img {
  height: 64px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  color: var(--gray-200);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-contact-btn {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  font-family: var(--font);
}

.nav-contact-btn:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Contact Panel ===== */
.contact-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-overlay.active {
  opacity: 1;
  visibility: visible;
}

.contact-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 480px;
  max-width: 100%;
  background: var(--white);
  padding: 48px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-overlay.active .contact-panel {
  transform: translateX(0);
}

.contact-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--gray-500);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}

.contact-close:hover {
  color: var(--navy);
}

.contact-panel h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-panel > p {
  color: var(--gray-500);
  margin-bottom: 32px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--navy);
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-300);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 80, 135, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  width: 100%;
  padding: 14px 24px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s, transform 0.2s;
}

.form-submit:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.hero-content {
  max-width: 800px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-logo {
  max-width: 560px;
  width: 100%;
  height: auto;
  margin-bottom: 32px;
}

.hero-content p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--gray-300);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 61, 58, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ===== Section Titles ===== */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto 56px;
  text-align: center;
}

/* ===== Services ===== */
.services {
  padding: 120px 0;
  background: var(--gray-100);
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 16px;
  text-align: left;
  border: 1px solid var(--gray-200);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13, 23, 42, 0.08);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 80, 135, 0.08);
  border-radius: 12px;
  margin-bottom: 20px;
  color: var(--blue);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== About ===== */
.about {
  padding: 120px 0;
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(13, 23, 42, 0.12);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--gray-100);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
}

.stat-icon {
  width: 36px;
  height: 36px;
  color: var(--blue);
  flex-shrink: 0;
}

.stat-icon svg {
  width: 100%;
  height: 100%;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}

/* ===== R2v3 ===== */
.r2v3 {
  padding: 120px 0;
  background: var(--navy);
}

.r2v3 .section-title {
  color: var(--white);
}

.r2v3-content {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.r2v3-badge {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  color: var(--off-white);
}

.r2v3-badge svg {
  width: 100%;
  height: 100%;
}

.r2v3-text p {
  font-size: 1.05rem;
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: 16px;
}

.r2v3-list {
  list-style: none;
  margin-top: 24px;
}

.r2v3-list li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.r2v3-list li:last-child {
  border-bottom: none;
}

.r2v3-list li strong {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
}

.r2v3-list li span {
  color: var(--gray-300);
  font-size: 0.95rem;
}

/* ===== Location ===== */
.location {
  padding: 120px 0;
  background: var(--gray-100);
}

.location-content {
  display: flex;
  gap: 64px;
  align-items: center;
}

.location-icon {
  flex-shrink: 0;
  width: 200px;
}

.indiana-img {
  width: 100%;
  height: auto;
  opacity: 0.8;
}

.location-text p {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 16px;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 24px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  color: var(--blue);
}

.location-badge svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.location-badge span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

/* ===== CTA ===== */
.cta {
  padding: 100px 0;
  background: var(--blue);
  text-align: center;
}

.cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 550px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta .btn-primary {
  background: var(--red);
  border-color: var(--red);
}

.cta .btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  padding: 64px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
}

.footer-logo {
  max-width: 360px;
  width: 100%;
  height: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--gray-500);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-contact .btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--gray-300);
}

.footer-contact .btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    padding: 12px 16px;
    font-size: 1rem;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-contact-btn {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .r2v3-content {
    flex-direction: column;
    gap: 32px;
    align-items: center;
    text-align: center;
  }

  .r2v3-badge {
    width: 120px;
    height: 120px;
  }

  .r2v3-list li {
    text-align: left;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
    max-height: 300px;
  }

  .location-content {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .location-icon {
    width: 140px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-panel {
    padding: 40px 24px;
  }

  .about-stats {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 16px 60px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}
