/* Our Story Section */
.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.story-image {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--box-shadow);
}

.story-image img {
  transition: transform 0.5s ease;
}

.story-image:hover img {
  transform: scale(1.05);
}

.story-text h3 {
  margin-bottom: 16px;
}

.story-text p {
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .story-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Mission & Values Section */
.mission-values-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.mission-box {
  background-color: var(--pearl-white);
  padding: 32px;
  border-radius: 4px;
  box-shadow: var(--box-shadow);
  margin-bottom: 32px;
}

.mission-box h3 {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.mission-box h3 i {
  margin-right: 16px;
  color: var(--crimson-red);
  font-size: 1.5rem;
}

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

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

.value-card {
  background-color: var(--pearl-white);
  border-radius: 4px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.value-card:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--warm-taupe);
  opacity: 0.1;
  transition: height 0.3s ease;
  z-index: -1;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.value-card:hover:before {
  height: 100%;
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: rgba(179, 139, 109, 0.1);
  border-radius: 50%;
  margin: 0 auto 16px;
}

.value-icon i {
  font-size: 1.5rem;
  color: var(--warm-taupe);
}

.value-card h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.value-card p {
  margin-bottom: 0;
  color: var(--medium-gray);
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.team-member {
  background-color: var(--pearl-white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.member-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

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

.team-member:hover .member-image img {
  transform: scale(1.1);
}

.member-info {
  padding: 24px;
  text-align: center;
}

.member-info h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.member-position {
  color: var(--crimson-red);
  font-weight: 500;
  margin-bottom: 16px;
  display: block;
}

.member-bio {
  margin-bottom: 0;
  color: var(--medium-gray);
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* Achievements Section */
.achievement-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 32px;
}

.achievement-timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 4px;
  width: 2px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item:before {
  content: '';
  position: absolute;
  top: 0;
  left: -32px;
  width: 10px;
  height: 10px;
  background-color: var(--crimson-red);
  border-radius: 50%;
}

.timeline-date {
  position: absolute;
  top: -4px;
  left: -100px;
  width: 60px;
  font-family: var(--heading-font);
  font-size: 1.25rem;
  color: var(--warm-taupe);
}

.timeline-content h3 {
  margin-bottom: 8px;
  color: var(--pearl-white);
}

.timeline-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .achievement-timeline {
    padding-left: 48px;
  }
  
  .timeline-date {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 8px;
  }
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  height: 250px;
  box-shadow: var(--box-shadow);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--pearl-white);
  font-family: var(--heading-font);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA Section */
.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--pearl-white);
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

@media (max-width: 576px) {
  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }
}