/* ==========================================================================
   Template 2 — Awards & Honors Page Styles
   ========================================================================== */

/* ── CSS Variables (inherit from Template 2 system) ── */
:root {
    --navy-darkest: #03142a;
    --navy-darker: #041a38;
    --navy-dark: #06234b;
    --navy-mid: #0d3060;
    --teal-bright: #00d2d3;
    --teal-glow: rgba(0, 210, 211, 0.35);
    --gold: #f5c518;
    --gold-soft: #fbbf24;
    --white: #ffffff;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-600: #475569;
    --bg-page: #f0f4f8;
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --radius-card: 14px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', 'Outfit', sans-serif;
    background: var(--bg-page);
    color: #1e293b;
}

.container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.awards-hero-banner {
    position: relative;
    min-height: 230px;
    background-color: var(--navy-dark);
    background-image:
        linear-gradient(to right, rgba(3, 20, 42, 0.95) 0%, rgba(4, 26, 56, 0.88) 55%, rgba(6, 35, 75, 0.45) 100%),
        url('../images/awards_banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.awards-hero-content {
    position: relative;
    z-index: 2;
}

/* Breadcrumb */
.awards-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--teal-bright);
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.awards-breadcrumb a {
    color: var(--teal-bright);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.2s;
}

.awards-breadcrumb a:hover {
    opacity: 0.8;
}

.awards-breadcrumb span {
    color: var(--slate-300);
}

/* Title */
.awards-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.awards-hero-subtitle {
    font-size: 1rem;
    color: var(--slate-300);
    margin-bottom: 28px;
    font-weight: 400;
    max-width: 540px;
    line-height: 1.6;
}

/* Stat Pills */
.awards-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.awards-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 210, 211, 0.15);
    border: 1px solid rgba(0, 210, 211, 0.3);
    border-radius: 999px;
    padding: 7px 18px;
    font-size: 13.5px;
    color: var(--white);
    font-weight: 500;
    backdrop-filter: blur(6px);
    white-space: nowrap;
}

.awards-stat-pill i {
    color: var(--gold-soft);
    font-size: 15px;
}

.awards-stat-pill strong {
    color: var(--teal-bright);
    font-weight: 700;
}

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */
.awards-main {
    padding: 48px 0 72px;
}

/* ==========================================================================
   TOPBAR & SEARCH
   ========================================================================== */
.awards-topbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.awards-topbar-info h2 {
    font-family: 'Outfit', 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f294a;
    line-height: 1.2;
    margin-bottom: 4px;
}

.awards-topbar-info p {
    font-size: 0.92rem;
    color: #64748b;
}

/* Search Box */
.awards-search-box {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.awards-search-box .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
}

.awards-search-input {
    width: 100%;
    height: 46px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 0 42px 0 46px;
    font-size: 0.9rem;
    color: #0f294a;
    font-family: inherit;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.awards-search-input:focus {
    outline: none;
    border-color: #0d9488;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}

.awards-search-input::placeholder {
    color: #94a3b8;
}

.awards-search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.05rem;
    cursor: pointer;
    display: none;
    padding: 4px;
    border-radius: 50%;
    line-height: 1;
    transition: color 0.2s;
}

.awards-search-clear:hover { color: #475569; }
.awards-search-clear.visible { display: block; }

/* No Results */
.awards-no-results {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
    gap: 12px;
}

.awards-no-results.visible { display: flex; }

.awards-no-results i {
    font-size: 40px;
    opacity: 0.35;
}

.awards-no-results h3 {
    font-size: 1.1rem;
    color: #475569;
    font-weight: 600;
}

.awards-no-results p { font-size: 0.9rem; }

.awards-no-results button {
    background: none;
    border: none;
    color: #0d9488;
    font-weight: 600;
    cursor: pointer;
    font-size: inherit;
    text-decoration: underline;
    padding: 0;
}

/* ==========================================================================
   AWARD CARDS
   ========================================================================== */
.awards-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.award-card {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-card);
    padding: 24px 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    animation: fadeSlideUp 0.4s ease both;
}

.award-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    border-color: #c8d8ee;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

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

/* Staggered animation delay */
.award-card:nth-child(1) {
    animation-delay: 0.05s;
}

.award-card:nth-child(2) {
    animation-delay: 0.10s;
}

.award-card:nth-child(3) {
    animation-delay: 0.15s;
}

.award-card:nth-child(4) {
    animation-delay: 0.20s;
}

.award-card:nth-child(5) {
    animation-delay: 0.25s;
}

.award-card:nth-child(6) {
    animation-delay: 0.30s;
}

/* Icon wrapper */
.award-icon-wrap {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8f4ff 0%, #dbeafe 100%);
    border: 2px solid #bfdbfe;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s ease;
}

.award-card:hover .award-icon-wrap {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    transform: scale(1.07);
}

.award-icon-wrap i {
    font-size: 26px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card body */
.award-body {
    flex: 1;
    min-width: 0;
}

.award-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a4fa0;
    line-height: 1.4;
    margin-bottom: 8px;
}

.award-details {
    font-size: 0.92rem;
    color: #4e6b8a;
    line-height: 1.65;
    font-style: italic;
    margin-bottom: 14px;
}

/* Attachment link */
.award-attachment-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #e53e3e;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.award-attachment-btn i {
    font-size: 13px;
    transition: transform 0.2s ease;
}

.award-attachment-btn:hover {
    color: #c0392b;
    gap: 9px;
}

.award-attachment-btn:hover i {
    transform: rotate(-15deg);
}

/* Empty state */
.awards-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--slate-400);
}

.awards-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.35;
    display: block;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .awards-hero-title {
        font-size: 2.1rem;
    }

    .awards-hero-banner {
        min-height: auto;
        background-image:
            linear-gradient(to bottom, rgba(3, 20, 42, 0.97) 0%, rgba(4, 26, 56, 0.93) 100%),
            url('../images/awards_banner.jpg');
    }

    .award-card {
        gap: 16px;
        padding: 20px 18px;
    }

    .award-icon-wrap {
        width: 56px;
        height: 56px;
    }

    .award-icon-wrap i {
        font-size: 22px;
    }

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

@media (max-width: 480px) {
    .awards-hero-title {
        font-size: 1.65rem;
    }

    .awards-stat-pill {
        font-size: 12.5px;
        padding: 6px 14px;
    }

    .award-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

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

    .award-icon-wrap i {
        font-size: 20px;
    }

    .awards-main {
        padding: 32px 16px 56px;
    }
}