/* About Page Styles */
:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --text-gradient: linear-gradient(
    135deg,
    #4f46e5 0%,
    #9333ea 50%,
    #e11d48 100%
  );
  --section-spacing: 5rem;
  --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --font-primary: "Space Grotesk", sans-serif;
  --font-secondary: "Poppins", sans-serif;
}

body {
  font-family: var(--font-secondary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
}

/* Gradient Text */
.gradient-text {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Hero Section */
.about-hero {
  background: var(--primary-gradient);
  padding: 8rem 2rem 5rem 2rem;
  text-align: center;
  margin-top: 0;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-family: var(--font-primary);
  font-size: 4rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff !important;
}

.hero-subtitle {
  font-family: var(--font-primary);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-weight: 500;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

/* Story Section */
.story-section {
  padding: var(--section-spacing) 2rem;
  background: #fff;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-text h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

.story-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 1.5rem;
}

/* Story Image Grid - Unique 3 Photo Design */
.story-image-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  height: 100%;
}

.story-image-main {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  height: 350px;
}

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

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

.story-image-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.story-image-small {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  height: 220px;
}

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

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

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 1.5rem 1rem 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.story-image-main:hover .image-overlay,
.story-image-small:hover .image-overlay {
  transform: translateY(0);
}

.image-overlay span {
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  display: block;
}

/* Values Section */
.values-section {
  padding: var(--section-spacing) 2rem;
  background: #f8fafc;
}

.values-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #1a1a1a;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s;
  box-shadow: var(--card-shadow);
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
}

.value-icon i {
  font-size: 24px;
  display: inline-block;
}

.value-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.value-card p {
  color: #4a5568;
  line-height: 1.6;
}

/* Team Section */
.team-section {
  padding: var(--section-spacing) 2rem;
  background: white;
}

.team-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.section-subtitle {
  text-align: center;
  color: #4a5568;
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-member {
  text-align: center;
}

.member-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

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

.team-member h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.member-role {
  color: #4a5568;
  margin-bottom: 1rem;
}

.member-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-link {
  width: 35px;
  height: 35px;
  background: #f0f4ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667eea;
  transition: all 0.3s;
}

.social-link:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

.social-link i {
  font-size: 18px;
  display: inline-block;
}

/* Stats Section */
.stats-section {
  padding: var(--section-spacing) 2rem;
  background: var(--primary-gradient);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.3);
  filter: none !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
  font-family: var(--font-primary);
}

.stat-item p {
  font-size: 1.2rem;
  color: #ffffff;
  opacity: 0.95;
}

/* CTA Section */
.cta-section {
  padding: var(--section-spacing) 2rem;
  text-align: center;
  background: #f8fafc;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.cta-section p {
  font-size: 1.2rem;
  color: #4a5568;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary-gradient);
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Services Section */
.services-section {
  padding: var(--section-spacing) 2rem;
  background: #fff;
}

.services-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.services-section .section-subtitle {
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--text-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.8rem;
}

.service-icon i {
  font-size: 28px;
  display: inline-block;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
  font-weight: 600;
}

.service-card p {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
  color: #4a5568;
}

.service-features li i {
  display: inline-block;
  width: 20px;
  margin-right: 8px;
  color: #4f46e5;
  font-size: 16px;
}

/* Icon Styles */
.value-icon i,
.service-icon i,
.member-social i {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

.value-icon i {
  font-size: 24px;
  color: #ffffff;
  font-weight: 900;
}

.service-icon i {
  font-size: 28px;
  color: #ffffff;
  font-weight: 900;
}

.member-social i {
  font-size: 18px;
}

.fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
}

.fa-solid {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  .story-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .story-image {
    max-width: 600px;
    margin: 0 auto;
  }

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

@media screen and (max-width: 768px) {
  .about-hero {
    padding: 4rem 1.5rem;
  }

  .hero-content h1 {
    font-size: 3rem;
    color: #ffffff !important;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .story-text h2,
  .values-section h2,
  .team-section h2,
  .cta-section h2 {
    font-size: 2rem;
  }

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

  .team-grid {
    gap: 2rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-icon {
    width: 60px;
    height: 60px;
  }

  .service-icon i {
    font-size: 24px;
  }
}

@media screen and (max-width: 480px) {
  .about-hero {
    padding: 3rem 1rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    color: #ffffff !important;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .section-spacing {
    padding: 3rem 1rem;
  }

  .story-text h2,
  .values-section h2,
  .team-section h2,
  .cta-section h2 {
    font-size: 1.8rem;
  }

  .member-image {
    width: 150px;
    height: 150px;
  }

  .stats-grid {
    gap: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .service-card {
    padding: 1.25rem;
  }

  .service-icon {
    width: 50px;
    height: 50px;
  }

  .service-icon i {
    font-size: 20px;
  }
}

/* Animation for service cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.service-card:nth-child(1) {
  animation-delay: 0.1s;
}
.service-card:nth-child(2) {
  animation-delay: 0.2s;
}
.service-card:nth-child(3) {
  animation-delay: 0.3s;
}
.service-card:nth-child(4) {
  animation-delay: 0.4s;
}
.service-card:nth-child(5) {
  animation-delay: 0.5s;
}
.service-card:nth-child(6) {
  animation-delay: 0.6s;
}
