/* becomepartner.css */

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

/* Header */
.header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}
.navbar .nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
}
.navbar .nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: #007BFF;
}

/* Page Header */
.page-header {
  background: #007BFF;
  color: #fff;
  padding: 60px 20px 30px;
  text-align: center;
}
.page-header .breadcrumb {
  font-size: 14px;
  margin-bottom: 10px;
}
.page-header .breadcrumb a {
  color: #fff;
  text-decoration: underline;
}
.page-title {
  font-size: 36px;
  margin: 10px 0;
}
.page-subtitle {
  font-size: 18px;
  opacity: 0.9;
}

/* Partner Opportunity */
.partner-opportunity .opportunity-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}
.opportunity-text {
  flex: 1 1 50%;
}
.opportunity-image {
  flex: 1 1 40%;
  text-align: center;
}
.opportunity-highlights {
  margin-top: 30px;
}
.highlight {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}
.highlight i {
  font-size: 24px;
  color: #007BFF;
  margin-right: 15px;
}
.highlight h3 {
  margin: 0;
  font-size: 18px;
}

/* Partner Benefits */
.partner-benefits-section .benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.benefit-item {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}
.benefit-icon i {
  font-size: 30px;
  color: #007BFF;
  margin-bottom: 10px;
}

/* Commission Table */
.commission-structure table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.commission-structure th,
.commission-structure td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}
.commission-structure thead th {
  background-color: #f1f1f1;
  font-weight: 600;
}

/* Partner Requirements */
.partner-requirements .requirements-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
}
.requirements-list h3 {
  margin-bottom: 15px;
}
.requirements-list ul {
  list-style: none;
  padding: 0;
}
.requirements-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.requirements-list i {
  color: #007BFF;
  margin-right: 10px;
}

/* Process Steps */
.partner-process .process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.step {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}
.step-number {
  background: #007BFF;
  color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin: 0 auto 10px;
  font-weight: bold;
}

/* Footer */
.footer {
  background: #222;
  color: #fff;
  padding: 50px 20px 30px;
}
.footer .footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer h3 {
  margin-bottom: 15px;
  font-size: 18px;
}
.footer ul,
.footer .contact-info,
.footer .address-info {
  font-size: 14px;
}
.footer .social-links a {
  color: #fff;
  margin-right: 10px;
  font-size: 18px;
}
.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 15px;
  text-align: center;
  font-size: 14px;
}
.footer-links a {
  color: #ccc;
  margin-left: 15px;
  text-decoration: none;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr); /* CHANGED to 4 */
  }
}

.card {
  perspective: 1000px;
}

.card-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

.card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  padding: 1rem;
  text-align: center;
  border: 1px solid #3169d1; /* Light grey border */
}

/* Front */
.card-front img {
  width: 60%;
  max-height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.card-front h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #002a66;
}

.card-front p {
  font-size: 0.9rem;
  color: #444;
  padding: 0 0.5rem;
}

/* Back */
.card-back {
  background-color: #0052cc;
  transform: rotateY(180deg);
}

.card-back .btn {
  background-color: #ffffff;
  color: #0052cc;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.card-back .btn:hover {
  background-color: #e4e4e4;
}

.card-front-content {
  padding: 1rem;
}

.partners-overview {
  background-color: #f4f8ff;
  padding: 4rem 1rem;
  border-bottom: 1px solid #dce3f1;
}

.partners-overview .container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.overview-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.overview-text {
  flex: 1 1 400px;
}

.overview-text h2 {
  font-size: 2rem;
  color: #002a66;
  margin-bottom: 1rem;
}

.overview-text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.partnership-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat h3 {
  font-size: 2rem;
  color: #0052cc;
  margin-bottom: 0.25rem;
}

.stat p {
  font-size: 0.9rem;
  color: #333;
}

.overview-image {
  flex: 1 1 300px;
  text-align: center;
}

.overview-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.partnership-benefits {
  background-color: #ffffff;
  padding: 4rem 1rem;
}

.partnership-benefits .container {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  color: #002a66;
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-card {
  background-color: #f9fbff;
  border: 1px solid #dde7f3;
  border-radius: 12px;
  padding: 2rem 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
  font-size: 2.2rem;
  color: #0052cc;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1.1rem;
  color: #002a66;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

.partner-cta {
  background: linear-gradient(to right, #0052cc, #0073e6);
  color: #ffffff;
  padding: 4rem 1rem;
  text-align: center;
}

.partner-cta .container {
  max-width: 900px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-primary,
.btn-secondary {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-primary {
  background-color: #ffffff;
  color: #0052cc;
}

.btn-primary:hover {
  background-color: #f1f1f1;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}