/* ================================================================
   HYL Logistics - Sections CSS
   Contains: About, Services, Stats, Contact
   ================================================================ */

/* Section Title (Common) */
.section-title {
  text-align: center;
  margin-bottom: var(--section-title-mb);
}

.section-title h2 {
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 2px;
}

/* About Section */
.about-section {
  background: var(--color-bg-light);
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-dark);
    text-align: justify;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--section-content-mt);
}

.service-card {
  background: white;
  padding: var(--card-padding);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-sm);
  background: rgba(255, 107, 53, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-accent);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Portfolio in Numbers (Stats) */
.stats-section {
  background: var(--color-primary-dark);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--grid-gap-lg);
  text-align: center;
}

.stat-item {
  padding: var(--card-padding);
}

.stat-number-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
}

.stat-plus {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
}

.stat-label {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: var(--font-weight-semibold);
  display: block;
}

/* Contact Section */
.contact-section {
  background: var(--color-bg-light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--grid-gap-sm);
  margin-top: var(--section-content-mt);
}

.contact-info-header {
    margin-bottom: var(--spacing-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: var(--spacing-sm);
}

.contact-item-icon {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  flex-shrink: 0;
  font-size: 1.5rem;
}

.contact-item-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-item-label {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-dark);
}

.contact-item-value {
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 1024px) and (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0.25rem;
  }

  .service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
  }

  .service-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .stat-item {
    padding: 0.5rem;
  }

  .stat-label {
    font-size: 1rem;
  }

  .contact-info-header {
    display: none;
    /*margin-bottom: 1rem;*/
  }

  .contact-item {
    margin-bottom: 0.3rem;
  }

  .about-content {
    font-size: 1rem;
    line-height: 1.6;
  }
}
