/* About Page Specific Styles */

/* Page Header */
.page-header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--dark-color) 30%,
    var(--secondary-color) 100%
  );
  padding: 80px 0;
}

.page-header::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background-color: rgba(232, 168, 124, 0.05);
  transform: rotate(45deg);
  top: -200px;
  right: -200px;
}

.page-header::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background-color: rgba(156, 93, 62, 0.05);
  transform: rotate(30deg);
  bottom: -100px;
  left: 10%;
}

.page-header h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.page-header h1::after {
  content: "";
  position: absolute;
  height: 5px;
  width: 80px;
  background-color: var(--accent-color);
  bottom: -10px;
  left: 0;
}

.breadcrumb {
  display: flex;
  margin-top: 20px;
}

.breadcrumb li {
  margin-right: 30px;
  position: relative;
}

/* About Content Styles */
.about-content {
  padding: 30px 0;
}

.about-content h2 {
  font-size: 2.6rem;
  margin: 50px 0 30px;
  position: relative;
  padding-left: 20px;
  color: var(--secondary-color);
}

.about-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 5px;
  background-color: var(--primary-color);
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #444;
}

/* Mission Section */
.about-content h2:nth-of-type(2) {
  background-color: var(--primary-color);
  color: white;
  padding: 20px;
  margin: 60px -20px 30px;
  position: relative;
  text-align: center;
}

.about-content h2:nth-of-type(2)::before {
  display: none;
}

.about-content h2:nth-of-type(2)::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid var(--primary-color);
}

/* What Sets Us Apart Feature Cards */
.about-content .feature-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.about-content .feature-card {
  position: relative;
  border: none;
  background-color: white;
  padding: 100px 25px 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
}

.about-content .feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 10px;
  width: 100%;
  background-color: var(--primary-color);
  transition: height 0.3s ease;
}

.about-content .feature-card:hover::before {
  height: 20px;
}

.about-content .feature-card:hover {
  transform: translateY(-10px);
}

.about-content .feature-card i {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 30px;
  color: var(--primary-color);
  background-color: white;
  width: 60px;
  height: 60px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-content .feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.about-content .feature-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* Team Section */
.about-content h2:nth-of-type(4) {
  text-align: center;
  padding-left: 0;
}

.about-content h2:nth-of-type(4)::before {
  display: none;
}

.about-content h2:nth-of-type(4)::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -15px;
  height: 3px;
  width: 80px;
  background-color: var(--primary-color);
}

.team-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px;
}

.team-member {
  position: relative;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
}

.team-member img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  filter: grayscale(80%);
  transition: filter 0.3s ease;
}

.team-member:hover img {
  filter: grayscale(0%);
}

.team-member .member-info {
  padding: 25px;
  position: relative;
}

.team-member .member-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  background-color: var(--primary-color);
}

.team-member h3 {
  font-size: 1.6rem;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.team-member p:first-of-type {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.team-member p:last-of-type {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

.social-links {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #f5f5f5;
  color: var(--secondary-color);
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Industry Expertise */
.about-content h2:nth-of-type(5) {
  margin-top: 70px;
}

.about-content ul {
  margin: 25px 0;
  padding-left: 20px;
}

.about-content ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: #444;
}

.about-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  background-color: var(--primary-color);
}

/* Background decorative elements */
.content-section {
  position: relative;
  overflow: hidden;
}

.content-section::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: rgba(156, 93, 62, 0.03);
  transform: rotate(45deg);
  top: 100px;
  left: -150px;
  z-index: -1;
}

.content-section::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background-color: rgba(232, 168, 124, 0.04);
  transform: rotate(30deg);
  bottom: 100px;
  right: -200px;
  z-index: -1;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-content h2,
.about-content p,
.feature-card,
.team-member {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.about-content h2 {
  animation-delay: 0.2s;
}

.about-content p {
  animation-delay: 0.4s;
}

.feature-card:nth-child(1),
.team-member:nth-child(1) {
  animation-delay: 0.6s;
}

.feature-card:nth-child(2),
.team-member:nth-child(2) {
  animation-delay: 0.8s;
}

.feature-card:nth-child(3),
.team-member:nth-child(3) {
  animation-delay: 1s;
}

.feature-card:nth-child(4) {
  animation-delay: 1.2s;
}

/* Responsive styles */
@media (max-width: 992px) {
  .page-header h1 {
    font-size: 2.8rem;
  }

  .about-content h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2.4rem;
  }

  .about-content h2 {
    font-size: 2rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}
