.page-g {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0;
  background-color: #1a1a1a;
  line-height: 1.6;
}

.page-g-hero {
  position: relative;
  background-image: url('[GALLERY:hero:vlxx88,dagatructuyen,main]');
  background-size: cover;
  background-position: center;
  padding: 120px 20px;
  text-align: center;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.page-g-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.page-g-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-g-main-title {
  font-size: 3.2em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-g-hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-g-cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: #0A0A0A;
  padding: 18px 45px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-g-cta-button:hover {
  background-color: #FFC107;
  transform: translateY(-3px);
}

.page-g-section {
  padding: 60px 0;
  border-bottom: 1px solid #333;
}

.page-g-section:last-of-type {
  border-bottom: none;
}

.page-g-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-g-section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-g-section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color-red);
  border-radius: 2px;
}

.page-g-intro p, .page-g-advantages p, .page-g-guide p, .page-g-strategies p, .page-g-promotions p, .page-g-support-security p, .page-g-conclusion p {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-g-highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-g-image-wrapper {
  margin: 40px 0;
  text-align: center;
}

.page-g-image-wrapper-small {
  margin: 20px 0;
  text-align: center;
}

.page-g-responsive-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

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

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

.page-g-card {
  background-color: #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-g-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.page-g-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #333;
}

.page-g-card-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  padding: 20px 20px 10px;
}

.page-g-card p {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #B0B0B0;
}

.page-g-text-center {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1em;
}

.page-g-advantage-list, .page-g-strategy-list, .page-g-contact-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-g-advantage-list li, .page-g-strategy-list li {
  background-color: #2a2a2a;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

.page-g-advantage-list li:hover, .page-g-strategy-list li:hover {
  background-color: #3a3a3a;
}

.page-g-list-title {
  font-size: 1.8em;
  color: var(--primary-color-red);
  margin-bottom: 10px;
}

.page-g-list-title + p {
  font-size: 1.05em;
  color: #C0C0C0;
}

.page-g-step-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-g-step-list li {
  background-color: #2a2a2a;
  margin-bottom: 25px;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.35);
  position: relative;
  counter-increment: step-counter;
  padding-left: 80px;
}

.page-g-step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 25px;
  top: 30px;
  background-color: var(--secondary-color);
  color: #0A0A0A;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.5);
}

.page-g-step-list .page-g-list-title {
  color: var(--secondary-color);
  margin-top: 0;
  font-size: 1.7em;
}

.page-g-inline-button {
  display: inline-block;
  background-color: var(--primary-color-red);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-g-inline-button:hover {
  background-color: #A0002A;
  transform: translateY(-2px);
}

.page-g-promo-card {
  background-color: #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 25px;
}

.page-g-promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #333;
}

.page-g-promo-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  padding: 20px 15px 10px;
}

.page-g-promo-card p {
  padding: 0 15px;
  font-size: 1em;
  color: #B0B0B0;
  margin-bottom: 20px;
}

.page-g-promo-button {
  display: inline-block;
  background-color: var(--primary-color-red);
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-g-promo-button:hover {
  background-color: #A0002A;
  transform: translateY(-2px);
}

.page-g-info-block {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.35);
}

.page-g-block-title {
  font-size: 2em;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.page-g-contact-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.page-g-contact-list li {
  margin-bottom: 10px;
}

.page-g-contact-link {
  color: var(--primary-color-red);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-g-contact-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-g-faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #333;
  border-radius: 8px;
  background-color: #2a2a2a;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #3a3a3a;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #4a4a4a;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: var(--secondary-color);
}

.faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: var(--primary-color-red);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background-color: #2a2a2a;
  border-radius: 0 0 8px 8px;
  color: #C0C0C0;
  font-size: 1.05em;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 25px;
  padding-top: 15px;
}

.faq-answer p {
  margin-bottom: 15px;
  text-align: justify;
}

.page-g-cta-bottom {
  margin-top: 50px;
  margin-bottom: 30px;
}

/* Variables for color scheme */
:root {
  --primary-color: #0A0A0A; /* Deep Black */
  --secondary-color: #FFD700; /* Gold */
  --primary-color-red: #DC143C; /* Deep Red for CTA/Highlight */
  --text-color-light: #E0E0E0;
  --text-color-dark: #0A0A0A;
  --background-dark: #1a1a1a;
  --card-background: #2a2a2a;
  --hover-background: #3a3a3a;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-g-main-title {
    font-size: 2.5em;
  }
  .page-g-hero-description {
    font-size: 1.1em;
  }
  .page-g-cta-button {
    padding: 15px 35px;
    font-size: 1.1em;
  }
  .page-g-section-title {
    font-size: 2em;
  }
  .page-g-card-title {
    font-size: 1.4em;
  }
  .page-g-list-title {
    font-size: 1.6em;
  }
  .page-g-promo-title {
    font-size: 1.3em;
  }
  .page-g-block-title {
    font-size: 1.8em;
  }
  .faq-question h3 {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-g-hero {
    padding: 80px 15px;
    min-height: 350px;
  }
  .page-g-main-title {
    font-size: 2em;
  }
  .page-g-hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-g-cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-g-section {
    padding: 40px 0;
  }
  .page-g-section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-g-intro p, .page-g-advantages p, .page-g-guide p, .page-g-strategies p, .page-g-promotions p, .page-g-support-security p, .page-g-conclusion p {
    font-size: 0.95em;
  }
  .page-g-grid-2, .page-g-grid-3 {
    grid-template-columns: 1fr;
  }
  .page-g-card-image {
    height: 180px;
  }
  .page-g-card-title {
    font-size: 1.3em;
  }
  .page-g-promo-image {
    height: 150px;
  }
  .page-g-promo-title {
    font-size: 1.2em;
  }
  .page-g-step-list li {
    padding: 20px 20px 20px 70px;
  }
  .page-g-step-list li::before {
    left: 15px;
    top: 20px;
    width: 35px;
    height: 35px;
    font-size: 1.2em;
  }
  .page-g-list-title {
    font-size: 1.4em;
  }
  .page-g-block-title {
    font-size: 1.6em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.8em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 20px;
    padding-top: 10px;
  }
}

@media (max-width: 480px) {
  .page-g-main-title {
    font-size: 1.8em;
  }
  .page-g-hero-description {
    font-size: 0.9em;
  }
  .page-g-cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-g-section-title {
    font-size: 1.6em;
  }
  .page-g-list-title {
    font-size: 1.2em;
  }
  .page-g-promo-title {
    font-size: 1.1em;
  }
  .page-g-block-title {
    font-size: 1.4em;
  }
  .faq-question h3 {
    font-size: 1em;
  }
}