/* ========================================
   ABOUT PAGE STYLES
   Clean, modern SaaS design
   ======================================== */

/* ----------------------------------------
   ABOUT HERO SECTION
   Dynamic hero with visual depth
   ---------------------------------------- */
.about-hero {
  position: relative;
  padding: 5rem 0 6rem;
  background: linear-gradient(135deg, #f8fafa 0%, #fff 50%, #f0f9f9 100%);
  overflow: hidden;
}

/* Decorative background pattern */
.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(35, 118, 124, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(247, 167, 104, 0.05) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 40% 80%,
      rgba(35, 118, 124, 0.04) 0%,
      transparent 40%
    );
  pointer-events: none;
}

/* Hero Grid Layout */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero Content */
.about-hero-content {
  max-width: 560px;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(35, 118, 124, 0.08);
  border: 1px solid rgba(35, 118, 124, 0.15);
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-badge i {
  color: var(--color-primary);
  font-size: 1rem;
}

.hero-badge span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* Hero Title */
.about-hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.15;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

.title-highlight {
  display: block;
  color: var(--color-primary);
  position: relative;
}

/* Hero Description */
.about-hero-description {
  font-size: 1.1875rem;
  color: #4b5563;
  line-height: 1.75;
  margin: 0 0 2rem;
}

/* Hero Stats Row */
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  margin-bottom: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.hero-stat-label {
  display: block;
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(0, 0, 0, 0.1);
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9375rem 1.75rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(35, 118, 124, 0.25);
}

.btn-hero-primary:hover {
  background: #1c5f64;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(35, 118, 124, 0.35);
  color: #fff;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9375rem 1.75rem;
  background: #fff;
  color: #374151;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background: #f9fafb;
  border-color: rgba(0, 0, 0, 0.2);
  color: #111827;
}

/* ----------------------------------------
   HERO VISUAL SECTION
   Floating cards with depth
   ---------------------------------------- */
.about-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
}

/* Main Visual Card */
.hero-main-visual {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1c5f64 100%);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  box-shadow: 0 20px 60px rgba(35, 118, 124, 0.3), 0 8px 24px rgba(0, 0, 0, 0.1);
}

.visual-icon-large {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-icon-large i {
  font-size: 2.5rem;
  color: #fff;
}

.visual-tagline {
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

/* Floating Cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  animation: float 6s ease-in-out infinite;
}

.floating-card-1 {
  top: 10%;
  right: 0;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 20%;
  left: 0;
  animation-delay: 2s;
}

.floating-card-3 {
  top: 5%;
  left: 10%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.floating-icon {
  width: 40px;
  height: 40px;
  background: rgba(35, 118, 124, 0.1);
  color: var(--color-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.floating-icon.success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.floating-icon.warning {
  background: rgba(247, 167, 104, 0.15);
  color: #ea580c;
}

.floating-text {
  display: flex;
  flex-direction: column;
}

.floating-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
}

.floating-subtitle {
  font-size: 0.8125rem;
  color: #6b7280;
}

/* ----------------------------------------
   RESPONSIVE HERO
   ---------------------------------------- */
@media (max-width: 991.98px) {
  .about-hero {
    padding: 3.5rem 0 4rem;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .about-hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about-hero-title {
    font-size: 2.25rem;
  }

  .about-hero-description {
    max-width: 540px;
  }

  .hero-stats-row {
    justify-content: center;
  }

  .hero-stat {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .about-hero-visual {
    order: -1;
  }

  .hero-visual-container {
    max-width: 360px;
    aspect-ratio: 1.2;
  }

  .hero-main-visual {
    width: 200px;
    height: 200px;
  }

  .visual-icon-large {
    width: 60px;
    height: 60px;
  }

  .visual-icon-large i {
    font-size: 1.75rem;
  }

  .visual-tagline {
    font-size: 1rem;
  }

  .floating-card-3 {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .about-hero {
    padding: 2.5rem 0 3rem;
  }

  .about-hero-title {
    font-size: 1.875rem;
  }

  .about-hero-description {
    font-size: 1.0625rem;
  }

  .hero-stats-row {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .hero-stat-divider {
    width: 60px;
    height: 1px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-visual-container {
    max-width: 280px;
  }

  .hero-main-visual {
    width: 160px;
    height: 160px;
    border-radius: 20px;
  }

  .floating-card {
    padding: 0.625rem 1rem;
  }

  .floating-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .floating-title {
    font-size: 0.8125rem;
  }

  .floating-subtitle {
    font-size: 0.75rem;
  }

  .floating-card-2 {
    display: none;
  }
}

/* ----------------------------------------
   SECTION COMPONENTS
   Reusable section styles matching landing
   ---------------------------------------- */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: #f9fafb;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-label {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: rgba(35, 118, 124, 0.1);
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin: 1rem 0 0.75rem;
  line-height: 1.25;
}

.section-title-left {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin: 1rem 0 1.25rem;
  line-height: 1.25;
}

.section-description {
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title,
  .section-title-left {
    font-size: 1.75rem;
  }
}

/* ----------------------------------------
   STORY SECTION
   Two-column layout with visual balance
   ---------------------------------------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-content .section-label {
  margin-bottom: 0.5rem;
}

.story-text {
  font-size: 1.0625rem;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.story-text:last-of-type {
  margin-bottom: 2rem;
}

/* Mission & Vision Cards */
.mission-vision-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mv-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--color-primary);
  border-radius: 8px;
  transition: box-shadow 0.2s ease;
}

.mv-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mv-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(35, 118, 124, 0.1);
  color: var(--color-primary);
  border-radius: 10px;
  font-size: 1.25rem;
}

.mv-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.375rem;
}

.mv-content p {
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* Story Visual */
.story-visual {
  position: relative;
}

.story-image-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.story-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 400px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1c5f64 100%);
  color: rgba(255, 255, 255, 0.9);
}

.story-image-placeholder i {
  font-size: 4rem;
  opacity: 0.8;
}

.story-image-placeholder span {
  font-size: 1rem;
  font-weight: 500;
}

/* Stats Card Overlay */
.story-stats-card {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stat-item {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.stat-label {
  display: block;
  font-size: 0.8125rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 991.98px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .story-visual {
    order: -1;
  }

  .story-image-placeholder {
    height: 300px;
  }

  .story-stats-card {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 1.5rem;
    justify-content: center;
  }
}

/* ----------------------------------------
   VALUES SECTION
   Clean card grid with icons
   ---------------------------------------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  padding: 2rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  text-align: center;
  transition: all 0.2s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(35, 118, 124, 0.1);
  color: var(--color-primary);
  border-radius: 12px;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.value-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.75rem;
}

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

@media (max-width: 991.98px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    padding: 1.5rem;
  }
}

/* ----------------------------------------
   TEAM SECTION
   Professional team cards
   ---------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team-card {
  padding: 2rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  text-align: center;
  transition: all 0.2s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.team-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1c5f64 100%);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

.team-info h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.25rem;
}

.team-role {
  display: block;
  font-size: 0.875rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.team-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #f3f4f6;
  color: #6b7280;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.team-social a:hover {
  background: var(--color-primary);
  color: #fff;
}

@media (max-width: 991.98px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ----------------------------------------
   PARTNERS SECTION
   Clean partner logo grid
   ---------------------------------------- */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 2rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  min-width: 160px;
  transition: all 0.2s ease;
}

.partner-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: rgba(35, 118, 124, 0.2);
}

.partner-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #f3f4f6;
  color: #9ca3af;
  border-radius: 12px;
  font-size: 1.5rem;
}

.partner-card span {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

@media (max-width: 575.98px) {
  .partners-grid {
    gap: 1rem;
  }

  .partner-card {
    min-width: 140px;
    padding: 1.25rem 1.5rem;
  }
}

/* ----------------------------------------
   CTA SECTION
   Matches landing page CTA
   ---------------------------------------- */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1c5f64 100%);
  text-align: center;
}

.cta-content {
  max-width: 640px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.25;
}

.cta-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin: 0 0 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: #fff;
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: var(--color-primary);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 3.5rem 0;
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-cta-primary,
  .btn-cta-outline {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}
