/* ============================================
   EMPOWERED LIVING SLS — Main Stylesheet
   Modern & Clean Design System
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* --- Custom Properties --- */
:root {
  /* Colors — Empowered Living SLS Brand */
  --color-primary: #37ca37;
  --color-primary-dark: #2ba82b;
  --color-primary-light: #e6f9e6;
  --color-primary-rgb: 55, 202, 55;
  --color-secondary: #1C3CB7;
  --color-secondary-light: #2a4fd4;
  --color-accent: #188bf6;
  --color-accent-dark: #0f6fcc;
  --color-text: #1A1A2E;
  --color-text-light: #555B6E;
  --color-text-inverse: #FFFFFF;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F5F8FC;
  --color-bg-dark: #1C3CB7;
  --color-border: #E0E4E8;
  --color-success: #37ca37;
  --color-error: #E63946;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --fs-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --fs-lg: clamp(1.125rem, 1rem + 0.6vw, 1.35rem);
  --fs-xl: clamp(1.35rem, 1.1rem + 1.2vw, 1.75rem);
  --fs-2xl: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  --fs-3xl: clamp(2.25rem, 1.5rem + 3.5vw, 3.5rem);

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

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 200ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
}

/* --- Base Typography --- */
body {
  font-family: var(--font-family);
  font-size: var(--fs-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-secondary);
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
  color: var(--color-text);
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }

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

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

.section-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-inverse);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-text-inverse);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.85);
}

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

.label {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xs);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  max-width: 640px;
  margin: 0 auto;
}

/* Grid Utilities */
.grid {
  display: grid;
  gap: var(--space-lg);
}

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

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

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

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

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  z-index: 10000;
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-xs);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.75em 1.75em;
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background-color: var(--color-text-inverse);
  color: var(--color-secondary);
  border-color: var(--color-text-inverse);
}

.btn-white:hover {
  background-color: transparent;
  color: var(--color-text-inverse);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1em 2.25em;
  font-size: var(--fs-lg);
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow var(--transition-base), background-color var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
}

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

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

.logo img {
  height: 50px;
  width: auto;
  flex-shrink: 0;
}

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

.nav-list {
  display: none;
  align-items: center;
  gap: var(--space-md);
}

.nav-link {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text);
  padding: 0.5em 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25em;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-dropdown-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-xs) 0;
  z-index: 100;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.5rem;
  left: 0;
  right: 0;
  height: 0.5rem;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.625rem var(--space-md);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.nav-dropdown-menu a:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

/* Mobile Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-secondary);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-bg);
  z-index: 999;
  padding: calc(var(--header-height) + var(--space-lg)) var(--space-md) var(--space-lg);
  overflow-y: auto;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mobile-menu .nav-list-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.mobile-menu .nav-link {
  font-size: var(--fs-xl);
}

.mobile-menu .mobile-dropdown-items {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding-top: var(--space-xs);
}

.mobile-menu .mobile-dropdown-items.active {
  display: flex;
}

.mobile-menu .mobile-dropdown-items a {
  font-size: var(--fs-lg);
  color: var(--color-text-light);
  transition: color var(--transition-fast);
}

.mobile-menu .mobile-dropdown-items a:hover {
  color: var(--color-primary);
}

.mobile-menu .btn {
  margin-top: var(--space-md);
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }

  .nav-list {
    display: flex;
  }

  .mobile-menu {
    display: none !important;
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: calc(var(--header-height) + var(--space-xl)) var(--space-md) var(--space-xl);
  background:
    linear-gradient(135deg, rgba(14, 30, 90, 0.92) 0%, rgba(20, 45, 130, 0.88) 40%, rgba(20, 80, 30, 0.9) 100%),
    url('../images/hero-bg.webp') center top / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

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

.hero h1 {
  color: var(--color-text-inverse);
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-lg);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll svg {
  width: 32px;
  height: 32px;
  color: rgba(255, 255, 255, 0.6);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* Inner Page Hero */
.hero-inner {
  min-height: 40vh;
  padding: calc(var(--header-height) + var(--space-xl)) var(--space-md) var(--space-xl);
}

.hero-inner .hero-content {
  max-width: 700px;
}

.hero-inner h1 {
  font-size: var(--fs-2xl);
}

.breadcrumb {
  padding: var(--space-sm) 0;
  font-size: var(--fs-sm);
  background-color: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.breadcrumb a {
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-primary-dark);
}

.breadcrumb span {
  color: var(--color-text-light);
}

.breadcrumb .separator {
  font-size: 0.75em;
}

/* Breadcrumb inside hero (alternate placement) */
.hero-inner .breadcrumb {
  padding: 0;
  background: none;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  margin-bottom: var(--space-sm);
}

.hero-inner .breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.hero-inner .breadcrumb a:hover {
  color: var(--color-text-inverse);
}

.hero-inner .breadcrumb span {
  color: rgba(255, 255, 255, 0.7);
}

/* --- Cards --- */
.card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-light);
  border-radius: var(--radius-md);
  margin: 0 auto var(--space-md);
  color: var(--color-primary);
}

.card h3 {
  text-align: center;
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card h3 {
  margin-bottom: var(--space-xs);
}

.card p {
  margin-bottom: var(--space-md);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-weight: 600;
  color: var(--color-primary);
  transition: gap var(--transition-fast);
}

.card-link:hover {
  gap: 0.6em;
}

.card-link svg {
  width: 18px;
  height: 18px;
}

/* --- Team Cards --- */
.team-card {
  text-align: center;
  padding: var(--space-lg);
}

.team-card .avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary-light), #d4eae7);
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-card .avatar svg {
  width: 60px;
  height: 60px;
  color: var(--color-primary);
}

.team-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  margin-bottom: 0.25em;
}

.team-card .role {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

/* --- Process Steps / Timeline --- */
.process-steps {
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: var(--space-md);
  padding-bottom: var(--space-lg);
  position: relative;
}

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

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-weight: 700;
  font-size: var(--fs-lg);
  border-radius: var(--radius-full);
  position: relative;
  z-index: 1;
}

.process-step:not(:last-child) .step-number::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + var(--space-lg));
  background: var(--color-border);
  z-index: -1;
}

.step-content {
  padding-top: 0.5em;
}

.step-content h3 {
  margin-bottom: var(--space-xs);
}

/* --- Principles / Values List --- */
.principles {
  max-width: 800px;
  margin: 0 auto;
  counter-reset: principle;
}

.principle {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.principle:last-child {
  border-bottom: none;
}

.principle-number {
  flex-shrink: 0;
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  min-width: 48px;
}

.principle h3 {
  margin-bottom: 0.25em;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  font-weight: 600;
  font-size: var(--fs-lg);
  color: var(--color-secondary);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition-fast);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  display: none;
  content: '';
}

.faq-item summary:hover {
  color: var(--color-primary);
}

.faq-item summary .chevron {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transition: transform var(--transition-base);
  color: var(--color-primary);
}

.faq-item[open] summary .chevron {
  transform: rotate(180deg);
}

.faq-item .faq-content {
  padding: 0 var(--space-md) var(--space-md);
}

.faq-item .faq-content p {
  margin-bottom: var(--space-sm);
}

.faq-item .faq-content ul {
  list-style: disc;
  padding-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

.faq-item .faq-content ul li {
  color: var(--color-text-light);
  margin-bottom: 0.35em;
  line-height: 1.6;
}

/* --- Forms --- */
.form-group {
  margin-bottom: var(--space-md);
}

.form-row {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 0.375em;
}

.form-label .required {
  color: var(--color-error);
  margin-left: 0.15em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75em 1em;
  font-size: var(--fs-base);
  color: var(--color-text);
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15);
}

.form-input.error,
.form-textarea.error {
  border-color: var(--color-error);
}

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

.form-error {
  font-size: var(--fs-xs);
  color: var(--color-error);
  margin-top: 0.25em;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-status {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 500;
  margin-top: var(--space-md);
  display: none;
}

.form-status.success {
  display: block;
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-primary);
}

.form-status.error {
  display: block;
  background-color: #fdf2f2;
  color: var(--color-error);
  border: 1px solid var(--color-error);
}

/* Honeypot */
.form-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* --- Contact Info --- */
.contact-layout {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.contact-info-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.contact-info-item {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  margin-top: 0.15em;
}

.contact-info-item h4 {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25em;
}

.contact-info-item a {
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

.contact-info-item a:hover {
  color: var(--color-primary-dark);
}

/* Map Embed */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-top: var(--space-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary-dark) 100%);
}

.cta-section h2 {
  color: var(--color-text-inverse);
  margin-bottom: var(--space-sm);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

/* --- Footer --- */
.footer {
  background-color: var(--color-bg-dark);
  color: var(--color-text-inverse);
  padding: var(--space-2xl) 0 0;
}

.footer-grid {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

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

.footer h3 {
  color: var(--color-text-inverse);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-md);
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.footer-brand {
  max-width: 350px;
}

.footer-brand .logo {
  margin-bottom: var(--space-sm);
  color: var(--color-text-inverse);
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-sm);
  padding: 0.35em 0;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-primary);
  padding-left: 0.5em;
}

.footer-contact-item {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
  align-items: flex-start;
}

.footer-contact-item svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  margin-top: 0.2em;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-md) 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
}

.footer-bottom p {
  font-size: var(--fs-xs);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-md);
}

.footer-bottom-links a {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

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

/* --- Partners Grid --- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  align-items: center;
  justify-items: center;
}

@media (min-width: 640px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  filter: grayscale(30%);
  opacity: 0.8;
}

.partner-logo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  filter: grayscale(0%);
  opacity: 1;
}

.partner-logo img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
}

/* --- 3D Carousel --- */
.slideshow {
  position: relative;
  padding: var(--space-lg) 0;
  overflow: hidden;
}

.slideshow-track {
  position: relative;
  height: 420px;
  perspective: 1200px;
  perspective-origin: center center;
}

.slideshow-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.65);
  max-height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

/* Show full image — natural width, constrained by height */
.slideshow-slide img {
  height: 400px;
  width: auto;
  display: block;
}

/* Active center slide */
.slideshow-slide.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 5;
  box-shadow: var(--shadow-xl);
  pointer-events: auto;
}

/* Left neighbor */
.slideshow-slide.prev {
  transform: translate(-110%, -50%) scale(0.75) rotateY(8deg);
  opacity: 0.4;
  z-index: 3;
  pointer-events: auto;
}

/* Right neighbor */
.slideshow-slide.next {
  transform: translate(10%, -50%) scale(0.75) rotateY(-8deg);
  opacity: 0.4;
  z-index: 3;
  pointer-events: auto;
}

/* Far positions — hidden */
.slideshow-slide.far-prev,
.slideshow-slide.far-next {
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

/* Mobile: smaller carousel */
@media (max-width: 767px) {
  .slideshow-track {
    height: 320px;
  }
  .slideshow-slide img {
    height: 300px;
  }
  .slideshow-slide.prev {
    transform: translate(-95%, -50%) scale(0.7) rotateY(6deg);
  }
  .slideshow-slide.next {
    transform: translate(-5%, -50%) scale(0.7) rotateY(-6deg);
  }
  .slideshow-slide.far-prev,
  .slideshow-slide.far-next {
    opacity: 0;
  }
}

.slideshow-prev,
.slideshow-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background var(--transition-fast);
  z-index: 10;
  color: var(--color-secondary);
}

.slideshow-prev { left: var(--space-md); }
.slideshow-next { right: var(--space-md); }

.slideshow-prev:hover,
.slideshow-next:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.slideshow-prev:focus-visible,
.slideshow-next:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

.slideshow-prev svg,
.slideshow-next svg {
  width: 24px;
  height: 24px;
}

.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: var(--space-sm) 0;
}

.slideshow-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--color-border);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.slideshow-dot.active {
  background: var(--color-primary);
  transform: scale(1.3);
}

.slideshow-dot:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  will-change: transform, opacity;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  will-change: transform, opacity;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  will-change: transform, opacity;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  will-change: transform, opacity;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Stagger Delays */
.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }
.delay-4 { transition-delay: 400ms; }

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

  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
  }
}

/* --- Legal / Long-form Content --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: var(--fs-xl);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.legal-content h3 {
  font-size: var(--fs-lg);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
}

.legal-content p {
  margin-bottom: var(--space-sm);
}

.legal-content ul,
.legal-content ol {
  list-style: disc;
  padding-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li {
  color: var(--color-text-light);
  margin-bottom: 0.35em;
  line-height: 1.7;
}

.legal-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--color-primary-dark);
}

/* --- Mission/About Specific --- */
.mission-block {
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.mission-block h2 {
  margin-bottom: var(--space-sm);
}

.mission-block p {
  font-size: var(--fs-lg);
}

/* --- Employment Steps --- */
.apply-steps {
  display: grid;
  gap: var(--space-md);
  max-width: 700px;
  margin: 0 auto;
}

.apply-step {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md);
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
}

.apply-step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-weight: 700;
  border-radius: var(--radius-full);
}

/* --- Loading Spinner --- */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn.loading {
  pointer-events: none;
  opacity: 0.8;
}
