/* Global Styles */
:root {
    --primary-color: #2b2b2b;
    --secondary-color: #4a4a4a;
    --accent-color: #666666;
    --text-color: #333333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Mobile Menu Button */
.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
}

/* Hero Section */
.hero {
    padding-top: calc(6rem + 70px);
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--white);
    color: var(--primary-color);
    padding-bottom: 6rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.profile-container {
    text-align: right;
    padding-right: 2rem;
    border-right: 2px solid var(--border-color);
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 5px solid var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.02);
}

.hero-text {
    padding-left: 2rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 300;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.social-links {
    margin-top: 2rem;
}

.social-links a {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-right: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* About Section */
.about {
    padding: 5rem 1rem;
    background-color: var(--light-bg);
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Research Section */
.research {
    padding: 5rem 1rem;
    background-color: var(--light-bg);
}

.research h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.research-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.research-card:hover {
    transform: translateY(-5px);
}

.research-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Publications Section */
.publications {
    padding: 5rem 1rem;
    background-color: var(--light-bg);
}

.publications h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.publications-list {
    max-width: 900px;
    margin: 0 auto;
}

.publication-item {
    background: var(--white);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.publication-item:hover {
    transform: translateY(-5px);
}

.pub-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.pub-logo {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pub-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
}

.pub-main {
    flex-grow: 1;
}

.pub-main h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    line-height: 1.4;
}

.pub-main h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.pub-main h3 a:hover {
    color: var(--secondary-color);
}

.authors {
    color: #666;
    font-style: italic;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.venue {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.pub-abstract {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 1rem;
    position: relative;
    max-height: 4.8em;
    overflow: hidden;
}

.pub-abstract p {
    margin: 0;
}

.pub-abstract::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 1.6em;
    background: linear-gradient(to right, transparent, var(--white) 75%);
}

/* Experience Section */
.experience {
    padding: 5rem 1rem;
    background-color: var(--white);
}

.experience h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--accent-color);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    width: 50%;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 2rem;
}

.timeline-date {
    position: absolute;
    right: -120px;
    top: 0;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.timeline-item:nth-child(even) .timeline-date {
    right: auto;
    left: -120px;
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.company-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.achievements {
    list-style: none;
    padding-left: 1rem;
}

.achievements li {
    margin-bottom: 0.5rem;
    position: relative;
}

.achievements li::before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: -1rem;
}

.research-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.research-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.research-group h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.supervisors {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    font-style: italic;
}

.supervisors strong {
    color: var(--primary-color);
    font-style: normal;
}

.timeline-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.timeline-content a:hover {
    color: var(--secondary-color);
}

.timeline-item.hidden {
    display: none;
}

.timeline-item.visible {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.show-more-container {
    text-align: center;
    margin-top: 2rem;
}

.show-more-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.show-more-btn i {
    transition: transform 0.3s ease;
}

.show-more-btn.expanded i {
    transform: rotate(180deg);
}

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

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 1rem;
}

/* Contact Section */
.contact {
    padding: 5rem 1rem;
    background-color: var(--white);
}

.contact h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0 1rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .profile-container {
        text-align: center;
        padding-right: 0;
        border-right: none;
        border-bottom: 2px solid var(--border-color);
        padding-bottom: 2rem;
    }

    .hero-text {
        padding-left: 0;
        text-align: center;
    }

    .profile-image {
        width: 250px;
        height: 250px;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .social-links {
        justify-content: center;
    }

    .social-links a {
        margin: 0 1rem;
    }
}

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

    .nav-content {
        padding: 0.8rem 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 5rem 1rem 1rem;
        gap: 1rem;
        z-index: 1000;
    }

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

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 0.8rem;
        font-size: 1.2rem;
    }

    .hero {
        padding-top: 5rem;
        padding-left: 1rem;
        padding-right: 1rem;
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .profile-container {
        padding-right: 0;
        border-right: none;
        border-bottom: 2px solid var(--border-color);
        padding-bottom: 1.5rem;
    }

    .hero-text {
        padding-left: 0;
    }

    .profile-image {
        width: 200px;
        height: 200px;
    }

    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .hero-text h2 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .social-links {
        margin-top: 1.5rem;
        justify-content: center;
    }

    .social-links a {
        margin: 0 0.8rem;
        font-size: 1.3rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .nav-links a,
    .social-links a,
    .contact-item a {
        padding: 0.5rem;
    }

    .show-more-btn {
        padding: 0.8rem 1.5rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero {
        padding-top: 4.5rem;
    }

    .profile-image {
        width: 180px;
        height: 180px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text h2 {
        font-size: 1rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .social-links a {
        font-size: 1.2rem;
        margin: 0 0.6rem;
    }

    .publication-item {
        padding: 1rem;
    }

    .pub-main h3 {
        font-size: 1.1rem;
    }
}

.sentient-logo-scaled {
    transform: scale(0.7);  /* Adjust this value between 0 and 1 to control zoom level */
} 