/**
 * About Page Specific Styles
 * Styles for about hero, video section, mission, vision, values, and team
 */

/* About Hero Section */
.about-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #0a0a0a;
}

.about-hero .hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.about-hero .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
}

.about-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 0, 128, 0.3) 0%,
    rgba(0, 212, 255, 0.3) 100%
  );
  z-index: 2;
}

.about-hero .hero-content {
  position: relative;
  z-index: 3;
  color: white;
  text-align: center;
}

.about-hero .hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-hero .hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

/* Video Section */
.video-section {
  background: var(--light-bg);
  padding: 5rem 0;
}

[data-theme="dark"] .video-section {
  background: var(--dark-bg);
}

.video-container {
  text-align: center;
}

.video-wrapper {
  position: relative;
  display: inline-block;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 1200px;
}

[data-theme="dark"] .video-wrapper {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.history-section {
  background: var(--light-bg);
  position: relative;
}

.about-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  aspect-ratio: 16 / 9;
}

/* Added gradient button styles for video controls */
.gradient-btn {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  ) !important;
  border: none !important;
  color: white !important;
  transition: all 0.3s ease;
}

.gradient-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 0, 128, 0.3);
  color: white !important;
}

/* Added custom video controls styling */
.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-wrapper:hover .video-controls,
.video-wrapper.playing .video-controls {
  opacity: 1;
}

.video-progress-container {
  margin-bottom: 0.75rem;
}

.video-progress {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.video-progress-filled {
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s ease;
}

.video-controls-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.video-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.video-btn:not(.gradient-btn):hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.play-pause-btn .pause-icon,
.video-wrapper:not(.playing) .play-pause-btn .play-icon {
  display: none;
}

.video-wrapper.playing .play-pause-btn .pause-icon {
  display: block;
}

.video-wrapper:not(.playing) .play-pause-btn .play-icon {
  display: block;
}

.video-time {
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

.video-volume {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.volume-slider {
  width: 80px;
}

.volume-slider input[type="range"] {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  outline: none;
  -webkit-appearance: none;
}

.volume-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
}

.volume-slider input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.volume-btn .volume-low,
.volume-btn .volume-mute {
  display: none;
}

.volume-btn.volume-low .volume-high,
.volume-btn.volume-low .volume-mute {
  display: none;
}

.volume-btn.volume-low .volume-low {
  display: block;
}

.volume-btn.volume-mute .volume-high,
.volume-btn.volume-mute .volume-low {
  display: none;
}

.volume-btn.volume-mute .volume-mute {
  display: block;
}

.fullscreen-btn .bi-fullscreen-exit {
  display: none;
}

.video-wrapper.fullscreen .fullscreen-btn .bi-fullscreen {
  display: none;
}

.video-wrapper.fullscreen .fullscreen-btn .bi-fullscreen-exit {
  display: block;
}

/* Video Play Overlay */
.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.video-wrapper.playing .video-play-overlay {
  opacity: 0;
  pointer-events: none;
}

.video-play-button {
  width: 80px;
  height: 80px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-play-button:not(.gradient-btn) {
  background: rgba(255, 255, 255, 0.9);
}

.video-play-button:not(.gradient-btn):hover {
  background: white;
  transform: scale(1.1);
}

.video-play-button:not(.gradient-btn) i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-left: 4px; /* Optical alignment */
}

.video-play-button.gradient-btn i {
  font-size: 2rem;
  margin-left: 4px; /* Optical alignment */
}

.video-caption h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

[data-theme="dark"] .video-caption h3 {
  color: var(--text-light);
}

.video-caption p {
  font-size: 1.1rem;
  color: var(--text-muted);
  opacity: 0.8;
}

[data-theme="dark"] .video-caption p {
  color: var(--text-muted-dark);
}

.video-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background: var(--light-bg);
  border-radius: 20px;
  color: var(--text-dark);
}

[data-theme="dark"] .video-error {
  background: var(--dark-bg);
  color: var(--text-light);
}

.video-error i {
  font-size: 3rem;
  color: var(--accent-orange);
  margin-bottom: 1rem;
}

/* Mission Section */
.mission-section {
  padding: 5rem 0;
  background: var(--light-bg);
}

[data-theme="dark"] .mission-section {
  background: var(--light-bg);
}

.mission-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .mission-image img {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.mission-content {
  padding-left: 2rem;
}

.mission-stats {
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: all 0.3s ease;
}

[data-theme="dark"] .stat-item {
  background: var(--dark-bg);
  border-color: rgba(255, 255, 255, 0.1);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 0, 128, 0.2);
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

[data-theme="dark"] .stat-item p {
  color: var(--text-light);
}

/* Vision Section */
.vision-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

[data-theme="dark"] .vision-section {
  background: var(--dark-bg);
}

.vision-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .vision-image img {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.vision-content {
  padding-right: 2rem;
}

.vision-pillars {
  margin-top: 2rem;
}

.pillar-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .pillar-item {
  background: var(--dark-bg);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.pillar-item:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .pillar-item:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.pillar-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
  flex-shrink: 0;
}

.pillar-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

[data-theme="dark"] .pillar-item h4 {
  color: var(--text-light);
}

.pillar-item p {
  margin: 0;
  color: var(--text-muted);
  opacity: 0.8;
}

[data-theme="dark"] .pillar-item p {
  color: var(--text-muted-dark);
}

/* Values Section */
.values-section {
  padding: 5rem 0;
  background: var(--light-bg);
}

[data-theme="dark"] .values-section {
  background: var(--dark-bg);
}

.value-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--light-bg);
  border-radius: 20px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .value-card {
  background: var(--light-bg);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .value-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 0, 128, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.value-card:hover .value-icon {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transform: scale(1.1);
}

.value-icon i {
  font-size: 2rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.value-card:hover .value-icon i {
  color: white;
}

.value-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

[data-theme="dark"] .value-card h3 {
  color: var(--text-light);
}

.value-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

[data-theme="dark"] .value-card p {
  color: var(--text-muted-dark);
}

/* Team Section */
.team-section {
  padding: 5rem 0;
  background: var(--light-bg);
}

[data-theme="dark"] .team-section {
  background: var(--dark-bg);
}

.team-member {
  text-align: center;
  background: var(--light-bg);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .team-member {
  background: var(--dark-bg);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .team-member:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.member-image {
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  margin-left: auto;
  margin-right: auto;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.member-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .member-info h3 {
  color: var(--text-light);
}

.member-role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.member-bio {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .member-bio {
  color: var(--text-muted-dark);
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.member-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 0, 128, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.member-social a:hover {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="10" cy="90" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-section .lead {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.cta-buttons .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.cta-buttons .btn:hover {
  transform: translateY(-2px);
}

.cta-buttons .btn-primary {
  background: white;
  color: var(--primary-color);
  border-color: white;
}

.cta-buttons .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-outline-light {
  border-color: white;
  color: white;
}

.cta-buttons .btn-outline-light:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .mission-content,
  .vision-content {
    padding-left: 0;
    padding-right: 0;
    margin-top: 2rem;
  }

  .vision-content {
    margin-top: 0;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .about-hero .hero-title {
    font-size: 2.5rem;
  }

  .video-caption h3 {
    font-size: 1.5rem;
  }

  .cta-section h2 {
    font-size: 2rem;
  }

  .cta-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }

  .stat-item h3 {
    font-size: 2rem;
  }

  .value-card {
    margin-bottom: 2rem;
  }

  /* Added responsive styles for video controls */
  .video-controls-buttons {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .video-volume {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }

  .volume-slider {
    width: 120px;
  }

  .video-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .video-play-button {
    width: 60px;
    height: 60px;
  }

  .video-play-button i {
    font-size: 1.5rem;
  }
}

/* Animation Classes */
.animate-in {
  animation: slideInUp 0.6s ease-out forwards;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
