/* Base styles for the About Us page */
.page-about {
  background-color: #0D0E12; /* Custom background color */
  color: #FFF3E6; /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-about__section {
  padding: 60px 0;
}

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFB04D; /* Glow color for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FFA53A, #D96800);
  border-radius: 2px;
}

.page-about__sub-section-title,
.page-about__value-title,
.page-about__service-title,
.page-about__commitment-title,
.page-about__feature-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFA53A; /* Auxiliary color for sub-titles */
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-about p {
  margin-bottom: 15px;
  color: #FFF3E6; /* Text Main */
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, not var(--header-offset) */
}

.page-about__hero-image-wrapper {
  width: 100%;
  height: 675px; /* Fixed height for desktop */
  overflow: hidden;
}

.page-about__hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure image covers the area */
  display: block;
}

.page-about__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.page-about__main-title {
  font-size: 48px;
  font-weight: 900;
  color: #FFB04D; /* Glow color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 18px;
  color: #FFF3E6;
  margin-bottom: 30px;
}

.page-about__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* For mobile responsiveness */
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Crucial for responsiveness */
  max-width: 100%; /* Crucial for responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #E67800 100%);
  box-shadow: 0 6px 20px rgba(255, 176, 77, 0.6);
}

.page-about__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FF8C1A; /* Main color */
  border: 2px solid #A84F0C; /* Border color */
  box-shadow: 0 4px 15px rgba(168, 79, 12, 0.2);
}

.page-about__btn-secondary:hover {
  background: #2a2d36;
  color: #FFB04D;
  border-color: #FF8C1A;
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.4);
}

.page-about__btn-text {
  background: none;
  color: #FFA53A; /* Auxiliary color */
  border: 2px solid transparent;
  padding: 8px 15px;
  font-size: 16px;
  margin-top: 10px;
}

.page-about__btn-text:hover {
  color: #FFB04D;
  text-decoration: underline;
}

/* Card styles */
.page-about__card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards in a grid have equal height */
  display: flex;
  flex-direction: column;
  color: #FFF3E6; /* Text Main for card content */
}

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 140, 26, 0.5);
}

.page-about__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Important for image responsiveness */
  object-fit: cover;
}

/* Core Values Section */
.page-about__core-values .page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-about__value-card img {
  height: 200px; /* Fixed height for visual consistency in grid */
  object-fit: cover;
  width: 100%;
}

/* Products and Services Section */
.page-about__products-services .page-about__services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-about__service-item img {
  height: 200px; /* Fixed height for visual consistency in grid */
  object-fit: cover;
  width: 100%;
}

.page-about__service-item .page-about__btn-text {
  display: block;
  margin-top: 15px;
  text-align: center;
}