/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3e76af;
    --secondary-color: #3498DB;
    --dark-bg: #071434;
    --light-color: #ECF0F1;
    --text-color: #333;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============= NAVBAR (same design as CADMATE) ============= */

.navbar {
    background: #FFFFFF;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    color: #E5E7EB;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.nav-logo-img {
    height: 65px;       /* desktop size */
    width: 130px;        /* proportion maintain karega */
    display: block;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #252525;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #E43636;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #FFD700;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    width: 32px;
    height: 3px;
    background: rgb(94, 65, 12);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    transition: background 0.1s 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgb(94, 65, 12);
    border-radius: 3px;
    transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.hamburger.active {
    background: transparent;
}

.hamburger.active::before {
    top: 0;
    transform: rotate(45deg);
}

.hamburger.active::after {
    top: 0;
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-container {
        position: relative;
    }

    .nav-menu {
        position: absolute;
        left: 0;
        right: 0;
        top: -300px;
        flex-direction: column;
        background: #FFFFFF;
        width: calc(100% - 40px);
        margin: 0 20px;
        text-align: center;
        transition: all 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        padding: 1rem 0;
        border-radius: 0 0 15px 15px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        z-index: 999;
    }

    .nav-menu.active {
        top: 70px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-menu a {
        margin: 0;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: block;
    }

    .nav-menu a:last-child {
        border-bottom: none;
        border-radius: 0 0 15px 15px;
    }

     .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: scale(1.05);
    }


    /* Add backdrop blur effect when menu is open */
    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.1);
        z-index: -1;
        backdrop-filter: blur(2px);
        opacity: 1;
    }

    .nav-menu::before {
        opacity: 0;
        transition: opacity 0.3s ease;
    }

      .nav-logo-img {
        height: 60px;   /* mobile par thoda chhota */
    }

}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ============= CCTV HERO SECTION ============= */

.cctv-hero-banner {
    position: relative;
    min-height: 80vh;
    background-image: url("back_camera.jpg"); /* 🔁 Put your CCTV background image here */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 80px;
    color: #fff;
}

.cctv-hero-overlay {
    position: absolute;
    inset: 0;
}

.cctv-hero-content {
    position: relative;
    text-align: center;
    max-width: 780px;
}

.cctv-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.cctv-hero-subtitle {
    font-size: 1.05rem;
    opacity: 0.95;
    margin-bottom: 1.8rem;
    font-weight: 600;
}

.cctv-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.cctv-hero-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid #ffd700;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.cctv-hero-btn.primary {
    background: #ffd700;
    color: #333;
}

.cctv-hero-btn.outline {
    background: transparent;
    color: #ffd700;
}

.cctv-hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.cctv-hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.cctv-hero-badges span {
    padding: 8px 18px;
    border-radius: 999px;

    /* NEW: Make badges clearly visible */
    background: rgba(0, 0, 0, 0.55);               /* darker overlay for readability */
    border: 1px solid rgba(255, 255, 255, 0.4);

    /* NEW: Blur behind badge */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    color: #fff;
    font-weight: 500;

    /* NEW: Smooth appearance */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}


/* ============= CCTV BRAND LOGOS SECTION ============= */

.cctv-brands {
    background: #ffffff;
    padding: 70px 0 60px;
}

.cctv-section-title {
    text-align: center;
    font-size: 2rem;
    color: #12213f;
    margin-bottom: 10px;
}

.cctv-section-subtitle {
    text-align: center;
    color: #555;
    margin-bottom: 30px;
}

.brand-logo-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

/* Grid of logos */
.brands-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.brand-item {
    display: flex;
    justify-content: center;
    align-items : center;
    flex: 0 1 300px;               /* Increased container width */
    padding: 18px 22px;            /* More space around logo */
    background: #ffffff;
    border-radius: 14px;           /* Slightly larger, smoother card */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-item img {
    max-width: 160px;              /* Increased logo size */
    width: 100%;
    height: auto;
    object-fit: contain;
}

.brand-item:hover {
    transform: translateY(-4px) scale(1.05); /* Increase hover effect */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    cursor: pointer;
}



/* ============= CCTV OVERVIEW SECTION ============= */

.cctv-overview {
    background: #f4f5f7;
    padding: 70px 0;
}

.cctv-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.cctv-overview-text h2 {
    font-size: 2rem;
    color: #12213f;
    margin-bottom: 1rem;
}

.cctv-overview-text p {
    color: #444;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.cctv-tagline {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    color: #f97316;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.cctv-points {
    list-style: none;
    margin-top: 0.5rem;
}

.cctv-points li {
    margin-bottom: 0.4rem;
    padding-left: 1.2rem;
    position: relative;
    color: #333;
    font-size: 0.95rem;
}

.cctv-points li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #f97316;
}

.cctv-overview-card {
    background: #fff;
    border-radius: 10px;
    padding: 22px 20px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.cctv-overview-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #12213f;
}

.cctv-overview-card ul {
    list-style: none;
    margin-bottom: 1rem;
}

.cctv-overview-card ul li {
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.cctv-card-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 24px;
    border-radius: 999px;
    background: #ffd700;
    color: #333;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cctv-card-btn:hover {
    background: #ffed4e;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.35);
}

/* ============= CCTV FEATURES SECTION ============= */

.cctv-features {
    background: #d2d3d5;
    padding: 70px 0 80px;
}

.cctv-features-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.cctv-features-header h2 {
    font-size: 1.9rem;
    color: #12213f;
    margin-bottom: 0.6rem;
}

.cctv-features-header p {
    color: #555;
}

.cctv-features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.cctv-feature-box {
    background: #fff;
    border-radius: 10px;
    padding: 20px 22px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.cctv-feature-box h4 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
    color: #f97316;
    text-transform: uppercase;
}

.cctv-feature-box p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
}

/* ============= RESPONSIVE ============= */

@media (max-width: 900px) {
    .cctv-hero-title {
        font-size: 2.2rem;
    }

    .cctv-overview-grid {
        grid-template-columns: 1fr;
    }

    .cctv-features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .cctv-hero-banner {
        padding: 120px 20px 60px;
    }

    .cctv-hero-title {
        font-size: 1.9rem;
    }

    .cctv-overview,
    .cctv-features,
    .cctv-brands {
        padding: 50px 0;
    }

    .cctv-features-grid {
        grid-template-columns: 1fr;
    }
}

/* ============= FOOTER (same design) ============= */

.footer {
    background: #0F0E0E;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #DCDCDC;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #FFB700;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 2rem;
    text-align: center;
    color: #ccc;
}

.dvp {
    color: yellow;
}

a {
    text-decoration: none;
}
