/*--------------------------------------------------------------
# Nonprofit Branding Styles
# Purple theme for nonprofit sections
--------------------------------------------------------------*/

:root {
  --nonprofit-purple: #6B46C1;
  --nonprofit-purple-light: #8B5CF6;
  --nonprofit-purple-dark: #553C9A;
  --nonprofit-gradient: linear-gradient(135deg, #6B46C1, #8B5CF6);
  --nonprofit-success: #10B981;
}

/* Nonprofit CTA Buttons */
.nonprofit-cta,
.btn-nonprofit {
  background: var(--nonprofit-gradient) !important;
  color: white !important;
  border: none !important;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s, box-shadow 0.3s;
}

.nonprofit-cta:hover,
.btn-nonprofit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(107, 70, 193, 0.3);
  color: white !important;
}

/* Nonprofit Badge */
.nonprofit-badge {
  background: var(--nonprofit-success);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
}

/* Enterprise Badge */
.enterprise-badge {
  background: var(--accent-color, #3B82F6);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
}

/* Dual Path Cards */
.path-card {
  padding: 2.5rem;
  border-radius: 12px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.enterprise-path {
  background: linear-gradient(135deg, #F9FAFB, #E5E7EB);
  border: 2px solid var(--secondary-blue, #1E3A5F);
}

.nonprofit-path {
  background: linear-gradient(135deg, #F3E8FF, #E9D5FF);
  border: 2px solid var(--nonprofit-purple);
}

.path-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.path-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.path-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.path-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--heading-color, #0A1628);
}

.path-description {
  color: var(--medium-gray, #6B7280);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.path-features {
  list-style: none;
  margin-bottom: 2rem;
  padding: 0;
}

.path-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--secondary-blue, #1E3A5F);
}

.path-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  font-weight: bold;
}

.nonprofit-path .path-features li {
  color: var(--nonprofit-purple);
}

/* Impact Metrics */
.enterprise-metric {
  color: var(--accent-color, #3B82F6);
}

.nonprofit-metric {
  color: var(--nonprofit-purple);
}

/* Impact Section */
.impact-section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--light-gray, #F5F5F5), #FFFFFF);
}

.impact-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.impact-section .section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--heading-color, #0A1628);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.impact-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: center;
}

.impact-number {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.impact-label {
  color: var(--medium-gray, #6B7280);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.impact-context {
  font-size: 0.75rem;
  color: var(--medium-gray, #6B7280);
  opacity: 0.8;
}

/* Case Study Cards */
.enterprise-case .case-header {
  background: linear-gradient(135deg, var(--primary-navy, #0A1628), var(--secondary-blue, #1E3A5F));
}

.nonprofit-case .case-header {
  background: var(--nonprofit-gradient);
}

/* Case Studies Section */
.case-studies {
  padding: 5rem 2rem;
  background: var(--white, #FFFFFF);
}

.case-studies .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.case-studies .section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--heading-color, #0A1628);
}

.case-studies .section-header p {
  color: var(--medium-gray, #6B7280);
  max-width: 600px;
  margin: 0 auto;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.case-card {
  background: var(--white, #FFFFFF);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.case-header {
  padding: 1.5rem;
  color: white;
}

.case-type {
  font-size: 0.75rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.case-title {
  font-size: 1.25rem;
  margin-top: 0.5rem;
}

.case-body {
  padding: 1.5rem;
}

.case-metric {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--light-gray, #F5F5F5);
}

.case-metric:last-child {
  border-bottom: none;
}

.metric-label {
  color: var(--medium-gray, #6B7280);
  font-size: 0.875rem;
}

.metric-value {
  font-weight: 600;
  color: var(--primary-navy, #0A1628);
}

/* Social Impact Banner */
.social-impact-banner {
  background: var(--nonprofit-gradient);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  font-family: var(--default-font, "Inter", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif);
}

.impact-content {
  max-width: 800px;
  margin: 0 auto;
  font-family: var(--default-font, "Inter", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif);
}

.impact-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--white, #FFFFFF);
  font-family: var(--heading-font, "Inter", sans-serif);
}

.impact-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  color: var(--white, #FFFFFF);
  font-family: var(--default-font, "Inter", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif);
}

.impact-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.impact-stat {
  text-align: center;
  font-family: var(--default-font, "Inter", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif);
}

.impact-stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  display: block;
  font-family: var(--heading-font, "Inter", sans-serif);
}

.impact-stat-label {
  font-size: 0.875rem;
  opacity: 0.9;
  font-family: var(--default-font, "Inter", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif);
}

/* Footer Nonprofit Links */
.nonprofit-link {
  color: #C084FC !important;
  font-weight: 500;
}

.nonprofit-link:hover {
  color: #A855F7 !important;
}

/* Hero CTA Container */
.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Hero Button Variants */
.hero-btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.hero-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Dual Path Section */
.dual-path {
  padding: 5rem 2rem;
  background: var(--surface-color, #FFFFFF);
}

.dual-path .section-title p {
  max-width: 700px;
  margin: 0 auto;
}

.dual-path .row {
  margin-top: 3rem;
}

/* CTA Button */
.cta-button {
  background: var(--accent-color, #3B82F6);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(59, 130, 246, 0.3);
  color: white;
}

/* Nonprofit Hero Section */
#nonprofit-hero {
  background: var(--nonprofit-gradient) !important;
  color: var(--white, #FFFFFF) !important;
  padding: 8rem 2rem 4rem !important;
  margin-top: 80px !important;
  position: relative !important;
  overflow: hidden !important;
  min-height: auto !important;
  display: block !important;
}

#nonprofit-hero::before {
  display: none !important;
}

#nonprofit-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--white, #FFFFFF) !important;
  font-family: var(--heading-font, "Inter", sans-serif);
}

#nonprofit-hero .hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  color: var(--white, #FFFFFF) !important;
  font-family: var(--default-font, "Inter", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif);
}

#nonprofit-hero .container {
  position: relative;
  z-index: 1;
}

#nonprofit-hero .row {
  color: var(--white, #FFFFFF);
}

#nonprofit-hero p {
  color: var(--white, #FFFFFF);
}

.nonprofit-hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-outline-white {
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.nonprofit-hero-icon {
  text-align: center;
}

.nonprofit-hero-icon .icon-large {
  font-size: 5rem;
  margin-bottom: 1rem;
}

.nonprofit-hero-icon p {
  font-size: 1.125rem;
  opacity: 0.9;
  color: var(--white, #FFFFFF);
  font-family: var(--default-font, "Inter", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif);
}

/* Why Nonprofits Section */
#why-nonprofits {
  padding: 5rem 2rem;
  background: #F9FAFB;
}

#why-nonprofits .row {
  margin-top: 3rem;
}

.nonprofit-service-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  height: 100%;
}

.nonprofit-service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--nonprofit-purple);
}

/* Nonprofit Services Section */
#nonprofit-services {
  padding: 5rem 2rem;
  background: white;
}

#nonprofit-services .row {
  margin-top: 3rem;
}

/* Nonprofit Pricing Section */
#nonprofit-pricing {
  padding: 5rem 2rem;
  background: #F9FAFB;
}

#nonprofit-pricing .row {
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  height: 100%;
  text-align: center;
}

.pricing-card-featured {
  background: linear-gradient(135deg, #F3E8FF, #E9D5FF);
  border: 2px solid var(--nonprofit-purple);
  box-shadow: 0 4px 20px rgba(107, 70, 193, 0.2);
  position: relative;
}

.pricing-card-featured .nonprofit-badge {
  position: absolute;
  top: -12px;
  right: 20px;
}

.pricing-card h3 {
  color: var(--nonprofit-purple);
  margin-bottom: 1rem;
}

.pricing-card-budget {
  font-size: 0.875rem;
  color: #6B7280;
  margin-bottom: 1.5rem;
}

.pricing-card-features {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-card-features li {
  padding: 0.5rem 0;
}

.pricing-info {
  font-size: 1.125rem;
  color: #6B7280;
  margin-bottom: 1rem;
}

.pricing-section-cta {
  margin-top: 3rem;
}

/* Contact Section on Nonprofit Page */
#contact.nonprofit-contact {
  padding: 5rem 2rem;
}

.nonprofit-contact .section-title p {
  max-width: 600px;
  margin: 1rem auto;
}

.contact-cta-wrapper {
  margin-top: 2rem;
}

.btn-outline-purple {
  background: transparent;
  border: 2px solid var(--nonprofit-purple);
  color: var(--nonprofit-purple);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin-left: 1rem;
  transition: all 0.3s;
}

.btn-outline-purple:hover {
  background: var(--nonprofit-purple);
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .path-card {
    padding: 1.5rem;
  }
  
  .path-title {
    font-size: 1.5rem;
  }
  
  .impact-stats {
    gap: 2rem;
  }
  
  .impact-stat-number {
    font-size: 2rem;
  }
  
  #nonprofit-hero h1 {
    font-size: 2rem;
  }
  
  .nonprofit-hero-cta {
    flex-direction: column;
  }
  
  .btn-outline-purple {
    margin-left: 0;
    margin-top: 1rem;
  }
}

