:root {
    --bg-main: #0a0f16;
    --bg-secondary: #131b26;
    --text-primary: #f0f4f8;
    --text-secondary: #a0aec0;
    --accent-color: #00d2ff;
    --accent-glow: rgba(0, 210, 255, 0.4);
    --nav-bg: rgba(10, 15, 22, 0.85);
    --glass-bg: rgba(19, 27, 38, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] {
    --bg-main: #ffffff;
    --bg-secondary: #f4f7fb;
    --text-primary: #0a0f16;
    --text-secondary: #334155;
    --accent-color: #0052d4;
    --accent-glow: rgba(0, 82, 212, 0.2);
    --nav-bg: rgba(255, 255, 255, 0.9);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-main);
}

body {
    overflow-x: hidden;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.text-center {
    text-align: center;
}

.underline {
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin-bottom: 2rem;
    border-radius: 2px;
}

.underline.center {
    margin: 0 auto 2rem auto;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-link {
    text-decoration: none;
    cursor: pointer;
    display: flex;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Clipping the name.jpeg to show only the eye symbol */
.logo-clipper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-clipper img {
    width: 100%;
    height: 140%;
    object-fit: cover;
    object-position: center 40%;
    mix-blend-mode: screen;
    filter: brightness(2) contrast(1.3) saturate(2);
}

.logo-text {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--accent-color);
}

.sub-nav {
    background: rgba(19, 27, 38, 0.7);
    /* Slightly transparent to show video */
    border-top: 1px solid var(--glass-border);
    height: 40px;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    justify-content: center;
    width: 100%;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    bottom: -4px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.call-btn {
    background: var(--accent-color);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--accent-glow);
    color: #fff;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 5px 15px;
}

.search-box input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    outline: none;
    width: 150px;
    font-family: inherit;
}

.search-box input::placeholder {
    color: var(--text-secondary);
}

.search-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.theme-toggle-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.theme-toggle-btn span {
    position: absolute;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.icon-sun {
    opacity: 0;
    transform: translateY(-20px);
}

[data-theme="light"] .icon-sun {
    opacity: 1;
    transform: translateY(0);
}

[data-theme="light"] .icon-moon {
    opacity: 0;
    transform: translateY(20px);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    margin-top: 80px;
    /* navbar height */
    display: flex;
    align-items: center;
    overflow: hidden;
}


.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -2;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 15, 22, 0.9) 0%, rgba(10, 15, 22, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #0052d4, var(--accent-color));
    color: #fff;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.6);
    color: #fff;
}

/* Sections Common */
section {
    padding: 6rem 0;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Products Section */
.products-section {
    background-color: var(--bg-secondary);
}

.product-category h3 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--accent-color);
}

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

.product-card {
    text-align: center;
    padding: 1.5rem;
}

.product-card img {
    max-width: 100%;
    height: 200px;
    border-radius: 8px;
    object-fit: contain;
    background-color: #fff;
    padding: 10px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-list {
    list-style: none;
    margin-top: 1.5rem;
}

.features-list li {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check {
    color: var(--accent-color);
    font-weight: bold;
}

/* Services Section */
.services-section {
    background-color: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    text-align: center;
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: -webkit-linear-gradient(#fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1.5rem;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.mt-4 {
    margin-top: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #e2e8f0;
}

.form-group input,
.form-group textarea {
    padding: 14px;
    border-radius: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-glow);
}

.w-100 {
    width: 100%;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 3rem 0 2rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-info {
    text-align: left;
}

.footer-info h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.footer-info p {
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

.footer-info p a {
    color: var(--text-secondary);
}

.footer-bottom {
    display: flex;
    justify-content: flex-end;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.support-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* CCTV & Surveillance Equipment Section */
.cctv-solid-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cctv-solid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 170, 255, 0.2) !important;
}

.cctv-solid-card:hover .cctv-img-container img {
    transform: scale(1.08);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible,
.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        top: 80px;
        background: var(--nav-bg);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 2rem 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.nav-active {
        transform: translateY(0);
    }

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* New Classes for Expanded Sections */
.large-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.large-grid .service-card {
    padding: 1.5rem;
}

.large-grid .service-card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.large-grid .service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.mb-4 {
    margin-bottom: 2rem;
}

.online-tools-section {
    background-color: var(--bg-main);
}

.brands-section {
    background-color: var(--bg-secondary);
    overflow: hidden;
}

/* Marquee Animation */
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    padding: 2rem 0;
    position: relative;
    background: var(--glass-bg);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.marquee-content {
    display: inline-flex;
    gap: 4rem;
    animation: marquee 20s linear infinite;
}

.marquee-content img {
    height: 60px;
    width: auto;
    object-fit: contain;
    background-color: white;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.marquee-content img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.4);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Promo Images Section */
.promo-images-section {
    padding: 3rem 0;
    background-color: var(--bg-main);
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.promo-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.promo-img:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }
}

/* Promo Banner inside Products */
.full-width-banner {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.promo-banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.my-4 {
    margin: 3rem 0;
}

/* Partner Brands Section */
.partner-brands-section {
    background: var(--bg-main);
    padding: 4rem 1rem;
}

.brands-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.brand-pill {
    background: #fff;
    border-radius: 50px;
    padding: 10px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-pill img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.brand-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}


.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.support-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.support-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.support-card h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.support-card p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.support-card a {
    font-size: 1rem;
    color: var(--text-primary);
}

.support-card a strong {
    color: var(--accent-color);
}

.link-btn {
    text-decoration: underline;
    font-weight: 600;
}

.newsletter-social-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.newsletter-box,
.social-box {
    padding: 2rem;
}

.newsletter-box h4,
.social-box h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 8px;
    background: var(--bg-main);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    outline: none;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    font-size: 1.5rem;
}

.social-icons a {
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.sitemap-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

.sitemap-column ul {
    list-style: none;
}

.sitemap-column ul li {
    margin-bottom: 0.6rem;
}

.sitemap-column ul li a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.sitemap-column ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.app-icon {
    font-size: 1.8rem;
    margin-right: 12px;
}

.app-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.app-text span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}

.app-text strong {
    font-size: 1.1rem;
    font-weight: 600;
}

/* --- NETWORK SOLUTIONS CUSTOM CSS --- */

/* Horizontal Timeline */
.horizontal-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 2rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

.horizontal-timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    /* Aligned with center of circles */
    left: 10%;
    right: 10%;
    height: 4px;
    background: var(--glass-border);
    z-index: 0;
}

.timeline-step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--bg-main);
    border: 4px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    box-shadow: 0 0 15px var(--accent-glow);
    transition: transform 0.3s ease;
}

.timeline-step:hover .step-num {
    transform: scale(1.1);
    background: var(--accent-color);
    color: #fff;
}

.timeline-step h4 {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .horizontal-timeline {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
    }

    .horizontal-timeline::before {
        top: 0;
        bottom: 0;
        left: 50px;
        width: 4px;
        height: auto;
        right: auto;
    }

    .timeline-step {
        display: flex;
        align-items: center;
        margin-bottom: 2rem;
        text-align: left;
    }

    .step-num {
        margin: 0 2rem 0 0;
    }
}

/* Logo Slider */
.logo-slider-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.logo-track {
    display: inline-block;
    animation: scrollLogos 20s linear infinite;
}

.logo-slide {
    display: inline-block;
    padding: 0 3rem;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-secondary);
    opacity: 0.6;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.logo-slide:hover {
    opacity: 1;
    color: var(--accent-color);
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- THEME OVERRIDES --- */

/* Security Theme */
body[data-page-theme="security"] {
    --accent-color: #ff3333;
    /* Deep Red */
    --accent-glow: rgba(255, 51, 51, 0.4);
}

body[data-page-theme="security"] .glass-card {
    background: rgba(20, 20, 30, 0.7);
    border-color: rgba(255, 51, 51, 0.1);
}

/* Networking Theme */
body[data-page-theme="networking"] {
    --accent-color: #00e5ff;
    /* Cyan */
    --accent-glow: rgba(0, 229, 255, 0.4);
}

/* IT Products Theme */
body[data-page-theme="products"] {
    /* Force light mode logic */
    --bg-main: #ffffff;
    --bg-secondary: #f4f6f8;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --accent-color: #0d6efd;
    /* Brand Blue */
    --accent-glow: rgba(13, 110, 253, 0.2);
    --glass-bg: #ffffff;
    --glass-border: rgba(0, 0, 0, 0.1);
}

body[data-page-theme="products"] .glass-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body[data-page-theme="products"] .primary-btn {
    color: #ffffff;
}

/* --- INTERACTIVE FLOW DIAGRAM --- */
.interactive-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    margin: 4rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.flow-step {
    text-align: center;
    flex: 1;
    min-width: 120px;
    position: relative;
    padding: 1rem;
    background: var(--bg-main);
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: 0 0 15px var(--accent-glow);
    transition: transform 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-5px);
    background: var(--accent-color);
    color: #fff;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--accent-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.5;
        transform: scale(0.9);
    }
}

@media (max-width: 768px) {
    .interactive-flow {
        flex-direction: column;
        padding: 2rem;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }

    .flow-step {
        width: 100%;
    }
}







/* =========================
CONTACT PAGE
========================= */

.contact-page {
    position: relative;
    padding: 140px 5% 100px;
    background:
        radial-gradient(circle at top left,
            rgba(0, 212, 255, .08),
            transparent 40%),
        linear-gradient(135deg,
            #050814 0%,
            #09101d 50%,
            #050814 100%);
}

.contact-page h1 {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
    letter-spacing: 1px;
}

.contact-page>.container>p {
    text-align: center;
    color: rgba(255, 255, 255, .75);
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: start;
}

/* =========================
CONTACT INFO
========================= */

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

.info-card {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(0, 212, 255, .15);
    backdrop-filter: blur(14px);
    border-radius: 20px;
    padding: 25px;
    transition: .35s ease;
    box-shadow:
        0 0 25px rgba(0, 212, 255, .05);
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, .5);
    box-shadow:
        0 0 30px rgba(0, 212, 255, .15);
}

.info-card h3 {
    color: #00d4ff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.info-card p,
.info-card a {
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    line-height: 1.7;
}

/* =========================
CONTACT FORM
========================= */

.contact-form {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(0, 212, 255, .15);
    border-radius: 24px;
    padding: 35px;
    backdrop-filter: blur(18px);
    box-shadow:
        0 0 35px rgba(0, 212, 255, .05);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .04);
    color: #fff;
    font-size: 15px;
    transition: .3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow:
        0 0 0 4px rgba(0, 212, 255, .12);
}

.contact-form textarea {
    resize: none;
    min-height: 150px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, .45);
}

/* =========================
BUTTON
========================= */

.contact-form button {
    border: none;
    cursor: pointer;
    padding: 16px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    background: linear-gradient(135deg,
            #00d4ff,
            #0099ff);
    transition: .35s ease;
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 10px 30px rgba(0, 212, 255, .35);
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:992px) {


    .contact-wrapper {
        grid-template-columns: 1fr;
    }


}

@media(max-width:768px) {


    .contact-page {
        padding: 120px 20px 80px;
    }

    .contact-page h1 {
        font-size: 2.2rem;
    }

    .contact-form {
        padding: 25px;
    }

}






.product-page {
    padding: 120px 5%;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.product-image img {
    width: 100%;
    border-radius: 20px;
    background: white;
    padding: 20px;
}

.product-category {
    color: #2d8cff;
    font-weight: 600;
}

.product-info h1 {
    font-size: 42px;
    margin: 15px 0;
}

.rating {
    margin-bottom: 20px;
}

#productPrice {
    color: #2d8cff;
    margin-bottom: 20px;
}

#productDescription {
    line-height: 1.8;
    color: #aaa;
}

.feature-list {
    margin-top: 25px;
}

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

.buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.buy-btn,
.quote-btn {
    padding: 14px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.buy-btn {
    background: #2d8cff;
    color: white;
}

.quote-btn {
    background: #1b1f24;
    color: white;
}

.related-section {
    margin-top: 80px;
}

#relatedProducts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.related-card {
    background: #111822;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    transition: .3s;
}

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

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

.related-card h3 {
    padding: 20px;
}

/* Product Page Layout Elements */
.product-card {
    position: relative;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

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

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 212, 255, 0.15);
    color: var(--accent-color);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 99px;
    border: 1px solid var(--accent-color);
}

.product-img-wrap {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.model-num {
    font-size: 13px;
    margin-bottom: 0.75rem;
}

.spec-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
    font-size: 13px;
    color: var(--text-secondary);
    text-align: left;
}

.spec-list li::before {
    content: "✓ ";
    color: var(--accent-color);
}

.price-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
}

.gst-note {
    font-size: 12px;
    color: var(--text-secondary);
    display: block;
    margin-top: 2px;
}

.card-actions {
    display: flex;
    gap: 8px;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.btn-outline {
    flex: 1;
    padding: 8px;
    border: 1px solid var(--accent-color);
    background: transparent;
    color: var(--accent-color);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.3s;
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.1);
}

.btn-primary-cyan {
    flex: 1;
    padding: 8px;
    background: var(--accent-color);
    color: #000;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: 0.3s;
}

.btn-primary-cyan:hover {
    box-shadow: 0 0 10px var(--accent-color);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    align-items: center;
    justify-content: center;
}

.filter-btn {
    padding: 6px 14px;
    border-radius: 99px;
    border: 1px solid var(--text-secondary);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.filter-btn.active {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(0, 212, 255, 0.08);
}

.enquiry-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    background: var(--accent-color);
    color: #000;
    padding: 12px 20px;
    border-radius: 99px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

.compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--accent-color);
    padding: 1rem 2rem;
    display: none;
    z-index: 998;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

#enquiryPanel.open {
    right: 0 !important;
}

/* Product Image Styles */
.product-img {
    width: 100%;
    max-width: 180px;
    height: 160px;
    object-fit: contain;
    margin: 0 auto 1rem;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 212, 255, 0.15));
    transition: transform 0.3s ease;
}

.product-card:hover .product-img,
.pcard:hover .product-img {
    transform: scale(1.05);
}

@media(max-width:900px) {

    .product-container {
        grid-template-columns: 1fr;
    }

    .product-info h1 {
        font-size: 32px;
    }

}

/* Custom Footer matched to image layout */
.custom-footer {
    background-color: var(--bg-main);
    color: var(--text-secondary);
    font-family: 'Outfit', sans-serif;
    padding: 0;
    border-top: 1px solid var(--glass-border);
}

.custom-footer-top {
    padding: 4rem 0;
}

.custom-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.2fr;
    gap: 2rem;
}

.custom-footer h3,
.custom-footer h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.custom-footer h3 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.custom-footer .subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.custom-footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.custom-footer a:hover {
    color: #ffffff;
}

.custom-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-footer ul li {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.footer-section {
    margin-bottom: 2rem;
}

.contact-form-footer input,
.contact-form-footer textarea {
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 4px;
    background-color: #ffffff;
    color: #333;
    font-family: inherit;
    box-sizing: border-box;
}

.contact-form-footer textarea {
    resize: vertical;
    min-height: 80px;
}

.contact-form-footer button {
    background-color: #e55a3d;
    color: #ffffff;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form-footer button:hover {
    background-color: #d1492d;
}

.custom-footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.custom-footer-bottom a {
    color: var(--text-secondary);
}

.custom-footer-bottom a:hover {
    color: #ffffff;
}

@media (max-width: 992px) {
    .custom-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .custom-footer-grid {
        grid-template-columns: 1fr;
    }
}


select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: none !important;
    /* ← this kills the zigzag */
}

/* =========================================
   AUTH MODAL & NAVBAR STYLES
   ========================================= */

#auth-btn {
    background: var(--accent-color);
    color: #0a0f1e;
    border: none;
    border-radius: 6px;
    padding: 6px 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    position: relative;
    margin-left: 10px;
}

#auth-btn:hover {
    background: #0099bb;
    transform: translateY(-1px);
}

/* Avatar Dropdown State */
#auth-btn.auth-logged-in {
    background: transparent;
    padding: 0;
}

.auth-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-color);
    color: #0a0f1e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
}

.auth-dropdown {
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 160px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 1001;
}

.auth-dropdown-header {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 0.5rem;
}

.auth-dropdown a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: background 0.2s;
    text-decoration: none;
}

.auth-dropdown a:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-color);
}

/* Modal Overlay */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

/* Glass Card Modal */
.auth-glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    width: 90%;
    max-width: 400px;
    position: relative;
    transform: translateY(20px);
    animation: slideUpFade 0.4s forwards ease-out;
}

[data-theme="light"] .auth-glass-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 82, 212, 0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
[data-theme="light"] .auth-input-group input {
    background: rgba(0,0,0,0.05);
    color: #0a0f1e;
    border: 1px solid rgba(0,0,0,0.1);
}

.auth-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.auth-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.auth-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

.auth-tab.active {
    color: var(--accent-color);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.3s forwards;
}

.auth-input-group {
    margin-bottom: 1rem;
}

.auth-input-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: left;
}

.auth-input-group input {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    background: #0d1526;
    border: 1px solid var(--glass-border);
    color: #fff;
    outline: none;
    font-family: inherit;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.auth-input-group input:focus {
    border-color: var(--accent-color);
}

.auth-submit-btn {
    width: 100%;
    padding: 12px;
    background: var(--accent-color);
    color: #0a0f1e;
    border: none;
    border-radius: 6px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.3s;
}

.auth-submit-btn:hover {
    background: #0099bb;
}

.auth-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.auth-error {
    color: #ff4757;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    text-align: center;
    min-height: 1.2em;
}

.auth-otp-message {
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.auth-otp-inputs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.otp-input {
    width: 40px;
    height: 45px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 6px;
    background: #0d1526;
    border: 1px solid var(--glass-border);
    color: #fff;
    outline: none;
}

.otp-input:focus {
    border-color: var(--accent-color);
}

[data-theme="light"] .otp-input {
    background: rgba(0,0,0,0.05);
    color: #0a0f1e;
    border: 1px solid rgba(0,0,0,0.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    #auth-btn {
        margin-left: 0;
    }
    #auth-btn:not(.auth-logged-in) {
        padding: 6px;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        justify-content: center;
        background: transparent;
        border: 1px solid var(--accent-color);
    }
    #auth-btn:not(.auth-logged-in)::before {
        content: url('data:image/svg+xml;utf8,<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%2300d4ff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>');
        display: block;
        margin-top: 4px;
    }
    #auth-btn:not(.auth-logged-in) {
        color: transparent;
        font-size: 0;
    }
}

/* =========================================
   MOBILE RESPONSIVENESS ENHANCEMENTS
   ========================================= */

/* Hamburger menu line transitions */
.hamburger .line {
    transition: all 0.3s ease;
}

.hamburger.toggle .line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.toggle .line:nth-child(2) {
    opacity: 0;
}

.hamburger.toggle .line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Tablet & Mobile Layout Adaptations */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    /* Hide empty sub-navigation bar */
    .sub-nav {
        display: none !important;
    }

    header {
        height: 70px !important;
    }

    /* Reposition mobile navigation links drop-down */
    .nav-links {
        position: fixed !important;
        left: 0 !important;
        right: auto !important;
        top: 70px !important;
        width: 100% !important;
        height: calc(100vh - 70px) !important;
        background: rgba(10, 15, 22, 0.96) !important;
        backdrop-filter: blur(20px) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 2.5rem !important;
        padding: 2rem 0 !important;
        transform: translateX(-100%) !important;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 999 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
        margin: 0 !important;
    }

    .nav-links.nav-active {
        transform: translateX(0) !important;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.2rem !important;
        display: block;
        padding: 10px 0;
    }

    /* Hide desktop search box in header on mobile */
    .search-box {
        display: none !important;
    }

    /* Adjust page padding to clear the 70px mobile header */
    .about-section,
    .products-page .hero,
    .solutions-page .hero,
    .hero,
    main {
        padding-top: 100px !important;
    }

    .hero-content h1 {
        font-size: 2.2rem !important;
    }

    /* Collapsing all grid layouts on mobile to 1 column */
    .about-grid,
    .pillars-grid,
    .services-grid,
    .industry-grid,
    .projects-grid,
    .large-grid,
    .custom-footer-grid,
    .product-grid,
    .bgrid,
    .promo-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .container {
        padding: 0 1.5rem !important;
    }

    /* Glass card paddings on mobile */
    .glass-card {
        padding: 1.5rem !important;
    }

    .about-text {
        text-align: center;
    }

    .features-list {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 576px) {
    /* Stacking actions/buttons vertically on small screens */
    .hero-actions,
    .pacts,
    .hero-visual {
        flex-direction: column !important;
        gap: 0.8rem !important;
        align-items: stretch !important;
    }

    .hero-actions a,
    .hero-actions button,
    .pacts a,
    .pacts button {
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* Space-saving circular Call Button on small mobile */
    .call-btn {
        font-size: 0 !important;
        padding: 10px !important;
        border-radius: 50% !important;
        width: 40px !important;
        height: 40px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .call-btn svg {
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    /* Hide logo text on very narrow screens to prevent header overflow */
    .logo-text {
        display: none !important;
    }
}