/*@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Montserrat:wght@800;900&display=swap');*/

:root {
    --navy: #0d1b3e;
    --navy-mid: #162450;
    --red: #e43027;
    --red-glow: rgba(228, 48, 39, 0.25);
    --white: #ffffff;
    --muted: rgba(255, 255, 255, 0.55);
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.09);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 40px;
    --shadow-card: 0 2px 20px rgba(0, 0, 0, 0.25), 0 1px 4px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 12px 48px rgba(228, 48, 39, 0.18), 0 4px 16px rgba(0, 0, 0, 0.25);
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
    --light-bg: #f4f6fb;
    --light-border: #e8eaf0;

    --bg-main: var(--navy);
    --bg-surface: var(--navy-mid);
    --bg-dark: #070e24;
    --accent-blue: var(--red);
    --accent-blue-hover: #b3241d;
    --accent-orange: var(--red);

    --text-primary: var(--white);
    --text-secondary: var(--muted);
    --border-color: var(--card-border);

    --font-sans: 'Space Grotesk', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 14px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    /* Clean bold headings */
    color: var(--white);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 30px;
    /* Pill shape like image */
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--accent-blue);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-blue-hover);
}

.btn-secondary {
    background: var(--accent-orange);
    color: white;
}

.btn-secondary:hover {
    background: #e86e0c;
}

.btn-gradient {
    background: linear-gradient(135deg, #003c94 0%, #c1001e 100%);
    color: white;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(74, 110, 224, 0.3);
}

.btn-white {
    background: #ffffff;
    color: var(--bg-dark);
}

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* NAVBAR */
.top-bar {
    background: var(--bg-dark);
    color: #cbd5e0;
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
}

.top-bar-left span {
    margin-right: 15px;
}

.top-bar-left i {
    color: var(--accent-orange);
    margin-right: 5px;
}

header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy);
    text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-blue);
}

/* NEW DARK HERO SECTION */
.hero-dark {
    position: relative;
    padding: 0;
    min-height: 100vh;
    background-color: #070926;
    color: white;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 27, 62, 0.45) 0%, rgba(7, 14, 36, 0.3) 100%);
    z-index: 1;
}

/* Premium Floating Animations for HUD Elements */
.hud-rec,
.hud-time {
    animation: float-continuous 8s ease-in-out infinite;
}

.hero-buttons .btn {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-buttons .btn-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, var(--red) 100%) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2), 0 4px 15px rgba(228, 48, 39, 0.2) !important;
    border: none !important;
}

.hero-buttons .btn-gradient:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.35), 0 12px 30px rgba(228, 48, 39, 0.35) !important;
}

.hero-buttons .btn-white {
    background: rgba(255, 255, 255, 0.04) !important;
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(6px);
}

.hero-buttons .btn-white:hover {
    background: var(--white) !important;
    color: #070e24 !important;
    border-color: var(--white) !important;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.25) !important;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-content-cctv {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex !important;
    align-items: center;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.95);
    gap: 12px;
}

.hero-badge::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 2px;
    background-color: var(--red);
    margin-right: 0 !important;
    border-radius: 0 !important;
    animation: none !important;
}

@keyframes badge-blink {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-content-cctv h1 {
    font-family: var(--font-heading);
    font-size: 4.0rem;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.75), 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Drop shadow to increase legibility */
}

@media (max-width: 768px) {
    .hero-content-cctv h1 {
        font-size: 2.9rem;
    }
}

@media (max-width: 480px) {
    .hero-content-cctv h1 {
        font-size: 2.3rem;
    }
}

.hero-content-cctv p {
    font-size: 1.1rem;
    color: #cbd5e0;
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-info-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 250px;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.info-label {
    display: block;
    font-size: 0.8rem;
    color: #cbd5e0;
}

.info-value {
    display: block;
    font-size: 1.05rem;
    color: white;
}

/* REGULAR PAGE HEADER */
.page-header {
    background: var(--bg-main) !important;
    border-bottom: none !important;
    text-align: left !important;
    padding: 140px 0 40px 0 !important;
    box-sizing: border-box;
}

.page-header-content {
    max-width: 750px;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3.6rem !important;
    font-weight: 900 !important;
    color: var(--white) !important;
    line-height: 1.1 !important;
    margin-bottom: 20px !important;
    letter-spacing: -0.02em;
}

.page-header p {
    color: var(--text-secondary) !important;
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* VIDEO BACKGROUND PAGE HEADER & ACCENTS */
.page-header.has-video-bg {
    position: relative;
    background: transparent !important;
    overflow: hidden;
    padding: 180px 0 90px 0 !important;
}

.page-header-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.page-header-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.page-header-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 27, 62, 0.45) 0%, rgba(7, 14, 36, 0.3) 100%);
    z-index: 2;
}

.page-header.has-video-bg .container {
    position: relative;
    z-index: 3;
}

.page-header-content {
    position: relative;
}

/* Ornaments structure matching the user's mockup */
.header-ornaments {
    position: absolute;
    top: -30px;
    left: -20px;
    pointer-events: none;
    display: block;
    width: 60px;
    height: 60px;
}

.ornament-dot-white {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: #cbd5e0;
    border-radius: 50%;
    top: 0px;
    left: 5px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.ornament-dot-orange {
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: var(--red);
    border-radius: 50%;
    top: 15px;
    left: 25px;
    box-shadow: 0 0 15px var(--red);
    opacity: 0.85;
}

.ornament-circle-orange {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(228, 48, 39, 0.35);
    background-color: rgba(228, 48, 39, 0.12);
    border-radius: 50%;
    top: -5px;
    left: 10px;
}

/* Breadcrumbs underneath main header */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
}

.breadcrumbs a {
    color: var(--white);
    font-weight: 600;
    opacity: 0.9;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.breadcrumbs a:hover {
    color: var(--red);
    opacity: 1;
}

.breadcrumbs .separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.breadcrumbs .current {
    color: rgba(255, 255, 255, 0.6);
}

/* SECTION PADDING */
.section-padding {
    padding: 70px 10px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--bg-dark);
}

.section-title p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* CARDS / PORTFOLIO */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 15px;
}

.card-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
}

.card-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--navy);
    font-weight: 700;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* SWIPER SERVICE CAROUSEL CARDS */
.service-slide-card {
    height: 350px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-slide-tags {
    display: flex;
    gap: 10px;
}

.slide-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.service-slide-content h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.service-slide-content p {
    color: #e2e8f0;
    font-size: 0.95rem;
}


/* PRODUCTS SECTION */
.product-slider .swiper-wrapper {
    align-items: stretch;
}

.product-slider .swiper-slide {
    height: auto;
}

.product-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.product-img-wrapper {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.product-img-wrapper img {
    max-height: 180px;
    max-width: 100%;
    object-fit: contain;
}

.product-info {
    text-align: left;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.product-title-row h4 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: var(--bg-dark);
}

.price {
    font-size: 1.1rem;
    color: #9ca3af;
    font-weight: 600;
    white-space: nowrap;
}

.price-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.old-price {
    font-size: 0.85rem;
    color: #cbd5e0;
    text-decoration: line-through;
}

.add-to-cart {
    display: inline-block;
    color: var(--accent-orange);
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.add-to-cart:hover {
    color: #e86e0c;
}

/* FEATURES CENTER GRID (Why Choose Us) */
.features-center-grid {
    display: grid;
    grid-template-columns: 31% 1fr 31%;
    gap: 40px;
    align-items: center;
}

.features-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.feature-card-box {
    background: #ffffff;
    color: var(--bg-dark);
    border-radius: 16px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, height 0.4s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 95px;
    width: 100%;
    overflow: hidden;
}

.feature-card-box:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-card-box.active {
    height: 155px;
}

@media (max-width: 992px) {
    .features-center-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card-box {
        height: auto;
        min-height: 95px;
    }

    .feature-card-box.active {
        height: auto;
        min-height: 155px;
    }
}

.feature-card-icon {
    font-size: 1.8rem;
    color: var(--accent-blue);
    background: rgba(0, 86, 179, 0.1);
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-card-text {
    width: 100%;
}

.feature-card-text h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0c0f16 !important;
}

.why-choose-toggle-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0c0f16;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.feature-card-box:hover .why-choose-toggle-btn {
    background: rgba(0, 0, 0, 0.1);
}

.feature-card-box.active .why-choose-toggle-btn {
    background: var(--red);
    color: white;
    border-color: var(--red);
}

.feature-card-text p {
    margin: 0;
    font-size: 0.8rem;
    color: #4a5568 !important;
    line-height: 1.4;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease, margin-top 0.3s ease;
}

.feature-card-box.active .feature-card-text p {
    max-height: 100px;
    opacity: 1;
    margin-top: 8px;
}

.offset-left {
    transform: translateX(-30px);
}

.offset-right {
    transform: translateX(30px);
}

.features-center-image img {
    width: 100%;
    border-radius: 20px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

/* Scroll Reveal Word Animation */
.reveal-word {
    opacity: 0.15;
    transform: scale(0.95) translateY(4px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-block;
}

.reveal-word.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* BENEFITS GRID STYLES */
.benefits-grid-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 18px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.benefits-grid-card:hover {
    transform: translateY(-5px);
    border-color: var(--red);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.benefits-card-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(228, 48, 39, 0.3);
    background: rgba(228, 48, 39, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.benefits-grid-card:hover .benefits-card-icon-wrapper {
    background: var(--red);
    border-color: var(--red);
}

.benefits-card-icon-wrapper i {
    color: var(--red);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.benefits-grid-card:hover .benefits-card-icon-wrapper i {
    color: white;
}

.benefits-grid-card h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
}

.benefits-grid-card p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

.benefits-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    align-content: center;
}

@media (max-width: 767px) {
    .benefits-grid-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* TRUSTED PARTNERS */
.partner-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    /* Slightly less rounded to match image */
    padding: 15px 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    height: 70px;
    min-width: 180px;
    /* Ensure they have enough width */
    flex-shrink: 0;
}

.partner-logo {
    font-size: 1.8rem;
}

/* PURE CSS MARQUEE */
.css-marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
    padding: 10px 0;
}

.css-marquee-container::before,
.css-marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 2;
}

.css-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-surface) 0%, transparent 100%);
}

.css-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-surface) 0%, transparent 100%);
}

.css-marquee-track {
    display: inline-flex;
    gap: 20px;
    animation: scroll-marquee 25s linear infinite;
    padding-left: 20px;
}

.css-marquee-track:hover {
    /* Optional: pause on hover. User said it shouldn't stop, so leaving this out or commented */
    /* animation-play-state: paused; */
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 10px));
    }

    /* 50% because we duplicated the set exactly once, plus half gap */
}

/* GALLERY SECTION */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    border: 1px solid var(--border-color);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.05);
}

/* ABOUT SECTION */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-main-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    object-fit: cover;
}

.about-content {
    padding-left: 20px;
}

.about-list {
    margin-bottom: 30px;
}

.about-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
}

.about-list li:last-child {
    border-bottom: none;
}

.about-list li i {
    color: var(--accent-orange);
    font-size: 1.2rem;
}

.about-list-dark li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e0;
}

.about-small-image-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-small-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CONTACT PAGE */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-card {
    background: var(--bg-surface);
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info-card i {
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-sans);
}

textarea.form-control {
    height: 120px;
    resize: vertical;
}

/* FOOTER */
footer {
    background: #002244;
    background: linear-gradient(135deg, #001a33 0%, #003366 100%);
    color: #cbd5e0;
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr 1.8fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand-col {
    padding-right: 30px;
}

.footer-logo-white-pill {
    background: white;
    display: inline-flex;
    align-items: center;
    padding: 8px 25px;
    border-radius: 40px;
    margin-bottom: 25px;
    gap: 8px;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #a0aec0;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #cbd5e0;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: #3182ce;
    color: white;
    border-color: #3182ce;
}

.footer-links h4 {
    color: #3182ce;
    margin-bottom: 25px;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: #e2e8f0;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-office-col p {
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-bottom-links a {
    color: #cbd5e0;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

.upload-info {
    text-align: center;
    padding: 30px;
    background: var(--bg-surface);
    border: 1px dashed var(--border-color);
    border-radius: 6px;
    margin-top: 20px;
}

/* OFFERS SECTION */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.offer-card {
    text-align: center;
    padding: 20px;
}

.offer-icon {
    font-size: 3.5rem;
    color: var(--navy);
    margin-bottom: 25px;
}

.offer-card h3 {
    font-size: 1.6rem;
    color: #111;
    margin-bottom: 15px;
    font-weight: 700;
}

.offer-card p {
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-content-cctv h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .contact-grid,
    .about-grid,
    .features-center-grid,
    .offers-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        padding-left: 0;
        margin-top: 30px;
    }

    .offset-left,
    .offset-right {
        transform: none !important;
    }

    .features-center-image {
        order: -1;
        /* Move image to top on mobile */
        margin-bottom: 20px;
    }
}


/* CCTV HUD Elements */
.cctv-hud {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.hud-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.4);
}

.hud-top-left {
    top: 40px;
    left: 40px;
    border-right: none;
    border-bottom: none;
}

.hud-top-right {
    top: 40px;
    right: 40px;
    border-left: none;
    border-bottom: none;
}

.hud-bottom-left {
    bottom: 40px;
    left: 40px;
    border-right: none;
    border-top: none;
}

.hud-bottom-right {
    bottom: 40px;
    right: 40px;
    border-left: none;
    border-top: none;
}

.hud-rec {
    position: absolute;
    top: 65px;
    /* Nested inside top-left corner bracket */
    left: 65px;
    /* Nested inside top-left corner bracket */
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1;
}

.rec-dot {
    width: 18px;
    height: 18px;
    background-color: #ff3333;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff3333;
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hud-time {
    position: absolute;
    top: 65px;
    /* Nested inside top-right corner bracket */
    right: 65px;
    /* Nested inside top-right corner bracket */
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: monospace;
    letter-spacing: 2px;
    line-height: 1;
}

/* Adjust mobile HUD */
@media (max-width: 768px) {
    .hud-corner {
        width: 30px;
        height: 30px;
        border-width: 3px;
    }

    .hud-top-left {
        top: 10px;
        left: 0px;
    }

    .hud-top-right {
        top: 10px;
        right: 0px;
    }

    .hud-bottom-left {
        bottom: 10px;
        left: 0px;
    }

    .hud-bottom-right {
        bottom: 10px;
        right: 0px;
    }

    .hud-rec {
        top: 30px;
        /* Nested on mobile */
        left: 20px;
        /* Nested on mobile */
        font-size: 1.2rem;
        line-height: 1;
    }

    .rec-dot {
        width: 12px;
        height: 12px;
    }

    .hud-time {
        top: 30px;
        /* Nested on mobile */
        right: 20px;
        /* Nested on mobile */
        font-size: 1.2rem;
        line-height: 1;
    }

    .container {
        padding: 0 15px;
    }
}


/* Mobile Navigation & Fixes added via Antigravity */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--bg-dark);
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        align-items: center;
        gap: 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
        padding: 0;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-links a {
        padding: 15px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--light-border);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .hero-buttons {
        flex-wrap: wrap;
    }

    .section-padding {
        padding: 40px 0 !important;
    }



    .nav-links.active {
        display: flex !important;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        align-items: center;
        gap: 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        padding: 0;
        z-index: 999;
    }


    .hero-dark {
        padding: 80px 0 !important;
    }
}


/* Prevent horizontal scrolling globally */
html,
body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}


/* iOS Safari horizontal scroll fix */
section,
footer {
    overflow-x: hidden !important;
}

/* ==========================================================================
   CCTV QUOTE ESTIMATOR POPUP
   ========================================================================== */

/* Overlay */
.cctv-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 14, 36, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    animation: cctv-fade-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cctv-modal-overlay.active {
    display: flex;
}

/* Modal Card Container */
.cctv-modal-card {
    background: #09122c;
    /* Sleek dark navy matching the brand colors */
    border: 1px solid rgba(228, 48, 39, 0.2);
    /* Red tint border matching the glow */
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 410px;
    position: relative;
    padding: 26px 30px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65),
        0 0 50px rgba(228, 48, 39, 0.22);
    /* Red backlight effect */
    animation: cctv-scale-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    box-sizing: border-box;
}

/* Close Button */
.cctv-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    z-index: 10;
}

.cctv-modal-close:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

/* HUD Header Details */
.cctv-hud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cctv-hud-pill {
    border: 1px solid rgba(228, 48, 39, 0.5);
    color: #f34239;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    text-transform: uppercase;
}

.cctv-hud-est {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    position: absolute;
    top: 56px;
    right: 22px;
}

.cctv-hud-dot {
    width: 8px;
    height: 8px;
    background-color: var(--red);
    border-radius: 50%;
    display: inline-block;
    animation: cctv-pulse-glow 2s infinite;
}

/* Modal Title */
.cctv-modal-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    padding-right: 50px;
    /* Leave space on the right for Close button and EST indicator */
}

.cctv-highlight {
    color: var(--red);
}

/* Form Styles */
.cctv-quote-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cctv-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cctv-form-label {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

/* Counter Control */
.cctv-counter {
    display: inline-flex;
    align-items: center;
    gap: 24px;
}

.cctv-counter-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    -webkit-user-select: none;
}

.cctv-counter-btn:hover {
    background: rgba(228, 48, 39, 0.15);
    border-color: var(--red);
    color: var(--white);
    transform: scale(1.12);
    box-shadow: 0 0 10px rgba(228, 48, 39, 0.35);
}

.cctv-counter-btn:active {
    transform: scale(0.9);
}

.cctv-counter-val {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--white);
    width: 32px;
    text-align: center;
    user-select: none;
}

/* Selector Buttons Options Row */
.cctv-options-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cctv-opt-btn {
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.cctv-opt-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(228, 48, 39, 0.4);
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.cctv-opt-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
    box-shadow: 0 0 12px var(--red-glow);
    transform: translateY(-2px);
}

.cctv-opt-btn:active {
    transform: translateY(0);
}

/* Input Container Details */
.cctv-input-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 0 16px;
    height: 48px;
    transition: all 0.25s ease;
}

.cctv-input-container:focus-within {
    border-color: rgba(228, 48, 39, 0.6);
    box-shadow: 0 0 12px rgba(228, 48, 39, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.cctv-input-icon {
    color: rgba(255, 255, 255, 0.4);
    margin-right: 12px;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.cctv-input-field {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--white) !important;
    width: 100%;
    height: 100%;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    outline: none !important;
}

.cctv-input-field::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

/* Submit Button */
.cctv-submit-btn {
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    height: 48px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 8px;
    width: 100%;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.cctv-submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: all 0.6s ease;
}

.cctv-submit-btn:hover::after {
    left: 100%;
}

.cctv-submit-btn:hover {
    background: #c92119;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px rgba(228, 48, 39, 0.5), 0 0 15px rgba(228, 48, 39, 0.2);
}

.cctv-submit-btn:active {
    transform: translateY(-1px) scale(0.99);
}

/* Animations */
@keyframes cctv-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes cctv-scale-in {
    from {
        transform: scale(0.92);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes cctv-pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(228, 48, 39, 0.7);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(228, 48, 39, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(228, 48, 39, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .cctv-modal-card {
        padding: 24px;
        border-radius: var(--radius-md);
    }

    .cctv-modal-title {
        font-size: 1.6rem;
        margin-bottom: 14px;
    }

    .cctv-opt-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .cctv-counter-val {
        font-size: 1.7rem;
    }
}

/* ==========================================================================
   COOL INTERACTIVE ANIMATIONS
   ========================================================================== */

/* Shimmering Text animation */
@keyframes textShimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.shimmer-text {
    background: linear-gradient(90deg, #ffffff 0%, #e43027 50%, #ffffff 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: textShimmer 5s linear infinite;
    display: inline-block;
}

/* Floating Animation for Images */
@keyframes float-continuous {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(0.5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.floating-about-img {
    animation: float-continuous 6s ease-in-out infinite;
}

/* Hover effects for product/portfolio cards */
.card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(228, 48, 39, 0.35) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 25px rgba(228, 48, 39, 0.15) !important;
}

@keyframes float-card-img {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }

    100% {
        transform: translateY(0);
    }
}

.card:hover .card-image {
    animation: float-card-img 2.5s ease-in-out infinite;
}

/* Hover effects for Service slide cards */
.service-slide-card {
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.service-slide-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
}

/* Gallery Hover Animations */
.gallery-item {
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.gallery-item img,
.gallery-item video {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.08);
}

/* Underline slide-out for navigation links */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--red);
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Contact Page info card hover effects */
.contact-info-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateX(6px);
    color: var(--white);
}

.contact-info-card i {
    transition: transform 0.3s ease;
}

.contact-info-card:hover i {
    transform: scale(1.15);
    color: var(--red);
}

/* Contact Page Specific Estimator Styling */
.cctv-contact-estimator {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
    box-sizing: border-box;
    width: 100%;
}

/* Two-column flex layout for side-by-side spec rows */
.cctv-form-row {
    display: flex;
    gap: 24px;
    width: 100%;
}

.cctv-form-row .cctv-form-group {
    flex: 1;
    min-width: 0;
}

/* Mobile responsive layout stacking */
@media (max-width: 576px) {
    .cctv-form-row {
        flex-direction: column;
        gap: 14px;
    }
}

/* 
   ==========================================================================
   PREMIUM LUXURY GLASSMORPHIC FLOAT NAVIGATION & HERO LAYOUT (Tesla/SpaceX style)
   ==========================================================================
*/

/* Serif Typography for Hero Heading word */
.hero-serif-italic {
    font-family: var(--font-heading) !important;
    /* Keep font family same as others */
    font-style: normal !important;
    /* Non-italic */
    text-transform: uppercase !important;
    /* Uppercase to match rest of title */
    font-weight: 900 !important;
    /* Extra bold to match rest of title */
    color: #c9251e !important;
    /* Deeper, less blinding premium crimson red */
    position: relative;
    padding-right: 0;
    text-shadow: 0 0 15px rgba(201, 37, 30, 0.55), 0 4px 10px rgba(0, 0, 0, 0.85) !important;
    /* Softened red glow shadow */
}

/* Floating Navigation Header layout - Universal for all pages */
header {
    position: absolute;
    top: 24px;
    left: 0;
    width: 100%;
    background: transparent !important;
    box-shadow: none !important;
    z-index: 100;
}

@media (min-width: 769px) {

    /* Hide logo on desktop navigation to match reference picture */
    header .logo {
        display: none;
    }

    /* Reset navbar container globally */
    header .navbar {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        display: flex;
        justify-content: center;
        height: auto;
        padding: 0;
        margin: 0 auto;
    }

    /* Compact, centered glassmorphic nav pill with NO logo */
    header .nav-links {
        background: rgba(10, 16, 29, 0.45) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 50px !important;
        padding: 10px 32px !important;
        backdrop-filter: blur(12px) saturate(120%) !important;
        display: flex !important;
        gap: 28px !important;
        align-items: center !important;
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: 0 !important;
        margin: 0 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    }
}

header .nav-links a {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: color 0.3s ease, border-color 0.3s ease;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

header .nav-links a:hover,
header .nav-links a.active {
    color: var(--white) !important;
    border-bottom: 2px solid var(--red) !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Stats wrapper in the bottom right corner */
.hero-stats-wrapper {
    position: absolute;
    bottom: 10px;
    right: 24px;
    display: flex;
    gap: 20px;
    z-index: 2;
}

.hero-stat-card {
    background: #070e24 !important;
    /* Fully opaque to completely block background video watermarks */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 16px 28px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.hero-stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.25);
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.01em;
}

/* Floating animation helper */
@keyframes float-continuous {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Make container display relative for stats alignment */
.hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Adjust mobile layout styling */
@media (max-width: 992px) {
    .hero-stats-wrapper {
        position: static;
        margin-top: 40px;
        justify-content: flex-start;
        gap: 20px;
    }

    .hero-container {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding-top: 120px;
        padding-bottom: 60px;
    }
}

@media (max-width: 768px) {
    body.home-page header .navbar {
        border-radius: 20px;
        padding: 0 20px;
        width: calc(100% - 20px);
    }
}

/* Red accent class for the brand name in badges */
.badge-red-text {
    color: var(--red) !important;
    font-weight: 800;
}

/* Circular spinning text nested inside the bottom-right HUD corner */
.hud-spinning-text {
    position: absolute;
    bottom: 85px;
    /* Shifted further away from L-bracket to give more space */
    right: 85px;
    /* Shifted further away from L-bracket to give more space */
    width: 100px;
    /* Sized larger for readability */
    height: 100px;
    z-index: 6;
    pointer-events: none;
}

.hud-spinning-text svg {
    width: 100%;
    height: 100%;
    animation: hud-spin-clockwise 25s linear infinite;
    transform-origin: center;
}

@keyframes hud-spin-clockwise {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .hud-spinning-text {
        display: none !important;
        /* Hide HUD spinning text on mobile to avoid overlapping */
    }
}

/* Premium Swapping Button Hover Animation */
.btn-has-icon {
    position: relative !important;
    overflow: hidden !important;
    padding: 12px 52px 12px 52px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-has-icon .btn-text {
    display: inline-block !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    transform: translateX(-10px) !important;
}

.btn-has-icon:hover .btn-text {
    transform: translateX(10px) !important;
}

.btn-has-icon i {
    position: absolute !important;
    left: calc(100% - 42px) !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-has-icon:hover i {
    left: 12px !important;
}

/* Icon circles color schemes */
.btn-primary i,
.btn-secondary i,
.btn-gradient i {
    background: #ffffff !important;
    color: #0d1b3e !important;
}

.btn-white i {
    background: #0d1b3e !important;
    color: #ffffff !important;
}

/* FAQ SECTION */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-card-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 24px 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
}

.faq-card-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--red), #ff4d42);
    transform: scaleY(0);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-origin: bottom;
}

.faq-card-box:hover::before,
.faq-card-box.active::before {
    transform: scaleY(1);
    transform-origin: top;
}

.faq-card-box:hover {
    border-color: rgba(228, 48, 39, 0.25);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(228, 48, 39, 0.08);
}

.faq-card-box.active {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(228, 48, 39, 0.5);
    box-shadow: 0 12px 35px rgba(228, 48, 39, 0.15);
}

.faq-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.faq-card-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.faq-card-box:hover .faq-card-header h4,
.faq-card-box.active .faq-card-header h4 {
    color: #ffffff;
}

.faq-toggle-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    transition: all 0.35s ease;
    flex-shrink: 0;
}

.faq-toggle-btn i {
    transition: transform 0.35s ease;
}

.faq-card-box:hover .faq-toggle-btn {
    background: rgba(228, 48, 39, 0.15);
    border-color: rgba(228, 48, 39, 0.3);
    color: white;
}

.faq-card-box.active .faq-toggle-btn {
    background: var(--red);
    border-color: var(--red);
    color: white;
    box-shadow: 0 4px 15px rgba(228, 48, 39, 0.4);
}

.faq-card-box.active .faq-toggle-btn i {
    transform: rotate(180deg);
}

.faq-card-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
}

.faq-card-box.active .faq-card-content {
    max-height: 250px;
    opacity: 1;
}

.faq-card-content p {
    margin: 0;
    padding-top: 15px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* SEO TARGET LINKS SECTION */
.seo-links-section {
    background: var(--bg-dark);
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.seo-links-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: justify;
    line-height: 2.2;
}

.seo-link {
    display: inline;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
    margin-right: 25px;
    transition: all 0.3s ease;
}

.seo-link:hover {
    color: var(--red);
}

.seo-link.highlight {
    color: var(--red);
}

.seo-link.highlight:hover {
    color: #ff5247;
}

/* AREA PAGE STYLES */
.area-service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.35s ease;
}

.area-service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(228, 48, 39, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.area-service-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(228, 48, 39, 0.15), rgba(228, 48, 39, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--red);
    font-size: 1.3rem;
}

.area-service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.area-service-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin: 0;
}

.area-service-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.area-service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
}

.area-service-list li i {
    color: var(--red);
    font-size: 0.75rem;
}

.area-benefit-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 20px 24px;
    border-radius: 14px;
    transition: all 0.35s ease;
}

.area-benefit-card:hover {
    transform: translateY(-3px);
    border-color: rgba(228, 48, 39, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

.area-benefit-card i {
    color: var(--red);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.area-benefit-card span {
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

@media (max-width: 992px) {
    .benefits-about-grid {
        grid-template-columns: 1fr !important;
    }
    .benefits-image-wrapper {
        display: none !important;
    }
}


/* Make sure header always wins the stacking order */
#site-header,
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: white;
}

.sticky-header {
    display: none;
}
.sticky-header.is-sticky {
    display: block;
}

/* Mobile hamburger + sidebar must sit above everything too */
.mobile-menu-toggle {
    z-index: 10000;
    position: relative;
    cursor: pointer;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -320px;   /* off-screen by default */
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 10001;
    transition: right 0.3s ease;
    overflow-y: auto;
}
.mobile-sidebar.is-open {
    right: 0;
}

/* Prevent decorative hero overlays from blocking clicks underneath */
.cctv-hud,
.hud-corner,
.hud-spinning-text,
.hud-rec,
.hud-time,
.hero-video-container,
.hero-video-overlay {
    pointer-events: none;
    z-index: 1; /* keep hero decorations below the header's 9999 */
}

