/* --- Variables --- */
:root {
    --primary-color: #C05C36; /* Logo Orange/Rust */
    --secondary-color: #4A2C24; /* Logo Dark Brown */
    --accent-color: #A89078; /* Logo Muted Gold */
    --text-dark: #333;
    --text-light: #f4f4f4;
    --white: #ffffff;
    --bg-light: #f9f9f9;
}

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

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

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--secondary-color);
    color: var(--white);
}

.text-white h2, .text-white p {
    color: var(--white);
}

.text-right {
    text-align: right;
}

/* --- Navbar --- */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

/* --- Logo Layout (Image on top, PSIRA below) --- */
.logo {
    display: flex;
    flex-direction: column; /* Stacks items vertically */
    align-items: center;    /* Centers them horizontally */
    justify-content: center;
}

.logo-img {
    height: 55px;          /* Adjust this height if the logo is too big/small */
    width: auto;
    object-fit: contain;
}

/* --- PSIRA Horizontal Line Under Logo --- */
.psira-reg {
    display: flex;          /* Keeps "PSIRA:" and the number side-by-side */
    align-items: center;
    gap: 4px;               /* Space between the word PSIRA and the number */
    font-size: 0.65rem;
    color: var(--secondary-color);
    margin-top: 4px;        /* Adds a little space between the image and the text */
    font-weight: 700;
    white-space: nowrap;    /* Prevents it from wrapping to a new line */
    line-height: 1;
}

.psira-label {
    font-weight: 400;
    color: var(--accent-color);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    color: var(--secondary-color);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-quote {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 5px;
}

.btn-quote:hover {
    background-color: var(--secondary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px;
}

/* --- Hero --- */
.hero {
    background: linear-gradient(rgba(74, 44, 36, 0.8), rgba(74, 44, 36, 0.8)), url('https://images.unsplash.com/photo-1557597774-9d273605dfa9?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 700;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: var(--accent-color);
}

/* --- Sections --- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
}

/* --- About & Mission/Vision --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.mv-card {
    background: var(--white);
    padding: 25px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.mv-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* --- Values --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.value-card {
    background: var(--white);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-top: 4px solid var(--accent-color);
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* --- Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.service-item {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
}

.service-item:hover {
    background: var(--primary-color);
    cursor: default;
}

/* --- Two Column Layout --- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.check-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.check-list li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* --- Invoice Table --- */
.invoice-container {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.invoice-header {
    margin-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 15px;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.invoice-table th, .invoice-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.invoice-table th {
    background-color: var(--secondary-color);
    color: var(--white);
}

.invoice-table tfoot td {
    font-weight: bold;
    background-color: var(--bg-light);
    font-size: 1rem;
}

/* --- Footer --- */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-col h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.8rem;
    color: #888;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Add JS to toggle this */
        flex-direction: column;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .two-col, .mission-vision {
        grid-template-columns: 1fr;
    }
}
/* --- CCTV Background for Services Section --- */
.services-bg {
    /* Replace this URL with your own CCTV image if you have one in your images folder */
    background: linear-gradient(rgba(74, 44, 36, 0.85), rgba(74, 44, 36, 0.85)), 
                url('https://images.unsplash.com/photo-1557597774-9d273605dfa9?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Keeps the image still while scrolling */
}

/* Ensure text remains readable */
.services-bg .service-item {
    background: rgba(255, 255, 255, 0.15); /* Slightly more visible boxes */
}