/* ========== GALLERY ========== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
}

.gallery-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.03);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 1rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay p {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ========== SLIDERS ========== */
.tech-slider-container,
.stages-slider-container {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
}

.tech-slider,
.stages-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 16px 4px 24px 4px;
}

.tech-slider::-webkit-scrollbar,
.stages-slider::-webkit-scrollbar {
    display: none;
}

/* Tech Cards */
.tech-card {
    flex: 0 0 180px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 1.5rem;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(37, 99, 235, 0.15);
    cursor: pointer;
}

.tech-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #2563eb;
    box-shadow: 0 20px 35px -12px rgba(37, 99, 235, 0.25);
    background: white;
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.tech-card:hover .tech-icon {
    transform: scale(1.1);
}

.tech-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #1e293b;
}

.tech-desc {
    font-size: 0.7rem;
    color: #64748b;
}

/* Stage Cards */
.stage-card {
    flex: 0 0 280px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(8px);
    border-radius: 1.5rem;
    padding: 1.75rem 1.25rem;
    border: 1px solid rgba(37, 99, 235, 0.12);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #4f46e5);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.stage-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 40px -16px rgba(37, 99, 235, 0.3);
    border-color: rgba(37, 99, 235, 0.3);
}

.stage-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.5;
    margin-bottom: 0.75rem;
}

.stage-icon {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.stage-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.stage-text {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.4;
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e2e8f0;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    transform: translateY(-50%) scale(1.05);
}

.slider-btn-left {
    left: 0;
}

.slider-btn-right {
    right: 0;
}

/* ========== INCIDENTS ========== */
.incident-card {
    background: white;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}

.incident-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.12);
    border-color: rgba(239, 68, 68, 0.2);
}

.incident-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.incident-card:hover .incident-img {
    transform: scale(1.02);
}

.incident-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.incident-critical {
    background: #fee2e2;
    color: #dc2626;
}

.incident-high {
    background: #ffedd5;
    color: #ea580c;
}

.incident-medium {
    background: #fef9c3;
    color: #ca8a04;
}

.incident-resolved {
    background: #dcfce7;
    color: #16a34a;
}

.severity-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.severity-critical {
    background-color: #dc2626;
    box-shadow: 0 0 0 2px #fee2e2;
}

.severity-high {
    background-color: #ea580c;
}

.severity-medium {
    background-color: #ca8a04;
}