/* Bloom Services Page Final CSS */
/* For WP Coder: Paste this in the CSS section */

/* Variables */
:root {
    --primary-green: #299b8e;
    --primary-green-dark: #237a70;
    --primary-green-light: #3fb5a8;
    --secondary-yellow: #f7b801;
    --text-dark: #293340;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f9fafb;
    --bg-lighter: #ffffff;
    --border-light: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* Base */
.bloom-services-page-v2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.services-container-v2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-narrow-v2 {
    max-width: 900px;
    margin: 0 auto;
}

/* Hero */
.services-hero-v2 {
    padding: 6rem 0 5rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
    position: relative;
}

.services-hero-v2::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-green) 0%, transparent 70%);
    opacity: 0.05;
    border-radius: 50%;
}

.hero-content-v2 {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content-v2 h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight-v2 {
    color: var(--primary-green);
}

.hero-subtitle-v2 {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.hero-stats-v2 {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
}

.stat-item-v2 {
    text-align: center;
}

.stat-number-v2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label-v2 {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
}

/* Sticky Navigation */
.services-nav-v2 {
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 2px solid var(--border-light);
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav-wrapper-v2 {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
    overflow-x: auto;
}

.nav-label-v2 {
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links-v2 {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-link-v2 {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-link-v2:hover {
    color: var(--primary-green);
    background: rgba(41, 155, 142, 0.1);
}

.nav-link-v2.active {
    color: var(--primary-green);
    background: rgba(41, 155, 142, 0.1);
}

/* What Bloom Is */
.what-bloom-v2 {
    padding: 5rem 0;
    background: white;
}

.what-bloom-v2 h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.intro-text-v2 {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-gray);
    text-align: center;
    margin: 0;
}

/* Research Section - Image Above Text */
.research-section-v2 {
    padding: 5rem 0;
    background: var(--bg-light);
}

.research-image-top-v2 {
    margin-bottom: 3rem;
}

.research-image-top-v2 img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: 1rem;
}

.image-caption-v2 {
    font-size: 0.875rem;
    color: var(--text-gray);
    font-style: italic;
    text-align: center;
    margin: 0;
}

.research-text-v2 {
    max-width: 1000px;
    margin: 0 auto;
}

.research-text-v2 h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.research-intro-v2 {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.research-intro-v2 strong {
    color: var(--text-dark);
    font-weight: 600;
}

.research-stats-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.research-stat-v2 {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-light);
}

.stat-num-v2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.research-stat-v2 .stat-label-v2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.research-stat-v2 p {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
}

.research-callout-v2 {
    background: rgba(41, 155, 142, 0.05);
    border-left: 4px solid var(--primary-green);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    margin-top: 2rem;
}

.research-callout-v2 strong {
    color: var(--primary-green);
}

/* Service Sections - Full Layout */
.service-full-v2 {
    padding: 5rem 0;
    background: white;
}

.service-alt-v2 {
    background: var(--bg-light);
}

.service-layout-v2 {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 4rem;
    align-items: start;
}

.service-main-v2 {
    max-width: 800px;
}

.service-badge-v2 {
    display: inline-block;
    background: var(--secondary-yellow);
    color: var(--text-dark);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.service-main-v2 h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.service-lead-v2 {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}

.service-main-v2 h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--text-dark);
}

/* Lists with arrows only (no bullets) */
.for-list-v2,
.deliverables-v2 {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0;
    margin: 1rem 0 2rem;
}

.for-list-v2 li,
.deliverables-v2 li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-gray);
    border-bottom: 1px solid var(--border-light);
    list-style: none !important;
    list-style-type: none !important;
}

.for-list-v2 li:last-child,
.deliverables-v2 li:last-child {
    border-bottom: none;
}

.for-list-v2 li::before,
.deliverables-v2 li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.programs-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.program-card-v2 {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-light);
}

.service-alt-v2 .program-card-v2 {
    background: white;
}

.program-card-v2 h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.program-card-v2 p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

.evidence-box-v2 {
    background: rgba(41, 155, 142, 0.05);
    border-left: 4px solid var(--primary-green);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    margin-top: 3rem;
}

.evidence-box-v2 h4 {
    color: var(--primary-green);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.evidence-box-v2 p {
    color: var(--text-gray);
    margin: 0;
    line-height: 1.7;
}

/* Platform link styling */
.platform-link-v2 {
    color: var(--primary-green);
    text-decoration: underline;
    font-weight: 500;
}

.platform-link-v2:hover {
    color: var(--primary-green-dark);
}

/* Sidebar */
.service-sidebar-v2 {
    position: sticky;
    top: 120px;
}

.sidebar-cta-v2,
.sidebar-info-v2 {
    background: white;
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-light);
    margin-bottom: 1.5rem;
}

/* Always green background for CTA boxes */
.sidebar-cta-v2 {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark)) !important;
    color: white !important;
    border: none !important;
}

.sidebar-cta-v2 h4,
.sidebar-info-v2 h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.sidebar-cta-v2 h4 {
    color: white !important;
}

.sidebar-cta-v2 p {
    color: rgba(255,255,255,0.9) !important;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.sidebar-info-v2 p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.btn-sidebar-v2 {
    display: block;
    width: 100%;
    background: white;
    color: var(--primary-green);
    padding: 0.875rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.btn-sidebar-v2:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.platform-explore-link-v2 {
    display: block;
    width: 100%;
    text-align: center;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.75rem;
    margin-top: 0.75rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.platform-explore-link-v2:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

/* FAQ */
.faq-section-v2 {
    padding: 5rem 0;
    background: white;
}

.faq-section-v2 h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    text-align: center;
    margin-bottom: 3rem;
}

.faq-list-v2 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item-v2 {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-light);
    overflow: hidden;
}

.faq-q-v2 {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-q-v2:hover {
    background: rgba(41, 155, 142, 0.05);
}

.faq-q-v2 h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.faq-toggle-v2 {
    font-size: 1.75rem;
    color: var(--primary-green);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item-v2.active .faq-toggle-v2 {
    transform: rotate(45deg);
}

.faq-a-v2 {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item-v2.active .faq-a-v2 {
    max-height: 600px;
    padding: 0 2rem 1.5rem;
}

.faq-a-v2 p {
    margin: 0;
    color: var(--text-gray);
    line-height: 1.7;
}

.email-link-v2 {
    color: var(--primary-green);
    text-decoration: underline;
    font-weight: 500;
}

.email-link-v2:hover {
    color: var(--primary-green-dark);
}

/* CTA Section */
.cta-section-v2 {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    text-align: center;
}

.cta-content-v2 {
    max-width: 700px;
    margin: 0 auto;
}

.cta-section-v2 h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.cta-section-v2 p {
    color: rgba(255,255,255,0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-buttons-v2 {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-v2 {
    background: white;
    color: var(--primary-green);
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary-v2:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary-v2 {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid white;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary-v2:hover {
    background: white;
    color: var(--primary-green);
}

.cta-contact-v2 {
    margin-top: 1.5rem;
}

.btn-contact-v2 {
    display: inline-block;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.btn-contact-v2:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

/* Modal */
.consultation-modal-v2 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    overflow-y: auto;
    padding: 2rem 1rem;
}

.consultation-modal-v2.active {
    display: block;
}

.modal-content-v2 {
    background: white;
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.modal-header-v2 {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: flex-end;
}

.modal-close-v2 {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-gray);
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-close-v2:hover {
    color: var(--text-dark);
    background: var(--bg-light);
    border-radius: 50%;
}

.modal-body-v2 {
    padding: 0;
}

.modal-body-v2 iframe {
    border: none;
    width: 100%;
    height: 700px;
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .research-stats-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-layout-v2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .service-sidebar-v2 {
        position: static;
    }
    
    .programs-grid-v2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .services-container-v2 {
        padding: 0 1.25rem;
    }
    
    .services-hero-v2,
    .what-bloom-v2,
    .research-section-v2,
    .service-full-v2,
    .faq-section-v2,
    .cta-section-v2 {
        padding: 3rem 0;
    }
    
    .hero-stats-v2 {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-wrapper-v2 {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .research-stats-v2 {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons-v2 {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-primary-v2,
    .btn-secondary-v2 {
        width: 100%;
    }
    
    .consultation-modal-v2 {
        padding: 0;
    }
    
    .modal-content-v2 {
        height: 100vh;
        border-radius: 0;
    }
    
    .modal-body-v2 iframe {
        height: calc(100vh - 60px);
    }
}