/* Awards section styles */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
    margin-top: 2rem;
}

.award-item {
    background: linear-gradient(to bottom right, #ffffff, #f8f9fa);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 
        0 4px 20px rgba(0,0,0,0.06),
        0 0 0 1px rgba(52, 152, 219, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Stagger animation for each award */
.award-item:nth-child(1) { animation-delay: 0.1s; }
.award-item:nth-child(2) { animation-delay: 0.2s; }
.award-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Recent award indicator */
.award-item:first-child::after {
    content: 'Most Recent';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.9;
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.2);
}

.award-item:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 8px 30px rgba(0,0,0,0.1),
        0 0 0 1px rgba(52, 152, 219, 0.12);
}

/* Award-specific themes */
.award-item:nth-child(1) .award-icon i {
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.award-item:nth-child(2) .award-icon i {
    background: linear-gradient(135deg, #3498db, #2980b9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.award-item:nth-child(3) .award-icon i {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.award-icon {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 15px rgba(0,0,0,0.05),
        0 0 0 1px rgba(52, 152, 219, 0.08);
    transition: all 0.3s ease;
}

.award-icon i {
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.award-year {
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: #2c3e50;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(44, 62, 80, 0.2);
}

.award-content {
    flex-grow: 1;
}

.award-content h4 {
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.award-title {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}

.award-org {
    color: #3498db;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.award-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Enhanced hover effects */
.award-item:hover .award-icon {
    transform: scale(1.05);
    box-shadow: 
        0 6px 20px rgba(0,0,0,0.08),
        0 0 0 1px rgba(52, 152, 219, 0.12);
}

.award-item:hover .award-icon i {
    transform: scale(1.1) rotate(5deg);
}

.award-item:hover .award-org {
    color: #2980b9;
}

/* Section header styles */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.section-description {
    color: #666;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive design */
@media (max-width: 768px) {
    .awards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0.5rem;
    }

    .award-item {
        padding: 1.5rem;
    }

    .award-item:first-child::after {
        top: 0.8rem;
        right: 0.8rem;
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    .award-icon {
        width: 50px;
        height: 50px;
    }

    .award-icon i {
        font-size: 1.5rem;
    }

    .award-title {
        font-size: 1.1rem;
    }

    .award-org {
        font-size: 0.9rem;
    }

    .award-description {
        font-size: 0.9rem;
    }

    .section-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .award-item,
    .award-icon,
    .award-icon i,
    .section-header {
        animation: none;
        transition: none;
        transform: none;
        opacity: 1;
    }

    .award-item:hover,
    .award-item:hover .award-icon,
    .award-item:hover .award-icon i {
        transform: none;
    }
}

@media (prefers-contrast: high) {
    .award-item {
        background: #ffffff;
        border: 2px solid #2c3e50;
        box-shadow: none;
    }

    .award-icon {
        border: 2px solid #2c3e50;
        background: #ffffff;
        box-shadow: none;
    }

    .award-icon i {
        background: none;
        -webkit-text-fill-color: #2c3e50;
        color: #2c3e50;
    }

    .award-year,
    .award-item:first-child::after {
        background: #2c3e50;
        border: 2px solid #2c3e50;
        box-shadow: none;
    }

    .award-title {
        color: #000000;
    }

    .award-org {
        color: #2c3e50;
    }

    .award-description {
        color: #000000;
    }
} 