/* About Page Specific Styles */

/* About Hero Override (for About page only) */
.about-hero::before {
  background: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)),
    url('/api/placeholder/1920/1080') center/cover no-repeat;
}

/* About Story Section */
.about-story {
  padding: 5rem 0;
  background: var(--white);
}
.about-hero-bg {
  position: relative; /* establishes a positioning context */
  overflow: hidden;   /* ensures the pseudo-element doesn't overflow */
}

/* Create a pseudo-element for the background image and filter */
.about-hero-bg::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url('../assets/Background.jpg') no-repeat center center;
  background-size: cover;
  filter: brightness(30%) saturate(110%);
  z-index: -1; /* positions it behind the content */
  
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content h2 {
  font-size: 2.5rem;
  color: var(--dark-blue);
  margin-bottom: 1.5rem;
  position: relative;
}

.about-content h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--accent-blue);
}

.about-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
}

.about-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Values Section */
.values-section {
  padding: 5rem 0;
  background: var(--light-gray);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--dark-blue);
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--accent-blue);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.value-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  color: var(--accent-blue);
}

.value-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-blue);
}

.value-card p {
  color: var(--dark-gray);
}

/* Leadership Section */
.leadership-section {
  padding: 5rem 0;
  background: var(--white);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.leader-card {
  text-align: center;
}

.leader-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 5px solid var(--light-blue);
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--dark-blue);
}

.leader-title {
  font-size: 1.2rem;
  color: var(--accent-blue);
  margin-bottom: 1rem;
  font-weight: 500;
}

.leader-bio {
  color: var(--dark-gray);
  max-width: 350px;
  margin: 0 auto;
}

/* Timeline Section */
.timeline-section {
  padding: 5rem 0;
  background: var(--light-gray);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 3rem auto 0;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--accent-blue);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 100%;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--accent-blue);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-content {
  position: relative;
  width: 45%;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-item:nth-child(odd) .timeline-content {
  left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
  left: 55%;
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent-blue);
}

.timeline-content p {
  color: var(--dark-gray);
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: var(--white);
  text-align: center;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2.5rem;
  color: var(--dark-blue);
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.2rem;
  color: var(--dark-gray);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background: var(--accent-blue);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-blue);
}

.cta-btn:hover {
  background: transparent;
  color: var(--accent-blue);
}

/* Responsive Design for About Page */
@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-dot {
    left: 30px;
  }
  
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    left: 0;
  }
}

@media (max-width: 576px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .about-content h2 {
    font-size: 2rem;
  }
}
