/* ===== OUR WORK SECTION - PROFESSIONAL STYLING ===== */

.our-work {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern */
.our-work::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(214, 45, 140, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(123, 45, 126, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.our-work .container {
    position: relative;
    z-index: 1;
}

/* Section Header Enhancements */
.our-work .section__header {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.our-work .section__subtitle {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, 
        rgba(214, 45, 140, 0.08) 0%, 
        rgba(123, 45, 126, 0.08) 100%);
    border-radius: 50px;
}

.our-work .section__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.our-work .section__description {
    font-size: 1.125rem;
    color: #6c757d;
    line-height: 1.8;
}

/* Work Grid */
.work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

/* Work Card - Premium Design */
.work-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 2px 10px rgba(214, 45, 140, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(214, 45, 140, 0.08);
}

.work-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.1),
        0 6px 20px rgba(214, 45, 140, 0.1);
    border-color: rgba(214, 45, 140, 0.15);
}

.work-card:hover::before {
    transform: scaleX(1);
}

/* Icon Section */
.work-card__icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem 1.5rem;
    background: linear-gradient(135deg, 
        rgba(248, 249, 250, 0.8) 0%, 
        rgba(255, 255, 255, 0.8) 100%);
    position: relative;
}

.work-card__icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Icon gradient backgrounds */
.work-card__icon--advocacy {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 
        0 8px 24px rgba(102, 126, 234, 0.25),
        0 4px 12px rgba(118, 75, 162, 0.15);
}

.work-card__icon--passage {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 
        0 8px 24px rgba(240, 147, 251, 0.25),
        0 4px 12px rgba(245, 87, 108, 0.15);
}

.work-card__icon--community {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 
        0 8px 24px rgba(79, 172, 254, 0.25),
        0 4px 12px rgba(0, 242, 254, 0.15);
}

.work-card:hover .work-card__icon {
    transform: scale(1.1) rotate(5deg);
}

.work-card__icon i {
    font-size: 2.5rem;
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Decorative ring around icon */
.work-card__icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Content Section */
.work-card__content {
    padding: 2rem 2.5rem 2.5rem;
    text-align: center;
}

.work-card__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.25rem;
    line-height: 1.3;
    position: relative;
    display: inline-block;
}

.work-card__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

.work-card__description {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Key Points List */
.work-card__points {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.work-card__point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

.work-card__point i {
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.work-card__point span {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Button */
.work-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 50px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(214, 45, 140, 0.25);
    position: relative;
    overflow: hidden;
}

.work-card__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-card__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(214, 45, 140, 0.35);
}

.work-card__cta:hover::before {
    opacity: 1;
}

.work-card__cta span {
    position: relative;
    z-index: 1;
}

.work-card__cta i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.work-card__cta:hover i {
    transform: translateX(4px);
}

/* Stats Badge */
.work-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, 
        rgba(214, 45, 140, 0.08) 0%, 
        rgba(123, 45, 126, 0.08) 100%);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.work-card__badge i {
    font-size: 1rem;
}

/* Tablet Layout */
@media screen and (min-width: 768px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .our-work .section__title {
        font-size: 3rem;
    }
}

/* Desktop Layout */
@media screen and (min-width: 992px) {
    .work-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .work-card__content {
        min-height: 400px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .our-work .section__title {
        font-size: 3.5rem;
    }
}

/* Large Desktop */
@media screen and (min-width: 1200px) {
    .work-grid {
        gap: 3rem;
    }
    
    .work-card__icon {
        width: 110px;
        height: 110px;
    }
    
    .work-card__icon i {
        font-size: 2.75rem;
    }
}

/* Print Styles */
@media print {
    .work-card__cta {
        display: none;
    }
    
    .work-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
