/* ==========================================================================
   About Page Styles
   Khazab Travels
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */

.about-hero {
  background:
    linear-gradient(90deg, rgba(7, 20, 30, 0.88), rgba(7, 20, 30, 0.62)),
    url("https://images.unsplash.com/photo-1527631746610-bca00a040d60?auto=format&fit=crop&w=1600&q=80")
      center/cover no-repeat;
}

/* --------------------------------------------------------------------------
   Page Sections General Layout
   -------------------------------------------------------------------------- */
.about-story-section,
.about-values-section,
.about-stats-section,
.about-process-section,
.about-trust-section,
.about-cta-section {
  background: #fff;
}

.about-story-section,
.about-values-section,
.about-process-section,
.about-trust-section {
  padding: 70px 0;
}

.about-stats-section,
.about-cta-section {
  padding: 0 0 70px;
}

.section-heading.center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}

.section-heading.center h2 {
  font-family: var(--heading);
  font-size: 42px;
  margin: 10px 0 12px;
  color: var(--text);
}

.section-heading.center p {
  color: var(--muted);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Our Story Section
   -------------------------------------------------------------------------- */
.about-story-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: center;
}

.about-story-content h2,
.about-process-content h2,
.about-trust-content h2 {
  font-family: var(--heading);
  font-size: 42px;
  line-height: 1.15;
  margin: 10px 0 16px;
  color: var(--text);
}

.about-story-content p,
.about-process-content p,
.about-trust-content p {
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f8fcfd;
  border: 1px solid #e6f1f4;
  color: var(--text);
  line-height: 1.7;
}

.about-feature-item i {
  color: var(--primary);
  margin-top: 4px;
}

.about-story-media {
  position: relative;
}

.about-story-main-image {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.about-story-main-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.about-floating-card {
  position: absolute;
  left: -20px;
  bottom: 24px;
  max-width: 280px;
  padding: 20px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e6f1f4;
  box-shadow: 0 24px 50px rgba(8, 28, 38, 0.15);
}

.about-floating-card strong {
  display: block;
  font-size: 26px;
  font-family: var(--heading);
  color: var(--text);
  margin-bottom: 6px;
}

.about-floating-card span {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Values Section
   -------------------------------------------------------------------------- */
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.about-value-card {
  padding: 28px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fcfd 0%, #f4fafb 100%);
  border: 1px solid #e6f1f4;
  box-shadow: var(--shadow-soft);
}

.about-value-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 22px;
  margin-bottom: 18px;
}

.about-value-card h3 {
  font-family: var(--heading);
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--text);
}

.about-value-card p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   Stats Section
   -------------------------------------------------------------------------- */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.about-stat-card {
  padding: 30px 20px;
  border-radius: 18px;
  text-align: center;
  background: linear-gradient(135deg, #061923 0%, #0a2430 100%);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.about-stat-card h3 {
  font-family: var(--heading);
  font-size: 44px;
  line-height: 1;
  margin-bottom: 10px;
}

.about-stat-card p {
  color: #d2e1e8;
  line-height: 1.7;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Process Section
   -------------------------------------------------------------------------- */
.about-process-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.about-process-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-step-card {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e6f1f4;
  box-shadow: var(--shadow-soft);
}

.about-step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 800;
  font-family: var(--heading);
  margin-bottom: 16px;
}

.about-step-card h3 {
  font-family: var(--heading);
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--text);
}

.about-step-card p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Trust Section
   -------------------------------------------------------------------------- */
.about-trust-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.about-trust-image {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.about-trust-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-trust-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.about-trust-points div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  line-height: 1.8;
}

.about-trust-points i {
  color: var(--primary);
  margin-top: 5px;
}

/* --------------------------------------------------------------------------
   About CTA Box
   -------------------------------------------------------------------------- */
.about-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 34px;
  border-radius: 20px;
  background: linear-gradient(135deg, #061923 0%, #0a2430 100%);
  color: #fff;
}

.about-cta-box h2 {
  font-family: var(--heading);
  font-size: 38px;
  margin: 10px 0 8px;
}

.about-cta-box p {
  color: #d3e2e8;
  line-height: 1.8;
}

.about-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Responsive Rules
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .inner-hero-content h1 {
    font-size: 46px;
  }
  .about-story-grid,
  .about-process-grid,
  .about-trust-grid {
    grid-template-columns: 1fr;
  }
  .about-story-content h2,
  .about-process-content h2,
  .about-trust-content h2,
  .section-heading.center h2 {
    font-size: 34px;
  }
  .about-story-main-image img,
  .about-trust-image img {
    height: 420px;
  }
  .about-floating-card {
    position: static;
    margin-top: 18px;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .inner-hero {
    padding: 140px 0 70px;
  }
  .inner-hero-content h1 {
    font-size: 36px;
  }
  
  .about-story-section,
  .about-values-section,
  .about-process-section,
  .about-trust-section {
    padding: 56px 0;
  }
  .about-stats-section,
  .about-cta-section {
    padding: 0 0 56px;
  }
  .about-feature-list,
  .about-values-grid,
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
  .about-story-content h2,
  .about-process-content h2,
  .about-trust-content h2,
  .section-heading.center h2 {
    font-size: 28px;
  }
  .about-story-main-image img,
  .about-trust-image img {
    height: 320px;
  }
  .about-cta-box {
    padding: 24px;
  }
  .about-cta-box h2 {
    font-size: 28px;
  }
  .about-stat-card h3 {
    font-size: 36px;
  }
  .about-step-card h3 {
    font-size: 22px;
  }
}
