/* General Styles */
body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fafafa;
    color: #333;
    font-size: 1.2rem;   /* increase base text size from ~16px to ~17.5px */
    line-height: 1.8;    /* slightly more spacing between lines */
}

h1, h2, h3 {
    font-family: "Merriweather", serif;
    margin-bottom: 0.5em;
    color: #1a1a1a;
}


main {
    max-width: 1500px;   /* keeps text nicely contained */
    margin: 0 auto;      /* centers horizontally */
    padding: 0 20px;     /* adds space left/right */
}

main p {
    font-size: 1.2rem;
    line-height: 1.8;
}
/* Header Styles */
header {
    background-color: rgb(10, 86, 0); 
    background-image: linear-gradient(rgb(255, 255, 255), rgba(7, 140, 0, 0.5), rgba(5, 41, 0, 0.5));
    min-height: 90px;
    border-bottom: 3px solid #e8491d;
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    align-items: center;   /* vertically center contents */
    justify-content: space-between;
    padding: 0 20px;
}

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

header nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

header nav ul li a {
    font-size: 1.05rem; /* slightly larger than before */
    color: #fff;
    padding: 12px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s, border-bottom 0.3s;
}

header nav ul li a:hover {
    color: #e8491d;
    border-bottom: 2px solid #e8491d;
}

header .logo a {
    font-size: 1.5rem;  /* larger logo text */
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

/* Hero Section */
#hero {
    background: #eee;
    text-align: center;
    padding: 60px 20px;
}

#hero img {
    width: 180px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

#hero h1 {
    font-size: 2.2em;
    font-weight: bold;
}

.cta-button {
    background: #e8491d;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #c43c17;
}

.cta-link {
    color: #e8491d;
    
    text-decoration: none;
    font-weight: bold;
    
}

.cta-link:hover {
    /* color: #e8491d; */
    text-decoration: underline;
}

/* Featured Research */
#featured-research {
    text-align: center;
    padding: 40px 0;
}

.research-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: left;
}

/* .research-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
} */
/* .research-item video {
    display: block;
    max-width: 600px;  
    width: 100%;       
    margin: 15px auto;  
    margin: 15px 0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
} */

.video-container {
    display: flex;
    flex-wrap: wrap;     /* ensures responsiveness */
    gap: 20px;           /* space between video and text */
    align-items: flex-start;
    margin-top: 15px;
    align-items: center;
}

.video-container video {
    flex: 1 1 50%;       /* takes up about 45% of the width */
    max-width: 600px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.video-description {
    flex: 1 1 45%;       /* takes up about 50% of the width */
    font-size: 1.2rem;
    line-height: 1.8;
}

.video-description p {
    margin-bottom: 15px;
}

/* Mobile-friendly: stack video above text */
@media (max-width: 768px) {
    .video-container {
        flex-direction: column;
    }

    .video-container video,
    .video-description {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
.read-more {
    display: inline-block;
    background: #e8491d;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.3s;
}

.read-more:hover {
    background: #c43c17;
    text-decoration: none;
}


/* About Section */
#about {
    padding: 40px 0;
    text-align: center;   /* centers title, image, and text */
}

#about h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
}

#about img {
    width: 180px;                   /* same as Home page */
    border-radius: 50%;             /* circular image */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: block;                 /* ensures centering */
    margin: 0 auto 20px auto;       /* centers image and adds bottom spacing */
}

#about p {
    max-width: 800px;               /* keeps text from going too wide */
    margin: 0 auto 20px auto;       /* centers the text block */
    line-height: 1.6;
    font-size: 1.2rem;
    text-align: left;               /* keeps body text aligned for readability */
}

#about a {
    color: #e8491d;                  /* orange accent for links */
    text-decoration: none;
}

#about a:hover {
    text-decoration: underline;
}


footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* Publications Section */
#publications {
    padding: 40px 0;
}

#publications h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
}

#publications ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#publications li {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

#publications li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#publications p {
    margin: 0 0 10px 0;
    line-height: 1.5;
}

/* Publications ADS Button */
#publications a {
    display: inline-block;
    background: #e8491d;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: normal;
    text-decoration: none;
    transition: background 0.3s;
}

#publications a:hover {
    background: #c43c17;
    text-decoration: none;
}

/* Talks Section */
#talks {
    padding: 40px 0;
}

#talks h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
}

#talks h3 {
    margin-top: 30px;
    font-size: 1.4em;
    color: #014300;
}

#talks ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#talks li {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

#talks li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#talks a {
    display: inline-block;
    background: #e8491d;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.3s;
}

#talks a:hover {
    background: #c43c17;
}


/* Contact Section */
#contact {
    padding: 40px 0;
}

#contact h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
}

#contact p {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

#contact ul {
    list-style: none;
    padding: 0;
    max-width: 600px;   /* keeps it from getting too wide */
    margin: 0 auto;     /* centers the list */
}

#contact li {
    margin-bottom: 12px;
    font-size: 1.2rem;
    text-align: center;
}

#contact a {
    color: #e8491d;
    text-decoration: none;
    font-weight: bold;
}

#contact a:hover {
    text-decoration: underline;
}
