/* ========================================
   AWARDS & RECOGNITION SECTION
   ======================================== */

.awards-section {
    background: var(--bg-secondary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding-top: 120px; /* Increased header offset */
    padding-bottom: 60px; /* Increased padding to prevent cut-off */
}

.awards-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px; /* Robust gap */
}

.awards-header {
    text-align: center;
    margin-bottom: 0;
}

.awards-label {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--color-gold);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.awards-section-heading {
    font-family: var(--font-serif);
    font-size: 2.2rem; /* Increased size */
    font-weight: 400;
    color: var(--color-primary);
    margin: 0 0 8px 0;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.awards-subtitle {
    font-family: var(--font-sans);
    font-size: 0.95rem; /* Increased size */
    font-weight: 300;
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto 10px;
}

.awards-divider {
    width: 40px;
    height: 1px;
    background-color: var(--color-gold);
    margin: 0 auto;
}

/* Grid Layout */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; /* Compact gap to fit two rows */
}

/* Cards styling */
.awards-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 20px 24px; /* Reduced vertical padding */
    text-align: center;
    box-shadow: 0 8px 24px rgba(197, 168, 128, 0.03);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* Subtle top border accent on hover */
.awards-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.awards-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-medium);
    box-shadow: 0 20px 45px rgba(197, 168, 128, 0.12);
}

.awards-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 10px; /* Reduced margin to compensate for font size */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(197, 168, 128, 0.08);
    border-radius: 50%;
    color: var(--color-gold);
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.awards-card:hover .awards-icon {
    background-color: var(--color-gold);
    color: #FFFFFF;
    transform: scale(1.05);
}

.awards-title {
    font-family: var(--font-display);
    font-size: 1.28rem; /* Increased size */
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 2px 0;
    letter-spacing: 0.02em;
    line-height: 1.35;
}

.awards-year {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px; /* Slightly reduced margin */
    display: inline-block;
}

.awards-text {
    font-family: var(--font-sans);
    font-size: 0.86rem; /* Increased size */
    font-weight: 300;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Scroll reveal initial state and active state */
.awards-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.awards-card.awards-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE OVERRIDES
   ======================================== */
@media (max-width: 1440px) {
    .awards-container {
        padding: 0 30px;
    }
}

@media (max-width: 1024px) {
    .awards-section {
        height: auto;
        min-height: auto;
        display: block;
        padding: 80px 0;
    }
    .awards-container {
        height: auto;
        gap: 40px;
    }
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .awards-section {
        padding: 60px 0;
    }
    .awards-container {
        padding: 0 24px;
    }
    .awards-section-heading {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .awards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .awards-container {
        padding: 0 20px;
    }
    .awards-section-heading {
        font-size: 1.6rem;
    }
    .awards-card {
        padding: 24px 20px;
    }
}
