/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #44403c;
  background-color: #fafaf9;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Bold O styling for Olesa text - Simple approach */
.olesa-text {
  font-weight: inherit;
}

.bold-o {
  font-weight: 700 !important;
}

/* Direct styling for O's in olesa */
.olesa-text span[style*="font-weight: 700"] {
  font-weight: 700 !important;
}

/* Icon styles */
.icon {
  display: inline-block;
  font-size: 1.2em;
  margin-right: 8px;
  color: #b79b76;
}

/* Remove all the CSS icon styles and replace with SVG styles */
.hero-badge svg,
.card-header svg,
.company-logo svg,
.certificates-card svg,
.production-card svg,
.carousel-btn svg,
.policy svg {
  color: #b79b76;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-badge svg:hover,
.card-header svg:hover,
.company-logo svg:hover,
.certificates-card svg:hover,
.production-card svg:hover,
.policy svg:hover {
  color: #a08a6b;
  transform: scale(1.1);
}

.carousel-btn svg {
  color: white;
}

.large-icon {
  margin-bottom: 24px;
}

/* Update carousel button styles */
.carousel-btn .css-icon {
  color: white;
  width: auto;
  height: auto;
}

/* Update company logo styles */
.company-logo .css-icon {
  width: auto;
  height: auto;
}

/* Update certificates card styles */
.certificates-card > .css-icon.large {
  width: auto;
  height: auto;
}

/* Update production card styles */
.production-card .css-icon.large {
  display: block;
  width: auto;
  height: auto;
}

/* Modern Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animate {
  opacity: 1;
}

.fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fade-in-left {
  animation: fadeInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fade-in-right {
  animation: fadeInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.scale-in {
  animation: scaleIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.slide-in-top {
  animation: slideInFromTop 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e7e5e4;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  min-height: 40px;
  width: 40px;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo img {
  width: 100%;
  height: auto;
  max-width: 40px;
  object-fit: contain;
}

.logo:hover {
  transform: scale(1.05);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav button {
  background: none;
  border: none;
  color: #57534e;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.025em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav button::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #b79b76;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateX(-50%);
}

.nav button:hover {
  color: #b79b76;
}

.nav button:hover::after {
  width: 100%;
}

.language-selector select {
  background: white;
  border: 1px solid #d6d3d1;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 128px 0;
  background: linear-gradient(135deg, #f5f5f4 0%, #ffffff 50%, #fafaf9 100%);
}

.hero-content {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(183, 155, 118, 0.1);
  color: #b79b76;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(183, 155, 118, 0.2);
  margin-bottom: 24px;
  font-size: 14px;
  animation: slideInFromTop 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

.hero-title {
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 200;
  color: #1c1917;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s both;
}

.hero-subtitle {
  font-size: 32px;
  font-weight: 300;
  color: #b79b76;
  margin-bottom: 24px;
  letter-spacing: 0.025em;
  animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s both;
}

.hero-description {
  font-size: 18px;
  color: #57534e;
  margin-bottom: 48px;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s both;
}

/* Remove the gap from hero-cta since there's no icon */
.hero-cta {
  display: inline-flex;
  align-items: center;
  background: #b79b76;
  color: white;
  padding: 12px 32px;
  border: none;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.025em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: scaleIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1s both;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.hero-cta:hover::before {
  left: 100%;
}

.hero-cta:hover {
  background: #a08a6b;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(183, 155, 118, 0.3);
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 300;
  color: #1c1917;
  margin-bottom: 24px;
  letter-spacing: 0.025em;
}

.section-divider {
  width: 96px;
  height: 1px;
  background: #b79b76;
  margin: 0 auto;
}

/* About Section */
.about {
  padding: 96px 0;
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  font-size: 18px;
  color: #57534e;
  line-height: 1.7;
  margin-bottom: 24px;
}

.about-text blockquote {
  border-left: 2px solid #b79b76;
  padding-left: 24px;
  font-size: 18px;
  color: #44403c;
  font-style: italic;
  font-weight: 300;
}

.about-stats {
  background: #fafaf9;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.stat {
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat:hover {
  transform: scale(1.1);
}

.stat-number {
  font-size: 36px;
  font-weight: 300;
  color: #b79b76;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
}

.stat-number::before {
  content: attr(data-number);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #b79b76, #a08a6b);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transition: opacity 0.3s;
}

.stat:hover .stat-number::before {
  opacity: 1;
}

.stat-label {
  font-size: 12px;
  color: #57534e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Mission Section */
.mission {
  padding: 96px 0;
  background: #fafaf9;
}

.mission-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.mission-card {
  background: white;
  padding: 32px;
  border-left: 4px solid #b79b76;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.card-header .simple-icon {
  color: #b79b76;
  font-size: 24px;
  width: 32px;
  height: 32px;
}

.card-header h3 {
  font-size: 24px;
  font-weight: 300;
  color: #1c1917;
}

.mission-card p {
  color: #57534e;
  line-height: 1.7;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.principle {
  background: white;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.principle:hover {
  transform: translateX(10px);
  background: #fafaf9;
}

.principle-dot {
  width: 8px;
  height: 8px;
  background: #b79b76;
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.principle:hover .principle-dot {
  transform: scale(1.5);
  box-shadow: 0 0 10px rgba(183, 155, 118, 0.5);
}

.principle span {
  color: #44403c;
  font-weight: 300;
}

/* Quality Section */
.quality {
  padding: 96px 0;
  background: white;
}

.quality-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.quality-card {
  background: #fafaf9;
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.quality-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.policies-section {
  background: rgba(183, 155, 118, 0.05);
  padding: 48px;
}

.policies-section h3 {
  font-size: 24px;
  font-weight: 300;
  color: #1c1917;
  text-align: center;
  margin-bottom: 32px;
}

.policies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.policy {
  background: white;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.policy:hover {
  transform: translateX(10px);
  background: #fafaf9;
}

.policy .css-icon {
  color: #b79b76;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.policy span {
  color: #44403c;
  font-weight: 300;
  line-height: 1.7;
}

/* Production Section */
.production {
  padding: 96px 0;
  background: #fafaf9;
}

.production-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}

.production-text p {
  font-size: 18px;
  color: #57534e;
  line-height: 1.7;
  margin-bottom: 32px;
}

.highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.highlight-dot {
  width: 8px;
  height: 8px;
  background: #b79b76;
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.highlight:hover .highlight-dot {
  transform: scale(1.5);
  box-shadow: 0 0 10px rgba(183, 155, 118, 0.5);
}

.highlight span {
  color: #44403c;
  font-weight: 300;
}

.production-card {
  background: white;
  padding: 48px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.production-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.production-card .css-icon.large {
  font-size: 64px;
  color: #b79b76;
  margin-bottom: 32px;
  display: block;
  width: auto;
  height: auto;
}

.production-card h3 {
  font-size: 24px;
  font-weight: 300;
  color: #1c1917;
  margin-bottom: 24px;
}

.production-card p {
  color: #57534e;
  line-height: 1.7;
  margin-bottom: 32px;
}

.badge {
  display: inline-block;
  background: rgba(183, 155, 118, 0.1);
  color: #b79b76;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(183, 155, 118, 0.2);
  font-size: 14px;
}

/* Single Production Image */
.production-image {
  margin-bottom: 64px;
}

.production-image h3 {
  font-size: 24px;
  font-weight: 300;
  color: #1c1917;
  text-align: center;
  margin-bottom: 32px;
}

.single-image-container {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.production-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.production-img:hover {
  transform: scale(1.02);
}

.production-motto {
  background: #1c1917;
  color: white;
  padding: 48px;
  text-align: center;
}

.production-motto blockquote {
  font-size: 24px;
  font-weight: 300;
  font-style: italic;
  color: #e7e5e4;
}

/* Group Section */
.group {
  padding: 96px 0;
  background: white;
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 32px;
  align-items: stretch;
}

.company {
  background: #fafaf9;
  padding: 32px;
  border-left: 4px solid #b79b76;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.company:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.company-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
}

.company-logo {
  width: 64px;
  height: 64px;
  background: white;
  border: 2px solid #e7e5e4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.company-logo .css-icon {
  font-size: 32px;
  color: #b79b76;
  width: auto;
  height: auto;
}

.company-info {
  flex: 1;
}

.company-info h3 {
  font-size: 18px;
  font-weight: 300;
  color: #1c1917;
  line-height: 1.4;
  margin-bottom: 8px;
}

.company-info p {
  color: #57534e;
  line-height: 1.7;
  font-weight: 300;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

/* Company Actions */
.company-actions {
  margin-top: auto;
  text-align: center;
  padding-top: 24px;
}

.company-btn {
  background: #b79b76;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.company-btn:hover {
  background: #a08a6b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(183, 155, 118, 0.3);
}

/* Company Contact Styles */
.company-contact {
  margin: 16px 0;
  padding: 16px 0;
  border-top: 1px solid #e7e5e4;
  flex: 1;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #57534e;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item svg {
  color: #b79b76;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item a {
  color: #57534e;
  text-decoration: none;
  transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.contact-item a:hover {
  color: #b79b76;
  text-decoration: underline;
}

/* Footer Contact Updates */
.footer-contact .contact-item {
  color: #a8a29e;
  margin-bottom: 8px;
}

.footer-contact .contact-item a {
  color: #a8a29e;
}

.footer-contact .contact-item a:hover {
  color: #b79b76;
}

/* Certificates Section */
.certificates {
  padding: 96px 0;
  background: #fafaf9;
}

.certificates-content {
  max-width: 800px;
  margin: 0 auto;
}

.certificates-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  margin-top: 48px;
}

.certificate-image {
  background: white;
  padding: 32px;
  text-align: center;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.certificate-image:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.cert-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 24px;
  border-radius: 4px;
}

.certificate-image h3 {
  font-size: 18px;
  font-weight: 300;
  color: #1c1917;
  margin-bottom: 16px;
}

.cert-btn {
  background: #b79b76;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-transform: uppercase;
  letter-spacing: 0.025em;
  margin-top: 16px;
}

.cert-btn:hover {
  background: #a08a6b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(183, 155, 118, 0.3);
}

/* Footer */
.footer {
  background: #1c1917;
  color: #d6d3d1;
  padding: 64px 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
  min-height: 40px;
}

.footer-brand .logo img {
  width: 100%;
  height: auto;
  max-width: 40px;
  object-fit: contain;
}

.footer-brand p {
  color: #a8a29e;
  font-weight: 300;
}

.footer-links h3 {
  font-weight: 300;
  color: white;
  letter-spacing: 0.025em;
  margin-bottom: 24px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links button {
  background: none;
  border: none;
  color: #a8a29e;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.footer-links button::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #b79b76;
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-links button:hover {
  color: #b79b76;
}

.footer-links button:hover::after {
  width: 100%;
}

.footer-contact h3 {
  font-weight: 300;
  color: white;
  letter-spacing: 0.025em;
  margin-bottom: 24px;
}

.contact-info p {
  color: #a8a29e;
  font-weight: 300;
  margin-bottom: 12px;
}

.footer-separator {
  height: 1px;
  background: #44403c;
  margin: 48px 0;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  color: #a8a29e;
  font-weight: 300;
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #b79b76, #a08a6b);
  z-index: 1000;
  transition: width 0.1s ease-out;
}

/* Loading Animation */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fafaf9;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #e7e5e4;
  border-top: 3px solid #b79b76;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Stagger Animation Delays */
.animate-on-scroll:nth-child(1) {
  animation-delay: 0.1s;
}
.animate-on-scroll:nth-child(2) {
  animation-delay: 0.2s;
}
.animate-on-scroll:nth-child(3) {
  animation-delay: 0.3s;
}
.animate-on-scroll:nth-child(4) {
  animation-delay: 0.4s;
}
.animate-on-scroll:nth-child(5) {
  animation-delay: 0.5s;
}
.animate-on-scroll:nth-child(6) {
  animation-delay: 0.6s;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .nav {
    display: none;
  }

  /* Fix logo sizing on mobile */
  .logo {
    width: 32px;
    min-height: 32px;
  }

  .logo img {
    max-width: 32px;
  }

  .footer-brand .logo {
    min-height: 32px;
  }

  .footer-brand .logo img {
    max-width: 32px;
  }

  .about-content,
  .mission-cards,
  .quality-cards,
  .production-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-stats {
    padding: 32px;
  }

  .hero {
    padding: 64px 0;
  }

  .hero-title {
    font-size: clamp(3rem, 10vw, 4rem);
  }

  .hero-subtitle {
    font-size: 24px;
  }

  .hero-description {
    font-size: 16px;
  }

  .companies-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .company {
    padding: 24px;
  }

  .company-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .company-info p {
    height: auto;
    -webkit-line-clamp: none;
  }

  .company-logo {
    width: 48px;
    height: 48px;
  }

  .certificates-images {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  /* Fix policies grid on mobile */
  .policies-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .principles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .production-motto {
    padding: 32px 16px;
  }

  .production-motto blockquote {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  /* Further reduce logo size on very small screens */
  .logo {
    width: 28px;
    min-height: 28px;
  }

  .logo img {
    max-width: 28px;
  }

  .footer-brand .logo {
    min-height: 28px;
  }

  .footer-brand .logo img {
    max-width: 28px;
  }

  .hero {
    padding: 48px 0;
  }

  .hero-title {
    font-size: clamp(2.5rem, 12vw, 3rem);
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-description {
    font-size: 14px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .company {
    padding: 16px;
  }

  .company-logo {
    width: 40px;
    height: 40px;
  }

  .contact-item {
    font-size: 12px;
  }

  .production-motto {
    padding: 24px 12px;
  }

  .production-motto blockquote {
    font-size: 16px;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
