/* Partner Page Specific Styles */
*{
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

 /* Fixed Header Styles */
  nav.fixed-header {
    position: fixed !important;
    top: 0;
    z-index: 1000;
    display: flex !important; 
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    /* padding: 12px; */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* width: 100%; */
    box-sizing: border-box;
  }
  
  /* Main content wrapper to account for fixed header */
  .main-content {
    margin-top: 80px; /* Adjust this value based on your header height */
  }

  /* For other pages (like resources.html), ensure first content has top margin */
.page-content {
  margin-top: 80px;
  min-height: calc(100vh - 160px); /* Viewport height minus header and footer */
  padding: 40px 20px;
}

/* Specific fix for resources page or similar pages */
.resources-page {
  margin-top: 80px;
  min-height: calc(100vh - 160px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background-color: #f8f9fa;
}

   nav {
    display: flex !important; 
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 12px;
  }

.partner-hero {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 70px;
}

.partner-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.textp, .texto{
  font-size: 3.5rem !important;
  font-weight: 600 !important;
  margin-bottom: 20px !important;
  line-height: 1.2 !important;
  letter-spacing: 2px !important;
}

.hero-content .orange {
  color: #fa8e36 !important;
}

.hero-content p, .para{
  font-size: 1.2rem !important;
  line-height: 1.6 !important;
  opacity: 0.9 !important;
  max-width: 600px !important;
  margin: 0 auto !important;
}

/* Partner Form Section */
.partner-form-section {
  padding: 80px 0;
  background-color: #f8fafc;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1e293b;
  margin-bottom: 15px;
}

.form-header p {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Form Styles */
.partner-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.form-group select {
  cursor: pointer;
}

.error-message {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 5px;
  min-height: 20px;
}

/* Submit Button */
.submit-btn {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-loading {
  display: none;
}

/* Form Message */
.form-message {
  padding: 15px;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
}

.form-message.success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-message.error {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* Benefits Section */
.benefits-section {
  padding: 80px 0;
  background-color: white;
}

.benefits-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: #1e293b;
  margin-bottom: 50px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.benefit-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.benefit-card:nth-child(1) .benefit-icon {
  background-color: #dbeafe;
  color: #2563eb;
}

.benefit-card:nth-child(2) .benefit-icon {
  background-color: #fed7aa;
  color: #ea580c;
}

.benefit-card:nth-child(3) .benefit-icon {
  background-color: #dcfce7;
  color: #16a34a;
}

.benefit-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 15px;
}

.benefit-card p {
  color: #64748b;
  line-height: 1.6;
  font-size: 1rem;
}

/* Navigation Active State */
.nav-links a.active {
  color: #ea580c;
  font-weight: 600;
}

.mobile-menu a.active {
  color: #ea580c;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .partner-form-section {
    padding: 60px 0;
  }

  .form-container {
    padding: 30px 20px;
    margin: 0 10px;
  }

  .form-header h2 {
    font-size: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .benefits-section {
    padding: 60px 0;
  }

  .benefits-section h2 {
    font-size: 2rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .partner-hero {
    padding: 80px 0 60px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .form-container {
    padding: 25px 15px;
  }

  .form-header h2 {
    font-size: 1.75rem;
  }

  .benefit-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}
