/* ============================================
   GLOBAL STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Calibri,-apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000; } 

a {
    color: #4a9eff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/*THIS IF YOU wanna do bg change*/

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 30px;
}

/* ============================================
   HEADER SECTION
   ============================================ */

.header {
    background-color: #000000;
    border-bottom: 1px solid #1a1a3e;
    padding: 40px 0;
}

.header-content {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 40px;
    align-items: flex-start;
    padding: 0 30px;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: #ffffff;
}

.contact-info {
    font-size: 0.9rem;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.bio {
    font-size: 1rem;
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.bio strong {
    font-weight: 600;
    color: #ffffff;
}

.links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

.links a {
    color: #4a9eff;
}

.links a:hover {
    text-decoration: underline;
}

.header-photo {
    text-align: center;
}

.profile-img {
    width: 280px;
    height: 280px;
    border-radius: 8px;
    object-fit: cover;
    background-color: #e8e8e8;
}

.profile-img[src="assets/network.png"]:not([src*="data:"]) ~ .photo-placeholder,
.photo-placeholder {
    font-size: 2.8rem;
    color: #999;
    margin-top: 100px;
}

/* ============================================
   RESEARCH SECTION
   ============================================ */

.research-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 30px;
}

.research-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: #ffffff;
}

.research-intro {
    font-size: 1rem;
    line-height: 1.7;
    color: #c0c0c0;
    margin-bottom: 40px;
}

/* ============================================
   PROJECT CARDS
   ============================================ */

.projects {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.project-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    background-color: #0a0f2c;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #1a1f4c;
}

.project-image {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.project-img {
    width: 100%;
    max-width: 180px;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    background-color: #e8e8e8;
}

.project-content {
    display: flex;
    flex-direction: column;
}

.project-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.project-card h3 a {
    color: #4a9eff;
}

.project-card h3 a:hover {
    text-decoration: underline;
}

.project-meta {
    font-size: 0.9rem;
    color: #a0a0a0;
    margin-bottom: 5px;
}

.project-meta strong {
    font-weight: 600;
}

.project-venue {
    font-size: 0.85rem;
    color: #808080;
    font-style: italic;
    margin-bottom: 12px;
}

.project-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #d0d0d0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .header-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .header-photo {
        text-align: left;
    }

    .profile-img {
        width: 120px;
        height: 120px;
    }

    .project-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-image {
        justify-content: flex-start;
    }

    .project-img {
        max-width: 200px;
    }

    .links {
        gap: 15px;
        font-size: 0.9rem;
    }

    .container {
        padding: 40px 20px;
    }

    .research-section {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8rem;
    }

    .research-section h2 {
        font-size: 1.5rem;
    }

    .project-card h3 {
        font-size: 1rem;
    }

    .links {
        flex-direction: column;
        gap: 8px;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(3, 8, 68, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-item {
    position: relative;
}

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

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

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 2;
    animation: slideInLeft 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.4);
}

.hero-animation {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 400px;
}

.dna-helix {
    width: 150px;
    height: 300px;
    position: relative;
    animation: rotate 20s linear infinite;
}

.dna-helix::before,
.dna-helix::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--secondary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.dna-helix::before {
    left: 0;
    animation: dnaMove 4s ease-in-out infinite;
}

.dna-helix::after {
    right: 0;
    animation: dnaMove 4s ease-in-out infinite 2s;
}

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

@keyframes rotate {
    from {
        transform: rotateZ(0deg);
    }
    to {
        transform: rotateZ(360deg);
    }
}

@keyframes dnaMove {
    0%, 100% {
        transform: translateY(-50%) scaleX(1);
    }
    50% {
        transform: translateY(-50%) scaleX(0.7);
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 100px 20px;
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin: 20px auto 0;
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.stat {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat p {
    color: var(--text-light);
    font-weight: 500;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.protein-viz {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.2);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.protein-viz::before {
    content: '';
    position: absolute;
    inset: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    animation: rotateBorder 8s linear infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px);
    }
}

@keyframes rotateBorder {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   RESEARCH SECTION
   ============================================ */

.research {
    padding: 100px 20px;
    background-color: var(--bg-white);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.research-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.research-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: left 0.3s ease;
}

.research-card:hover::before {
    left: 0;
}

.research-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.15);
    border-color: rgba(0, 102, 204, 0.2);
}

.research-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: inline-block;
}

.research-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.research-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.research-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 212, 255, 0.1));
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(0, 102, 204, 0.2);
}

/* ============================================
   SKILLS SECTION
   ============================================ */

.skills {
    padding: 100px 20px;
    background-color: var(--bg-light);
}

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

.skill-category {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.skill-category h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: default;
}

.skill-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.contact .section-title {
    color: white;
}

.contact .section-title::after {
    background: var(--secondary-color);
}

.contact-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 60px;
    opacity: 0.9;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

.submit-button {
    padding: 15px 30px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.footer p {
    margin: 5px 0;
    opacity: 0.8;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    .hero-animation {
        margin-top: 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

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

    .section-title::after {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        display: none;
    }

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

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

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

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

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

    .cta-button {
        display: block;
        text-align: center;
    }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

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

.fade-in {
    animation: fadeInUp 0.6s ease;
}
