/* Modern About & Contact Page Styles */

/* Fix for hero section - reduce height and padding */
.hero-section {
  min-height: 340px !important;
  padding-bottom: 0 !important;
}

/* Contact Section Z-Index Fix */
.contact-section {
  position: relative;
  z-index: 1; /* Below navbar */
}

.hero-content {
  padding: 80px 6vw 30px !important;
  gap: 2rem !important;
}

.hero-text h1 {
  margin-bottom: 0.5rem !important;
}

.hero-text p {
  margin-bottom: 1.25rem !important;
}

/* Ensure proper z-index hierarchy */
.about-section {
  background: linear-gradient(135deg, #0a1026 0%, #10173a 100%);
  padding: 4vw 6vw; /* Reduced from 8vw */
  position: relative;
  overflow: hidden;
  z-index: 1 !important; /* Below navbar - force below z-index 10000 */
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 153, 0, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255, 153, 0, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.about-header {
  text-align: center;
  margin-bottom: 3rem; /* Reduced from 6rem */
}

.about-header h2 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.about-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff9900, #ffb300);
  border-radius: 2px;
}

.about-header p {
  font-size: 1.3rem;
  color: #bfc6e0;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem; /* Reduced from 6rem */
  align-items: center;
  margin-bottom: 3rem; /* Reduced from 6rem */
}

.about-text {
  order: 1;
}

.about-text h3 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #ff9900;
  margin-bottom: 2rem;
  position: relative;
}

.about-text h3::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 3px;
  background: #ff9900;
  border-radius: 2px;
}

.about-text p {
  font-size: 1.1rem;
  color: #bfc6e0;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* Stats Section */
.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem; /* Reduced from 3rem */
  margin-top: 3rem; /* Reduced from 6rem */
}

.stat-card {
  background: rgba(24, 31, 54, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 153, 0, 0.1);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 153, 0, 0.1), transparent);
  transition: left 0.5s ease;
}

.stat-card:hover::before {
  left: 100%;
}

.stat-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 153, 0, 0.3);
  box-shadow: 0 20px 40px rgba(255, 153, 0, 0.1);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #ff9900;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.stat-label {
  font-size: 1.1rem;
  color: #bfc6e0;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

/* Mission & Vision Section */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem; /* Reduced from 4rem */
  margin-top: 4rem; /* Reduced from 8rem */
  margin-bottom: 2rem; /* Added to reduce bottom padding */
}

.mission-card, .vision-card {
  background: rgba(24, 31, 54, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 153, 0, 0.1);
  border-radius: 24px;
  padding: 3rem 2.5rem; /* Reduced from 4rem 3rem */
  position: relative;
  overflow: hidden;
}

.mission-card::before, .vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff9900, #ffb300);
}

.mission-card h3, .vision-card h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #ff9900;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mission-card h3::before {
  content: '🎯';
  font-size: 2rem;
}

.vision-card h3::before {
  content: '🚀';
  font-size: 2rem;
}

.mission-card p, .vision-card p {
  font-size: 1.1rem;
  color: #bfc6e0;
  line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .about-content {
    gap: 3rem;
  }
  
  .about-header h2 {
    font-size: 3rem;
  }
  
  .about-section {
    padding: 4vw 6vw;
  }
}

@media (max-width: 968px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-text {
    order: 2;
  }
  
  .about-visual {
    order: 1;
  }
  
  .mission-vision {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
  }
  
  .about-section {
    padding: 3vw 4vw;
  }
  
  .about-header {
    margin-bottom: 2.5rem;
  }
  
  .crypto-visual {
    width: 250px;
    height: 250px;
  }
  
  .crypto-icon {
    width: 100px;
    height: 100px;
  }
  
  .crypto-icon svg {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 3vw 4vw;
  }
  
  .about-header {
    margin-bottom: 2rem;
  }
  
  .about-header h2 {
    font-size: 2.5rem;
  }
  
  .about-header p {
    font-size: 1.1rem;
  }
  
  .about-text h3 {
    font-size: 1.8rem;
  }
  
  .about-text h3::before {
    display: none;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .stat-card {
    padding: 2rem 1.5rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .mission-card, .vision-card {
    padding: 2.5rem 2rem;
  }
  
  .crypto-visual {
    width: 200px;
    height: 200px;
  }
  
  .crypto-icon {
    width: 80px;
    height: 80px;
  }
  
  .crypto-icon svg {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .about-header h2 {
    font-size: 2rem;
  }
  
  .about-text h3 {
    font-size: 1.5rem;
  }
  
  .about-text p {
    font-size: 1rem;
  }
  
  .mission-vision {
    margin-top: 2rem;
    margin-bottom: 1rem;
  }
  
  .mission-card h3, .vision-card h3 {
    font-size: 1.5rem;
  }
  
  .mission-card p, .vision-card p {
    font-size: 1rem;
  }
  
  .about-section {
    padding: 2vw 4vw;
  }
}

.stat-card,
.mission-card,
.vision-card {
  background: rgba(24, 31, 54, 0.8) !important; /* Solid background instead */
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.about-section {
  overflow: visible !important;
}

.about-visual {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Fix hover transforms that might create stacking issues */
.stat-card:hover {
  transform: translateY(-10px) !important;
  will-change: transform;
}

.mission-card:hover,
.vision-card:hover {
  transform: translateY(-5px) !important;
  will-change: transform;
}

/* Ensure content doesn't break out */
.about-container,
.about-header,
.about-content,
.about-stats,
.mission-vision {
  isolation: auto;
}