/* partner.css - Styles for the dedicated partnership page */

/* Global body background gold */
body {
  background: #FFD700; /* gold */
}


/* Hero section – semi‑transparent to blend with gold */
.partner-hero {
  background: #FFD700;
  padding: 5rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  backdrop-filter: blur(2px);
}

.partner-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #1e1e1e;
  margin-bottom: 1rem;
}

.partner-hero p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #555;
  max-width: 800px;
  margin: 0 auto 1rem;
}


/* Feature list section – white background for contrast */
.partner-features {
  padding: 4rem 0;
  background: #000000;
  border-radius: 40px 40px 0 0;
  margin-top: 2rem;
  color: white;
}



/* Feature list (timeline style) */
.partner-feature-list {
  max-width: 1000px;
  margin: 3rem auto;
  position: relative;
}

/* Vertical line */
.partner-feature-list::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-gold), rgba(0, 0, 0, 0.2));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1);
}

.partner-features.visible .partner-feature-list::before {
  transform: scaleY(1);
}

.feature-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}


.partner-features.visible .feature-item {
  opacity: 1;
  transform: translateX(0);
}


/* Stagger delays */
.partner-features.visible .feature-item:nth-child(1) { transition-delay: 0.05s; }
.partner-features.visible .feature-item:nth-child(2) { transition-delay: 0.1s; }
.partner-features.visible .feature-item:nth-child(3) { transition-delay: 0.15s; }
.partner-features.visible .feature-item:nth-child(4) { transition-delay: 0.2s; }
.partner-features.visible .feature-item:nth-child(5) { transition-delay: 0.25s; }
.partner-features.visible .feature-item:nth-child(6) { transition-delay: 0.3s; }
.partner-features.visible .feature-item:nth-child(7) { transition-delay: 0.35s; }
.partner-features.visible .feature-item:nth-child(8) { transition-delay: 0.4s; }

.partner-features h2 {
 color: white;
}



.feature-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: #fef9e6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--primary-gold);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  z-index: 2;
}

.feature-item:hover .feature-icon {
  background: var(--primary-gold);
  color: #1e1e1e;
  transform: scale(1.05);
  box-shadow: 0 15px 25px rgba(255,215,0,0.2);
}

.feature-content {
  flex: 1;
  padding-top: 0.5rem;
}

.feature-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: gold;
  position: relative;
  display: inline-block;
}

.feature-content h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gold);
  transition: width 0.4s ease;
}

.feature-item:hover .feature-content h3::after {
  width: 100%;
}

.feature-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
  margin: 0.5rem 0 0;
}

/* Why Partner block – white background for readability */
.partner-why {
  background: gold;
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid rgba(255,215,0,0.2);
  border-bottom: 1px solid rgba(255,215,0,0.2);
  margin: 0;
}

.partner-why h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1e1e1e;
}

.partner-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.partner-benefits li {
  flex: 1 1 200px;
  font-size: 1rem;
  color: #444;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-align: left;
  background: #f9f9f9;
  padding: 0.8rem 1.2rem;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.partner-benefits li i {
  color: var(--primary-gold);
  font-size: 1.2rem;
}

/* CTA section – dark background with gold accent */
.partner-cta {
  background: #1e1e1e;
  padding: 4rem 0;
  text-align: center;
  color: white;
  border-radius: 0 0 40px 40px;
  margin-bottom: 2rem;
}

.partner-cta h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-gold);
}

.partner-cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-partner-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--primary-gold);
  color: #1e1e1e;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(255,215,0,0.3);
}

.btn-partner-cta:hover {
  background: transparent;
  color: var(--primary-gold);
  border: 2px solid var(--primary-gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255,215,0,0.4);
}

.ways {
  color: white;
  margin-bottom: 2rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .partner-hero {
    padding: 3rem 0 2rem;
  }
  .partner-hero h1 {
    font-size: 2rem;
  }
  .partner-hero p {
    font-size: 1rem;
  }

  .partner-feature-list::before {
    left: 25px;
  }
  .feature-item {
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  .feature-content h3 {
    font-size: 1.2rem;
  }
  .feature-content p {
    font-size: 0.9rem;
  }
}

 @media (max-width: 768px) {
  /* ... (other styles remain unchanged) ... */

  .partner-why {
    padding: 2rem 1rem;
  }
  .partner-why h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  /* New mobile layout: 2‑column grid of compact cards */
  .partner-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .partner-benefits li {
    background: #fff;
    border-radius: 16px;
    padding: 0.8rem 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #1e1e1e;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s;
  }

  .partner-benefits li i {
    font-size: 1.2rem;
    color: var(--primary-gold);
    width: 1.8rem;
    text-align: center;
    flex-shrink: 0;
  }

  .partner-benefits li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  /* For very narrow devices, switch to single column */
  @media (max-width: 480px) {
    .partner-benefits {
      grid-template-columns: 1fr;
      gap: 0.6rem;
    }
    .partner-benefits li {
      padding: 0.7rem 1rem;
      font-size: 0.85rem;
    }
  }
}

/* Modal styles */
.partner-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.partner-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.partner-modal-container {
  position: relative;
  background: #fff;
  width: 90%;
  max-width: 550px;
  border-radius: 28px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: modalSlideIn 0.3s ease;
  z-index: 10000;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.partner-modal-header {
  background: #1e1e1e;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--primary-gold, #FFD700);
}

.partner-modal-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-gold, #FFD700);
  margin: 0;
}

.partner-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #ccc;
  transition: color 0.2s;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.partner-modal-close:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.partner-modal-body {
  padding: 1.5rem;
  background: #fff;
  max-height: 60vh;
  overflow-y: auto;
}

.partner-modal-desc {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

.partner-options-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.partner-option-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.partner-option-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary-gold, #FFD700);
}

.partner-option-item label {
  font-size: 1rem;
  font-weight: 500;
  color: #1e1e1e;
  cursor: pointer;
  transition: color 0.2s;
}

.partner-option-item label:hover {
  color: var(--primary-gold, #FFD700);
}

.partner-modal-message {
  margin-top: 0.5rem;
}

.partner-modal-message label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1e1e1e;
  font-size: 0.9rem;
}

.partner-modal-message textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  resize: vertical;
  transition: border 0.2s;
}

.partner-modal-message textarea:focus {
  outline: none;
  border-color: var(--primary-gold, #FFD700);
  box-shadow: 0 0 0 2px rgba(255,215,0,0.2);
}

.partner-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1rem 1.5rem 1.5rem;
  background: #f9f9f9;
  border-top: 1px solid #eee;
}

.btn-modal-cancel,
.btn-modal-confirm {
  padding: 0.7rem 1.5rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-modal-cancel {
  background: #e0e0e0;
  color: #333;
}

.btn-modal-cancel:hover {
  background: #ccc;
}

.btn-modal-confirm {
  background: #25D366; /* WhatsApp green */
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-modal-confirm:hover {
  background: #128C7E;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .partner-modal-container {
    width: 95%;
    max-width: none;
    border-radius: 20px;
  }

  .partner-modal-header h3 {
    font-size: 1.2rem;
  }

  .partner-option-item label {
    font-size: 0.9rem;
  }

  .partner-modal-body {
    padding: 1rem;
  }

  .partner-modal-footer {
    padding: 1rem;
  }
}