/* about.css */
/* ABOUT PAGE SPECIFIC STYLES */

/* Section Backgrounds */
.section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.7;
  transition: opacity 0.8s ease;
}

.about-bg {
  background: radial-gradient(
      circle at 30% 30%,
      rgba(59, 130, 246, 0.1) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(139, 92, 246, 0.1) 0%,
      transparent 40%
    ),
    linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, transparent 50%);
  background-size: 200% 200%;
  animation: gradientShift 22s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Hero Section */
.about-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 150px 40px 80px;
  position: relative;
  overflow: hidden;
}

.about-hero-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-hero-content {
  z-index: 2;
}

.tagline {
  font-size: 14px;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: inline-block;
  padding: 5px 15px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 30px;
  animation: fadeIn 1s ease;
}

h1 {
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 25px;
  background: linear-gradient(to right, var(--light), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  overflow: hidden;
}

.description {
  color: var(--gray);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 35px;
}

.hero-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  height: 450px;
  background: linear-gradient(135deg, var(--secondary) 0%, #334155 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.hero-image i {
  font-size: 120px;
  color: var(--primary);
  opacity: 0.7;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotateY(0deg);
  }
  50% {
    transform: translateY(-20px) rotateY(10deg);
  }
  100% {
    transform: translateY(0px) rotateY(0deg);
  }
}

/* Mission Section */
.mission-section {
  padding: 100px 40px;
  position: relative;
}

.mission-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mission-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  height: 500px;
  background: linear-gradient(135deg, var(--secondary) 0%, #334155 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.mission-image i {
  font-size: 120px;
  color: var(--primary);
  opacity: 0.7;
  animation: rotate3d 15s linear infinite;
}

@keyframes rotate3d {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

.mission-content h2 {
  font-size: 42px;
  margin-bottom: 30px;
  background: linear-gradient(to right, var(--light), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.mission-content h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.mission-content p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 18px;
}

/* Values Section */
.values-section {
  padding: 100px 40px;
  background: var(--secondary);
  position: relative;
}

.values-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 80px;
}

.section-title h2 {
  font-size: 42px;
  margin-bottom: 20px;
  background: linear-gradient(to right, var(--light), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.section-title p {
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 18px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.value-card {
  background: var(--dark);
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid #334155;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 32px;
  color: var(--primary);
  transition: all 0.4s ease;
}

.value-card:hover .value-icon {
  transform: scale(1.1);
  background: rgba(59, 130, 246, 0.2);
}

.value-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.value-card p {
  color: var(--gray);
  line-height: 1.7;
}

/* Team Section */
.team-section {
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}

.team-container {
  max-width: 1400px;
  margin: 0 auto;
}

.team-slider {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.team-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 40px;
}

.team-member {
  background: var(--secondary);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid #334155;
  position: relative;
  flex: 0 0 calc(33.333% - 27px);
  min-width: 280px;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.member-image {
  height: 300px;
  background: linear-gradient(135deg, var(--secondary) 0%, #334155 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.member-image i {
  font-size: 100px;
  color: var(--primary);
  opacity: 0.7;
  transition: transform 0.5s ease;
}

.team-member:hover .member-image i {
  transform: scale(1.1);
}

.member-info {
  padding: 30px;
}

.member-name {
  font-size: 22px;
  margin-bottom: 5px;
}

.member-role {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 15px;
}

.member-desc {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.member-social {
  display: flex;
  gap: 15px;
}

.member-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--light);
  transition: all 0.3s ease;
}

.member-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--secondary);
  border: none;
  color: var(--light);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: var(--primary);
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* CTA Section */
.cta-section {
  padding: 100px 40px;
  background: var(--secondary);
  position: relative;
  text-align: center;
}

.cta-container {
  max-width: 1000px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 42px;
  margin-bottom: 25px;
  background: linear-gradient(to right, var(--light), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-content p {
  color: var(--gray);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* About Page Responsive */
@media (max-width: 1200px) {
  .about-hero-container,
  .mission-container {
    gap: 50px;
  }

  h1 {
    font-size: 46px;
  }

  .section-title h2 {
    font-size: 36px;
  }

  .team-member {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 992px) {
  .about-hero-container,
  .mission-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .team-member {
    flex: 0 0 calc(100% - 20px);
  }
}

@media (max-width: 768px) {
  section {
    padding: 80px 20px;
  }

  .about-hero {
    padding: 130px 20px 60px;
  }

  .mission-section,
  .values-section,
  .team-section,
  .cta-section {
    padding: 80px 20px;
  }

  h1 {
    font-size: 36px;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .value-card {
    padding: 30px 20px;
  }

  .member-info {
    padding: 25px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 32px;
  }

  .section-title h2 {
    font-size: 28px;
  }
}

/* ====================== WHITE THEME FOR ABOUT PAGE SECTIONS ====================== */

/* White theme base styles for About page */
.white-theme {
  background: white !important;
  color: #333 !important;
}

/* Hide dark backgrounds in white theme sections */
.white-theme .section-bg {
  display: none !important;
}

/* Mission Section White Theme */
.white-theme.mission-section {
  background: white !important;
}

.white-theme .mission-content h2 {
  background: linear-gradient(to right, #333, #555) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.white-theme .mission-content h2::after {
  background: var(--primary) !important;
}

.white-theme .mission-content p {
  color: #666 !important;
}

.white-theme .mission-image {
  background: #f8f9fa !important;
  border: 1px solid #e9ecef !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.white-theme .mission-image i {
  color: var(--primary) !important;
  opacity: 0.8 !important;
}

/* Values Section White Theme */
.white-theme.values-section {
  background: #f8f9fa !important; /* Slight gray tint as requested */
}

.white-theme .section-title h2 {
  background: linear-gradient(to right, #333, #555) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.white-theme .section-title h2::after {
  background: var(--primary) !important;
}

.white-theme .section-title p {
  color: #666 !important;
}

.white-theme .value-card {
  background: white !important;
  border: 1px solid #e9ecef !important;
}

.white-theme .value-card h3 {
  color: #333 !important;
}

.white-theme .value-card p {
  color: #666 !important;
}

.white-theme .value-icon {
  background: rgba(59, 130, 246, 0.1) !important;
  color: var(--primary) !important;
}

.white-theme .value-card:hover {
  background: #f8f9fa !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

.white-theme .value-card::before {
  background: linear-gradient(90deg, var(--primary), var(--accent)) !important;
}

/* Team Section White Theme */
.white-theme.team-section {
  background: white !important;
}

.white-theme .team-member {
  background: #f8f9fa !important;
  border: 1px solid #e9ecef !important;
}

.white-theme .member-image {
  background: #e9ecef !important; /* Light gray background for member images */
}

.white-theme .member-image i {
  color: var(--primary) !important;
  opacity: 0.8 !important;
}

.white-theme .member-name {
  color: #333 !important;
}

.white-theme .member-role {
  color: var(--primary) !important;
}

.white-theme .member-desc {
  color: #666 !important;
}

.white-theme .member-social a {
  background: #e9ecef !important;
  color: #333 !important;
}

.white-theme .member-social a:hover {
  background: var(--primary) !important;
  color: white !important;
}

.white-theme .team-member:hover {
  background: white !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
}

/* Slider controls white theme */
.white-theme .slider-btn {
  background: #f8f9fa !important;
  border: 1px solid #e9ecef !important;
  color: #333 !important;
}

.white-theme .slider-btn:hover {
  background: var(--primary) !important;
  color: white !important;
}

.white-theme .slider-dot {
  background: #dee2e6 !important;
}

.white-theme .slider-dot.active {
  background: var(--primary) !important;
}

/* CTA Section White Theme */
.white-theme.cta-section {
  background: #f8f9fa !important; /* Slight gray tint as requested */
}

.white-theme .cta-content h2 {
  background: linear-gradient(to right, #333, #555) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.white-theme .cta-content p {
  color: #666 !important;
}

/* Ensure text is readable in white theme */
.white-theme h1,
.white-theme h2,
.white-theme h3,
.white-theme h4 {
  color: #333 !important;
}

.white-theme p {
  color: #666 !important;
}

/* Updated CTA Button to match header button design */
.white-theme .cta-button {
  display: inline-block;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--primary-light)
  ) !important;
  color: white !important;
  text-decoration: none;
  border: none !important;
  padding: 12px 28px !important;
  border-radius: 50px !important;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4) !important;
  position: relative;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.white-theme .cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.white-theme .cta-button:hover::before {
  left: 100%;
}

.white-theme .cta-button:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6) !important;
  color: white !important;
}

.white-theme .cta-button:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Hero section remains dark - no changes needed */

/* Responsive adjustments for white theme */
@media (max-width: 992px) {
  .white-theme .mission-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .white-theme .about-hero-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .white-theme.mission-section,
  .white-theme.values-section,
  .white-theme.team-section,
  .white-theme.cta-section {
    padding: 80px 20px !important;
  }

  .white-theme .value-card {
    padding: 30px 20px !important;
  }

  .white-theme .member-info {
    padding: 25px !important;
  }
}

/* Subtle gradient backgrounds for white theme sections (optional - can remove if too dark) */
.white-theme.values-section {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%) !important;
}

.white-theme.cta-section {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%) !important;
}