:root {
    --primary-red: #ff0000;
    --dark-red: #cc0000;
    --text-dark: #212529;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
}

.text-danger {
    color: var(--primary-red) !important;
}

.btn-danger {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-danger:hover {
    background-color: var(--dark-red);
    border-color: var(--dark-red);
}

.text-danger-highlight {
    color: #ffff00;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}

/* Hero Section */
#hero {
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6)), url('../image/banner.webp') no-repeat center center/cover;
}

.bg-overlay {
    background: rgb(255 10 10 / 60%);
}

.bg-black-glass {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.3s ease;
    color: white;
}

.bg-black-glass .text-danger {
    color: #ff4d4d !important; /* Lighter red for dark background */
}

.bg-black-glass:hover {
    transform: translateY(-5px);
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-250 { animation-delay: 0.25s; }
.delay-300 { animation-delay: 0.3s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

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

/* Mechanism Flow */
.mechanism-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    text-align: center;
}

.flow-item {
    flex: 1;
    min-width: 80px;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.5rem;
    color: var(--primary-red);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.flow-item.highlight .icon-box {
    background: var(--primary-red);
    color: white;
    transform: scale(1.1);
}

.arrow {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .mechanism-flow {
        flex-direction: column;
    }
    .arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
}

/* Timeline Mini */
.timeline-mini {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid #e9ecef;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: var(--primary-red);
    border-radius: 50%;
    border: 2px solid white;
}

.timeline-item .date {
    display: block;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Partners */
.grayscale-logos i {
    transition: all 0.3s;
    opacity: 0.5;
}

.grayscale-logos i:hover {
    color: var(--primary-red) !important;
    opacity: 1;
    transform: scale(1.1);
}

/* Cards */
.hover-card {
    transition: transform 0.3s;
}

.hover-card:hover {
    transform: translateY(-5px);
}

/* Navbar */
.navbar-brand img {
    height: 40px;
}

/* Banner Links */
.banner-link img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-link:hover img {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
}

/* Mobile Hero Buttons */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}
