/* style/bn-c.css */

/* Biến CSS */
:root {
  --primary-color: #FFD700; /* Vàng kim */
  --secondary-color: #000080; /* Xanh đậm */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #000080; /* Sử dụng màu phụ làm nền đậm */
  --border-color: #e0e0e0;
  --hover-darken: #ccac00; /* Vàng kim đậm hơn cho hover */
  --hover-lighten: #0000a0; /* Xanh đậm nhẹ hơn cho hover */
}

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

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

/* Hero Section */
.page-bn-c .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-light);
  overflow: hidden;
}

.page-bn-c .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; /* Đảm bảo nội dung nằm trên hình ảnh nếu có lớp phủ */
}

.page-bn-c .hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-height: 500px; /* Giới hạn chiều cao hình ảnh */
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-bn-c .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-bn-c .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-bn-c .hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-bn-c .hero-content p {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-bn-c .hero-content p a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-bn-c .hero-content p a:hover {
  color: var(--hover-darken);
}

.page-bn-c .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-bn-c .cta-button:hover {
  background: var(--hover-darken);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-bn-c .cta-button.primary-button {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-bn-c .cta-button.primary-button:hover {
  background-color: var(--hover-darken);
  color: var(--text-light);
}

.page-bn-c .cta-button.small-button {
  padding: 10px 25px;
  font-size: 1em;
  margin-top: 15px;
}

.page-bn-c .final-cta {
  margin-top: 50px;
  font-size: 1.5em;
  padding: 20px 50px;
}

/* General Section Styling */
.page-bn-c section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-bn-c section:nth-of-type(odd) {
  background-color: var(--background-light);
}

.page-bn-c section:nth-of-type(even) {
  background-color: #f0f0f0;
}

.page-bn-c h2 {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-bn-c h2::after {
  content: '';
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -15px;
  border-radius: 2px;
}

.page-bn-c h3 {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-bn-c p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-bn-c p a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-bn-c p a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Feature Grid */
.page-bn-c .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-bn-c .feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-bn-c .feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-bn-c .feature-item img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

/* Why Choose Section */
.page-bn-c .section-why-choose {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-bn-c .section-why-choose h2 {
  color: var(--primary-color);
}

.page-bn-c .section-why-choose h2::after {
  background-color: var(--text-light);
}

.page-bn-c .section-why-choose p, .page-bn-c .section-why-choose li {
  color: var(--text-light);
}

.page-bn-c .section-why-choose p a, .page-bn-c .section-why-choose li a {
  color: var(--primary-color);
}

.page-bn-c .section-why-choose p a:hover, .page-bn-c .section-why-choose li a:hover {
  color: var(--hover-darken);
}

.page-bn-c .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-bn-c .text-content {
  flex: 1;
  min-width: 300px;
}

.page-bn-c .text-content ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-bn-c .text-content ul li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  font-size: 1.1em;
}

.page-bn-c .text-content ul li::before {
  content: '✔';
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-bn-c .image-content {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-bn-c .image-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Step-by-Step Guide */
.page-bn-c .step-by-step-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-bn-c .step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-bn-c .step-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-bn-c .step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Strategy Cards */
.page-bn-c .strategy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-bn-c .strategy-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-bn-c .strategy-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-bn-c .strategy-card img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

/* Promotion Grid */
.page-bn-c .promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-bn-c .promo-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-bn-c .promo-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-bn-c .promo-item img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

/* Security & Support */
.page-bn-c .section-security-support {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-bn-c .section-security-support h2 {
  color: var(--primary-color);
}

.page-bn-c .section-security-support h2::after {
  background-color: var(--text-light);
}

.page-bn-c .section-security-support p {
  color: var(--text-light);
}

.page-bn-c .section-security-support p a {
  color: var(--primary-color);
}

.page-bn-c .section-security-support p a:hover {
  color: var(--hover-darken);
}

.page-bn-c .security-support-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-bn-c .security-item, .page-bn-c .support-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-bn-c .security-item h3, .page-bn-c .support-item h3 {
  color: var(--primary-color);
}

.page-bn-c .security-item img, .page-bn-c .support-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  object-fit: cover;
  border-radius: 8px;
}

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

.page-bn-c .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-bn-c .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1.1em;
  color: var(--secondary-color);
}

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

.page-bn-c .faq-question h3 {
  margin: 0;
  font-size: 1.1em;
  color: inherit; /* Kế thừa màu từ .faq-question */
}

.page-bn-c .faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

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

.page-bn-c .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background: #fcfcfc;
  color: var(--text-dark);
}

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

.page-bn-c .faq-answer p {
  margin: 0;
  font-size: 1em;
}

.page-bn-c .faq-answer p a {
  color: var(--secondary-color);
  font-weight: normal;
}

.page-bn-c .faq-answer p a:hover {
  color: var(--primary-color);
}

/* Conclusion Section */
.page-bn-c .section-conclusion {
  text-align: center;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 80px 20px;
}

.page-bn-c .section-conclusion h2 {
  color: var(--secondary-color);
}

.page-bn-c .section-conclusion h2::after {
  background-color: var(--secondary-color);
}

.page-bn-c .section-conclusion p {
  font-size: 1.2em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.page-bn-c .section-conclusion p a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-bn-c .section-conclusion p a:hover {
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-bn-c .hero-content h1 {
    font-size: 2.8em;
  }
  .page-bn-c .hero-content p {
    font-size: 1.1em;
  }
  .page-bn-c h2 {
    font-size: 2em;
  }
  .page-bn-c h3 {
    font-size: 1.5em;
  }
  .page-bn-c .cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-bn-c .hero-section {
    padding: 40px 15px;
  }
  .page-bn-c .hero-image {
    margin-bottom: 20px;
  }
  .page-bn-c .hero-content h1 {
    font-size: 2.2em;
  }
  .page-bn-c .hero-content p {
    font-size: 1em;
  }
  .page-bn-c .cta-button {
    padding: 10px 25px;
    font-size: 1em;
  }
  .page-bn-c section {
    padding: 40px 0;
  }
  .page-bn-c h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-bn-c h2::after {
    bottom: -10px;
  }
  .page-bn-c h3 {
    font-size: 1.3em;
  }
  .page-bn-c .content-wrapper {
    flex-direction: column;
  }
  .page-bn-c .text-content, .page-bn-c .image-content {
    min-width: unset;
    width: 100%;
  }
  .page-bn-c .feature-grid, .page-bn-c .step-by-step-guide, .page-bn-c .strategy-cards, .page-bn-c .promo-grid, .page-bn-c .security-support-content {
    grid-template-columns: 1fr;
  }
  .page-bn-c .step-item, .page-bn-c .feature-item, .page-bn-c .strategy-card, .page-bn-c .promo-item, .page-bn-c .security-item, .page-bn-c .support-item {
    padding: 20px;
  }
  .page-bn-c .faq-question {
    padding: 12px 15px;
    font-size: 1em;
  }
  .page-bn-c .faq-question h3 {
    font-size: 1em;
  }
  .page-bn-c .faq-toggle {
    font-size: 1.2em;
  }
  .page-bn-c .faq-answer {
    padding: 0 15px;
  }
  .page-bn-c .faq-item.active .faq-answer {
    padding: 15px;
  }
  .page-bn-c .final-cta {
    font-size: 1.2em;
    padding: 15px 35px;
  }
}

@media (max-width: 480px) {
  .page-bn-c .hero-content h1 {
    font-size: 1.8em;
  }
  .page-bn-c .hero-content p {
    font-size: 0.95em;
  }
  .page-bn-c h2 {
    font-size: 1.5em;
  }
  .page-bn-c h3 {
    font-size: 1.2em;
  }
  .page-bn-c .cta-button {
    font-size: 0.9em;
    padding: 8px 20px;
  }
  .page-bn-c .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .page-bn-c .final-cta {
    font-size: 1em;
    padding: 12px 25px;
  }
}