﻿/* Fresh N Funky Catering - Staff Meal Program Landing Page */
/* Design System: Professional Corporate with Navy/Blue/Green palette */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* CSS Variables - Design System */
:root {
  /* Colors - Professional Navy + Blue CTA */
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-cta: #0369A1;
  --color-background: #F8FAFC;
  --color-text: #020617;
  --color-text-muted: #475569;
  --color-accent: #10b981;
  --color-white: #ffffff;
  --color-border: #E2E8F0;

  /* Typography */
  --font-heading: 'Lexend', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 200ms ease;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--space-md) 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: var(--space-sm) 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-secondary);
  font-size: 0.9375rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-cta);
  transition: width 0.3s ease;
}

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

.nav-link:hover::after {
  width: 100%;
}

.btn-nav {
  padding: 10px 20px !important;
  font-size: 0.875rem !important;
}

/* Common Utilities */
.text-accent {
  color: var(--color-accent);
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--color-cta) 0%, #0284c7 100%);
  color: var(--color-white);
  padding: 16px 36px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.0625rem;
  border: none;
  cursor: pointer;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  font-family: var(--font-heading);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(3, 105, 161, 0.3);
  text-align: center;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  padding: 16px 36px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.0625rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 300ms ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-block;
  font-family: var(--font-heading);
  text-align: center;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

.hero-btns {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(3, 105, 161, 0.4);
}

/* Section Styling */
section {
  padding: var(--space-3xl) 0;
}

.section-title {
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: var(--space-2xl);
  color: var(--color-primary);
}

/* ===== SECTION 1: HERO ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  overflow: hidden;
}

/* Hero Image - Full background */
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark overlay on the image for text readability */
.hero-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(15, 23, 42, 0.85) 0%,
      rgba(30, 58, 95, 0.75) 50%,
      rgba(15, 23, 42, 0.85) 100%);
  z-index: 1;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwMCIgaGVpZ2h0PSIxMDAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxwYXR0ZXJuIGlkPSJncmlkIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiPjxwYXRoIGQ9Ik0gNDAgMCBMIDAgMCAwIDQwIiBmaWxsPSJub25lIiBzdHJva2U9IndoaXRlIiBzdHJva2Utb3BhY2l0eT0iMC4wNSIgc3Ryb2tlLXdpZHRoPSIxIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2dyaWQpIi8+PC9zdmc+');
  opacity: 0.3;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-2xl);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--space-sm) var(--space-lg);
  border-radius: 50px;
  margin-bottom: var(--space-xl);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 500;
  font-size: 0.9375rem;
  animation: fadeInDown 0.8s ease-out;
}

.trust-icon {
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: var(--space-lg);
  color: var(--color-white);
  font-weight: 700;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  margin-bottom: var(--space-2xl);
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-section .btn-primary {
  animation: fadeInUp 0.8s ease-out 0.6s both;
  background: var(--color-cta);
  box-shadow: 0 4px 20px rgba(3, 105, 161, 0.4);
}

.hero-section .btn-primary:hover {
  box-shadow: 0 8px 30px rgba(3, 105, 161, 0.5);
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SECTION 2: CASE STUDY ===== */
.case-study-section {
  background: var(--color-white);
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

/* Case Study Image - Centered */
.case-study-image {
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.case-study-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.case-study-image:hover img {
  transform: scale(1.03);
}

/* Decorative accents for the case study image */
.case-study-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  border-left: 4px solid var(--color-cta);
  border-top: 4px solid var(--color-cta);
  z-index: 1;
  pointer-events: none;
}

.case-study-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  border-right: 4px solid var(--color-accent);
  border-bottom: 4px solid var(--color-accent);
  z-index: 1;
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.stat-card {
  background: var(--color-background);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 300ms ease;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-cta), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-cta);
}

.stat-number {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-cta), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-md);
  color: var(--color-cta);
}

.stat-label {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.case-study-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.case-study-text p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: var(--space-xl);
}

/* ===== SECTION 3: HOW IT WORKS ===== */
.how-it-works-section {
  background: var(--color-background);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-xl);
}

.step-card {
  background: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 200ms ease;
  position: relative;
  cursor: pointer;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 40px;
  height: 40px;
  background: var(--color-cta);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
}

.step-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.step-title {
  font-size: 1.375rem;
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.step-description {
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== SECTION 4: BENEFITS ===== */
.benefits-section {
  background: var(--color-white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-xl);
}

.benefit-card {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--color-background);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  border: 1px solid transparent;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  background: var(--color-white);
  border-color: rgba(3, 105, 161, 0.2);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  color: var(--color-cta);
  background: rgba(3, 105, 161, 0.1);
  border-radius: 50%;
  padding: 14px;
  transition: all 300ms ease;
}

.benefit-card:hover .benefit-icon {
  background: var(--color-cta);
  color: var(--color-white);
  transform: scale(1.1);
}

.benefit-title {
  font-size: 1.375rem;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.benefit-description {
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== SECTION 5: TARGET INDUSTRIES ===== */
.target-section {
  background: var(--color-background);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.industry-item {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 200ms ease;
  cursor: pointer;
}

.industry-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-cta);
}

.industry-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-md);
  color: var(--color-cta);
}

.industry-label {
  font-weight: 500;
  color: var(--color-primary);
  font-size: 1.0625rem;
}

.target-subtext {
  text-align: center;
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* ===== SECTION 6: TRUST SIGNALS ===== */
.trust-section {
  background: var(--color-white);
}

.trust-header {
  margin-bottom: var(--space-2xl);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  max-width: 1000px;
  margin: 0 auto;
}

.client-logo {
  background: var(--color-background);
  padding: var(--space-2xl);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all 200ms ease;
  min-height: 120px;
}

.client-logo:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.logo-placeholder {
  font-weight: 600;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.125rem;
}

/* ===== SECTION 7: TESTIMONIAL ===== */
.testimonial-section {
  background: linear-gradient(180deg, var(--color-background) 0%, var(--color-white) 100%);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(3, 105, 161, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.testimonial-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--color-white);
  padding: var(--space-3xl) var(--space-3xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  position: relative;
  border: 1px solid var(--color-border);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-cta), var(--color-accent), var(--color-cta));
  background-size: 200% 100%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.quote-icon {
  width: 72px;
  height: 72px;
  color: var(--color-cta);
  opacity: 0.15;
  margin-bottom: var(--space-lg);
}

.testimonial-text {
  font-size: 1.5rem;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: var(--space-xl);
  font-style: italic;
  position: relative;
}

.author-info {
  border-top: 2px solid var(--color-border);
  padding-top: var(--space-lg);
}

.author-name {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  font-family: var(--font-heading);
}

.author-title {
  color: var(--color-text-muted);
}

/* ===== SECTION 8: FORM ===== */
.form-section {
  background: var(--color-white);
}

.form-subtext {
  text-align: center;
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2xl);
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-background);
  padding: var(--space-3xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.required {
  color: #dc2626;
}

.form-input,
.form-textarea {
  padding: 14px var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: all 200ms ease;
  background: var(--color-white);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-cta);
  outline: none;
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.1);
}

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

.btn-submit {
  width: 100%;
  margin-top: var(--space-lg);
  padding: 16px;
  font-size: 1.125rem;
}

.form-alternative {
  text-align: center;
  margin-top: var(--space-xl);
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

.phone-link {
  color: var(--color-cta);
  font-weight: 600;
  transition: opacity 200ms ease;
}

.phone-link:hover {
  opacity: 0.8;
}

/* ===== SECTION 9: FOOTER ===== */
.footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: var(--space-sm);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.contact-item svg {
  flex-shrink: 0;
  stroke: var(--color-accent);
}

.contact-item a {
  transition: color 200ms ease;
}

.contact-item a:hover {
  color: var(--color-accent);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-link {
  transition: color 200ms ease;
}

.footer-link:hover {
  color: var(--color-accent);
}

.footer-separator {
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.875rem;
  }

  .hero-section {
    min-height: 100vh;
    padding: var(--space-2xl) 0;
  }

  .hero-content {
    padding: var(--space-lg);
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  /* Hide decorative elements on mobile */
  .case-study-image::before,
  .case-study-image::after {
    display: none;
  }

  .testimonial-card {
    padding: var(--space-xl);
  }

  .testimonial-text {
    font-size: 1.125rem;
  }

  .stats-grid,
  .steps-grid,
  .benefits-grid,
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .contact-item {
    justify-content: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.header { background: #e5e7eb; /* light grey – close to your screenshot */ }

.footer {
    background: #111827; /* soft black / charcoal */
}

.footer-logo img {
    height: 60px;
    width: auto;
    background: #ffffff;
    padding: 10px 14px;
    border-radius: 999px;
    transform: scale(1.6);
    transform-origin: center;
    display: inline-block;
}

.highlight-name {
    color: var(--color-primary);      /* strong brand colour */
    font-weight: 700;
    position: relative;
}

/* Optional subtle underline accent */
.highlight-name::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 4px;
    background: var(--color-accent);
    border-radius: 2px;
}

.client-logo img {
    max-height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- Trust logos: consistent sizing --- */

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.client-logo {
    background: #f8fafc;
    border-radius: 16px;
    height: 140px;                 /* FIXED logo container height */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.client-logo img {
    max-height: 70px;              /* SAME visual weight */
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: all 0.2s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Slight boost for Hitachi logo (visually smaller asset) */
.logo-hitachi img {
    max-height: 200px;   /* default was ~70px */
}

.section-divider {
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        #10b981,
        transparent
    );
    margin: 4rem 0;
    opacity: 0.6;
}

/* ---------- Mobile nav toggle button ---------- */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

/* ---------- Responsive header layout ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  /* Make sure header row behaves */
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  /* Hide nav by default */
  .nav,
  .nav-links {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    background: rgba(255,255,255,0.98);
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    z-index: 9999;
  }

  /* Show when open */
  .nav.open,
  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* Make links easier to tap */
  .nav a,
  .nav-links a {
    padding: 10px 12px;
    border-radius: 10px;
  }

  /* Ensure any "button" link fits mobile width nicely */
  .btn-nav,
  .btn-primary,
  .btn-warm {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ===== Mobile header fixes ===== */
@media (max-width: 520px) {
  html, body {
    overflow-x: hidden; /* kills the grey blob caused by horizontal overflow */
  }

  .header {
    width: 100%;
  }

  /* Make sure your top container has breathing room */
  .nav-container,
  .container.nav-container {
    padding-left: 16px !important;
    padding-right: 16px !important; /* this fixes “Benefits” being too close to the edge */
  }

  /* Keep logo + nav aligned nicely */
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  /* Prevent any nav items causing overflow */
  nav, .nav, .nav-links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
    min-width: 0;
  }

  /* If links are long, don't push the layout wider */
  nav a, .nav a, .nav-links a {
    white-space: nowrap;
  }

  /* Images should never exceed viewport width */
  img {
    max-width: 100%;
    height: auto;
  }
}
