/* About Page Styles for MartStore */
.sign-in-btn {
  background-color: #00b894;
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-right: 15px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  animation: slideIcons 0.8s ease-out forwards;
}

.sign-in-btn:hover {
  background-color: #00a382;
  transform: translateY(-3px);
}

/* Make sure you adjust the nav-icons display to accommodate the new button */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 15px;
  animation: slideIcons 0.8s ease-out forwards;
}
/* About Hero Section */
.about-hero {
  height: 400px;
  background: linear-gradient(rgba(255, 255, 255, 0.884), rgb(255, 255, 255)), url("/api/placeholder/1200/400") center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(108, 92, 231, 0.3), rgba(0, 184, 148, 0.3));
  animation: gradientShift 10s infinite alternate;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.about-hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #ffffff;
  animation: fadeInDown 1s ease-out forwards;
}

.about-hero p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #ffffff;
  animation: fadeInUp 1s ease-out 0.3s forwards;
  opacity: 0;
}

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

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

/* Our Story Section */
.about-section {
  padding: 80px 0;
}

.about-story {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

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

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(108, 92, 231, 0.1), rgba(0, 184, 148, 0.2));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.about-image:hover .image-overlay {
  opacity: 1;
}

.about-content {
  flex: 1;
  min-width: 300px;
}

.about-content h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #4bfd15;
  position: relative;
  display: inline-block;
}

.about-content h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #6c5ce7, #00b894);
  animation: expandWidth 1s 0.5s forwards;
}

@keyframes expandWidth {
  from { width: 0; }
  to { width: 100%; }
}

.about-content p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #000000;
}

/* Mission Section */
.mission-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.mission-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(108, 92, 231, 0.05) 0%, transparent 70%);
  animation: pulseGlow 5s infinite alternate;
}

@keyframes pulseGlow {
  from { opacity: 0.3; }
  to { opacity: 0.7; }
}

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

.mission-card {
  background-color: #1e1e1e;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #6c5ce7, #00b894);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
  z-index: 2;
}

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

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

.mission-icon {
  font-size: 40px;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.mission-icon::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: #6c5ce7;
}

.mission-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #ffffff;
}

.mission-card p {
  color: #b0b0b0;
  line-height: 1.6;
}

/* Team Section */
.team-section {
  padding: 80px 0;
}

.team-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #b0b0b0;
  font-size: 18px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  text-align: center;
  transition: transform 0.3s ease;
}

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

.member-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

.member-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(108, 92, 231, 0), rgba(108, 92, 231, 0.7));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member:hover .member-overlay {
  opacity: 1;
}

.team-member h3 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #ffffff;
}

.member-title {
  color: #6c5ce7;
  font-weight: bold;
  margin-bottom: 10px;
}

.member-bio {
  color: #b0b0b0;
  font-size: 14px;
  line-height: 1.6;
}

/* Stats Section */
.stats-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 184, 148, 0.05) 0%, transparent 70%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 30px;
  position: relative;
}

.stat-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, #6c5ce7, #00b894);
  animation: statLineGrow 2s forwards;
  animation-play-state: paused;
}

.stat-item.reveal.active::before {
  animation-play-state: running;
}

@keyframes statLineGrow {
  from { height: 0; }
  to { height: 40px; }
}

.stat-number {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 10px;
  background: linear-gradient(45deg, #6c5ce7, #00b894);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stat-item.reveal.active .stat-number {
  opacity: 1;
  transform: scale(1);
}

.stat-label {
  font-size: 18px;
  color: #b0b0b0;
}

/* Values Section */
.values-section {
  padding: 80px 0;
}

.values-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.values-text {
  flex: 1;
  min-width: 300px;
}

.value-item {
  margin-bottom: 30px;
  position: relative;
  padding-left: 20px;
}

.value-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #6c5ce7;
}

.value-item h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #ffffff;
  position: relative;
  display: inline-block;
}

.value-item h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #00b894;
  transition: width 0.3s ease;
}

.value-item:hover h3::after {
  width: 100%;
}

.value-item p {
  color: #b0b0b0;
  line-height: 1.7;
}

.values-image {
  flex: 1;
  min-width: 300px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

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

/* Active Nav Link */
.nav-links a.active {
  color: #6c5ce7;
}

.nav-links a.active::after {
  width: 100%;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 36px;
  }
  
  .about-hero p {
    font-size: 16px;
  }
  
  .about-story, .values-content {
    flex-direction: column;
  }
  
  .about-image, .values-image {
    margin-bottom: 30px;
  }
  
  .mission-cards {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

