/*
 * BWS Support Components
 * Reusable component styles for support pages
 * Requires: global-variables.css, base-styles.css
 */

/* ============================================================================
   Support Page Hero Section - MOVED TO common-hero.css
   ============================================================================ */
/* Hero styles moved to common-hero.css for consistency across all pages */

/* ============================================================================
   Benefits Section
   ============================================================================ */
.benefits-section {
    background-color: white;
    padding: 5rem 0;
    width: 100%;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.benefits-title {
    text-align: center;
    color: var(--color-blue-gray);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.benefit-card-title {
    color: var(--color-bright-blue);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--color-dark-gray);
    line-height: 1.6;
}

/* ============================================================================
   Call to Action Section - Updated to match hero styling
   ============================================================================ */
.cta-section {
    background: var(--color-teal-blue) !important; /* Override main.css gradient */
    padding: var(--spacing-xxl) 0 !important;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 2.8rem) !important;
    font-weight: 700;
    color: white !important; /* Override main.css */
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    text-shadow: none !important; /* Remove text shadow from main.css */
}

.cta-description {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    color: white !important;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg) auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

/* Use standard button classes that work with the main.css system */
.cta-section .button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-section .button:hover {
    transform: translateY(-3px);
}

.cta-section .button-primary {
    background-color: var(--color-lime-green);
    color: var(--color-black);
    box-shadow: 0 4px 12px rgba(144, 200, 77, 0.3);
}

.cta-section .button-primary:hover {
    background-color: var(--color-lime-green);
    box-shadow: 0 6px 20px rgba(144, 200, 77, 0.4);
    color: var(--color-black);
}

.cta-section .button-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.cta-section .button-secondary:hover {
    background-color: white;
    color: var(--color-teal-blue);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* ============================================================================
   Info Section
   ============================================================================ */
.info-section {
    padding: 5rem 0;
    background-color: #f8f8f8;
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.info-title {
    text-align: center;
    color: var(--color-blue-gray);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
}

.info-card h3 {
    color: var(--color-bright-blue);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--color-dark-gray);
    line-height: 1.6;
}

/* ============================================================================
   Responsive Design
   ============================================================================ */
@media (max-width: 768px) {
    .support-hero-title {
        font-size: 2.2rem;
    }

    .support-hero-description {
        font-size: 1.1rem;
    }
    
    .benefits-title,
    .cta-title,
    .info-title {
        font-size: 2rem;
    }

    .benefits-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-section .button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .support-hero-title {
        font-size: 1.8rem;
    }
    
    .support-hero-description,
    .cta-description {
        font-size: 1.1rem;
    }

    .cta-section .button {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }

    .cta-section {
        padding: var(--spacing-xl) 0 !important;
    }
}

/* ============================================================================
   Accessibility
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
    .cta-button,
    .benefit-card,
    .info-card {
        transition: none;
    }
}