/* about.css - Modern About Page */

/* About Hero - Dynamic Header */
.about-hero {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.8) 0%,
    rgba(99, 102, 241, 0.4) 100%
  );
  z-index: 1;
}

.about-hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(
    circle,
    rgba(245, 158, 11, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
  z-index: 1;
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.8) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.9);
  line-height: var(--line-height-relaxed);
  max-width: 600px;
  margin: 0 auto;
}

/* Our Story Section - Modern Layout */
.our-story {
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(
    180deg,
    var(--bg-primary) 0%,
    var(--bg-secondary) 100%
  );
}

.our-story .story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xxl);
  align-items: center;
}

@media (min-width: 768px) {
  .our-story .story-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.story-content {
  position: relative;
}

.story-content h2 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--spacing-lg);
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.story-content p {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--text-secondary);
  position: relative;
  padding-left: var(--spacing-lg);
}

.story-content p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--bg-gradient);
  border-radius: var(--border-radius-pill);
}

.story-image {
  position: relative;
}

.story-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  background: var(--bg-gradient);
  border-radius: var(--border-radius-xl);
  opacity: 0.1;
  z-index: 1;
}

.story-image img {
  width: 100%;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.story-image:hover img {
  transform: scale(1.02);
  box-shadow: var(--shadow-2xl);
}

/* Our Values Section - Enhanced Cards */
.our-values {
  padding: var(--spacing-xxl) 0;
  background: var(--bg-secondary);
  position: relative;
}

.our-values::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%236366F1" fill-opacity="0.02"><circle cx="30" cy="30" r="3"/></g></g></svg>');
  opacity: 0.5;
}

.our-values .container {
  position: relative;
  z-index: 1;
}

.our-values .section-title {
  font-size: var(--font-size-4xl);
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-md);
}

.our-values .section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--spacing-xxl);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.value-card {
  background: var(--bg-primary);
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color-light);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bg-gradient-secondary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(245, 158, 11, 0.2);
}

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

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-lg);
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.1),
    rgba(249, 115, 22, 0.1)
  );
  border-radius: var(--border-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
}

.value-card:hover .value-icon {
  background: var(--bg-gradient-secondary);
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

.value-icon img {
  width: 50%;
  height: 50%;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%)
    hue-rotate(25deg) brightness(99%) contrast(101%);
}

.value-card:hover .value-icon img {
  filter: brightness(0) saturate(100%) invert(100%);
}

.value-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-md);
  color: var(--secondary-color);
  font-weight: 600;
  font-family: var(--font-primary);
  letter-spacing: -0.01em;
}

.value-card p {
  color: var(--text-secondary);
  font-size: var(--font-size-md);
  line-height: var(--line-height-relaxed);
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-hero {
    min-height: 50vh;
    background-attachment: scroll;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }

  .hero-content p {
    font-size: var(--font-size-md);
  }

  .our-story .story-grid {
    gap: var(--spacing-xl);
  }

  .story-content p {
    padding-left: var(--spacing-md);
  }

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