/* style.css */

/* Global Styles */
:root {
    --vis-red: #b2182b;   /* Scientific Red */
    --vis-blue: #2166ac;  /* Scientific Blue */
    --vis-white: #f7f7f7; /* Neutral Center */
}

body {
    font-family: "Times New Roman", Times, serif; /* Times New Roman as requested */
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Red-to-Blue Navigation Bar */
/* Red-to-Blue Navigation Bar */
.navbar {
    padding: 0.75rem 1.5rem;
    background-color: #ffffff;
}

.nav-link {
    color: #000000 !important;
    font-weight: bold;
    font-size: 1.3rem;
    margin-left: 1.5rem;
}


.nav-link:hover {
    color: #444 !important;
    text-decoration: underline;
}

/* Branding Logos */
.nav-logo-img {
    height: 60px;
    width: auto;
}
.nav-title-img {
    height: 35px;
    width: auto;
}

/* Section Headers with Lab Colors */
.section-header {
    font-family: "Times New Roman", Times, serif;
    font-weight: bold;
    color: var(--vis-red); 
    border-bottom: 3px solid var(--vis-blue);
    padding-bottom: 10px;
    margin-top: 40px;
}

/* Hero Section (Specific to Index Page Gap) */
.hero {
    background: #fdfdfd;
    padding: 60px 0;
}

/* Logo Sizing */
.main-logo {
    max-width: 280px;
    height: auto;
    transform: rotate(-15deg); /* Tilted diagonal  */
    filter: drop-shadow(2px 4px 6px #ccc);
}

.title-logo {
    max-width: 500px;
    height: auto;
    margin-top: 25px;
}

/* Member Categories */
.member-category {
    color: var(--vis-blue);
    border-left: 5px solid var(--vis-red);
    padding-left: 10px;
    font-weight: bold;
}

/* style.css */

.member-box {
    display: flex;
    flex-direction: column; /* Stacks image then text */
    align-items: center;    /* Centers image and text */
    text-align: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-top: 4px solid #0000ff; /* Blue accent matching lab title */
    border-radius: 8px;
    background-color: #fff;
    transition: 0.3s ease;
    height: 100%; /* Ensures all boxes in a row are same height */
}

.member-desc {
    font-size: 0.95rem;
    color: #444;
    margin-top: 10px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.member-box:hover .member-desc,
.member-box:focus-within .member-desc {
        border-top-color: #ff0000; /* Red accent on hover */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    opacity: 1;
    max-height: 300px;
}

.member-pic {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%; /* Circular image */
    margin-bottom: 15px;
    border: 2px solid #f8f9fa;
}

h5 {
    color: #ff0000; /* Red from lab title */
    font-weight: bold;
    margin-bottom: 5px;
}

/* style.css */

/* Links inside the body text */
p a {
    color: #0000ff; /* Use the blue from your colormap */
    text-decoration: none;
    /* border-bottom: 1px dashed #0000ff; */
    transition: 0.3s;
}

p a:hover {
    color: #ff0000; /* Changes to red on hover */
    border-bottom: 1px solid #ff0000;
    background-color: #f8f9fa;
}