/* =================================================================
   ABOUT PAGE STYLES - VELTECHLAB
   ================================================================= */

/* =================================================================
   ABOUT HERO SECTION
   ================================================================= */

/* =================================================================
   ABOUT HERO SECTION - IDENTICAL TO INDEX
   ================================================================= */

.about .hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1e40af 100%);
  padding-top: 70px;
}

.about .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.about .hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  filter: brightness(0.7) contrast(1.2);
}

.about .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(15, 23, 42, 0.8) 0%, 
    rgba(30, 41, 59, 0.7) 50%, 
    rgba(59, 130, 246, 0.3) 100%);
}

.about .hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="particles" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="18" cy="8" r="0.3" fill="rgba(59,130,246,0.2)"/><circle cx="8" cy="18" r="0.4" fill="rgba(139,92,246,0.15)"/><circle cx="15" cy="15" r="0.2" fill="rgba(255,255,255,0.08)"/><circle cx="5" cy="12" r="0.3" fill="rgba(59,130,246,0.12)"/><circle cx="12" cy="5" r="0.25" fill="rgba(139,92,246,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23particles)"/></svg>');
  animation: floatParticles 25s linear infinite;
  opacity: 0.8;
}

@keyframes floatParticles {
  0% { 
    transform: translateY(0) translateX(0) rotate(0deg); 
    opacity: 0.8;
  }
  25% { 
    transform: translateY(-15px) translateX(8px) rotate(1deg); 
    opacity: 0.9;
  }
  50% { 
    transform: translateY(-8px) translateX(-5px) rotate(-1deg); 
    opacity: 0.7;
  }
  75% { 
    transform: translateY(-20px) translateX(3px) rotate(2deg); 
    opacity: 0.8;
  }
  100% { 
    transform: translateY(0) translateX(0) rotate(0deg); 
    opacity: 0.8;
  }
}

.about .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 80px; /* Account for fixed header */
}

.about .hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 1024px) {
  .about .hero-container {
    grid-template-columns: 3fr 2fr;
    gap: var(--space-16);
    padding: 0 var(--space-8);
  }
}

.about .hero-text {
  text-align: center;
  color: white;
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .about .hero-text {
    text-align: left;
    margin: 0;
  }
}

.about .hero-title {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .about .hero-title {
    font-size: var(--text-5xl);
  }
}

@media (min-width: 1024px) {
  .about .hero-title {
    font-size: var(--text-6xl);
  }
}

.about .hero-subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
}

.about .hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 640px) {
  .about .hero-actions {
    flex-direction: row;
    align-items: center;
  }
}

.about .hero-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--rounded-2xl);
  padding: var(--space-8);
  text-align: center;
  color: white;
  max-width: 300px;
  box-shadow: var(--shadow-2xl);
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-10px) rotate(1deg); }
  66% { transform: translateY(5px) rotate(-1deg); }
}

.about .card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
  border-radius: var(--rounded-full);
  margin: 0 auto var(--space-4);
  font-size: var(--text-3xl);
  box-shadow: var(--shadow-lg);
}

.about .hero-card h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
  color: white;
}

.about .hero-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-base);
}

.about .hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  z-index: 2;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

.about .scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

/* About hero visual inherits from common hero styles */

.card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: var(--border-width-1) solid rgba(255, 255, 255, 0.2);
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: var(--text-2xl);
  font-weight: var(--font-extrabold);
  color: white;
  display: block;
  line-height: var(--leading-none);
}

.stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-1);
}

/* =================================================================
   ABOUT MAIN SECTION - MODERN DESIGN LIKE INDEX.CSS
   ================================================================= */

.about-main-section {
  padding: 6rem 0;
  background: #f8fafc;
  position: relative;
}

.about-main-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
}

.about-main-section .section-header {
  text-align: center;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
  position: relative;
  z-index: 1;
}

.about-main-section .section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-main-section .section-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.about-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .about-main-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .about-main-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-main-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
  position: relative;
  overflow: hidden;
}

.about-main-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #a855f7);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.about-main-card:hover::before {
  transform: scaleX(1);
}

.about-main-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
  border-color: #3b82f6;
}

.about-main-card .about-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.25rem;
  color: white;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.about-main-card .about-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.about-main-card:hover .about-icon::before {
  opacity: 1;
}

.about-main-card:hover .about-icon {
  transform: scale(1.15) rotate(8deg);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
}

.about-main-card:nth-child(1) { animation-delay: 0.1s; }
.about-main-card:nth-child(2) { animation-delay: 0.2s; }
.about-main-card:nth-child(3) { animation-delay: 0.3s; }
.about-main-card:nth-child(4) { animation-delay: 0.4s; }
.about-main-card:nth-child(5) { animation-delay: 0.5s; }
.about-main-card:nth-child(6) { animation-delay: 0.6s; }

.about-main-card .card-header {
  margin-bottom: 1.5rem;
}

.about-main-card .about-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: white;
  transition: all 0.3s ease;
}

.about-main-card:hover .about-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

.about-main-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
}

.about-main-card p {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.about-main-card .about-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.about-main-card .about-link:hover {
  color: #2563eb;
  gap: 0.75rem;
}

.about-main-card .about-link i {
  transition: transform 0.3s ease;
}

.about-main-card .about-link:hover i {
  transform: translateX(3px);
}

.about-main-section .section-cta {
  text-align: center;
  margin-top: 4rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out 1s forwards;
  position: relative;
  z-index: 1;
}

.about-main-section .btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.75rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =================================================================
   ABOUT SECTION
   ================================================================= */

.about-section {
  background-color: var(--color-background);
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(16, 185, 129, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(14, 165, 233, 0.03) 0%, transparent 50%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: start;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .about-content {
    grid-template-columns: 3fr 2fr;
    gap: var(--space-16);
  }
}

.about-text {
  max-width: none;
}

.about-text h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
  margin-top: var(--space-8);
  position: relative;
}

.about-text h3:first-child {
  margin-top: 0;
}

.about-text h3::before {
  content: '';
  position: absolute;
  left: -var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
  border-radius: var(--rounded-full);
}

.about-text p {
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  font-size: var(--text-lg);
}

.values-list {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0;
}

.values-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  padding: var(--space-4);
  background-color: var(--color-surface);
  border-radius: var(--rounded-lg);
  border-left: 4px solid var(--color-accent);
  transition: var(--transition-all);
}

.values-list li:hover {
  background-color: var(--color-accent-light);
  transform: translateX(4px);
}

.values-list i {
  color: var(--color-accent);
  font-size: var(--text-xl);
  margin-top: var(--space-1);
  flex-shrink: 0;
}

.values-list strong {
  color: var(--color-text-primary);
  font-weight: var(--font-semibold);
  display: block;
  margin-bottom: var(--space-1);
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* =================================================================
   WHY CHOOSE US SECTION
   ================================================================= */

.why-us-section {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-background) 100%);
  position: relative;
}

.why-us-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="why-us-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(16,185,129,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23why-us-pattern)"/></svg>');
}

.why-us-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .why-us-content {
    grid-template-columns: 2fr 1fr;
    gap: var(--space-16);
  }
}

.why-us-text h3 {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
  position: relative;
}

.why-us-text h3::after {
  content: '';
  position: absolute;
  bottom: -var(--space-2);
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-500), var(--secondary-500));
  border-radius: var(--rounded-full);
}

.why-us-text p {
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  font-size: var(--text-lg);
}

.why-us-list {
  list-style: none;
  padding: 0;
  margin: var(--space-8) 0;
}

.why-us-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding: var(--space-4);
  background-color: var(--color-surface-elevated);
  border-radius: var(--rounded-lg);
  transition: var(--transition-all);
  border-left: 4px solid var(--color-accent);
}

.why-us-list li:hover {
  background-color: var(--color-accent-light);
  transform: translateX(4px);
}

.why-us-list i {
  color: var(--color-accent);
  font-size: var(--text-xl);
  margin-top: var(--space-1);
  flex-shrink: 0;
}

.why-us-list strong {
  color: var(--color-text-primary);
  font-weight: var(--font-semibold);
  display: block;
  margin-bottom: var(--space-1);
}

.why-us-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* =================================================================
   TEAM SECTION
   ================================================================= */

.team-section {
  background-color: var(--color-background);
  position: relative;
}

.team-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.03) 0%, transparent 50%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-8);
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-member {
  background-color: var(--color-surface-elevated);
  border-radius: var(--rounded-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-all);
  border: var(--border-width-1) solid var(--color-border);
  text-align: center;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--color-accent);
}

.team-photo {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-transform);
}

.team-member:hover .team-photo img {
  transform: scale(1.1);
}

.team-info {
  padding: var(--space-6);
}

.team-info h4 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.team-info .position {
  color: var(--color-accent);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-3);
}

.team-info p {
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.team-social {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
}

.team-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-surface);
  color: var(--color-text-secondary);
  border-radius: var(--rounded-full);
  transition: var(--transition-all);
  text-decoration: none;
}

.team-social a:hover {
  background-color: var(--color-accent);
  color: white;
  transform: translateY(-2px);
}

/* =================================================================
   RESPONSIVE ADJUSTMENTS
   ================================================================= */

@media (max-width: 640px) {
  .about-content {
    gap: var(--space-8);
  }

  .why-us-content {
    gap: var(--space-8);
  }

  .team-grid {
    gap: var(--space-6);
  }

  .team-member {
    padding: var(--space-4);
  }
}

/* =================================================================
   ANIMATIONS
   ================================================================= */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-on-scroll.stagger-1 { transition-delay: 0.1s; }
.animate-on-scroll.stagger-2 { transition-delay: 0.2s; }
.animate-on-scroll.stagger-3 { transition-delay: 0.3s; }
.animate-on-scroll.stagger-4 { transition-delay: 0.4s; }
.animate-on-scroll.stagger-5 { transition-delay: 0.5s; }
.animate-on-scroll.stagger-6 { transition-delay: 0.6s; }
.animate-on-scroll.stagger-7 { transition-delay: 0.7s; }
.animate-on-scroll.stagger-8 { transition-delay: 0.8s; }
.animate-on-scroll.stagger-9 { transition-delay: 0.9s; }

/* Loading State */
.about-main-card.loading {
  opacity: 0.6;
  pointer-events: none;
}

.about-main-card.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-border);
  border-top: 2px solid var(--color-accent);
  border-radius: var(--rounded-full);
  animation: spin 1s linear infinite;
  z-index: 10;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .about-main-card:hover,
  .team-member:hover,
  .team-member:hover .team-photo img {
    transform: none;
  }
}

/* Dark theme */
@media (prefers-color-scheme: dark) {
  .about-main-section {
    background: #1a202c;
  }

  .about-main-section .section-title {
    color: #f7fafc;
  }

  .about-main-section .section-subtitle {
    color: #a0aec0;
  }

  .about-main-card {
    background: #2d3748;
    border-color: #4a5568;
  }

  .about-main-card h3 {
    color: #f7fafc;
  }

  .about-main-card p {
    color: #a0aec0;
  }
}

.dark .about-main-section {
  background: #1a202c;
}

.dark .about-main-section .section-title {
  color: #f7fafc;
}

.dark .about-main-section .section-subtitle {
  color: #a0aec0;
}

.dark .about-main-card {
  background: #2d3748;
  border-color: #4a5568;
}

.dark .about-main-card h3 {
  color: #f7fafc;
}

.dark .about-main-card p {
  color: #a0aec0;
}
