/* Fire Safety Banner Section */
.fire-safety-banner {
    background: #008dbd;
    padding: 130px 0;
    position: relative;
    margin: 0px auto;
    overflow: hidden;
    border-radius: 40px;
    margin: 0 20px;
}

/* Background Image Overlay */
.fire-safety-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
   
   
    pointer-events: none;
    z-index: 1;
}

/* Background Image Element */
.banner-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:#f3f3f3 ; /* Replace with your fire safety image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Alternative: Use this if you have a specific fire safety image */
/* 
.banner-bg-image {
    background-image: url('../img/fire-safety-bg.jpg');
}
*/


/* Safety Shield Icon */
.safety-icon-wrap {
    position: relative;
    z-index: 2;
}

.safety-shield {
    width: 140px;
    height: 140px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    animation: pulseShield 3s ease-in-out infinite;
}

.safety-shield i {
    font-size: 70px;
    color: #008dbd;
}

@keyframes pulseShield {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    }
}

/* Decorative Dots */
.decorative-dots {
    position: absolute;
    top: -20px;
    right: -30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    z-index: 1;
    animation: floatDots 3s ease-in-out infinite;
}

.decorative-dots .dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: block;
}

.decorative-dots .dot:nth-child(1) { animation-delay: 0s; }
.decorative-dots .dot:nth-child(2) { animation-delay: 0.1s; }
.decorative-dots .dot:nth-child(3) { animation-delay: 0.2s; }
.decorative-dots .dot:nth-child(4) { animation-delay: 0.3s; }
.decorative-dots .dot:nth-child(5) { animation-delay: 0.4s; }
.decorative-dots .dot:nth-child(6) { animation-delay: 0.5s; }

@keyframes floatDots {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Banner Title and Description */
.banner-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.banner-description {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.95;
    position: relative;
    z-index: 2;
}

/* Contact Button */
.btn-contact-safety {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #008dbd;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

.btn-contact-safety i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-contact-safety:hover {
    background: #008dbd;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.btn-contact-safety:hover i {
    transform: translateX(5px);
}

/* Decorative Shapes */
.banner-decorative-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.shape-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: floatShape 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    right: 15%;
    background: rgba(255, 255, 255, 0.05);
    animation-delay: 0s;
}

.shape-2 {
    width: 50px;
    height: 50px;
    top: 70%;
    left: 10%;
    background: rgba(255, 255, 255, 0.03);
    animation-delay: 1s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 40%;
    right: 5%;
    background: rgba(255, 255, 255, 0.04);
    animation-delay: 2s;
}

.shape-4 {
    width: 40px;
    height: 40px;
    top: 15%;
    left: 25%;
    background: rgba(255, 255, 255, 0.06);
    animation-delay: 0.5s;
}

.shape-5 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    right: 25%;
    background: rgba(255, 255, 255, 0.05);
    animation-delay: 1.5s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .fire-safety-banner {
        padding: 50px 0;
        margin: 80px auto;
    }

    .banner-title {
        font-size: 36px;
    }

    .banner-description {
        font-size: 16px;
    }

    .safety-shield {
        width: 120px;
        height: 120px;
    }

    .safety-shield i {
        font-size: 60px;
    }
}

@media (max-width: 767px) {
    .fire-safety-banner {
        padding: 40px 0;
        margin: 60px auto;
        text-align: center;
    }

    .banner-title {
        font-size: 28px;
    }

    .banner-description {
        font-size: 15px;
    }

    .safety-shield {
        width: 100px;
        height: 100px;
    }

    .safety-shield i {
        font-size: 50px;
    }

    .decorative-dots {
        top: -15px;
        right: 50%;
        transform: translateX(80px);
    }

    .btn-contact-safety {
        padding: 15px 25px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 24px;
    }

    .banner-description {
        font-size: 14px;
    }

    .btn-contact-safety {
        padding: 12px 20px;
        font-size: 12px;
    }
}
