/* ==========================================================================
   DEVANJUKA FOODS & BEVERAGES PVT LTD
   Modular Stylesheet: B2B Business Partnership & Dealership Page (Partner With Us)
   Palette: Forest Green (#045415), Lime Accent (#8DB610), Crisp White (#FFFFFF)
   ========================================================================== */

:root {
  --b2b-forest: #045415;
  --b2b-forest-dark: #023a0d;
  --b2b-forest-light: #076b1c;
  --b2b-lime: #8DB610;
  --b2b-lime-light: #9fd213;
  --b2b-lime-soft: rgba(141, 182, 16, 0.12);
  --b2b-citrus: #F28F00;
  --b2b-cream: #FCFAF6;
  --b2b-surface-card: #FFFFFF;
  --b2b-text-dark: #1A2218;
  --b2b-text-muted: #526050;
  --b2b-border: #E3EADF;
  --b2b-border-focus: #045415;
  --b2b-shadow-sm: 0 2px 8px rgba(4, 84, 21, 0.05);
  --b2b-shadow-md: 0 10px 25px -5px rgba(4, 84, 21, 0.08), 0 8px 10px -6px rgba(4, 84, 21, 0.04);
  --b2b-shadow-lg: 0 20px 35px -10px rgba(4, 84, 21, 0.14);
}

/* ==========================================================================
   B2B Hero & Header Elements
   ========================================================================== */
.b2b-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background-color: rgba(4, 84, 21, 0.08);
  border: 1px solid rgba(4, 84, 21, 0.18);
  color: var(--b2b-forest);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.b2b-section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--b2b-lime);
  margin-bottom: 0.35rem;
}

.b2b-gradient-title {
  background: linear-gradient(135deg, #045415 0%, #086d1e 50%, #8DB610 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   Dealer Value Proposition Cards
   ========================================================================== */
.b2b-benefit-card {
  background: #FFFFFF;
  border: 1px solid var(--b2b-border);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--b2b-shadow-sm);
}

.b2b-benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0%;
  background: linear-gradient(to bottom, var(--b2b-forest), var(--b2b-lime));
  transition: height 0.3s ease;
}

.b2b-benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(141, 182, 16, 0.5);
  box-shadow: var(--b2b-shadow-md);
}

.b2b-benefit-card:hover::before {
  height: 100%;
}

.b2b-icon-wrapper {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.875rem;
  background: rgba(4, 84, 21, 0.08);
  color: var(--b2b-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.b2b-benefit-card:hover .b2b-icon-wrapper {
  background: var(--b2b-forest);
  color: #FFFFFF;
}

/* ==========================================================================
   Partnership Tiers & Distribution Channels
   ========================================================================== */
.b2b-tier-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  border-radius: 1rem;
  background: #FFFFFF;
  border: 1px solid var(--b2b-border);
  transition: all 0.25s ease;
}

.b2b-tier-pill:hover {
  border-color: var(--b2b-forest);
  background: rgba(4, 84, 21, 0.03);
}

.b2b-tier-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  background: rgba(141, 182, 16, 0.15);
  color: var(--b2b-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* ==========================================================================
   B2B Partnership Form Modular Styling
   ========================================================================== */
.b2b-form-card {
  background: #FFFFFF;
  border: 1px solid var(--b2b-border);
  border-radius: 1.75rem;
  padding: 2.5rem;
  box-shadow: var(--b2b-shadow-lg);
  position: relative;
}

@media (max-width: 640px) {
  .b2b-form-card {
    padding: 1.5rem;
    border-radius: 1.25rem;
  }
}

.b2b-form-group {
  margin-bottom: 1.25rem;
}

.b2b-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #2D3748;
  margin-bottom: 0.45rem;
}

.b2b-label-required {
  color: #D40A03;
  margin-left: 0.2rem;
}

.b2b-label-optional {
  color: #718096;
  font-weight: 500;
  text-transform: lowercase;
  font-size: 0.7rem;
  margin-left: 0.35rem;
}

.b2b-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.b2b-input-icon {
  position: absolute;
  left: 1rem;
  color: #718096;
  font-size: 0.95rem;
  pointer-events: none;
  transition: color 0.2s ease;
}

.b2b-input,
.b2b-select,
.b2b-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  padding-left: 2.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1A202C;
  background-color: #FBFDFB;
  border: 1.5px solid #D8E2D5;
  border-radius: 0.875rem;
  outline: none;
  transition: all 0.25s ease;
  font-family: inherit;
}

.b2b-input:focus,
.b2b-select:focus,
.b2b-textarea:focus {
  background-color: #FFFFFF;
  border-color: var(--b2b-forest);
  box-shadow: 0 0 0 3.5px rgba(4, 84, 21, 0.12);
}

.b2b-input:focus + .b2b-input-icon,
.b2b-input-container:focus-within .b2b-input-icon {
  color: var(--b2b-forest);
}

.b2b-input::placeholder,
.b2b-textarea::placeholder {
  color: #A0AEC0;
  font-weight: 400;
}

.b2b-textarea {
  padding-left: 1rem;
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.b2b-help-text {
  display: block;
  font-size: 0.7rem;
  color: #718096;
  margin-top: 0.35rem;
  line-height: 1.4;
}

/* Primary CTA Button */
.b2b-submit-btn {
  width: 100%;
  padding: 1.15rem 2rem;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, var(--b2b-forest) 0%, var(--b2b-forest-dark) 100%);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 10px 20px -3px rgba(4, 84, 21, 0.35);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.b2b-submit-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 70%
  );
  transform: rotate(30deg) translateX(-100%);
  transition: transform 0.6s ease;
}

.b2b-submit-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--b2b-forest-light) 0%, var(--b2b-forest) 100%);
  box-shadow: 0 14px 25px -4px rgba(4, 84, 21, 0.45);
}

.b2b-submit-btn:hover::after {
  transform: rotate(30deg) translateX(100%);
}

.b2b-submit-btn:active {
  transform: translateY(0);
}

/* ==========================================================================
   Corporate Contact Info Side Panel
   ========================================================================== */
.b2b-info-card {
  background: #FFFFFF;
  border: 1px solid var(--b2b-border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--b2b-shadow-sm);
}

.b2b-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #EDF2EC;
}

.b2b-info-item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.b2b-info-icon-badge {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: rgba(4, 84, 21, 0.08);
  color: var(--b2b-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.b2b-info-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #718096;
  margin-bottom: 0.2rem;
}

.b2b-info-val {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1A2218;
  line-height: 1.4;
}

/* Trust Banner in Side Panel */
.b2b-trust-callout {
  background: linear-gradient(135deg, var(--b2b-forest) 0%, var(--b2b-forest-dark) 100%);
  border-radius: 1.25rem;
  padding: 1.75rem;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.b2b-trust-callout::after {
  content: '';
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 120px;
  height: 120px;
  background: rgba(141, 182, 16, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

/* Modal Feedback */
.b2b-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.b2b-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.b2b-modal-content {
  background: #FFFFFF;
  border-radius: 1.5rem;
  max-width: 500px;
  width: 100%;
  padding: 2.25rem;
  text-align: center;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--b2b-border);
}

.b2b-modal-backdrop.active .b2b-modal-content {
  transform: scale(1);
}
