.page-g {
  font-family: Arial, sans-serif;
  color: #333333;
  background-color: var(--Background, #F5F7FA);
}

.page-g__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

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

.page-g__dark-section {
  background: #E53935;
  color: #ffffff;
}

.page-g__dark-section .page-g__section-title,
.page-g__dark-section .page-g__section-description,
.page-g__dark-section .page-g__sub-title,
.page-g__dark-section .page-g__step-title,
.page-g__dark-section .page-g__step-text,
.page-g__dark-section p {
  color: #ffffff;
}

.page-g__section-title {
  font-size: 3em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #E53935;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-g__dark-section .page-g__section-title {
  color: #ffffff;
}

.page-g__section-description {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-g__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-g__hero-section {
  position: relative;
  padding-top: 10px;
  padding-bottom: 60px;
  padding-left: 0;
  padding-right: 0;
  background-color: #E53935;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-g__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-g__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-g__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-g__hero-description {
  font-size: 1.15em;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-g__btn-primary,
.page-g__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-g__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-g__btn-primary:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-g__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-g__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-g__card-button {
  width: 100%;
  text-align: center;
  margin-top: auto; /* Push button to bottom */
}

.page-g__grid-3-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-g__grid-2-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

.page-g__card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #E0E0E0;
  color: #333333;
}

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

.page-g__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-g__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #E53935;
}

.page-g__card-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-g__step-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-g__step-icon {
  width: 60px;
  height: 60px;
  background: #ffffff;
  color: #E53935;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-g__step-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-g__step-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-g__flex-content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.page-g__text-block {
  flex: 2;
}

.page-g__image-block {
  flex: 1;
  min-width: 300px;
}

.page-g__image-full {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.page-g__sub-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #E53935;
}

.page-g__text-block p {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-g__why-choose-us .page-g__feature-card {
  background: #FFFFFF;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #E0E0E0;
  transition: transform 0.3s ease;
}

.page-g__why-choose-us .page-g__feature-card:hover {
  transform: translateY(-5px);
}

.page-g__feature-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #E53935;
}

.page-g__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
}

.page-g__cta-section {
  text-align: center;
  margin-top: 50px;
}

.page-g__large-btn {
  padding: 18px 40px;
  font-size: 1.2em;
}

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

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

.page-g__faq-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-g__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  list-style: none;
}

.page-g__faq-question::-webkit-details-marker {
  display: none;
}

.page-g__faq-qtext {
  flex-grow: 1;
}

.page-g__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-g__faq-item[open] .page-g__faq-toggle {
  transform: rotate(45deg);
}

.page-g__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-g__faq-answer p {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-g__faq-answer .page-g__btn-secondary {
  margin-top: 10px;
}

.page-g__small-btn {
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-g__conclusion .page-g__section-description {
  margin-bottom: 50px;
}

/* All images basic responsive styles */
.page-g img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All buttons basic responsive styles */
.page-g__btn-primary,
.page-g__btn-secondary,
.page-g a[class*="button"],
.page-g a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* All button containers basic responsive styles */
.page-g__hero-cta-buttons,
.page-g__cta-buttons,
.page-g__button-group,
.page-g__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  /* HERO Section (1) */
  .page-g__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-g__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-g__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-g__hero-image-wrapper {
    max-height: 300px;
    margin-bottom: 20px;
  }

  .page-g__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  /* Product Display Area / Cockfighting Types (2) */
  .page-g__grid-3-cols,
  .page-g__grid-2-cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-g__card {
    padding: 20px;
  }

  .page-g__card-image {
    height: 200px;
    margin-bottom: 15px;
  }

  .page-g__section-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-g__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  /* General Images and Containers (3) */
  .page-g img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-g__section,
  .page-g__card,
  .page-g__container,
  .page-g__flex-content,
  .page-g__text-block,
  .page-g__image-block,
  .page-g__step-item,
  .page-g__feature-card,
  .page-g__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-g__flex-content {
    flex-direction: column;
  }

  .page-g__image-block {
    min-width: unset;
  }

  /* Buttons and Button Containers (4) */
  .page-g__btn-primary,
  .page-g__btn-secondary,
  .page-g a[class*="button"],
  .page-g a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-g__hero-cta-buttons,
  .page-g__cta-buttons,
  .page-g__button-group,
  .page-g__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-g__cta-buttons {
    flex-direction: column;
  }

  .page-g__large-btn {
    padding: 15px 25px;
    font-size: 1.1em;
  }

  /* Other Content Modules (5) */
  .page-g__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-g__step-item {
    padding: 25px;
  }

  .page-g__sub-title {
    font-size: 1.4em;
  }

  .page-g__feature-title {
    font-size: 1.2em;
  }

  .page-g__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-g__faq-answer {
    padding: 0 20px 15px;
  }

  .page-g__section {
    padding: 40px 0;
  }
}