/* --- 1. Variables & Reset --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
    /* Brand Colors */
    --primary: #0943af;
    /* Royal Blue */
    --primary-foreground: #ffffff;

    --accent: #fcc203;
    /* Golden */
    --accent-foreground: #1a1a1a;

    /* Light Mode Backgrounds */
    --background: #f8fafc;
    --foreground: #0f172a;

    --card: #ffffff;
    --card-foreground: #0f172a;

    --muted: #f1f5f9;
    --muted-foreground: #64748b;

    --border: #e2e8f0;

    /* Glassmorphism helpers */
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-bg-strong: rgba(255, 255, 255, 0.95);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --primary-glow: rgba(9, 67, 175, 0.05);
    --primary-glow-medium: rgba(9, 67, 175, 0.08);
    --primary-shadow: rgba(9, 67, 175, 0.15);

    /* Fonts */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;

    --radius: 0.75rem;
    --container-width: 1200px;
}

/* Dark Mode Overrides */
[data-theme="dark"] {
    --background: #0f172a;
    --foreground: #e2e8f0;

    --card: #1e293b;
    --card-foreground: #e2e8f0;

    --muted: #1e293b;
    --muted-foreground: #94a3b8;

    --border: #334155;

    --accent-foreground: #f8fafc;

    --glass-bg: rgba(30, 41, 59, 0.9);
    --glass-bg-strong: rgba(30, 41, 59, 0.95);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --primary-glow: rgba(9, 67, 175, 0.1);
    --primary-glow-medium: rgba(9, 67, 175, 0.15);
    --primary-shadow: rgba(9, 67, 175, 0.25);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-color: var(--border);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

/* --- 2. Preloader Animation --- */
.preloader {
    position: fixed;
    inset: 0;
    background-color: var(--background);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* The Logo Wrapper for Animation */
.logo-animator {
    position: fixed;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Removed background/border/radius for clean look */
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;

    /* Initial State (Centered) */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(2);
    transition: all 1s cubic-bezier(0.76, 0, 0.24, 1);
}

.logo-animator img {
    height: 60px;
    /* Slightly larger base size */
    width: auto;
    /* Light Golden Shadow */
    filter: drop-shadow(0 0 8px rgba(252, 194, 3, 0.6));
}

/* Final State (Top Left Header Position) */
body.loaded .logo-animator {
    top: 1.5rem;
    /* Aligned with header padding */
    left: 2rem;
    transform: translate(0, 0) scale(1);
}

/* Pulse animation during load */
@keyframes logoPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 5px rgba(252, 194, 3, 0.4));
    }

    50% {
        filter: drop-shadow(0 0 15px rgba(252, 194, 3, 0.8));
    }
}

body.loading .logo-animator img {
    animation: logoPulse 2s infinite;
}

/* --- 3. Header & Layout --- */

/* Logo Slide-Out Menu */
.logo-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.logo-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.logo-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--card);
    z-index: 10002;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 25px var(--shadow-color);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.logo-menu.open {
    transform: translateX(0);
}

.logo-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.logo-menu-header img {
    height: 40px;
    width: auto;
}

.logo-menu-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--foreground);
    transition: all 0.2s ease;
}

.logo-menu-close:hover {
    background: var(--primary-glow-medium);
    color: var(--primary);
}

.logo-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.logo-menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    color: var(--foreground);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.logo-menu-link:hover {
    background: var(--primary-glow-medium);
    color: var(--primary);
}

.logo-menu-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    pointer-events: none;
}

/* Placeholder for where the logo sits */
.logo-placeholder {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

/* Navbar */
.navbar {
    pointer-events: auto;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    padding: 0.5rem 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px var(--shadow-color);
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;

    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.8s ease 0.8s, transform 0.8s ease 0.8s;
}

body.loaded .navbar {
    opacity: 1;
    transform: translateY(0);
}

/* --- Settings Dropdown --- */
.settings-container {
    position: relative;
    pointer-events: auto;
    margin-left: auto;
}

#settingsBtn {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary);
    box-shadow: 0 4px 6px -1px var(--shadow-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Same entrance animation as navbar */
    opacity: 0;
    transform: translateY(-20px);
}

body.loaded #settingsBtn {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease 0.8s, transform 0.8s ease 0.8s;
}

#settingsBtn.active {
    background: var(--primary);
    color: white;
}

#settingsBtn:hover {
    box-shadow: 0 6px 15px var(--primary-shadow);
    background: var(--primary-glow);
}

#settingsMenu {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 0.75rem;
    box-shadow: 0 10px 40px -10px var(--shadow-color);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

    /* Hidden state */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transform-origin: top right;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    min-width: 250px;
}

#settingsMenu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.settings-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary-glow-medium);
    border-radius: 9999px;
    padding: 0.25rem;
    gap: 0.25rem;
}

.theme-btn,
.lang-btn {
    flex: 1;
    padding: 0.5rem;
    border: none;
    background: transparent;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-btn {
    padding: 0.6rem 0.5rem;
    font-size: 0.95rem;
}

.theme-btn:hover,
.lang-btn:hover {
    background: var(--primary-glow);
}

/* Active States */
.theme-btn.active {
    background: var(--card);
    color: var(--primary);
    box-shadow: 0 2px 8px var(--shadow-color);
}

.lang-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px var(--primary-shadow);
}

.theme-btn.active:hover {
    background: var(--card);
}

.lang-btn.active:hover {
    background: var(--primary);
}

/* Dark mode settings dropdown fixes */
[data-theme="dark"] .settings-pill {
    background: rgba(51, 65, 85, 0.6);
}

[data-theme="dark"] .theme-btn,
[data-theme="dark"] .lang-btn {
    color: #94a3b8;
}

[data-theme="dark"] .theme-btn.active {
    background: rgba(51, 65, 85, 0.9);
    color: var(--accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .theme-btn:hover,
[data-theme="dark"] .lang-btn:hover {
    background: rgba(51, 65, 85, 0.5);
    color: #e2e8f0;
}

/* --- 7. Publication Page Specifics --- */

/* Royal Blue Bar */
.royal-blue-bar {
    width: 100%;
    height: 12px;
    background-color: var(--primary);
    /* Royal Blue */
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(9, 67, 175, 0.2);
}

/* Highlights Scroller */
.highlights-section {
    padding: 3rem 0;
    overflow: hidden;
    background-color: var(--background);
}

.scroller-container {
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
    /* Mask for fade effect on edges */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.scroller-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.scroller-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    to {
        transform: translateX(-50%);
    }
}

.scroller-item {
    flex: 0 0 350px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroller-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.scroller-img {
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.scroller-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.scroller-item:hover .scroller-img img {
    transform: scale(1.05);
}

.scroller-content {
    padding: 1.5rem;
}

.scroller-date {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    display: block;
    margin-bottom: 0.5rem;
}

.scroller-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.scroller-content p {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Springer List Styles */
.springer-list-section {
    padding-top: 2rem;
    padding-bottom: 6rem;
}

.list-heading {
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--foreground);
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.springer-list {
    display: flex;
    flex-direction: column;
}

.springer-item {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 1rem 0;
}

@media (max-width: 768px) {
    .springer-item {
        flex-direction: column-reverse;
    }

    .springer-image {
        width: 100%;
        max-width: 250px;
    }
}

.springer-content {
    flex: 1;
}

.springer-meta-top {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.s-separator {
    color: #ccc;
    font-weight: 300;
}

.s-access {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #007c89;
    /* Teal-ish accessible color */
}

.s-access svg {
    width: 14px;
    height: 14px;
}

.springer-title {
    font-family: var(--font-serif);
    /* Springer uses serif for titles often */
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.springer-title a {
    color: var(--foreground);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 4px;
    transition: text-decoration-color 0.2s;
}

.springer-title a:hover {
    color: var(--primary);
    text-decoration-color: var(--primary);
}

.springer-abstract {
    font-size: 0.95rem;
    color: var(--foreground);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.springer-authors {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.s-journal {
    text-decoration: underline;
}

.springer-footer {
    font-size: 0.85rem;
    color: var(--foreground);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.s-open-badge {
    color: #e67e22;
    /* Orange-ish for Open Access */
    font-weight: 600;
    text-decoration: underline;
}

.springer-image {
    width: 180px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    padding: 4px;
    background: var(--card);
    border-radius: 4px;
}

.springer-image img {
    width: 100%;
    height: auto;
    display: block;
}

.springer-divider {
    border: 0;
    height: 1px;
    background: var(--border);
    margin: 2rem 0;
}

.nav-link {
    padding: 0.6rem 1.2rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted-foreground);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.nav-link svg {
    width: 16px;
    height: 16px;
}

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

.nav-link.active {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 2px 10px rgba(9, 67, 175, 0.3);
}

/* Icon-only navbar on mobile */
@media (max-width: 768px) {
    .navbar {
        gap: 0.25rem;
        padding: 0.4rem 0.5rem 0.4rem 0.5rem;
        /* Balanced padding */
        /* Native Scrollbar Styling */
        scrollbar-width: thin;
        scrollbar-color: var(--primary) transparent;
        /* Fix: Make track completely transparent to avoid overlap */
    }

    .navbar::-webkit-scrollbar {
        height: 4px;
        /* Thin elegant scrollbar */
        display: block !important;
        -webkit-appearance: none;
    }

    .navbar::-webkit-scrollbar-track {
        background: transparent;
        /* Transparent webkit track */
        margin: 0 24px;
        /* Keeps thumb away from rounded edges */
    }

    .navbar::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: 9999px;
    }

    .nav-link {
        font-size: 0;
        /* Hides text */
        padding: 0.6rem;
        /* Makes it a square/circle button shape */
        border-radius: 50%;
        /* Perfect circles */
        justify-content: center;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-link svg {
        width: 25px;
        /* Slightly larger icon for mobile touch targets */
        height: 25px;
        transition: all 0.3s ease;
    }

    /* Expand into pill on hover/active to show name */
    .nav-link:hover,
    .nav-link:active {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
        border-radius: 9999px;
    }

    .nav-link:hover svg,
    .nav-link:active svg {
        width: 18px;
        /* Shrink to fit standard text layout nicely */
        height: 18px;
    }
}

/* --- 4. Sidebar --- */
.social-sidebar {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 100;
}

.social-item {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--card);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px var(--shadow-color);
    color: var(--muted-foreground);
    position: relative;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid var(--border);
}

.social-item:hover {
    transform: scale(1.1) translateX(-5px);
    color: white;
    background: var(--brand-color);
    border-color: transparent;
}

.social-item::before {
    content: attr(data-name);
    position: absolute;
    right: 120%;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: var(--foreground);
    color: var(--background);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.social-item:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
    .social-sidebar {
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        transform: none;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        background: var(--glass-bg-strong);
        backdrop-filter: blur(10px);
        padding: 0.75rem;
        border-top: 1px solid var(--border);
        box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
        z-index: 1000;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .social-item {
        width: 3rem;
        height: 3rem;
        border-radius: 50%;
        flex-shrink: 0;
    }

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

    footer {
        padding-bottom: 8rem !important;
    }
}

/* --- 5. Hero & Animations --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
}

.hero-bg {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(9, 67, 175, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    filter: blur(80px);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content>div:first-child {
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

/* Typewriter Update: Royal Blue Text, Golden Cursor, Start Full */
.hero h2 {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    color: var(--primary);
    /* Royal Blue */
    margin-bottom: 1.5rem;
    line-height: 1.1;
    display: flex;
    align-items: center;
}

.typewriter-text {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    /* Golden Cursor - transparent by default so it disappears after blink animation */
    border-right: 4px solid transparent;
    white-space: nowrap;
    width: 0;
    /* Start hidden, type out */
    animation:
        typing 2s steps(10) 1s forwards,
        blink 0.75s step-end 1s 6;
}

/* Logic: Start Full (Wait) -> Erase (0%) -> Type (100%) -> Wait */
@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 10ch;
    }
}

@keyframes blink {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--accent);
    }
}

/* --- Dropdown Buttons (Hero) --- */
.hero-actions {
    display: flex;
    flex-direction: column;
    /* Stack instead of wrap */
    gap: 1rem;
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
    /* Add breathing room below action buttons */
}

@media (min-width: 768px) {
    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.dropdown-wrapper {
    position: relative;
    /* Allow it to flex its width/height naturally */
    width: 100%;
}

@media (min-width: 768px) {
    .dropdown-wrapper {
        width: auto;
    }

    .dropdown-menu {
        /* Keep width content-based on desktop if preferred, but relative keeps pushing content down */
        width: max-content;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .btn {
        width: auto;
    }
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(9, 67, 175, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #073590;
}

/* Pop-up Menu */
.dropdown-menu {
    /* Removed absolute positioning */
    width: 100%;
    min-width: 200px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    padding: 0;
    /* Reset for smooth height animation */
    margin-top: 0.5rem;
    overflow: hidden;

    /* Expand/Collapse behavior */
    max-height: 0;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-wrapper.active .dropdown-menu {
    max-height: 200px;
    /* Arbitrary large enough height for items */
    opacity: 1;
    padding: 0.5rem;
    margin-bottom: 2rem;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--foreground);
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background 0.2s;
    cursor: pointer;
}

.dropdown-item:hover {
    background: var(--primary-glow);
    color: var(--primary);
}

.dropdown-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

/* Profile Image */
.profile-container {
    display: flex;
    justify-content: center;
    position: relative;
}

.profile-img-wrapper {
    width: clamp(200px, 60vw, 350px);
    height: clamp(200px, 60vw, 350px);
    padding: 8px;
    border-radius: 50%;
    background: var(--card);
    border: 4px solid var(--accent);
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.4s ease;
}

.profile-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-img-wrapper:hover {
    box-shadow: 0 0 30px rgba(252, 194, 3, 0.6);
    transform: scale(1.02);
}

/* --- 6. General Layout & Cards --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--primary);
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 1rem auto;
    border-radius: 2px;
}

.grid {
    display: grid;
    gap: 2rem;
}

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

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px var(--shadow-color);
    border-color: rgba(9, 67, 175, 0.2);
}

.chip {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--primary-glow-medium);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* View More Button Footer */
.section-footer {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 9999px;
    background: var(--card);
    color: var(--muted-foreground);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-sm:hover {
    border-color: var(--accent);
    color: var(--primary);
}

/* Skills */
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.skill-item {
    width: 100%;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skill-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--foreground);
}

.skill-percent {
    font-weight: 700;
    color: var(--primary);
}

.progress-track {
    width: 100%;
    height: 0.75rem;
    background-color: var(--border);
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, #2563eb 100%);
    border-radius: 9999px;
    width: 0;
    transition: width 1.5s ease-out;
}

.reveal.active .progress-fill {
    width: var(--w);
}

/* Publications */
.pub-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.pub-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.pub-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(252, 194, 3, 0.25);
    transform: translateY(-2px);
}

.pub-icon-box {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: var(--primary-glow-medium);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.pub-content {
    flex-grow: 1;
}

.pub-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.pub-authors {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

.pub-meta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.pub-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pub-tag.journal {
    background: var(--primary-glow-medium);
    color: var(--primary);
}

.pub-tag.conf {
    background: rgba(252, 194, 3, 0.15);
    color: #b48a00;
}

.pub-venue {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--primary);
}

.pub-link {
    color: var(--muted-foreground);
    padding: 0.5rem;
}

.pub-link:hover {
    color: var(--accent);
}

/* Timeline */
.timeline {
    border-left: 2px solid rgba(9, 67, 175, 0.2);
    margin-left: 1rem;
    padding-left: 2rem;
}

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

.timeline-dot {
    position: absolute;
    left: -2.6rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    background: var(--background);
    border: 3px solid var(--primary);
    border-radius: 50%;
}

/* Footer */
/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 3rem 0;
    margin-top: auto;
}

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

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-left,
    .footer-right {
        align-items: center;
    }
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.footer-left h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
}

.footer-left p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
}

.footer-left a {
    color: white;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

.footer-left a:hover {
    color: var(--accent);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Right align by default */
    gap: 1rem;
    text-align: right;
}

/* On mobile, override alignment to center */
@media (max-width: 768px) {
    .footer-left {
        text-align: center;
        align-items: center;
    }

    .footer-right {
        align-items: center;
        text-align: center;
    }
}

.footer-signature {
    height: 60px;
    /* Adjust as needed */
    width: auto;
    filter: brightness(0) invert(1);
    /* Make it white if it's black/transparent */
    opacity: 0.9;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- 8. Academics Page Specifics --- */

.page-header {
    padding-top: 8rem;
    padding-bottom: 2rem;
    text-align: center;
}

.education-block {
    position: relative;
    width: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    padding: 4rem 0;
}

.edu-overlay {
    position: absolute;
    inset: 0;
    background: var(--glass-bg);
    /* Light overlay to keep text readable */
    backdrop-filter: blur(2px);
    z-index: 1;
}

.edu-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
}

@media (max-width: 900px) {
    .edu-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}

.edu-logo-wrapper {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edu-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.edu-content {
    flex-grow: 1;
    color: var(--foreground);
    /* Dark text for contrast against light overlay */
}

.degree-title {
    font-family: var(--font-sans);
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.degree-subtitle {
    font-family: var(--font-sans);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.degree-year {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.institution-name {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    color: var(--primary);
    /* Use brand blue */
}

.institution-sub {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--muted-foreground);
}

.website-link {
    font-size: 0.95rem;
    font-weight: 500;
}

.website-link a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.website-link a:hover {
    color: var(--accent);
    /* Brand gold */
}

/* Alternate overlays if needed for different BG brightness */
.education-block:nth-child(odd) .edu-overlay {
    background: var(--glass-bg);
}

/* --- 9. Project Page Specifics --- */

.project-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.project-img {
    height: 240px;
    width: 100%;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.05);
}

/* Github Logo Overlay */
.github-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--glass-bg);
    border-radius: 50%;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    opacity: 0.8;
}

.project-card:hover .github-badge {
    opacity: 1;
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    color: var(--foreground);
}

.project-desc {
    font-size: 0.95rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
}

.project-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- 8. Academics Journey Map / Timeline --- */

.timeline-section {
    position: relative;
    padding: 4rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

/* The vertical line running through the center (or left) */
.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    /* Adjust based on logo size */
    width: 4px;
    background: var(--border);
    border-radius: 2px;
    z-index: 0;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5rem;
    z-index: 1;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Left: Logo on the timeline */
.timeline-left {
    position: relative;
    flex: 0 0 80px;
    /* Fixed width for alignment */
    display: flex;
    justify-content: center;
}

.timeline-logo-wrapper {
    width: 60px;
    /* Reduced specific logo container size */
    height: 60px;
    border-radius: 50%;
    background: var(--card);
    border: 3px solid var(--accent);
    /* Golden ring */
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    z-index: 2;
    /* Sit above the line */
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure logo fills the circle */
    padding: 2px;
    /* Small padding inside the ring */
    background-color: var(--card);
}

.timeline-logo-wrapper:hover {
    transform: scale(1.15);
    box-shadow: 0 0 15px var(--accent);
}

/* Middle: Content */
.timeline-content {
    flex: 1;
    padding: 0 2rem;
}

.timeline-degree {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.timeline-specialization {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-institute {
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

.timeline-institute a {
    text-decoration: none;
    transition: color 0.2s;
}

.timeline-institute a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.timeline-year {
    display: inline-block;
    background: var(--primary-glow-medium);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Right: Round BG Image */
.timeline-right {
    flex: 0 0 180px;
    /* Size of the round image */
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-bg-wrapper {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--border);
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease;
}

.timeline-bg-wrapper:hover {
    border-color: var(--primary);
}

.timeline-bg-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.timeline-bg-wrapper:hover img {
    transform: scale(1.2) rotate(3deg);
    /* Zoom and slight rotate */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .timeline-section::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
        padding-left: 70px;
        /* Make space for the logo/line */
        margin-bottom: 4rem;
    }

    .timeline-left {
        position: absolute;
        left: 0;
        top: 0;
        width: 60px;
    }

    .timeline-content {
        padding: 0;
        width: 100%;
    }

    .timeline-right {
        margin-top: 1.5rem;
        align-self: flex-start;
    }

    .timeline-bg-wrapper {
        width: 120px;
        height: 120px;
    }

    /* --- New/Updated Styles for Publications --- */

    /* 1. Standardize Section Titles */
    /* Ensure this class matches your existing highlights header style */
    .section-title h2 {
        font-size: 2rem;
        color: #0943af;
        /* Royal Blue */
        text-align: center;
        margin-bottom: 10px;
        font-weight: 700;
    }

    .section-title .divider {
        height: 4px;
        width: 60px;
        background-color: #fca311;
        /* Accent Gold */
        margin: 0 auto 40px auto;
    }

    /* 2. Access Types (Req 3) */
    .s-access {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        font-weight: 600;
    }

    /* Style for Open Access */
    .access-open {
        color: #d4af37;
        /* Gold color */
    }

    /* Style for Subscription/Closed */
    .access-closed {
        color: var(--muted-foreground);
        /* Dark Grey */
    }

    /* 3. Graphical Abstract Image (Req 6) */
    .springer-image {
        /* Made wider (previously likely 150px or auto) */
        flex: 0 0 250px;
        max-width: 250px;
        margin-left: 20px;
        border-radius: 8px;
        overflow: hidden;
        /* Needed for zoom effect to stay contained */
        border: 1px solid #eee;
        cursor: zoom-in;
        position: relative;
    }

    .springer-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
        /* Smooth zoom */
        display: block;
    }

    /* Hover Zoom Effect */
    .springer-image:hover img {
        transform: scale(1.8);
        /* Zoom level */
    }

    /* Mobile responsiveness adjustments */
    @media (max-width: 768px) {
        .springer-item {
            flex-direction: column;
        }

        .springer-image {
            flex: 0 0 auto;
            max-width: 100%;
            margin-left: 0;
            margin-top: 15px;
        }
    }

}

/* --- 10. Work Experiences (Journey Timeline) --- */

.journey-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

/* Central Dashed Line */
.journey-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 4px;
    background-image: linear-gradient(to bottom, var(--primary) 50%, transparent 50%);
    background-size: 4px 20px;
    /* Dashed effect */
    background-repeat: repeat-y;
    z-index: 0;
}

.journey-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 1;
    padding-top: 4rem;
    /* Space for Future Goals Pin */
}

/* Future Goals Pin (Top) */
.future-goals-pin {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(15deg);
    z-index: 2;
    text-align: center;
    width: 200px;
    /* Container width */
}

.pin-head {
    width: 60px;
    height: 60px;
    background: #ef4444;
    /* Red pin */
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    position: relative;
}

.pin-head::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 8px;
    right: 8px;
}

.pin-label {
    margin-top: 1rem;
    background: var(--card);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-weight: 700;
    font-family: var(--font-serif);
    color: var(--primary);
    display: inline-block;
}

/* Individual Items */
.journey-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6rem;
    position: relative;
    width: 100%;
}

.journey-item.left {
    flex-direction: row-reverse;
    /* Content on Left */
}

.journey-item.right {
    flex-direction: row;
    /* Content on Right */
}

.journey-content {
    width: 45%;
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.journey-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(9, 67, 175, 0.15);
    border-color: var(--accent);
}

/* Arrow pointing to center */
.journey-item.left .journey-content::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    border-width: 10px 0 10px 10px;
    border-style: solid;
    border-color: transparent transparent transparent var(--card);
}

.journey-item.left .journey-content:hover::after {
    border-left-color: var(--card);
    /* Keep matching card bg */
}

.journey-item.right .journey-content::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    border-width: 10px 10px 10px 0;
    border-style: solid;
    border-color: transparent var(--card) transparent transparent;
}

/* Center Marker */
.journey-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--card);
    border: 4px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 0 6px var(--background);
    /* Gap effect */
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-serif);
    font-size: 1.2rem;
}

.dummy-side {
    width: 45%;
    /* Balances the flex layout */
}

/* Role Typography */
.role-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.company-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.role-desc {
    font-size: 0.95rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .journey-line {
        left: 30px;
        /* Move line to left */
    }

    .journey-item,
    .journey-item.left,
    .journey-item.right {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 60px;
        /* Space for line */
    }

    .journey-marker {
        left: 30px;
        top: 0;
        transform: translate(-50%, 0);
    }

    .journey-content {
        width: 100%;
        margin-top: 2rem;
        /* Space below marker */
    }

    .journey-item.left .journey-content::after,
    .journey-item.right .journey-content::after {
        display: none;
        /* Hide arrows on mobile */
    }

    .dummy-side {
        display: none;
    }

    .future-goals-pin {
        left: 30px;
        transform: translateX(-50%) rotate(15deg);
    }
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(9, 67, 175, 0.4);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.back-to-top:hover {
    background: #073590;
    box-shadow: 0 6px 20px rgba(9, 67, 175, 0.5);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 5rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}