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

:root {
  --background: #fafafa;
  --foreground: #18181b;
  --card: #ffffff;
  --card-foreground: #18181b;
  --primary: #059669;
  --primary-foreground: #ffffff;
  --secondary: #10b981;
  --secondary-foreground: #ffffff;
  --muted: #f4f4f5;
  --muted-foreground: #71717a;
  --accent: #ecfdf5;
  --accent-foreground: #047857;
  --border: #e4e4e7;
  --input: #e4e4e7;
  --ring: #059669;
  --radius: 0.75rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

.text-balance {
  text-wrap: balance;
}

/* Utility Classes */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background-color: #047857;
  border-color: #047857;
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border-color: var(--border);
}

.btn-outline:hover {
  background-color: var(--muted);
}

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

.btn-secondary:hover {
  background-color: #f5f5f5;
}

.btn-white-outline {
  background-color: transparent;
  color: white;
  border-color: white;
}

.btn-white-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Card */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(5, 150, 105, 0.3);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
}

.badge-primary {
  background-color: rgba(5, 150, 105, 0.1);
  color: var(--primary);
}

.badge-outline {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
}

.badge-featured {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

/* Category badges */
.badge-technical { background-color: #dbeafe; color: #1d4ed8; }
.badge-logistics { background-color: #ffedd5; color: #c2410c; }
.badge-office { background-color: #f3e8ff; color: #7c3aed; }
.badge-production { background-color: #dcfce7; color: #16a34a; }
.badge-it { background-color: #cffafe; color: #0891b2; }
.badge-healthcare { background-color: #fce7f3; color: #db2777; }

/* Input */
.input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background-color: var(--card);
  color: var(--foreground);
  transition: all 0.2s ease;
}

.input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.input::placeholder {
  color: var(--muted-foreground);
}

.input-icon {
  position: relative;
}

.input-icon .icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
}

.input-icon .input {
  padding-left: 2.5rem;
}

/* Textarea */
.textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background-color: var(--card);
  color: var(--foreground);
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* Select */
.select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background-color: var(--card);
  color: var(--foreground);
  cursor: pointer;
}

.select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* Header / Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.header.scrolled {
  background-color: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo img {
  height: 2.5rem;
  width: auto;
}

.nav-links {
  display: none;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(24, 24, 27, 0.8);
  transition: color 0.2s ease;
  position: relative;
}

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

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

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

.nav-actions {
  display: none;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .nav-actions {
    display: flex;
  }
}

.nav-mobile-toggle {
  display: flex;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

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

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

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

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(24, 24, 27, 0.2);
  backdrop-filter: blur(4px);
}

.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 24rem;
  background-color: var(--background);
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.active .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.mobile-menu-close {
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
  border-radius: 0.5rem;
  transition: background-color 0.2s ease;
}

.mobile-menu-link:hover {
  background-color: var(--muted);
}

.mobile-menu-actions {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 8rem 0 5rem;
  background: linear-gradient(135deg, var(--accent), var(--background), var(--background));
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero {
    padding: 10rem 0 8rem;
  }
}

.hero-decoration {
  position: absolute;
  border-radius: 9999px;
  filter: blur(64px);
  animation: pulse 8s ease-in-out infinite;
}

.hero-decoration-1 {
  top: 5rem;
  right: 0;
  width: 24rem;
  height: 24rem;
  background-color: rgba(5, 150, 105, 0.1);
}

.hero-decoration-2 {
  bottom: 0;
  left: 0;
  width: 18rem;
  height: 18rem;
  background-color: rgba(16, 185, 129, 0.1);
  animation-delay: 1s;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.2); opacity: 0.5; }
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
  }
}

.hero-text {
  flex: 1;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-text {
    text-align: left;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: rgba(5, 150, 105, 0.1);
  color: var(--primary);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2.25rem;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

.hero h1 .highlight {
  color: var(--primary);
  position: relative;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  height: 0.25rem;
  background-color: rgba(5, 150, 105, 0.3);
  border-radius: 9999px;
}

.hero-description {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
}

@media (min-width: 1024px) {
  .hero-description {
    margin-left: 0;
    margin-right: 0;
  }
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero-actions {
    justify-content: flex-start;
  }
}

.hero-trust {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-trust {
    justify-content: flex-start;
  }
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hero-trust-item .icon {
  color: var(--primary);
}

.hero-trust-item strong {
  color: var(--foreground);
}

.hero-stars {
  display: flex;
}

.hero-stars svg {
  width: 1rem;
  height: 1rem;
  fill: #facc15;
  color: #facc15;
}

/* Hero Cards */
.hero-cards {
  flex: 1;
}

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

.hero-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.hero-card:hover {
  transform: translateY(-5px);
}

.hero-card-icon {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  background-color: rgba(5, 150, 105, 0.1);
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.hero-card-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.hero-card-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
}

.hero-card-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.hero-card-featured {
  grid-column: span 2;
  background-color: var(--primary);
  color: var(--primary-foreground);
  position: relative;
  overflow: hidden;
}

.hero-card-featured .hero-card-decoration {
  position: absolute;
  right: -2.5rem;
  top: -2.5rem;
  width: 8rem;
  height: 8rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
}

.hero-card-featured .hero-card-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-card-featured .hero-card-value {
  font-size: 2.5rem;
  color: var(--primary-foreground);
}

.hero-card-featured .hero-card-label {
  color: rgba(255, 255, 255, 0.9);
}

.hero-card-featured .hero-card-secondary {
  text-align: right;
  font-size: 0.875rem;
  opacity: 0.9;
}

/* Stats Section */
.stats {
  padding: 4rem 0;
  background-color: rgba(244, 244, 245, 0.5);
}

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

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

.stat {
  text-align: center;
}

.stat-icon {
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  background-color: rgba(5, 150, 105, 0.1);
  border-radius: 9999px;
  margin: 0 auto 1rem;
}

.stat-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 1024px) {
  .stat-value {
    font-size: 2.25rem;
  }
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.section-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  margin-top: 1rem;
  font-size: 1.875rem;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-description {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

/* Services Section */
.services {
  padding: 5rem 0 7rem;
  background-color: rgba(244, 244, 245, 0.3);
}

.services-grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
}

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

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

.service-card {
  display: block;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(5, 150, 105, 0.3);
}

.service-icon {
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  background-color: rgba(5, 150, 105, 0.1);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background-color: var(--primary);
}

.service-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
  transition: color 0.3s ease;
}

.service-card:hover .service-icon svg {
  color: var(--primary-foreground);
}

.service-title {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.2s ease;
}

.service-card:hover .service-title {
  color: var(--primary);
}

.service-description {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.service-link {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  opacity: 0;
  transform: translateY(0.5rem);
  transition: all 0.3s ease;
}

.service-card:hover .service-link {
  opacity: 1;
  transform: translateY(0);
}

.service-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* About Section */
.about {
  padding: 5rem 0 7rem;
  background-color: rgba(244, 244, 245, 0.3);
  overflow: hidden;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .about-content {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.about-stats {
  flex: 1;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.about-stat {
  text-align: center;
  transition: transform 0.2s ease;
}

.about-stat:hover {
  transform: scale(1.05);
}

.about-stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

@media (min-width: 1024px) {
  .about-stat-value {
    font-size: 3rem;
  }
}

.about-stat-label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0 7rem;
}

.testimonials-grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
}

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

.testimonial-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(5, 150, 105, 0.2);
  transform: translateY(-8px);
}

.testimonial-quote-icon {
  color: rgba(5, 150, 105, 0.3);
  margin-bottom: 1rem;
}

.testimonial-quote-icon svg {
  width: 2rem;
  height: 2rem;
}

.testimonial-stars {
  display: flex;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 1rem;
  height: 1rem;
  fill: #facc15;
  color: #facc15;
}

.testimonial-text {
  color: var(--foreground);
  line-height: 1.75;
}

.testimonial-author {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.testimonial-name {
  font-weight: 600;
  color: var(--foreground);
}

.testimonial-role {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* CTA Section */
.cta {
  padding: 5rem 0 7rem;
  background-color: var(--primary);
  position: relative;
  overflow: hidden;
}

.cta-decoration {
  position: absolute;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.05);
}

.cta-decoration-1 {
  top: 0;
  left: 0;
  width: 16rem;
  height: 16rem;
  animation: float 8s ease-in-out infinite;
}

.cta-decoration-2 {
  bottom: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 30px) scale(1.2); }
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.cta h2 {
  font-size: 1.875rem;
  color: var(--primary-foreground);
}

@media (min-width: 640px) {
  .cta h2 {
    font-size: 2.25rem;
  }
}

.cta-description {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-actions {
    flex-direction: row;
  }
}

/* Footer */
.footer {
  background-color: var(--foreground);
  color: white;
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

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

.footer-brand {
  grid-column: 1;
}

.footer-logo {
  display: inline-block;
  background-color: white;
  border-radius: 0.5rem;
  padding: 0.75rem;
}

.footer-logo img {
  height: 2.5rem;
  width: auto;
}

.footer-tagline {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

.footer-social {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--primary);
  color: white;
}

.footer-nav h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-contact-item span,
.footer-contact-item a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Page Hero */
.page-hero {
  position: relative;
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--accent), var(--background), var(--background));
  overflow: hidden;
}

@media (min-width: 1024px) {
  .page-hero {
    padding: 10rem 0 5rem;
  }
}

.page-hero-content {
  position: relative;
  z-index: 10;
}

.page-hero h1 {
  font-size: 2.25rem;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .page-hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .page-hero h1 {
    font-size: 3.75rem;
  }
}

.page-hero h1 .highlight {
  color: var(--primary);
}

.page-hero-description {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 48rem;
}

/* Jobs Page */
.jobs-search {
  margin-top: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.jobs-search-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: var(--card);
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
}

@media (min-width: 640px) {
  .jobs-search-form {
    flex-direction: row;
  }
}

.jobs-list-section {
  padding: 4rem 0 5rem;
}

.jobs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.jobs-count {
  color: var(--muted-foreground);
}

.jobs-count strong {
  color: var(--foreground);
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.job-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.job-card:hover {
  border-color: rgba(5, 150, 105, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.job-card-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .job-card-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.job-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.job-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.2s ease;
}

.job-card:hover .job-title {
  color: var(--primary);
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.job-meta-item svg {
  width: 1rem;
  height: 1rem;
}

/* Open Application Section */
.open-application {
  padding: 4rem 0 5rem;
  background-color: rgba(244, 244, 245, 0.3);
}

.open-application-card {
  max-width: 48rem;
  margin: 0 auto;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media (min-width: 1024px) {
  .open-application-card {
    padding: 3rem;
  }
}

.open-application-icon {
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  background-color: rgba(5, 150, 105, 0.1);
  border-radius: 9999px;
  margin: 0 auto 1.5rem;
}

.open-application-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.open-application h2 {
  font-size: 1.5rem;
  color: var(--foreground);
}

.open-application p {
  margin-top: 1rem;
  color: var(--muted-foreground);
}

.open-application-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .open-application-actions {
    flex-direction: row;
  }
}

/* Employers Page */
.employers-hero-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .employers-hero-content {
    flex-direction: row;
    align-items: center;
  }
}

.employers-hero-text {
  flex: 1;
  text-align: center;
}

@media (min-width: 1024px) {
  .employers-hero-text {
    text-align: left;
  }
}

.employers-hero-card {
  flex: 1;
  display: flex;
  justify-content: center;
}

.employers-stat-card {
  position: relative;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.employers-stat-decoration {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 6rem;
  height: 6rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
}

.employers-stat-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.employers-stat-icon {
  display: flex;
  width: 4rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
}

.employers-stat-icon svg {
  width: 2rem;
  height: 2rem;
}

.employers-stat-value {
  font-size: 3rem;
  font-weight: 700;
}

.employers-stat-label {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* Why Choose Us */
.why-choose {
  padding: 5rem 0 7rem;
}

.why-choose-grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
}

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

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

.why-choose-item {
  text-align: center;
}

.why-choose-icon {
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  background-color: rgba(5, 150, 105, 0.1);
  border-radius: 0.75rem;
  margin: 0 auto;
}

.why-choose-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.why-choose-title {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.why-choose-description {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Methodology */
.methodology {
  padding: 5rem 0 7rem;
  background-color: rgba(244, 244, 245, 0.3);
}

.methodology-grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
}

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

.methodology-step {
  position: relative;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
}

.methodology-step-connector {
  display: none;
}

@media (min-width: 1024px) {
  .methodology-step-connector {
    display: block;
    position: absolute;
    top: 50%;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background-color: var(--border);
  }
  
  .methodology-step:last-child .methodology-step-connector {
    display: none;
  }
}

.methodology-number {
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 9999px;
  font-size: 1.25rem;
  font-weight: 700;
}

.methodology-title {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.methodology-description {
  margin-top: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Hire Form */
.hire-form-section {
  padding: 5rem 0 7rem;
}

.hire-form-content {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .hire-form-content {
    flex-direction: row;
  }
}

.hire-form-info {
  flex: 1;
}

.hire-form-info h2 {
  font-size: 1.875rem;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .hire-form-info h2 {
    font-size: 2.25rem;
  }
}

.hire-form-info > p {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.hire-form-contact {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hire-form-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hire-form-contact-icon {
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  background-color: rgba(5, 150, 105, 0.1);
  border-radius: 9999px;
}

.hire-form-contact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.hire-form-contact-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hire-form-contact-value {
  font-weight: 500;
  color: var(--foreground);
}

.hire-form-contact-value a:hover {
  color: var(--primary);
}

.hire-form-wrapper {
  flex: 1;
}

.hire-form-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hire-form-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.hire-form-card form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1.5rem;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

/* Contact Page */
.contact-info-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

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

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

.contact-info-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(5, 150, 105, 0.2);
  transform: translateY(-5px);
}

.contact-info-icon {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  background-color: rgba(5, 150, 105, 0.1);
  border-radius: 0.5rem;
}

.contact-info-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.contact-info-label {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact-info-value {
  margin-top: 0.25rem;
  font-weight: 500;
  color: var(--foreground);
}

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

/* Contact Form Section */
.contact-form-section {
  padding: 4rem 0 5rem;
}

.contact-form-card {
  max-width: 48rem;
  margin: 0 auto;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@media (min-width: 1024px) {
  .contact-form-card {
    padding: 3rem;
  }
}

.contact-form-card h2 {
  font-size: 1.5rem;
  color: var(--foreground);
}

.contact-form-card > p {
  margin-top: 0.5rem;
  color: var(--muted-foreground);
}

.contact-form-card form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* About Page */
.mission-section {
  padding: 5rem 0 7rem;
}

.mission-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .mission-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
  }
}

.mission-text {
  flex: 1;
}

.mission-text p {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.mission-quote {
  margin-top: 2.5rem;
  background-color: rgba(244, 244, 245, 0.5);
  border-left: 4px solid var(--primary);
  border-radius: 1rem;
  padding: 2rem;
}

.mission-quote-icon {
  color: rgba(5, 150, 105, 0.3);
  margin-bottom: 1rem;
}

.mission-quote-icon svg {
  width: 2rem;
  height: 2rem;
}

.mission-quote-text {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
  font-style: italic;
}

.mission-stats {
  flex: 1;
}

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

.mission-stat-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}

.mission-stat-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
}

.mission-stat-label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Values */
.values-section {
  padding: 5rem 0 7rem;
  background-color: rgba(244, 244, 245, 0.3);
}

.values-grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
}

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

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

.value-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}

.value-icon {
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  background-color: rgba(5, 150, 105, 0.1);
  border-radius: 0.75rem;
  margin: 0 auto;
}

.value-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.value-title {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.value-description {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Team */
.team-section {
  padding: 5rem 0 7rem;
  background-color: rgba(244, 244, 245, 0.3);
}

.team-grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

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

.team-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.team-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.team-card-image {
  position: relative;
  height: 20rem;
  overflow: hidden;
  background-color: var(--muted);
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card-image img {
  transform: scale(1.05);
}

.team-card-content {
  padding: 1.5rem;
  text-align: center;
}

.team-card-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.2s ease;
}

.team-card:hover .team-card-name {
  color: var(--primary);
}

.team-card-role {
  margin-top: 0.25rem;
  font-weight: 500;
  color: var(--primary);
}

.team-card-social {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.team-card-social a {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  background-color: var(--muted);
  border-radius: 9999px;
  color: var(--muted-foreground);
  transition: all 0.3s ease;
}

.team-card-social a:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }

/* Success message */
.success-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  text-align: center;
}

.success-icon {
  display: flex;
  width: 4rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
  background-color: rgba(5, 150, 105, 0.1);
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.success-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.success-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.success-text {
  margin-top: 0.5rem;
  color: var(--muted-foreground);
}

/* ═══════════════════════════════════════════════════════
   HERO BACKGROUND IMAGE
═══════════════════════════════════════════════════════ */
.hero-with-bg {
  position: relative;
  overflow: hidden;
  background: none !important;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?w=1800&q=85&auto=format&fit=crop');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
  animation: heroBgZoom 14s ease-out forwards;
}

@keyframes heroBgZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.0); }
}

/* Multi-stop overlay: dark on left for text legibility, lighter on right */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(5, 30, 20, 0.82) 0%,
      rgba(5, 30, 20, 0.70) 35%,
      rgba(5, 30, 20, 0.40) 60%,
      rgba(5, 30, 20, 0.20) 100%
    );
  z-index: 1;
}

/* When bg image is used, text goes white */
.hero-with-bg .hero-badge {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}

.hero-with-bg .hero-badge svg {
  color: #34d399;
}

.hero-with-bg h1 {
  color: #ffffff !important;
}

.hero-with-bg h1 .highlight {
  color: #34d399 !important;
}

/* Remove the green underline on white bg since it clashes */
.hero-with-bg h1 .highlight::after {
  background: rgba(52,211,153,0.5);
}

.hero-with-bg .hero-description {
  color: rgba(255,255,255,0.85) !important;
}

.hero-with-bg .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
}
.hero-with-bg .btn-outline:hover {
  background: rgba(255,255,255,0.18);
  border-color: #fff;
}

.hero-with-bg .hero-trust {
  color: rgba(255,255,255,0.8);
}
.hero-with-bg .hero-trust-item span {
  color: rgba(255,255,255,0.8);
}
.hero-with-bg .hero-trust-item strong {
  color: #fff;
}
.hero-with-bg .hero-trust-item .icon {
  color: #34d399;
}

/* Hero cards get frosted glass look */
.hero-with-bg .hero-card {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.hero-with-bg .hero-card-featured {
  background: var(--primary) !important;
}

/* Decorations become invisible on dark bg */
.hero-with-bg .hero-decoration {
  opacity: 0.4;
}

.hero-with-bg .container,
.hero-with-bg .hero-decoration {
  position: relative;
  z-index: 2;
}

/* Hero needs padding to sit in centre of viewport */
.hero-with-bg.hero {
  padding: 0 !important;
}

.hero-with-bg .hero-content {
  padding: 9rem 0 6rem;
  width: 100%;
}

@media (min-width: 1024px) {
  .hero-with-bg .hero-content {
    padding: 11rem 0 8rem;
  }
}

/* ═══════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
═══════════════════════════════════════════════════════ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children inside revealed containers */
.scroll-reveal:nth-child(1) { transition-delay: 0s; }
.scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.18s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.26s; }
.scroll-reveal:nth-child(5) { transition-delay: 0.34s; }
.scroll-reveal:nth-child(6) { transition-delay: 0.42s; }

/* Slide-from-left for alternating layouts */
.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.scroll-reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.scroll-reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale-in for cards */
.scroll-reveal-scale {
  opacity: 0;
  transform: scale(0.93) translateY(20px);
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1),
              transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
.scroll-reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Hero text entrance */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-text > * {
  animation: heroFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-text > *:nth-child(1) { animation-delay: 0.1s; }
.hero-text > *:nth-child(2) { animation-delay: 0.22s; }
.hero-text > *:nth-child(3) { animation-delay: 0.34s; }
.hero-text > *:nth-child(4) { animation-delay: 0.46s; }
.hero-text > *:nth-child(5) { animation-delay: 0.58s; }

/* Hero cards float in from right */
@keyframes heroCardsIn {
  from { opacity: 0; transform: translateX(48px); }
  to   { opacity: 1; transform: translateX(0); }
}
.hero-cards {
  animation: heroCardsIn 0.8s cubic-bezier(0.22,1,0.36,1) 0.4s both;
}

/* Page hero title */
@keyframes pageTitleIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-hero-content h1 {
  animation: pageTitleIn 0.7s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}
.page-hero-content p,
.page-hero-content a,
.page-hero-content .section-label {
  animation: pageTitleIn 0.7s cubic-bezier(0.22,1,0.36,1) 0.25s both;
}
