/* style/g.css */

/* Base styles for page-g */
.page-g {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

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

.page-g__section-title {
  font-size: 2.5rem;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-g__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

.page-g__highlight {
  color: #F2C14E; /* Gold */
  font-weight: bold;
}

/* Hero Section */
.page-g__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  min-height: 600px;
}

.page-g__hero-image-wrapper {
  width: 100%;
  position: relative;
  z-index: 0;
  margin-bottom: 40px;
}

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

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

.page-g__main-title {
  font-weight: 800;
  line-height: 1.1;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  /* Using clamp for responsive font size without fixed large values */
  font-size: clamp(2.5rem, 5vw, 3.8rem);
}

.page-g__hero-description {
  font-size: 1.2rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-g__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  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.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-g__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-g__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-g__btn-secondary {
  background-color: transparent;
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2E7A4E; /* Border */
}

.page-g__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Border color with opacity */
  transform: translateY(-2px);
}

/* Introduction Section */
.page-g__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Types Section */
.page-g__grid-3-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-g__card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Text Main */
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-g__card-title {
  font-size: 1.8rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-g__card-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Benefits Section (Dark Background) */
.page-g__dark-section {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
}

.page-g__benefits-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-g__benefit-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-g__benefit-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-g__benefit-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-g__image-center {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Guide Section */
.page-g__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-g__guide-item {
  background-color: #11271B; /* Card BG */
  border-left: 5px solid #F2C14E; /* Gold */
  padding: 25px 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-g__guide-step-title {
  font-size: 1.6rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-g__guide-step-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-g__promotion-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-g__promotion-card .page-g__btn-primary {
  margin-top: 20px;
  align-self: flex-start;
}

.page-g__image-spacing {
  margin-top: 50px;
  margin-bottom: 50px;
}

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

.page-g__feature-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-g__feature-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-g__feature-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

/* FAQ Section */
.page-g__faq-list {
  margin-top: 40px;
}

.page-g__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-g__faq-item[open] {
  background-color: #0A4B2C; /* Deep Green */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-g__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  transition: color 0.3s ease;
  list-style: none;
}

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

.page-g__faq-question:hover {
  color: #F2C14E; /* Gold */
}

.page-g__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #F2C14E; /* Gold */
}

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

.page-g__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Conclusion Section */
.page-g__cta-buttons--bottom {
  margin-top: 50px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-g__section-title {
    font-size: 2.2rem;
  }

  .page-g__main-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
  }

  .page-g__hero-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .page-g {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-g__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    min-height: auto;
  }

  .page-g__hero-content {
    padding: 0 15px;
  }

  .page-g__main-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .page-g__hero-description {
    font-size: 1rem;
  }

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

  .page-g__btn-primary,
  .page-g__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-g__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-g__text-block {
    font-size: 1rem;
    padding: 0 15px;
  }

  .page-g__container {
    padding: 0;
  }

  .page-g__card {
    padding: 25px;
    margin: 0 15px;
  }

  .page-g__card-title {
    font-size: 1.5rem;
  }

  .page-g__card-text {
    font-size: 0.95rem;
  }

  .page-g__benefits-list,
  .page-g__grid-3-col,
  .page-g__promotion-grid,
  .page-g__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-g__benefit-item,
  .page-g__feature-item {
    padding: 25px;
  }

  .page-g__guide-item {
    margin: 0 15px 20px;
    padding: 20px 25px;
  }

  .page-g__faq-item {
    margin: 0 15px 15px;
  }

  .page-g__faq-question {
    font-size: 1.1rem;
    padding: 18px 20px;
  }

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

  .page-g img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-g__hero-image-wrapper,
  .page-g__image-full-width,
  .page-g__image-center,
  .page-g__section,
  .page-g__card,
  .page-g__container,
  .page-g__promotion-grid,
  .page-g__feature-grid,
  .page-g__guide-list,
  .page-g__faq-list,
  .page-g__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-g__video-section {
    padding-top: 10px !important;
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-g__video-container,
  .page-g__video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-g video,
  .page-g__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

@media (max-width: 480px) {
  .page-g__section-title {
    font-size: 1.6rem;
  }

  .page-g__card-title {
    font-size: 1.3rem;
  }

  .page-g__faq-question {
    font-size: 1rem;
  }
}