/*
* QuickCap Ltd - Brokers Page Stylesheet
* Complementary styles for the brokers/partner program page
*/

/* Hero Section */
.hero-gradient {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary),
    var(--secondary)
  );
  padding: 6rem 0;
  overflow: hidden;
  border-radius: 0 0 0 100px;
}

.hero-gradient:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.7;
}

.animate-fade-in {
  animation: fadeIn 1s ease-out;
}

.animate-pulse-soft {
  animation: pulse 4s infinite;
}

.animated-gradient-btn {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  background-size: 200% auto;
  animation: gradient-shift 3s ease infinite;
  border: none;
}

/* Styling for the benefits section - Modified to use 4 columns for broker page */
.benefits-section {
  padding: 5rem 0;
  background-color: var(--light);
}

.benefit-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  height: 100%;
  transition: all var(--transition-speed);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin: 1.5rem 0 1rem;
  font-weight: 600;
}

.benefit-card p {
  color: var(--gray);
  margin-bottom: 0;
}

/* Partnership Steps Section */
.how-it-works-section {
  background: linear-gradient(rgba(37, 99, 235, 0.05), rgba(37, 99, 235, 0.02));
  padding: 5rem 0;
  position: relative;
}

/* Four-step process specific to broker page */
.step-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  height: 100%;
  transition: all var(--transition-speed);
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Register Form Section */
.register-section {
  padding: 5rem 0;
  background-color: var(--gray-light);
}

.register-card {
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  background-color: white;
  box-shadow: var(--shadow-lg);
}

.partner-form .form-label {
  font-weight: 500;
  color: var(--gray-dark);
}

.partner-form .form-control {
  padding: 0.75rem;
  border-radius: var(--border-radius);
  border: 1px solid #e2e8f0;
  transition: all var(--transition-speed);
}

.partner-form .form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.alternative-contact {
  color: var(--gray);
  font-size: 0.95rem;
}

.alternative-contact a {
  color: var(--primary);
  font-weight: 500;
}

/* Empty Testimonials Placeholder */
.placeholder-testimonials {
  background-color: rgba(37, 99, 235, 0.05);
  padding: 4rem 2rem;
  border-radius: var(--border-radius);
  border: 1px dashed rgba(37, 99, 235, 0.2);
}

.placeholder-testimonials i {
  font-size: 3rem;
  color: var(--primary-light);
  margin-bottom: 1rem;
  opacity: 0.7;
}

.placeholder-testimonials p {
  color: var(--gray-dark);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.placeholder-testimonials .small {
  color: var(--gray);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .hero-gradient {
    border-radius: 0;
    padding: 5rem 0;
  }

  .register-card {
    padding: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero-gradient {
    padding: 4rem 0;
  }

  .benefit-card,
  .step-card {
    margin-bottom: 1.5rem;
  }

  .register-card {
    padding: 1.5rem;
  }
}
