body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Roboto", sans-serif;

}

.bebas-neue-regular {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
}


/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #E8DCC4;
    /* Light tan/sand color */
    border-bottom: 4px solid #945200;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     font-family: "Bebas Neue", sans-serif;
      letter-spacing: 0.1em;
}

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

.navbar-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #3C2F20;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.navbar-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.navbar-link {
    color: #3C2F20;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.navbar-link:hover,
.navbar-link.active {
    background-color: #945200;
    color: #FFFFFF;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background-color: #3C2F20;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    padding-top: 70px;
}

.hero-video {
    position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
}


 .float-image {
  float: left;
  margin: 0 16px 16px 0;   /* space between image and text */
  width: 240px;
}

/* Clear floats after the image so later content doesn't climb up */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}


.shape-image {
  float: left;
  width: 240px;
  margin: 0 16px 16px 0;
  shape-outside: circle(50% at 50% 50%);   /* text wraps a circular edge */
}



@media (max-width: 480px) {
    .hero-content {
        top: 10%;
        left: 5%;
        width: 90%;
        max-width: 400px;
        padding: 15px;
    }

    .hero-content h1 {
        font-size: 1.3rem;
    }

    .hero-content p {
        font-size: 0.85rem;
    }

    .cta {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .main-content {
        padding: 30px 20px;
        max-width: 100%;
    }

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

    .subtitle {
        font-size: 1rem;
    }

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

    .blog-section p {
        font-size: 1rem;
    }

    .sidebar {
        display: none;
    }

    .toc {
        display: none;
    }
}

.hero-content {
    position: absolute;
    top: 13%;
    left: 10%;
    color: #945200;
    /* Dark Brown */
    text-align: left;
    width: 80%;
    max-width: 600px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Blog Page Layout */
.container {
    display: flex;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 70px;
}

/* Researcher Page Layout */
.researcher-container {
    display: flex;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 70px;
}

.researcher-sidebar {
    width: 280px;
    position: sticky;
    top: 60px;
    height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 20px 0;
}

.researcher-main {
    flex: 1;
    padding: 60px 80px;
    max-width: 900px;
}

.researcher-profile {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 60px;
}

.researcher-photo-container {
    width: 280px;
    flex-shrink: 0;
    background-color: #E8DCC4;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(148, 82, 0, 0.15);
    border-radius: 4px;
    float: left;
  margin: 0 16px 16px 0;   /* space between image and text */
  width: 240px;
}

.researcher-photo-container2 {
    width: 180px;
    flex-shrink: 0;
    background-color: #E8DCC4;
    padding: 16px;
  margin: 0 16px 16px 16px;
    box-shadow: 0 8px 24px rgba(148, 82, 0, 0.15);
    border-radius: 4px;
    float:right;
}

.researcher-photo-container3 {
    width: 320px;
    flex-shrink: 0;
    background-color: #E8DCC4;
    padding: 16px;
  margin: 0 16px 16px 16px;
    box-shadow: 0 8px 24px rgba(148, 82, 0, 0.15);
    border-radius: 4px;
    float:right;
}

.researcher-photo {
    width: 100%;
    height: auto;
    display: block;
}

.researcher-content {
    flex: 1;
    text-align: justify;
      hyphens: auto; 
      padding-right:16px;
}

.researcher-content h1 {
    font-size: 2.5rem;
    margin: 0 0 20px 0;
    color: #945200;
    line-height: 1.3;
}

.researcher-content p {
    font-size: 1.1rem;
    line-height: 1;
    color: #3C2F20;
    margin-bottom: 24px;
}

.researcher-section {
    margin-bottom: 40px;
}

.researcher-section h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #945200;
    line-height: 1.3;
}

.researcher-section p {
    margin-bottom: 0;
}

.researcher-nav {
    background-color: rgba(60, 47, 32, 0.05);
    padding: 20px;
    border-left: 3px solid #945200;
}

.researcher-nav h3 {
    font-size: 1.2rem;
    margin: 0 0 20px 0;
    color: #945200;
}

.researcher-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.researcher-nav-link {
    display: block;
    padding: 12px 15px;
    color: #3C2F20;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.researcher-nav-link:hover {
    background-color: rgba(60, 47, 32, 0.1);
    border-left-color: #945200;
}

@media (max-width: 1024px) {
    .researcher-container {
        flex-direction: column;
    }

    .researcher-sidebar {
        width: 100%;
        position: static;
        height: auto;
        overflow: visible;
    }

    .researcher-nav {
        border-left: none;
        border-top: 3px solid #945200;
        padding: 20px;
    }

    .researcher-main {
        padding: 40px 30px;
        max-width: 100%;
    }

    .researcher-profile {
        flex-direction: column;
        gap: 30px;
    }

    .researcher-photo-container {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .researcher-main {
        padding: 30px 20px;
    }

    .researcher-content h1 {
        font-size: 2rem;
    }

    .researcher-section h2 {
        font-size: 1.3rem;
    }

    .researcher-content p {
        font-size: 1rem;
    }
}

.main-content {
    flex: 1;
    padding: 60px 80px;
    max-width: 900px;
}

.page-header {
    margin-bottom: 60px;
    border-bottom: 2px solid #945200;
    padding-bottom: 20px;
}

.page-header h1 {
    font-size: 3rem;
    margin: 0;
    color: #945200;
}

.subtitle {
    font-size: 1.2rem;
    color: #945200;
    margin-top: 10px;
}

.blog-post {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-section {
    scroll-margin-top: 60px;
}

.blog-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #945200;
    line-height: 1.3;
}

.blog-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #3C2F20;
    margin-bottom: 0;
}

.coffee-bean {
    width: 20px;
    height: 20px;
    float: left;
    margin-right: 12px;
    margin-top: 4px;
}

.coffee-bean2 {
    width: 50px;
    height: 50px;
    float: left;
    margin-right: 12px;
    margin-top: 4px;
}

.moka-pot {
    width: 20px;
    height: 20px;
    float: left;
    margin-right: 12px;
    margin-top: 4px;
}

.sidebar {
    width: 280px;
    position: sticky;
    top: 60px;
    height: calc(100vh - 120px);
    overflow-y: visible;
    padding: 20px 0;
}
.sidebar-image {
    width: 280px;
    height: auto;
    min-height: 384px;
    padding: 20px 0;
}

.sidebar-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-image-caption {
    font-size: 0.75rem;
    line-height: 1.3;
    margin-top: 10px;
    color: #3C2F20;
}


.toc {
    background-color: rgba(60, 47, 32, 0.05);
    padding: 20px;
    border-left: 3px solid #945200;
}

.toc h3 {
    font-size: 1.2rem;
    margin: 0 0 20px 0;
    color: #945200;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-link {
    display: block;
    padding: 12px 15px;
    color: #3C2F20;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.toc-link:hover {
    background-color: rgba(60, 47, 32, 0.1);
    border-left-color: #945200;
}

.toc-link.active {
    background-color: rgba(148, 82, 0, 0.1);
    border-left-color: #945200;
    font-weight: bold;
}

/* Contact Page Styles */
.contact-container {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background-color: #E8DCC4;
}

.contact-content {
    max-width: 600px;
    width: 100%;
}

.contact-content h1 {
    font-size: 3rem;
    color: #945200;
    margin-bottom: 20px;
}

.contact-content p {
    font-size: 1.2rem;
    color: #3C2F20;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-form {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #3C2F20;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #945200;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Arial', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #945200;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #945200;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #7a6418;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .navbar-container {
        padding: 0 15px;
    }

    .navbar-logo {
        font-size: 1.5rem;
    }

    .container {
        flex-direction: column;
    }

    .main-content {
        padding: 40px 30px;
        max-width: 100%;
    }

    .sidebar {
        width: 100%;
        position: static;
        height: auto;
        overflow: visible;
    }

    .toc {
        border-left: none;
        border-top: 3px solid #945200;
        padding: 20px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #E8DCC4;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .navbar-menu.active {
        transform: translateY(0);
    }

    .navbar-link {
        display: block;
        padding: 15px;
        text-align: center;
    }

    .main-content {
        padding: 30px 20px;
    }

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

    .subtitle {
        font-size: 1rem;
    }

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

    .blog-section p {
        font-size: 1rem;
    }

    .toc h3 {
        font-size: 1rem;
    }

    .toc-link {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .contact-content h1 {
        font-size: 2rem;
    }

    .contact-content p {
        font-size: 1rem;
    }

    .contact-form {
        padding: 25px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0 10px;
    }

    .navbar-logo {
        font-size: 1.3rem;
    }

    .main-content {
        padding: 20px 15px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .blog-section h2 {
        font-size: 1.3rem;
    }

    .blog-section p {
        font-size: 0.9rem;
    }

    .toc h3 {
        font-size: 0.9rem;
    }

    .toc-link {
        padding: 8px 10px;
        font-size: 0.85rem;
    }

    .contact-content h1 {
        font-size: 1.8rem;
    }

    .contact-content p {
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 8px;
        font-size: 0.9rem;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-content {
        top: 18%;
        left: 5%;
        width: 90%;
        max-width: 500px;
        padding: 15px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

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

    .cta {
        display: block;
        width: 100%;
        margin: 10px 0;
        text-align: left;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        top: 13%;
        left: 5%;
        width: 90%;
        max-width: 400px;
        padding: 10px;
    }

    .hero-content h1 {
        font-size: 1.3rem;
    }

    .hero-content p {
        font-size: 0.85rem;
    }

    .cta {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
}

.cta {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    background-color: #945200;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta:hover {
    background-color: #7a6418;
}

.thicker { font-weight: bold; }

/* Background Page CTA */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #945200;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.cta-button:hover {
    background-color: #7a6418;
}

.researcher-container {
    display: flex;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 70px;
}

.researcher-sidebar {
    width: 280px;
    position: sticky;
    top: 60px;
    height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 20px 0;
}

.researcher-main {
    flex: 1;
    padding: 60px 80px;
    max-width: 900px;
}

.researcher-profile {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 60px;
}

.researcher-photo-container {
    width: 280px;
    flex-shrink: 0;
    background-color: #E8DCC4;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(148, 82, 0, 0.15);
    border-radius: 4px;
}

.researcher-photo {
    width: 100%;
    height: auto;
    display: block;
}

.researcher-content {
    flex: 1;
}

.researcher-content h1 {
    font-size: 2.5rem;
    margin: 0 0 20px 0;
    color: #945200;
    line-height: 1.3;
}

.researcher-content p {
    font-size: 1.1rem;
    line-height: 1.3;
    color: #3C2F20;
    margin-bottom: 24px;
}

.researcher-section {
    margin-bottom: 40px;
}

.researcher-section h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #945200;
    line-height: 1.3;
}

.researcher-section p {
    margin-bottom: 0;
     line-height: 1.3;
}

.researcher-nav {
    background-color: rgba(60, 47, 32, 0.05);
    padding: 20px;
    border-left: 3px solid #945200;
}

.researcher-nav h3 {
    font-size: 1.2rem;
    margin: 0 0 20px 0;
    color: #945200;
}

.researcher-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.researcher-nav-link {
    display: block;
    padding: 12px 15px;
    color: #3C2F20;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.researcher-nav-link:hover {
    background-color: rgba(60, 47, 32, 0.1);
    border-left-color: #945200;
}

@media (max-width: 1024px) {
    .researcher-container {
        flex-direction: column;
    }

    .researcher-sidebar {
        width: 100%;
        position: static;
        height: auto;
        overflow: visible;
    }

    .researcher-nav {
        border-left: none;
        border-top: 3px solid #945200;
        padding: 20px;
    }

    .researcher-main {
        padding: 40px 30px;
        max-width: 100%;
    }

    .researcher-profile {
        flex-direction: column;
        gap: 30px;
    }

    .researcher-photo-container {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .researcher-main {
        padding: 30px 20px;
    }

    .researcher-content h1 {
        font-size: 2rem;
    }

    .researcher-section h2 {
        font-size: 1.3rem;
    }

    .researcher-content p {
        font-size: 1rem;
    }
}
