﻿/* ===== Civil Work Section ===== */
.civil-work-section {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #f7f9fc; /* light modern background */
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #333;
    position: relative;
}
/* ===== Hero Section ===== */
.civil-hero {
    width: 100%;
    background: url('https://themefisher.com/wp-content/uploads/constructo.webp') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: Black;
    text-align: center;
}

    .civil-hero h1 {
        font-size: 3rem;
        margin: 0 20px 10px;
        font-weight: 700;
        text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
    }

    .civil-hero p {
        font-size: 1.2rem;
        max-width: 700px;
        margin: 0 15px;
        opacity: 0.9;
        text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    }

/* ===== Content Section ===== */
.civil-content {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto 0;
}

    .civil-content h2 {
        font-size: 2rem;
        margin-bottom: 20px;
        color: #222;
        text-align: center;
    }

/* ===== Services Grid ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

    .service-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

    .service-item img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

    .service-item h4 {
        font-size: 1.2rem;
        margin: 15px 10px 10px;
        color: #222;
    }

    .service-item p {
        font-size: 0.95rem;
        margin: 0 10px 15px;
        color: #555;
    }

/* ===== Floating Circular Call Button ===== */
.call-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #00b140; /* fresh professional green */
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    transition: all 0.3s ease;
}

    .call-btn img {
        width: 24px;
        height: 24px;
        filter: brightness(0) invert(1);
        pointer-events: none;
    }

    .call-btn span {
        display: inline-block;
    }

    .call-btn:hover {
        transform: scale(1.05);
        background-color: #00cc44;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    .civil-hero h1 {
        font-size: 2rem;
    }

    .civil-hero p {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .call-btn {
        bottom: 20px;
        right: 20px;
        padding: 8px 14px;
        font-size: 0.9rem;
        gap: 6px;
    }

        .call-btn img {
            width: 22px;
            height: 22px;
        }

        .call-btn span {
            display: none; /* hides text on very small screens */
        }
}
