

.Contact-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.Contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.projects {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.projects h2 {
    font-size: 2.5rem;
    color: #0d47a1;
    margin-bottom: 15px;
}

.projects hr {
    width: 75%;
    border: none;
    height: 2px;
    background: #d1d5db;
    margin: 20px auto;
}

.projects p {
    font-size: 1.2rem;
    color: #666;
}

.projects:hover {
    transform: translateY(-5px);
    transition: 0.3s ease;
}

.projects:nth-of-type(1) h2 {
    color: #f39c12;   /* Power */
}

.projects:nth-of-type(2) h2 {
    color: #3498db;   /* Water */
}

.projects:nth-of-type(3) h2 {
    color: #27ae60;   /* Sewer */
}

.projects a {
    display: inline-block;
    padding: 12px 24px;
    background-color: #27ae60;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.projects a:hover {
    background-color: #219150;
}

.CD1{
    background-color: #27ae60;
    color: white;
    border-radius: 10px;
    padding: 30px;
    max-width: 450px;
    margin: 30px auto;
    transition: all .3s ease;
    cursor: pointer;
}

.CD1:hover{
    transform: translateY(-4px);
    background-color: #219150;
}

.CD1{
transition: all .3s ease;
}
 
.CD1:hover{
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.CD1 p {
    color: white;
    font-size: 1.2rem;
}