:root {
  /* Colors */
  --surface: #f8f9fa;
  --surface-bright: #ffffff;
  --surface-container-low: #f3f4f5;
  --on-surface: #191c1d;
  --on-surface-variant: #5c403a;
  --background: #f8f9fa;
  --on-background: #191c1d;

  --primary: #b51c00;
  --on-primary: #ffffff;
  --secondary: #b90040;

  --tertiary-text: #121826;
  /* Deep charcoal for headlines */
  --border-light: #f3f4f6;

  --gradient-primary: linear-gradient(135deg, #ff4b2b 0%, #ff416c 100%);

  /* Typography */
  --font-family: "Plus Jakarta Sans", sans-serif;

  /* Spacing */
  --spacing-base: 8px;
  --spacing-xs: 4px;
  --spacing-sm: 12px;
  --spacing-md: 24px;
  --spacing-lg: 48px;
  --spacing-xl: 80px;

  /* Container */
  --container-max: 1280px;
  --gutter: 24px;

  /* Shapes & Elevation */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  /* 8px */
  --radius-lg: 1rem;

  --shadow-ambient: 0px 4px 20px rgba(18, 24, 38, 0.05);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--background);
  color: var(--on-background);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

.clean-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--tertiary-text);
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}

h4 {
  font-size: 18px;
  font-weight: 600;
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-xs);
}

p {
  margin-bottom: var(--spacing-md);
  color: #4a5568;
  /* softened gray for body text */
}

/* Layout Utilities */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--spacing-xl) 0;
}

.section-light {
  background-color: var(--surface-bright);
  /* #ffffff */
}

.section-gray {
  background-color: #f9fafb;
  /* cool-toned light gray */
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
}

.section-subtitle {
  font-size: 18px;
  color: #4a5568;
}

.mt-sm {
  margin-top: var(--spacing-sm);
}

.mt-md {
  margin-top: var(--spacing-md);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.mb-0 {
  margin-bottom: 0;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--gutter);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .section {
    padding: var(--spacing-lg) 0;
  }
}

/* Components */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-primary:hover {
  filter: brightness(105%);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(18, 24, 38, 0.1);
  color: var(--tertiary-text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 18px;
}

/* Header & Nav */
.header {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(18, 24, 38, 0.05);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 152px;
  /* Adjust height based on actual image aspect ratio */
  width: auto;
}

.logo-img-footer {
  height: 152px;
  width: auto;
  /* Removed white background and padding for better visibility of white-text logo on dark footer */
}

.nav-desktop {
  display: none;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: block;
  }

  .mobile-menu-btn {
    display: none;
  }
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  color: #4a5568;
}

.nav-link:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 768px) {
  .header-actions .btn {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--tertiary-text);
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  background-color: var(--surface-bright);
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  box-shadow: var(--shadow-ambient);
  border-top: 1px solid rgba(18, 24, 38, 0.05);
}

.mobile-menu.active {
  display: block;
}

.nav-list-mobile {
  display: flex;
  flex-direction: column;
  padding: var(--spacing-md);
}

.nav-link-mobile {
  display: block;
  padding: 12px 0;
  font-weight: 500;
  border-bottom: 1px solid rgba(18, 24, 38, 0.05);
}

/* Hero */
.hero {
  padding: 120px 0 var(--spacing-xl);
  text-align: center;
  background-color: var(--surface-bright);
  position: relative;
  overflow: hidden;
}

/* Add a subtle background accent */
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(255, 75, 43, 0.05) 0%,
    transparent 70%
  );
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  margin-bottom: var(--spacing-md);
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: var(--spacing-lg);
}

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

/* Intro Section */
.intro-grid {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-text p {
  font-size: 18px;
}

/* Cards */
.card {
  background-color: var(--surface-bright);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-ambient);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0px 10px 30px rgba(18, 24, 38, 0.08);
}

.card-tag {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background-color: rgba(255, 75, 43, 0.05);
  color: var(--primary);
}

.card-title {
  margin-top: 32px;
}

.card-body {
  flex-grow: 1;
}

/* Feature List (Consulting) */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  transition: background-color 0.2s ease;
}

.feature-item:hover {
  background-color: rgba(18, 24, 38, 0.02);
}

.feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: var(--gradient-primary);
  flex-shrink: 0;
  margin-top: 4px;
}

.feature-title {
  font-size: 18px;
  margin-bottom: 4px;
}

.feature-desc {
  margin-bottom: 0;
  font-size: 14px;
}

/* Footer */
.footer {
  background-color: var(--tertiary-text);
  color: white;
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer .logo {
  color: white;
  -webkit-text-fill-color: white;
  background: none;
  margin-bottom: var(--spacing-sm);
  display: inline-block;
}

.footer-desc {
  color: #a0aec0;
}

.footer-heading {
  color: white;
  margin-bottom: var(--spacing-md);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #a0aec0;
}

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

.contact-email {
  color: white;
  font-weight: 600;
  font-size: 18px;
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-underline-offset: 4px;
}

.contact-email:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #718096;
  font-size: 14px;
}

/* Input styles for completeness (even if not strictly used in current HTML) */
input,
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background-color: #f9fafb;
  border: 1px solid rgba(18, 24, 38, 0.1);
  font-family: inherit;
  font-size: 16px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 75, 43, 0.1);
}
