/* ═══════════════════════════════════════════════════════
   PARTNERSHIP PAGE - MindBridge Kenya
   Matching the updated theme (Deep Purple / White / Lime Green)
   ═══════════════════════════════════════════════════════ */

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Hero Section */
.partners-hero {
  padding: 100px 5% 80px;
  background: linear-gradient(135deg, #1e0540 0%, #3b0764 40%, #5b21b6 75%, #7c3aed 100%);
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--purple-300);
  margin-bottom: 20px;
}

.partners-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 500;
  color: white;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.partners-hero h1 .accent {
  background: linear-gradient(135deg, #c4b5fd, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.partners-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header.light {
  color: white;
}

.section-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--purple-600);
  background: var(--purple-100);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.section-header.light .section-badge {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
}

.section-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.section-header.light h2 {
  color: white;
}

.section-header .accent {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-header.light .accent {
  background: linear-gradient(135deg, #c4b5fd, #e9d5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-header.light p {
  color: rgba(255,255,255,0.7);
}

/* Partners Grid */
.partners-section {
  padding: 80px 0;
  background: var(--white);
}

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

.partner-card {
  background: var(--purple-100);
  border-radius: 28px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--purple-300);
}

.partner-image {
  height: 140px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.partner-image img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

.partner-info {
  padding: 24px 24px 28px;
  text-align: center;
}

.partner-info h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
  letter-spacing: -0.3px;
}

.partner-info p {
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 14px;
  line-height: 1.5;
}

.partner-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--purple-600);
  background: white;
  padding: 5px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Special Thanks Section */
.thanks-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
}

.thanks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.thanks-card-item {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.15);
}

.thanks-card-item:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-5px);
}

.thanks-card-item i {
  font-size: 40px;
  color: var(--green);
  margin-bottom: 20px;
}

.thanks-card-item h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  font-weight: 500;
  color: white;
  margin-bottom: 10px;
}

.thanks-card-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

/* Support Section */
.support-section {
  padding: 80px 0;
  background: var(--white);
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.support-content .section-badge {
  margin-bottom: 20px;
}

.support-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.support-content > p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 36px;
}

.support-ways {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.support-way {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.support-way i {
  font-size: 32px;
  color: var(--purple-600);
  flex-shrink: 0;
  background: var(--purple-100);
  padding: 12px;
  border-radius: 20px;
}

.support-way h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.support-way p {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 10px;
  line-height: 1.6;
}

.subtle-link, .donate-toggle-btn {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--purple-600);
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.subtle-link:hover, .donate-toggle-btn:hover {
  opacity: 0.7;
  gap: 10px;
}

/* Donate Details Modal */
.donate-details {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.donate-details.visible {
  opacity: 1;
  visibility: visible;
}

.donate-card-inner {
  background: white;
  border-radius: 32px;
  padding: 40px;
  max-width: 460px;
  width: 90%;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.donate-details.visible .donate-card-inner {
  transform: scale(1);
}

.close-donate {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.2s;
}

.close-donate:hover {
  color: var(--text-dark);
}

.donate-card-inner h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.donate-card-inner h3 i {
  color: #ef4444;
}

.donate-card-inner > p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.donate-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.method {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: var(--purple-100);
  border-radius: 20px;
}

.method i {
  font-size: 24px;
  color: var(--purple-600);
}

.method strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.method span {
  display: block;
  font-size: 12px;
  color: var(--text-mid);
  margin-bottom: 3px;
}

.method code {
  background: white;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-family: monospace;
  font-weight: 600;
}

.donate-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 20px;
}

.donate-note a {
  color: var(--purple-600);
  text-decoration: none;
  font-weight: 600;
}

/* Inquiry Form */
.inquiry-section {
  padding: 0 0 80px;
  background: var(--white);
}

.inquiry-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--purple-100);
  border-radius: 32px;
  padding: 48px;
}

.inquiry-header {
  text-align: center;
  margin-bottom: 36px;
}

.inquiry-header h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.inquiry-header p {
  font-size: 14px;
  color: var(--text-muted);
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 14px;
  font-family: inherit;
  background: white;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple-600);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.btn-subtle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--purple-600);
  color: white;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s;
  align-self: center;
  margin-top: 12px;
}

.btn-subtle:hover {
  background: var(--purple-700);
  transform: translateY(-2px);
  gap: 14px;
}

/* Developer Credit */
.footer-dev {
  text-align: center;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-dev p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-dev a {
  color: var(--purple-400);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-dev a:hover {
  color: var(--purple-300);
}

.footer-dev i {
  margin: 0 2px;
}

/* Responsive */
@media (max-width: 1024px) {
  .support-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .inquiry-card {
    padding: 32px;
    margin: 0 5%;
  }
}

@media (max-width: 768px) {
  .partners-hero {
    padding: 80px 5% 60px;
  }
  
  .partners-hero h1 {
    font-size: 36px;
  }
  
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .thanks-grid {
    grid-template-columns: 1fr;
  }
  
  .partner-card {
    max-width: 100%;
  }
  
  .support-way {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .support-way i {
    margin-bottom: 8px;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .inquiry-card {
    padding: 24px;
  }
  
  .donate-card-inner {
    padding: 28px;
  }
  
  .donate-card-inner h3 {
    font-size: 22px;
  }
  
  .method {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .method i {
    margin-bottom: 8px;
  }
}