/* style/partners.css */
:root {
  --primary-color: #003366; /* Deep Blue */
  --secondary-color: #FFCC00; /* Gold/Amber */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #002244;
  --border-color: #e0e0e0;
}

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

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

.page-partners section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-partners .section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-partners .section-subtitle {
  font-size: 1.2em;
  color: #666666;
  text-align: center;
  margin-bottom: 40px;
}

/* 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: var(--background-dark);
  color: var(--text-light);
}

.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;
}

.page-partners .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-partners .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-partners .hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-partners .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color);
  color: var(--primary-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 6px 15px rgba(0, 0, 0, 0.2);
}

.page-partners .cta-button:hover {
  background: #e6b800;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-partners .introduction-section {
  background: var(--background-light);
}

.page-partners .introduction-section h2 {
  color: var(--primary-color);
}

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

.page-partners .text-content {
  flex: 2;
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-partners .text-content p {
  margin-bottom: 15px;
}

.page-partners .image-content {
  flex: 1;
}

.page-partners .image-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Benefits Section */
.page-partners .benefits-section {
  background: #ffffff;
}

.page-partners .benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-partners .benefit-card {
  background: #fdfdfd;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-partners .benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-partners .card-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-partners .card-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-partners .card-description {
  font-size: 1em;
  color: #555555;
}

/* Types Section */
.page-partners .types-section {
  background: var(--background-light);
}

.page-partners .types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.page-partners .type-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-partners .type-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-partners .type-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-partners .type-card h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  padding: 20px 20px 10px;
}

.page-partners .type-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 20px;
}

.page-partners .type-button {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 12px 20px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-partners .type-button:hover {
  background: #e6b800;
}

/* Process Section */
.page-partners .process-section {
  background: #ffffff;
}

.page-partners .process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-partners .step-item {
  background: var(--background-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-partners .step-number {
  font-size: 3em;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
  line-height: 1;
}

.page-partners .step-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-partners .step-description {
  font-size: 1em;
  color: #555555;
}

.page-partners .process-cta {
  text-align: center;
  margin-top: 50px;
}

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

.page-partners .faq-list {
  max-width: 900px;
  margin: 0 auto;
}

/* FAQ default state - answer hidden */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px;
}

/* FAQ expanded state */
.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

/* Question style */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 10px;
}

.faq-question:hover {
  background: #f5f5f5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

/* Toggle icon */
.faq-toggle {
  font-size: 20px;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: var(--secondary-color);
}

/* Contact Section */
.page-partners .contact-section {
  background: #ffffff;
}

.page-partners .contact-info {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1em;
}

.page-partners .contact-info p {
  margin-bottom: 20px;
}

.page-partners .contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-partners .contact-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-partners .contact-list li a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-partners .contact-list li a:hover {
  color: var(--secondary-color);
}

.page-partners .contact-list i {
  margin-right: 10px;
  color: var(--secondary-color);
  font-size: 1.3em;
  /* Placeholder for actual icons */
  display: inline-block;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
}

.page-partners .icon-email {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFCC00"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
}
.page-partners .icon-telegram {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFCC00"><path d="M18.36 5.64c-.78-.78-1.76-1.2-2.83-1.2-1.07 0-2.05.42-2.83 1.2L12 7.17 10.03 5.2c-.78-.78-1.76-1.2-2.83-1.2-1.07 0-2.05.42-2.83 1.2C3.59 6.42 3 7.4 3 8.47c0 1.07.42 2.05 1.2 2.83L12 19.17l7.8-7.8c.78-.78 1.2-1.76 1.2-2.83 0-1.07-.42-2.05-1.2-2.83z"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2.05 12.59l-2.61-2.61c-.39-.39-.39-1.02 0-1.41.39-.39 1.02-.39 1.41 0l1.91 1.91 4.59-4.59c.39-.39 1.02-.39 1.41 0 .39.39.39 1.02 0 1.41l-5.29 5.29c-.39.39-1.02.39-1.41 0z"/></svg>');
}
.page-partners .icon-livechat {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFCC00"><path d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z"/></svg>');
}

/* Floating Button */
.page-partners .floating-button {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 50px;
  padding: 15px 25px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1000;
}

.page-partners .floating-button:hover {
  background-color: #e6b800;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.page-partners .button-text {
  margin-left: 5px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-partners .section-title {
    font-size: 2em;
  }
  .page-partners .hero-title {
    font-size: 2.5em;
  }
  .page-partners .hero-description {
    font-size: 1.2em;
  }
  .page-partners .content-wrapper {
    flex-direction: column;
  }
  .page-partners .text-content, .page-partners .image-content {
    flex: none;
    width: 100%;
  }
  .page-partners .benefits-grid, .page-partners .types-grid, .page-partners .process-steps {
    grid-template-columns: 1fr;
  }
  .page-partners .card-icon {
    width: 80px;
    height: 80px;
  }
  .page-partners .type-image {
    height: 200px;
  }
  .page-partners .floating-button {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-partners section {
    padding: 40px 0;
  }
  .page-partners .hero-section {
    padding: 60px 15px;
  }
  .page-partners .hero-title {
    font-size: 2em;
  }
  .page-partners .hero-description {
    font-size: 1em;
  }
  .page-partners .cta-button {
    padding: 15px 30px;
    font-size: 1em;
  }
  .page-partners .section-title {
    font-size: 1.8em;
  }
  .page-partners .section-subtitle {
    font-size: 1em;
  }
  .page-partners .card-title, .page-partners .type-title, .page-partners .step-title {
    font-size: 1.3em;
  }
  .faq-question {
    padding: 12px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 18px;
  }
  .faq-item.active .faq-answer {
    padding: 10px 15px;
  }
  .page-partners .floating-button {
    bottom: 15px;
    right: 15px;
    padding: 10px 18px;
    font-size: 0.9em;
  }
}