/* About Us Page Styles */

/* Hero Section */
.about-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #012a4a 100%);
  padding: 6rem 0 4rem;
  margin-top: 70px;
  color: white;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 176, 176, 0.1) 0%,
    transparent 70%
  );
  animation: pulse 6s ease-in-out infinite;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: var(--shadow-xl);
}

/* Company Introduction */
.company-intro {
  padding: 6rem 0;
  background: white;
  position: relative;
}

.company-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent) 50%,
    transparent 100%
  );
}

.intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
  position: relative;
}

.intro-text h2::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.intro-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.intro-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
}

/* Solutions Overview */
.solutions-overview {
  padding: 5rem 0;
  background: var(--bg-section);
}

.solutions-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.benefit-icon i {
  font-size: 2rem;
  color: white;
}

.benefit-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.benefit-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Solution Sections */
.production-solutions,
.packing-solutions,
.storage-solutions,
.dispatch-solutions {
  padding: 5rem 0;
}

.production-solutions {
  background: white;
}

.packing-solutions {
  background: var(--bg-section);
}

.storage-solutions {
  background: white;
}

.dispatch-solutions {
  background: var(--bg-section);
}

.solution-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.solution-section.reverse {
  direction: rtl;
}

.solution-section.reverse > * {
  direction: ltr;
}

.solution-header h2,
.solution-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.solution-header p,
.solution-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.solution-cta {
  margin-top: 2rem;
}

.solution-features {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.packing-solutions .feature-item,
.dispatch-solutions .feature-item {
  background: rgba(255, 255, 255, 0.8);
}

.feature-item:hover {
  transform: translateX(5px);
}

.feature-item i {
  font-size: 1.5rem;
  color: var(--accent);
  min-width: 24px;
}

.feature-item span {
  font-weight: 600;
  color: var(--text-primary);
}

.solution-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
}

.solution-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.image-grid img {
  width: 100%;
  height: 300px; /* pick a height that works */
  object-fit: contain; /* full image always shown */
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  background: #fff; /* optional: fills behind letterbox */
}

/* Call to Action */
.about-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #012a4a 100%);
  padding: 5rem 0;
  text-align: center;
}

.about-cta .cta-content h2 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-cta .cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: white;
  color: var(--primary-dark);
  border-color: white;
}

.btn-primary:hover {
  background: transparent;
  color: white;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content,
  .intro-content,
  .solution-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .solution-section.reverse {
    direction: ltr;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .intro-text h2,
  .solution-header h2,
  .solution-content h2 {
    font-size: 2rem;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 4rem 0 3rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1.1rem;
  }

  .hero-image img {
    height: 300px;
  }

  .company-intro,
  .solutions-overview,
  .production-solutions,
  .packing-solutions,
  .storage-solutions,
  .dispatch-solutions,
  .about-cta {
    padding: 3rem 0;
  }

  .intro-text h2,
  .solution-header h2,
  .solution-content h2 {
    font-size: 1.8rem;
  }

  .intro-text p,
  .solution-header p,
  .solution-content p {
    font-size: 1rem;
  }

  .solutions-benefits {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .benefit-card {
    padding: 2rem 1.5rem;
  }

  .solution-image img {
    height: 300px;
  }

  .about-cta .cta-content h2 {
    font-size: 2rem;
  }

  .about-cta .cta-content p {
    font-size: 1.1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 200px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }

  .intro-text h2,
  .solution-header h2,
  .solution-content h2 {
    font-size: 1.6rem;
  }

  .benefit-card {
    padding: 1.5rem;
  }

  .benefit-icon {
    width: 60px;
    height: 60px;
  }

  .benefit-icon i {
    font-size: 1.5rem;
  }

  .feature-item {
    padding: 0.75rem;
  }

  .feature-item i {
    font-size: 1.2rem;
  }
}

/* Animations */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.3;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced hover effects */
.intro-content:hover .intro-image img {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

.solution-image img:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

/* Professional spacing improvements */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  position: relative;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
