/* ═══════════════════════════════════════════════════════
   MALHOTRA CABLES — Corporate Industrial Theme
   Navy Blue & Industrial Red
   ═══════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
    /* Brand Colors */
    --primary: #0F204B;
    /* Deep Corporate Navy */
    --primary-dark: #0A1635;
    /* Darker Navy */
    --accent: #D91C24;
    /* Industrial Red */
    --accent-hover: #B9151C;
    /* Darker Red */
    --accent-subtle: rgba(217, 28, 36, 0.08);

    /* Backgrounds (Light/Clean - Softened) */
    --bg-primary: #F3F4F6;
    /* Cool Light Grey (was White) */
    --bg-secondary: #FFFFFF;
    /* White (was Light Grey) - Cards pop */
    --bg-tertiary: #E2E8F0;
    /* Slightly darker grey */
    --bg-elevated: #FFFFFF;
    --bg-navy: #0F204B;
    /* For dark sections */

    /* Text */
    --text-primary: #333333;
    /* Charcoal for body */
    --text-heading: #111111;
    /* Black for headers */
    --text-secondary: #555555;
    --text-muted: #777777;
    --text-light: #FFFFFF;
    /* On Navy backgrounds */

    /* Borders */
    --border: #DEE2E6;
    --border-hover: #CED4DA;
    --border-strong: #0F204B;

    /* Shadows (Minimal/Sharp) */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.05);

    /* Radius (Sharp/Industrial) */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 8px;

    --transition: 0.2s ease;
}

[data-theme="dark"] {
    /* Backgrounds (Dark Navy/Charcoal) */
    --bg-primary: #0B1120;
    /* Very Dark Navy */
    --bg-secondary: #0F172A;
    /* Dark Slate Navy */
    --bg-tertiary: #1E293B;
    /* Lighter Slate */
    --bg-elevated: #1E293B;
    --bg-navy: #0F204B;

    /* Text (Light on Dark) */
    --text-primary: #F1F5F9;
    /* Off-white */
    --text-heading: #FFFFFF;
    /* White */
    --text-secondary: #94A3B8;
    /* Slate Grey */
    --text-muted: #64748B;

    /* Borders */
    --border: #1E293B;
    --border-hover: #334155;
    --border-strong: #475569;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
}

/* [data-theme="light"] block removed as it is now the default */

/* ── Reset & Base ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    /* Force remove any glow */
    box-shadow: none !important;
    text-shadow: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
    padding: 0;
}

/* ── Container ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all var(--transition);
}

[data-theme="dark"] .navbar {
    background: rgba(11, 17, 32, 0.95);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(10, 22, 53, 0.98);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

[data-theme="dark"] .logo {
    color: white;
}

.logo:hover {
    opacity: 0.85;
}

.logo-image {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 6px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

[data-theme="dark"] .nav-menu a {
    color: rgba(255, 255, 255, 0.75);
}

.nav-menu a:hover {
    color: var(--accent);
    background: var(--bg-primary);
}

[data-theme="dark"] .nav-menu a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.nav-menu a.active {
    color: white;
    background: var(--accent);
}

.nav-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}

.theme-switch {
    display: flex;
    align-items: center;
    position: relative;
    width: 60px;
    height: 30px;
    cursor: pointer;
    margin: 0 4px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.theme-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-tertiary);
    border: 1.5px solid var(--border);
    transition: 0.4s;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
}

.slider-icon {
    width: 14px;
    height: 14px;
    color: var(--text-secondary);
    z-index: 1;
    transition: 0.4s;
}

.slider-icon.sun {
    color: #f59e0b;
}

.theme-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 2.5px;
    bottom: 2.5px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    z-index: 2;
}

[data-theme="dark"] .theme-slider:before {
    background-color: #1f2937;
}

input:checked + .theme-slider {
    background-color: var(--bg-secondary);
    border-color: var(--border);
}

input:checked + .theme-slider:before {
    transform: translateX(30px);
}

input:checked + .theme-slider .slider-icon.sun {
    color: var(--text-muted);
}

input:checked + .theme-slider .slider-icon.moon {
    color: white;
}

.lang-btn {
    padding: 7px 14px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all var(--transition);
}

.lang-btn:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.lang-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
    padding: 120px 0 80px;
    background: var(--bg-primary);
}



.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hero-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}

/* Section Badge */
.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-badge.light {
    background: rgba(15, 32, 75, 0.05);
    color: var(--primary);
    border-color: rgba(15, 32, 75, 0.15);
}

[data-theme="dark"] .section-badge.light {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    gap: 12px;
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════ */
.btn-primary {
    padding: 12px 28px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition);
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-primary.invert {
    background: white;
    color: var(--accent);
}

.btn-primary.invert:hover {
    background: rgba(255, 255, 255, 0.92);
}

.btn-primary.large {
    padding: 15px 36px;
    font-size: 1rem;
}

.btn-primary.full-width {
    width: 100%;
    padding: 14px;
}

.btn-outline {
    padding: 12px 28px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition);
}

[data-theme="dark"] .btn-outline {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-border);
    color: var(--accent);
}

.btn-outline.light {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline.light:hover {
    background: white;
    color: var(--accent);
    border-color: white;
}

.btn-outline.large {
    padding: 15px 36px;
    font-size: 1rem;
}

.btn-outline.small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 0.8rem;
    border: 1px solid var(--accent-border);
    color: var(--accent);
    background: var(--accent-subtle);
}

.btn-outline.small:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════════════════ */
.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-card {
    background: var(--bg-secondary);
    border: 1.5px solid var(--border);
    padding: 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .stat-card {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.03);
}

.stat-card.counting {
    border-color: var(--accent-border);
}

.stat-card.count-complete {
    animation: subtlePulse 0.3s ease-out;
}

@keyframes subtlePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.01);
    }
}

.stat-card:hover {
    border-color: var(--primary);
    background: white;
}

.stat-card h3 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.stat-card.counting h3 {
    color: var(--accent);
    opacity: 0.7;
}

.stat-card p {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
}

/* ═══════════════════════════════════════════════════════
   SECTIONS — Shared
   ═══════════════════════════════════════════════════════ */
.construction-watermark {
    display: none;
}

section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 48px;
}

.section-header.center {
    text-align: center;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════
   CERTIFICATES
   ═══════════════════════════════════════════════════════ */
.certificates {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.certificate-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
}

.certificate-card {
    flex: 0 1 280px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    cursor: pointer;
}

.certificate-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.cert-image {
    width: 100%;
    aspect-ratio: 210 / 297;
    background: var(--bg-tertiary);
    position: relative;
    overflow: hidden;
}

.cert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.certificate-card:hover .cert-image img {
    transform: scale(1.03);
}

.cert-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent);
    color: white;
    padding: 4px 10px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.7rem;
    z-index: 10;
    letter-spacing: 0.02em;
}

.cert-info {
    padding: 18px;
    text-align: center;
}

.cert-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.cert-desc {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* Lightbox */
.cert-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.cert-lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: white;
    color: #000;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.lightbox-close:hover {
    background: var(--accent);
    color: white;
}

@media (max-width: 768px) {
    .certificate-grid {
        gap: 16px;
    }
    
    .certificate-card {
        flex: 0 1 100%;
        max-width: 320px;
    }

    .cert-image {
        aspect-ratio: 210 / 250;
    }
}

/* ═══════════════════════════════════════════════════════
   PRODUCTS
   ═══════════════════════════════════════════════════════ */
.products {
    padding: 80px 0;
    background: var(--bg-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.product-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 16px;
}

.product-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.product-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.92rem;
    line-height: 1.7;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 14px 0;
}

.product-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
    border-bottom: 1px solid var(--border);
}

.product-features li:last-child {
    border-bottom: none;
}

.product-link {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    margin-top: 14px;
    transition: all var(--transition);
}

.product-link:hover {
    opacity: 0.8;
}

/* ═══════════════════════════════════════════════════════
   VALUES
   ═══════════════════════════════════════════════════════ */
.values {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.value-card {
    background: var(--bg-primary);
    border: 1.5px solid var(--border);
    padding: 24px;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    width: calc(33.333% - 14px);
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

[data-theme="dark"] .value-card {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 25px rgba(255, 255, 255, 0.02);
}

.value-card:hover {
    border-color: var(--primary);
    background: white;
}

.value-icon {
    font-size: 1.75rem;
    color: var(--accent);
    display: block;
    margin-bottom: 14px;
}

.value-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .value-card {
        width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .value-card {
        width: 100%;
        min-height: 80px;
    }
}

/* ═══════════════════════════════════════════════════════
   PRODUCT PAGE
   ═══════════════════════════════════════════════════════ */
.products-page,
.contact-page,
.career-page,
.about-page,
.quality-page {
    padding-top: 80px;
}

.page-hero {
    padding: 72px 0 56px;
    background: var(--bg-secondary);
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.page-hero p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.product-categories {
    padding: 64px 0;
}

.product-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.product-detail-card.reverse {
    direction: rtl;
}

.product-detail-card.reverse>* {
    direction: ltr;
}

.product-detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.product-detail-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-detail-card:hover .product-detail-image img {
    transform: scale(1.03);
}

.product-icon-large {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
}

.product-detail-content h2 {
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.product-detail-content>p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}

.product-specs {
    background: var(--bg-primary);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.product-specs h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--accent);
}

.product-specs ul {
    list-style: none;
    padding: 0;
}

.product-specs li {
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.product-specs li:last-child {
    border-bottom: none;
}

.product-specs strong {
    color: var(--text-primary);
    font-weight: 600;
}

.product-applications {
    margin-top: 20px;
}

/* ── Features Grid Spacing Fix ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--bg-primary);
}

.feature-icon {
    font-size: 2.25rem;
    margin-bottom: 20px;
    line-height: 1;
    display: block;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

[data-theme="dark"] .feature-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(196, 129, 61, 0.1);
}

.product-applications h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.application-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.application-tags span {
    padding: 6px 14px;
    background: var(--accent-subtle);
    border: 1px solid var(--accent-border);
    border-radius: 100px;
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 500;
    transition: all var(--transition);
}

.application-tags span:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* ═══════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════ */
.cta-section {
    padding: 56px 0;
    background: var(--bg-tertiary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar .logo img {
    height: 50px;
    /* Adjust as needed */
    width: auto;
}

.cta-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.cta-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   MISSION
   ═══════════════════════════════════════════════════════ */
.mission {
    padding: 80px 0;
    background: var(--bg-primary);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.mission-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 36px;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.mission-card:hover {
    border-color: var(--border-hover);
}

.mission-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 20px;
}

.mission-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.mission-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 0.95rem;
}

.mission-card ul {
    list-style: none;
    padding: 0;
}

.mission-card li {
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.mission-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════
   JOURNEY
   ═══════════════════════════════════════════════════════ */
.journey {
    padding: 56px 0;
    background: linear-gradient(rgba(243, 244, 246, 0.85), rgba(243, 244, 246, 0.95)), url('elements/malhotraturkey.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    position: relative;
}

[data-theme="dark"] .journey {
    background: linear-gradient(rgba(11, 17, 32, 0.8), rgba(11, 17, 32, 0.9)), url('elements/malhotraturkey.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.journey-content {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.journey-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

[data-theme="dark"] .journey-content h2 {
    color: white;
}

.journey-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

[data-theme="dark"] .journey-content p {
    color: rgba(255, 255, 255, 0.75);
}

/* ═══════════════════════════════════════════════════════
   BRANDS & CLIENTS
   ═══════════════════════════════════════════════════════ */
.brands {
    padding: 64px 0;
    background: var(--bg-primary);
    overflow: hidden;
}

.brands-slider {
    margin-top: 48px;
    position: relative;
    overflow: hidden;
    padding: 16px 0;
}

.brands-slider::before,
.brands-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.brands-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.brands-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

.brands-track {
    display: flex;
    gap: 48px;
    animation: brandScroll 40s linear infinite;
}

.brands-track:hover {
    animation-play-state: paused;
}

@keyframes brandScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.brand-item {
    flex-shrink: 0;
    width: 180px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: all var(--transition);
}

.brand-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: all var(--transition);
}

.brand-item:hover img {
    opacity: 0.85;
}

/* ── Clients ── */
.clients {
    padding: 64px 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.clients-slider {
    margin-top: 48px;
    position: relative;
    overflow: hidden;
    padding: 16px 0;
}

.clients-slider::before,
.clients-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-secondary), transparent);
}

.clients-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-secondary), transparent);
}

.clients-track {
    display: flex;
    gap: 32px;
    animation: clientsScroll 50s linear infinite;
}

.clients-track:hover {
    animation-play-state: paused;
}

@keyframes clientsScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.client-item {
    flex-shrink: 0;
    width: 160px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
    transition: all var(--transition);
}

.client-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
}

.client-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: all var(--transition);
}

.client-item:hover img {
    opacity: 0.85;
}

/* ═══════════════════════════════════════════════════════
   FEEDBACK / CONTACT FORM
   ═══════════════════════════════════════════════════════ */
.feedback {
    padding: 80px 0;
    background: var(--bg-primary);
}

.feedback-header {
    text-align: center;
    margin-bottom: 48px;
}

.feedback-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feedback-header p {
    font-size: 1rem;
    color: var(--text-secondary);
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.feedback-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition);
}

.feedback-card:hover {
    border-color: var(--border-hover);
}

.feedback-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 16px;
}

.feedback-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feedback-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.feedback-form {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-secondary);
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-border);
    box-shadow: 0 0 0 3px var(--accent-subtle);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
    background: var(--bg-secondary);
    padding: 56px 0 24px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 36px;
    margin-bottom: 36px;
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.82rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    padding: 6px 0;
    color: var(--text-secondary);
    display: flex;
    gap: 8px;
    font-size: 0.875rem;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    font-size: 0.9rem;
}

.footer-socials a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 20px;
}

/* ═══════════════════════════════════════════════════════
   SCROLL TO TOP
   ═══════════════════════════════════════════════════════ */
.scroll-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: #C4813D;
    /* Force copper */
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

    .tech-grid,
    .product-detail-card {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 1.75rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 80px 24px 40px;
        transition: 0.3s ease;
        z-index: 1001;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        display: flex !important;
        /* Override none */
        gap: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu a {
        display: block;
        padding: 16px 0;
        color: var(--text-primary);
        font-weight: 600;
        background: transparent !important;
    }

    .nav-menu a:hover {
        color: var(--accent);
    }

    /* Hamburger Toggle */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 5px;
        z-index: 1002;
        margin-left: 10px;
    }

    .mobile-menu-toggle .bar {
        width: 24px;
        height: 2px;
        background: var(--text-primary);
        transition: 0.3s ease;
        border-radius: 2px;
    }

    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
        z-index: 1000;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Header Compactness */
    .nav-container {
        padding: 0 16px;
    }

    .logo img {
        height: 32px;
    }

    .nav-actions {
        margin-left: auto;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .brands-track {
        gap: 32px;
        animation-duration: 30s;
    }

    .brand-item {
        width: 140px;
        height: 64px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .product-detail-card {
        padding: 20px;
        margin-bottom: 40px;
    }

    .product-detail-image img {
        height: 260px;
    }

    .product-icon-large {
        font-size: 2.5rem;
    }

    .product-detail-content h2 {
        font-size: 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary.large,
    .btn-outline.large {
        width: 100%;
        max-width: 280px;
    }

    .clients-track {
        gap: 24px;
        animation-duration: 35s;
    }

    .client-item {
        width: 130px;
        height: 64px;
    }
}

/* ── Compact Product Cards ── */
.product-detail-card.compact {
    padding: 20px;
    margin-bottom: 32px;
    gap: 24px;
}

.product-detail-card.compact .product-detail-image {
    border-radius: var(--radius-md);
}

.product-detail-card.compact .product-detail-image img {
    height: 220px;
}

.product-detail-card.compact .product-icon-large {
    font-size: 2.25rem;
    margin-bottom: 10px;
}

.product-detail-card.compact .product-detail-content h2 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.product-detail-card.compact .product-detail-content>p {
    font-size: 0.9rem;
    margin-bottom: 14px;
}

@media (max-width: 768px) {
    .product-detail-card.compact {
        padding: 14px;
        margin-bottom: 24px;
    }

    .product-detail-card.compact .product-detail-image img {
        height: 180px;
    }

    .product-detail-card.compact .product-icon-large {
        font-size: 1.75rem;
    }

    .product-detail-card.compact .product-detail-content h2 {
        font-size: 1.15rem;
    }
}

/* Error Modal */
.error-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.error-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

/* Form Success Message Default State */
.form-success {
    display: none;
}

.error-modal-content {
    background: var(--bg-primary);
    padding: 32px;
    border-radius: var(--radius-lg);
    max-width: 400px;
    width: 90%;
    text-align: center;
    border-left: 4px solid var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.error-modal-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.error-modal-title {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.error-modal-message {
    color: var(--text-secondary);
    margin-bottom: 24px;
    display: block;
    line-height: 1.5;
}

.error-modal-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.error-modal-btn:hover {
    background: #b9151c;
}

/* ═══════════════════════════════════════════════════════
   MOBILE CHECKBOX & OVERFLOW FIXES
   ═══════════════════════════════════════════════════════ */
html,
body {
    overflow-x: hidden;
}

@media (max-width: 480px) {
    .benefit-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        /* Force single column */
        gap: 12px;
    }

    .nav-container {
        padding: 0 15px;
        /* Reduced from 16px to 15px for safe margin */
    }

    .nav-actions {
        gap: 6px;
        /* Slightly more space than 4px but compact */
    }

    .lang-btn,
    .theme-toggle {
        padding: 6px 8px;
        font-size: 0.7rem;
        min-width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo img {
        height: 30px;
        /* Smaller logo for tiny screens */
    }
}

/* ═══════════════════════════════════════════════════════
   CAREER PAGE MOBILE OPTIMIZATION
   ═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .career-grid-layout {
        grid-template-columns: 1fr !important;
        /* Stack personal info and photo */
        gap: 32px !important;
    }

    .photo-upload-area {
        order: -1;
        /* Move photo to top on mobile */
        margin: 0 auto 24px auto;
        width: 100%;
        max-width: 300px;
    }

    .photo-upload-area label {
        height: 200px !important;
        /* Fixed height for mobile touch target */
    }

    .experience-table-wrapper {
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        background: white;
    }

    .experience-table {
        min-width: 700px;
        /* Force scroll on small screens */
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 20px 15px !important;
        /* Further reduce padding */
        border-radius: var(--radius-md);
    }

    .radio-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px !important;
    }
}

/* ═══════════════════════════════════════════════════════
   CAREER PAGE REFINEMENTS (Layout & Cards)
   ═══════════════════════════════════════════════════════ */
.form-section {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-section-header {
    border-bottom: 2px solid var(--primary);
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.form-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Consistent Input Heights */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

/* Radio Group Styling */
.radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
    min-height: 45px;
    /* Match input height for alignment */
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
}

.radio-group input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* Table Inputs */
.experience-table input {
    font-size: 0.9rem;
    color: var(--text-primary);
    padding: 6px !important;
}

.experience-table input:focus {
    background: #fff !important;
    box-shadow: none !important;
}

/* ═══════════════════════════════════════════════════════
   CAREER PAGE FORM ALIGNMENT
   ═══════════════════════════════════════════════════════ */
/* Enforce grid for form rows to prevent scattering */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 20px;
}

.form-row.single {
    grid-template-columns: 1fr;
}

/* Ensure radio groups align with other inputs */
.radio-group {
    height: 46px;
    /* Match input height roughly */
    display: flex;
    align-items: center;
    border: 1px solid transparent;
    /* Keeps alignment perfect with bordered inputs */
    padding-left: 0;
}

/* Make inputs darker border for better visibility */
.form-group input,
.form-group select,
.form-group textarea {
    border-color: #cbd5e1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: var(--text-primary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ═══════════════════════════════════════════════════════
   DARK MODE FIXES FOR CAREER FORM
   ═══════════════════════════════════════════════════════ */
[data-theme="dark"] .form-section {
    background: var(--bg-secondary);
    /* Dark Navy */
    border-color: var(--border);
}

[data-theme="dark"] .form-section-title {
    color: var(--text-heading);
    /* White */
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .experience-table input {
    background: var(--bg-tertiary);
    /* Darker input bg */
    border-color: var(--border);
    color: var(--text-primary);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--primary);
    /* Keep blue focus or switch to accent? */
    background: var(--bg-elevated);
}

[data-theme="dark"] .photo-upload-area label {
    background: var(--bg-tertiary);
    border-color: var(--border);
}

[data-theme="dark"] .experience-table th {
    background: var(--bg-tertiary);
    color: var(--text-heading);
    border-color: var(--border);
}

[data-theme="dark"] .experience-table td {
    border-color: var(--border);
}

/* ═══════════════════════════════════════════════════════
   GLOBAL MOBILE OVERFLOW FIX
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar .nav-container {
        padding: 0 15px;
    }

    .logo img {
        height: 35px;
    }

    /* Fixed position for scroll button on mobile */
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
    }
}