/*3 Services Section */

/* Creates a slightly darker background to separate sections */

.services-section bg-alt {

    padding: 40px;
    min-height: 100vh; 
    display: flex; 
    align-items: center;

}



/* --- Typography --- */
#services h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--bright-white);
    margin-bottom: 50px;
}

.card h3 {
    font-size: 1.25rem;
    color: var(--construction-orange);
    margin-top: 0;
    margin-bottom: 15px;
}

.card p, 
.card ul {
    color: var(--text-muted);
}

/* --- List Styling --- */
.card ul {
    padding-left: 20px;
    margin-bottom: 20px;
    flex-grow: 1; 
}

.card li {
    margin-bottom: 10px;
}

/* --- Responsive Grid Layout --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* --- Card UI (Dark Theme Adapted) --- */
.card {
    background-color: rgba(255, 255, 255, 0.03); 
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
    border: 1px solid rgba(255, 255, 255, 0.08); 
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-speed) ease, 
                box-shadow var(--transition-speed) ease, 
                border-color var(--transition-speed) ease;
}

/* Interactive Hover Effect */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    border-color: var(--construction-orange); 
}

/* --- Image Styling --- */
.card-img {
    margin-top: auto; 
    border-radius: 6px;
    overflow: hidden;
    background-color: var(--deep-navy); 
}

.card-img img {
    display: block;
    width: 100%;
    height: 300px; 
    object-fit: cover; 
    transition: transform var(--transition-speed) ease, opacity var(--transition-speed) ease;
    opacity: 0.85; /* Softens the image slightly to match dark mode aesthetics */
}


.card:hover .card-img img {
    transform: scale(1.05);
    opacity: 1; 
}
