html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    margin: 0;
    background: #000;
    font-family: Arial, Helvetica, sans-serif;
}

/* HERO (full cinematic intro) */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
	overflow: hidden;
    background:
        linear-gradient(180deg, #000 0%, #050505 70%, #120003 100%);
}

/* LOGO */
.logo-wrap {
    animation: cinematicFade 2s ease-out;
}

.logo {
    width: clamp(400px, 50vw, 900px);
    max-width: 90vw;

    filter:
        drop-shadow(0 0 20px rgba(115,0,10,0.8))
        drop-shadow(0 0 50px rgba(255,255,255,0.1));
}

/* SCROLL INDICATOR */
.scroll-cue {
    position: absolute;
    bottom: 40px;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    letter-spacing: 2px;

    animation: bounce 2s infinite;
}

/* RESEARCH SECTION */
.research-preview {
    min-height: 100vh;
    background: #ffffff;
    color: #111;
    padding: 100px 8%;
}

.section-label {
    color: #73000A;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 2.0rem;
    font-weight: bold;
}

.research-preview h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    margin: 20px 0 40px;
}

/* GRID */
.research-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* CARDS */
.research-card {
    background: #111;
    color: white;
    padding: 30px;
    border-radius: 15px;
    border-top: 5px solid #73000A;

    transition: all 0.3s ease;
}

.research-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* ANIMATIONS */
@keyframes cinematicFade {
    from {
        opacity: 0;
        transform: scale(0.9);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(10px); opacity: 1; }
}

.glow {
    position: absolute;
    width: 1000px;
    height: 1000px;

    background: radial-gradient(circle, rgba(115,0,10,0.7), transparent 70%);

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);

    filter: blur(70px);
    opacity: 0.6;

    animation: smoothPulse 6s ease-in-out infinite;
}

@keyframes smoothPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.85);
        opacity: 0.45;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0.75;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.85);
        opacity: 0.45;
    }
}

/* MOBILE */
@media (max-width: 900px) {
    .research-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth fade-in on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stronger research card interaction */
.research-card {
    position: relative;
    overflow: hidden;
}

.research-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(115,0,10,0.45), transparent 45%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.research-card:hover::before {
    opacity: 1;
}

.research-card h3,
.research-card p {
    position: relative;
    z-index: 2;
}

.research-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

/* Navigation */
.site-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 22px 8%;
    box-sizing: border-box;
    display: flex;
    gap: 28px;
    z-index: 50;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(12px);
}

.site-nav a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.site-nav a:hover {
    color: #73000A;
}

/* People hero */
.people-hero {
    min-height: 45vh;
    padding: 110px 8% 55px;
    background:
    linear-gradient(
        rgba(0, 0, 0, 0.45),
        rgba(0, 0, 0, 0.82)
    ),
    radial-gradient(circle at top right, rgba(115,0,10,0.45), transparent 35%),
    url("../images/IMG_8253.jpeg");
background-size: cover;
background-position: center 37%;
background-repeat: no-repeat;
    color: white;
}

.people-hero h1 {
    max-width: 950px;
    font-size: clamp(2.5rem, 6vw, 5.8rem);
    line-height: 1;
    margin: 20px 0;
}

.people-hero p {
    max-width: 780px;
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
}

/* General people sections */
.people-section {
    padding: 90px 8%;
    background: white;
    color: #111;
}

.people-section h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-top: 0;
    margin-bottom: 35px;
}

.dark-section {
    background: #050505;
    color: white;
}

/* PI card */
.pi-card {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 45px;
    align-items: center;
    background: #111;
    color: white;
    border-radius: 24px;
    padding: 35px;
    border-left: 7px solid #73000A;
}

.pi-info h3 {
    font-size: 2.5rem;
    margin: 0 0 3px;
}
.pi-info p {
    font-size: 1.2rem;
    line-height: 1.1;
}

.role {
    color: #73000A;
    font-weight: bold;
    text-transform: none;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.pi-info .role {
    margin-top: 0;
    margin-bottom: 4px;
    color: white;
    font-size: 1.3rem;
    text-transform: none;
    letter-spacing: 0.04em;
}

.pi-info .secondary-role {
    margin-top: 0;
    margin-bottom: 18px;
}

.profile-links {
    margin-top: 25px;
}

.profile-links a {
    display: inline-block;
    margin-right: 12px;
    margin-bottom: 10px;
    padding: 10px 16px;
    border: 1px solid #73000A;
    color: white;
    text-decoration: none;
    border-radius: 999px;
    transition: 0.25s;
}

.profile-links a:hover {
    background: #73000A;
}

/* Photos */
.profile-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 22px;
    overflow: hidden;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.placeholder-photo {
    background:
        radial-gradient(circle at center, rgba(115,0,10,0.6), transparent 55%),
        linear-gradient(135deg, #222, #050505);
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* PI hover photo effect */
.pi-hover-photo {
    position: relative;
    cursor: pointer;
}

.pi-hover-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.35s ease;
}

.main-pi-photo {
    opacity: 1;
    z-index: 1;
}

.funny-pi-photo {
    opacity: 0;
    z-index: 2;
}

.pi-hover-photo:hover .main-pi-photo {
    opacity: 0;
}

.pi-hover-photo:hover .funny-pi-photo {
    opacity: 1;
}

/* Student cards */
.people-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.person-card {
    background: white;
    color: #111;
    padding: 24px;
    border-radius: 22px;
    transition: 0.3s ease;
}

.person-card h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.person-card .role {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.person-card p {
    font-size: 1.2rem;
    line-height: 1.6;
}


.person-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(115,0,10,0.25);
}

/* Rotating lab-life photo section */

.people-photo-rotation-section {
    padding: 20px 8%;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 35%),
        linear-gradient(180deg, #73000A 0%, #4b0007 100%);
    color: white;
    border-top: 6px solid #111;
    border-bottom: 6px solid #111;
}

.people-photo-gallery-header {
    max-width: 1200px;
    margin: 0 auto 38px;
}

.people-photo-gallery-header h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin: 0 0 14px;
}

.people-photo-gallery-header p {
    max-width: 800px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.76);
}

.people-rotating-gallery {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.rotating-photo-panel {
    height: 330px;
    border-radius: 24px;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.rotating-photo-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.rotating-photo-panel img.fade-out {
    opacity: 0;
    transform: scale(1.04);
}

@media (max-width: 900px) {
    .people-rotating-gallery {
        grid-template-columns: 1fr;
    }

    .rotating-photo-panel {
        height: 300px;
    }
}

/* Alumni */
.alumni-list {
    display: grid;
    gap: 18px;
}

.alumni-item {
    border-left: 5px solid #73000A;
    padding: 18px 24px;
    background: #f5f5f5;
    border-radius: 12px;
}

.alumni-item h3 {
    margin: 0 0 6px;
    font-size: 1.45rem;
}

.alumni-item p {
    font-size: 1.3rem;
    line-height: 1.6;
    margin: 0;
}

.alumni-subheading {
    margin: 30px 0 4px;
    padding-bottom: 8px;
    font-size: 2.5rem;
    color: #73000A;
    border-bottom: 2px solid rgba(115, 0, 10, 0.25);
}

.alumni-group-item {
    border-left: 5px solid #73000A;
    padding: 22px 26px;
    background: #f5f5f5;
    border-radius: 12px;
}

.alumni-group-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 16px;
}

.alumni-name-list {
    columns: 3;
    column-gap: 36px;
    margin: 0;
    padding-left: 20px;
    font-size: 1.05rem;
    line-height: 1.1;
}

.alumni-name-list li {
    break-inside: avoid;
    margin-bottom: 10px;
}

/* Mobile */
@media (max-width: 900px) {
    .pi-card {
        grid-template-columns: 1fr;
    }

    .people-grid {
        grid-template-columns: 1fr;
    }

    .site-nav {
        justify-content: center;
        padding: 18px;
    }
}

.hero-links {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);

    display: flex;
    flex-direction: column;
    gap: 16px;

    z-index: 5;
}

.hero-links a {
    color: white;
    text-decoration: none;

    font-size: 1.2rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    padding: 10px 14px;

    border-left: 2px solid rgba(115,0,10,0.6);

    transition: all 0.25s ease;
}

.hero-links a:hover {
    border-left: 6px solid #73000A;
    padding-left: 22px;
    color: #ffffff;
	text-shadow: 0 0 12px rgba(255,255,255,0.35);
}

/* Nav entrance animation */
.nav-animate a {
    opacity: 0;
    transform: translateX(-18px);
    animation: navSlideIn 0.7s ease forwards;
}

.nav-animate a:nth-child(1) {
    animation-delay: 0.4s;
}

.nav-animate a:nth-child(2) {
    animation-delay: 0.55s;
}

.nav-animate a:nth-child(3) {
    animation-delay: 0.7s;
}

.nav-animate a:nth-child(4) {
    animation-delay: 0.85s;
}

.nav-animate a:nth-child(5) {
    animation-delay: 1s;
}

@keyframes navSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

body.home-page {
    overflow: hidden;
}
/* Research main page */
.research-page-hero {
    min-height: 65vh;
    padding: 150px 8% 90px;
    background:
        radial-gradient(circle at top right, rgba(115,0,10,0.55), transparent 35%),
        linear-gradient(180deg, #000 0%, #120003 100%);
    color: white;
}

.research-page-hero h1 {
    max-width: 1000px;
    font-size: clamp(2.6rem, 6vw, 6rem);
    line-height: 1;
    margin: 18px 0;
}

.research-page-hero p {
    max-width: 820px;
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
}

.research-page-grid {
    padding: 90px 8%;
    background: #f5f5f5;
    display: grid;
    gap: 32px;
}

.research-feature-card {
    display: grid;
    grid-template-columns: 38% 1fr;
    gap: 32px;
    align-items: center;
    background: white;
    color: #111;
    text-decoration: none;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.research-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(115,0,10,0.18);
}

.research-feature-card h2 {
    font-size: clamp(1.6rem, 3vw, 3rem);
    margin: 0 0 14px;
}

.research-feature-card p {
    max-width: 700px;
    line-height: 1.6;
    color: #444;
}

.research-feature-card span {
    color: #73000A;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.research-image {
    min-height: 340px;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.placeholder-wastewater {
    background:
        linear-gradient(rgba(0,0,0,0.15), rgba(115,0,10,0.35)),
        url("https://images.unsplash.com/photo-1581093458791-9d42ccde5a5f?auto=format&fit=crop&w=1200&q=80");
}

.placeholder-amr {
    background:
        linear-gradient(rgba(0,0,0,0.15), rgba(115,0,10,0.35)),
        url("https://images.unsplash.com/photo-1576086213369-97a306d36557?auto=format&fit=crop&w=1200&q=80");
}

.placeholder-marine {
    background:
        linear-gradient(rgba(0,0,0,0.15), rgba(115,0,10,0.35)),
        url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1200&q=80");
}

.placeholder-resilience {
    background:
        linear-gradient(rgba(0,0,0,0.15), rgba(115,0,10,0.35)),
        url("https://images.unsplash.com/photo-1532187643603-ba119ca4109e?auto=format&fit=crop&w=1200&q=80");
}

/* Individual research pages */
.research-detail-hero {
    position: relative;

    min-height: 35vh;
    padding: 150px 8% 90px;

    color: white;

    background:
        linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)),
        url("../images/www.metro.jpg");

    background-size: 130%;
    background-position: center 0%;
    background-repeat: no-repeat;
}

.research-detail-hero h1 {
    max-width: 1050px;
    font-size: clamp(2.6rem, 6vw, 6rem);
    line-height: 1;
    margin: 18px 0;
}

.research-detail-hero p {
    max-width: 820px;
    font-size: 1.50rem;
    color: rgba(255,255,255,0.78);
}

.research-detail-content {
    padding: 90px 8%;
    background: white;
    color: #111;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
}

.detail-main h2 {
    font-size: 2.2rem;
    margin-top: 0;
}

.detail-main p {
    line-height: 1.75;
    color: #333;
    font-size: 1.05rem;
}

.detail-sidebar {
    background: #111;
    color: white;
    border-radius: 22px;
    padding: 28px;
    border-top: 6px solid #73000A;
}

.detail-sidebar h3 {
    margin-top: 0;
}

.detail-sidebar ul {
    padding-left: 18px;
    line-height: 1.8;
}

.back-link {
    display: inline-block;
    margin-top: 35px;
    color: #73000A;
    font-weight: bold;
    text-decoration: none;
}

@media (max-width: 900px) {
    .research-feature-card {
        grid-template-columns: 1fr;
    }

    .research-image {
        min-height: 240px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }
}
/* Upgraded Research Page */
.research-hero-upgraded {
    position: relative;
	min-height: 100vh;
    display: flex;
    align-items: center;

    padding: 60px 8% 80px;

    background:
        radial-gradient(circle at 78% 25%, rgba(115,0,10,0.65), transparent 32%),
        radial-gradient(circle at 15% 75%, rgba(255,255,255,0.08), transparent 28%),
        linear-gradient(135deg, #000 0%, #050505 55%, #180005 100%);

    color: white;
    overflow: hidden;
}

.research-hero-content {
    margin-top: -10px;
}
.research-hero-content {
    max-width: 1050px;
}

.research-hero-content h1 {
    font-size: clamp(2.4rem, 5.5vw, 5.5rem);
    line-height: 0.95;
    margin: 20px 0 28px;
    letter-spacing: -2px;
}

.research-hero-content p {
    max-width: 800px;
    color: rgba(255,255,255,0.78);
    font-size: 1.35rem;
    line-height: 1.7;
}

.research-intro {
    background: #fff;
    color: #111;
    padding: 90px 8% 30px;
}

.research-intro h2 {
    max-width: 980px;
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    line-height: 1.05;
    margin-top: 35px;   /* 👈 pushes it down */
    margin-bottom: 0;
}

.upgraded-research-grid {
    padding: 50px 8% 100px;
    background: #fff;
    display: grid;
    gap: 38px;
}

.research-feature-card {
    min-height: 390px;
    grid-template-columns: 42% 1fr;
    border-radius: 30px;
    background: #0b0b0b;
    color: white;
    box-shadow: 0 24px 80px rgba(0,0,0,0.16);
    border: 1px solid rgba(115,0,10,0.18);
}

.research-feature-card:nth-child(even) {
    grid-template-columns: 1fr 42%;
}

.research-feature-card:nth-child(even) .research-image {
    order: 2;
}

.research-card-content {
    padding: 42px;
}

.research-number {
    display: inline-block;
    color: #73000A;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.research-feature-card h2 {
    color: white;
    line-height: 1.05;
}

.research-feature-card p {
    color: rgba(255,255,255,0.72);
    font-size: 1.05rem;
}

.research-feature-card strong {
    display: inline-block;
    margin-top: 18px;
    color: white;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.research-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 34px 90px rgba(115,0,10,0.28);
}

.research-image {
    min-height: 390px;
    filter: saturate(0.9) contrast(1.05);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.research-feature-card:hover .research-image {
    transform: scale(1.04);
    filter: saturate(1.2) contrast(1.1);
}

.research-feature-card {
    overflow: hidden;
}

/* Better placeholder visuals */
.placeholder-wastewater {
    background:
        
        url("../images/www.metro.jpg");
    background-size: cover;
    background-position: center;
}

.placeholder-amr {
    background:
       
        url("../images/amr_cycle.png");
    background-size: cover;
    background-position: center 1%;
}

.placeholder-marine {
    background:
        
        url("../images/marine_paths.png");
    background-size: cover;
    background-position: center;
}

.placeholder-resilience {
    background:
        
         url("../images/ss_orange.jpg");
    background-size: cover;
    background-position: center;
}


@media (max-width: 900px) {
    .research-hero-upgraded {
        min-height: 70vh;
        padding-top: 130px;
    }

    .research-feature-card,
    .research-feature-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .research-feature-card:nth-child(even) .research-image {
        order: 0;
    }

    .research-image {
        min-height: 250px;
    }

    .research-card-content {
        padding: 30px;
    }
}

.scroll-arrow {
    position: absolute;
    bottom: 180px;
    left: 0;
    right: 0;

    display: flex;
    justify-content: center;

    animation: arrowMove 3.5s ease-in-out infinite;
}

/* Arrow shape (static, rotated) */
.arrow-shape {
    width: 22px;
    height: 22px;

    border-left: 2px solid rgba(255,255,255,0.8);
    border-bottom: 2px solid rgba(255,255,255,0.8);

    transform: rotate(-45deg);
}

/* Movement happens on the container (not rotated) */
@keyframes arrowMove {
    0% {
        transform: translateY(0);
        opacity: 0.35;
    }

    50% {
        transform: translateY(10px);
        opacity: 1;
    }

    100% {
        transform: translateY(0);
        opacity: 0.35;
    }
}

/* Animation */
@keyframes arrowFloat {
    0% {
        transform: rotate(-45deg) translateY(0);
        opacity: 0.35;
    }

    50% {
        transform: rotate(-45deg) translateY(10px);
        opacity: 1;
    }

    100% {
        transform: rotate(-45deg) translateY(0);
        opacity: 0.35;
    }
}

/* Circular research hero images */
.research-photo-orbit {
    position: absolute;
    top: 0;
    right: 0;
    width: 48%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.orbit-photo {
    position: absolute;
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(115,0,10,0.95);
    box-shadow: 0 0 30px rgba(115,0,10,0.35);
    filter: saturate(0.95) contrast(1.05);
}

.orbit-photo-one {
    top: 6%;
    left: 22%;
}

.orbit-photo-two {
    top: 32%;
    left: 45%;
}

.orbit-photo-three {
    top: 59%;
    left: 22%;
}

.research-hero-content {
    position: relative;
    z-index: 2;
}

.scroll-arrow {
    z-index: 3;
}

.research-process-section {
    padding: 60px 4%;
    background-color: #ffffff;
}

.process-container {
    display: flex;
    align-items: center;
    gap: 25px;
    max-width: 1300px;
    margin: 0 auto;
}

.process-image {
    flex: 0 0 60%;
}

.process-image img {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    border-radius: 12px;
	transform: translate(-120px, -20px);
}

.process-text {
    flex: 0 0 58%;
	margin-left: -100px;
	transform: translateY(-30px);
}

.process-text h2 {
    font-size: 2rem;
    color: #73000A;
    margin-bottom: 20px;
}

.process-text p {
    font-size: 1.30rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 16px;
}
@media (max-width: 850px) {
    .process-container {
        flex-direction: column;
        text-align: left;
    }

    .process-image {
        flex: none;
        width: 100%;
    }

    .process-image img {
        max-width: 100%;
        margin: 0 auto;
    }
}

.wbe-projects-section {
    padding: 70px 8%;
    background-color: #f7f7f7;
}

.wbe-projects-section h2 {
    font-size: 2.3rem;
    color: #73000A;
    margin-bottom: 35px;
    text-align: center;
}

.wbe-projects-container {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.wbe-project-card {
    flex: 1;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    border-top: 6px solid #73000A;
}

.wbe-project-card h3 {
    font-size: 1.35rem;
    color: #123f46;
    margin-bottom: 15px;
}

.wbe-project-card p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #333;
}

@media (max-width: 850px) {
    .wbe-projects-container {
        flex-direction: column;
    }

    .wbe-projects-section h2 {
        font-size: 2rem;
    }
}

.wbe-project-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.wbe-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.project-link {
    display: inline-block;
    margin-top: 15px;
    color: #73000A;
    font-weight: 700;
}

/* SARS-CoV-2 Project Page */

.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 18px 8%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #73000A;
}

.main-nav a {
    margin-left: 24px;
    text-decoration: none;
    color: #123f46;
    font-weight: 600;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #73000A;
}


.project-page-hero {
    padding: 110px 8% 90px;
    color: #ffffff;
    text-align: center;
    background-image: linear-gradient(
        rgba(0, 0, 0, 0.45),
        rgba(0, 0, 0, 0.45)
    ), url("../images/wwtp_cs2.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.project-page-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.project-page-hero p {
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}


.figure-text-section {
    padding: 70px 3%;
    background-color: #ffffff;
}

.figure-text-row {
    display: flex;
    align-items: center;
    gap: 55px;
    max-width: 1500px;
    width: 100%;
    margin: 0 auto 80px;
}

.figure-box {
    flex: 0 0 52%;
}

.figure-box img {
    width: 100%;
	max-width: none;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.figure-description {
    flex: 0 0 43%;
}

.figure-description h2 {
    font-size: 2.1rem;
    color: #73000A;
    margin-bottom: 18px;
}

.figure-description p {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #333;
    margin-bottom: 16px;
}


.related-publications-section {
    padding: 60px 8%;
    background-color: #f7f7f7;
}

.related-publications-section h2 {
    font-size: 2.3rem;
    color: #73000A;
    text-align: center;
    margin-bottom: 35px;
}

.publication-list {
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 25px;
}

.publication-list li {
    font-size: 1.3rem;
    line-height: 1.2;
    color: #333;
    margin-bottom: 18px;
}


.rotating-gallery-section {
    padding: 70px 8%;
    background-color: #ffffff;
}

.rotating-gallery-section h2 {
    font-size: 2.3rem;
    color: #73000A;
    text-align: center;
    margin-bottom: 35px;
}

.rotating-gallery {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.rotating-photo-card {
    flex: 1;
    height: 340px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.rotating-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background-color: #f5f5f5;
}


/* Mobile layout */

@media (max-width: 850px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav a {
        margin: 0 8px;
        font-size: 0.95rem;
    }

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

    .project-page-hero p {
        font-size: 1.05rem;
    }

    .figure-text-row {
        flex-direction: column;
        gap: 25px;
    }

    .figure-box,
    .figure-description {
        flex: none;
        width: 100%;
    }

    .rotating-gallery {
        flex-direction: column;
    }

    .rotating-photo-card {
        height: 240px;
    }
}

.video-section {
    padding: 80px 8%;
    background: #f5f5f5;  /* or white if you prefer */
}

.video-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.video-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 25px;
}

/* Already added earlier, but include if not */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

.video-fallback {
    margin-top: 14px;
    font-size: 0.95rem;
    color: #444;
}

.video-fallback a {
    color: #73000A;
    font-weight: bold;
}
.publication-list a {
    color: #73000A;
    font-weight: 600;
    text-decoration: none;
}

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

.research-subpage-hero {
    min-height: 320px;
    padding: 28px 8% 55px;
    color: #ffffff;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sars-hero {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)),
        url("../images/wwtp_cs2.jpeg");
}

.research-subpage-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.research-subpage-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.03em;
    padding: 8px 4px;
    border-bottom: 2px solid transparent;
}

.research-subpage-nav a:hover {
    border-bottom-color: #ffffff;
}

.research-subpage-hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.research-subpage-hero-content .section-label {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #f1f1f1;
}

.research-subpage-hero-content h1 {
    font-size: 4.2rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.research-subpage-hero-content p {
    font-size: 1.45rem;
    line-height: 1.6;
    max-width: 820px;
}

.usc-campus-hero {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)),
        url("../images/usc_sites.png");
}

.project-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.dma-prime-hero {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)),
        url("../images/dma-prime-mission.png");
}

.two-figures-one-text-row {
    display: flex;
    align-items: stretch;
    gap: 45px;
    max-width: 1500px;
    width: 100%;
    margin: 0 auto 80px;
}

.two-figure-column {
    flex: 0 0 52%;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.two-figure-column .figure-box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.extended-figure-description {
    flex: 0 0 43%;
    background-color: #ffffff;
    padding: 34px;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    border-top: 6px solid #73000A;
    align-self: stretch;
}

.extended-figure-description h2 {
    font-size: 2.1rem;
    color: #73000A;
    margin-bottom: 18px;
}

.extended-figure-description p {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #333;
    margin-bottom: 16px;
}

.top-figure {
    transform: translateY(40px);
}

.bottom-figure {
    transform: translateY(-180px);
}

.amr-hero {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)),
        url("../images/IMG_1456.jpg");
}

.project-cards-section {
    padding: 90px 8%;
    background: #f5f5f5;
    color: #111;
}

.project-cards-section h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-top: 0;
    margin-bottom: 35px;
}

.project-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.project-card {
    display: block;
    background: white;
    color: #111;
    text-decoration: none;
    padding: 30px;
    border-radius: 22px;
    border-top: 6px solid #73000A;
    box-shadow: 0 18px 45px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(115,0,10,0.2);
}

.project-card h3 {
    margin-top: 0;
    font-size: 1.35rem;
}

.project-card p {
    line-height: 1.65;
    color: #444;
}

.project-link {
    display: inline-block;
    margin-top: 18px;
    color: #73000A;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

@media (max-width: 900px) {
    .project-cards-container {
        grid-template-columns: 1fr;
    }
}

/* AMR page-specific process figure sizing */
.amr-page .process-container {
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 40px;
    align-items: center;
}

.amr-page .process-image {
    width: 100%;
}

.amr-page .process-image img {
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
}

.amr-page .research-process-section .process-container {
    max-width: 1400px;
}

.amr-page .process-text p {
    line-height: 1.2;
    margin-bottom: 10px;
}

.amrwwtp-hero {
    background-image:
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.78)),
        url("../images/IMG_1722.jpeg");

    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
}

.amr-page .project-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.antibiotics-hero {
    background-image:
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.78)),
        url("../images/IMG_0877.jpeg");

    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
}

.antibiotics-page .project-video {
    width: 80%;
    max-width: 500px;
    height: auto;
}

.antibiotics-page .figure-box {
    display: flex;
    justify-content: center;
}

.lake-hero {
    background-image:
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.78)),
        url("../images/lake_katherine.jpg");

    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
}

.marine-pathogen-page .process-text p {
    line-height: 1.4;
    margin-bottom: 5px;
}

.marine-pathogen-page .process-text {
    margin-top: -8px;   /* try -10px to -40px */
}

/* Reduce space BELOW diagram section */
.marine-pathogen-page .research-process-section {
    padding-bottom: 30px;   /* try 20–60px */
}

/* Reduce space ABOVE "What we do" */
.marine-pathogen-page .wbe-projects-section {
    padding-top: 1px;      /* try 20–60px */
}

.marine-hero {
    background-image:
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.75)),
        url("../images/IMG_4098.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.vvfire-hero {
    background-image:
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.75)),
        url("../images/vibrio-fire-banner.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.vvfire-hero {
    background-image:
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.75)),
        url("../images/wildfire_eust.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.vv-video {
    width: 100%;
    height: auto;
    display: block;

    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.vvww-hero {
    background-image:
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.75)),
        url("../images/wwvv_eust.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.vvtemp-hero {
    background-image:
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.75)),
        url("../images/tempvv_eust.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* =========================================================
   GENERAL SITE HEADER / NAVIGATION
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-container {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 16px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
}

.site-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.site-title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: white;
}

.main-nav a.active {
    border-bottom: 2px solid #73000A;
    padding-bottom: 5px;
}


/* =========================================================
   PUBLICATIONS PAGE
========================================================= */

.publications-page {
    background: #050505;
    color: white;
}

/* Publications hero */

.publications-hero {
    min-height: 40vh;
    padding: 100px 8% 80px;
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.52),
            rgba(0, 0, 0, 0.86)
        ),
        radial-gradient(circle at top right, rgba(115, 0, 10, 0.5), transparent 0.1%),
        url("../images/publishing.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.publications-hero h1 {
    max-width: 950px;
    font-size: clamp(2.8rem, 7vw, 6rem);
    line-height: 1;
    margin: 20px 0;
}

.publications-hero p {
    max-width: 850px;
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}

.section-label {
    color: #f3c7c7;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.publication-hero-links {
    margin-top: 32px;
}

/* Scholar button */

.scholar-button {
    display: inline-block;
    padding: 14px 24px;
    background: #73000A;
    color: white;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: 0.25s ease;
    box-shadow: 0 12px 30px rgba(115, 0, 10, 0.35);
}

.scholar-button:hover {
    background: #9b0011;
    transform: translateY(-2px);
}

/* Intro */

.publications-intro-section {
    padding: 40px 8%;
    background: white;
    color: #111;
}

.publications-intro {
    max-width: 1100px;
    margin: 0 auto;
}

.publications-intro h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin: 0 0 20px;
}

.publications-intro p {
    max-width: 900px;
    font-size: 1.15rem;
    line-height: 1.75;
    color: #333;
}

/* Publication theme sections */

.publication-theme-section {
    padding: 40px 8%;
    background: #f7f7f7;
    color: #111;
}

.dark-publication-section {
    background:
        radial-gradient(circle at top left, rgba(115, 0, 10, 0.18), transparent 32%),
        linear-gradient(180deg, #050505 0%, #111 100%);
    color: white;
}

.publication-theme-header {
    max-width: 1150px;
    margin: 0 auto 34px;
}

.publication-theme-header h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.15;
    margin: 0;
}

.dark-publication-section .publication-theme-header h2 {
    color: white;
}

/* Publication list */

.publication-list {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    gap: 22px;
}

.publication-card {
    background: white;
    color: #111;
    border-radius: 20px;
    padding: 28px 32px;
    border-left: 6px solid #73000A;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    transition: 0.25s ease;
}

.publication-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(115, 0, 10, 0.18);
}

.dark-publication-section .publication-card {
    background: rgba(255, 255, 255, 0.07);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 6px solid #73000A;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.pub-year {
    display: inline-block;
    margin: 0 0 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #73000A;
    color: white;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.publication-card h3 {
    margin: 0 0 12px;
    font-size: 1.45rem;
    line-height: 1.35;
}

.pub-authors {
    margin: 0 0 8px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
}

.pub-journal {
    margin: 0 0 18px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
}

.dark-publication-section .pub-authors,
.dark-publication-section .pub-journal {
    color: rgba(255, 255, 255, 0.78);
}

/* Publication links */

.pub-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pub-links a {
    display: inline-block;
    padding: 9px 15px;
    border-radius: 999px;
    border: 1px solid #73000A;
    color: #73000A;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.25s ease;
}

.pub-links a:hover {
    background: #73000A;
    color: white;
}

.dark-publication-section .pub-links a {
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

.dark-publication-section .pub-links a:hover {
    background: #73000A;
    border-color: #73000A;
}

/* Full publication box */

.full-publication-section {
    padding: 90px 8%;
    background: white;
    color: #111;
}

.full-publication-box {
    max-width: 1000px;
    margin: 0 auto;
    padding: 45px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(115, 0, 10, 0.12), transparent 35%),
        #f3f3f3;
    border-left: 7px solid #73000A;
}

.full-publication-box h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin: 0 0 18px;
}

.full-publication-box p {
    max-width: 780px;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 28px;
    color: #333;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #050505;
    color: white;
    padding: 45px 8%;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

.footer-brand h3 {
    margin: 0 0 12px;
    font-size: 1.25rem;
}

.footer-brand p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-content: flex-start;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 700;
    transition: 0.25s ease;
}

.footer-links a:hover {
    color: white;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 850px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .main-nav {
        flex-wrap: wrap;
        gap: 14px;
    }

    .publications-hero {
        min-height: 45vh;
        padding: 150px 6% 65px;
    }

    .publications-intro-section,
    .publication-theme-section,
    .full-publication-section {
        padding-left: 6%;
        padding-right: 6%;
    }

    .publication-card {
        padding: 24px;
    }

    .full-publication-box {
        padding: 30px;
    }

    .footer-container {
        flex-direction: column;
    }
}

/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-page {
    background: #050505;
    color: white;
}

/* Contact hero */

.contact-hero {
    min-height: 35vh;
    padding: 150px 8% 25px;
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.48),
            rgba(0, 0, 0, 0.82)
        ),
        radial-gradient(circle at top right, rgba(115, 0, 10, 0.42), transparent 35%),
        url("../images/asph.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: white;
}

.contact-hero h1 {
    max-width: 1200px;
    font-size: clamp(2.8rem, 7vw, 6rem);
    line-height: 1;
    margin: 20px 0;
}

.contact-hero p {
    max-width: 850px;
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}

/* Main contact cards */

.contact-main-section {
    padding: 90px 8%;
    background: white;
    color: #111;
}

.contact-main-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.contact-info-card {
    padding: 38px;
    border-radius: 26px;
    background: #f5f5f5;
    border-left: 7px solid #73000A;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.contact-info-card h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin: 0 0 14px;
}

.contact-info-card p {
    font-size: 1.08rem;
    line-height: 1.7;
    color: #333;
}

.contact-role {
    color: #73000A !important;
    font-weight: 800;
    font-size: 1.15rem !important;
    margin-bottom: 18px;
}

.garnet-card {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 35%),
        linear-gradient(180deg, #73000A 0%, #4b0007 100%);
    color: white;
    border-left: 7px solid #111;
}

.garnet-card p {
    color: rgba(255, 255, 255, 0.84);
}

.garnet-card h2 {
    color: white;
}

.contact-links {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-links a {
    display: inline-block;
    padding: 11px 17px;
    border-radius: 999px;
    background: #73000A;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: 0.25s ease;
}

.contact-links a:hover {
    background: #9b0011;
    transform: translateY(-2px);
}

.garnet-card .contact-links a {
    background: white;
    color: #73000A;
}

.garnet-card .contact-links a:hover {
    background: #f3c7c7;
    color: #73000A;
}

/* Location section */

.contact-location-section {
    padding: 90px 8%;
    background:
        radial-gradient(circle at top left, rgba(115, 0, 10, 0.18), transparent 35%),
        linear-gradient(180deg, #050505 0%, #111 100%);
    color: white;
}

.contact-location-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 42px;
    align-items: start;
}

.location-text h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    margin: 0 0 20px;
}

.location-text p {
    max-width: 760px;
    font-size: 1.12rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
}

.location-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.detail-box {
    padding: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.13);
}

.detail-box h3 {
    margin: 0 0 8px;
    color: #9b0011;
    font-size: 1.5rem;
}

.detail-box p {
    margin: 0;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
}

/* Map section */

.contact-map-section {
    padding: 90px 8%;
    background: white;
    color: #111;
}

.contact-map-header {
    max-width: 1200px;
    margin: 0 auto 34px;
}

.contact-map-header h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    margin: 0 0 14px;
}

.contact-map-header p {
    max-width: 780px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

.map-placeholder {
    max-width: 1200px;
    min-height: 360px;
    margin: 0 auto;
    border-radius: 26px;
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.38),
            rgba(0, 0, 0, 0.68)
        ),
        url("../images/contact-campus.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.2);
}

.map-placeholder p {
    padding: 14px 22px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.58);
    font-weight: 700;
}


/* Responsive contact page */

@media (max-width: 850px) {
    .contact-hero {
        min-height: 44vh;
        padding: 135px 6% 60px;
    }

    .contact-main-section,
    .contact-location-section,
    .contact-map-section {
        padding-left: 6%;
        padding-right: 6%;
    }

    .contact-main-container,
    .contact-location-container {
        grid-template-columns: 1fr;
    }

    .location-details {
        grid-template-columns: 1fr;
    }

    .contact-info-card {
        padding: 30px;
    }
}

.detail-box a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: 0.25s ease;
}

.detail-box a:hover {
    color: #9b0011;
    text-decoration: underline;
}

.map-embed {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(115, 0, 10, 0.18);
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 420px;
}
.map-link-button-wrap {
    max-width: 1200px;
    margin: 22px auto 0;
}

.map-link-button {
    display: inline-block;
    padding: 12px 20px;
    background: #73000A;
    color: white;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.25s ease;
}

.map-link-button:hover {
    background: #9b0011;
    transform: translateY(-2px);
}

/* =========================================================
   LAB NEWS PAGE
========================================================= */

.news-page {
    background: #050505;
    color: white;
}

/* News hero */

.news-hero {
    width: 100%;
    min-height: 55vh;
    padding: 0;
    background-image: url("../images/news_banner.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #050505;
}

.news-hero h1 {
    max-width: 1100px;
    font-size: clamp(2.7rem, 6vw, 5.6rem);
    line-height: 1;
    margin: 20px 0;
}

.news-hero p {
    max-width: 850px;
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}

/* Featured news */

.featured-news-section {
    padding: 90px 8%;
    background: white;
    color: #111;
}

.featured-news-card {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 0;
    border-radius: 28px;
    overflow: hidden;
    background: #111;
    color: white;
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.22);
    border-left: 7px solid #73000A;
}

.featured-news-image {
    min-height: 390px;
    background: #111;
}

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


.featured-news-content {
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-news-content h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.12;
    margin: 0 0 12px;
}

.featured-news-content p {
    font-size: 1.08rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}

/* Shared news labels */

.news-category {
    display: inline-block;
    color: #f3c7c7 !important;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem !important;
    font-weight: 800;
    margin: 0 0 12px;
}

.news-date {
    color: #73000A !important;
    font-weight: 800;
    font-size: 0.95rem !important;
    margin: 0 0 14px;
}

.featured-news-content .news-date {
    color: #f3c7c7 !important;
}

.news-button {
    display: inline-block;
    align-self: flex-start;
    margin-top: 22px;
    padding: 12px 20px;
    background: #73000A;
    color: white;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.25s ease;
}

.news-button:hover {
    background: #9b0011;
    transform: translateY(-2px);
}

/* Recent news */

.recent-news-section {
    padding: 90px 8%;
    background:
        radial-gradient(circle at top left, rgba(115, 0, 10, 0.15), transparent 35%),
        linear-gradient(180deg, #050505 0%, #111 100%);
    color: white;
}

.recent-news-header {
    max-width: 1200px;
    margin: 0 auto 38px;
}

.recent-news-header h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    margin: 0;
}

.news-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.news-card {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    transition: 0.3s ease;
}

.news-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.35);
}

.news-card-image {
    height: 210px;
    background: #111;
}

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


.news-card-content {
    padding: 26px;
}

.news-card-content h3 {
    font-size: 1.45rem;
    line-height: 1.25;
    margin: 0 0 10px;
}

.news-card-content p {
    font-size: 1.02rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
}

/* News archive */

.news-archive-section {
    padding: 85px 8%;
    background: white;
    color: #111;
}

.news-archive-container {
    max-width: 1000px;
    margin: 0 auto;
}

.news-archive-container h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin: 0 0 30px;
}

.archive-list {
    display: grid;
    gap: 18px;
}

.archive-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 22px;
    align-items: start;
    padding: 20px 24px;
    background: #f5f5f5;
    border-radius: 16px;
    border-left: 5px solid #73000A;
}

.archive-date {
    color: #73000A;
    font-weight: 900;
    font-size: 1.1rem;
}

.archive-item p {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.6;
    color: #333;
}

/* Responsive news page */

@media (max-width: 950px) {
    .featured-news-card {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .news-hero {
        min-height: 42vh;
        padding: 130px 6% 50px;
    }

    .featured-news-section,
    .recent-news-section,
    .news-archive-section {
        padding-left: 6%;
        padding-right: 6%;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .featured-news-content {
        padding: 32px;
    }

    .archive-item {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}
