/* About Page - Logical Blocks and Sections Styling */

/* Main Content Wrapper */
.main-content-wrapper {
  padding: 0;
  margin: 0;
}

/* Content Blocks */
.content-block {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.content-block:nth-child(even) {
  background-color: #f8f9fa;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(
    135deg,
    var(--color-yellow),
    var(--color-yellow-hover)
  );
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #7f8c8d;
  font-weight: 400;
  margin-top: 20px;
}

/* Mission Section Specific */
.mission-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}

.mission-text-box {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-left: 5px solid var(--color-yellow);
}

.mission-text-box p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #34495e;
  margin-bottom: 20px;
}

.mission-text-box p:last-child {
  margin-bottom: 0;
}

.mission-visual-box {
  background: linear-gradient(
    135deg,
    var(--color-yellow),
    var(--color-yellow-hover)
  );
  padding: 40px;
  border-radius: 15px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  /* Remove parallax effect - reset any transforms */
  transform: none !important;
}

.mission-visual-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>')
    repeat;
  animation: float 20s infinite linear;
}

.mission-highlight {
  font-size: 1.3rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

/* Values Container */
.values-container {
  margin-top: 40px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Interactive Cards */
.interactive-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid #e8ecef;
}

.interactive-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    135deg,
    var(--color-yellow),
    var(--color-yellow-hover)
  );
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.interactive-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.interactive-card:hover::before {
  transform: scaleX(1);
}

/* Value Cards */
.value-card .card-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.value-icon {
  width: 60px;
  height: 60px;
  margin-right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--color-yellow),
    var(--color-yellow-hover)
  );
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.interactive-card:hover .value-icon {
  transform: rotate(5deg) scale(1.1);
}

.value-svg-icon {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}

.value-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

.card-content {
  margin-top: 15px;
}

.value-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #5a6c7d;
  margin: 0;
}

/* Team Container */
.team-container {
  margin-top: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.member-image-box {
  width: 120px;
  height: 120px;
  margin-bottom: 25px;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  border: 4px solid var(--color-yellow);
  transition: all 0.3s ease;
}

.interactive-card:hover .member-image-box {
  transform: scale(1.05);
  border-color: #2980b9;
}

.member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.interactive-card:hover .member-image {
  transform: scale(1.1);
}

.member-info-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.member-name {
  text-align: center;
  margin: 0 auto;
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
}

.member-role {
  font-size: 1rem;
  color: var(--color-yellow);
  font-weight: 500;
  margin-bottom: 15px;
}

.member-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #5a6c7d;
  margin: 0;
}

/* History Container */
.history-container {
  margin-top: 40px;
}

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

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #3498db, #2980b9);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  width: 100%;
}

.timeline-item:nth-child(odd) {
  padding-right: 50%;
  text-align: right;
}

.timeline-item:nth-child(even) {
  padding-left: 50%;
  text-align: left;
}

.timeline-marker {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-year {
  background: linear-gradient(
    135deg,
    var(--color-yellow),
    var(--color-yellow-hover)
  );
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.timeline-content-box {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  margin-top: 10px;
}

.timeline-item:nth-child(odd) .timeline-content-box::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 30px;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-left-color: white;
}

.timeline-item:nth-child(even) .timeline-content-box::after {
  content: "";
  position: absolute;
  left: -10px;
  top: 30px;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-right-color: white;
}

.timeline-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
}

.timeline-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #5a6c7d;
  margin: 0;
}

/* Testimonials Container */
.testimonials-container {
  margin-top: 40px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-content-box {
  flex: 1;
  margin-bottom: 25px;
  position: relative;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid var(--color-yellow);
}

.testimonial-content-box::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 3rem;
  color: var(--color-yellow);
  font-weight: bold;
  line-height: 1;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #34495e;
  margin: 0;
  font-style: italic;
}

.testimonial-author-box {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-image-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--color-yellow);
  flex-shrink: 0;
}

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

.author-info {
  flex: 1;
}

.author-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
}

.author-position {
  font-size: 0.9rem;
  color: #7f8c8d;
  margin: 0;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateX(-50%) translateY(-50%) rotate(0deg);
  }
  100% {
    transform: translateX(-50%) translateY(-50%) rotate(360deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
  .content-block {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .mission-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    padding-left: 70px !important;
    padding-right: 0 !important;
    text-align: left !important;
  }

  .timeline-marker {
    left: 30px !important;
    transform: none !important;
  }

  .timeline-content-box::after {
    display: none;
  }

  .timeline-item .timeline-content-box::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 30px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-right-color: white;
  }
}

@media (max-width: 480px) {
  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .interactive-card {
    padding: 20px;
  }

  .mission-text-box,
  .mission-visual-box {
    padding: 25px;
  }

  .value-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
  }

  .value-svg-icon {
    width: 28px;
    height: 28px;
  }

  .member-image-box {
    width: 100px;
    height: 100px;
  }
}
