body {
    background: linear-gradient(-45deg, #d35ecd, #5aad45, #23a6d5, #3a0eb3);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

img {
    border-radius: 50%;
}

.profile-picture {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5%;
    height: auto;
    max-width: 100px;
}

.profile-name {
    text-align: center;
    padding: 10px;
    font-family: "Dosis", sans-serif;
    color: white;
    font-size: 22px;
    letter-spacing: 2px;
}

.profile-about {
    text-align: center;
    padding: 2px;
    font-family: "Dosis", sans-serif;
    color: white;
    font-size: 15px;
    letter-spacing: 2px;
}

.links {
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    border: 0.5px solid rgb(255, 255, 255);
    border-width: 1px;
    width: 490px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 40px;
    font-family: "Dosis", sans-serif;
    position: relative;
    font-size: 20px;
    letter-spacing: 3px;
    transition: transform 0.2s ease-in-out;
}

.links-in {
    padding: 5px;
    border: 0.5px solid rgba(255, 255, 255, 0);
    border-width: 1px;
    width: 30px;
    display: block;
    border-radius: 40px;
    left: 20px;
    position: absolute;
    font-size: 20px;
}

.hover {
    text-decoration: none;
    color: rgb(255, 255, 255);
    transition: color 1s;
}

.hover:hover {
    color: rgb(0, 0, 0);
    background: rgb(255, 255, 255);
    text-decoration: none;
}

.bottom-text {
    text-decoration: none;
    text-align: center;
    margin-top: 30px;
    font-size: 20px;
    color: rgb(255, 255, 255);
    font-family: "Handlee", cursive;
}

.link-hide {
    text-decoration: none;
}

.link-hide:hover {
    text-decoration: none;
}

@media (max-width: 548px) {
    .links {
        text-align: center;
        margin-top: 20px;
        padding: 20px;
        border: 0.5px solid rgb(255, 255, 255);
        border-width: 1px;
        width: 290px;
        display: block;
        margin-left: auto;
        margin-right: auto;
        border-radius: 40px;
        font-family: "Dosis", sans-serif;
        position: relative;
    }

    .profile-about {
        text-align: center;
        padding: 2px;
        font-family: "Dosis", sans-serif;
        color: white;
        font-size: 15px;
        letter-spacing: 1px;
    }
}

.links-footer {
    padding: 4px;
    border: 0.5px solid rgb(255, 255, 255);
    border-width: 1px;
    width: 40px;
    display: inline-block;
    border-radius: 30px;
    font-size: 20px;
    text-align: center;
    margin: 10px;
    margin-top: 50px;
    transition: transform 0.2s ease-in-out;
}

/* --- Hover Animations --- */
.links:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.links-footer:hover {
    transform: scale(1.1);
}

/* --- Skills Section --- */
.skills-container {
    text-align: center;
    margin: 15px 0 10px 0;
}

.skills-container span {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 5px 12px;
    font-size: 14px;
    border-radius: 15px;
    margin: 3px;
    display: inline-block;
    font-family: 'Dosis', sans-serif;
    font-weight: 600;
}


/* =========================================
   NEW STYLES (OCT 2025)
   ========================================= */

/* 1. Make Name and Title Bigger */
.profile-name {
    font-size: 2.5rem;
    /* Increased from 22px */
}

.profile-about {
    font-size: 1.25rem;
    /* Increased from 15px */
    margin-bottom: 20px;
    /* Added space below title */
}

/* 2. Container for the two profile pictures */
.profile-pictures-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    /* This adds a nice space between the pictures */
    margin-top: 5%;
    /* This replaces the old margin-top on the single image */
}

/* 3. Make Pictures Bigger */
.profile-picture {
    max-width: 160px;
    /* Increased from 100px */
    height: 160px;
    /* Make it square for a perfect circle */
    object-fit: cover;
    /* Prevents image from stretching */
    margin: 0;
    /* Resets old margins */
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* =========================================
   NEW OUTREACH PAGE STYLES (OCT 2025)
   ========================================= */

/* Main container for the new page */
.outreach-page-container {
    max-width: 960px;
    margin: 40px auto;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    color: #333;
}

/* Header for the new page */
.outreach-header {
    text-align: center;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.outreach-header h1 {
    font-family: 'Dosis', sans-serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: #111;
}

.back-link {
    font-family: 'Abel', sans-serif;
    font-size: 1.1rem;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #0056b3;
    text-decoration: none;
}

/* Row styles for the alternating layout */
.outreach-row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.outreach-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* This class reverses the order for the alt layout */
.outreach-row.reversed {
    flex-direction: row-reverse;
}

/* Image container */
.outreach-image {
    flex: 1;
    /* Takes up 1 part of the space */
    min-width: 250px;
}

.outreach-image img {
    width: 100%;
    border-radius: 8px; /* Softer square corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Text container */
.outreach-text {
    flex: 1.5;
    /* Takes up 1.5 parts of the space (a bit more) */
}

.outreach-text h3 {
    font-family: 'Dosis', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.outreach-text p {
    font-family: 'Abel', sans-serif;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #555;
}

/* --- Responsive styles for mobile --- */
@media (max-width: 768px) {
    .outreach-page-container {
        margin: 20px 10px;
        padding: 20px;
    }

    .outreach-row,
    .outreach-row.reversed {
        /* Stack vertically on mobile */
        flex-direction: column;
    }

    .outreach-text {
        /* Make text appear below image on mobile */
        order: 2;
    }

    .outreach-image {
        /* Make image appear above text on mobile */
        order: 1;
        width: 100%;
    }
}

/* =========================================
   RESEARCH PAGE STYLES (OCT 2025)
   ========================================= */

/* Style for the "View on GitHub" button */
.btn-github-link {
    display: inline-block;
    padding: 10px 18px;
    margin-top: 15px;
    margin-right: 10px; /* Add space between buttons */
    background-color: #333; /* Dark background */
    color: #fff; /* White text */
    border-radius: 5px;
    text-decoration: none;
    font-family: 'Dosis', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-github-link:hover {
    background-color: #111; /* Even darker on hover */
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-github-link i {
    margin-right: 8px; /* Space between icon and text */
}

/* Style for the new "Read Paper" button */
.btn-paper-link {
    display: inline-block;
    padding: 10px 18px;
    margin-top: 15px;
    background-color: #007bff; /* Primary blue */
    color: #fff; /* White text */
    border-radius: 5px;
    text-decoration: none;
    font-family: 'Dosis', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-paper-link:hover {
    background-color: #0056b3; /* Darker blue on hover */
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-paper-link i {
    margin-right: 8px; /* Space between icon and text */
}

/* New style for the text-only blocks */
.research-text-block {
    padding: 20px 10px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.research-text-block:last-child {
    border-bottom: none;
}

.research-text-block h3 {
    font-family: 'Dosis', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.research-text-block p {
    font-family: 'Abel', sans-serif;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #555;
}

/* New style for the image caption */
.outreach-image .caption {
    font-family: 'Abel', sans-serif;
    font-size: 0.95rem;
    font-style: italic;
    color: #666;
    margin-top: 10px;
    text-align: center;
}
