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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #222;
    background: #f9f9f9;
}

/* ======================= Header & Nav ======================= */
header {
    background: #1a1a1a;
    color: white;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav .nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

nav .burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

nav .burger div {
    width: 25px;
    height: 3px;
    background: white;
}

/* ======================= Hero Section ======================= */
#hero {
    height: 60vh;
    width: 100%;           /* Adjust width: 80%-95% as desired */
    max-width: 1200px;    /* Prevent it from being too wide on large screens */
    margin: 0 auto;       /* Center horizontally */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;

    /* Background */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?fit=crop&w=1950&q=80') 
                no-repeat center center/cover;
}


#hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 0.8rem 1.5rem;
    background: #ff6600;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s;
}

.btn:hover {
    background: #e65c00;
}

/* ======================= Sections ======================= */
section {
    padding: 4rem 2rem;
    max-width: 1080px;
    margin: auto;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

/* Research Section */
#research {
    background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)),
                url('https://images.unsplash.com/photo-1581091012184-9b4b34f6b72f?fit=crop&w=1950&q=80') 
                no-repeat center center/cover;
}

/* Publications Section */
#publications {
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)),
                url('https://images.unsplash.com/photo-1537432376769-00a41f4f66a8?fit=crop&w=1950&q=80') 
                no-repeat center center/cover;
}

.publication-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.publication a {
    color: #ff6600;
    text-decoration: none;
}

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

/* ======================= Projects ======================= */
.project-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.project-card {
    background: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)),
                url('https://images.unsplash.com/photo-1555949963-aa79dcee981e?fit=crop&w=800&q=80') 
                no-repeat center center/cover;
    padding: 1.5rem;
    width: 300px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
}

.project-card a {
    color: #ff6600;
    text-decoration: none;
}

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

/* ======================= Contact ======================= */
#contact p a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: bold;
}

#contact p a:hover {
    color: #ff6600;
}

/* ======================= Footer ======================= */
footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 1rem;
}

/* ======================= Responsive ======================= */
@media (max-width: 768px) {
    nav .nav-links {
        display: none;
        flex-direction: column;
        gap: 1rem;
        background: #1a1a1a;
        position: absolute;
        top: 70px;
        right: 0;
        width: 200px;
        padding: 1rem;
        border-radius: 5px;
    }

    nav .burger {
        display: flex;
    }

    nav.active .nav-links {
        display: flex;
    }

    #hero h1 {
        font-size: 2rem;
    }

    #hero p {
        font-size: 1rem;
    }
}

.skills-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.skill {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.skill img {
    width: 50px;
    height: 50px;
    margin-bottom: 0.5rem;
}
