/* About Page - Hero Section Stats Grid */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 500px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(79, 209, 197, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #4fd1c5;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  line-height: 1.4;
}

/* History Section */
.history-section {
  background: #ffffff;
  padding: 5rem 2rem;
}

.history-container {
  max-width: 1400px;
  margin: 0 auto;
}

.history-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0a1f1c;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.history-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #666666;
  margin: 0 0 4rem 0;
  max-width: 900px;
}

.timeline-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-wrapper::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #4fd1c5 0%, #0a1f1c 100%);
  transform: translateX(-50%);
  z-index: 0;
}

.timeline-item {
  position: relative;
  width: 100%;
  margin-bottom: 4rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
}

.timeline-spacer {
  display: none;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 2rem;
  width: 20px;
  height: 20px;
  background: #4fd1c5;
  border: 4px solid #ffffff;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(79, 209, 197, 0.15);
  z-index: 2;
}

.timeline-content {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 1.25rem;
  padding: 2.5rem;
  width: calc(50% - 3rem);
  position: relative;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  border-color: #4fd1c5;
  box-shadow: 0 12px 32px rgba(79, 209, 197, 0.15);
  transform: translateY(-5px);
}

.timeline-item:nth-child(odd) .timeline-content {
  text-align: right;
  margin-right: calc(50% + 3rem);
}

.timeline-item:nth-child(even) .timeline-content {
  text-align: left;
  margin-left: calc(50% + 3rem);
}

.timeline-item:nth-child(odd) .timeline-content::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 2rem;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 15px solid #e0e0e0;
  transition: border-color 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  content: "";
  position: absolute;
  right: -14px;
  top: calc(2rem + 1px);
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 14px solid #ffffff;
  z-index: 1;
}

.timeline-item:nth-child(even) .timeline-content::after {
  content: "";
  position: absolute;
  left: -15px;
  top: 2rem;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-right: 15px solid #e0e0e0;
  transition: border-color 0.3s ease;
}

.timeline-item:nth-child(even) .timeline-content::before {
  content: "";
  position: absolute;
  left: -14px;
  top: calc(2rem + 1px);
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-right: 14px solid #ffffff;
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-content:hover::after {
  border-left-color: #4fd1c5;
}

.timeline-item:nth-child(even) .timeline-content:hover::after {
  border-right-color: #4fd1c5;
}

.timeline-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #4fd1c5 0%, #0a1f1c 100%);
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-date::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
}

.timeline-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0a1f1c;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.timeline-description {
  font-size: 1rem;
  line-height: 1.8;
  color: #666666;
  margin: 0;
}

/* Mission Section */
.mission-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a1f1c 100%);
  padding: 5rem 2rem;
  margin: 0.5rem;
  border-radius: 0.75rem;
  color: #ffffff;
}

.mission-container {
  max-width: 1400px;
  margin: 0 auto;
}

.mission-header {
  max-width: 900px;
  margin-bottom: 3rem;
}

.mission-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 1.5rem 0;
}

.mission-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.mission-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 3rem;
  display: flex;
  gap: 2rem;
  transition: all 0.3s ease;
}

.mission-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.mission-icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  background: rgba(79, 209, 197, 0.15);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-icon i {
  font-size: 2rem;
  color: #4fd1c5;
}

.mission-content {
  flex: 1;
}

.mission-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: #ffffff;
}

.mission-card-description {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Values Section */
.values-section {
  padding: 100px 20px;
  background: #ffffff;
}

.values-container {
  max-width: 1400px;
  margin: 0 auto;
}

.values-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0a1f1c;
  text-align: center;
  margin-bottom: 60px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.value-card {
  background: #ffffff;
  border-radius: 1.36125rem;
  border: 1px solid #e0e0e0;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: border-color 0.2s ease;
}

.value-card:hover {
  border-color: #cccccc;
}

.value-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a1f1c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.value-icon i {
  font-size: 2rem;
  color: #ffffff;
}

.value-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #0a1f1c;
  margin: 0 0 1rem 0;
}

.value-card p {
  font-size: 0.95rem;
  color: #666666;
  line-height: 1.6;
  margin: 0;
}

/* Management Section */
.management-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a1f1c 100%);
  padding: 3rem 2rem;
  margin: 0.5rem;
  border-radius: 0.75rem;
  color: #ffffff;
}

.management-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.management-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.management-subtitle {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 2rem 0;
}

.management-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 420px;
  margin: 0 auto;
}

.management-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
}

.management-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(79, 209, 197, 0.4);
  transform: translateY(-3px);
}

.management-avatar {
  width: 65px;
  height: 65px;
  background: rgba(79, 209, 197, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border: 2px solid rgba(79, 209, 197, 0.3);
}

.management-avatar i {
  font-size: 2rem;
  color: #4fd1c5;
}

.management-info {
  text-align: center;
}

.management-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.4rem 0;
}

.management-position {
  font-size: 0.95rem;
  color: #4fd1c5;
  font-weight: 500;
  margin: 0 0 0.65rem 0;
}

.management-bio {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .history-section,
  .mission-section,
  .values-section {
    padding: 80px 20px;
  }

  .values-title {
    font-size: 2rem;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-card {
    padding: 1.5rem 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .history-section,
  .mission-section,
  .values-section,
  .management-section {
    padding: 3rem 1.25rem;
  }

  .history-title,
  .mission-title,
  .values-title,
  .management-title {
    font-size: 1.75rem;
  }

  .history-subtitle,
  .mission-subtitle,
  .management-subtitle {
    font-size: 1rem;
  }

  .timeline-wrapper {
    padding: 1.5rem 0;
  }

  .timeline-wrapper::before {
    left: 2rem;
    transform: none;
  }

  .timeline-item {
    margin-bottom: 2.5rem;
    justify-content: flex-start !important;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    width: calc(100% - 5rem);
    margin-left: 5rem;
    margin-right: 0;
    text-align: left;
  }

  .timeline-dot {
    left: 2rem !important;
    top: 1.5rem;
    transform: translateX(-50%) !important;
    width: 18px;
    height: 18px;
  }

  .timeline-item:nth-child(odd) .timeline-content::after,
  .timeline-item:nth-child(even) .timeline-content::after {
    left: -15px;
    right: auto;
    top: 1.5rem;
    border-left: none;
    border-right: 15px solid #e0e0e0;
  }

  .timeline-item:nth-child(odd) .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -14px;
    right: auto;
    top: calc(1.5rem + 1px);
    border-left: none;
    border-right: 14px solid #ffffff;
  }

  .timeline-item:nth-child(odd) .timeline-content:hover::after,
  .timeline-item:nth-child(even) .timeline-content:hover::after {
    border-left-color: transparent;
    border-right-color: #4fd1c5;
  }

  .timeline-content {
    padding: 1.75rem 2rem;
  }

  .timeline-date {
    font-size: 0.8rem;
    padding: 0.45rem 1rem;
    margin-bottom: 1rem;
  }

  .timeline-title {
    font-size: 1.35rem;
  }

  .timeline-description {
    font-size: 0.95rem;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .mission-card {
    padding: 2rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .mission-icon {
    width: 60px;
    height: 60px;
  }

  .mission-icon i {
    font-size: 1.75rem;
  }

  .mission-card-title {
    font-size: 1.25rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .value-card {
    padding: 2rem;
  }
  section {
    padding: 60px 15px;
  }

  .values-title {
    font-size: 1.75rem;
    margin-bottom: 40px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .value-card {
    padding: 2rem 1.5rem;
  }

  .value-icon {
    width: 70px;
    height: 70px;
  }

  .value-icon i {
    font-size: 1.75rem;
  }

  .value-card h3 {
    font-size: 1.2rem;
  }

  .value-card p {
    font-size: 0.9rem;
  }

  .management-section {
    padding: 2.5rem 1.25rem;
  }

  .management-title {
    font-size: 1.5rem;
  }

  .management-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .management-card {
    padding: 1.75rem 1.25rem;
  }

  .management-avatar {
    width: 55px;
    height: 55px;
  }

  .management-avatar i {
    font-size: 1.75rem;
  }

  .management-name {
    font-size: 1.2rem;
  }

  .management-position {
    font-size: 0.9rem;
  }

  .management-bio {
    font-size: 0.85rem;
  }
}

/* Tech Stack Section */
.tech-stack-section {
  background: #ffffff;
  padding: 5rem 2rem;
}

.tech-stack-container {
  max-width: 1200px;
  margin: 0 auto;
}

.tech-stack-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0a1f1c;
  text-align: center;
  margin-bottom: 1rem;
}

.tech-stack-subtitle {
  font-size: 1.15rem;
  color: #666666;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem auto;
  line-height: 1.8;
}

.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.tech-stack-category {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 1.36125rem;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: border-color 0.2s ease;
}

.tech-stack-category:hover {
  border-color: #cccccc;
}

.tech-stack-category-title {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a1f1c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.tech-stack-category-title i {
  color: #ffffff;
  font-size: 2rem;
}

.tech-stack-category h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #0a1f1c;
  margin: 0 0 1.5rem 0;
}

.tech-stack-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tech-stack-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #333333;
  transition: all 0.2s ease;
}

.tech-stack-item:hover {
  background: rgba(79, 209, 197, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .tech-stack-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-description {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .tech-stack-section {
    padding: 3rem 1.5rem;
  }

  .tech-stack-title {
    font-size: 1.75rem;
  }

  .tech-stack-subtitle {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }

  .tech-stack-category {
    padding: 2rem 1.5rem;
  }

  .tech-stack-category-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .history-title,
  .mission-title,
  .values-title,
  .management-title {
    font-size: 1.5rem;
  }

  .timeline-title {
    font-size: 1.1rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .tech-stack-title {
    font-size: 1.5rem;
  }

  .tech-stack-item {
    font-size: 0.9rem;
  }
}
