/* style/index-review-fabet.css */

/* Biến CSS */
:root {
  --primary-color: #1A2B42;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f8f8;
  --bg-dark: #121f2f;
  --border-color: #e0e0e0;
}

/* Vùng chung của trang */
.page-index-review-fabet {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

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

.page-index-review-fabet section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-index-review-fabet section:nth-of-type(even) {
  background-color: #f0f0f0;
}

.page-index-review-fabet h1,
.page-index-review-fabet h2,
.page-index-review-fabet h3 {
  color: var(--primary-color);
  margin-bottom: 25px;
  text-align: center;
}

.page-index-review-fabet h1 {
  font-size: 3.2em;
  font-weight: bold;
  color: var(--text-light);
}

.page-index-review-fabet h2 {
  font-size: 2.5em;
  font-weight: bold;
}

.page-index-review-fabet h3 {
  font-size: 1.8em;
  font-weight: 600;
}

.page-index-review-fabet p {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-index-review-fabet ul,
.page-index-review-fabet ol {
  margin-bottom: 15px;
  padding-left: 25px;
  font-size: 1.1em;
}

.page-index-review-fabet ul li,
.page-index-review-fabet ol li {
  margin-bottom: 10px;
}

.page-index-review-fabet .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-index-review-fabet .cta-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index-review-fabet .button-link {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  margin-top: 15px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index-review-fabet .button-link:hover {
  background: #2a3e5a;
  transform: translateY(-1px);
}

/* HERO Section */
.page-index-review-fabet .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color), #2a3e5a);
  color: var(--text-light);
  overflow: hidden;
}

.page-index-review-fabet .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-index-review-fabet .hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-index-review-fabet .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-index-review-fabet .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
}

.page-index-review-fabet .hero-content h1 {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 3.5em;
}

.page-index-review-fabet .hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Product Grid Section */
.page-index-review-fabet .section-products .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-fabet .section-products .product-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-fabet .section-products .product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index-review-fabet .section-products .product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-review-fabet .section-products .product-item h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-index-review-fabet .section-products .product-item p {
  font-size: 1em;
  color: #555;
  min-height: 100px;
}

/* Support Section */
.page-index-review-fabet .section-support .support-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-index-review-fabet .section-faq .faq-list {
  margin-top: 30px;
}

.page-index-review-fabet .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: #ffffff;
  overflow: hidden;
}

.page-index-review-fabet .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--bg-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-index-review-fabet .faq-question:hover {
  background: #e9e9e9;
}

.page-index-review-fabet .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-color);
  text-align: left;
}

.page-index-review-fabet .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-index-review-fabet .faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.page-index-review-fabet .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fdfdfd;
  color: var(--text-dark);
}

.page-index-review-fabet .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 25px;
  border-top: 1px solid var(--border-color);
}

.page-index-review-fabet .faq-item.active .faq-answer p {
  margin-bottom: 0;
}

/* Floating Buttons */
.page-index-review-fabet .floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-index-review-fabet .floating-buttons .float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 45px;
  border-radius: 25px;
  color: var(--text-light);
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  font-size: 0.9em;
}

.page-index-review-fabet .floating-buttons .register-btn {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-index-review-fabet .floating-buttons .login-btn {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-index-review-fabet .floating-buttons .float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-review-fabet h1 {
    font-size: 2.8em;
  }
  .page-index-review-fabet h2 {
    font-size: 2em;
  }
  .page-index-review-fabet h3 {
    font-size: 1.5em;
  }
  .page-index-review-fabet p {
    font-size: 1em;
  }
  .page-index-review-fabet .hero-content p {
    font-size: 1.1em;
  }
  .page-index-review-fabet .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-index-review-fabet .section-products .product-item p {
    min-height: 80px;
  }
}

@media (max-width: 768px) {
  .page-index-review-fabet section {
    padding: 40px 0;
  }
  .page-index-review-fabet .hero-section {
    padding: 60px 15px;
  }
  .page-index-review-fabet .hero-content h1 {
    font-size: 2.2em;
  }
  .page-index-review-fabet .hero-content p {
    font-size: 1em;
  }
  .page-index-review-fabet .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-index-review-fabet .product-grid {
    grid-template-columns: 1fr;
  }
  .page-index-review-fabet .section-products .product-item p {
    min-height: auto;
  }
  .page-index-review-fabet .faq-question {
    padding: 15px 20px;
  }
  .page-index-review-fabet .faq-question h3 {
    font-size: 1.1em;
  }
  .page-index-review-fabet .faq-answer {
    padding: 0 20px;
  }
  .page-index-review-fabet .faq-item.active .faq-answer {
    padding: 20px;
  }
  .page-index-review-fabet .floating-buttons {
    bottom: 15px;
    right: 15px;
    flex-direction: row;
    gap: 8px;
  }
  .page-index-review-fabet .floating-buttons .float-btn {
    width: 100px;
    height: 40px;
    font-size: 0.85em;
  }
}

@media (max-width: 480px) {
  .page-index-review-fabet h1 {
    font-size: 1.8em;
  }
  .page-index-review-fabet h2 {
    font-size: 1.6em;
  }
  .page-index-review-fabet .floating-buttons {
    width: calc(100% - 30px);
    right: 15px;
    left: 15px;
    justify-content: space-around;
  }
  .page-index-review-fabet .floating-buttons .float-btn {
    width: 48%;
  }
}