/* Hero Banner Styling */
.hero-banner {
    background: linear-gradient(135deg, #2c5f2d 0%, #97bc62 100%);
    color: white;
    padding: 3rem 2rem;
    margin: -1rem -1rem 2rem -1rem;
    border-radius: 0;
}

.hero-banner h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.hero-banner .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 0.5rem;
}

.text-center {
    text-align: center;
}

/* General Typography */
body {
    font-family: "Open Sans", sans-serif;
    line-height: 1.7;
    color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    color: #2c5f2d;
    margin-top: 1.5rem;
}

h2 {
    border-bottom: 2px solid #97bc62;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Links */
a {
    color: #2c5f2d;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #97bc62;
    text-decoration: underline;
}

/* Callout boxes */
.callout-note {
    background-color: #f0f7f0;
    border-left: 5px solid #2c5f2d;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
}

.callout-note.icon-false::before {
    display: none;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.g-col-12 {
    grid-column: span 12;
}

@media (min-width: 768px) {
    .g-col-md-6 {
        grid-column: span 6;
    }
}

/* Footer styling */
.page-footer {
    background-color: #2c5f2d;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.page-footer a {
    color: #97bc62;
}

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

/* Navbar customization */
.navbar {
    background-color: #2c5f2d !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-light .navbar-nav .nav-link {
    color: white !important;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #97bc62 !important;
}

/* Content sections */
section {
    margin: 2rem 0;
}

/* Team member sections */
h2 + p strong,
h3 + p strong {
    color: #2c5f2d;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Publications list */
ul {
    list-style-type: none;
    padding-left: 0;
}

li {
    margin-bottom: 0.5rem;
}

/* Horizontal rule */
hr {
    border: 0;
    border-top: 1px solid #e0e0e0;
    margin: 2rem 0;
}

/* Team member photos */
.team-photo {
    border-radius: 10px;
    width: 100%;
    max-width: 300px;
    height: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    margin-bottom: 1rem;
}

.team-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Banner and feature images */
img[alt*="forest"],
img[alt*="canopy"],
img[alt*="Remote sensing"] {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    display: block;
}

/* General image styling */
figure img {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Team section grid improvements */
.about-page .grid {
    margin-bottom: 2rem;
}

.about-page h2 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-banner h1 {
        font-size: 2rem;
    }

    .hero-banner .subtitle {
        font-size: 1.2rem;
    }

    .team-photo {
        max-width: 250px;
    }

    img[alt*="forest"],
    img[alt*="canopy"],
    img[alt*="Remote sensing"] {
        max-width: 100%;
        margin: 1rem auto;
    }
}

/* Table of contents */
.toc-actions {
    background-color: #f8f9fa;
}

/* Code blocks */
pre {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1rem;
}

/* Contact section */
.contact-info {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

/* Publications formatting */
em {
    color: #555;
}

/* Button styling */
.btn-primary {
    background-color: #2c5f2d;
    border-color: #2c5f2d;
}

.btn-primary:hover {
    background-color: #97bc62;
    border-color: #97bc62;
}
