.page-partners {
  --primary-color: #FFD700; /* Vàng kim */
  --secondary-color: #8B0000; /* Đỏ rượu */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #222222;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

.page-partners h1, .page-partners h2, .page-partners h3, .page-partners h4, .page-partners h5, .page-partners h6 {
  color: var(--secondary-color);
  font-weight: bold;
  margin-bottom: 15px;
}

.page-partners h1 {
  font-size: 3.2em;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-partners h3 {
  font-size: 1.8em;
  color: var(--text-dark);
}

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

.page-partners section {
  padding: 60px 0;
  margin-bottom: 30px;
  border-radius: 8px;
}

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

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

/* Hero Section */
.page-partners .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(--secondary-color) 0%, #333333 100%);
  color: var(--text-light);
  overflow: hidden;
}

.page-partners .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: 2;
}

.page-partners .hero-image {
  width: 100%;
  max-width: 800px; /* Adjusted for better content visibility */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  margin-bottom: 40px;
  object-fit: cover;
}

.page-partners .hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  width: 100%;
}

.page-partners .hero-content h1 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 3.5em;
}

.page-partners .hero-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
}

.page-partners .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.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--primary-color);
}

.page-partners .cta-button:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-color);
}

/* Why Partner Section */
.page-partners .section-why-partner {
  text-align: center;
}

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

.page-partners .feature-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #e0e0e0;
}

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

.page-partners .feature-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 50%; /* Make icons round for a modern look */
  border: 3px solid var(--primary-color);
  padding: 10px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.page-partners .feature-item h3 {
  color: var(--secondary-color);
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-partners .feature-item p {
  font-size: 1em;
  color: #555555;
}

/* How to Join Section */
.page-partners .section-how-to-join {
  background-color: var(--background-dark);
  color: var(--text-light);
  text-align: center;
}

.page-partners .section-how-to-join h2 {
  color: var(--primary-color);
}

.page-partners .section-how-to-join p {
  color: #cccccc;
  margin-bottom: 50px;
}

.page-partners .step-by-step {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.page-partners .step-item {
  background: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  max-width: 350px;
  text-align: center;
  border: 1px solid #444444;
  transition: background-color 0.3s ease;
}

.page-partners .step-item:hover {
  background-color: #444444;
}

.page-partners .step-number {
  width: 60px;
  height: 60px;
  background: 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: 0 auto 20px auto;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.page-partners .step-item h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-partners .step-item p {
  color: #bbbbbb;
  font-size: 0.95em;
}

.page-partners .btn-small {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: 1px solid var(--primary-color);
}

.page-partners .btn-small:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-color);
}

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

.page-partners .faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-partners .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-partners .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1.1em;
  color: var(--text-dark);
}

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

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

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

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

.page-partners .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 25px;
  background: #f9f9f9;
  color: #555555;
  border-radius: 0 0 8px 8px;
  font-size: 0.95em;
}

.page-partners .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 25px;
  border: 1px solid #e0e0e0;
  border-top: none;
}

/* Contact Section */
.page-partners .section-contact {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-light);
  text-align: center;
  padding: 80px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-partners .section-contact h2 {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 2.8em;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-partners .section-contact p {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: #eeeeee;
}

.page-partners .section-contact .cta-button {
  background: var(--text-light);
  color: var(--secondary-color);
  border: 2px solid var(--text-light);
}

.page-partners .section-contact .cta-button:hover {
  background: var(--secondary-color);
  color: var(--text-light);
  border-color: var(--text-light);
  transform: translateY(-3px) scale(1.02);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-partners .hero-content h1 {
    font-size: 3em;
  }
  .page-partners h2 {
    font-size: 2.2em;
  }
  .page-partners .feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-partners .hero-section {
    padding: 60px 15px;
  }
  .page-partners .hero-content h1 {
    font-size: 2.5em;
  }
  .page-partners .hero-content p {
    font-size: 1em;
  }
  .page-partners .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-partners h2 {
    font-size: 2em;
  }
  .page-partners h3 {
    font-size: 1.5em;
  }
  .page-partners .feature-grid {
    grid-template-columns: 1fr;
  }
  .page-partners .step-by-step {
    flex-direction: column;
    align-items: center;
  }
  .page-partners .faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-partners .faq-question h3 {
    font-size: 1em;
  }
  .page-partners .faq-answer {
    padding: 10px 20px;
  }
  .page-partners .section-contact h2 {
    font-size: 2.2em;
  }
}

@media (max-width: 480px) {
  .page-partners .hero-section {
    padding: 40px 10px;
  }
  .page-partners .hero-content h1 {
    font-size: 2em;
  }
  .page-partners .hero-content p {
    font-size: 0.9em;
  }
  .page-partners .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-partners h2 {
    font-size: 1.8em;
  }
  .page-partners h3 {
    font-size: 1.3em;
  }
  .page-partners .feature-icon {
    width: 100px;
    height: 100px;
  }
  .page-partners .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .page-partners .faq-question h3 {
    font-size: 0.95em;
  }
  .page-partners .faq-toggle {
    font-size: 1.5em;
  }
  .page-partners .section-contact h2 {
    font-size: 1.8em;
  }
}