/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

ul {
    list-style: none;
}

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

.head {
    position: sticky;
    z-index: 1000;
    top: 0;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background-color: #1a2a3a;
    color: white;
    flex-wrap: wrap;
    position: sticky;
    z-index: 1000;
    top: 0;
}

.Logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.Logo img {
    height: 60px;
}

.Logo h1 {
    font-size: 1.8rem;
    color: #ff6b00;
}

.Logo p {
    font-size: 0.9rem;
    color: #ccc;
}

.search-bar {
    flex: 1 1 280px;
    display: flex;
    justify-content: center;
}

.search-bar input {
    padding: 8px 15px;
    border-radius: 20px;
    border: none;
    width: min(320px, 100%);
}

.phone p {
    font-weight: bold;
    color: #ff6b00;
}

/* Navigation */
.navbar {
    background-color: #0f1a26;
    padding: 10px 0;
    position: sticky;
    z-index: 1000;
    top: 0;
}

.navbar ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.navbar ul li a {
    color: #84CC16;
    ;
    padding: 5px 10px;
    transition: 0.3s;
    font-weight: 500;
}

.navbar ul li a:hover {
    color: #ff6b00;
}

.menu-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: #1a2e3f;
    cursor: pointer;
    padding: 0.2rem 0.6rem;
    border-radius: 40px;
    transition: 0.2s;
}

.menu-btn:focus-visible {
    outline: 2px solid #1f2e3c;
    outline-offset: 3px;
}

.menu-btn i {
    pointer-events: none;
}

.quote-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    margin-left: 12px;
    border-radius: 999px;
    background: #ff6b00;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.quote-nav-btn:hover {
    background: #e85d00;
    transform: translateY(-1px);
}

.section-title {
    text-align: center;
    margin: 60px 0 20px;
    font-size: 2.5rem;
    color: #111;
}

.cameras {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 40px 8%;
}

.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .12);
    transition: .3s;
}

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

.card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card h3 {
    margin-bottom: 10px;
}

.price {
    color: #00a651;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 15px 0;
}

.specs {
    list-style: none;
    margin-bottom: 20px;
}

.specs li {
    margin: 8px 0;
}

.quote-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    background: #111;
    color: white;
    text-decoration: none;
    border-radius: 8px;
}

.quote-btn:hover {
    background: #00a651;
}

.features {
    background: white;
    padding: 80px 10%;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
}

.feature i {
    font-size: 3rem;
    color: #00a651;
    margin-bottom: 15px;
}

.contact {
    background: #111;
    color: white;
    padding: 80px 10%;
    text-align: center;
}

.contact h2 {
    margin-bottom: 20px;
}

.contact p {
    margin-bottom: 10px;
}

footer {
    background-color: #0f1a26;
    color: white;
    padding: 40px 20px 20px;
}

footer>section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

footer h1 {
    color: #ff6b00;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

footer ul li {
    margin-bottom: 8px;
}

footer ul li a:hover {
    color: #ff6b00;
}

footer p {
    margin-bottom: 10px;
}

footer .cctv-abouts .social-icons a {
    background: #ff6b00;
}

footer .cctv-abouts .social-icons a:hover {
    background: white;
    color: #ff6b00;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #2a3a4a;
    color: #aaa;
}

.testimonials-section {
    padding: 80px 8%;
    background: #f8f9fa;
}

.container {
    max-width: 1400px;
    margin: auto;
}

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

.eyebrow {
    display: inline-block;
    font-size: 14px;
    color: #0d6efd;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 38px;
    color: #222;
}

@media screen and (max-width: 1050px) {
    header {
        padding: 1rem 1.5rem;
        gap: 0.8rem 1rem;
    }

    .Logo h1 {
        font-size: 1rem;
    }

    .phone p {
        font-size: 0.85rem;
        padding: 0.3rem 1rem;
    }
}

/* medium screens – stack search & phone */
@media screen and (max-width: 860px) {
    header {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .Logo {
        flex: 1 1 100%;
        justify-content: center;
        margin-bottom: 0.2rem;
    }

    .Logo h1 {
        font-size: 1.8rem;
    }

    .quote-nav-btn {
        order: 2;
        margin-left: auto;
    }

    .search-bar {
        order: 3;
        flex: 1 1 180px;
        min-width: 140px;
    }

    .phone {
        order: 4;
        flex: 0 1 auto;
        margin-left: auto;
    }

    .phone p {
        font-size: 0.8rem;
        padding: 0.25rem 1rem;
    }

    .navbar ul {
        gap: 0.2rem 0.6rem;
    }

    .navbar ul li a {
        font-size: 0.85rem;
    }
}

/* mobile devices – collapse nav, show hamburger */
@media screen and (max-width: 700px) {
    .header-wrapper {
        border-radius: 20px;
    }

    header {
        padding: 0.8rem 1rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .Logo {
        flex: 1 1 100%;
        justify-content: center;
        margin-bottom: 0.2rem;
        gap: 0.3rem;
    }

    .Logo img {
        height: 44px;
    }

    .Logo h1 {
        font-size: 1.6rem;
        white-space: normal;
    }

    .Logo p {
        font-size: 0.7rem;
        padding: 0.1rem 0.8rem;
        white-space: normal;
    }

    .quote-nav-btn {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
        order: 1;
        margin-left: 0;
    }

    .search-bar {
        order: 2;
        flex: 1 1 150px;
        min-width: 120px;
        margin: 0.2rem 0;
    }

    .phone {
        order: 3;
        flex: 1 1 100%;
        justify-content: center;
        margin: 0.2rem 0 0 0;
    }

    .phone p {
        font-size: 0.8rem;
        padding: 0.3rem 1.2rem;
        width: auto;
        justify-content: center;
    }

    /* navbar: show hamburger, hide list by default */
    .navbar {
        padding: 0.5rem 1rem 0.8rem 1rem;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .navbar ul {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 0.8rem;
        gap: 0.2rem;
        background: #f8faff;
        padding: 0.8rem 0.5rem;
        border-radius: 24px;
        border: 1px solid #e8eef5;
    }

    .navbar ul.show {
        display: flex;
    }

    .navbar ul li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eef2f7;
        padding: 0.3rem 0;
    }

    .navbar ul li:last-child {
        border-bottom: none;
    }

    .navbar ul li a {
        font-size: 1rem;
        padding: 0.5rem 0;
        display: block;
        white-space: normal;
        border-bottom: none;
    }

    .navbar ul li a:hover {
        background: #e4ecf5;
        border-radius: 40px;
        border-bottom: none;
    }
}

/* very small screens (<= 430px) */
@media screen and (max-width: 430px) {
    .Logo h1 {
        font-size: 1.3rem;
    }

    .Logo img {
        height: 36px;
    }

    .quote-nav-btn {
        font-size: 0.7rem;
        padding: 0.3rem 1rem;
    }

    .search-bar input {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

    .phone p {
        font-size: 0.7rem;
        padding: 0.2rem 0.8rem;
    }

    .navbar {
        padding: 0.3rem 0.8rem 0.6rem 0.8rem;
    }
}

/* show hamburger also on 750–700 if needed, but we use 700 */
/* optional: for 600px we keep hamburger active */

/* small fix for landscape phones */
@media screen and (max-width: 700px) and (orientation: landscape) {
    .navbar ul {
        max-height: 60vh;
        overflow-y: auto;
    }
}

/* utility class for toggling (JS) */
.navbar ul.show {
    display: flex !important;
}














