/* ========================================
   NEFROON About Page - Premium Interactive Design
   ======================================== */

/* Reset & Base */
.nefroon-about {
  background: #ffffff;
  overflow-x: hidden;
}

.nefroon-about .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Reveal Animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   1. HERO SECTION
   ======================================== */
.about-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a222b 0%, #2d3a47 100%);
}

.hero-background {
  position: absolute;
  inset: 0;
  background: url('../assets/images/slide1.webp') center/cover no-repeat;
  z-index: 0;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 34, 43, 0.9) 0%, rgba(26, 34, 43, 0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 0 60px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent, #d6b36a);
  background: rgba(214, 179, 106, 0.1);
  border: 1px solid rgba(214, 179, 106, 0.3);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #d6b36a 0%, #f4e4c1 50%, #a78b51 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #d6b36a 0%, #a78b51 100%);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 12px rgba(214, 179, 106, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(214, 179, 106, 0.4);
  color: #ffffff !important;
}

.btn-primary span,
.btn-primary i {
  color: #ffffff !important;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 13px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-down 1.5s infinite;
}

@keyframes scroll-down {
  0%, 100% { opacity: 1; top: 8px; }
  50% { opacity: 0.5; top: 20px; }
}

/* ========================================
   2. STATS SECTION
   ======================================== */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #f9f7f4 0%, #ffffff 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.stat-card {
  background: #ffffff;
  border: 1px solid #e9e2d2;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d6b36a 0%, #a78b51 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(167, 139, 81, 0.15);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(214, 179, 106, 0.1) 0%, rgba(167, 139, 81, 0.05) 100%);
  border-radius: 50%;
  color: var(--primary, #a78b51);
  font-size: 32px;
  transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
  transform: rotate(10deg) scale(1.1);
  background: linear-gradient(135deg, rgba(214, 179, 106, 0.2) 0%, rgba(167, 139, 81, 0.1) 100%);
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--secondary, #1a222b);
  line-height: 1;
  display: inline-block;
}

.stat-suffix {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary, #a78b51);
  display: inline-block;
  margin-left: 4px;
}

.stat-label {
  font-size: 16px;
  color: #6b7280;
  margin-top: 8px;
  font-weight: 500;
}

/* ========================================
   3. MISSION & VISION SECTION
   ======================================== */
.mission-vision-section {
  padding: 100px 0;
  background: #ffffff;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.premium-card {
  background: #ffffff;
  border: 1px solid #e9e2d2;
  border-radius: 20px;
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d6b36a 0%, #a78b51 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(167, 139, 81, 0.15);
}

.premium-card:hover::before {
  transform: scaleX(1);
}

.card-icon-large {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(214, 179, 106, 0.15) 0%, rgba(167, 139, 81, 0.08) 100%);
  border-radius: 50%;
  color: var(--primary, #a78b51);
  font-size: 36px;
  transition: all 0.3s ease;
}

.premium-card:hover .card-icon-large {
  transform: rotate(-10deg) scale(1.1);
  background: linear-gradient(135deg, rgba(214, 179, 106, 0.25) 0%, rgba(167, 139, 81, 0.15) 100%);
}

.premium-card h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--secondary, #1a222b);
  margin: 0 0 16px;
}

.premium-card > p {
  font-size: 16px;
  line-height: 1.7;
  color: #6b7280;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: #4b5563;
  border-bottom: 1px solid #f3f4f6;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list i {
  color: var(--accent, #d6b36a);
  font-size: 14px;
}

/* ========================================
   4. VALUES SECTION - BENTO GRID
   ======================================== */
.values-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f9f7f4 0%, #ffffff 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--secondary, #1a222b);
  margin: 0 0 12px;
}

.section-subtitle {
  font-size: 18px;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

.values-bento {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.value-card {
  background: #ffffff;
  border: 1px solid #e9e2d2;
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
}

.value-card::after {
  content: attr(data-value);
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 72px;
  font-weight: 800;
  color: rgba(214, 179, 106, 0.05);
  line-height: 1;
  pointer-events: none;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(167, 139, 81, 0.12);
  border-color: rgba(214, 179, 106, 0.4);
}

.value-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(214, 179, 106, 0.12) 0%, rgba(167, 139, 81, 0.06) 100%);
  border-radius: 12px;
  color: var(--primary, #a78b51);
  font-size: 28px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.value-card:hover .value-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(214, 179, 106, 0.2) 0%, rgba(167, 139, 81, 0.1) 100%);
}

.value-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary, #1a222b);
  margin: 0 0 12px;
}

.value-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #6b7280;
  margin: 0;
}

/* ========================================
   5. SERVICES OVERVIEW - TIMELINE
   ======================================== */
.services-overview {
  padding: 100px 0;
  background: #ffffff;
}

.services-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.services-timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, 
    rgba(214, 179, 106, 0.3) 0%, 
    rgba(214, 179, 106, 0.6) 50%, 
    rgba(214, 179, 106, 0.3) 100%
  );
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 80px 1fr;
  gap: 24px;
  margin-bottom: 48px;
  align-items: start;
}

.timeline-number {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent, #d6b36a);
  background: #ffffff;
  border: 3px solid #e9e2d2;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-number {
  background: linear-gradient(135deg, #d6b36a 0%, #a78b51 100%);
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.1);
}

.timeline-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #e9e2d2;
  border-radius: 12px;
  color: var(--primary, #a78b51);
  font-size: 32px;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
  background: linear-gradient(135deg, rgba(214, 179, 106, 0.1) 0%, rgba(167, 139, 81, 0.05) 100%);
  transform: scale(1.05) rotate(5deg);
}

.timeline-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary, #1a222b);
  margin: 0 0 12px;
}

.timeline-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #6b7280;
  margin: 0;
}

/* ========================================
   6. WHY CHOOSE US
   ======================================== */
.why-choose-us {
  padding: 100px 0;
  background: linear-gradient(180deg, #f9f7f4 0%, #ffffff 100%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.benefit-card {
  background: #ffffff;
  border: 1px solid #e9e2d2;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(167, 139, 81, 0.15);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(214, 179, 106, 0.12) 0%, rgba(167, 139, 81, 0.06) 100%);
  border-radius: 50%;
  color: var(--primary, #a78b51);
  font-size: 32px;
  transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.15) rotate(-10deg);
  background: linear-gradient(135deg, rgba(214, 179, 106, 0.2) 0%, rgba(167, 139, 81, 0.1) 100%);
}

.benefit-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary, #1a222b);
  margin: 0 0 12px;
}

.benefit-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #6b7280;
  margin: 0;
}

/* ========================================
   7. COLLABORATION FRAMEWORK
   ======================================== */
.collaboration-framework {
  padding: 100px 0;
  background: #ffffff;
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.framework-card {
  background: linear-gradient(135deg, rgba(214, 179, 106, 0.03) 0%, rgba(167, 139, 81, 0.02) 100%);
  border: 1px solid #e9e2d2;
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.3s ease;
  position: relative;
}

.framework-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(167, 139, 81, 0.1);
  border-color: rgba(214, 179, 106, 0.4);
}

.framework-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent, #d6b36a);
  background: rgba(214, 179, 106, 0.1);
  border-radius: 50%;
  margin-bottom: 16px;
}

.framework-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary, #1a222b);
  margin: 0 0 12px;
}

.framework-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #6b7280;
  margin: 0;
}

/* ========================================
   8. MARKET PRESENCE
   ======================================== */
.market-presence {
  padding: 80px 0;
  background: linear-gradient(135deg, 
    rgba(214, 179, 106, 0.08) 0%, 
    rgba(167, 139, 81, 0.05) 100%
  );
}

.presence-content {
  display: flex;
  align-items: center;
  gap: 32px;
  background: #ffffff;
  border: 1px solid #e9e2d2;
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
}

.presence-icon {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(214, 179, 106, 0.15) 0%, rgba(167, 139, 81, 0.08) 100%);
  border-radius: 50%;
  color: var(--primary, #a78b51);
  font-size: 48px;
}

.presence-text h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--secondary, #1a222b);
  margin: 0 0 12px;
}

.presence-text p {
  font-size: 17px;
  line-height: 1.7;
  color: #6b7280;
  margin: 0;
}

/* ========================================
   9. CUSTOMER REVIEWS (TESTIMONIALS)
   ======================================== */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(180deg, #f9f7f4 0%, #ffffff 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-top: 50px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid #e9e2d2;
  border-radius: 20px;
  padding: 40px 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d6b36a 0%, #a78b51 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(167, 139, 81, 0.15);
  border-color: rgba(214, 179, 106, 0.4);
}

.testimonial-card:hover::before {
  transform: scaleX(1);
}

.testimonial-quote {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(214, 179, 106, 0.15) 0%, rgba(167, 139, 81, 0.08) 100%);
  border-radius: 50%;
  color: var(--accent, #d6b36a);
  font-size: 22px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-quote {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(214, 179, 106, 0.25) 0%, rgba(167, 139, 81, 0.15) 100%);
}

.testimonial-card blockquote {
  margin: 0;
  padding: 0;
  border: none;
}

.testimonial-card blockquote p {
  font-size: 16px;
  line-height: 1.8;
  color: #4b5563;
  margin: 0 0 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid #f3f4f6;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-info cite {
  font-size: 17px;
  font-weight: 700;
  color: var(--secondary, #1a222b);
  font-style: normal;
}

.author-role {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

/* ========================================
   10. FINAL CTA
   ======================================== */
.final-cta {
  padding: 120px 0;
  position: relative;
  background: linear-gradient(135deg, #1a222b 0%, #2d3a47 100%);
}

.cta-container {
  position: relative;
}

.cta-backdrop {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(214, 179, 106, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(167, 139, 81, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 60px 40px;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px;
}

.cta-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 16px;
}

.cta-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-large {
  padding: 16px 36px;
  font-size: 17px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .services-timeline::before {
    left: 20px;
  }

  .timeline-item {
    grid-template-columns: 60px 60px 1fr;
    gap: 16px;
  }

  .timeline-number,
  .timeline-icon {
    width: 60px;
    height: 60px;
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding: 100px 0 40px;
  }

  .stats-section,
  .mission-vision-section,
  .values-section,
  .services-overview,
  .why-choose-us,
  .collaboration-framework {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .values-bento,
  .benefits-grid,
  .framework-grid {
    grid-template-columns: 1fr;
  }

  .services-timeline::before {
    display: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    margin-bottom: 32px;
  }

  .timeline-number,
  .timeline-icon {
    margin: 0 auto;
  }

  .presence-content {
    flex-direction: column;
    text-align: center;
    padding: 32px;
  }

  .final-cta {
    padding: 80px 0;
  }

  .cta-content {
    padding: 40px 24px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* RTL Support */
body.is-ar .nefroon-about .container {
  direction: rtl;
}

body.is-ar .feature-list li,
body.is-ar .timeline-item {
  direction: rtl;
}

body.is-ar .services-timeline::before {
  left: auto;
  right: 40px;
}

@media (max-width: 1024px) {
  body.is-ar .services-timeline::before {
    right: 20px;
  }
}
