/* ========================================
   LGBTQ+ Health Section Styles
   ======================================== */

.lgbtq-health-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #fafbfc 100%);
    position: relative;
    overflow: hidden;
}

/* Pride Accent Bar */
.pride-accent-bar {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        #e40303 0%, 
        #ff8c00 16.66%, 
        #ffed00 33.33%, 
        #008026 50%, 
        #24408e 66.66%, 
        #732982 83.33%,
        #e40303 100%);
    background-size: 200% 100%;
    animation: prideShimmer 8s ease-in-out infinite;
    margin-bottom: 3rem;
    border-radius: 2px;
}

@keyframes prideShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Section Header */
.lgbtq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.header-content {
    animation: fadeInUp 0.8s ease-out;
}

.section-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #706d9c, #926ecc);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.lgbtq-health-section .section-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #706d9c, #926ecc, #706d9c);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    animation: gradientSlide 4s ease-in-out infinite;
}

.lgbtq-health-section .section-subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Grid */
.lgbtq-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gaht-card .card-accent {
    background: linear-gradient(90deg, #5bcefa 0%, #f5a9b8 50%, #ffffff 100%);
}

.sexual-health-card .card-accent {
    background: linear-gradient(90deg, #ff6b6b 0%, #feca57 100%);
}

.support-card .card-accent {
    background: linear-gradient(90deg, #706d9c 0%, #926ecc 100%);
}

.service-card:hover .card-accent {
    opacity: 1;
}

/* Card Icons */
.card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(112, 109, 156, 0.1), rgba(146, 110, 204, 0.1));
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.card-icon svg {
    fill: #706d9c;
    transition: transform 0.3s ease;
}

.service-card:hover .card-icon svg {
    transform: scale(1.1);
}

/* Card Content */
.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.service-card p {
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.75rem 0;
    color: #495057;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #706d9c, #926ecc);
    border-radius: 50%;
}

.card-footer {
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.availability {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #d4edda;
    color: #155724;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Trust Section */
.lgbtq-trust-section {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(112, 109, 156, 0.05);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: rgba(112, 109, 156, 0.1);
    transform: translateY(-2px);
}

.trust-item svg {
    width: 24px;
    height: 24px;
    fill: #706d9c;
}

.trust-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
}

/* Call to Action */
.lgbtq-cta {
    background: linear-gradient(135deg, 
        rgba(228, 3, 3, 0.05) 0%, 
        rgba(255, 140, 0, 0.05) 17%, 
        rgba(255, 237, 0, 0.05) 33%, 
        rgba(0, 128, 38, 0.05) 50%, 
        rgba(36, 64, 142, 0.05) 67%, 
        rgba(115, 41, 130, 0.05) 83%, 
        rgba(228, 3, 3, 0.05) 100%);
    border-radius: 32px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
    background-clip: padding-box;
    border-image: linear-gradient(90deg, #e40303, #ff8c00, #ffed00, #008026, #24408e, #732982, #e40303) 1;
    box-shadow: 0 10px 30px rgba(115, 41, 130, 0.15);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #e40303, #732982);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.cta-content p {
    color: #495057;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Rainbow Button */
.btn-rainbow {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, 
        #e40303 0%, 
        #ff8c00 20%, 
        #ffed00 35%, 
        #008026 50%, 
        #24408e 65%, 
        #732982 85%);
    background-size: 200% 200%;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 5px 20px rgba(115, 41, 130, 0.3);
    animation: gradientSlide 6s ease-in-out infinite;
}

.btn-rainbow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%);
    transition: left 0.5s ease;
}

.btn-rainbow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 35px rgba(115, 41, 130, 0.4);
    background-position: 100% 100%;
}

.btn-rainbow:hover::before {
    left: 100%;
}

.btn-rainbow svg {
    transition: transform 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.btn-rainbow:hover svg {
    transform: translateX(5px);
}

/* CTA Decoration */
.cta-decoration {
    position: absolute;
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
}

.pulse-ring {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(146, 110, 204, 0.2);
    border-radius: 50%;
    animation: pulse 3s ease-out infinite;
}

.pulse-ring:nth-child(2) {
    animation-delay: 1s;
}

.pulse-ring:nth-child(3) {
    animation-delay: 2s;
}

@keyframes pulse {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientSlide {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .lgbtq-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .lgbtq-health-section {
        padding: 4rem 0;
    }
    
    .lgbtq-health-section .section-title {
        font-size: 2.5rem;
    }
    
    .lgbtq-health-section .section-subtitle {
        font-size: 1rem;
    }
    
    .lgbtq-services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .lgbtq-trust-section {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .trust-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .lgbtq-cta {
        padding: 3rem 2rem;
    }
    
    .cta-content h3 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .btn-rainbow {
        font-size: 1rem;
        padding: 1rem 2rem;
    }
    
    .cta-decoration {
        display: none;
    }
}

@media (max-width: 480px) {
    .pride-accent-bar {
        height: 3px;
    }
    
    .lgbtq-health-section .section-title {
        font-size: 2rem;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .card-icon {
        width: 56px;
        height: 56px;
    }
    
    .trust-item {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .lgbtq-cta {
        padding: 2.5rem 1.5rem;
    }
}