/* =============================================
   RXMX — Global Styles
   Puerto Vallarta Circular Economy Platform
   ============================================= */

/* ---- CSS Variables ---- */
:root {
    --rxmx-green: #2E7D32;
    --rxmx-green-light: #4CAF50;
    --rxmx-green-dark: #1B5E20;
    --rxmx-dark: #1a1a2e;
    --rxmx-dark-mid: #16213e;
    --rxmx-walnut: #5D4037;
    --rxmx-walnut-light: #8D6E63;
    --rxmx-warning: #ff9800;
    --rxmx-bg-light: #f8f9fa;
    --rxmx-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --rxmx-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.12);
    --rxmx-radius: 12px;
    --rxmx-radius-sm: 8px;
    --rxmx-radius-pill: 50px;
    --rxmx-transition: 0.3s ease;
}

/* ---- Base ---- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #212529;
    background-color: #ffffff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #212529;
}

.text-rxmx-green {
    color: var(--rxmx-green) !important;
}

.bg-rxmx-green {
    background-color: var(--rxmx-green) !important;
}

.bg-rxmx-dark {
    background-color: var(--rxmx-dark) !important;
}


/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    padding: 0.75rem 0;
    transition: background-color var(--rxmx-transition);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.navbar-brand img {
    filter: brightness(0) invert(1);
    transition: transform var(--rxmx-transition);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color var(--rxmx-transition);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--rxmx-green-light) !important;
}

.navbar .dropdown-menu {
    border: none;
    box-shadow: var(--rxmx-shadow);
    border-radius: var(--rxmx-radius-sm);
}

.navbar .dropdown-item:hover {
    background-color: rgba(46, 125, 50, 0.1);
    color: var(--rxmx-green);
}


/* =============================================
   HERO SECTION
   ============================================= */
#hero {
    background: linear-gradient(135deg, var(--rxmx-dark) 0%, var(--rxmx-dark-mid) 50%, #0f3460 100%);
    overflow: hidden;
}

#hero h1 {
    color: #ffffff;
    letter-spacing: -1px;
}

#hero .badge {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

#hero img {
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}


/* =============================================
   IMPACT BANNER
   ============================================= */
.bg-success {
    background: linear-gradient(90deg, var(--rxmx-green) 0%, var(--rxmx-green-light) 100%) !important;
}

.bg-success h3 {
    font-size: 1.8rem;
}


/* =============================================
   CARDS — General
   ============================================= */
.card {
    border: none;
    border-radius: var(--rxmx-radius);
    overflow: hidden;
    transition: transform var(--rxmx-transition), box-shadow var(--rxmx-transition);
    box-shadow: var(--rxmx-shadow);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--rxmx-shadow-hover);
}

.card-img-top {
    transition: transform var(--rxmx-transition);
}

.card:hover .card-img-top {
    transform: scale(1.03);
}


/* =============================================
   PRODUCT CARDS
   ============================================= */
#productos .card {
    position: relative;
}

#productos .card.border-success {
    border-width: 2px !important;
}

#productos .card .badge {
    font-size: 0.75rem;
    z-index: 2;
}

/* Product line label */
#productos .card-title {
    font-size: 1.3rem;
}


/* =============================================
   HOW IT WORKS
   ============================================= */
#como-funciona .rounded-circle {
    transition: transform var(--rxmx-transition), box-shadow var(--rxmx-transition);
}

#como-funciona .rounded-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

#como-funciona h6 {
    font-size: 0.95rem;
}


/* =============================================
   ZONE ALERT BANNER
   ============================================= */
.bg-warning.bg-opacity-10 {
    background-color: rgba(255, 152, 0, 0.08) !important;
}


/* =============================================
   COMMUNITY PROGRAMS
   ============================================= */
#programas .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Badge subtle backgrounds */
.bg-success-subtle {
    background-color: rgba(46, 125, 50, 0.1) !important;
}

.text-success {
    color: var(--rxmx-green) !important;
}

.bg-secondary-subtle {
    background-color: rgba(108, 117, 125, 0.1) !important;
}



/* =============================================
   ABOUT PAGE STYLES
   ============================================= */
.about-hero {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.min-vh-50 {
    min-height: 50vh;
}

/* CTA Section (reusable) */
.cta-section {
    background: linear-gradient(135deg, var(--rxmx-dark) 0%, var(--rxmx-dark-mid) 50%, #0f3460 100%);
}

/* Subtle colors for icons */
.bg-success-subtle {
    background-color: rgba(46, 125, 50, 0.1) !important;
}

.bg-primary-subtle {
    background-color: rgba(13, 110, 253, 0.1) !important;
}

.bg-warning-subtle {
    background-color: rgba(255, 193, 7, 0.15) !important;
}

.bg-info-subtle {
    background-color: rgba(13, 202, 240, 0.1) !important;
}

/* Accordion styling */
.accordion-button:not(.collapsed) {
    background-color: rgba(46, 125, 50, 0.05);
    color: var(--rxmx-green);
}

.accordion-button:focus {
    border-color: var(--rxmx-green);
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.15);
}

/* Dashed border card */
.border-dashed {
    border: 2px dashed #dee2e6 !important;
}

/* Rounded 4 utility */
.rounded-4 {
    border-radius: 1rem !important;
}


/* =============================================
   EVENTS
   ============================================= */
#eventos .card-img-top {
    height: 180px;
    object-fit: cover;
}


/* =============================================
   NEWS
   ============================================= */
#noticias .card {
    border-radius: var(--rxmx-radius);
}

#noticias .card-img-top {
    height: 180px;
    object-fit: cover;
}


/* =============================================
   DONATE SECTION
   ============================================= */
#donar iframe {
    border-radius: var(--rxmx-radius);
    box-shadow: var(--rxmx-shadow);
}


/* =============================================
   CTA SECTION
   ============================================= */
#unete {
    background: linear-gradient(135deg, var(--rxmx-dark) 0%, #0f3460 100%);
}


/* ============================================
   Events System Styles
   ============================================ */

/* Hero stat cards */
.hero-stat-card {
    background: rgba(255, 255, 255, 0.15);
}

/* Event card images */
.event-card__image {
    height: 200px;
    object-fit: cover;
}

/* Date block */
.event-date-block {
    width: 56px;
    min-width: 56px;
    border: 2px solid #198754;
    border-radius: 8px;
    overflow: hidden;
}

.event-date-block__month {
    background: #198754;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 0;
    letter-spacing: 0.05em;
}

.event-date-block__day {
    font-size: 1.4rem;
    font-weight: 700;
    padding: 4px 0;
    line-height: 1;
    color: #333;
}

/* Calendar loading state */
.calendar-loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Event card hover */
.event-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15) !important;
}

/* FullCalendar overrides */
#fullCalendar .fc-event {
    cursor: pointer;
    border: none;
    padding: 2px 4px;
}

#fullCalendar .fc-toolbar-title {
    font-size: 1.3rem;
    font-weight: 700;
}

#fullCalendar .fc-button-primary {
    background-color: #198754;
    border-color: #198754;
}

#fullCalendar .fc-button-primary:hover {
    background-color: #157347;
    border-color: #157347;
}

#fullCalendar .fc-button-primary.fc-button-active {
    background-color: #0f5132;
}

/* =============================================
   BUTTONS — Custom overrides
   ============================================= */
.btn {
    border-radius: var(--rxmx-radius-sm);
    font-weight: 600;
    transition: all var(--rxmx-transition);
    padding: 0.5rem 1.25rem;
}

.btn-success {
    background-color: var(--rxmx-green) !important;
    border-color: var(--rxmx-green) !important;
}

.btn-success:hover {
    background-color: var(--rxmx-green-dark) !important;
    border-color: var(--rxmx-green-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.btn-outline-success {
    color: var(--rxmx-green) !important;
    border-color: var(--rxmx-green) !important;
}

.btn-outline-success:hover {
    background-color: var(--rxmx-green) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.btn-outline-warning {
    color: var(--rxmx-warning);
    border-color: var(--rxmx-warning);
}

.btn-outline-warning:hover {
    background-color: var(--rxmx-warning);
    color: #fff;
}

.btn-lg {
    padding: 0.75rem 1.75rem;
    font-size: 1.05rem;
    border-radius: var(--rxmx-radius);
}

/* Google login button */
.btn-google {
    background-color: #ea4335;
    color: #fff;
    border: none;
}

.btn-google:hover {
    background-color: #d9352b;
    color: #fff;
    transform: translateY(-2px);
}


/* =============================================
   FORMS
   ============================================= */
.form-control {
    border-radius: var(--rxmx-radius-sm);
    padding: 0.6rem 1rem;
    border: 1px solid #dee2e6;
    transition: border-color var(--rxmx-transition), box-shadow var(--rxmx-transition);
}

.form-control:focus {
    border-color: var(--rxmx-green);
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.15);
}

.form-select:focus {
    border-color: var(--rxmx-green);
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.15);
}


/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: transform var(--rxmx-transition), box-shadow var(--rxmx-transition);
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    color: #fff;
}

/* Pulse animation */
.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25D366;
    z-index: -1;
    animation: whatsappPulse 2s ease-out infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}


/* =============================================
   FOOTER
   ============================================= */
footer {
    font-size: 0.9rem;
}

footer h5, footer h6 {
    color: #ffffff;
}

footer a {
    transition: color var(--rxmx-transition);
}

footer a:hover {
    color: var(--rxmx-green-light) !important;
}

footer .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

footer .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

footer .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--rxmx-green-light);
    color: #fff;
}


/* =============================================
   LOGIN / REGISTER PAGES
   ============================================= */
.auth-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--rxmx-bg-light);
}

.auth-container {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.auth-container .card {
    border: none;
    box-shadow: var(--rxmx-shadow-hover);
}

/* Divider "or" line */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}

.auth-divider span {
    padding: 0 1rem;
    color: #6c757d;
    font-size: 0.85rem;
}


/* =============================================
   PRODUCT DETAIL PAGE (compostera.php)
   ============================================= */
.product-thumbnail {
    border: 2px solid transparent;
    transition: border-color var(--rxmx-transition);
    cursor: pointer;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: var(--rxmx-green);
}

.product-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--rxmx-green);
}

.product-spec-table th {
    width: 40%;
    background-color: var(--rxmx-bg-light);
    font-weight: 600;
    font-size: 0.9rem;
}

.product-spec-table td {
    font-size: 0.9rem;
}


/* =============================================
   SITUACION ACTUAL PAGE
   ============================================= */
.zone-report-card {
    border-left: 4px solid var(--rxmx-warning);
}

.zone-report-card.severity-critical {
    border-left-color: #dc3545;
}

.zone-report-card.severity-high {
    border-left-color: #ff9800;
}

.zone-report-card.severity-medium {
    border-left-color: #ffc107;
}

.zone-report-card.severity-low {
    border-left-color: #28a745;
}

.zone-status-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: var(--rxmx-radius-pill);
}


/* =============================================
   USER DASHBOARD
   ============================================= */
.level-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: var(--rxmx-radius-pill);
    background: rgba(46, 125, 50, 0.1);
    color: var(--rxmx-green);
    font-weight: 600;
}

.level-badge .emoji {
    font-size: 1.3rem;
}

.progress {
    border-radius: var(--rxmx-radius-pill);
    height: 12px;
    background-color: rgba(46, 125, 50, 0.1);
}

.progress-bar {
    background: linear-gradient(90deg, var(--rxmx-green), var(--rxmx-green-light));
    border-radius: var(--rxmx-radius-pill);
}


/* =============================================
   MARKETPLACE (future)
   ============================================= */
.coin-balance {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 700;
    color: var(--rxmx-walnut);
}

.coin-balance .coin-icon {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #FFD700, #FFA000);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #fff;
    font-weight: 800;
}

.marketplace-card .coin-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--rxmx-walnut);
}


/* =============================================
   ARCADE (future)
   ============================================= */
.game-card {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.game-card::after {
    content: '▶ Jugar';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    opacity: 0;
    transition: opacity var(--rxmx-transition);
}

.game-card:hover::after {
    opacity: 1;
}


/* =============================================
   UTILITIES
   ============================================= */
.min-vh-50 {
    min-height: 50vh;
}

.shadow-rxmx {
    box-shadow: var(--rxmx-shadow);
}

.rounded-rxmx {
    border-radius: var(--rxmx-radius);
}

/* =============================================
   COMMUNITY TOPBAR (above navbar)
   ============================================= */
.rxmx-topbar {
    background-color: var(--rxmx-dark-mid);   /* matches dark navbar family */
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.65);
    font-size: .76rem;
    padding: .3rem 0;
    letter-spacing: .01em;
}

.rxmx-topbar .topbar-tagline {
    color: rgba(255,255,255,.5);
}

.rxmx-topbar .topbar-link {
    color: var(--rxmx-green-light);
    text-decoration: none;
    transition: color var(--rxmx-transition);
}

.rxmx-topbar .topbar-link:hover {
    color: #fff;
}

/* Hide topbar on small screens — saves space */
@media (max-width: 767px) {
    .rxmx-topbar { display: none !important; }
}


/* =============================================
   NAVBAR TWEAKS — community-first additions
   ============================================= */

/* Shop link is present but visually quieter */
.navbar .nav-link-shop {
    opacity: .65;
    font-size: .88rem;
}
.navbar .nav-link-shop:hover,
.navbar .nav-link-shop.active {
    opacity: 1;
    color: var(--rxmx-green-light) !important;
}

/* Language flag toggle */
.navbar .lang-toggle {
    font-size: .88rem;
    padding: .35rem .6rem !important;
    border-radius: var(--rxmx-radius-sm);
    border: 1px solid rgba(255,255,255,.15);
}
.navbar .lang-toggle:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.3);
}

/* Join button in navbar — override btn-sm to fit */
.navbar .btn-success.btn-sm {
    font-size: .85rem;
    border-radius: var(--rxmx-radius-sm);
}

/* Logo: keep original RXMX teal+green colours on dark bg */
.navbar-brand img {
    filter: none !important;   /* override the brightness(0)invert(1) from base styles */
    transition: transform var(--rxmx-transition), opacity var(--rxmx-transition);
}
.navbar-brand:hover img {
    transform: scale(1.04);
    opacity: .9;
}

/* Mobile: collapse menu stays dark, consistent */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--rxmx-dark);
        padding: 1rem;
        border-radius: 0 0 var(--rxmx-radius) var(--rxmx-radius);
        margin-top: .5rem;
        border-top: 2px solid var(--rxmx-green);
    }
}


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--rxmx-dark);
        padding: 1rem;
        border-radius: 0 0 var(--rxmx-radius) var(--rxmx-radius);
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    /* Reduce section padding */
    section {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    /* Hero adjustments */
    #hero {
        text-align: center;
    }
    
    #hero .display-3 {
        font-size: 2rem;
    }
    
    #hero .btn-lg {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    #hero .d-flex.gap-3 {
        flex-direction: column;
    }
    
    #hero img {
        max-height: 300px;
        margin-top: 2rem;
    }
    
    /* Impact banner */
    .bg-success h3 {
        font-size: 1.4rem;
    }
    
    /* Product cards */
    #productos .card-img-top {
        height: 200px;
    }
    
    /* How it works — stack on mobile */
    #como-funciona .col {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* Buttons */
    .btn-lg {
        font-size: 0.95rem;
        padding: 0.6rem 1.2rem;
    }
    
    /* Footer columns */
    footer .col-lg-2 {
        margin-bottom: 1.5rem;
    }
    
    /* WhatsApp button — smaller on mobile */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 16px;
        right: 16px;
    }
}

@media (max-width: 576px) {
    /* Extra small screens */
    #hero .display-3 {
        font-size: 1.7rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    /* How it works — single column */
    #como-funciona .col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Stack impact numbers 2x2 */
    .bg-success .col-6 {
        margin-bottom: 0.75rem;
    }
}

/* =============================================
   PRINT STYLES (for impact reports)
   ============================================= */
@media print {
    .navbar,
    .whatsapp-float,
    footer,
    .btn,
    #donar iframe {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    
    
}

/* =============================================
   NAVBAR LOGO — Responsive sizing
   ============================================= */
.navbar-logo-img {
    height: 38px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: none; /* Keep original colors on dark bg */
    transition: transform var(--rxmx-transition), opacity var(--rxmx-transition);
}

.navbar-logo-img:hover {
    transform: scale(1.04);
    opacity: 0.9;
}

@media (max-width: 576px) {
    .navbar-logo-img {
        height: 32px;
        max-width: 110px;
    }
}

/* =============================================
   HERO — Community-focused with blue gradient
   ============================================= */
.hero-community {
    background: linear-gradient(135deg, var(--rxmx-dark) 0%, var(--rxmx-dark-mid) 50%, #0f3460 100%);
    color: #fff;
    padding: 4rem 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-location-badge {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    padding: 0.5rem 1rem;
    border-radius: var(--rxmx-radius-pill);
    font-size: 0.85rem;
    display: inline-block;
    backdrop-filter: blur(4px);
}

.hero-highlight {
    color: var(--rxmx-green-light);
    position: relative;
}

.hero-lead {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
}

.hero-quote {
    font-style: italic;
    color: rgba(255,255,255,0.5);
    border-left: 3px solid var(--rxmx-green-light);
    padding-left: 1rem;
}

/* Hero stats card */
.hero-stats-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--rxmx-radius);
    padding: 2rem;
}

.hero-stats-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.5rem;
    text-align: center;
}

.hero-stat-item {
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--rxmx-radius-sm);
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--rxmx-green-light);
    line-height: 1;
}

.hero-stat-desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-top: 0.25rem;
}

.hero-stats-link {
    color: var(--rxmx-green-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color var(--rxmx-transition);
}

.hero-stats-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* =============================================
   PARTICIPATE CARDS — How to get involved
   ============================================= */
.participate-card {
    border: none;
    border-radius: var(--rxmx-radius);
    transition: transform var(--rxmx-transition), box-shadow var(--rxmx-transition);
}

.participate-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--rxmx-shadow-hover);
}

.participate-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--rxmx-transition);
}

.participate-card:hover .participate-icon-wrap {
    transform: scale(1.1);
}

.participate-icon-wrap--green {
    background: rgba(46, 125, 50, 0.12);
    color: var(--rxmx-green);
}

.participate-icon-wrap--teal {
    background: rgba(13, 148, 136, 0.12);
    color: #0d9488;
}

.participate-icon-wrap--warning {
    background: rgba(245, 158, 11, 0.12);
    color: var(--rxmx-warning);
}

.btn-participate-teal {
    background: #0d9488;
    border-color: #0d9488;
    color: #fff;
}

.btn-participate-teal:hover {
    background: #0f766e;
    border-color: #0f766e;
    color: #fff;
}

/* =============================================
   JOIN CTA — Dark section
   ============================================= */
.cta-section {
    background: linear-gradient(135deg, var(--rxmx-dark) 0%, #0f3460 100%);
    color: #fff;
}

/* =============================================
   HERO RESPONSIVE
   ============================================= */
@media (max-width: 991.98px) {
    .hero-community {
        padding: 3rem 0;
        min-height: auto;
    }
    
    .hero-stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-community h1 {
        font-size: 1.75rem;
    }
    
    .hero-stats-card {
        padding: 1.5rem;
    }
    
    .hero-stat-item {
        padding: 0.75rem;
    }
    
    .hero-stat-number {
        font-size: 1.25rem;
    }
    
    .hero-location-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}
