/**
 * About Us Page Styles
 * © 2025 Ophraxx
 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #5865f2;
  --primary-light: #7289da;
  --bg-darker: #0f0f0f;
  --bg-dark: #1a1a1a;
  --bg-card: #222222;
  --text-white: #ffffff;
  --text-light: #f0f0f0;
  --text-gray: #b0b0b0;
  --accent: #ff6b9d;
  --rose: #c06c84;
  --purple: #6c5b7b;
  --heart-gradient: linear-gradient(
    135deg,
    #ff6b9d 0%,
    #c06c84 50%,
    #6c5b7b 100%
  );
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.4);
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(88, 101, 242, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.logo {
  font-size: 1.8em;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--text-gray);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-link:hover {
  background: rgba(88, 101, 242, 0.1);
  color: var(--text-white);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 40px 80px;
}

/* Hero Section */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(88, 101, 242, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 30s linear infinite;
  z-index: -1;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--text-white);
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3);
}

.hero-title {
  font-size: 3.5em;
  font-weight: 700;
  margin-bottom: 20px;
  background: var(--heart-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.3em;
  color: var(--text-gray);
  margin-bottom: 50px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3em;
  font-weight: 700;
  background: var(--heart-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 5px;
}

.stat-label {
  color: var(--text-gray);
  font-size: 1.1em;
  font-weight: 500;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-description {
  font-size: 1.2em;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Mission Section */
.mission-section {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.02);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.mission-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--heart-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.mission-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 107, 157, 0.3);
}

.mission-card:hover::before {
  transform: scaleX(1);
}

.mission-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--heart-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2em;
  color: var(--text-white);
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
  transition: all 0.3s ease;
}

.mission-card:hover .mission-icon {
  transform: scale(1.1) rotate(5deg);
}

.mission-card h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--text-white);
}

.mission-card p {
  color: var(--text-gray);
  line-height: 1.7;
}

/* Values Section */
.values-section {
  padding: 100px 0;
}

.values-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.values-text {
  max-width: 600px;
}

.value-item {
  display: flex;
  gap: 25px;
  margin-bottom: 40px;
  align-items: flex-start;
  opacity: 1;
  transform: none;
}

.value-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  color: var(--text-white);
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3);
}

.value-content h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: var(--text-white);
}

.value-content p {
  color: var(--text-gray);
  line-height: 1.7;
}

.values-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.values-hexagon {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3em;
  color: var(--text-white);
  box-shadow: 0 15px 40px rgba(88, 101, 242, 0.4);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* Team Section */
.team-section {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.02);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
  margin-bottom: 50px;
}

.team-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(88, 101, 242, 0.3);
}

.team-card:hover::before {
  transform: scaleX(1);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 3px solid var(--primary);
  overflow: hidden;
  transition: all 0.3s ease;
}

.team-card:hover .team-avatar {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(88, 101, 242, 0.3);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-white);
}

.team-role {
  color: var(--primary-light);
  font-weight: 500;
  margin-bottom: 15px;
}

.team-description {
  color: var(--text-gray);
  font-size: 0.9em;
  line-height: 1.6;
}

.team-cta {
  text-align: center;
}

/* Impact Section */
.impact-section {
  padding: 100px 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.impact-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.impact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--heart-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.impact-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 107, 157, 0.3);
}

.impact-card:hover::before {
  transform: scaleX(1);
}

.impact-header {
  margin-bottom: 25px;
}

.impact-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--heart-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2em;
  color: var(--text-white);
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
}

.impact-card h3 {
  font-size: 1.5em;
  color: var(--text-white);
  margin-bottom: 15px;
}

.impact-content p {
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 25px;
}

.impact-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2.5em;
  font-weight: 700;
  background: var(--heart-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.stat-label {
  color: var(--text-gray);
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.impact-total {
  text-align: center;
  margin-top: 60px;
}

.total-raised {
  display: inline-block;
  background: var(--bg-card);
  border-radius: 20px;
  padding: 40px 60px;
  border: 2px solid rgba(255, 107, 157, 0.3);
  position: relative;
}

.total-label {
  display: block;
  color: var(--text-gray);
  font-size: 1.1em;
  margin-bottom: 10px;
}

.total-amount {
  display: block;
  font-size: 3.5em;
  font-weight: 700;
  background: var(--heart-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.total-note {
  display: block;
  color: var(--accent);
  font-size: 1em;
  font-weight: 500;
}

/* Story Section */
.story-section {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.02);
}

.story-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.story-text {
  max-width: 600px;
}

.story-lead {
  font-size: 1.3em;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 25px;
}

.story-text p {
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 25px;
}

.story-quote {
  background: rgba(88, 101, 242, 0.1);
  border-left: 4px solid var(--primary);
  padding: 25px;
  border-radius: 10px;
  margin-top: 30px;
}

.story-quote i {
  color: var(--primary);
  font-size: 1.5em;
  margin-bottom: 15px;
}

.story-quote p {
  font-style: italic;
  color: var(--text-light);
  font-size: 1.1em;
  margin-bottom: 15px;
}

.story-quote cite {
  color: var(--text-gray);
  font-size: 0.9em;
  font-style: normal;
}

.story-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-heart {
  width: 150px;
  height: 150px;
  background: var(--heart-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4em;
  color: var(--text-white);
  border-radius: 50%;
  box-shadow: 0 15px 40px rgba(255, 107, 157, 0.4);
  animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1);
  }
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    rgba(88, 101, 242, 0.1) 0%,
    rgba(114, 137, 218, 0.05) 100%
  );
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  background: var(--heart-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-description {
  font-size: 1.2em;
  color: var(--text-gray);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--text-white);
  box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 2px solid rgba(88, 101, 242, 0.3);
}

.btn-secondary:hover {
  background: rgba(88, 101, 242, 0.1);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid rgba(88, 101, 242, 0.1);
  padding: 40px 0;
}

.footer-content {
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary);
}

.footer p {
  color: var(--text-gray);
  font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 30px;
  }

  .container {
    padding: 120px 20px 60px;
  }

  .hero-title {
    font-size: 2.5em;
  }

  .hero-stats {
    gap: 40px;
  }

  .stat-number {
    font-size: 2.5em;
  }

  .section-title {
    font-size: 2.2em;
  }

  .values-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .story-content {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .total-raised {
    padding: 30px 40px;
  }

  .total-amount {
    font-size: 2.5em;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2em;
  }

  .hero-description {
    font-size: 1.1em;
  }

  .stat-number {
    font-size: 2em;
  }

  .section-title {
    font-size: 1.8em;
  }

  .mission-card,
  .impact-card {
    padding: 30px;
  }

  .total-raised {
    padding: 25px 30px;
  }

  .total-amount {
    font-size: 2em;
  }

  .values-hexagon {
    width: 150px;
    height: 150px;
    font-size: 2.5em;
  }

  .story-heart {
    width: 120px;
    height: 120px;
    font-size: 3em;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mission-card,
.impact-card,
.team-card {
  animation: fadeInUp 0.6s ease forwards;
}

.mission-card:nth-child(1) {
  animation-delay: 0.1s;
}
.mission-card:nth-child(2) {
  animation-delay: 0.2s;
}
.mission-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* Scroll animations */
.value-item {
  opacity: 1;
  transform: none;
}

.value-item.animate {
  opacity: 1;
  transform: none;
}

/* Counter animation */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-number {
  animation: countUp 0.8s ease forwards;
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

.scroll-top i {
  color: var(--text-white);
  font-size: 1.2em;
}