/* style/-g.css */

/* Biến màu */
:root {
  --primary-color: #1A2E47;
  --secondary-color: #FFD700;
  --text-light: #F0F2F5;
  --text-dark: #333333;
  --background-dark: #1A2E47;
  --background-light: #FFFFFF;
  --border-color: #e0e0e0;
}

/* Reset cơ bản cho trang */
.page--g * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.page--g {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

.page--g a {
  text-decoration: none;
  color: var(--secondary-color);
  transition: color 0.3s ease;
}

.page--g a:hover {
  color: #FFA500; /* Màu vàng cam đậm hơn khi hover */
}

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

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

.page--g section {
  padding: 60px 0;
  text-align: center;
}

.page--g section:nth-of-type(even) {
  background-color: #f8f8f8;
}

.page--g section-title {
  font-size: 2.8em;
  color: var(--primary-color);
  margin-bottom: 30px;
  font-weight: bold;
  text-transform: uppercase;
}

.page--g section-text {
  font-size: 1.1em;
  color: #555;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* HERO Section */
.page--g .hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #365073 100%);
  color: var(--text-light);
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.page--g .hero-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  gap: 40px;
}

.page--g .hero-content {
  flex: 1;
  text-align: left;
}

.page--g .hero-image {
  flex: 1;
  text-align: right;
}

.page--g .hero-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page--g .hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.page--g .hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: var(--text-light);
}

.page--g .cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 18px 45px;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page--g .cta-button:hover {
  background-color: #FFA500;
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

/* Section Intro */
.page--g .section-intro .section-title {
  color: var(--primary-color);
}

/* Feature Grid (Sảnh Đá Gà) */
.page--g .section-features {
  background-color: var(--background-light);
}

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

.page--g .feature-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page--g .feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page--g .card-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page--g .card-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page--g .card-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Đẩy nút xuống dưới cùng */
}

.page--g .card-button:hover {
  background-color: #2A4F7F;
  color: var(--secondary-color);
}

/* Benefits Section */
.page--g .section-benefits {
  background-color: #f0f4f8;
}

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

.page--g .benefit-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.page--g .benefit-item:hover {
  transform: translateY(-8px);
}

.page--g .benefit-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.page--g .benefit-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page--g .benefit-description {
  font-size: 0.95em;
  color: #666;
}

/* Guide Section */
.page--g .section-guide {
  background-color: var(--background-light);
}

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

.page--g .step-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page--g .step-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page--g .step-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page--g .step-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 0.95em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto;
  align-self: flex-start;
}

.page--g .step-button:hover {
  background-color: #FFA500;
}

.page--g .cta-bottom {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.page--g .cta-text {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 30px;
  font-weight: bold;
}

/* Promotions Section */
.page--g .section-promotions {
  background-color: #f0f4f8;
}

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

.page--g .promotion-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page--g .promotion-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* FAQ Section */
.page--g .section-faq {
  background-color: var(--background-light);
}

.page--g .faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page--g .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.page--g .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page--g .faq-question:hover {
  background: #f5f5f5;
}

.page--g .faq-q-title {
  font-size: 1.25em;
  color: var(--primary-color);
  margin: 0;
  font-weight: bold;
}

.page--g .faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

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

.page--g .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
}

.page--g .faq-item.active .faq-answer {
  max-height: 500px; /* Đủ cao để chứa nội dung */
  padding: 25px;
  border-top: 1px solid var(--border-color);
}

.page--g .faq-a-text {
  font-size: 1.05em;
  color: #555;
  line-height: 1.8;
}

/* Blog Section */
.page--g .section-blog {
  background-color: #f0f4f8;
}

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

.page--g .blog-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page--g .blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page--g .blog-card .card-image {
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.page--g .blog-card .card-title {
  font-size: 1.6em;
  padding: 20px 25px 0;
  margin-bottom: 10px;
}

.page--g .blog-link {
  color: var(--primary-color);
  font-weight: bold;
}

.page--g .blog-link:hover {
  color: var(--secondary-color);
}

.page--g .blog-card .card-description {
  font-size: 0.95em;
  color: #666;
  padding: 0 25px 20px;
  flex-grow: 1;
}

.page--g .blog-card .card-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin: 0 25px 25px;
  align-self: flex-start;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page--g .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page--g .hero-content {
    text-align: center;
    margin-bottom: 40px;
  }

  .page--g .hero-image {
    text-align: center;
  }

  .page--g .hero-title {
    font-size: 2.8em;
  }

  .page--g .hero-description {
    font-size: 1.1em;
  }

  .page--g .section-title {
    font-size: 2.2em;
  }

  .page--g .feature-card, .page--g .promotion-card, .page--g .blog-card {
    padding: 25px;
  }

  .page--g .card-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page--g section {
    padding: 40px 0;
  }

  .page--g .section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page--g .section-text {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page--g .hero-title {
    font-size: 2.2em;
  }

  .page--g .hero-description {
    font-size: 1em;
  }

  .page--g .cta-button {
    padding: 15px 30px;
    font-size: 1em;
  }

  .page--g .feature-grid, .page--g .benefits-grid, .page--g .guide-steps, .page--g .promotion-grid, .page--g .blog-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page--g .card-image {
    height: 200px;
  }

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

  .page--g .benefit-icon {
    width: 80px;
    height: 80px;
  }

  .page--g .benefit-title {
    font-size: 1.3em;
  }

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

  .page--g .faq-question {
    padding: 15px 20px;
  }

  .page--g .faq-q-title {
    font-size: 1.1em;
  }

  .page--g .faq-toggle {
    font-size: 1.8em;
  }

  .page--g .faq-answer {
    padding: 15px 20px;
  }

  .page--g .faq-a-text {
    font-size: 0.95em;
  }

  .page--g .blog-card .card-title {
    font-size: 1.4em;
  }
}

@media (max-width: 480px) {
  .page--g .hero-section {
    padding: 60px 15px;
  }

  .page--g .hero-title {
    font-size: 1.8em;
  }

  .page--g .hero-description {
    font-size: 0.9em;
  }

  .page--g .cta-button {
    padding: 12px 25px;
    font-size: 0.9em;
  }

  .page--g .section-title {
    font-size: 1.5em;
  }

  .page--g .section-text {
    font-size: 0.9em;
  }

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

  .page--g .faq-q-title {
    font-size: 1em;
  }
}