/* ======= Nonprofit Solutions Page Styles with BEM Naming ======= */

/* === Core Variables === */
:root {
    --primary-color: #6446c1;
    --primary-dark: #4930a7;
    --primary-light: #8a6be0;
    --primary-lighter: #e9d8fd;
    --primary-lightest: #f7f3ff;

    --secondary-color: #3a86c5;
    --secondary-dark: #2a6ea8;
    --secondary-light: #62a0d5;

    --accent-color: #13c8aa;
    --accent-dark: #0ea38a;
    --accent-light: #58e2ca;

    --text-dark: #1a2a4a;
    --text-medium: #435277;
    --text-light: #697896;
    --text-white: #ffffff;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 24px rgba(100, 70, 193, 0.15);
    --shadow-xl: 0 20px 32px rgba(100, 70, 193, 0.18);

    --border-radius-sm: 0.25rem;
    --border-radius: 0.5rem;
    --border-radius-md: 0.75rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --border-radius-2xl: 2rem;
    --border-radius-full: 9999px;

    --transition-fast: 0.2s ease;
    --transition-standard: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* === Base Styles === */
.nonprofit {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-medium);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.nonprofit h1,
.nonprofit h2,
.nonprofit h3,
.nonprofit h4,
.nonprofit h5,
.nonprofit h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
    color: var(--text-dark);
}

.nonprofit p {
    margin-top: 0;
    margin-bottom: 1.25rem;
}

.nonprofit a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.nonprofit a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.nonprofit__img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
}

/* === Button Styles === */
.nonprofit__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius);
    transition: all var(--transition-standard);
    cursor: pointer;
    border: 2px solid transparent;
    padding: 0.625rem 1.25rem;
    font-size: 0.975rem;
    line-height: 1.25rem;
    text-decoration: none;
}

.nonprofit__btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nonprofit__btn:active {
    transform: translateY(0);
}

.nonprofit__btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(100, 70, 193, 0.3);
}

.nonprofit__btn--primary {
    background-color: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.nonprofit__btn--primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--text-white);
}

.nonprofit__btn--light {
    color: white !important;
}

.nonprofit__btn--outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.nonprofit__btn--outline:hover {
    background-color: var(--primary-lightest);
    color: var(--primary-dark);
    border-color: var(--primary-color);
}

.nonprofit__btn--block {
    display: block;
    width: 100%;
}

.nonprofit__btn--lg {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
}

.nonprofit__btn i {
    margin-right: 0.5rem;
}

/* === Hero Section === */
.nonprofit__hero {
    background: linear-gradient(135deg, var(--primary-lightest) 0%, var(--primary-lighter) 100%);
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.nonprofit__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236446c1' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.nonprofit__hero-content {
    max-width: 760px;
    position: relative;
    z-index: 1;
}

.nonprofit__hero-title {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    color: var(--primary-dark);
    position: relative;
}

.nonprofit__hero-title::after {
    content: '';
    position: absolute;
    bottom: -0.6rem;
    left: 0;
    width: 90px;
    height: 5px;
    background: var(--primary-color);
    border-radius: var(--border-radius-full);
}

.nonprofit__hero-subtitle {
    font-size: 1.375rem;
    margin-bottom: 2.0rem;
    color: var(--text-medium);
    font-weight: 500;
}

.nonprofit__hero-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1.25rem 1.75rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 2.0rem;
    box-shadow: var(--shadow-lg);
}

.nonprofit__hero-badge-icon {
    font-size: 2.25rem;
    margin-right: 1.25rem;
}

.nonprofit__hero-badge p {
    margin: 0;
    font-weight: 600;
    font-size: 1.125rem;
}

.nonprofit__hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.nonprofit__hero-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.nonprofit__hero-note {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(100, 70, 193, 0.15);
    border-radius: var(--border-radius);
    padding: 0.75rem 0.9rem;
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    color: var(--text-medium);
}

.nonprofit__hero-note i {
    color: var(--primary-color);
}

/* === Content Layout === */
.nonprofit__content {
    padding: 4rem 0;
    background-color: var(--gray-50);
}

.nonprofit__grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2.5rem;
}

/* === Sidebar Navigation === */
.nonprofit__sidebar {
    position: relative;
}

.nonprofit__nav-wrapper {
    position: sticky;
    top: 2rem;
}

.nonprofit__nav {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.nonprofit__nav-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-color);
    color: white;
    padding: 1.25rem;
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.nonprofit__nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem;
    transition: transform var(--transition-standard);
}

.nonprofit__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nonprofit__nav-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    color: var(--text-medium);
    border-left: 4px solid transparent;
    transition: all var(--transition-standard);
    font-weight: 500;
}

.nonprofit__nav-link i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
    color: var(--text-light);
    transition: color var(--transition-standard);
    width: 24px;
    text-align: center;
}

.nonprofit__nav-link:hover {
    background-color: var(--primary-lightest);
    color: var(--primary-color);
}

.nonprofit__nav-link:hover i {
    color: var(--primary-color);
}

.nonprofit__nav-link.active {
    border-left-color: var(--primary-color);
    background-color: var(--primary-lightest);
    color: var(--primary-color);
    font-weight: 600;
}

.nonprofit__nav-link.active i {
    color: var(--primary-color);
}

.nonprofit__nav-cta {
    padding: 1.75rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
    text-align: center;
}

.nonprofit__nav-cta p {
    margin-bottom: 1.25rem;
    font-weight: 500;
    font-size: 1.125rem;
}

.nonprofit__nav-cta .nonprofit__btn {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
}

.nonprofit__nav-cta .nonprofit__btn:hover {
    background-color: var(--primary-lightest);
    color: var(--primary-dark);
    border-color: var(--primary-lightest);
}

/* === Main Content === */
.nonprofit__main {
    min-width: 0;
}

.nonprofit__section {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
}

.nonprofit__section-header {
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--gray-200);
}

.nonprofit__section-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 70px;
    height: 4px;
    background: var(--primary-color);
    border-radius: var(--border-radius-full);
}

.nonprofit__section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.nonprofit__section-lead {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 0;
    font-weight: 500;
}

/* === Feature Grid === */
.nonprofit__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.nonprofit__feature {
    background: white;
    border-radius: var(--border-radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-standard);
    border: 1px solid var(--gray-200);
    text-align: center;
}

.nonprofit__feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-lighter);
}

.nonprofit__feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--primary-lightest);
    color: var(--primary-color);
    border-radius: var(--border-radius-full);
    margin-bottom: 1.25rem;
    transition: all var(--transition-standard);
}

.nonprofit__feature:hover .nonprofit__feature-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.nonprofit__feature-icon i {
    font-size: 1.75rem;
}

.nonprofit__feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.nonprofit__feature-text {
    margin-bottom: 0;
    color: var(--text-medium);
}

/* === Services Grid === */
.nonprofit__services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.nonprofit__service {
    background: white;
    border-radius: var(--border-radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-standard);
    border: 1px solid var(--gray-200);
    height: 100%;
}

.nonprofit__service:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-top: 3px solid var(--primary-color);
}

.nonprofit__service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-lightest);
    color: var(--primary-color);
    border-radius: var(--border-radius-full);
    margin-bottom: 1.25rem;
    transition: all var(--transition-standard);
}

.nonprofit__service:hover .nonprofit__service-icon {
    background: var(--primary-color);
    color: white;
    transform: rotate(10deg) scale(1.1);
}

.nonprofit__service-icon i {
    font-size: 1.5rem;
}

.nonprofit__service-title {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.nonprofit__service-text {
    color: var(--text-medium);
    margin-bottom: 0;
}

/* === Highlight Box === */
.nonprofit__highlight {
    background: linear-gradient(135deg, var(--primary-lightest) 0%, white 100%);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary-color);
}

.nonprofit__highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-full);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(100, 70, 193, 0.3);
}

.nonprofit__highlight-icon i {
    font-size: 2rem;
}

.nonprofit__highlight-content {
    flex: 1;
}

.nonprofit__highlight-title {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.nonprofit__highlight-text {
    margin-bottom: 0;
    font-size: 1.125rem;
}

/* === Benefits Grid === */
.nonprofit__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.nonprofit__benefit {
    background: white;
    border-radius: var(--border-radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-standard);
    border: 1px solid var(--gray-200);
    height: 100%;
}

.nonprofit__benefit:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-top: 3px solid var(--primary-color);
}

.nonprofit__benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-lightest);
    color: var(--primary-color);
    border-radius: var(--border-radius-full);
    margin-bottom: 1.25rem;
    transition: all var(--transition-standard);
}

.nonprofit__benefit:hover .nonprofit__benefit-icon {
    background: var(--primary-color);
    color: white;
    transform: rotate(10deg) scale(1.1);
}

.nonprofit__benefit-icon i {
    font-size: 1.5rem;
}

.nonprofit__benefit-title {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.nonprofit__benefit-text {
    color: var(--text-medium);
    margin-bottom: 0;
}

/* === Impact List === */
.nonprofit__impact-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

.nonprofit__impact-item {
    background: white;
    border-radius: var(--border-radius-md);
    padding: 1.75rem;
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-standard);
    border: 1px solid var(--gray-200);
}

.nonprofit__impact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
}

.nonprofit__impact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-lightest);
    color: var(--primary-color);
    border-radius: var(--border-radius-full);
    flex-shrink: 0;
    transition: all var(--transition-standard);
}

.nonprofit__impact-item:hover .nonprofit__impact-icon {
    background: var(--primary-color);
    color: white;
    transform: rotate(10deg);
}

.nonprofit__impact-icon i {
    font-size: 1.5rem;
}

.nonprofit__impact-content {
    flex: 1;
}

.nonprofit__impact-title {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.375rem;
}

.nonprofit__impact-text {
    margin-bottom: 0;
    color: var(--text-medium);
}

/* === Contact Section === */
.nonprofit__contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.nonprofit__features-list {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0;
}

.nonprofit__features-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    font-size: 1.125rem;
}

.nonprofit__features-item i {
    color: var(--success);
    margin-right: 0.875rem;
    margin-top: 0.25rem;
    font-size: 1rem;
}

.nonprofit__contact-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.nonprofit__contact-image {
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    position: relative;
}

.nonprofit__contact-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(100, 70, 193, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

/* === CTA Banner === */
.nonprofit__cta-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: var(--border-radius-md);
    padding: 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.nonprofit__cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.nonprofit__cta-content {
    position: relative;
    z-index: 1;
}

.nonprofit__cta-title {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    color: white !important;
}

.nonprofit__cta-text {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* === NEW: Supporting Components === */
.nonprofit__muted {
    opacity: 0.8;
    font-size: 0.95rem;
}

.nonprofit__callout {
    margin-top: 2rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(19, 200, 170, 0.10) 0%, rgba(100, 70, 193, 0.08) 100%);
    border: 1px solid rgba(100, 70, 193, 0.18);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.nonprofit__callout-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-full);
    background: var(--primary-color);
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(100, 70, 193, 0.25);
}

.nonprofit__callout-icon i {
    font-size: 1.25rem;
}

.nonprofit__callout-title {
    margin-bottom: 0.35rem;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.nonprofit__callout-text {
    margin: 0;
}

.nonprofit__support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.nonprofit__support-card {
    border: 1px solid var(--gray-200);
    background: white;
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-standard);
}

.nonprofit__support-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(100, 70, 193, 0.25);
}

.nonprofit__support-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-full);
    background: var(--primary-lightest);
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all var(--transition-standard);
}

.nonprofit__support-card:hover .nonprofit__support-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.nonprofit__support-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.nonprofit__support-text {
    margin: 0;
    color: var(--text-medium);
}

.nonprofit__steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.nonprofit__step {
    display: flex;
    gap: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    background: white;
    transition: all var(--transition-standard);
}

.nonprofit__step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(100, 70, 193, 0.25);
}

.nonprofit__step-number {
    width: 46px;
    height: 46px;
    border-radius: var(--border-radius-full);
    background: var(--primary-color);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(100, 70, 193, 0.25);
}

.nonprofit__step-title {
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.nonprofit__step-text {
    margin: 0;
    color: var(--text-medium);
}

.nonprofit__cta-strip {
    margin-top: 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    background: linear-gradient(135deg, var(--primary-lightest) 0%, white 100%);
    border: 1px solid rgba(100, 70, 193, 0.18);
    box-shadow: var(--shadow-sm);
}

.nonprofit__cta-strip-text {
    color: var(--text-dark);
    font-size: 1.05rem;
    margin: 0;
}

.nonprofit__cta-strip-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nonprofit__faq {
    display: grid;
    gap: 0.75rem;
}

.nonprofit__faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-md);
    padding: 0.85rem 1rem;
    box-shadow: var(--shadow-sm);
    background: white;
    transition: all var(--transition-standard);
}

.nonprofit__faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(100, 70, 193, 0.25);
}

.nonprofit__faq-question {
    cursor: pointer;
    font-weight: 700;
    color: var(--text-dark);
    list-style: none;
    position: relative;
    padding-right: 1.75rem;
}

.nonprofit__faq-question::-webkit-details-marker {
    display: none;
}

.nonprofit__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: 900;
    font-size: 1.25rem;
    line-height: 1;
    transition: transform var(--transition-standard);
}

.nonprofit__faq-item[open] .nonprofit__faq-question::after {
    content: '–';
}

.nonprofit__faq-answer {
    margin-top: 0.75rem;
    color: var(--text-medium);
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

.fadeInUp {
    animation-name: fadeInUp;
}

.fadeIn {
    animation-name: fadeIn;
}

/* === Responsive Styles === */
@media (max-width: 1199px) {
    .nonprofit__hero-title {
        font-size: 2.5rem;
    }

    .nonprofit__grid {
        grid-template-columns: 260px 1fr;
        gap: 2rem;
    }
}

@media (max-width: 991px) {
    .nonprofit__grid {
        grid-template-columns: 1fr;
    }

    .nonprofit__sidebar {
        margin-bottom: 2rem;
    }

    .nonprofit__nav-wrapper {
        position: static;
    }

    .nonprofit__nav-toggle {
        display: block;
    }

    .nonprofit__nav-list {
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-standard);
    }

    .nonprofit__nav.expanded .nonprofit__nav-list {
        max-height: 700px;
    }

    .nonprofit__nav.expanded .nonprofit__nav-toggle i {
        transform: rotate(180deg);
    }

    .nonprofit__contact {
        grid-template-columns: 1fr;
    }

    .nonprofit__contact-image {
        order: -1;
    }

    .nonprofit__hero-title {
        font-size: 2.25rem;
    }

    .nonprofit__cta-strip {
        flex-direction: column;
        align-items: stretch;
    }

    .nonprofit__cta-strip-actions {
        justify-content: flex-start;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .nonprofit__hero {
        padding: 3rem 0;
    }

    .nonprofit__hero-title {
        font-size: 2rem;
    }

    .nonprofit__hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }

    .nonprofit__hero-badge {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .nonprofit__hero-badge-icon {
        margin: 0 0 0.75rem 0;
    }

    .nonprofit__hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .nonprofit__btn {
        width: 100%;
    }

    .nonprofit__highlight {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .nonprofit__highlight-icon {
        margin-bottom: 1rem;
    }

    .nonprofit__impact-item {
        flex-direction: column;
        text-align: center;
    }

    .nonprofit__impact-icon {
        margin: 0 auto 1.25rem;
    }

    .nonprofit__contact-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .nonprofit__cta-banner {
        padding: 2.5rem 1.5rem;
    }

    .nonprofit__cta-title {
        font-size: 1.75rem;
    }

    .nonprofit__section {
        padding: 1.75rem;
    }

    .nonprofit__feature-grid,
    .nonprofit__services-grid,
    .nonprofit__benefits-grid {
        grid-template-columns: 1fr;
    }

    .nonprofit__section-title {
        font-size: 1.75rem;
    }

    .nonprofit__section-lead {
        font-size: 1.125rem;
    }

    .nonprofit__callout {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575px) {
    .nonprofit__hero-title {
        font-size: 1.75rem;
    }

    .nonprofit__hero-badge p {
        font-size: 1rem;
    }

    .nonprofit__cta-text {
        font-size: 1.125rem;
    }

    .nonprofit__features-item {
        font-size: 1rem;
    }
}