/* about-styles.css - AMRIC About Page Styles (mobile-first) */

/*--------------------------------------------------------------
# About Page Layout
--------------------------------------------------------------*/
.about-us {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-lg) var(--spacing-sm);
}

.about-us h1 {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: var(--spacing-lg);
  color: var(--primary-color);
  position: relative;
  letter-spacing: -0.02em;
}

.about-us h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  margin: var(--spacing-md) auto 0;
  border-radius: var(--radius-sm);
}

/*--------------------------------------------------------------
# Hero Banner Section
--------------------------------------------------------------*/
.hero-banner {
  position: relative;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-medium);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/fitness-pattern.png') repeat;
  background-size: 200px;
  opacity: 0.1;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--spacing-md);
  z-index: 2;
}

.hero-content {
  color: white;
  z-index: 3;
  max-width: 800px;
}

.hero-content h2 {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: var(--font-weight-normal);
  opacity: 0.95;
}

/*--------------------------------------------------------------
# Company Introduction Section
--------------------------------------------------------------*/
.company-intro {
  margin-bottom: var(--spacing-lg);
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: var(--spacing-lg) var(--spacing-md);
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
}

.company-intro h2 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: var(--font-weight-semibold);
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  position: relative;
}

.company-intro h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: var(--radius-sm);
}

.company-intro p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-color);
  font-weight: var(--font-weight-normal);
}

/*--------------------------------------------------------------
# Our Story Section
--------------------------------------------------------------*/
.our-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  align-items: center;
}

.story-content h2 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: var(--font-weight-semibold);
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  position: relative;
}

.story-content h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: var(--radius-sm);
}

.story-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: var(--spacing-md);
}

.story-image {
  order: -1;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: transform var(--transition-normal);
}

.story-image:hover {
  transform: scale(1.02);
}

.story-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.story-image:hover img {
  transform: scale(1.05);
}

/*--------------------------------------------------------------
# Our Expertise Section
--------------------------------------------------------------*/
.our-expertise {
  margin-bottom: var(--spacing-lg);
}

.our-expertise h2 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: var(--font-weight-semibold);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.our-expertise h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: var(--radius-sm);
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

.expertise-item {
  background-color: var(--bg-color);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  text-align: center;
  transition: all var(--transition-normal);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.expertise-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.expertise-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-heavy);
}

.expertise-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  display: block;
  transition: all var(--transition-normal);
}

.expertise-item:hover i {
  color: var(--secondary-color);
  transform: scale(1.1);
}

.expertise-item h3 {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: var(--font-weight-semibold);
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

.expertise-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
}

/*--------------------------------------------------------------
# Our Commitment Section
--------------------------------------------------------------*/
.our-commitment {
  margin-bottom: var(--spacing-lg);
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-secondary) 100%);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
}

.our-commitment h2 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: var(--font-weight-semibold);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: var(--spacing-sm);
  position: relative;
}

.our-commitment h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: var(--radius-sm);
}

.our-commitment > p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-color);
  text-align: center;
  margin-bottom: var(--spacing-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.commitment-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.commitment-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  background-color: rgba(255, 255, 255, 0.7);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  border-left: 4px solid var(--primary-color);
}

.commitment-item:hover {
  background-color: white;
  transform: translateX(5px);
  box-shadow: var(--shadow-light);
}

.commitment-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.commitment-text h3 {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: var(--font-weight-semibold);
  color: var(--text-dark);
  margin-bottom: var(--spacing-xs);
}

.commitment-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  margin-bottom: var(--spacing-lg);
}

.testimonials h2 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: var(--font-weight-semibold);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.testimonials h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: var(--radius-sm);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

.testimonial-item {
  background-color: var(--bg-color);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  position: relative;
  transition: all var(--transition-normal);
  border: 1px solid var(--border-light);
}

.testimonial-item::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: var(--spacing-md);
  font-size: 3.5rem;
  color: var(--primary-color);
  font-family: Georgia, serif;
  opacity: 0.3;
}

.testimonial-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.testimonial-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: var(--spacing-md);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.testimonial-author img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-round);
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.testimonial-author-info h4 {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  color: var(--text-dark);
  margin-bottom: var(--spacing-xs);
}

.testimonial-author-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/*--------------------------------------------------------------
# Call to Action Section
--------------------------------------------------------------*/
.cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/pattern-overlay.png') repeat;
  background-size: 100px;
  opacity: 0.1;
  z-index: 1;
}

.cta h2 {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: var(--font-weight-bold);
  color: white;
  margin-bottom: var(--spacing-sm);
  position: relative;
  z-index: 2;
}

.cta p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
  position: relative;
  z-index: 2;
}

.cta .btn {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  border-color: var(--secondary-color);
  font-size: 1rem;
  padding: 14px 28px;
  position: relative;
  z-index: 2;
  font-weight: var(--font-weight-semibold);
}

.cta .btn:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(249, 168, 37, 0.3);
}

/*--------------------------------------------------------------
# Responsive Design (mobile-first base above; scale up from here)
--------------------------------------------------------------*/
@media (min-width: 576px) {
  .hero-banner {
    height: 320px;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.05rem;
  }

  .expertise-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .commitment-list {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

@media (min-width: 768px) {
  .about-us {
    padding: var(--spacing-xl) var(--spacing-sm);
  }

  .about-us h1 {
    font-size: 2.5rem;
  }

  .about-us h1::after {
    width: 100px;
  }

  .hero-banner {
    height: 400px;
  }

  .hero-content h2 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .company-intro,
  .our-commitment {
    padding: var(--spacing-xl) var(--spacing-lg);
  }

  .company-intro h2,
  .our-expertise h2,
  .our-commitment h2,
  .testimonials h2,
  .story-content h2 {
    font-size: 2rem;
  }

  .expertise-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
  }

  .testimonial-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
  }

  .cta h2 {
    font-size: 2.2rem;
  }

  .cta p {
    font-size: 1.1rem;
  }
}

@media (min-width: 992px) {
  .about-us {
    padding: var(--spacing-xxl) var(--spacing-sm);
  }

  .about-us h1 {
    font-size: 3rem;
  }

  .hero-banner {
    height: 500px;
    margin-bottom: var(--spacing-xxl);
  }

  .company-intro,
  .our-story,
  .our-expertise,
  .our-commitment,
  .testimonials {
    margin-bottom: var(--spacing-xxl);
  }

  .our-story {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
  }

  .story-image {
    order: 0;
    transform: rotate(1deg);
  }

  .story-image:hover {
    transform: rotate(0deg) scale(1.02);
  }

  .story-image img {
    height: 400px;
  }

  .our-commitment {
    padding: var(--spacing-xxl);
  }

  .cta {
    padding: var(--spacing-xxl);
  }
}