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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

code {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    color: #1e3a8a;
    font-weight: 600;
}

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

/* Navigation bar styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.nav-logo-img {
    height: 32px;
    width: auto;
    margin-right: 10px;
    object-fit: contain;
    display: block;
    max-width: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #555;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main content area */
.main-content {
    margin-top: 70px;
}

.section {
    display: none;
}

.section.active {
    display: block;
}

/* Hero section styles */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 70px);
    text-align: center;
    color: white;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-authors {
    max-width: 800px;
    margin-bottom: 20px;
}

.hero-authors p {
    margin-bottom: 10px;
    line-height: 1.7;
}

.affiliations {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.affiliations p {
    margin: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.framework-showcase {
    text-align: center;
    margin: 30px 0;
}

.framework-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* About section styles */
.about-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;
    color: #1e3a8a;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: inline-block;
    width: 100%;
}

.about-card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-header h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1e3a8a;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #000;
    margin-bottom: 30px;
    text-align: left;
}

.principles h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #1e3a8a;
    text-align: center;
}

.principle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.principle-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 100%;
}

.principle-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 250px;
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.principle-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.principle-card h5 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e3a8a;
    text-align: center;
}

.principle-card p {
    font-size: 1rem;
    color: #000;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.stulife-intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.paradigm-shifts h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1e3a8a;
    text-align: center;
}

.shifts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.shifts-grid-3x1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.shift-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.shift-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.shift-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
}

.shift-card h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e3a8a;
    margin: 0;
    text-align: center;
}

.shift-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: #000;
    justify-content: center;
}

.shift-item i {
    color: #667eea;
    font-size: 1.2rem;
}

.stulife-img,
.architecture-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stulife-features {
    margin-top: 40px;
}

.feature-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    border-left: 4px solid #1e3a8a;
    text-align: center;
    justify-content: center;
    color: #000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature i {
    color: #667eea;
    font-size: 1.5rem;
}

.dataset-info {
    margin-top: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.dataset-info h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e3a8a;
    text-align: center;
}

.stulife-architecture {
    text-align: center;
    margin-top: 40px;
}

/* Citation section styles */
.citation-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 100px 0;
}

.citation-card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.citation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.citation-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e3a8a;
    text-align: center;
}

.copy-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.citation-content {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    overflow-x: auto;
}

#citation-text {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    color: #333;
    white-space: pre;
    margin: 0;
    line-height: 1.6;
}

/* Contact section styles */
.contact-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 80px 0;
}

.contact-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info p {
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 30px;
    text-align: center;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.contact-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #764ba2;
    transform: translateY(-2px);
}

.github-info {
    font-size: 1.1rem;
    color: #000;
    text-align: center;
}

.github-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.github-link:hover {
    color: #764ba2;
}

/* Submit section styles */
.submit-description {
    text-align: center;
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.submission-methods {
    margin-bottom: 60px;
}

.submission-methods h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 20px;
}

.submission-methods > p {
    text-align: center;
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.method-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.method-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.method-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.method-content p {
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 25px;
    line-height: 1.6;
}

.submission-steps {
    margin: 30px 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.step-number {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step p {
    margin: 0;
    font-size: 1rem;
    color: #000;
    line-height: 1.6;
}

.email-contact {
    margin-top: 15px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    max-width: fit-content;
}

.email-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.step-action {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.step-action .email-contact {
    margin-top: 0;
}

.inline-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.inline-link:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

.github-action {
    text-align: center;
    margin-top: 30px;
}

.review-process {
    margin-bottom: 60px;
}

.review-process h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 30px;
}

.process-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 30px;
}

.process-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
}

.process-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
}

.process-content p {
    font-size: 1.1rem;
    color: #000;
    line-height: 1.6;
    margin: 0;
}

.submission-guidelines h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 80px;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: inline-block;
    width: 100%;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

@media (min-width: 1200px) {
    .guidelines-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.guideline-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.guideline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.guideline-item i {
    color: #667eea;
    font-size: 1.5rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.guideline-item h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
}

.guideline-item p {
    font-size: 1rem;
    color: #000;
    line-height: 1.6;
    margin: 0;
}

/* Leaderboard styles */
.leaderboard-description {
    text-align: center;
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.table-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.table-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e3a8a;
    text-align: center;
}

.legend {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
}

.legend-item i {
    color: #667eea;
}

.table-container {
    overflow-x: auto;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: white;
}

.results-table th {
    background: #f7f8fa; /* Use a solid light grey color */
    color: #333; /* Dark text for contrast */
    padding: 18px 12px;
    text-align: center;
    font-weight: 700;
    border: 1px solid #e0e0e0; /* Match cell borders */
    font-size: 0.9rem;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Style for the second row of the header for better distinction */
.results-table thead tr:nth-child(2) th {
    background: #f7f8fa; /* Consistent background */
    font-weight: 600;
    font-size: 0.8rem;
    padding: 12px 10px;
}

.results-table td {
    padding: 12px 10px;
    text-align: center;
    border: 1px solid #e0e0e0;
    color: #000; /* Use black color for text */
}

.results-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.results-table tbody tr:hover {
    background: #f1f3f5; /* Simple hover effect */
}

.model-name {
    font-weight: 600;
    color: #000; /* Use black color for model name */
}

.model-icon {
    height: 1.2em; /* Adjust size relative to font size */
    vertical-align: middle; /* Align with the text */
    margin-left: 5px; /* Add some space */
}

.trophy-gold {
    color: #FFD700; /* gold */
    margin-right: 10px;
}
.trophy-silver {
    color: #C0C0C0; /* silver */
    margin-right: 10px;
}
.trophy-bronze {
    color: #CD7F32; /* bronze */
    margin-right: 10px;
}

.category-row {
    font-weight: 700;
}

.category-row td {
    color: #000 !important;
    border-color: #e0e0e0 !important;
}

.results-table strong {
    color: #00008B; /* Dark blue color for best results */
    font-weight: 700;
}

.leaderboard-note {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
    border-left: 4px solid #667eea;
}

.leaderboard-note p {
    font-size: 0.95rem;
    color: #000;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* Footer styles */
.footer {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    color: #000;
    font-size: 0.9rem;
    text-align: center;
}

.footer-right {
    display: flex;
    gap: 20px;
}

.footer-link {
    color: #667eea;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #764ba2;
    transform: translateY(-2px);
}

/* Responsive design */
@media (max-width: 1024px) and (min-width: 769px) {
    .principle-grid-2x2 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 25px;
    }
    
    .shifts-grid-3x1 {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .core-concepts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }


    .dataset-info ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 900px) {
    .guidelines-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 10px 0;
    }

    .hero-container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
        padding: 15px;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn {
        width: 200px;
        text-align: center;
    }

    .stulife-intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .principle-grid {
        grid-template-columns: 1fr;
    }
    
    .principle-grid-2x2 {
        grid-template-columns: 1fr;
    }
    
    .shifts-grid-3x1 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .core-concepts-grid {
        grid-template-columns: 1fr;
    }

    .dataset-info ul {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .table-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .legend {
        justify-content: flex-start;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .citation-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .method-card {
        padding: 25px 20px;
    }

    .method-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .step {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .step-action {
        flex-direction: column;
        gap: 15px;
    }

    .process-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .guideline-item {
        flex-direction: column;
        text-align: center;
    }

    .email-link {
        font-size: 0.9rem;
        padding: 8px 16px;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .about-card {
        padding: 30px 25px;
    }

    .citation-card {
        padding: 30px 25px;
    }

    .table-card {
        padding: 25px 15px;
    }

    .hero {
        padding: 40px 0;
    }

    .about-section,
    .citation-section {
        padding: 60px 0;
    }

    .contact-section {
        padding: 50px 0;
    }

    .results-table {
        font-size: 0.8rem;
    }

    .results-table th,
    .results-table td {
        padding: 8px 6px;
    }

    .guidelines-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .email-link {
        font-size: 0.85rem;
        padding: 8px 14px;
        gap: 5px;
    }
}

/* Animation effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-card,
.table-card,
.citation-card,
.method-card,
.process-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8, #6b47a0);
}

.dataset-info ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    text-align: left;
}

.dataset-info li {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    padding: 10px 15px;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.core-concepts {
    margin-top: 60px;
    text-align: center;
}

.core-concepts h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e3a8a;
}

.core-concepts > p {
    max-width: 800px;
    margin: 0 auto 30px;
    color: #000;
    font-size: 1.1rem;
    text-align: left;
}

.core-concepts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.concept-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.concept-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.concept-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.concept-card h5 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e3a8a;
}

.concept-card p {
    font-size: 1rem;
    color: #000;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}
