/* --- Navbar Styling --- */
.navbar {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Soft, subtle divider */
}

.navbar-brand {
    color: #388e3c !important;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.3px;
}

.navbar-nav .nav-link {
    color: #1a1a1a !important; /* Deep dark charcoal for high contrast */
    font-weight: 600;
    transition: color 0.2s ease-in-out;
}

/* Active / Hover Link Color */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: #2e7d32 !important; /* Brand green */
    font-weight: 600;
}

/* --- Hero Section Styling --- */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('../img/banner4.jpg') center/cover no-repeat;
    min-height: 380px;
    padding-bottom: 5rem !important; /* Ensures room for floating stats bar */
}

.hero-section h1 {
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-section p {
  color: #ffffff !important;
  font-size: 1.125rem; /* ~18px */
  font-weight: 300;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.8);
}

/* --- Card Smooth Hover Effect --- */

.card-img-top {
  height: 260px; /* Adjust height as needed */
  object-fit: cover;
  width: 100%;
}

#species .card {
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), 
                border-color 0.3s ease;
    will-change: transform; /* Keeps animation smooth */
}

#species .card:hover {
    transform: scale(1.03); /* Scales card 3% toward user */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
    border-color: #2e7d32 !important;
    z-index: 2;
}

/* --- Base Footer Styling --- */
.bg-dark-custom {
    background-color: #1e1e1e !important;
}

.text-light-custom {
    color: #cbd5e1;
    font-size: 14px;
}

/* --- update.php page styles -- */

        .card-custom {
            background: #fff;
            border: none;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.04);
            margin-bottom: 25px;
        }
        .timeline-badge-item {
            display: inline-block;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
        }
        .status-completed { background-color: #d1e7dd; color: #0f5132; }
        .status-inprogress { background-color: #cff4fc; color: #055160; }
        .status-planned { background-color: #fff3cd; color: #664d03; }
        
        .timeline-flow {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            align-items: center;
        }
        .timeline-step {
            background: #fff;
            border: 1px solid #dee2e6;
            padding: 8px 14px;
            border-radius: 6px;
            font-size: 0.85rem;
            font-weight: 500;
        }
        .future-card {
            border-left: 4px solid #198754;
            transition: transform 0.2s;
        }
        .future-card:hover {
            transform: translateY(-3px);
        }


        /* update.php page style end --*/



.footer-heading {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.footer-col a:hover {
    color: #4ade80 !important; /* Bright green accent */
}

.footer-col strong {
    color: #ffffff;
}

.copyright-text {
    color: #94a3b8;
    font-size: 13px;
}

/* Mobile Center Alignment Fix (Under 768px) */
@media (max-width: 767.98px) {
    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Keeps original small footer layout while improving text readability */
footer#contact a {
    color: #e9ecef !important; /* Softens white text */
    text-decoration: none;
}

footer#contact a:hover {
    color: #198754 !important; /* Highlight green on hover */
}