/* ===================================
   MAVIK Website Styles
   Premium B2B Design System
   =================================== */

/* Font Faces - Inter (locally hosted for GDPR compliance) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-v13-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-v13-latin-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-v13-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-v13-latin-700.woff2') format('woff2');
}

/* CSS Variables - Design System */
:root {
  /* Primary Blue Scale */
  --blue-primary: #0D5CDF;
  --blue-dark: #0942A1;
  --blue-secondary: #307AF3;
  --blue-light: #A1C2FA;
  --blue-lightest: #E8F0FE;
  
  /* Accent Green */
  --green-accent: #5CC27C;
  
  /* Neutrals */
  --text-primary: #1A1A1A;
  --text-secondary: #3A3A3A;
  --text-muted: #7A7A7A;
  --divider: #C7C7C7;
  --bg-soft: #F2F4F7;
  --bg-white: #FFFFFF;
  
  /* Typography */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing (8px system) */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 80px;
  --space-4xl: 120px;
  
  /* Layout */
  --max-width: 1200px;
  --border-radius: 4px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
}

/* ===================================
   Reset & Base Styles
   =================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-white);
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: 48px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 40px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 28px;
}

h4 {
  font-size: 24px;
}

p {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
}

a {
  color: var(--blue-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--blue-dark);
}

/* ===================================
   Layout Components
   =================================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

.section-alt {
  background-color: var(--bg-soft);
}

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

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

/* ===================================
   Header & Navigation
   =================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--divider);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.logo-image {
  height: 128px;
  width: auto;
  margin-right: -40px;
}

@media (max-width: 768px) {
  .logo-image {
    height: 80px;
    margin-right: -20px;
  }
}

@media (max-width: 375px) {
  .logo-image {
    height: 60px;
    margin-right: -15px;
  }
}

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

.nav-link {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
  padding: var(--space-xs);
  min-height: 44px; /* Touch target minimum */
  display: flex;
  align-items: center;
}

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

.lang-switch {
  display: flex;
  gap: var(--space-xs);
  margin-left: var(--space-md);
  padding-left: var(--space-md);
  border-left: 1px solid var(--divider);
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  color: var(--text-primary);
  background-color: var(--bg-soft);
}

.lang-btn.active {
  color: var(--blue-primary);
  background-color: var(--blue-lightest);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 21px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  transition: transform var(--transition-normal);
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.hamburger-open .hamburger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger-open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-open .hamburger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #0942A1, #072F7A, #0D5CDF, #0942A1);
  background-size: 400% 400%;
  animation: gradientFlow 40s ease infinite;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

/* Gradient animation */
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Geometric grid pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

/* Subtle radial overlay for depth */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(9, 66, 161, 0.3) 100%);
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: 64px;
  margin-bottom: var(--space-md);
  letter-spacing: 0.1em;
  color: var(--bg-white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-xl);
  font-weight: 300;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* ===================================
   Buttons
   =================================== */

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  min-height: 44px; /* Minimum touch target size */
  min-width: 44px;
}

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

.btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  color: var(--blue-dark);
}

.btn-secondary {
  background-color: transparent;
  color: var(--blue-primary);
  border: 2px solid var(--blue-primary);
}

.btn-secondary:hover {
  background-color: var(--blue-lightest);
}

/* ===================================
   Cards
   =================================== */

.card {
  background-color: var(--bg-white);
  border: 1px solid var(--divider);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  transition: all var(--transition-normal);
}

.card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.card-title {
  font-size: 24px;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.card-text {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===================================
   Grid Layouts
   =================================== */

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: stretch;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ===================================
   Company Section
   =================================== */

.company-intro {
  max-width: 900px;
  margin: 0 auto var(--space-4xl);
  text-align: center;
}

.intro-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.values-section {
  margin-top: var(--space-4xl);
}

.values-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: var(--space-3xl);
  color: var(--text-primary);
}

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

/* ===================================
   Values Cards - Premium Design
   =================================== */

.value-item {
  background-color: var(--bg-white);
  border: 1px solid var(--divider);
  border-radius: var(--border-radius);
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.value-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--blue-primary);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
  transform-origin: left;
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(13, 92, 223, 0.12);
  border-color: var(--blue-light);
}

.value-item:hover::before {
  transform: scaleX(1);
}

.value-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--blue-primary);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
}

.value-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===================================
   Services Section
   =================================== */

.service-card {
  background-color: var(--bg-white);
  padding: var(--space-xl);
  border-radius: var(--border-radius);
  border: 1px solid var(--divider);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--blue-primary);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
  transform-origin: left;
}

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

.service-card:hover {
  box-shadow: 0 8px 32px rgba(13, 92, 223, 0.12);
  transform: translateY(-4px);
  border-color: var(--blue-light);
}

/* Service Header with Icon */
.service-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

/* Service Icon */
.service-icon-wrapper {
  width: 64px;
  height: 64px;
  padding: var(--space-sm);
  background: linear-gradient(135deg, var(--blue-lightest), var(--bg-soft));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
  background: linear-gradient(135deg, var(--blue-light), var(--blue-lightest));
}

.service-icon {
  width: 40px;
  height: 40px;
  fill: var(--blue-primary);
}

.service-card h3 {
  font-size: 28px;
  margin-bottom: 0;
  color: var(--text-primary);
}

.service-headline {
  font-size: 18px;
  color: var(--blue-primary);
  margin-bottom: var(--space-md);
  font-weight: 600;
  line-height: 1.4;
}

.service-intro {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

/* Service Benefits */
.service-benefits {
  padding: var(--space-md);
  background-color: var(--bg-soft);
  border-radius: var(--border-radius);
  border-left: 3px solid var(--blue-primary);
  flex-shrink: 0;
  min-height: 360px;
}

.benefits-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 15px;
}

.benefits-list li:last-child {
  margin-bottom: 0;
}

.benefits-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-accent);
  font-weight: bold;
  font-size: 18px;
}

/* Expandable Details */
.service-details {
  margin-top: auto;
  padding-top: var(--space-lg);
}

.details-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  background-color: var(--blue-lightest);
  border: 1px solid var(--blue-light);
  border-radius: var(--border-radius);
  color: var(--blue-primary);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.details-toggle:hover {
  background-color: var(--blue-light);
  color: var(--bg-white);
  transform: translateY(-1px);
}

.toggle-icon {
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.details-toggle[aria-expanded="true"] .toggle-icon {
  transform: rotate(45deg);
}

.details-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 var(--space-md);
}

.details-content.expanded {
  max-height: 1000px;
  padding: var(--space-md);
  transition: max-height 0.5s ease-in, padding 0.5s ease-in;
}

.service-description {
  color: var(--text-secondary);
  line-height: 1.8;
  white-space: pre-line;
  font-size: 15px;
}

/* ===================================
   References Section
   =================================== */

.references-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3xl);
  align-items: center;
  padding: var(--space-xl) 0;
}

.reference-logo {
  height: 80px;
  opacity: 0.5;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(100%) brightness(1.1);
  transform: scale(1) translateX(0);
  cursor: pointer;
}

@media (max-width: 768px) {
  .reference-logo {
    height: 60px;
  }
  
  .reference-logo-large {
    height: 75px;
  }
}

@media (max-width: 600px) {
  .reference-logo {
    height: 50px;
  }
  
  .reference-logo-large {
    height: 65px;
  }
}

.reference-logo:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
  transform: scale(1.3) translateX(0);
  z-index: 10;
}

.reference-logo-large {
  height: 100px;
}

.reference-logo-large:hover {
  transform: scale(1.4) translateX(0);
}

/* Move other logos away when one is hovered */
.references-grid:has(.reference-logo:first-child:hover) .reference-logo:last-child {
  transform: translateX(40px) scale(0.95);
  opacity: 0.3;
}

.references-grid:has(.reference-logo:last-child:hover) .reference-logo:first-child {
  transform: translateX(-40px) scale(0.95);
  opacity: 0.3;
}

/* ===================================
   Team Section
   =================================== */

.team-profiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: var(--space-3xl);
  margin-top: var(--space-xl);
}

.team-profile {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-normal);
  position: relative;
}

.team-profile:hover {
  box-shadow: 0 4px 20px rgba(13, 92, 223, 0.12);
  transform: translateY(-4px);
}

/* Profile Header with Photo and Name */
.profile-header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  position: relative;
}

.profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--blue-lightest);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.profile-name-wrapper {
  flex: 1;
}

.profile-name-banner {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xs);
}

.profile-role {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

.profile-bio {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 15px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* Timeline Sections */
.profile-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  position: relative;
  padding-left: calc(60px + var(--space-lg));
}

.profile-timeline::before {
  content: '';
  position: absolute;
  left: 58.5px;
  top: calc(-1 * var(--space-xl) - 60px);
  bottom: var(--space-lg);
  width: 3px;
  background: var(--blue-primary);
}

.timeline-section {
  position: relative;
  padding-left: var(--space-lg);
}

.timeline-section::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-lg) - 7px);
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--blue-primary);
  border-radius: 50%;
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--blue-primary);
  z-index: 1;
  transform: translateX(-2px);
}

.timeline-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
}

.timeline-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.timeline-items li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: var(--space-md);
  position: relative;
}

.timeline-items li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
}

/* ===================================
   Contact Section
   =================================== */

.contact-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl) var(--space-2xl);
  margin-top: var(--space-2xl);
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .contact-info {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 400px;
    text-align: center;
  }
}

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

.contact-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.contact-value {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 15px;
}

.contact-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* ===================================
   Footer
   =================================== */

.footer {
  background-color: var(--text-primary);
  color: var(--bg-white);
  padding: var(--space-xl) 0 var(--space-md);
  margin-top: var(--space-4xl);
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
}

.footer-link {
  color: var(--bg-soft);
  font-size: 14px;
  transition: color var(--transition-fast);
}

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

.footer-copyright {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: var(--space-md);
  text-align: center;
}

/* ===================================
   Responsive Design
   =================================== */

/* Tablet Large (1024px and below) */
@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .container {
    padding: 0 var(--space-md);
  }
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
  /* Typography */
  h1 {
    font-size: 36px;
  }
  
  h2 {
    font-size: 32px;
  }
  
  h3 {
    font-size: 24px;
  }
  
  /* Hero Section */
  .hero {
    min-height: 100svh; /* Use svh for better mobile browser support */
    padding-top: 60px;
  }
  
  .hero-title {
    font-size: 42px;
  }
  
  .hero-subtitle {
    font-size: 18px;
    margin-bottom: var(--space-lg);
  }
  
  /* Header & Navigation */
  .header-container {
    padding: var(--space-sm) var(--space-md);
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    background-color: var(--bg-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    z-index: 999;
    padding: 60px var(--space-md);
  }
  
  .nav-open {
    transform: translateX(0);
  }
  
  .nav-link {
    font-size: 14px;
    padding: 6px var(--space-sm);
    min-height: auto;
    white-space: nowrap;
  }
  
  /* Sections */
  .section {
    padding: var(--space-3xl) 0;
  }
  
  .section-title {
    margin-bottom: var(--space-xl);
  }
  
  /* Values Grid */
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
  
  .value-item {
    padding: var(--space-md) var(--space-sm);
  }
  
  .value-title {
    font-size: 14px;
  }
  
  .value-text {
    font-size: 12px;
  }
  
  /* Service Cards */
  .service-card {
    padding: var(--space-lg);
  }
  
  .service-card h3 {
    font-size: 24px;
  }
  
  .service-headline {
    font-size: 16px;
  }
  
  .service-icon-wrapper {
    width: 56px;
    height: 56px;
  }
  
  .service-icon {
    width: 36px;
    height: 36px;
  }
  
  .service-header {
    gap: var(--space-sm);
  }
  
  .benefits-title {
    font-size: 14px;
  }
  
  .benefits-list li {
    font-size: 14px;
  }
  
  /* Text */
  .intro-text {
    font-size: 16px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
  
  /* Buttons - Touch optimized */
  .btn {
    padding: 16px 32px;
    font-size: 16px;
    min-height: 48px; /* Touch target minimum */
  }
  
  /* Team Profiles */
  .team-profiles {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .team-profile {
    padding: var(--space-lg);
  }
  
  .profile-header {
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
  }
  
  .profile-photo {
    width: 100px;
    height: 100px;
  }
  
  .profile-name-banner {
    font-size: 26px;
  }
  
  .profile-timeline {
    gap: var(--space-lg);
    padding-left: calc(50px + var(--space-lg));
  }
  
  .profile-timeline::before {
    width: 2px;
    left: 49px;
    top: calc(-1 * var(--space-lg) - 50px);
  }
  
  .timeline-section::before {
    left: calc(-1 * var(--space-lg) - 6px);
    width: 12px;
    height: 12px;
    border-width: 2px;
    transform: translateX(-1.5px);
  }
  
  .timeline-title {
    font-size: 16px;
  }
  
  .timeline-items li {
    font-size: 14px;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

/* Mobile Large (600px and below) */
@media (max-width: 600px) {
  /* Typography */
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  /* Hero */
  .hero-title {
    font-size: 36px;
    letter-spacing: 0.05em;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  /* Container */
  .container {
    padding: 0 var(--space-sm);
  }
  
  /* Sections */
  .section {
    padding: var(--space-2xl) 0;
  }
  
  .section-title {
    margin-bottom: var(--space-lg);
  }
  
  /* Values Grid - Single column on small mobile */
  .values-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  
  /* Service Cards */
  .service-card {
    padding: var(--space-md);
  }
  
  .service-icon-wrapper {
    width: 48px;
    height: 48px;
  }
  
  .service-icon {
    width: 28px;
    height: 28px;
  }
  
  .service-header {
    gap: var(--space-sm);
  }
  
  .service-card h3 {
    font-size: 20px;
  }
  
  .service-intro {
    font-size: 15px;
  }
  
  .benefits-list li {
    font-size: 13px;
  }
  
  /* Team Profiles */
  .team-profile {
    padding: var(--space-md);
  }
  
  .profile-header {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
  }
  
  .profile-photo {
    width: 100px;
    height: 100px;
  }
  
  .profile-name-banner {
    font-size: 24px;
  }
  
  .profile-timeline {
    gap: var(--space-md);
    padding-left: calc(50px + var(--space-md));
  }
  
  .profile-timeline::before {
    width: 2px;
    left: 49px;
    top: calc(-1 * var(--space-md) - 50px);
    bottom: var(--space-md);
  }
  
  .timeline-section {
    padding-left: var(--space-md);
  }
  
  .timeline-section::before {
    left: calc(-1 * var(--space-md) - 5px);
    width: 10px;
    height: 10px;
    border-width: 2px;
    box-shadow: 0 0 0 1px var(--blue-primary);
    transform: translateX(-1.5px);
  }
  
  .timeline-title {
    font-size: 15px;
    margin-bottom: var(--space-sm);
  }
  
  .timeline-items {
    gap: var(--space-xs);
  }
  
  .timeline-items li {
    font-size: 13px;
    padding-left: var(--space-sm);
  }
  
  .timeline-items li::before {
    font-size: 16px;
  }
  
  /* Contact */
  .contact-info {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* Mobile Small (375px and below) */
@media (max-width: 375px) {
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 14px;
  }
  
  .logo {
    font-size: 20px;
  }
  
  .logo-image {
    height: 36px;
  }
  
  .btn {
    padding: 14px 24px;
    font-size: 14px;
  }
  
  .value-title {
    font-size: 13px;
  }
  
  .value-text {
    font-size: 11px;
  }
}

/* ===================================
   Utility Classes
   =================================== */

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

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

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

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

.hidden {
  display: none;
}

/* Smooth fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}
