/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #35590D;
    --secondary-color: #2A4609;
    --accent-color: #4A7012;
    --text-primary: #2C3E2F;
    --text-secondary: #5A6B5D;
    --bg-primary: #ffffff;
    --bg-secondary: #F5F7F5;
    --bg-alt: #EDF1ED;
    --border-color: #D4DDD4;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Dark Mode Colors */
[data-theme="dark"] {
    --primary-color: #4A7012;
    --secondary-color: #35590D;
    --accent-color: #5F8C1A;
    --text-primary: #E8F0E8;
    --text-secondary: #B8C8B8;
    --bg-primary: #1a1f1a;
    --bg-secondary: #222822;
    --bg-alt: #2a322a;
    --border-color: #3a4a3a;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Loading Animation */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #35590D 0%, #2A4609 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    width: 120px;
    height: 120px;
}

.loader-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: 800;
    color: white;
    letter-spacing: 2px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #35590D 0%, #4A7012 100%);
    z-index: 9998;
    transition: width 0.1s ease;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.back-to-top:active {
    transform: translateY(-2px);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

[data-theme="dark"] .navbar {
    background-color: rgba(26, 31, 26, 0.95);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    gap: 1rem;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: 1rem;
}

.theme-toggle:hover {
    background-color: var(--bg-alt);
    transform: rotate(20deg);
}

.theme-toggle i {
    transition: transform 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #35590D 0%, #2A4609 100%);
    color: white;
    text-align: center;
    padding: 6rem 2rem;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: white;
    color: var(--primary-color);
}

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

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

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-cv {
    background: linear-gradient(135deg, #4A7012 0%, #5F8C1A 100%);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(74, 112, 18, 0.4);
}

.btn-cv::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-cv:hover::before {
    left: 100%;
}

.btn-cv:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(74, 112, 18, 0.5);
}

.btn-cv i {
    margin-right: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.social-links a {
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    opacity: 0.8;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--bg-alt);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* About Section */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* News Section */
.news-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.news-timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.news-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
}

.news-item::before {
    content: '';
    position: absolute;
    left: 71px;
    top: 10px;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border: 4px solid var(--bg-alt);
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
}

.news-item:hover::before {
    transform: scale(1.3);
    background-color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(53, 89, 13, 0.5);
}

.news-date {
    min-width: 60px;
    text-align: right;
    padding-top: 0.5rem;
}

.news-month {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.news-year {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.news-content {
    flex: 1;
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid transparent;
}

[data-theme="dark"] .news-content {
    background-color: var(--bg-secondary);
}

.news-content:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 30px rgba(53, 89, 13, 0.3);
    border-left: 4px solid var(--primary-color);
}

.news-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.news-badge.highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(53, 89, 13, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(53, 89, 13, 0);
    }
}

.news-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.news-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: -3.6rem;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 4px solid var(--bg-alt);
}

.timeline-content {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateX(0);
}

[data-theme="dark"] .timeline-content {
    background-color: var(--bg-secondary);
}

.timeline-content:hover {
    box-shadow: 0 20px 40px rgba(53, 89, 13, 0.3);
    transform: translateX(10px) scale(1.02);
    border-left: 4px solid var(--primary-color);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-content ul {
    margin-left: 1.5rem;
    color: var(--text-secondary);
}

.timeline-content ul li {
    margin-bottom: 0.5rem;
}

/* Research Grid */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.research-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.research-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(53, 89, 13, 0.1), transparent);
    transition: left 0.5s ease;
}

.research-card:hover::before {
    left: 100%;
}

[data-theme="dark"] .research-card {
    background-color: var(--bg-secondary);
}

.research-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 25px 50px rgba(53, 89, 13, 0.4);
    border-top: 3px solid var(--primary-color);
}

.research-header h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.research-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.research-institution {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.research-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.research-supervisor {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.research-outcome {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge {
    background-color: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.badge:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(53, 89, 13, 0.4);
}

/* Publications */
.publications-list {
    max-width: 900px;
    margin: 0 auto;
}

.publication-item {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid transparent;
}

[data-theme="dark"] .publication-item {
    background-color: var(--bg-secondary);
}

.publication-item:hover {
    transform: translateY(-5px) translateX(5px);
    box-shadow: 0 20px 40px rgba(53, 89, 13, 0.3);
    border-left: 4px solid var(--primary-color);
}

.publication-item:hover .publication-title {
    color: var(--primary-color);
}

.publication-type {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.publication-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.publication-authors {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.publication-venue {
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.publication-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.publication-link:hover {
    color: var(--secondary-color);
}

/* Experience Grid */
.experience-grid {
    display: grid;
    gap: 2rem;
}

.experience-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid transparent;
}

[data-theme="dark"] .experience-card {
    background-color: var(--bg-secondary);
}

.experience-card:hover {
    transform: translateX(15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(53, 89, 13, 0.3);
    border-left: 4px solid var(--primary-color);
}

.experience-card:hover .experience-header h3 {
    color: var(--secondary-color);
}

.experience-header h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.experience-company {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.experience-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.experience-list {
    margin-left: 1.5rem;
    color: var(--text-secondary);
}

.experience-list li {
    margin-bottom: 0.7rem;
    line-height: 1.6;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-category {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 3px solid transparent;
}

[data-theme="dark"] .skill-category {
    background-color: var(--bg-secondary);
}

.skill-category:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(53, 89, 13, 0.3);
    border-top: 3px solid var(--primary-color);
}

.skill-category:hover h3 {
    color: var(--secondary-color);
}

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    background-color: var(--bg-alt);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 2px solid transparent;
}

.skill-tag:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px) scale(1.05);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(53, 89, 13, 0.4);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    min-width: 40px;
}

.contact-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.contact-item a,
.contact-item p {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-social h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.social-links-large {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: white;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.social-btn:hover::before {
    width: 300px;
    height: 300px;
}

.social-btn i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.social-btn:hover i {
    transform: scale(1.2) rotate(5deg);
}

.social-btn.github {
    background-color: #2A4609;
}

.social-btn.scholar {
    background-color: #35590D;
}

.social-btn:hover {
    transform: translateX(15px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: white;
    text-align: center;
    padding: 2rem;
}

.footer p {
    color: inherit;
    margin: 0;
}

[data-theme="dark"] .footer {
    background-color: #1a1f1a;
    color: #ffffff;
    border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .footer p {
    color: #ffffff;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

    .theme-toggle {
        margin-left: auto;
        margin-right: 0.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .research-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .news-timeline::before {
        left: 0;
        width: 3px;
    }

    .news-item {
        flex-direction: column;
        gap: 0.5rem;
        margin-left: 1.5rem;
    }

    .news-item::before {
        display: none;
    }

    .news-date {
        min-width: auto;
        text-align: left;
        padding-top: 0;
    }

    .news-month,
    .news-year {
        display: inline;
        font-size: 1rem;
    }

    .news-month {
        margin-right: 0.5rem;
    }

    .news-content {
        padding: 1.2rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

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

    .section-title {
        font-size: 2rem;
    }

    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .loader {
        width: 80px;
        height: 80px;
    }

    .loader-text {
        font-size: 1.5rem;
    }
}
