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

img, svg { max-width: 100%; height: auto; display: block; }
html, body { width: 100%; overflow-x: hidden; }

/* Sitewide scroll-reveal */
.reveal-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-up { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Welcome Splash */
.welcome-splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: #fbfcfe;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.welcome-splash.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.welcome-splash-logo {
    height: 80px;
    width: auto;
    opacity: 0;
    transform: scale(0.75);
    animation: welcome-logo-in 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s forwards;
}

@keyframes welcome-logo-in {
    to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .welcome-splash-logo { animation: none; opacity: 1; transform: scale(1); }
    .welcome-splash { transition: none; }
}

:root {
    --color-primary: #0056d2;
    --color-primary-dark: #0045aa;
    --color-brand: #09479b;
    --color-accent: #f5a623;
    --color-accent-dark: #d98a0a;
    --color-text: #495057;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    background-color: #fbfcfe;
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-brand);
    font-weight: 600;
}

a {
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

/* Global Container */
.container {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

/* Common Layout Elements */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 992px) {
    .grid-2-col {
        grid-template-columns: 1fr 1fr;
    }
}

.section-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 24px;
}

.section-description strong {
    color: #09479b;
    font-weight: 700;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #eaf0f7;
    color: #2b6cb0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 9999px;
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 14px;
}

/* Buttons */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 9999px;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-quote {
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 10px 24px;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-quote:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.btn-quote:active,
.btn-primary:active,
.btn-white:active {
    transform: scale(0.96);
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 14px 32px;
    margin-bottom: 32px;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 10px 20px -5px rgba(0, 86, 210, 0.3);
    transform: translateY(-2px);
}

.btn-white {
    background-color: #ffffff;
    color: #0056d2;
    padding: 14px 32px;
}

.btn-white:hover {
    background-color: #f1f5f9;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* 1. Header & Navigation */
.header {
    padding: 4px 0;
    position: relative;
    z-index: 100;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
}


/* Navigation Styles */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #09479b;
    cursor: pointer;
}
.nav-toggle .close-icon { display: none; }
.nav-toggle.active .menu-icon { display: none; }
.nav-toggle.active .close-icon { display: block; }

.nav-wrapper {
    display: none;
}
.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-link {
    color: #495057;
    font-weight: 500;
    position: relative;
}
.nav-link:hover {
    color: #0056d2;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: #0056d2;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.nav-link:hover::after {
    transform: scaleX(1);
}

@media (min-width: 769px) {
    .nav-wrapper {
        display: flex;
        align-items: center;
        flex: 1;
        justify-content: flex-end;
    }
    .nav-menu {
        display: flex;
        align-items: center;
        gap: 36px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}


/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3b4252;
    font-weight: 500;
    font-size: 15px;
    padding: 0;
}

.dropdown-arrow {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 100;
    min-width: 200px;
    background: #ffffff;
    border-radius: 12px;
    padding: 8px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #edf2f7;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    will-change: opacity, transform;
    z-index: 1000;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    color: #334155;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.dropdown-item:hover {
    background-color: #f1f5f9;
    color: #0056d2;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 2. Hero Carousel */
.hero-carousel {
    position: relative;
    width: calc(100% - 30px);
    max-width: 1500px;
    margin: 16px auto 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #050505;
    border-radius: 28px;
    box-shadow: 0 24px 60px -20px rgba(9, 71, 155, 0.35);
}

.hero-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-carousel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 65%, rgba(0,0,0,0.45) 100%);
    pointer-events: none;
    z-index: 3;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.1s ease;
    pointer-events: none;
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.0);
    transition: transform 6s linear;
}

.hero-slide.active img {
    transform: scale(1.045);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    font-size: 16px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.08);
}

.hero-arrow-prev {
    left: 24px;
}

.hero-arrow-next {
    right: 24px;
}

.hero-dots {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.hero-dot {
    width: 26px;
    height: 8px;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.45);
    border: none;
    padding: 0;
    cursor: pointer;
    transform: scaleX(0.3077);
    transform-origin: left center;
    transition: background-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-dot.active {
    background-color: #ffffff;
    transform: scaleX(1);
}

@media (max-width: 768px) {
    .hero-carousel {
        width: 100%;
        margin-top: 0;
        aspect-ratio: 4 / 5;
        max-height: 560px;
        border-radius: 0;
        box-shadow: none;
    }
    .hero-slide img {
        object-position: left center;
    }
    .hero-arrow {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }
    .hero-arrow-prev { left: 14px; }
    .hero-arrow-next { right: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-slide img {
        transition: none;
    }
    .hero-slide.active img {
        transform: none;
    }
}

.hero-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 36px;
}

/* 3. About Section */
.about-section {
    padding: 80px 0;
}

.about-image-wrapper {
    display: flex;
    justify-content: flex-start;
}

.about-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-img {
    width: 80%;
    height: auto;
    border-radius: 52px;
    object-fit: cover;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.15);
}

/* 4. Mission & Vision Section */
.mission-vision-section {
    padding: 80px 0;
}

.section-header.center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header.center .badge {
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #495057;
}

.cards-grid {
    gap: 40px;
}

.feature-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    border: 1px solid #edf2f7;
    height: 100%;
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #eaf0f7;
    color: #0056d2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.card-desc {
    color: #495057;
    line-height: 1.6;
}

/* 4.5 Exploded View: Precision Engineering (scroll-scrubbed video) */
.exploded-section {
    height: 400vh;
    position: relative;
    background-color: #000302;
}

.exploded-sticky-wrap {
    position: relative;
    top: 0;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 24px;
    overflow: hidden;
    background-color: #000302;
    background-image:
        radial-gradient(ellipse 60% 45% at 50% 48%, rgba(201, 162, 39, 0.10), transparent 70%),
        repeating-linear-gradient(115deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 3px);
}

.exploded-sticky-wrap.is-pinned {
    position: fixed;
    left: 0;
    top: 0;
}

.exploded-sticky-wrap.is-past {
    position: absolute;
    bottom: 0;
    left: 0;
    top: auto;
}

.exploded-copy {
    text-align: center;
    max-width: 520px;
}

.exploded-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto 20px auto;
    padding: 8px 20px;
    background-color: transparent;
    border: 1px solid rgba(201, 162, 39, 0.45);
    color: #e7c35f;
    font-size: 11px;
    letter-spacing: 0.22em;
    border-radius: 9999px;
}

.exploded-badge::before,
.exploded-badge::after {
    content: "";
    width: 14px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #cda22a);
}

.exploded-badge::after {
    background: linear-gradient(90deg, #cda22a, transparent);
}

.exploded-title {
    color: #f5efe0;
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    letter-spacing: 0.01em;
    margin-bottom: 14px;
    background: linear-gradient(100deg, #ffffff 20%, #e7c979 45%, #ffffff 60%);
    background-size: 220% 100%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Shine plays once when the section first scrolls into view (via .shine-play,
   toggled in main.js) instead of looping forever — an infinite background-position
   animation competes with the scroll-scrubbed video's rAF loop for main-thread
   paint time for as long as the user lingers in this section, causing jank. */
.exploded-title.shine-play {
    animation: exploded-shine 1.6s ease-in-out 1;
}

@keyframes exploded-shine {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.exploded-sub {
    color: rgba(245, 239, 224, 0.5);
    font-size: 15px;
    letter-spacing: 0.02em;
    line-height: 1.7;
}

.exploded-video {
    width: min(90vw, 780px);
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    pointer-events: none;
    filter: contrast(1.07) saturate(1.04);
    padding: 22px;
    border: 1px solid rgba(201, 162, 39, 0.22);
    border-radius: 18px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.02) inset,
        0 30px 80px -20px rgba(0,0,0,0.8),
        0 0 70px -15px rgba(201, 162, 39, 0.18);
    box-sizing: border-box;
}

@media (max-width: 800px) {
    .exploded-sub { display: none; }
    .exploded-section { height: 320vh; }
    .exploded-video { padding: 12px; border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .exploded-section { height: auto; }
    .exploded-sticky-wrap { position: relative; height: auto; padding: 60px 24px; }
    .exploded-title { animation: none; background-position: 30% 50%; }
}

/* 5. Triple Split Feature Preview */
.feature-preview-section {
    padding: 80px 0;
}

.preview-image-wrapper {
    display: flex;
    justify-content: flex-start;
}

.preview-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.preview-img {
    width: 80%;
    border-radius: 58px;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.15);
}

/* 6. Why Choose Us Section */
.why-choose-us-section {
    padding: 80px 0;
}

@media (min-width: 992px) {
    .why-choose-us-section .why-content {
        order: 1;
        padding-right: 40px;
    }
    .why-choose-us-section .why-image-wrapper {
        order: 2;
        display: flex;
        justify-content: flex-end;
    }
}

.why-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.why-img {
    width: 80%;
    border-radius: 55px;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.15);
}

/* 6.5 AI Surveillance Section */
.ai-surveillance-section {
    padding: 80px 0;
}

.ai-image-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.ai-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.ai-img {
    width: 80%;
    height: auto;
    border-radius: 52px;
    object-fit: cover;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.ai-img:hover {
    transform: scale(1.02);
}

/* 7. Product Catalog / Showcase */
.products-section {
    padding: 80px 0;
}

.section-header.split {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-bottom: 60px;
}

@media (min-width: 992px) {
    .section-header.split {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        text-align: left;
    }
    .split-left {
        max-width: 600px;
    }
    .split-right {
        max-width: 400px;
        text-align: right;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    display: flex;
    flex-direction: column;
}

.product-pop {
    opacity: 0;
    transform: translateY(40px) scale(0.92);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.product-pop.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .product-pop { opacity: 1 !important; transform: none !important; transition: none !important; }
}

.product-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 24px;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: #0056d2;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 9999px;
    z-index: 2;
}

.product-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-img-wrapper:hover .product-img {
    transform: scale(1.05);
}

.product-title {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.product-specs {
    color: #495057;
    margin-bottom: 16px;
    flex-grow: 1;
}

.product-link {
    color: #0056d2;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.product-link:hover {
    text-decoration: underline;
}

/* 8. Call to Action Banner */
.cta-section {
    padding: 40px 0 100px 0;
}

.cta-banner {
    background-color: #0052cc;
    border-radius: 32px;
    padding: 50px 60px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 992px) {
    .cta-banner {
        flex-direction: row;
    }
}

.cta-badge {
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    padding: 6px 18px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 20px;
}

.cta-title {
    font-size: 46px;
    line-height: 1.15;
    margin-bottom: 16px;
    font-weight: 600;
    color: white;
}

.cta-subtitle {
    max-width: 480px;
    opacity: 0.9;
    font-size: 16px;
    line-height: 1.5;
}

.cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.cta-camera-img {
    height: 230px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.cta-camera-img:hover {
    transform: scale(1.04);
}

.cta-btn {
    background-color: #003b95;
    color: #ffffff;
    border-radius: 9999px;
    padding: 12px 34px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.cta-btn:hover {
    background-color: #002d72;
    transform: translateY(-1px);
}

/* 9. Modern Footer */
.footer {
    border-top: 1px solid #e2e8f0;
    padding: 80px 0 40px 0;
    background-color: #ffffff;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 60px;
    }
}

.footer-logo {
    height: 36px;
    margin-bottom: 0px;
}

.footer-desc {
    color: #495057;
    line-height: 1.6;
    max-width: 320px;
}

.footer-heading {
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: #495057;
}

.footer-list a:hover {
    color: #0056d2;
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #495057;
}

.footer-contact-list i {
    color: #0056d2;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding-top: 24px;
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
}

/* =========================================
   Product Catalog Pages (hd_product.html) 
   ========================================= */

.page-title-section {
    padding: 60px 0 20px 0;
    text-align: center;
}

.catalog-section {
    padding: 20px 0 80px 0;
}

.catalog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 48px;
    }
}

.catalog-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0,0,0,0.03);
    border: 1px solid #edf2f7;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, box-shadow 0.2s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.catalog-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.catalog-card.in-view:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.catalog-img-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #f8fafc;
    padding: 40px 20px;
    text-align: center;
}

.catalog-img-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.7) 50%, transparent 100%);
    pointer-events: none;
}

.catalog-card.shine .catalog-img-wrapper::after {
    animation: lens-shine 0.9s ease;
}

@keyframes lens-shine {
    from { left: -150%; }
    to { left: 150%; }
}

@media (prefers-reduced-motion: reduce) {
    .catalog-card {
        opacity: 1;
        transform: none;
        transition: box-shadow 0.2s ease;
    }
    .catalog-img-wrapper::after {
        display: none;
    }
}

.catalog-img {
    height: 200px;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
    mix-blend-mode: multiply; /* Optional: blends white bg out if product has white bg */
}

.catalog-content {
    padding: 30px;
    flex-grow: 1;
}

.catalog-mp {
    display: inline-block;
    color: #0056d2;
    background-color: #eaf0f7;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.catalog-name {
    font-size: 1.4rem;
    color: #0f172a;
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 0;
}

.catalog-subtitle {
    font-size: 0.95rem;
    color: #4a5568;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.catalog-specs {
    /* Full specs now live on the product's own detail page, opened by tapping the card. */
    display: none;
}

.catalog-content::after {
    content: "View Details \2192";
    display: inline-block;
    margin-top: 14px;
    color: #0056d2;
    font-size: 14px;
    font-weight: 600;
}

.catalog-specs li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
}

.catalog-specs li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0056d2;
    font-weight: bold;
}

/* Individual Product Detail Page */
.product-detail-section {
    padding: 40px 0 80px 0;
}

.product-detail-breadcrumb {
    font-size: 14px;
    color: #718096;
    margin-bottom: 24px;
}

.product-detail-breadcrumb a {
    color: #718096;
}

.product-detail-breadcrumb a:hover {
    color: #0056d2;
}

.product-detail-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 56px;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.03);
    border: 1px solid #edf2f7;
}

@media (min-width: 768px) {
    .product-detail-body {
        grid-template-columns: 1fr 1.2fr;
        align-items: center;
        padding: 56px;
    }
}

.product-detail-image-wrap {
    position: relative;
    background-color: #f8fafc;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.product-detail-img {
    width: auto;
    height: 280px;
    margin: 0 auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.product-detail-mp {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: #eaf0f7;
    color: #0056d2;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
}

.product-detail-info h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.product-detail-specs {
    list-style: none;
    color: #4a5568;
    font-size: 15px;
    line-height: 1.8;
}

.product-detail-specs li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
}

.product-detail-specs li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0056d2;
    font-weight: bold;
}

.product-detail-cta {
    margin-top: 28px;
}

.product-detail-features {
    border-top: 1px solid #edf2f7;
    padding-top: 40px;
}

.product-detail-features > h2 {
    font-size: 1.4rem;
    margin-bottom: 32px;
    text-align: center;
}

.product-detail-feature {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    text-align: center;
}

@media (min-width: 900px) {
    .product-detail-feature {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 40px;
    }
    .product-detail-feature:nth-child(even) {
        flex-direction: row-reverse;
        text-align: right;
    }
}

.product-detail-feature img {
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    margin: 0 auto;
    flex-shrink: 0;
    box-shadow: 0 12px 30px -10px rgba(0,0,0,0.15);
}

.product-detail-feature h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #09479b;
}

.product-detail-feature p {
    color: #495057;
    font-size: 15px;
    line-height: 1.65;
}

/* Bottom Showcase Banner */
.showcase-banner-section {
    padding-bottom: 60px;
}

.showcase-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 40px auto 60px auto;
    padding: 0 20px;
}

.showcase-img {
    max-width: 820px;
    width: 100%;
    max-height: 820px;
    object-fit: cover;
    border-radius: 28px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.22);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */

/* 2. Tablet Breakpoint (Max 1024px) */
@media (max-width: 1024px) {
    /* Navigation */
    .header { padding: 4px 0; }
    .nav-container { padding: 16px 28px; }
    .nav-wrapper { gap: 18px; }
    .nav-menu { gap: 18px; }
    .dropdown-menu { right: 0; left: auto; }

    /* Hero Section */
    .hero-container { grid-template-columns: 1fr 1fr; }
    .hero-image-wrapper { max-width: 440px; margin: 0 auto; }
    .hero-title { font-size: 52px; }

    /* Product Listing Pages */
    .catalog-grid { gap: 36px 28px; }
    .catalog-img-wrapper { height: 180px; }
    .catalog-img { max-height: 160px; }

    /* CTA Banner */
    .cta-banner { padding: 36px 40px; }
    .cta-camera-img { height: 210px; max-width: 200px; }
}

/* 3. Mobile Landscape & Small Tablets (Max 768px) */
@media (max-width: 768px) {
    /* Navigation - Mobile Menu Drawer */
    .nav-toggle { display: block; }
    .nav-container { position: relative; }
    .nav-wrapper {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #ffffff;
        padding: 24px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
        gap: 24px;
    }
    .nav-wrapper.active { display: flex; }
    .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
    }
    .nav-link { display: block; width: 100%; }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 16px;
        background: transparent;
        display: none;
    }
    .dropdown.active .dropdown-menu { display: block; }
    .nav-cta {
        width: 100%;
        text-align: center;
        margin-top: 8px;
    }

    /* Hero Section */
    .hero-container {
        grid-template-columns: 1fr;
        flex-direction: column-reverse;
        display: flex;
    }
    .hero-image-wrapper {
        order: -1;
        max-width: 90%;
        margin: 0 auto 32px auto;
    }
    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-title { font-size: 40px; line-height: 1.15; }

    /* Alternating Sections */
    .grid-2-col { grid-template-columns: 1fr; }
    .feature-row, .about-section, .why-choose-us, .vision-mission-section .grid-2-col {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    .feature-content, .about-content, .why-content, .vision-content, .preview-content, .ai-content {
        align-items: center;
        text-align: center;
    }
    .feature-image-wrapper {
        order: -1;
        margin: 0 auto 32px auto;
    }
    .about-image-wrapper,
    .preview-image-wrapper,
    .why-image-wrapper,
    .ai-image-wrapper {
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 0 auto 32px auto;
    }

    /* Product Listing Pages */
    .catalog-grid {
        grid-template-columns: 1fr;
        max-width: 540px;
        margin: 0 auto;
    }
    .catalog-card { text-align: center; }
    .catalog-specs li { text-align: left; }

    /* Bottom Showcase Images */
    .showcase-banner, .showcase-img {
        max-height: 280px;
        width: 100%;
        border-radius: 20px;
    }

    /* CTA Banner */
    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 28px;
    }
    .cta-action { justify-content: center; }
    .cta-camera-img {
        height: 220px;
        max-width: 200px;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .footer-brand, .footer-contact-list { align-items: center; }
}

/* 4. Small Mobile Phones (Max 480px) */
@media (max-width: 480px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .hero-title { font-size: 32px; }
    .btn, .btn-quote, .btn-read-more {
        min-height: 44px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .catalog-name { font-size: 1.2rem; }
    .catalog-mp { font-size: 1.1rem; }
    .trust-bar {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .cta-camera-img {
        height: 200px;
        max-width: 180px;
    }
}


/* =========================================
   Contact Page (contact.html)
   ========================================= */

.contact-section {
    padding: 20px 0 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    max-width: 1200px;
    margin: 40px auto 80px auto;
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    min-height: 420px;
    height: 100%;
    width: 100%;
}

.contact-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #eaf0f7;
    color: #0056d2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 13px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-value {
    font-size: 18px;
    color: #1e293b;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

a.contact-value:hover {
    color: #0056d2;
}

/* Contact Page Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        margin: 0 auto;
    }
    .map-container {
        min-height: 320px;
        height: 320px;
    }
}
