/* About Hero Section Styles */
.about-hero-section {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

/* Background Image */
.about-hero-section .bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%); 
    z-index: 1;
    animation: zoomIn 20s ease-in-out infinite alternate;
}

/* Container content above image */
.about-hero-section > .container {
    position: relative;
    z-index: 2;
    height: 100%;
}

/* Titles */
.about-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* Optional: Background image zoom animation */
@keyframes zoomIn {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}


.about-mission-section,
.about-vision-section,
.about-values-section,
.about-history-section {
  background-color: var(--bg-white);
}

.section-text {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}
.about-image-placeholder {
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.about-image-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover; 
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px; 
    transition: transform 0.5s ease; 
}

/* Optional hover zoom effect */
.about-image-placeholder img:hover {
    transform: scale(1.05);
}

/* Values Cards */
.value-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.value-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.value-title {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

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

/* Stats Section */
.ab-stat-card {
  padding: 2rem;
  background: var(--bg-white);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.ab-stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.stat-number {
  font-size: 2.5rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
}
/* Timeline Section */
.timeline {
  position: relative;
  padding: 3rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background-color: var(--primary-color);
  z-index: 1;
}

.timeline-item {
  position: relative;
  margin-bottom: 3.5rem;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, 0);
  width: 70px;
  height: 70px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  border: 4px solid #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.timeline-content {
  position: relative;
  background: var(--bg-light);
  padding: 1.8rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
  width: 45%;
  z-index: 2;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
}

/* Odd and even alignment */
.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 0;
  margin-right: auto;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
  margin-right: 0;
  text-align: left;
  border-left: none;
  border-right: 4px solid var(--primary-color);
}

.timeline-content h5 {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.timeline-content p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ============ Responsive Design ============ */
@media (max-width: 992px) {
  .timeline::before {
    left: 30px;
  }

  .timeline-marker {
    left: 30px;
    width: 55px;
    height: 55px;
    font-size: 0.9rem;
  }

  .timeline-item {
    margin-bottom: 2.5rem;
  }

  .timeline-content {
    width: calc(100% - 90px);
    margin-left: 80px;
    text-align: left !important;
    border-left: 4px solid var(--primary-color);
    border-right: none;
  }
}

@media (max-width: 576px) {
  .timeline {
    padding: 2rem 0;
  }

  .timeline-marker {
    width: 45px;
    height: 45px;
    font-size: 0.8rem;
  }

  .timeline-content {
    width: calc(100% - 70px);
    margin-left: 70px;
    padding: 1.2rem;
  }

  .timeline-content h5 {
    font-size: 1rem;
  }

  .timeline-content p {
    font-size: 0.9rem;
  }
}
