/* Hero Section - Ultra Compact & Richer Background */
.about-hero {
  background: transparent;
  padding: 0; /* No outer padding */
  text-align: center;
  position: relative;
}

.about-hero .container {
  /* Richer gradient - Greyish Blue to White */
  background: linear-gradient(180deg, #e2e8f0 0%, #ffffff 80%);
  border-radius: 0 0 24px 24px;
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid #cbd5e1; /* Slightly darker border for definition */
  border-top: none;
}

.about-hero .container::before {
  /* Enhanced ambient light */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 15% 30%, rgba(234, 88, 12, 0.06), transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(37, 99, 235, 0.06), transparent 40%);
  pointer-events: none;
}

.hero-brand-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.hero-logo-large {
  width: 56px;
  height: auto;
  margin-bottom: 0;
}

.hero-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1rem;
  color: #475569; /* Slightly darker for better contrast */
  margin: 0;
  font-weight: 500;
  line-height: 1.5;
  max-width: 600px;
}

/* Mission Section - Integrated Quote Design */
.mission-section {
  padding: 50px 0 60px;
  background: white;
  position: relative;
}

/* Vertical Connecting Line Removed */
.mission-section::after {
  display: none;
}

.mission-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  z-index: 2;
}

/* The Quote Mark moved to mission-text to wrap specifically the text */
.mission-text::before {
  content: '“';
  position: absolute;
  top: -30px;
  left: -40px;
  font-family: "Georgia", serif;
  font-size: 8rem;
  line-height: 1;
  color: #ea580c;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

.mission-text::after {
  content: '”';
  position: absolute;
  bottom: -40px;
  right: -40px;
  font-family: "Georgia", serif;
  font-size: 8rem;
  line-height: 1;
  color: #ea580c;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

.mission-title-group {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mission-title-group h2 {
  font-size: 1.75rem;
  color: #0f172a;
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.mission-title-group::after {
  content: '';
  width: 40px;
  height: 3px;
  background: #ea580c;
  margin-top: 12px;
  border-radius: 2px;
}

.mission-text {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.mission-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #334155;
  margin: 0;
  font-weight: 400;
  /* Make the text feel more contained */
  max-width: 720px;
}

/* Features Grid - Professional Card Layout */
.features-section {
  padding: 100px 0;
  background: #f8fafc; /* Light grey background for contrast */
  position: relative;
}

.features-section::before {
  display: none;
}

.section-header-centered {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
  display: block;
  border-bottom: none;
  padding-bottom: 0;
}

.section-header-centered h2 {
  font-size: 2.25rem;
  color: #0f172a;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.6;
  font-weight: 400;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid-modern {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

/* High-End Card Design */
.feature-item-modern {
  display: flex;
  flex-direction: row; /* Horizontal Layout */
  align-items: flex-start;
  gap: 24px;
  padding: 40px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.feature-item-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

/* Gradient Top Line Interaction */
.feature-item-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ea580c, #f59e0b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-item-modern:hover::before {
  transform: scaleX(1);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #fff7ed; /* Light Brand Orange Tint */
  color: #ea580c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* Prevent icon shrinking */
  margin-bottom: 0;
  transition: all 0.3s ease;
}

.feature-item-modern:hover .feature-icon-wrapper {
  background: #ea580c;
  color: white;
  border-radius: 50%; /* Shape shift on hover */
  transform: scale(1.1);
  box-shadow: 0 10px 25px -5px rgba(234, 88, 12, 0.4);
}

.feature-svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.5; /* Thinner strokes for elegance */
}

.feature-content {
  flex-grow: 1;
}

.feature-content h3 {
  font-size: 1.25rem;
  color: #0f172a;
  margin: 0 0 12px 0;
  font-weight: 700;
  transition: color 0.3s;
  line-height: 1.4;
}

.feature-item-modern:hover h3 {
  color: #ea580c;
}

.feature-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

.feature-item-modern::after {
  display: none;
}

/* Responsive */
@media (max-width: 960px) {
  .section-header-centered {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  
  .features-grid-modern {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-item-modern {
    padding: 32px;
  }
  
  /* Mission Text Mobile Adjustments */
  .mission-text::before {
    font-size: 4rem;
    top: -20px;
    left: -10px;
  }
  
  .mission-text::after {
    font-size: 4rem;
    bottom: -25px;
    right: -10px;
  }
}

@media (max-width: 640px) {
  .features-section {
    padding: 60px 0 80px;
  }

  .feature-item-modern {
    padding: 24px;
    gap: 16px;
    align-items: flex-start; /* Ensure alignment on mobile */
  }

  .feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .feature-svg {
    width: 24px;
    height: 24px;
  }

  .feature-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .feature-content p {
    font-size: 0.9rem;
  }
}