﻿/* Energy Grants Section Styles */

.energy-grants-section {
    padding: 3rem 2rem;
    background-color: #ffffff;
}

.energy-grants-title {
    font-size: 2rem;
    font-weight: 600;
    color: #1d4f6c;
    margin-bottom: 1rem;
    text-align: left;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.energy-grants-subtitle {
    font-size: 1.125rem;
    color: #495057;
    margin-bottom: 3rem;
    text-align: left;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.energy-grants-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.energy-grant-card {
    background-color: #EDF6F5;
    border-radius: 10px;
    padding: 2rem 1.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 380px;
    border: 1px solid #d4e5e3;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.energy-grant-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background-color: #39827d;
    transition: height 0.3s ease;
    border-radius: 10px 10px 0 0;
}

.energy-grant-card:hover {
    transform: translateY(-4px);
    box-shadow: 23px 27px 56px 0px 
    rgba(0, 0, 0, 0.1), 0px 38.519px 25.481px 0px 
    rgba(0, 0, 0, 0.04), 0px 20px 13px 0px 
    rgba(0, 0, 0, 0.04), 0px 8.148px 6.519px 0px 
    rgba(0, 0, 0, 0.03), 0px 1.852px 3.148px 0px 
    rgba(0, 0, 0, 0.02);
    background-color: #fff;
}

.energy-grant-card:hover::before {
    height: 6px;
}
 

.grant-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a3a52;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.grant-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.grant-card-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.875rem;
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
    padding-left: 0;
}

.grant-card-feature::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border: 2px solid #1d4f6c;
    border-radius: 50%;
    background-color: transparent;
    margin-right: 0.875rem;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.grant-card-link {
    display: inline-flex;
    align-items: center;
    color: #1d4f6c;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    margin-top: auto;
    transition: all 0.2s ease;
}

.grant-card-link:hover {
    color: #0d3a52;
}

.grant-card-link::after {
    content: '›';
    font-size: 1.5rem;
    font-weight: 400;
    margin-left: 0.5rem;
    transition: margin-left 0.2s ease;
}

.energy-grant-card:hover .grant-card-link::after {
    margin-left: 0.75rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .energy-grants-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 992px) {
    .energy-grants-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .energy-grants-title {
        font-size: 1.75rem;
    }
    
    .grant-card-title {
        font-size: 1.375rem;
    }
}

@media (max-width: 768px) {
    .energy-grants-section {
        padding: 2rem 1rem;
    }
    
    .energy-grants-container {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .energy-grant-card {
        padding: 1.5rem;
        min-height: auto;
    }
    
    .energy-grants-title {
        font-size: 1.5rem;
    }
    
    .energy-grants-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

