/* ------ HEADER ------ */

/* ------ COLOR VARIABLES ------ */
:root {
    --color-bg: #FFF;             /* Pure white */
    --color-bg-soft: #f9fafb; /* fffaf6      /* Soft sections */
    --color-text-primary: #1b1813;   /* Near-black */
    --color-text-secondary: #393228; /* Secondary text */
    --color-accent: #f96326;         /* Clean blue */
    --color-accent-hover: #1d979e;   /* Hover state */
    --color-border: #393228;         /* Subtle borders / UI */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lexend';
    color: var(--color-text-primary);
    background: var(--color-bg);
}
.header {
    width: 100%;
    padding: 20px 40px;
    display: flex;
    flex-wrap: wrap;             /* Allows items to wrap on small screens */
    justify-content: space-between;
    align-items: center;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 70px;            /* Ensures enough height for content */
    box-sizing: border-box;      /* Includes padding in height */
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: bold;
    color: var(--color-text-secondary);
    flex-shrink: 0;              /* Prevent logo from shrinking */
}

.logo img{
    height: 42px;
    width: auto;
    display: block;
}

/* Navigation links */
.header nav {
    display: flex;
    flex-wrap: wrap;             /* Wrap links on small screens */
    gap: 15px;
}

.header nav a {
    color: var(--color-text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.2s;
    white-space: nowrap;         /* Prevents link text from breaking */
}

.header nav a:hover {
    color: var(--color-accent-hover);
}

/* Mobile / small screen adjustments */
@media screen and (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }

    .header nav {
        width: 100%;
        justify-content: flex-start;
        margin-top: 10px;
    }

    .header nav a {
        margin-right: 15px;
        margin-bottom: 5px; /* Adds small spacing between wrapped links */
    }
}


/* ------ HERO SECTION ------ */
.hero-home {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: row;
    height: 75vh;
    padding: 0 20px;
    background: var(--color-bg-soft);
    color: var(--color-text-primary);
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);

}

/* Hero Text */
.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 700px;
}

/* LARGE HERO LOGO */
.hero-logo {
    width: 90%;          /* Increase/decrease for size */
    max-width: 1000px;   /* Prevents it from getting too huge */
    height: auto;
    margin-bottom: 30px;
    animation: fadeIn 1.2s ease;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: fadeIn 1.3s ease;
    color: var(--color-text-primary);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1.7s ease;
    color: var(--color-text-secondary);
}

/* CTA Button */
.cta-btn {
    background: var(--color-accent);
    color: var(--color-bg);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s;
    display: inline-block;
    animation: fadeIn 2s ease;
}

.cta-btn:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
}

/* Fade-in animation for text */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .hero-home {
        flex-direction: column;
        padding: 20px;
        height: auto;
    }

    .hero-logo {
        width: 100%;
        max-width: 500px;
    }

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

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




/* ------ MISSION SECTION ------ */
.mission-section {
    padding: 80px 20px;
    background: var(--color-bg);
    text-align: center;
    border-bottom: 1px solid var(--color-border);

}

.mission-section h2 {
    font-size: 2rem;
    color: var(--color-text-primary);
    margin-bottom: 20px;
}

.mission-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-accent); /* original accent for subtle emphasis */
    margin: 15px auto 0;
    border-radius: 2px;
}

.mission-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--color-text-secondary);
}

.mission-list {
  list-style: none;
  padding: 0;
}

.mission-list li {
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  background: var(--color-bg-soft);
  border-radius: 0.75rem; /* try 8px–16px range */
  border-left: 4px solid var(--color-accent);
  border-top: 2px solid var(--color-accent-hover);
  border-right: 2px solid var(--color-accent-hover);
  border-bottom: 2px solid var(--color-accent-hover);
  line-height: 1.6;
}

/* ------ VALUES SECTION ------ */
.values-section {
    padding: 80px 20px;
    background: var(--color-bg-soft); /* softer, warmer background */
}

.values-section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-text-primary);
    position: relative;
}

.values-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-accent); /* original accent for subtle emphasis */
    margin: 15px auto 0;
    border-radius: 2px;
}

.values-grid {
    display: grid;
    max-width: 1100px;
    margin: 0 auto;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.value-card {
    background: var(--color-bg); /* white card for gentle contrast */
    border: 2px solid var(--color-text-primary); /* softer orange */
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04); /* subtle, soft shadow */
}

.value-card h3 {
    color: var(--color-accent); /* main accent color */
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.value-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Hover effects */
.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    border-color: var(--color-accent-hover) /* gentle lift effect */
}


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

/* ------ ABOUT / TEAM SECTION FULL-WIDTH ROWS ------ */
.about-section {
    padding: 80px 20px;
    background: var(--color-bg-soft);
}

.about-section .section-title {
    font-size: 2.2rem;
    color: var(--color-text-primary);
    text-align: center;
    margin-bottom: 20px;
}

.about-section .section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-accent-hover); /* original accent for subtle emphasis */
    margin: 15px auto 0;
    border-radius: 2px;
}

.about-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.team-member-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: var(--color-bg);
    border: 3px solid var(--color-text-primary);
    border-radius: 15px;
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member-row:hover {
    transform: translateY(-3px);
    box-shadow: 0px 10px 20px rgba(0,0,0,0.08);
    border-color: var(--color-accent-hover)
}


.team-member-image {
    flex: 0 0 200px;
    padding: 20px;               /* ensure div has height */
    text-align: center;
}


.team-member-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3.5px solid var(--color-accent);
}

.team-member-info {
    flex: 1;
    padding: 20px 30px;
}

.team-member-info h3 {
    font-size: 1.5rem;
    color: var(--color-text-primary);
    margin-bottom: 10px;
}

.team-member-info p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Make it stack on small screens */
@media screen and (max-width: 768px) {
    .team-member-row {
        flex-direction: column;
        text-align: center;
    }

    .team-member-image {
        flex: none;
        padding: 15px;
    }

    .team-member-info {
        padding: 15px;
    }
}

/* ------ WORK PAGE FULL-WIDTH ACCORDION ------ */
.work-section {
    padding: 80px 20px;
    background: var(--color-bg-soft);
}

.work-section .section-title {
    font-size: 2.2rem;
    color: var(--color-text-primary);
    text-align: center;
    margin-bottom: 40px;
}

.work-section .section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-accent-hover); /* original accent for subtle emphasis */
    margin: 15px auto 0;
    border-radius: 2px;
}

.work-section .subsection-title {
    font-size: 1.8rem;
    color: var(--color-accent);
    margin: 40px 0 20px 0;
    text-align: center;
}

.work-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.work-card {
    background: var(--color-text-primary);
    border: 3px solid var(--color-text-secondary);
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    width: 100%;
}

.work-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.08);
    border-color: var(--color-accent-hover)
}

.work-card-header {
    padding: 20px;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color-text-primary);
    background: var(--color-bg-soft);
}

.work-card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
    color: var(--color-bg);
    font-size: 1rem;
    line-height: 1.5;
}

.work-card.expanded .work-card-body {
    max-height: 500px;
    padding: 20px;
}

@media screen and (max-width: 768px) {
    .work-section {
        padding: 60px 15px;
    }
}

/* ------ PROJECTS PAGE ------ */
/* ------ PROJECTS PAGE ------ */
/*Workshops & Seminars Section */
.workshop-section {
    padding: 80px 20px;
    background: var(--color-bg);
}

.workshop-section .section-title {
    font-size: 2.2rem;
    color: var(--color-text-primary);
    text-align: left;
    margin-bottom: 50px;
    padding-bottom: 10px;      /* spacing between text and the line */
    border-bottom: 2px solid var(--color-accent-hover); /* line directly under title */
    display: inline-block;     /* line only as wide as text */
}

/* Grid wrapper for tiles */
.workshop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* smart resizing */
    gap: 30px;
    justify-content: center; /* centers last row */
    max-width: 1200px;       /* optional max width */
    margin: 0 auto;          /* center the grid */
}

.workshop-tile {
    display: flex;
    flex-direction: column; /* image on top, content below */
    background: var(--color-bg-soft);
    border: 1.5px solid var(--color-text-primary);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.workshop-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* Image section */
.workshop-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

/* Content section */
.workshop-content {
    padding: 20px 30px;
}

.workshop-title {
    font-size: 1.5rem;
    color: var(--color-text-primary);
    margin-bottom: 10px;
}

.workshop-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 10px;
}

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

.workshop-image-credits {
    font-size: 0.5rem;
    color: var(--color-text-secondary);
}

/* Make the whole tile clickable */
.workshop-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.workshop-link:hover .workshop-tile {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    .workshop-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .workshop-grid {
        grid-template-columns: 1fr; /* single column on mobile */
    }

    .workshop-image {
        height: 200px; /* smaller on mobile */
    }

    .workshop-content {
        padding: 15px;
    }
}
/* Research Projects Section */
.research-section {
    padding: 80px 20px;
    background: var(--color-bg-soft);
}

.research-section .section-title {
    font-size: 2.2rem;
    color: var(--color-text-primary);
    text-align: left;
    margin-bottom: 50px;
    padding-bottom: 10px;      /* spacing between text and the line */
    border-bottom: 2px solid var(--color-accent-hover); /* line directly under title */
    display: inline-block;     /* line only as wide as text */
}

/* Grid wrapper for tiles */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* smart resizing */
    gap: 30px;
    justify-content: center; /* centers last row */
    max-width: 1200px;       /* optional max width */
    margin: 0 auto;          /* center the grid */
}

.research-tile {
    display: flex;
    flex-direction: column; /* image on top, content below */
    background: var(--color-bg);
    border: 1.5px solid var(--color-text-primary);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.research-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* Image section */
.research-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

/* Content section */
.research-content {
    padding: 20px 30px;
}

.research-title {
    font-size: 1.5rem;
    color: var(--color-text-primary);
    margin-bottom: 10px;
}

.research-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 10px;
}

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

.research-image-credits {
    font-size: 0.5rem;
    color: var(--color-text-secondary);
}

/* Make the whole tile clickable */
.research-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.research-link:hover .research-tile {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    .research-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .research-grid {
        grid-template-columns: 1fr; /* single column on mobile */
    }

    .research-image {
        height: 200px; /* smaller on mobile */
    }

    .research-content {
        padding: 15px;
    }
}
/* ------ PUBLICATIONS PAGE ------ */
.publications-section {
    padding: 10px 20px;
    background: var(--color-bg-soft);
}

.publications-section .section-title {
    font-size: 2.2rem;
    text-align: left;
    margin-bottom: 50px;       /* spacing between title+line and next content */
    padding-bottom: 10px;      /* spacing between text and the line */
    border-bottom: 2px solid var(--color-accent); /* line directly under title */
    display: inline-block;     /* line only as wide as text */
}

/* Each publication tile */
.publication-tile {
    background: var(--color-bg);
    border: 1.5px solid var(--color-text-primary);
    border-radius: 15px;
    padding: 20px 30px;
    margin-bottom: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.publication-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: var(--color-accent-hover);
}


.publication-title {
    font-size: 1.5rem;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.publication-meta {
    font-size: 0.9rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 12px;
}

.publication-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Make the whole tile clickable */
.publication-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.publication-link:hover .publication-tile {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
/* ------ NEWS PAGE ------ */
.news-section {
    padding: 10px 20px 80px 20px;
    background: var(--color-bg);
}

.news-section .section-title {
    font-size: 2.2rem;
    text-align: left;
    margin-bottom: 50px;       /* spacing between title+line and next content */
    padding-bottom: 10px;      /* spacing between text and the line */
    border-bottom: 2px solid var(--color-accent); /* line directly under title */
    display: inline-block;     /* line only as wide as text */
}


/* Each news tile */
.news-tile {
    display: flex;
    flex-wrap: wrap;
    background: var(--color-bg-soft);
    border: 1.5px solid var(--color-text-primary);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: var(--color-accent-hover)
}

/* Image on the left */
.news-image {
    flex: 0 0 250px; /* fixed width */
    max-width: 250px;
    height: 200px;
    overflow: hidden;
}

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

/* Content on the right */
.news-content {
    flex: 1;
    padding: 20px 30px;
}

.news-title {
    font-size: 1.5rem;
    color: var(--color-text-primary);
    margin-bottom: 10px;
}

.news-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 10px;
}

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

.news-image-credits{
    font-size: 0.5rem;
    color: var(--color-text-secondary);
}

/* Make the whole tile clickable */
.news-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-link:hover .news-tile {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* Responsive: stack image on top on smaller screens */
@media screen and (max-width: 768px) {
    .news-tile {
        flex-direction: column;
    }

    .news-image {
        flex: 1 0 100%;
        max-width: 100%;
        height: 200px;
    }

    .news-content {
        padding: 15px;
    }
}

/* ------ BLOG PAGE ------ */
.blog-section {
    padding: 80px 20px;
    background: var(--color-bg-soft);
}

.blog-section .section-title {
    font-size: 2.2rem;
    color: var(--color-text-primary);
    text-align: center;
    margin-bottom: 50px;
}

.blog-section .section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-accent); /* original accent for subtle emphasis */
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Each blog tile */
.blog-tile {
    display: flex;
    flex-wrap: wrap;
    background: var(--color-bg);
    border: 1.5px solid var(--color-text-primary);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: var(--color-accent-hover)
}

/* Image on the left */
.blog-image {
    flex: 0 0 250px;
    max-width: 250px;
    height: 180px;
    overflow: hidden;
}

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

/* Content on the right */
.blog-content {
    flex: 1;
    padding: 20px 30px;
}

.blog-title {
    font-size: 1.5rem;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.blog-meta {
    font-size: 0.9rem;
    color: var(--color-accent-hover);
    font-weight: 500;
    margin-bottom: 12px;
}

.blog-image-credits{
    font-size: 0.5rem;
    color: var(--color-text-secondary);
}

.blog-excerpt {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Make the whole tile clickable */
.blog-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-link:hover .blog-tile {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* ------ CONTACT US PAGE ------ */
.contact-section {
    padding: 10px 10px;
    background: var(--color-bg-soft);
    padding-bottom: 370px;
}

.contact-section .section-title {
    font-size: 2.2rem;
    text-align: left;
    margin-bottom: 10px;       /* spacing between title+line and next content */
    padding-bottom: 10px;      /* spacing between text and the line */
    border-bottom: 2px solid var(--color-accent); /* line directly under title */
    display: inline-block;     /* line only as wide as text */
}
/* Responsive: stack image above content on smaller screens */
@media screen and (max-width: 768px) {
    .blog-tile {
        flex-direction: column;
    }

    .blog-image {
        flex: 1 0 100%;
        max-width: 100%;
        height: 200px;
    }

    .blog-content {
        padding: 15px;
    }
}
