body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures the body covers the viewport */
}

/* Header Styles */
header {
    background-color: #000;
    color: #fff;
    padding: 20px;
    text-align: left;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    background-image: url("security_guard.jpg");
    background-size: cover;
    background-position: center;
}

header .container {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    height: 100%;
}

.header-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}

#header-logo {
    height: 100px;
    margin-right: 20px;
}

nav {
    flex-grow: 1;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

nav li {
    margin-right: 30px;
}

nav li:last-child {
    margin-right: 0;
}

nav a {
    color: #000;
    text-decoration: none;
    font-size: 1.2em;
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    font-size: 4em;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.5em;
}

/* Shape Styles */
header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-top: 100px solid #ffc107;
    border-right: 100px solid transparent;
}

header::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-bottom: 150px solid #ffc107;
    border-left: 150px solid transparent;
}

/* Overlay Color */
header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* General Styles */
h1, h2, h3 {
    color: #ffc107;
}

section {
    padding: 40px;
    margin-bottom: 40px;
}

footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    margin-top: auto; /* Ensures the footer sticks to the bottom */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive columns */
    gap: 20px;
}

.footer-section h3 {
    color: #ffc107;
    margin-bottom: 10px;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.button {
    background-color: #ffc107;
    color: #000;
    padding: 10px 20px;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Shadow Box Styles */
.shadow-box {
    background-color: #ffc107;
    color: #000;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

/* Services Grid Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-box {
    background-color: #ffc107;
    color: #000;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.service-box i {
    font-size: 3em;
    margin-bottom: 10px;
}

.service-box h3 {
    margin-bottom: 10px;
}

/* Image Container Styles */
.image-container {
    text-align: center;
    margin-bottom: 20px;
}

.image-container img {
    max-width: 100%;
    height: auto;
}

/* Values Grid Styles */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.value-box {
    background-color: #ffc107;
    color: #000;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.value-box i {
    font-size: 3em;
    margin-bottom: 10px;
}

.value-box h3 {
    margin-bottom: 10px;
}

/* Separator Styles */
.separator {
    border: none;
    border-top: 2px solid #ffc107;
    margin: 20px 0;
}

/* Home Grid Styles */
.home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.home-text {
    /* Add styles for the text section if needed */
}

.home-image {
    /* Add styles for the image section if needed */
    text-align: center;
}

.home-image img {
    max-width: 100%;
    height: auto;
}

.gradient-p {
    background: linear-gradient(to right, #ffc107, #fff);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    position: relative;
    color: #000;
}

.gradient-p::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #fff;
}

#contact {
    padding: 40px;
}

.contact-content {
    background: linear-gradient(to right, #ffc107, #fffacd);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.contact-form {
    text-align: center;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 5px;
    color: #fff;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.form-field textarea {
    height: 150px;
}

.map-container {
    text-align: center; /* Center the map */
}

.social-logo {
    width: 24px; /* Adjust size as needed */
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }

    .home-grid,
    .values-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .home-image,
    .home-text {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3em;
    }

    .hero-content p {
        font-size: 1.2em;
    }

    nav ul {
        flex-wrap: wrap;
    }

    nav li {
        margin: 10px;
    }

    .gradient-p::after {
        border-left-width: 10px;
    }

    /* Hamburger Menu Styles */
    #menu-toggle {
        display: none; /* Hide the checkbox */
    }

    .menu-icon {
        display: block; /* Show the menu icon on mobile */
        position: relative;
        font-size: 2em;
        cursor: pointer;
        z-index: 2;
        margin-left: 10px;
        color: #000;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #ffc107;
        width: 200px;
        padding: 10px;
        border-radius: 5px;
    }

    #menu-toggle:checked ~ #menu {
        display: flex;
    }

    #header-logo {
        display: none;
    }

    nav a {
        color: #fff;
    }

    .map-container iframe {
        width: 100%;
    }

    footer p {
        font-size: 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr; /* Stack columns vertically on mobile */
    }
}

/* Changes for desktop */
@media (min-width: 769px) {
    #menu-toggle, .menu-icon {
        display: none !important; /* Hides the checkbox and menu icon on desktop */
    }
}
