/* ===================================
   Sculpture Hospitality - Professional Design System
   Version 2.0 - Sleek & Sophisticated
   =================================== */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Professional Color Palette - Restricted Usage */
  --color-navy: #003366;
  --color-green: #8DC63F;
  --color-white: #FFFFFF;
  --color-off-white: #FAFAFA;
  --color-gray-dark: #1A1A1A;
  --color-gray-medium: #999999;
  --color-gray-light: #E8E8E8;

  /* Professional Spacing System */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 120px;

  /* Typography Scale */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 24px;
  --font-size-2xl: 32px;
  --font-size-3xl: 40px;
  --font-size-4xl: 56px;

  /* Professional Effects */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --border-radius: 4px;
  --transition: all 0.2s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-gray-dark);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== PROFESSIONAL TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: var(--space-lg);
  font-weight: 600;
}

h1 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  font-size: var(--font-size-3xl);
  line-height: 1.2;
}

h3 {
  font-size: var(--font-size-2xl);
  line-height: 1.3;
}

h4 {
  font-size: var(--font-size-xl);
  line-height: 1.4;
}

p {
  margin-bottom: var(--space-md);
  line-height: 1.6;
  max-width: 75ch;
}

p.large {
  font-size: var(--font-size-lg);
}

.subheadline {
  font-size: 20px;
  color: var(--color-gray-dark);
  font-weight: 400;
  line-height: 1.5;
  max-width: 600px;
}

a {
  color: var(--color-navy);
  text-decoration: underline;
  transition: var(--transition);
  font-weight: 500;
}

a:hover {
  color: var(--color-green);
}

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

/* ===== LAYOUT UTILITIES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

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

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

.section-off-white {
  background-color: var(--color-off-white);
}

.section-navy {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.section-navy h1,
.section-navy h2,
.section-navy h3,
.section-navy h4 {
  color: var(--color-white);
}

.text-center {
  text-align: center;
}

.text-center h2,
.text-center h3 {
  margin-left: auto;
  margin-right: auto;
}

/* ===== PROFESSIONAL ACCENT LINE ===== */
.accent-line {
  width: 60px;
  height: 3px;
  background-color: var(--color-green);
  margin-bottom: var(--space-lg);
}

.text-center .accent-line {
  margin-left: auto;
  margin-right: auto;
}

/* ===== PROFESSIONAL BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: var(--font-size-base);
  font-weight: 600;
  text-align: center;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-family: var(--font-primary);
}

.btn-primary {
  background-color: var(--color-green);
  color: var(--color-white);
  box-shadow: 0 2px 4px rgba(141, 198, 63, 0.3);
}

.btn-primary:hover {
  background-color: #7AB52F;
  box-shadow: 0 4px 8px rgba(141, 198, 63, 0.4);
  transform: scale(1.02);
  color: var(--color-white);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-navy);
  border: 2px solid var(--color-gray-light);
}

.btn-secondary:hover {
  border-color: var(--color-navy);
  background-color: #F5F5F5;
  color: var(--color-navy);
}

/* ===== PROFESSIONAL NAVIGATION ===== */
.navbar {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-gray-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  transition: height 0.3s ease, box-shadow 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  width: 100%;
}

.nav-logo img {
  height: 52px; /* Increased from 40px for better visibility */
  width: auto;
  transition: height 0.3s ease;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: var(--space-lg);
}

.nav-item a {
  color: var(--color-navy);
  font-weight: 500;
  font-size: var(--font-size-base);
  transition: var(--transition);
  text-decoration: none;
}

.nav-item a:hover {
  color: var(--color-green);
}

.nav-item.cta .btn {
  background-color: var(--color-green);
  color: var(--color-white);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-navy);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* ===== PROFESSIONAL HERO SECTION ===== */
.hero {
  padding: var(--space-4xl) 0;
  background-color: var(--color-white);
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-text h1 {
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.hero-text .subheadline {
  margin-bottom: var(--space-2xl);
}

.hero-image {
  background: transparent;
  padding: 0;
}

.hero-image img {
  border-radius: var(--border-radius);
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
  /* Removed box-shadow to prevent white box effect */
}

/* Image integration fixes - remove white boxes */
.section-off-white .hero-image,
.section-off-white .image-container {
  background: transparent;
}

/* Consultant photo treatment */
.consultant-photo {
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
}

.consultant-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: transparent;
}

/* Software mockup images */
.software-mockup {
  background: transparent;
  position: relative;
}

.software-mockup img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.15));
}

/* ===== PROFESSIONAL CARD SYSTEM ===== */
.card {
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 24px;
  height: 24px;
  color: var(--color-navy);
  margin-bottom: var(--space-md);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.card-icon.green {
  color: var(--color-green);
}

.card-icon.gray {
  color: var(--color-gray-medium);
}

.card h3,
.card h4 {
  font-size: 20px;
  margin-bottom: var(--space-md);
  font-weight: 600;
  color: var(--color-navy);
}

.card p {
  color: var(--color-gray-dark);
  margin-bottom: 0;
  font-size: var(--font-size-base);
  line-height: 1.6;
  flex-grow: 1;
}

/* ===== PROFESSIONAL GRID LAYOUTS ===== */
.grid {
  display: grid;
  gap: var(--space-xl);
}

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

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

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

/* Limit cards to 6 per section for professional look */
.grid .card:nth-child(n+7) {
  display: none;
}

/* ===== ENHANCED CHALLENGE CARDS SECTION ===== */
.inventory-challenges {
  background: var(--color-off-white);
  padding: var(--space-4xl) 0;
  position: relative;
}

.inventory-challenges::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, rgba(0,51,102,0.02), transparent);
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gray-medium);
  margin-bottom: var(--space-md);
}

.section-header h2 {
  font-size: var(--font-size-3xl);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--space-md);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.intro {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.challenges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.challenge-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: 8px;
  padding: var(--space-xl);
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--color-green), #7AB52F);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.challenge-card:hover .card-accent {
  opacity: 1;
}

.challenge-card:hover {
  border-color: var(--color-green);
  box-shadow: 0 8px 24px rgba(141,198,63,0.12);
  transform: translateY(-4px);
}

.icon-wrapper {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #F5F5F5, #FAFAFA);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: all 0.3s ease;
}

.challenge-card:hover .icon-wrapper {
  background: linear-gradient(135deg, var(--color-green), #7AB52F);
}

.challenge-icon {
  width: 28px;
  height: 28px;
  stroke: var(--color-navy);
  transition: stroke 0.3s ease;
}

.challenge-card:hover .challenge-icon {
  stroke: white;
}

.challenge-card h3,
.challenge-card h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.challenge-card p {
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: #666;
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.impact-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: var(--space-md);
  border-top: 1px solid #F0F0F0;
  margin-top: auto;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-green);
}

.stat-label {
  font-size: 12px;
  color: var(--color-gray-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== PROFESSIONAL STATS BANNER ===== */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
  padding: var(--space-3xl) var(--space-xl);
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  margin-top: var(--space-3xl);
  border: 1px solid var(--color-gray-light);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-green);
  display: block;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-gray-medium);
  display: block;
}

/* ===== PROFESSIONAL TESTIMONIALS ===== */
.testimonial-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--border-radius);
  padding: var(--space-2xl) var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.testimonial-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto var(--space-lg);
  object-fit: cover;
  filter: grayscale(100%);
}

.testimonial-quote {
  font-size: var(--font-size-xl);
  color: var(--color-navy);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
  quotes: """ """ "'" "'";
}

.testimonial-quote:before {
  content: open-quote;
}

.testimonial-quote:after {
  content: close-quote;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-navy);
  font-size: var(--font-size-sm);
}

.testimonial-business {
  color: var(--color-gray-medium);
  font-size: var(--font-size-sm);
}

/* ===== PROFESSIONAL FORM STYLES ===== */
.form-group {
  margin-bottom: var(--space-lg);
}

/* More compact form spacing for consultation section */
.consultation-form .form-group {
  margin-bottom: 18px; /* Reduced from 24px for more compact layout */
}

/* Compact CTA section styling */
.compact-cta-section {
  padding: 55px 0; /* Moderately reduced for more compact layout */
}

.compact-consultation-form .form-group {
  margin-bottom: 16px; /* Further reduced for compact form */
}

.form-row-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0; /* Remove margin, let form-group handle spacing */
}

.form-row-compact .form-group {
  margin-bottom: 16px;
}

/* Mobile responsive for compact form */
@media (max-width: 640px) {
  .form-row-compact {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--color-gray-dark);
  font-size: var(--font-size-sm);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-gray-light);
  border-radius: var(--border-radius);
  font-size: var(--font-size-base);
  font-family: var(--font-primary);
  transition: var(--transition);
  background-color: var(--color-white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-navy);
}

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

.form-error {
  color: #E74C3C;
  font-size: var(--font-size-sm);
  margin-top: var(--space-xs);
}

.form-success {
  background-color: #D4EDDA;
  color: #155724;
  padding: var(--space-md);
  border-radius: var(--border-radius);
  margin-top: var(--space-md);
  border: 1px solid #C3E6CB;
}

/* ===== PROFESSIONAL SERVICE TIERS ===== */
.tier-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--border-radius);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.tier-card.popular {
  border: 2px solid var(--color-navy);
}

.tier-card.popular::before {
  content: "POPULAR";
  position: absolute;
  top: -12px;
  right: var(--space-lg);
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 4px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tier-card:hover {
  box-shadow: var(--shadow-md);
}

.tier-card h3 {
  font-size: 28px;
  color: var(--color-navy);
  margin-bottom: var(--space-md);
}

.tier-price {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-green);
  margin: var(--space-md) 0;
}

.tier-card > p {
  font-size: var(--font-size-sm);
  color: var(--color-gray-medium);
  margin-bottom: var(--space-lg);
}

.tier-features {
  list-style: none;
  margin: var(--space-lg) 0;
  text-align: left;
  flex-grow: 1;
}

.tier-features li {
  padding: var(--space-md) 0;
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: var(--font-size-base);
  color: var(--color-gray-dark);
  border-bottom: 1px solid var(--color-gray-light);
}

.tier-features li:last-child {
  border-bottom: none;
}

.tier-features li::before {
  content: "✓";
  color: var(--color-green);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.tier-card .btn {
  margin-top: var(--space-lg);
  width: 100%;
}

/* ===== PROFESSIONAL PRICING TABLE ===== */
.pricing-table {
  background-color: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin: var(--space-3xl) 0;
  border: none;
}

.pricing-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.pricing-table th,
.pricing-table td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid #F0F0F0;
}

.pricing-table thead tr th:first-child {
  border-top-left-radius: 12px;
}

.pricing-table thead tr th:last-child {
  border-top-right-radius: 12px;
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}

.pricing-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

.pricing-table th {
  background-color: var(--color-navy);
  color: var(--color-white);
  font-weight: 600;
  text-align: center;
  font-size: var(--font-size-lg);
  border-bottom: none;
}

.pricing-table td:first-child {
  font-weight: 500;
  color: var(--color-gray-dark);
  background-color: #FAFAFA;
}

.pricing-table td:not(:first-child) {
  text-align: center;
}

.pricing-table tbody tr {
  transition: background-color 0.2s ease;
}

.pricing-table tbody tr:hover td:not(:first-child) {
  background-color: #F9F9F9;
}

.checkmark {
  color: var(--color-green);
  font-size: 22px;
  font-weight: 700;
}

.crossmark {
  color: #CCCCCC;
  font-size: 22px;
  font-weight: 700;
}

/* ===== PROFESSIONAL CASE STUDY STYLES ===== */
.case-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  margin-bottom: var(--space-4xl);
}

/* Alternate case study layout - image on right for reversed sections */
.case-study.reverse {
  direction: rtl;
}

.case-study.reverse > * {
  direction: ltr;
}

.case-study-image img {
  border-radius: var(--border-radius);
  /* Removed box-shadow to prevent white box effect */
  background: transparent;
}

.case-study-content {
  padding: 0;
}

.case-study-label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-gray-medium);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.5px;
  display: block;
}

.case-study-title {
  margin-bottom: var(--space-md);
}

/* Case study section headings */
.section-heading {
  margin-top: var(--space-lg);
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.section-heading.challenge {
  color: #E74C3C;
}

.section-heading.solution {
  color: #17A2B8;
}

.section-heading.results {
  color: var(--color-green);
}

/* Case study results grid */
.case-study-results {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-lg);
}

.case-study-results > div {
  flex: 1;
}

.result-metric {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-green);
  display: block;
  line-height: 1.2;
  margin-bottom: var(--space-xs);
}

.result-label {
  color: var(--color-gray-medium);
  font-size: var(--font-size-sm);
  display: block;
}

/* Testimonial box styling */
.testimonial-box {
  background-color: var(--color-off-white);
  padding: var(--space-md);
  border-radius: var(--border-radius);
  margin-top: var(--space-lg);
  border-left: 4px solid var(--color-green);
}

.testimonial-box p {
  margin: 0;
}

.testimonial-box .quote {
  font-style: italic;
  color: var(--color-gray-dark);
  margin-bottom: var(--space-sm);
}

.testimonial-box .author {
  font-weight: 600;
  color: var(--color-navy);
  margin-top: var(--space-sm);
}

/* ===== PROFESSIONAL FOOTER ===== */
.footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-logo img {
  height: 50px;
  margin-bottom: var(--space-md);
  filter: brightness(0) invert(1);
}

.footer-links h4 {
  color: var(--color-white);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-md);
}

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

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  text-decoration: none;
  font-weight: 400;
}

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

.footer-contact p {
  margin-bottom: var(--space-sm);
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--space-md);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-sm);
}

/* ===== ENHANCED PROCESS TIMELINE ===== */
.getting-started {
  background: var(--color-white);
  padding: 60px 0; /* Moderately reduced for more compact section */
}

.getting-started .section-header {
  margin-bottom: 40px; /* Reduced for compact spacing */
}

.process-timeline {
  max-width: 900px;
  margin: 0 auto 40px; /* Reduced */
  position: relative;
}

.process-step {
  display: grid;
  grid-template-columns: 90px 1fr; /* Slightly reduced */
  gap: 28px; /* Moderately reduced */
  margin-bottom: 40px; /* Moderately reduced for more compact layout */
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.step-number {
  width: 60px; /* Moderately reduced */
  height: 60px; /* Moderately reduced */
  background: linear-gradient(135deg, var(--color-navy), #004080);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0,51,102,0.2);
  transition: all 0.4s ease;
}

.step-number span {
  font-size: 22px; /* Moderately reduced */
  font-weight: 700;
  color: white;
}

.step-connector {
  width: 2px;
  height: 55px; /* Moderately reduced for compact layout */
  background: linear-gradient(to bottom, var(--color-gray-light), transparent);
  margin-top: 12px;
}

.process-step:last-child .step-connector {
  display: none;
}

.step-content {
  background: var(--color-off-white);
  border: 1px solid var(--color-gray-light);
  border-radius: 12px;
  padding: 24px; /* Moderately reduced for more compact layout */
  position: relative;
  transition: all 0.4s ease;
}

.step-content::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 24px; /* Adjusted to match reduced padding */
  width: 20px;
  height: 20px;
  background: var(--color-off-white);
  border-left: 1px solid var(--color-gray-light);
  border-bottom: 1px solid var(--color-gray-light);
  transform: rotate(45deg);
}

.step-icon {
  width: 44px; /* Slightly reduced */
  height: 44px; /* Slightly reduced */
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px; /* Reduced */
  transition: all 0.3s ease;
}

.step-icon svg {
  width: 22px; /* Slightly reduced */
  height: 22px; /* Slightly reduced */
  stroke: var(--color-navy);
}

.step-content h3 {
  font-size: 22px; /* Slightly reduced */
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 10px; /* Reduced */
}

.step-content p {
  font-size: 15px; /* Slightly reduced */
  line-height: 1.5;
  color: #666;
  margin-bottom: 18px; /* Reduced */
}

.step-details {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0; /* Reduced */
  display: flex;
  flex-wrap: wrap;
  gap: 14px; /* Slightly reduced */
}

.step-details li {
  font-size: 14px;
  color: var(--color-green);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-details li::before {
  content: '✓';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--color-green);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  font-size: 12px;
  flex-shrink: 0;
}

.process-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0,51,102,0.3);
}

.process-step:hover .step-content {
  background: white;
  border-color: var(--color-green);
  box-shadow: 0 8px 24px rgba(141,198,63,0.12);
  transform: translateX(8px);
}

.process-step:hover .step-icon {
  background: var(--color-green);
}

.process-step:hover .step-icon svg {
  stroke: white;
}

.cta-wrapper {
  text-align: center;
  margin-top: var(--space-3xl);
}

.cta-subtext {
  margin-top: var(--space-md);
  font-size: 14px;
  color: var(--color-gray-medium);
}

/* Legacy timeline support - keep for backwards compatibility */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3xl);
  position: relative;
  margin-top: var(--space-2xl);
}

.timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background-color: var(--color-gray-light);
  z-index: 0;
}

.timeline-step {
  text-align: center;
  position: relative;
}

.timeline-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--color-navy);
  background-color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 auto var(--space-lg);
  position: relative;
  z-index: 1;
}

.timeline-step h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-md);
}

.timeline-step p {
  color: var(--color-gray-medium);
  font-size: var(--font-size-base);
  margin: 0 auto;
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-gray-light);
  z-index: 9999;
}

.scroll-progress-bar {
  height: 100%;
  background: linear-gradient(to right, var(--color-green), #7AB52F);
  width: 0%;
  transition: width 0.1s ease;
}

/* ===== NAVIGATION SCROLL ANIMATION ===== */
/* Navbar animations - extends existing .navbar styles */

.navbar.scrolled {
  height: 64px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar.scrolled .nav-logo img {
  height: 40px; /* Increased from 36px to match larger default logo */
}

/* ===== FADE-IN ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-stagger {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-stagger:nth-child(1) { transition-delay: 0s; }
.fade-in-stagger:nth-child(2) { transition-delay: 0.1s; }
.fade-in-stagger:nth-child(3) { transition-delay: 0.2s; }
.fade-in-stagger:nth-child(4) { transition-delay: 0.3s; }
.fade-in-stagger:nth-child(5) { transition-delay: 0.4s; }
.fade-in-stagger:nth-child(6) { transition-delay: 0.5s; }

.fade-in-stagger.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --space-4xl: 80px;
  }

  h1 {
    font-size: var(--font-size-3xl);
  }

  h2 {
    font-size: 32px;
  }

  .hero-content,
  .case-study {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

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

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

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

  .timeline::before {
    display: none;
  }

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

/* Mobile */
@media (max-width: 768px) {
  :root {
    --space-4xl: 60px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 24px;
  }

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

  /* Hero Image Bar - Mobile */
  .hero-image-bar {
    flex-direction: column !important;
    gap: 16px !important;
  }

  .hero-image-bar > div {
    max-width: 100% !important;
  }

  /* Mobile Navigation */
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--color-white);
    flex-direction: column;
    padding: var(--space-4xl) var(--space-xl);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    align-items: flex-start;
    gap: var(--space-lg);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-item {
    width: 100%;
  }

  .nav-item.cta .btn {
    width: 100%;
  }

  /* Grid adjustments */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stats-banner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* Timeline */
  .timeline {
    grid-template-columns: 1fr;
  }

  .tier-card {
    margin-bottom: var(--space-lg);
  }

  /* Enhanced sections responsive */
  .challenges-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    grid-template-columns: 54px 1fr; /* Moderately reduced */
    gap: 20px; /* Reduced */
    margin-bottom: 32px; /* Moderately reduced for more compact mobile layout */
  }

  .step-number {
    width: 52px; /* Smaller for mobile */
    height: 52px; /* Smaller for mobile */
  }

  .step-number span {
    font-size: 17px; /* Smaller for mobile */
  }

  .step-connector {
    height: 42px; /* Moderately reduced for more compact mobile layout */
  }

  .step-content {
    padding: 18px; /* Moderately reduced for more compact mobile layout */
  }

  .step-content::before {
    left: -8px;
    width: 16px;
    height: 16px;
  }

  /* Simplify animations on mobile */
  .fade-in,
  .fade-in-stagger {
    transition-duration: 0.3s !important;
  }
}

/* ===== PROFESSIONAL ANIMATIONS ===== */
/* Animations now handled by enhanced system above */

/* ===== ACCESSIBILITY ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus states */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--color-navy);
  outline-offset: 2px;
}

/* Skip to main content link */
.skip-to-main {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-green);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-to-main:focus {
  top: 0;
}

/* ===== UTILITY CLASSES ===== */
.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }

.text-white { color: var(--color-white); }
.text-gray { color: var(--color-gray-medium); }

.max-width-prose {
  max-width: 75ch;
  margin-left: auto;
  margin-right: auto;
}

.text-center .max-width-prose {
  text-align: center;
}
