/* ------------------ Fire System Design Page Styling ------------------ */

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    color: #333;
}

.design-hero {
    background: url('../images/Fire-Sprinkler-System.jpg') center/cover no-repeat;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}
.image-content {
    flex: 1;
    animation: fadeUp 1.5s ease-in-out;
}

.image-content img {
    width: 45%;
    border-radius: 10px;
    box-shadow: 0 20px 30px rgba(0,0,0,0.3);
}

.design-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.design-hero h1 {
    font-size: 3rem;
    font-weight: bold;
    z-index: 1;
    position: relative;
    animation: fadeInDown 1s ease-in-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.design-content {
    padding: 80px 12%;
    background-color: #f9f9f9;
    line-height: 1.8;
    animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.design-content h2 {
    color: #d92323;
    font-size: 2rem;
    margin-bottom: 20px;
}

.design-content p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 25px;
}

.back-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 25px;
    background: #d92323;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.back-btn:hover {
    background: #b71c1c;
}

@media (max-width: 768px) {
    .design-hero h1 {
        font-size: 2rem;
    }

    .design-content {
        padding: 40px 8%;
    }
}
