/* services.css - Unified styling aligned with blog.css aesthetic */

/* Import serif font for consistent typography */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&display=swap');

/* Section Headings - aligned with blog style */
.section-heading {
    text-align: left;
    margin-top: 1.8em;
    margin-bottom: 1em;
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    color: #1a365d;
    font-weight: 700;
    line-height: 1.3;
}

/* Awards Container */
.awards-container {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    margin: 1.5em 0;
}

/* Award Cards - Base Style */
.award {
    padding: 1.5em;
    border-left: 4px solid #d97706;
    background: #fef3c7;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.award:hover {
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.12);
    transform: translateX(4px);
}

/* Prestigious Awards - Premium Style */
.award.prestigious {
    border-left-color: #1a365d;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.1);
}

.award.prestigious:hover {
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.15);
}

/* Award Title */
.award-title {
    font-weight: 700;
    font-size: 1.15em;
    color: #1a365d;
    margin: 0 0 0.5em 0;
    font-family: 'Merriweather', serif;
}

/* Award Event Details */
.award-event {
    color: #4b5563;
    margin: 0.25em 0;
    font-size: 1em;
    line-height: 1.6;
}

.award-event strong {
    color: #1a365d;
    font-weight: 700;
}

/* Award Statistics */
.award-stat {
    color: #d97706;
    font-weight: 700;
    margin: 0.5em 0;
    font-size: 0.95em;
}

/* Award Links */
.award-link {
    display: inline-block;
    margin-top: 0.8em;
}

.award-link a {
    color: #d97706;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.award-link a:hover {
    border-bottom-color: #d97706;
    color: #1a365d;
    gap: 0.8rem;
}

.award-link a:focus {
    outline: 2px solid rgba(217, 119, 6, 0.3);
    outline-offset: 3px;
    border-radius: 2px;
}

/* External Link Indicator */
.external-link::after {
    content: " ↗";
    font-size: 0.85em;
    margin-left: 2px;
}

/* Lists - Journals, Conferences, Thesis */
.journal-list,
.conference-list,
.thesis-list {
    display: grid;
    gap: 0.75em;
}

@media (min-width: 768px) {
    .journal-list,
    .conference-list {
        column-count: 2;
        column-gap: 2em;
    }
}

/* List Items */
.list-item {
    list-style: none;
    padding-left: 1.8em;
    position: relative;
    margin-bottom: 0.6em;
    color: #1f2937;
    line-height: 1.7;
    font-size: 0.95rem;
}

.list-item::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #d97706;
    font-weight: bold;
    margin-right: 0.8em;
}

/* Fallback for browsers that might not render arrow */
@supports (content: "•") {
    .list-item::before {
        content: "•";
        font-size: 1.2em;
    }
}

/* Years Badge */
.years-badge {
    display: inline-block;
    background: #fbbf24;
    color: #1a365d;
    padding: 0.35em 0.8em;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 0.5em;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}

.years-badge:hover {
    background: #d97706;
    color: white;
}

/* Intro Section */
.intro-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 1.5em;
    border-radius: 8px;
    margin-bottom: 2em;
    border-left: 4px solid #d97706;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.intro-section p {
    margin: 0;
    line-height: 1.7;
    color: #1f2937;
    font-size: 1rem;
}

/* Dark Mode Support */
/* @media (prefers-color-scheme: dark) {
    .award {
        background: #332800;
        border-left-color: #fbbf24;
    }

    .award.prestigious {
        background: linear-gradient(135deg, #332800 0%, #4a3600 100%);
    }

    .award-title,
    .award-event strong {
        color: #fbbf24;
    }

    .award-event {
        color: #ddd;
    }

    .intro-section {
        background: linear-gradient(135deg, #332800 0%, #4a3600 100%);
        color: #fbbf24;
    }

    .intro-section p {
        color: #ddd;
    }

    .section-heading {
        color: #fbbf24;
    }

    .list-item {
        color: #ddd;
    }

    .list-item::before {
        color: #fbbf24;
    }

    .years-badge {
        background: #332800;
        color: #fbbf24;
        border: 1px solid #fbbf24;
    }
} */

/* Responsive Design */
@media (max-width: 768px) {
    .journal-list,
    .conference-list {
        column-count: 1;
    }

    .award {
        padding: 1em;
    }

    .awards-container {
        gap: 1em;
    }

    .section-heading {
        font-size: 1.3rem;
        margin-top: 1.3em;
    }

    .intro-section {
        padding: 1.2em;
    }

    .award-title {
        font-size: 1.05em;
    }

    .list-item {
        font-size: 0.9rem;
        padding-left: 1.6em;
    }
}

@media (max-width: 480px) {
    .award {
        padding: 0.75em;
    }

    .section-heading {
        font-size: 1.2rem;
        margin-top: 1.2em;
        margin-bottom: 0.8em;
    }

    .years-badge {
        font-size: 0.7rem;
        margin-left: 0.3em;
        padding: 0.3em 0.6em;
    }

    .award-event {
        font-size: 0.95rem;
    }

    .list-item {
        padding-left: 1.5em;
        font-size: 0.9rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .award,
    .award-link a,
    .years-badge {
        transition: none;
    }
}

/* Print Styles */
@media print {
    .award {
        page-break-inside: avoid;
        box-shadow: none;
    }

    .award:hover {
        transform: none;
    }
}