/* About Page Specific Styles */

.about-hero {
  padding: 140px 24px 80px;
  text-align: center;
  background: linear-gradient(180deg, rgba(0, 163, 255, 0.1), transparent);
}

.page-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.page-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Vision & Mission */
.vision-mission {
  padding: 80px 24px;
}

.vm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.vm-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  transition: var(--transition);
}

.vm-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.vm-icon {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.vm-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary-color);
}

.vm-description {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 16px;
}

/* Core Values */
.core-values {
  padding: 80px 24px;
  background: linear-gradient(180deg, transparent, rgba(0, 163, 255, 0.05));
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmin(250px, 1fr));
  gap: 32px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.value-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.value-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.value-description {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* Timeline */
.timeline-section {
  padding: 80px 24px;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 40px);
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--bg-card);
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  z-index: 2;
}

.timeline-marker.active {
  background: var(--primary-color);
  box-shadow: 0 0 0 8px rgba(0, 163, 255, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 8px rgba(0, 163, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(0, 163, 255, 0.1);
  }
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  max-width: 400px;
  transition: var(--transition);
}

.timeline-content:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.timeline-year {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
}

.timeline-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.timeline-description {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 16px;
}

.timeline-image {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 16px;
}

.timeline-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Video Section */
.video-section {
  padding: 80px 24px;
  background: linear-gradient(180deg, rgba(0, 163, 255, 0.05), transparent);
}

.video-container {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
}

/* CTA Section */
.cta-section {
  padding: 80px 24px;
}

.cta-content {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  color: white;
}

.cta-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-description {
  font-size: clamp(16px, 2vw, 18px);
  margin-bottom: 32px;
  opacity: 0.9;
}

.cta-content .cta-button {
  background: white;
  color: var(--primary-color);
}

.cta-content .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

/* ==========================================
   CHINWA DAY THEME - ABOUT PAGE
   ========================================== */

/* Hero Section - Chinwa Day */
.chinwa-day-mode .about-hero {
  background: linear-gradient(180deg, 
    rgba(196, 30, 58, 0.15) 0%,
    rgba(212, 175, 55, 0.05) 50%,
    transparent 100%
  );
  position: relative;
  overflow: hidden;
}

.chinwa-day-mode .about-hero::before {
  content: "🏮";
  position: absolute;
  top: 20%;
  left: 10%;
  font-size: 80px;
  opacity: 0.08;
  animation: floatLantern 8s ease-in-out infinite;
}

.chinwa-day-mode .about-hero::after {
  content: "🏮";
  position: absolute;
  top: 40%;
  right: 15%;
  font-size: 60px;
  opacity: 0.08;
  animation: floatLantern 6s ease-in-out infinite 1s;
}

/* Vision & Mission Cards - Chinwa Day */
.chinwa-day-mode .vm-card {
  background: linear-gradient(135deg, 
    rgba(15, 15, 15, 0.95) 0%,
    rgba(25, 10, 10, 0.95) 100%
  );
  border: 2px solid var(--chinwa-gold);
  position: relative;
  overflow: hidden;
}

.chinwa-day-mode .vm-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--chinwa-gold), var(--chinwa-red), var(--chinwa-gold));
  background-size: 200% 100%;
  animation: goldenShimmer 3s linear infinite;
}

.chinwa-day-mode .vm-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 48px rgba(196, 30, 58, 0.4), 0 0 40px rgba(212, 175, 55, 0.3);
  border-color: var(--chinwa-gold-light);
}

.chinwa-day-mode .vm-icon circle,
.chinwa-day-mode .vm-icon rect {
  stroke: var(--chinwa-gold);
}

.chinwa-day-mode .vm-icon path {
  stroke: var(--chinwa-gold);
}

.chinwa-day-mode .vm-title {
  color: var(--chinwa-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Core Values - Chinwa Day */
.chinwa-day-mode .core-values {
  background: linear-gradient(180deg, 
    transparent 0%,
    rgba(196, 30, 58, 0.05) 50%,
    transparent 100%
  );
}

.chinwa-day-mode .value-card {
  background: linear-gradient(135deg, 
    rgba(196, 30, 58, 0.1) 0%,
    rgba(15, 15, 15, 0.9) 100%
  );
  border: 2px solid var(--chinwa-gold);
  position: relative;
}

.chinwa-day-mode .value-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--chinwa-gold), transparent);
}

.chinwa-day-mode .value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--chinwa-glow);
  border-color: var(--chinwa-gold-light);
}

.chinwa-day-mode .value-icon circle,
.chinwa-day-mode .value-icon rect,
.chinwa-day-mode .value-icon path {
  stroke: var(--chinwa-gold);
}

.chinwa-day-mode .value-title {
  color: var(--chinwa-gold);
  font-weight: 700;
  letter-spacing: 1px;
}

/* Timeline - Chinwa Day */
.chinwa-day-mode .timeline::before {
  background: linear-gradient(180deg, 
    var(--chinwa-gold), 
    var(--chinwa-red), 
    var(--chinwa-gold)
  );
  width: 3px;
}

.chinwa-day-mode .timeline-marker {
  background: var(--chinwa-black);
  border: 4px solid var(--chinwa-gold);
  width: 24px;
  height: 24px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.chinwa-day-mode .timeline-marker.active {
  background: var(--chinwa-gold);
  border-color: var(--chinwa-red);
  box-shadow: 0 0 0 8px rgba(212, 175, 55, 0.3), 0 0 0 16px rgba(196, 30, 58, 0.2);
  animation: chinwaPulse 2s infinite;
}

@keyframes chinwaPulse {
  0%, 100% {
    box-shadow: 0 0 0 8px rgba(212, 175, 55, 0.3), 0 0 0 16px rgba(196, 30, 58, 0.2);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(212, 175, 55, 0.5), 0 0 0 24px rgba(196, 30, 58, 0.3);
  }
}

.chinwa-day-mode .timeline-content {
  background: linear-gradient(135deg, 
    rgba(15, 15, 15, 0.95) 0%,
    rgba(25, 10, 10, 0.95) 100%
  );
  border: 2px solid var(--chinwa-gold);
  box-shadow: var(--chinwa-glow);
}

.chinwa-day-mode .timeline-content:hover {
  border-color: var(--chinwa-gold-light);
  box-shadow: 0 12px 40px rgba(196, 30, 58, 0.5), 0 0 40px rgba(212, 175, 55, 0.4);
}

.chinwa-day-mode .timeline-year {
  background: linear-gradient(135deg, var(--chinwa-red), var(--chinwa-red-dark));
  border: 2px solid var(--chinwa-gold);
  color: var(--chinwa-gold);
  font-weight: 800;
  letter-spacing: 1px;
}

.chinwa-day-mode .timeline-title {
  color: var(--chinwa-gold);
  font-weight: 700;
}

.chinwa-day-mode .timeline-image {
  border: 2px solid var(--chinwa-gold);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

/* Video Section - Chinwa Day */
.chinwa-day-mode .video-section {
  background: linear-gradient(180deg, 
    rgba(212, 175, 55, 0.05) 0%,
    transparent 100%
  );
}

.chinwa-day-mode .video-container {
  border: 3px solid var(--chinwa-gold);
  box-shadow: var(--chinwa-shadow);
}

/* CTA Section - Chinwa Day */
.chinwa-day-mode .cta-content {
  background: linear-gradient(135deg, 
    var(--chinwa-red) 0%,
    var(--chinwa-red-dark) 50%,
    var(--chinwa-red) 100%
  );
  border: 3px solid var(--chinwa-gold);
  box-shadow: 
    var(--chinwa-shadow),
    inset 0 1px 0 rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
}

.chinwa-day-mode .cta-content::before {
  content: "🧧";
  position: absolute;
  top: -20px;
  left: -20px;
  font-size: 120px;
  opacity: 0.1;
  animation: floatLantern 10s ease-in-out infinite;
}

.chinwa-day-mode .cta-content::after {
  content: "🧧";
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 120px;
  opacity: 0.1;
  animation: floatLantern 12s ease-in-out infinite 2s;
}

.chinwa-day-mode .cta-title {
  color: var(--chinwa-gold);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.chinwa-day-mode .cta-description {
  color: var(--chinwa-ivory);
}

.chinwa-day-mode .cta-content .cta-button {
  background: linear-gradient(135deg, var(--chinwa-gold), var(--chinwa-gold-light));
  color: var(--chinwa-red);
  border: 2px solid var(--chinwa-gold-light);
  font-weight: 800;
  letter-spacing: 1px;
}

.chinwa-day-mode .cta-content .cta-button:hover {
  background: linear-gradient(135deg, var(--chinwa-gold-light), var(--chinwa-gold));
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.6);
  transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
    transform: none;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-right: 0;
    padding-left: 60px;
    justify-content: flex-start;
  }

  .timeline-marker {
    left: 11px;
    transform: none;
  }

  .timeline-content {
    max-width: 100%;
  }
  
  .chinwa-day-mode .about-hero::before,
  .chinwa-day-mode .about-hero::after {
    font-size: 50px;
  }
}