/* GLOBAL RESET & BASE STYLE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #f4f4f4;
    color: #333;
    line-height: 1.7;
}

/* HEADER */
header {
    background: #1f1f1f;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

header h1 {
    font-size: 36px;
    letter-spacing: 1px;
}

header img {
    max-width: 100%;
    height: auto;
    margin-top: 15px;
    border-radius: 6px;
}

/* NAVIGATION */
nav {
    background: #2d2d2d;
    padding: 12px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

nav a {
    color: #eaeaea;
    margin: 0 18px;
    text-decoration: none;
    font-weight: bold;
    font-size: 17px;
    transition: 0.3s ease;
}

nav a:hover {
    color: #4da3ff;
}

/* MAIN CONTENT */
main {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: left;
}

/* HERO BANNER */
.hero-banner {
    background: url('images/hero.jpg') center/cover no-repeat;
    padding: 80px 40px;
    border-radius: 12px;
    color: white;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    margin-bottom: 40px;
}

.hero-banner h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.hero-banner p {
    font-size: 20px;
}

/* CONTENT SECTIONS */
.intro-section,
.cctv-section {
    background: white;
    padding: 30px 35px;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

/* HEADINGS */
main h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #222;
    border-left: 6px solid #0078d4;
    padding-left: 12px;
}

main h3 {
    font-size: 22px;
    margin: 25px 0 10px;
    color: #333;
}

/* PARAGRAPHS */
main p {
    margin: 18px 0;
    font-size: 18px;
    color: #444;
}

/* IMAGES */
main img,
.content-image {
    max-width: 100%;
    height: auto;
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* LISTS */
.styled-list {
    list-style: none;
    padding-left: 0;
}

.styled-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 17px;
}

.styled-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #0078d4;
    font-weight: bold;
}

/* TWO-COLUMN LAYOUT */
.two-column {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.column {
    flex: 1 1 300px;
}

/* CONTACT FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

.contact-form button {
    background: #0078d4;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #005fa3;
}

/* FOOTER */
footer {
    background: #1f1f1f;
    color: white;
    text-align: center;
    padding: 25px 20px;
    margin-top: 40px;
}

footer img {
    max-width: 100%;
    height: auto;
    margin-top: 15px;
    border-radius: 6px;
}

.footer-text {
    margin-top: 12px;
    font-size: 0.9em;
    opacity: 0.8;
}

/* ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    nav a {
        margin: 0 10px;
        font-size: 15px;
    }

    main h2 {
        font-size: 26px;
    }

    main p {
        font-size: 16px;
    }

    .intro-section,
    .cctv-section {
        padding: 20px;
    }
}
/* FOOTER BANNER */
.footer-banner {
    position: relative;
    background: url('images/footer-home.jpg') center/cover no-repeat;
    padding: 40px 30px;
    border-radius: 8px;
    margin-top: 60px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

/* Optional overlay for smoother blending */
.footer-banner::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.25); /* adjust 0.25 → darker or lighter */
    border-radius: 8px;
    pointer-events: none;
}

/* Responsive footer banner */
@media (max-width: 768px) {
    .footer-banner {
        padding: 30px 20px;
        border-radius: 6px;
    }
}
