:root {
    --primary-color: #ee1c25; /* BAM Security's blue color */
    --secondary-color: #000000;
    --accent-color: #000000; /* Gold accent */
    --light-bg: #f5f8fa;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Styles */
.announcement-bar {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.announcement-bar a{
    color: var(--white);
    font-weight: 500;
    text-decoration: underline;
}
.announcement-bar p{
    color: var(--white);
    font-weight: 500;
    
}
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    margin-left: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin: 0 1rem;
}

.nav-link {
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    left: 0;
    bottom: -5px;
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 4px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: #000000;
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-color: var(--light-bg);
    padding: 5rem 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(27, 27, 27, 0.8)), url('./images/2025-02-Professional-Security-Guard-Services-in-San-Diego-4-1024x669.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.hero p {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Services Section */
.services-intro {
    padding: 4rem 0;
    text-align: center;
    background-color: var(--white);
}

.services-intro h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.services-intro p {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0 4rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.service-title .material-icons {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.service-description {
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.service-features .material-icons {
    color: var(--accent-color);
    font-size: 1rem;
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
}

.service-cta .material-icons {
    font-size: 1rem;
    margin-left: 0.25rem;
    transition: var(--transition);
}

.service-cta:hover .material-icons {
    transform: translateX(3px);
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: var(--white);
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.cta-white {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    display: inline-block;
    border: 2px solid var(--white);
    transition: var(--transition);
}

.cta-outline {
    background-color: transparent;
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    display: inline-block;
    border: 2px solid var(--white);
    margin-left: 1rem;
    transition: var(--transition);
}

.cta-white:hover {
    background-color: transparent;
    color: var(--white);
}

.cta-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Why Choose Us Section */
.why-us {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.why-us h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-us-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.why-us-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.why-us-title {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-contact {
    margin-bottom: 1rem;
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-social {
    display: flex;
    margin-top: 1rem;
}

.social-icon {
    background-color: var(--white);
    color: var(--secondary-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.footer-heading {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgb(88, 88, 88);
}

.footer-bottom p {
    color: #999;
    font-size: 0.875rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #0d3e6a;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--white);
        padding: 1rem 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-item {
        margin: 0.5rem 1.5rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-white, .cta-outline {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .cta-outline {
        margin: 1rem auto 0;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 1rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
}