/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}



/* Enhanced Hero Section */
.hero {
    background-image: url('/images/Security-Service.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: white;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 102, 0, 0.5); /* Dark Green overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: fadeIn 2s ease-in-out; /* Animation for hero content */
}

.hero-heading {
    font-size: 56px;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3); /* Text shadow for depth */
    animation: slideInDown 1s ease-in-out; /* Smooth slide-in animation */
}

.hero-description {
    font-size: 24px;
    max-width: 700px;
    margin: 20px auto;
    line-height: 1.6;
    animation: fadeIn 2s ease-in-out; /* Fade-in animation */
}


.cta-button:hover {
    background-color: #004d00; /* Dark green on hover */
}

/* Enhanced Mission Section */
.mission {
    background-color: #004d00; /* Dark Green Background */
    text-align: center;
    padding: 50px 20px;
    color: white;
    position: relative;
}

.mission h2 {
    font-size: 40px;
    color: #66cc66; /* Light Green */
    margin-bottom: 20px;
    text-transform: uppercase;
    animation: fadeIn 2s ease-in-out;
}

.mission-content {
    font-size: 20px;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    animation: fadeIn 2s ease-in-out;
}

.mission-content p {
    margin-bottom: 20px;
}

.mission-cta {
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #66cc66;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.mission-cta:hover {
    background-color: #333;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Image Gallery */
/* Features Section */
.features {
    display: flex;
    justify-content: space-around;
    padding: 50px 20px;
    background-color: #f4f4f4;
}

.feature-box {
    text-align: center;
    width: 30%;
}

.feature-box i {
    font-size: 50px;
    color: #004d00;
}

.feature-box h3 {
    margin: 20px 0;
    font-size: 24px;
}

.feature-box p {
    font-size: 16px;
    color: #666;
}

/* Gallery Section */
.gallery {
    display: flex;
    justify-content: space-around;
    padding: 50px 20px;
    background-color: #e9f5e9;
}

.gallery-item {
    width: 30%;
}

.gallery-item img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background-color: #004d00; /* Dark Green */
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}


/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #66cc66;
    color: white;
    padding: 15px;
    border-radius: 50%;
    border: none;
    font-size: 25px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: none; /* Hidden by default */
    z-index: 1000; /* Ensures it appears above all other content */
}

.back-to-top:hover {
    background-color: #004d00;
    transform: scale(1.1);
}

