/* ===========================================
   WORLD-CLASS ABOUT PAGE STYLES
   Premium, Modern, Responsive Design
=========================================== */

/* ===== BASE & RESET ===== */
.about-body {
  margin: 0;
  font-family: 'Inter', 'Poppins', sans-serif;
  background: #0a192f;
  color: #e6f1ff;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, .hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  line-height: 1.2;
}

/* ===== HEADER OVERRIDES ===== */
.navbar {
  background: rgba(10, 25, 47, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.nav-links a.active {
  color: #64ffda !important;
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #64ffda, transparent);
  border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.about-hero {
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(100, 255, 218, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(31, 64, 104, 0.2) 0%, transparent 50%),
    linear-gradient(45deg, rgba(10, 25, 47, 0.9), rgba(23, 42, 69, 0.9));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(100, 255, 218, 0.1);
  border: 1px solid rgba(100, 255, 218, 0.2);
  border-radius: 50px;
  margin-bottom: 30px;
  animation: pulse 2s infinite;
}

.hero-badge i {
  color: #64ffda;
  font-size: 1.2rem;
}

.hero-badge span {
  color: #64ffda;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 20px;
}

.hero-title .title-line {
  display: block;
  background: linear-gradient(135deg, #64ffda 0%, #4b86b4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #8892b0;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: bounce 2s infinite;
}

.scroll-mouse {
  width: 30px;
  height: 50px;
  border: 2px solid #64ffda;
  border-radius: 15px;
  position: relative;
}

.mouse-wheel {
  width: 4px;
  height: 10px;
  background: #64ffda;
  border-radius: 2px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0.5; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== SECTION COMMON STYLES ===== */
.about-main {
  position: relative;
  z-index: 2;
}

section {
  padding: 100px 20px;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(100, 255, 218, 0.1);
  border-radius: 20px;
  margin-bottom: 20px;
}

.section-badge i {
  color: #64ffda;
  font-size: 0.9rem;
}

.section-badge span {
  color: #64ffda;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 15px;
  background: linear-gradient(135deg, #64ffda 0%, #4b86b4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: #8892b0;
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ===== FOUNDER SECTION ===== */
.founder-section {
  background: rgba(23, 42, 69, 0.3);
  border-radius: 30px;
  margin: 0 20px;
  padding: 80px 40px;
}

.founder-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.founder-image-container {
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.founder-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.image-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(100, 255, 218, 0.2), transparent 70%);
  pointer-events: none;
}

.image-frame {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid rgba(100, 255, 218, 0.3);
  border-radius: 25px;
  pointer-events: none;
}

.image-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  transform: rotate(30deg);
  pointer-events: none;
}

.founder-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(10, 25, 47, 0.9));
  padding: 30px;
  transform: translateY(100%);
  transition: transform 0.6s ease;
}

.founder-image-container:hover .founder-overlay {
  transform: translateY(0);
}

.founder-image-container:hover .founder-image {
  transform: scale(1.05);
}

.story-card {
  background: rgba(23, 42, 69, 0.7);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(100, 255, 218, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.card-icon {
  width: 50px;
  height: 50px;
  background: rgba(100, 255, 218, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon i {
  color: #64ffda;
  font-size: 1.5rem;
}

.story-text {
  color: #ccd6f6;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.text-highlight {
  color: #64ffda;
  font-weight: 600;
}

.year-counter {
  color: #64ffda;
  font-weight: 700;
  display: inline-block;
  min-width: 40px;
}

.card-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(100, 255, 218, 0.1);
}

.quote {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #8892b0;
  font-style: italic;
}

.quote i:first-child {
  color: #64ffda;
  font-size: 1.5rem;
}

.quote i:last-child {
  color: #64ffda;
  font-size: 1.5rem;
  margin-left: auto;
}

/* ===== TIMELINE ===== */
.journey-section {
  background: linear-gradient(180deg, transparent, rgba(23, 42, 69, 0.3));
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(transparent, #64ffda, transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-year {
  flex: 0 0 100px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #64ffda;
  position: relative;
}

.timeline-year::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: #64ffda;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(100, 255, 218, 0.5);
}

.timeline-content {
  flex: 1;
  padding: 30px;
  background: rgba(23, 42, 69, 0.7);
  border-radius: 15px;
  border: 1px solid rgba(100, 255, 218, 0.1);
  position: relative;
  margin: 0 30px;
}

.timeline-icon {
  width: 60px;
  height: 60px;
  background: rgba(100, 255, 218, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.timeline-icon i {
  color: #64ffda;
  font-size: 1.8rem;
}

.timeline-content h3 {
  color: #64ffda;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

/* ===== CITY GRID ===== */
.presence-section {
  background: rgba(23, 42, 69, 0.3);
  border-radius: 30px;
  margin: 0 20px;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.city-card {
  background: rgba(23, 42, 69, 0.7);
  border-radius: 15px;
  padding: 30px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(100, 255, 218, 0.1);
  transition: all 0.4s ease;
}

.city-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(100, 255, 218, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.city-icon {
  width: 60px;
  height: 60px;
  background: rgba(100, 255, 218, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.city-icon i {
  color: #64ffda;
  font-size: 1.8rem;
}

.city-content h3 {
  color: #e6f1ff;
  margin-bottom: 5px;
  font-size: 1.3rem;
}

.city-content p {
  color: #8892b0;
  font-size: 0.9rem;
}

.city-hover {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  padding: 15px;
  background: rgba(100, 255, 218, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: bottom 0.4s ease;
}

.city-card:hover {
  transform: translateY(-10px);
  border-color: rgba(100, 255, 218, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.city-card:hover .city-glow {
  opacity: 1;
}

.city-card:hover .city-hover {
  bottom: 0;
}

/* ===== TEAM STATS ===== */
.team-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  background: linear-gradient(135deg, rgba(23, 42, 69, 0.8), rgba(31, 64, 104, 0.8));
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(100, 255, 218, 0.1);
}

.stat-icon {
  width: 80px;
  height: 80px;
  background: rgba(100, 255, 218, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  position: relative;
}

.icon-glow {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 2px solid rgba(100, 255, 218, 0.3);
  animation: rotate 10s linear infinite;
}

.counter-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  margin-bottom: 10px;
}

.counter {
  font-size: 3.5rem;
  font-weight: 800;
  color: #64ffda;
  line-height: 1;
}

.counter-plus {
  font-size: 2rem;
  color: #64ffda;
  font-weight: 700;
}

.stat-label {
  color: #ccd6f6;
  font-size: 1.1rem;
}

.stat-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, transparent, #64ffda, transparent);
  transform: translateX(-100%);
  animation: waveSlide 3s ease-in-out infinite;
}

@keyframes waveSlide {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

/* ===== LEADERSHIP GRID ===== */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.leader-card {
  background: rgba(23, 42, 69, 0.7);
  border-radius: 20px;
  padding: 30px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(100, 255, 218, 0.1);
  transition: all 0.4s ease;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(100, 255, 218, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.leader-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 25px;
  position: relative;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(100, 255, 218, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder i {
  color: #64ffda;
  font-size: 3rem;
}

.leader-glow {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 2px solid rgba(100, 255, 218, 0.3);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.leader-badge {
  display: inline-block;
  padding: 5px 15px;
  background: rgba(100, 255, 218, 0.1);
  color: #64ffda;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 15px;
}

.leader-content h3 {
  color: #e6f1ff;
  margin-bottom: 5px;
  font-size: 1.5rem;
}

.leader-content > p {
  color: #8892b0;
  margin-bottom: 15px;
}

.leader-desc {
  color: #ccd6f6;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.leader-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64ffda;
  font-weight: 500;
  transition: gap 0.3s ease;
}

.leader-card:hover {
  transform: translateY(-10px);
  border-color: rgba(100, 255, 218, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.leader-card:hover .card-overlay {
  opacity: 1;
}

.leader-card:hover .leader-glow {
  opacity: 1;
}

.leader-card:hover .leader-cta {
  gap: 15px;
}

/* ===== VALUES GRID ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  background: rgba(23, 42, 69, 0.7);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid rgba(100, 255, 218, 0.1);
  transition: all 0.4s ease;
}

.value-icon {
  width: 80px;
  height: 80px;
  background: rgba(100, 255, 218, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  position: relative;
}

.value-icon i {
  color: #64ffda;
  font-size: 2rem;
}

.icon-ring {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 2px solid rgba(100, 255, 218, 0.3);
  animation: rotate 20s linear infinite;
}

.value-card h3 {
  color: #64ffda;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.value-card p {
  color: #ccd6f6;
  line-height: 1.6;
}

.value-card:hover {
  transform: translateY(-10px);
  border-color: rgba(100, 255, 218, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: rgba(31, 64, 104, 0.7);
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, rgba(31, 64, 104, 0.8), rgba(10, 25, 47, 0.9));
  border-radius: 30px;
  margin: 0 20px 100px;
  padding: 80px 40px;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-text h2 {
  font-size: 2.5rem;
  color: #64ffda;
  margin-bottom: 20px;
}

.cta-text p {
  color: #8892b0;
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #64ffda, #4b86b4);
  color: #0a192f;
  border: none;
}

.btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover .btn-glow {
  left: 100%;
}

.btn-secondary {
  background: transparent;
  color: #64ffda;
  border: 2px solid #64ffda;
}

.btn-secondary:hover {
  background: rgba(100, 255, 218, 0.1);
  transform: translateY(-5px);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(100, 255, 218, 0.1);
  border: 1px solid rgba(100, 255, 218, 0.3);
  border-radius: 50%;
  color: #64ffda;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top i {
  font-size: 1.2rem;
}

.back-to-top span {
  font-size: 0.7rem;
  margin-top: 2px;
}

.back-to-top:hover {
  background: rgba(100, 255, 218, 0.2);
  transform: translateY(-5px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .founder-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .city-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .about-hero {
    height: 70vh;
    min-height: 500px;
  }
  
  section {
    padding: 60px 15px;
  }
  
  .founder-section,
  .presence-section,
  .cta-section {
    margin: 0 10px;
    padding: 40px 20px;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: row;
    margin-left: 60px;
  }
  
  .timeline-year {
    position: absolute;
    left: -60px;
    top: 0;
  }
  
  .city-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
  
  .team-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .team-stats {
    grid-template-columns: 1fr;
  }
  
  .city-grid {
    grid-template-columns: 1fr;
  }
  
  .leadership-grid {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== CROSS-BROWSER COMPATIBILITY ===== */
/* Edge/IE Compatibility */
@supports (-ms-ime-align: auto) {
  .hero-title .title-line {
    background: #64ffda;
    -webkit-text-fill-color: initial;
  }
}

/* Firefox Optimizations */
@-moz-document url-prefix() {
  .navbar {
    backdrop-filter: blur(10px);
  }
}

/* Safari Optimizations */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .hero-title .title-line {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}