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

body {
    margin: 0;
    font-family: 'Helvetica Neue', sans-serif;
    background: #f3f5f9;
    color: #1f1f1f;
    line-height: 1.7;
    overflow-x: hidden;
}

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

.hero {
    position: relative;
    text-align: center;
    padding: 110px 20px 60px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.hero h2 {
    font-weight: 400;
    color: #444;
    margin-bottom: 14px;
}

.hero p {
    max-width: 650px;
    margin: 0 auto;
    color: #555;
}

/* Portrait aligned left near About */

.portrait {
    position: absolute;
    left: 60px;
    top: 65%;
    transform: translateY(-50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow:
        0 10px 25px rgba(0,0,0,0.12),
        0 4px 10px rgba(0,0,0,0.08);
}

/* =========================
   SECTIONS
========================= */

section {
    max-width: 950px;
    margin: 60px auto;
    padding: 0 20px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 600;
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 600;
}

/* =========================
   RESEARCH CARDS
========================= */

.research-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    background: white;
    padding: 45px;
    margin-bottom: 60px;
    border-radius: 24px;
    box-shadow:
        0 20px 50px rgba(0,0,0,0.06),
        0 8px 20px rgba(0,0,0,0.04);
}

.research-text {
    flex: 1;
}

.research-text p {
    margin-bottom: 18px;
    color: #444;
}

.research-text ul {
    padding-left: 20px;
}

.research-text li {
    margin-bottom: 8px;
}

/* Research Images */

.research-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 18px;
    flex-shrink: 0;
    cursor: pointer;
    box-shadow:
        0 25px 50px rgba(0,0,0,0.18),
        0 10px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.research-card img:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow:
        0 35px 65px rgba(0,0,0,0.22),
        0 15px 30px rgba(0,0,0,0.10);
}

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

.project-card {
    display: flex;
    gap: 30px;
    align-items: center;
    background: white;
    padding: 35px;
    margin-bottom: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.07);
}

.project-card img {
    width: 190px;
    border-radius: 18px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.coming {
    font-size: 0.9rem;
    color: #777;
}

/* =========================
   LINKS
========================= */

a {
    color: #2a5bd7;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

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

footer {
    text-align: center;
    padding: 60px 20px;
    font-size: 0.9rem;
    color: #666;
}

/* =========================
   ORB BACKGROUND
========================= */

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    z-index: -1;
}

.orb1 {
    width: 500px;
    height: 500px;
    background: #a5c8ff;
    top: -150px;
    left: -150px;
}

.orb2 {
    width: 600px;
    height: 600px;
    background: #ffd6f6;
    bottom: -200px;
    right: -150px;
}

.orb3 {
    width: 450px;
    height: 450px;
    background: #c4f5d0;
    top: 50%;
    left: 60%;
}

/* =========================
   LIGHTBOX MODAL
========================= */

.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
}

.lightbox-content {
    display: block;
    margin: 100px auto;
    max-width: 85%;
    max-height: 80%;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 42px;
    font-weight: 300;
    cursor: pointer;
}

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

@media (max-width: 850px) {

    .research-card,
    .project-card {
        flex-direction: column;
        text-align: center;
    }

    .research-card img {
        margin-top: 25px;
    }

    .portrait {
        position: static;
        transform: none;
        display: block;
        margin: 0 auto 30px auto;
    }

    .hero {
        padding: 70px 20px 40px;
    }
}
