﻿:root {
    --ep-primary: #007bff; /* A modern blue for energy/tech */
    --ep-secondary: #28a745; /* Green for sustainability */
    --ep-dark: #212529;
    --ep-light: #f8f9fa;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--ep-light);
}
/* --- Navigation Styles (Kept the same) --- */
.navbar-brand {
    font-weight: 700;
    color: var(--ep-primary) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--ep-dark) ;
    transition: color 0.3s;
}

    .navbar-nav .nav-link:hover {
        color: var(--ep-primary) !important;
    }

/* --- New Carousel/Slideshow Styles --- */
.carousel-item {
    min-height: 450px; /* Standard height for the hero section */
    background-size: cover;
    background-position: center;
}

.carousel-caption-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3)); /* Dark overlay for text readability */
}

.carousel-caption {
    z-index: 10; /* Bring text above the overlay */
    bottom: 0;
    text-align: left;
    padding-bottom: 3rem;
}

    .carousel-caption h1 {
        font-weight: 700;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

/* --- Other Component Styles (Kept the same) --- */
.news-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    height: 100%;
}

    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }

.trending-sidebar {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.footer {
    background-color: var(--ep-dark);
    color: var(--ep-light);
    padding: 2rem 0;
}

.category-header {
    border-bottom: 3px solid var(--ep-primary);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}
.aspNetDisabled {
    background: #ccc;
    border: 1px solid #eee;
    color: #fff;
}
    .aspNetDisabled:hover {
        background: #ccc;
        border: 1px solid #eee;
        color: #fff;
    }

.category-header a {
    text-decoration:none !important;
}
.trending-title {
    color:#222;
    text-decoration:none;
}

.active {
    color: #0008ff !important;
}