/* ============================================
   ANIMAL RESCUE CENTRES — arc-page
   Scoped under .arc-page to prevent global bleed
   ============================================ */

.arc-page {
    --forest:   #0a2e1a;
    --emerald:  #059669;
    --gold:     #f1c40f;
    --cream:    #f9f6ef;
    --fog:      #e8f0e9;
    --ink:      #0f1c10;
    --white:    #ffffff;
    --red:      #e74c3c;
    --blue:     #3498db;
    --dark-green:#064e3b;
    --ease:     cubic-bezier(0.16, 1, 0.3, 1);

    background: var(--cream);
    color: var(--ink);
    font-family: 'Open Sans', sans-serif;
    padding-bottom: 80px;
    overflow-x: hidden;
}

.arc-wrap { padding: 0 5%; max-width: 1400px; margin: 0 auto; }

/* === HEADER STYLING === */
.arc-header-desc {
    text-align: center;
    max-width: 800px;
    margin: 30px auto 40px auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
}
.arc-title-bar {
    width: 80px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
    margin: 20px auto;
}

.arc-section-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: var(--forest);
    letter-spacing: -.02em;
    line-height: 1.1;
    margin-bottom: 8px;
    text-align: center;
}

.arc-section-subtitle {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    color: #475569;
    max-width: 600px;
    line-height: 1.6;
    margin: 0 auto 40px auto;
    text-align: center;
}

/* === RADAR / PATROL CONSOLE === */
.arc-console-card {
    background: #091a11;
    color: #adcfb8;
    border-radius: 30px;
    padding: 40px;
    border: 1px solid rgba(5,150,105,0.2);
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
    margin-bottom: 60px;
}
.arc-console-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}
@media (max-width: 1024px) {
    .arc-console-grid {
        grid-template-columns: 1fr;
    }
}

/* Radar Reports Column */
.arc-report-title {
    font-weight: 800;
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.arc-pulse-dot {
    width: 12px; height: 12px;
    background: var(--red);
    border-radius: 50%;
    animation: alertPulse 1.5s infinite;
}
@keyframes alertPulse {
    0% { transform: scale(0.9); opacity: 1; box-shadow: 0 0 0 0 rgba(231,76,60,0.7); }
    70% { transform: scale(1.1); opacity: 0.5; box-shadow: 0 0 0 10px rgba(231,76,60,0); }
    100% { transform: scale(0.9); opacity: 0; }
}

.arc-case-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.arc-case-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
    border-color: var(--emerald);
}
.arc-case-card.active {
    background: rgba(5,150,105,0.12);
    border-color: var(--emerald);
    box-shadow: 0 5px 20px rgba(5,150,105,0.2);
}
.arc-case-header {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--gold);
    margin-bottom: 6px;
}
.arc-case-name {
    font-weight: 800;
    color: var(--white);
    margin-bottom: 6px;
}
.arc-case-meta {
    font-size: 0.78rem;
    color: #8fa696;
}

/* Diagnostic Monitor Column */
.arc-monitor {
    background: #040d08;
    border: 1px solid #142e1d;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
}
.arc-monitor-head {
    border-bottom: 1px solid #142e1d;
    padding-bottom: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--emerald);
}
.arc-monitor-body {
    flex-grow: 1;
}
.arc-mon-title {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 15px;
}
.arc-mon-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #adcfb8;
    margin-bottom: 24px;
}

/* Diagnostic Process Bar */
.arc-process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 30px;
    position: relative;
}
.arc-step {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #52705e;
    transition: all 0.3s ease;
}
.arc-step-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #0a1e12;
    border: 2px solid #1a3c26;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px auto;
    font-size: 0.9rem;
    color: #52705e;
    transition: all 0.3s ease;
}
.arc-step.active {
    color: var(--white);
}
.arc-step.active .arc-step-icon {
    background: var(--emerald);
    border-color: var(--emerald);
    color: var(--white);
    box-shadow: 0 0 15px rgba(5,150,105,0.4);
}
.arc-step.completed {
    color: var(--gold);
}
.arc-step.completed .arc-step-icon {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--forest);
}

.arc-btn-wrap {
    position: relative;
    width: 100%;
}

/* Action button inside console */
.arc-action-btn {
    background: var(--emerald);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    animation: arcUrgentPulse 2s infinite ease-in-out;
}
.arc-action-btn:hover {
    background: #05a876;
    box-shadow: 0 5px 25px rgba(5,150,105,0.6);
    transform: scale(1.03);
    animation: none; /* Pause pulse when hovered */
}

.arc-pointer-hand {
    position: absolute;
    right: -42px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    color: var(--gold);
    pointer-events: none;
    animation: arcHandTap 1.2s infinite ease-in-out;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0.95;
    z-index: 10;
}
.arc-btn-wrap:hover .arc-pointer-hand {
    opacity: 0;
    transform: translateY(-50%) scale(0.6) translateX(10px);
}

@keyframes arcUrgentPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
    }
    70% {
        box-shadow: 0 0 15px 8px rgba(5, 150, 105, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
    }
}

@keyframes arcHandTap {
    0% {
        transform: translateY(-50%) translateX(0) scale(1);
    }
    50% {
        transform: translateY(-50%) translateX(-8px) scale(0.85);
    }
    100% {
        transform: translateY(-50%) translateX(0) scale(1);
    }
}

/* === LADY HYDARI & NEHRU PARK VET CENTRES === */
.arc-centres-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}
@media (max-width: 768px) {
    .arc-centres-row {
        grid-template-columns: 1fr;
    }
}
.arc-centre-card {
    background: var(--white);
    border: 1px solid var(--fog);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
    transition: all 0.4s var(--ease);
}
.arc-centre-card:hover {
    transform: translateY(-6px);
    border-color: var(--emerald);
    box-shadow: 0 25px 50px rgba(10,46,26,0.08);
}
.arc-centre-badge {
    background: var(--cream);
    color: var(--forest);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 15px;
    border: 1px solid var(--fog);
}
.arc-centre-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--forest);
    margin-bottom: 12px;
}
.arc-centre-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 20px;
}
.arc-centre-meta {
    font-size: 0.8rem;
    color: #64748b;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}

/* === SAMARITAN AWARD CABINET === */
.arc-award-section {
    background: radial-gradient(circle at 10% 20%, #112d1c 0%, #06180e 90%);
    color: var(--white);
    border-radius: 30px;
    padding: 50px;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(241,196,15,0.15);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.arc-award-section::before {
    content: '';
    position: absolute;
    top: -100px; left: -100px;
    width: 250px; height: 250px;
    background: rgba(241,196,15,0.03);
    border-radius: 50%;
}
.arc-medal-trigger {
    width: 120px; height: 120px;
    background: radial-gradient(circle, #fcd34d 0%, #b45309 100%);
    border-radius: 50%;
    margin: 0 auto 25px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(180,83,9,0.4);
    cursor: pointer;
    font-size: 3rem;
    color: var(--forest);
    border: 4px double #fef3c7;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.arc-medal-trigger:hover {
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 15px 40px rgba(180,83,9,0.6);
}
.arc-award-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 12px;
}
.arc-award-desc {
    max-width: 750px;
    margin: 0 auto;
    font-size: 0.98rem;
    line-height: 1.8;
    color: #adcfb8;
}

/* === PARALLEL IMAGES LAYOUT (USER REQUEST) === */
.arc-parallel-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}
@media (max-width: 768px) {
    .arc-parallel-row {
        grid-template-columns: 1fr;
    }
}
.arc-img-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--fog);
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
    transition: all 0.4s var(--ease);
    position: relative;
}
.arc-img-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}
.arc-img-frame {
    height: 280px;
    overflow: hidden;
    position: relative;
}
.arc-img-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.arc-img-card:hover .arc-img-frame img {
    transform: scale(1.08);
}
.arc-img-info {
    padding: 25px;
}
.arc-img-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--forest);
    margin-bottom: 6px;
}
.arc-img-cap {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

/* Joint Enforcement patroller bar styling */
.arc-enforce-bar {
    background: var(--white);
    border-radius: 20px;
    padding: 24px 30px;
    border: 1px solid var(--fog);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.arc-enforce-title {
    font-weight: 800;
    color: var(--forest);
    font-size: 0.95rem;
}
.arc-partners {
    display: flex;
    gap: 15px;
}
.arc-partner-tag {
    background: var(--cream);
    color: var(--forest);
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 800;
    border: 1px solid var(--fog);
}

/* === GUIDED NEXT MISSION PATHWAY === */
.arc-case-card.arc-highlight-guide {
    border-color: var(--gold) !important;
    box-shadow: 0 0 20px rgba(241,196,15,0.4) !important;
    position: relative;
    animation: borderFlash 1.5s infinite alternate;
}
.arc-case-card.arc-highlight-guide::after {
    content: '👈 Next Rescue';
    position: absolute;
    right: -130px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gold);
    color: var(--forest);
    font-weight: 800;
    font-size: 0.72rem;
    padding: 5px 12px;
    border-radius: 12px;
    white-space: nowrap;
    animation: handTapLeftRight 1s infinite ease-in-out;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 55;
}
@media (max-width: 1200px) {
    .arc-case-card.arc-highlight-guide::after {
        right: 15px;
        top: -20px;
        transform: none;
        animation: handTapUpDown 1s infinite ease-in-out;
    }
}

@keyframes handTapLeftRight {
    0% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(8px); }
    100% { transform: translateY(-50%) translateX(0); }
}

@keyframes handTapUpDown {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

@keyframes borderFlash {
    0% { border-color: rgba(241,196,15,0.4); }
    100% { border-color: rgba(241,196,15,1); }
}
