  /* Modern Downloads Page CSS with Animated Title Line */
:root {
    --primary-color: #780000;
    --secondary-color: #243762;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--light-gray);
    color: var(--text-color);
    line-height: 1.6;
}

/* Section Styles */
.downloads-section {
    padding: 5rem 0;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Header */
.section-header {
    text-align: start;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    padding-left: 25px;
    opacity: 0;
    transform: translateX(-20px);
    animation: textAnimation 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 4px;
    height: 0;
    background-color: var(--primary-color);
    animation: borderAnimation 1.2s 0.3s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.6s 0.4s ease forwards;
}

/* Downloads Grid */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Download Card */
.download-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.download-card.animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.download-card:nth-child(1) {
    transition-delay: 0.1s;
}

.download-card:nth-child(2) {
    transition-delay: 0.2s;
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(120, 0, 0, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.card-description {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Download Button */
.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    gap: 0.5rem;
}

.download-btn svg {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.download-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(120, 0, 0, 0.2);
}

.download-btn:hover svg {
    transform: translateY(2px);
}

/* Hover Effects */
.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.download-card:hover .card-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Animations */
@keyframes textAnimation {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes borderAnimation {
    to {
        height: 100%;
    }
}

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

/* Responsive Adjustments */
@media (max-width: 992px) {
    .downloads-section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .downloads-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .downloads-section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.8rem;
        padding-left: 20px;
    }

    .download-card {
        padding: 1.5rem;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .download-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}
