/* ==========================================================================
   Community Support Page Styles - 5280 Teeth Whitening Denver
   ========================================================================== */

/* Page Wrapper & Common Eyebrow */
.community-page {
    color: #334155;
    background: #ffffff;
    overflow-x: clip;
}

.community-eyebrow {
    font-family: var(--font-body, 'Montserrat', sans-serif);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #0080ff;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.community-eyebrow::after {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1.5px;
    background-color: #0080ff;
    border-radius: 1px;
}

.text-blue {
    color: #0080ff !important;
}

/* ==========================================================================
   1. Community Hero Section
   ========================================================================== */
.community-hero-section {
    padding: 70px 0 60px;
    background: linear-gradient(180deg, #f0f7fe 0%, #ffffff 100%);
    position: relative;
    border-bottom: 1px solid #edf4fa;
}

.community-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 50px;
    align-items: center;
}

.community-hero-content {
    max-width: 620px;
}

.community-hero-title {
    font-family: var(--font-heading, 'Libre Baskerville', serif);
    font-size: clamp(2.5rem, 4vw, 3.7rem);
    font-weight: 700;
    color: #082b5c;
    line-height: 1.15;
    margin: 0 0 20px;
    letter-spacing: -0.5px;
}

.community-hero-title .text-blue {
    display: block;
}

.community-hero-desc {
    font-family: var(--font-body, 'Montserrat', sans-serif);
    font-size: 1.05rem;
    line-height: 1.7;
    color: #475569;
    margin: 0 0 32px;
}

.community-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #09264a;
    color: #ffffff !important;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.96rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(9, 38, 74, 0.25);
    transition: all 0.25s ease;
}

.community-hero-btn:hover {
    background: #078BFA;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(7, 139, 250, 0.35);
}

.community-hero-btn i {
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.community-hero-btn:hover i {
    transform: translateX(4px);
}

/* Hero Right: Heart Hands Media + Circular Glowing Emblem */
.community-hero-media {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(8, 43, 92, 0.12);
    background: #e2effa;
}

.community-hero-img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.community-hero-media:hover .community-hero-img {
    transform: scale(1.02);
}

/* Circular Emblem in Center of Heart Hands */
.heart-center-emblem {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 175px;
    height: 175px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.2);
    pointer-events: none;
    user-select: none;
    padding: 12px;
}

.emblem-sparkle {
    font-size: 0.85rem;
    color: #ffffff;
    margin-bottom: 4px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.emblem-line-1 {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.emblem-line-2 {
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.95;
    margin: 1px 0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.emblem-line-3 {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.emblem-logo-name {
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-top: 5px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   2. Values & Impact Bar
   ========================================================================== */
.community-values-bar {
    background: #f8fbff;
    border-bottom: 1px solid #edf4fa;
    padding: 30px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.value-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid #e2effa;
    box-shadow: 0 4px 15px rgba(11, 46, 105, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(11, 46, 105, 0.08);
    border-color: #bee3f8;
}

.value-icon-circle {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    background: #eaf4fe;
    color: #0080ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.value-card:hover .value-icon-circle {
    background: #0080ff;
    color: #ffffff;
    transform: scale(1.05);
}

.value-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #082b5c;
    line-height: 1.35;
    margin: 0;
}

/* ==========================================================================
   3. Content Sections (Schools, Organizations, Sponsorships)
   ========================================================================== */
.community-section {
    padding: 85px 0;
    position: relative;
}

.community-section.bg-light-blue {
    background: #f8fbff;
    border-top: 1px solid #edf4fa;
    border-bottom: 1px solid #edf4fa;
}

.community-section-grid {
    display: grid;
    grid-template-columns: 1fr 1.12fr;
    gap: 60px;
    align-items: center;
}

.community-section-grid.reverse-grid {
    grid-template-columns: 1.12fr 1fr;
}

.community-section-img-wrap {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(8, 43, 92, 0.1);
    background: #eaf4fe;
}

.community-section-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.community-section-img-wrap:hover .community-section-img {
    transform: scale(1.02);
}

.community-section-content h2 {
    font-family: var(--font-heading, 'Libre Baskerville', serif);
    font-size: clamp(2rem, 3.2vw, 2.7rem);
    font-weight: 700;
    color: #082b5c;
    line-height: 1.2;
    margin: 0 0 16px;
    letter-spacing: -0.3px;
}

.community-section-desc {
    font-size: 1.02rem;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 28px;
}

/* Checklist Layout */
.community-checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}

.community-checklist-col {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.community-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: #334155;
    font-weight: 500;
    line-height: 1.4;
}

.community-checklist-item i {
    color: #0080ff;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Sponsorships specific layout */
.sponsorships-wrap {
    position: relative;
}

.sponsorships-content-box {
    position: relative;
    z-index: 2;
}

.sponsorships-illu-watermark {
    position: absolute;
    right: 0;
    bottom: -15px;
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
    width: 180px;
    height: auto;
}

/* ==========================================================================
   4. Call to Action Banner ("Together for a Brighter Community")
   ========================================================================== */
.community-cta-section {
    position: relative;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    padding: 95px 0;
    color: #ffffff;
    overflow: hidden;
}

.community-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(8, 43, 92, 0.88) 0%, rgba(11, 79, 156, 0.76) 55%, rgba(6, 32, 68, 0.88) 100%);
    z-index: 1;
}

.community-cta-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
}

.community-cta-left {
    max-width: 560px;
}

.community-cta-title {
    font-family: var(--font-heading, 'Libre Baskerville', serif);
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.community-cta-desc {
    font-size: 1.1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 32px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

.btn-partner-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #082b5c !important;
    font-weight: 700;
    font-size: 0.98rem;
    padding: 14px 34px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
}

.btn-partner-white:hover {
    background: #f0f7fe;
    color: #078BFA !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.btn-partner-white i {
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.btn-partner-white:hover i {
    transform: translateX(4px);
}

/* Right: Glassmorphic Testimonial Quote Card */
.community-quote-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 18px;
    padding: 38px 42px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    max-width: 520px;
    margin-left: auto;
}

.quote-icon-wrap {
    font-size: 2.4rem;
    color: #0080ff;
    line-height: 1;
    margin-bottom: 14px;
    display: inline-block;
}

.community-quote-text {
    font-size: 1.15rem;
    font-style: italic;
    color: #1e293b;
    line-height: 1.65;
    margin: 0 0 18px;
    font-weight: 500;
}

.community-quote-author {
    display: block;
    font-size: 0.94rem;
    font-weight: 700;
    color: #475569;
    text-align: right;
    letter-spacing: 0.2px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .community-hero-grid,
    .community-section-grid,
    .community-section-grid.reverse-grid,
    .community-cta-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .community-section-grid.reverse-grid .community-section-img-wrap {
        order: -1;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .community-hero-img,
    .community-section-img {
        height: 380px;
    }

    .community-quote-card {
        margin-left: 0;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .community-hero-section {
        padding: 45px 0 35px;
    }

    .community-section {
        padding: 55px 0;
    }

    .community-checklist-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .community-hero-img,
    .community-section-img {
        height: 300px;
    }

    .heart-center-emblem {
        width: 140px;
        height: 140px;
        padding: 8px;
    }

    .emblem-line-1, .emblem-line-3 {
        font-size: 0.58rem;
    }

    .emblem-line-2 {
        font-size: 0.5rem;
    }

    .emblem-logo-name {
        font-size: 0.46rem;
    }

    .community-quote-card {
        padding: 26px 24px;
    }

    .community-quote-text {
        font-size: 1.02rem;
    }
}
