/* style/about.css */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #FFFFFF;
  line-height: 1.6;
}

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

.page-about__hero {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #0A2342; /* Fallback for image */
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6;
}

.page-about__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 35, 66, 0.8), rgba(224, 180, 0, 0.4));
  z-index: 2;
}

.page-about__hero-content {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 15px;
  color: #E0B400;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 30px;
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #E0B400;
  text-align: center;
  margin-bottom: 50px;
}

.page-about__story, .page-about__responsible-gaming {
  background-color: #0A2342;
  color: #FFFFFF;
}

.page-about__vision-mission {
  background-color: #1a3a63; /* Slightly lighter dark blue for contrast */
  color: #FFFFFF;
}

.page-about__why-choose-us {
  background-color: #0A2342;
  color: #FFFFFF;
}

.page-about__story .page-about__container,
.page-about__vision-mission .page-about__container,
.page-about__responsible-gaming .page-about__container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-about__story-content, .page-about__vision-content, .page-about__responsible-gaming-content {
  flex: 1;
}

.page-about__story-image-wrapper, .page-about__vision-image-wrapper, .page-about__responsible-gaming-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__story .page-about__container {
  flex-direction: row;
}

.page-about__vision-mission .page-about__container {
  flex-direction: row-reverse; /* Image on left, text on right */
}

.page-about__responsible-gaming .page-about__container {
  flex-direction: row;
}

.page-about__vision-content ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__vision-content ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-size: 1.1em;
}

.page-about__icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background-color: #E0B400;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat 50% 50%;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat 50% 50%;
  -webkit-mask-size: contain;
  mask-size: contain;
}

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

.page-about__feature-item {
  background-color: #1a3a63;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about__feature-item:hover {
  transform: translateY(-5px);
  background-color: #2c5282;
}

.page-about__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: invert(80%) sepia(80%) saturate(2000%) hue-rotate(0deg) brightness(100%) contrast(100%); /* Gold color for icons */
}

.page-about__feature-item h3 {
  color: #E0B400;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-about__feature-item p {
  color: #CCCCCC;
}

.page-about__cta {
  background: linear-gradient(90deg, #0A2342, #E0B400);
  padding: 60px 0;
  text-align: center;
}

.page-about__cta-title {
  font-size: 2.8em;
  color: #FFFFFF;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-about__cta-text {
  font-size: 1.2em;
  color: #F0F0F0;
  margin-bottom: 30px;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-about__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-about__btn--primary {
  background-color: #E0B400;
  color: #0A2342;
}

.page-about__btn--primary:hover {
  background-color: #f5c700;
  transform: translateY(-2px);
}

.page-about__btn--secondary {
  background-color: #0A2342;
  color: #E0B400;
  border: 2px solid #E0B400;
}

.page-about__btn--secondary:hover {
  background-color: #E0B400;
  color: #0A2342;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__hero-subtitle {
    font-size: 1.2em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__story .page-about__container,
  .page-about__vision-mission .page-about__container,
  .page-about__responsible-gaming .page-about__container {
    flex-direction: column;
    text-align: center;
  }
  .page-about__story-image-wrapper, .page-about__vision-image-wrapper, .page-about__responsible-gaming-image-wrapper {
    margin-top: 30px;
  }
  .page-about__vision-content ul {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-about__hero {
    height: 400px;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-subtitle {
    font-size: 1em;
  }
  .page-about__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about__section {
    padding: 60px 0;
  }
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }
  .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__cta-text {
    font-size: 1em;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__hero {
    height: 300px;
  }
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__hero-subtitle {
    font-size: 0.9em;
  }
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__cta-title {
    font-size: 1.8em;
  }
}