/*
* Murtaza Auto Parts - About Us Page Redesign
* August 31, 2025
*/

/* Hero Banner Styling */
.hero-banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-bottom: 60px;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero-banner-overlay h1 {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-banner-overlay p {
  color: #fff;
  font-size: 16px;
}

/* About Section Styling */
.about-section {
  padding: 60px 0;
  background: #fff;
}

.about-section-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.about-text-column {
  flex: 0 0 48%;
  margin-bottom: 30px;
}

.about-image-column {
  flex: 0 0 48%;
  margin-bottom: 30px;
}

.about-section-heading {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #333;
  position: relative;
  padding-bottom: 15px;
}

.about-section-heading:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: #e63946; /* Dark red accent color */
}

.about-section-subheading {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #555;
}

.about-section-text {
  margin-bottom: 30px;
  line-height: 1.7;
  color: #444;
}

.about-image-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-image-wrapper:hover img {
  transform: scale(1.05);
}

.cta-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: #e63946; /* Vibrant red background as requested */
  color: #FFFFFF !important; /* White text for good contrast */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: none; /* Removed border for clean appearance */
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  background-color: #c1272d !important; /* Match the darker red used by Shop Now button */
  color: #FFFFFF !important; /* Keep text white on hover */
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* Testimonials Section */
.testimonials-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.testimonials-heading {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 50px;
  color: #333;
  position: relative;
  padding-bottom: 15px;
}

.testimonials-heading:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #e63946; /* Dark red accent color */
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.testimonial-card {
  flex: 0 0 30%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
  font-style: italic;
  color: #444;
  margin-bottom: 20px;
  position: relative;
  padding-left: 25px;
}

.testimonial-text:before {
  content: '"';
  position: absolute;
  left: 0;
  top: -15px;
  font-size: 60px;
  color: #e63946;
  opacity: 0.2;
  line-height: 1;
}

.testimonial-author {
  font-weight: 600;
  color: #333;
  display: block;
  text-align: right;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .about-text-column,
  .about-image-column {
    flex: 0 0 100%;
  }
  
  .testimonial-card {
    flex: 0 0 48%;
  }
}

@media (max-width: 767px) {
  .hero-banner {
    height: 300px;
  }
  
  .hero-banner-overlay h1 {
    font-size: 32px;
  }
  
  .testimonial-card {
    flex: 0 0 100%;
  }
}
