/* style/about.css */

/* Variables from shared.css are assumed for colors */
/* --primary-color: #F2C14E; */
/* --secondary-color: #FFD36B; */
/* --card-bg: #111111; */
/* --page-bg: #0A0A0A; */
/* --text-main-color: #FFF6D6; */
/* --border-color: #3A2A12; */
/* --glow-color: #FFD36B; */
/* --btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); */

.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #FFF6D6); /* Default text color for dark background */
  background-color: var(--page-bg, #0A0A0A); /* Default page background */
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom padding */
  box-sizing: border-box;
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px; /* Space between image and content */
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-about__hero-content {
  max-width: 900px;
  text-align: center;
  color: var(--text-main-color, #FFF6D6);
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main-color, #FFF6D6);
}

.page-about__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-main-color, #FFF6D6);
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 500px; /* Limit button group width */
  margin: 0 auto;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure buttons are responsive */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: var(--btn-gradient, linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%));
  color: #ffffff; /* White text for primary button */
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-about__btn-secondary {
  background: transparent;
  color: var(--primary-color, #F2C14E);
  border: 2px solid var(--primary-color, #F2C14E);
}

.page-about__btn-secondary:hover {
  background: var(--primary-color, #F2C14E);
  color: #ffffff;
}

/* General Section Styling */
.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-about__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  color: var(--text-main-color, #FFF6D6);
  text-align: center;
  margin-bottom: 20px;
}

.page-about__section-description {
  font-size: 1.1em;
  color: var(--text-main-color, #FFF6D6);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__content-block {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-about__content-block:nth-child(even) {
  flex-direction: column-reverse; /* Alternate image/text flow for variety */
}


.page-about__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  color: var(--primary-color, #F2C14E);
  margin-bottom: 15px;
}

.page-about__paragraph {
  font-size: 1em;
  color: var(--text-main-color, #FFF6D6);
  margin-bottom: 20px;
  max-width: 800px;
}

.page-about__image-content {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 20px auto;
  object-fit: cover;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

/* Dark Section Styling */
.page-about__dark-section {
  background-color: var(--card-bg, #111111); /* Card BG for dark sections */
  padding: 60px 0;
}

/* Features Grid */
.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__feature-card {
  background: var(--card-bg, #111111);
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main-color, #FFF6D6);
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(242, 193, 78, 0.3);
}

.page-about__card-title {
  font-size: 1.5em;
  color: var(--primary-color, #F2C14E);
  margin-bottom: 15px;
}

.page-about__card-text {
  font-size: 0.95em;
  color: var(--text-main-color, #FFF6D6);
  margin-bottom: 20px;
}

.page-about__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency in cards */
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

/* List Styling */
.page-about__list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-about__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05em;
  color: var(--text-main-color, #FFF6D6);
}

.page-about__list-item::before {
  content: '★'; /* Star icon */
  position: absolute;
  left: 0;
  color: var(--secondary-color, #FFD36B);
  font-size: 1.2em;
  line-height: 1;
}

.page-about__cta-buttons--centered {
  margin-top: 50px;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 60px 0;
  background-color: var(--page-bg, #0A0A0A);
}

.page-about__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__faq-item {
  background: var(--card-bg, #111111);
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main-color, #FFF6D6);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: var(--card-bg, #111111);
  color: var(--text-main-color, #FFF6D6);
  border-bottom: 1px solid var(--border-color, #3A2A12);
}

.page-about__faq-question:hover {
  background: rgba(242, 193, 78, 0.1); /* Subtle hover effect using primary color with transparency */
}

.page-about__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: var(--text-main-color, #FFF6D6);
}