/* style/about.css */

:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212;
  --bg-light: #f8f9fa;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
  --card-bg-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so text should be light */
  background-color: var(--bg-dark);
}

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

.page-about__content-area {
  padding: 60px 0;
}

/* Fixed header padding */
.page-about__hero-section {
  padding-top: 120px; /* Adjust based on actual header height */
  padding-bottom: 60px;
}

.page-about__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-about__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-about__main-title {
  font-size: 42px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-light);
}

.page-about__section-title {
  font-size: 34px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
  line-height: 1.3;
}

.page-about__section-intro {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: inherit;
}

.page-about__text-link {
  color: var(--secondary-color); /* Use accent color for links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about__text-link:hover {
  color: var(--text-light);
  text-decoration: underline;
}

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

.page-about__cta-center {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-about__btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-about__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

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

.page-about__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-about__story-section .page-about__section-title {
  color: var(--text-dark);
}

.page-about__story-section p {
  color: var(--text-dark);
}

.page-about__grid-layout {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about__story-content {
  flex: 1;
}

.page-about__story-content p {
  margin-bottom: 15px;
  font-size: 16px;
}

.page-about__story-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.page-about__values-section .page-about__section-title {
  color: var(--text-light);
}

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

.page-about__value-card {
  background-color: var(--card-bg-dark);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-about__value-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-about__value-card p {
  font-size: 15px;
}

.page-about__offerings-section .page-about__section-title,
.page-about__offerings-section .page-about__section-intro {
  color: var(--text-dark);
}

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

.page-about__offering-card {
  background-color: var(--card-bg-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

.page-about__offering-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-about__offering-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-about__offering-card h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 20px 20px 10px 20px;
  color: var(--primary-color);
}

.page-about__offering-card p {
  font-size: 15px;
  margin: 0 20px 20px 20px;
  color: var(--text-dark);
}

.page-about__security-section .page-about__section-title {
  color: var(--text-light);
}

.page-about__security-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.page-about__security-content p {
  font-size: 16px;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-light);
}

.page-about__security-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-about__responsible-gaming-section .page-about__section-title {
  color: var(--text-dark);
}

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

.page-about__responsible-gaming-content p {
  margin-bottom: 15px;
  font-size: 16px;
  color: var(--text-dark);
}

.page-about__responsible-gaming-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.page-about__customer-service-section .page-about__section-title {
  color: var(--text-light);
}

.page-about__customer-service-section p {
  font-size: 16px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
  color: var(--text-light);
}

.page-about__customer-service-image {
  max-width: 700px;
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-about__join-us-section .page-about__section-title,
.page-about__join-us-section .page-about__join-us-description {
  color: var(--text-dark);
}

.page-about__join-us-description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 38px;
  }
  .page-about__section-title {
    font-size: 30px;
  }
  .page-about__hero-description,
  .page-about__section-intro,
  .page-about__join-us-description {
    font-size: 17px;
  }
  .page-about__grid-layout {
    flex-direction: column;
  }
  .page-about__story-image-wrapper,
  .page-about__responsible-gaming-image-wrapper {
    order: -1; /* Image above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__content-area {
    padding: 40px 0;
  }

  /* Fixed header padding */
  .page-about__hero-section {
    padding-top: 100px !important; /* Adjust for mobile header height */
    padding-bottom: 40px;
  }

  .page-about__main-title {
    font-size: 30px;
    margin-bottom: 15px;
  }
  .page-about__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-about__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-about__section-intro,
  .page-about__join-us-description {
    font-size: 16px;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-about__values-grid,
  .page-about__offerings-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__value-card {
    padding: 25px;
  }
  .page-about__value-title {
    font-size: 20px;
  }
  .page-about__offering-card h3 {
    font-size: 18px;
  }
  .page-about__offering-card p {
    font-size: 14px;
  }

  /* Image responsive */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__story-image-wrapper,
  .page-about__responsible-gaming-image-wrapper {
    padding-left: 0;
    padding-right: 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-about__security-image,
  .page-about__customer-service-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 26px;
  }
  .page-about__section-title {
    font-size: 22px;
  }
  .page-about__hero-description,
  .page-about__section-intro,
  .page-about__join-us-description {
    font-size: 15px;
  }
}