/* ==========================================================================
   ENDEMIC FLORA & FAUNA OF INDIA EXPLORER - STYLES
   ========================================================================== */

.efe-hero {
    position: relative;
    padding: 100px 20px 60px;
    text-align: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75)),
        url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1600&q=80") center/cover no-repeat;
    color: var(--text-light);
}

.efe-hero .hero-tagline {
    display: inline-block;
    background: var(--green);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.efe-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    margin: 0 0 1rem;
}

.efe-hero p {
    max-width: 640px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.efe-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.efe-section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.efe-section-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.efe-section-header p {
    color: var(--text-muted);
}

.species-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.species-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.species-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.species-card-img {
    height: 190px;
    width: 100%;
    object-fit: cover;
}

.species-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.species-card-body h3 {
    font-family: var(--font-heading);
    margin: 0;
}

.species-card-scientific {
    font-style: italic;
    color: var(--gold);
    font-size: 0.9rem;
}

.species-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.species-card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
}

.species-card-btn {
    align-self: flex-start;
    margin-top: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    background: var(--saffron);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .efe-hero {
        padding: 80px 16px 40px;
    }
}