:root {
    --dark-green: #0d2e1f;
    --medium-green: #1a4d2e;
    --light-green: #2d6a4f;
    --accent-green: #40916c;
    --bright-green: #52b788;
    --neon-green: #74c69d;
    --terminal-text: #a8dadc;
    --dark-text: #1a3a31;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    background: linear-gradient(135deg, #0d2e1f 0%, #1a4d2e 50%, #0d2e1f 100%);
    color: var(--terminal-text);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            rgba(74, 195, 152, 0.03) 0px,
            rgba(74, 195, 152, 0.03) 1px,
            transparent 1px,
            transparent 2px
        );
    pointer-events: none;
    z-index: 1;
    animation: scanlines 8s linear infinite;
}

@keyframes scanlines {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(10px);
    }
}

header {
    background: linear-gradient(180deg, rgba(13, 46, 31, 0.95) 0%, rgba(26, 77, 46, 0.95) 100%);
    border-bottom: 3px solid var(--bright-green);
    padding: 2rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

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

.profile-header {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: fadeInDown 0.8s ease-out;
}

.profile-image {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    min-width: 150px;
    min-height: 150px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
}

.profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid var(--bright-green);
    box-shadow: 0 0 20px rgba(116, 198, 157, 0.5);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideInLeft 0.8s ease-out;
}

.profile-image video:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(116, 198, 157, 0.8);
}

.profile-info h1 {
    font-size: 2.5rem;
    color: var(--bright-green);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(116, 198, 157, 0.3);
    animation: slideInRight 0.8s ease-out;
    letter-spacing: 1px;
}

.profile-info .title {
    font-size: 1.2rem;
    color: var(--neon-green);
    margin-bottom: 1rem;
    animation: slideInRight 1s ease-out;
}

.terminal-cursor {
    display: inline-block;
    width: 12px;
    height: 20px;
    background: var(--bright-green);
    margin-left: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 49% {
        background: var(--bright-green);
    }
    50%, 100% {
        background: transparent;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 2;
}

section {
    background: linear-gradient(135deg, rgba(26, 77, 46, 0.8) 0%, rgba(45, 106, 79, 0.6) 100%);
    border-left: 4px solid var(--bright-green);
    border-radius: 8px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    animation: slideUp 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.founder-section {
    padding: 2rem 0 0;
}

.founder-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
    background: rgba(18, 66, 48, 0.92);
    border: 2px solid rgba(82, 183, 136, 0.35);
    border-radius: 22px;
    padding: 2rem;
    margin: 0 auto 2rem;
    max-width: 1100px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    backdrop-filter: blur(18px);
    position: relative;
}

.founder-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(82, 183, 136, 0.18), transparent 35%);
    pointer-events: none;
}

.brand-artwork {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    z-index: 1;
}

.brand-logo,
.brand-emblem {
    width: 100%;
    max-width: 320px;
    border-radius: 18px;
    border: 2px solid rgba(82, 183, 136, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    object-fit: contain;
    background: rgba(0, 0, 0, 0.25);
}

.brand-emblem {
    transform: translateY(10px);
}

.founder-copy {
    position: relative;
    z-index: 1;
}

.founder-label {
    display: inline-flex;
    color: var(--neon-green);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.founder-card h2 {
    font-size: 2.4rem;
    color: var(--bright-green);
    margin-bottom: 1rem;
    line-height: 1.05;
}

.founder-card h2 span {
    color: var(--neon-green);
}

.founder-card p {
    font-size: 1rem;
    color: var(--terminal-text);
    margin-bottom: 1.8rem;
    max-width: 620px;
}

.founder-card .btn {
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--terminal-text);
    letter-spacing: 0.05em;
    padding: 0.95rem 1.5rem;
    transition: all 0.3s ease;
}

.founder-card .btn:hover {
    background: rgba(82, 183, 136, 0.18);
    color: var(--bright-green);
    border-color: var(--bright-green);
}

@media (max-width: 992px) {
    .founder-card {
        grid-template-columns: 1fr;
        padding: 1.6rem;
    }

    .brand-logo,
    .brand-emblem {
        max-width: 260px;
    }
}

@media (max-width: 768px) {
    .founder-card {
        padding: 1.4rem;
    }

    .founder-card h2 {
        font-size: 2rem;
    }
}

/* Citizen Science Section */
.citizen-science-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(13, 46, 31, 0.95) 0%, rgba(26, 77, 46, 0.8) 100%);
    border: 2px solid rgba(82, 183, 136, 0.35);
    border-radius: 18px;
    margin: 2rem 0;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.citizen-science-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(116, 198, 157, 0.08) 50%, transparent 70%);
    pointer-events: none;
}

.science-content {
    z-index: 2;
}

.science-content h3 {
    color: var(--bright-green);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.science-content p {
    color: var(--terminal-text);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.science-image {
    z-index: 2;
}

.science-image img {
    width: 100%;
    border-radius: 10px;
    border: 2px solid rgba(82, 183, 136, 0.3);
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(0.95) contrast(1.05);
}

.citizen-science-card:hover .science-image img {
    transform: scale(1.03);
    filter: brightness(1.1) contrast(1.1);
    border-color: var(--bright-green);
}

@media (max-width: 768px) {
    .citizen-science-card {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .science-content h3 {
        font-size: 1.2rem;
    }
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(116, 198, 157, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

section h2 {
    color: var(--bright-green);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-shadow: 0 0 10px rgba(116, 198, 157, 0.3);
    position: relative;
    z-index: 1;
}

section h2 i {
    color: var(--neon-green);
}

section p {
    color: var(--terminal-text);
    margin-bottom: 1rem;
    line-height: 1.8;
    white-space: pre-wrap;
    word-wrap: break-word;
    position: relative;
    z-index: 1;
}

/* About Section */
#about {
    animation-delay: 0.1s;
}

/* Experience Section */
#experience {
    animation-delay: 0.2s;
}

.experience-item {
    background: linear-gradient(135deg, rgba(13, 46, 31, 0.7) 0%, rgba(26, 77, 46, 0.5) 100%);
    border-left: 3px solid var(--accent-green);
    padding: 1.8rem;
    margin-bottom: 1.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.experience-item:hover {
    transform: translateX(10px);
    border-left-color: var(--bright-green);
    box-shadow: 0 5px 20px rgba(116, 198, 157, 0.2);
}

.experience-item h3 {
    color: var(--bright-green);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.experience-item .company {
    color: var(--neon-green);
    font-weight: bold;
    font-size: 1.05rem;
}

.experience-item .duration {
    color: var(--light-green);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.experience-item .location {
    color: var(--accent-green);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.experience-item p {
    color: var(--terminal-text);
    margin-bottom: 0;
}

/* Skills Section */
#skills {
    animation-delay: 0.3s;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.skill-card {
    background: linear-gradient(135deg, rgba(13, 46, 31, 0.9) 0%, rgba(26, 77, 46, 0.7) 100%);
    border: 2px solid var(--accent-green);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(13, 46, 31, 0.95) 0%, rgba(26, 77, 46, 0.8) 100%);
    border: 2px solid rgba(82, 183, 136, 0.35);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: var(--terminal-text);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--bright-green);
    box-shadow: 0 18px 40px rgba(82, 183, 136, 0.22);
}

.project-image {
    overflow: hidden;
    background: rgba(0, 0, 0, 0.14);
}

.project-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.project-content {
    padding: 1.4rem;
}

.project-content h3 {
    color: var(--bright-green);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.project-content p {
    color: var(--terminal-text);
    line-height: 1.7;
    font-size: 0.95rem;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(116, 198, 157, 0.2), transparent);
    transition: left 0.5s ease;
}

.skill-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--bright-green);
    box-shadow: 0 10px 30px rgba(116, 198, 157, 0.3);
}

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

.skill-card i {
    color: var(--bright-green);
    font-size: 2rem;
    margin-bottom: 0.8rem;
    display: block;
    transition: transform 0.3s ease;
}

.skill-card:hover i {
    transform: rotate(10deg) scale(1.2);
}

.skill-card span {
    color: var(--terminal-text);
    font-size: 0.95rem;
    line-height: 1.4;
    display: block;
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background: linear-gradient(180deg, rgba(13, 46, 31, 0.95) 0%, rgba(26, 77, 46, 0.95) 100%);
    border-top: 3px solid var(--bright-green);
    padding: 2rem;
    text-align: center;
    color: var(--terminal-text);
    position: relative;
    z-index: 2;
    margin-top: 3rem;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
}

footer p {
    margin: 0;
    font-size: 0.95rem;
}

footer .contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

footer .contact-info a {
    color: var(--bright-green);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

footer .contact-info a:hover {
    color: var(--neon-green);
    text-shadow: 0 0 10px rgba(116, 198, 157, 0.5);
}

.terminal-prompt {
    color: var(--bright-green);
    font-weight: bold;
}

.terminal-prompt::after {
    content: ' > ';
    animation: blink 1s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-info h1 {
        font-size: 1.8rem;
    }

    .profile-info .title {
        font-size: 1rem;
    }

    section {
        padding: 1.5rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .experience-item {
        padding: 1rem;
    }

    footer .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .profile-image img {
        width: 120px;
        height: 120px;
    }

    .profile-info h1 {
        font-size: 1.5rem;
    }

    section {
        padding: 1rem;
        border-left-width: 3px;
    }

    section h2 {
        font-size: 1.3rem;
    }

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

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--bright-green);
    color: var(--dark-text);
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark-green);
}

::-webkit-scrollbar-thumb {
    background: var(--bright-green);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-green);
}
