/* ==========================================================================
   ENTERPRISE ULTRA-BIDIRECT 3D STRUCTURAL CORE STYLE ENVIRONMENT (2026)
   ========================================================================== */

:root {
    --primary-navy: #060b13;       /* Deep Cosmic Navy */
    --secondary-slate: #0f172a;    /* Rich Obsidian Slate */
    --accent-gold: #c5a059;        /* Polished Metalloid Industrial Gold */
    --text-slate: #475569;          /* Core Deep Slate Gray */
    --text-muted: #94a3b8;         /* Structural Subtle Contrast */
    --3d-shadow-deep: 0 35px 70px rgba(0, 0, 0, 0.25), 0 15px 30px rgba(0, 0, 0, 0.15);
    --3d-shadow-card: 0 15px 35px rgba(0, 0, 0, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
    --neon-gold-glow: 0 0 25px rgba(197, 160, 89, 0.35);
}

/* Global Geometry Overhauls */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6;
    color: var(--primary-navy);
    overflow-x: hidden;
    perspective: 1400px; /* Activates 3D structural field over body layers */
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* Top Minimalist 3D Depth Stripe */
.mnc-top-bar-3d {
    background: #020408;
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 12px 60px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1010;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.msme-tag i { color: var(--accent-gold); margin-right: 6px; }

/* 3D Elevated Layered Navigation Header */
.mnc-header-3d {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(197, 160, 89, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transform: translateZ(10px); /* 3D layer lift */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-wrapper-3d {
    transform: translateZ(5px);
}

.brand-logo {
    height: 46px;
    width: auto;
    object-fit: contain;
}

/* Search Bar Depth Injection */
.search-wrapper-3d {
    position: relative;
    max-width: 420px;
    width: 100%;
    margin: 0 30px;
}

.search-icon {
    position: absolute;
    left: 16px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-slate);
}

#global-search {
    width: 100%;
    padding: 11px 20px 11px 45px;
    border: 1px solid #cbd5e1;
    border-radius: 25px;
    background: #f1f5f9;
    outline: none;
    font-size: 14px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

#global-search:focus {
    border-color: var(--accent-gold);
    background: white;
    box-shadow: 0 4px 15px rgba(197,160,89,0.15), inset 0 1px 2px rgba(0,0,0,0.02);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 30px;
}

.nav-item-3d {
    text-decoration: none;
    color: var(--secondary-slate);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-item-3d:hover { color: var(--accent-gold); }

.secure-toggle-btn {
    color: #b45309 !important;
    background: #fef3c7;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid #fde68a;
}
.secure-toggle-btn:hover { background: var(--accent-gold); color: white !important; }

.btn-nav-3d {
    background: var(--primary-navy);
    color: white !important;
    padding: 10px 22px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s;
}

.btn-nav-3d:hover {
    background: var(--accent-gold);
    box-shadow: var(--neon-gold-glow);
}

/* Cinematic 3D Depth Hero Arena */
.mnc-hero-3d {
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&q=80&w=1600') no-repeat center center/cover;
    padding: 180px 60px;
    display: flex;
    align-items: center;
    box-shadow: inset 0 -40px 80px #f3f4f6;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(6, 11, 19, 0.96) 30%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 1;
}

.hero-container { position: relative; z-index: 2; max-width: 1400px; width: 100%; margin: 0 auto; }

.hero-text-block-3d {
    transform: rotateY(5deg) translateZ(30px); /* Isometric lean */
}

.sector-badge-3d {
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 4px;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: var(--neon-gold-glow);
}

.hero-text-block-3d h1 { font-size: 52px; color: white; line-height: 1.2; max-width: 800px; margin-bottom: 25px; text-shadow: 0 10px 20px rgba(0,0,0,0.4); }
.hero-text-block-3d p { font-size: 17px; color: #cbd5e1; max-width: 600px; line-height: 1.7; margin-bottom: 35px; }

.btn-primary-3d {
    background: var(--accent-gold); color: var(--primary-navy); padding: 14px 35px; text-decoration: none; font-weight: 700; border-radius: 4px; text-transform: uppercase; font-size: 13px; letter-spacing: 0.5px; display: inline-block; transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
}
.btn-primary-3d:hover { background: white; transform: translateY(-3px) translateZ(10px); box-shadow: var(--3d-shadow-deep); }

/* 3D Operational Directory */
.enterprise-directory-3d { background: #f3f4f6; padding: 100px 60px; }
.section-header-center { text-align: center; max-width: 700px; margin: 0 auto 55px; }
.section-header-center h2 { font-size: 36px; color: var(--primary-navy); margin-top: 10px; position: relative; }

/* 3D Founder Console Box Blueprint */
.control-center-panel-3d {
    background: var(--secondary-slate); border-radius: 16px; max-width: 1200px; margin: 0 auto 50px;
    box-shadow: var(--3d-shadow-deep); border: 1px solid rgba(197, 160, 89, 0.4);
    transform: rotateX(5deg);
}

.panel-header-3d {
    background: #020408; padding: 16px 25px; color: white; font-size: 12px; font-weight: 700; letter-spacing: 1px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.panel-header-3d i { color: var(--accent-gold); }
.badge-admin-active { margin-left: auto; background: #10b981; color: white; padding: 2px 8px; border-radius: 4px; font-size: 10px; }

.panel-form-grid-3d { display: grid; grid-template-columns: 1fr 1fr auto; gap: 20px; padding: 30px; align-items: center; }
.panel-form-grid-3d input { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); padding: 14px; border-radius: 6px; color: white; font-size: 14px; outline: none; transition: 0.2s; }
.panel-form-grid-3d input:focus { border-color: var(--accent-gold); background: rgba(255,255,255,0.08); }

.form-btn-wrapper { display: flex; gap: 10px; }
.panel-form-grid-3d button { background: var(--accent-gold); color: var(--primary-navy); border: none; padding: 14px 28px; border-radius: 6px; font-weight: 700; cursor: pointer; text-transform: uppercase; font-size: 12px; transition: all 0.3s; }
.panel-form-grid-3d button:hover { background: white; box-shadow: var(--neon-gold-glow); }
.btn-clear-form { background: #475569 !important; color: white !important; }

/* 3D Product Matrix Cards Architecture */
.enterprise-grid-3d { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 35px; max-width: 1200px; margin: 0 auto; }

.mnc-product-card-3d {
    background: white; padding: 40px 35px; border-radius: 16px; position: relative; overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8); box-shadow: var(--3d-shadow-card);
    transform: translateY(0) translateZ(0) scale(1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mnc-product-card-3d:hover {
    transform: translateY(-10px) translateZ(30px) scale(1.02); /* Multi-axis 3D lift pop out */
    box-shadow: var(--3d-shadow-deep);
    border-color: rgba(197, 160, 89, 0.4);
}

.card-3d-glow-strip { position: absolute; top:0; left:0; right:0; height: 5px; background: linear-gradient(90deg, var(--primary-navy), var(--accent-gold)); }
.product-header-icon-3d { width: 52px; height: 52px; background: #f8fafc; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--accent-gold); margin-bottom: 25px; border: 1px solid #e2e8f0; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02); }

.mnc-product-card-3d h4 { font-size: 21px; color: var(--primary-navy); margin-bottom: 12px; }
.mnc-product-card-3d p { font-size: 14.5px; color: var(--text-slate); line-height: 1.6; margin-bottom: 25px; min-height: 70px; }

.card-management-actions-3d { display: flex; gap: 12px; border-top: 1px solid #f1f5f9; padding-top: 20px; }
.card-management-actions-3d button { padding: 10px 18px; border-radius: 6px; font-size: 12.5px; font-weight: 600; cursor: pointer; border: none; transition: 0.2s; }

.btn-action-edit-3d { background: #f1f5f9; color: var(--secondary-slate); flex: 1; }
.btn-action-edit-3d:hover { background: #cbd5e1; }
.btn-action-delete-3d { background: #ffe4e6; color: #e11d48; }
.btn-action-delete-3d:hover { background: #fecdd3; }

.btn-action-cart-3d { background: var(--primary-navy); color: white; width: 100%; font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: 0.5px; padding: 12px !important; }
.btn-action-cart-3d:hover { background: var(--accent-gold); box-shadow: var(--neon-gold-glow); }

/* Geolocation Matrix Layout (Clean & Balanced 3D) */
.global-matrix-section-3d { padding: 100px 60px; max-width: 1400px; margin: 0 auto; }
.matrix-grid-3d { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.matrix-details-clean-3d { display: flex; flex-direction: column; gap: 25px; }

.info-card-3d-structural {
    background: white; padding: 30px; border-radius: 16px; display: flex; gap: 22px; align-items: center; border: 1px solid rgba(226, 232, 240, 0.9); box-shadow: var(--3d-shadow-card); transition: all 0.3s;
}
.info-card-3d-structural:hover { transform: translateY(-4px) translateZ(10px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }

.icon-sphere-gold-3d { width: 55px; height: 55px; border-radius: 50%; background: rgba(197, 160, 89, 0.1); color: var(--accent-gold); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; box-shadow: inset 0 2px 6px rgba(197,160,89,0.2); }
.info-card-text-3d h5 { font-size: 16px; color: var(--primary-navy); margin-bottom: 5px; }
.info-card-text-3d p { font-size: 14px; color: var(--text-slate); line-height: 1.6; }

/* 3D Form Integration */
.secure-enquiry-box-clean-3d { background: white; padding: 35px; border-radius: 16px; border: 1px solid #e2e8f0; box-shadow: var(--3d-shadow-card); }
.secure-enquiry-box-clean-3d h4 { font-size: 16px; margin-bottom: 20px; color: var(--primary-navy); }
.secure-enquiry-box-clean-3d h4 i { color: var(--accent-gold); margin-right: 8px; }
.enquiry-inputs-clean-3d { display: flex; flex-direction: column; gap: 15px; }
.input-row-split-3d { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.enquiry-inputs-clean-3d input, .enquiry-inputs-clean-3d textarea { width: 100%; padding: 13px 16px; border: 1px solid #cbd5e1; border-radius: 8px; background: #f8fafc; outline: none; font-size: 14px; }
.enquiry-inputs-clean-3d input:focus, .enquiry-inputs-clean-3d textarea:focus { border-color: var(--accent-gold); background: white; }
.btn-primary-block-3d { background: var(--primary-navy); color: white; border: none; padding: 14px; border-radius: 8px; font-weight: 700; cursor: pointer; text-transform: uppercase; font-size: 12px; transition: 0.2s; }
.btn-primary-block-3d:hover { background: var(--accent-gold); box-shadow: var(--neon-gold-glow); }

/* DEEP 3D ISOMETRIC FLOATING MAP FRAME */
.matrix-map-wrapper-3d-frame {
    position: relative; border-radius: 24px; overflow: hidden; height: 530px; background: #e5e7eb; border: 2px solid rgba(197, 160, 89, 0.4); box-shadow: var(--3d-shadow-deep);
    transform: perspective(1200px) rotateX(10deg) rotateY(-10deg) rotateZ(2deg) translateZ(0); /* Advanced Isometric Canvas Leaning */
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}
.matrix-map-wrapper-3d-frame:hover {
    transform: perspective(1200px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateZ(20px); /* Smoothly glides out flat when hovered */
    box-shadow: 0 45px 85px rgba(0,0,0,0.22), var(--neon-gold-glow);
}
.map-inner-glow-3d { position: absolute; top:0; left:0; right:0; bottom:0; pointer-events: none; border-radius: 24px; box-shadow: inset 0 0 35px rgba(6,11,19,0.18), inset 0 0 0 4px white; z-index: 10; }

/* 3D Layered Corporate Footer */
.mnc-footer-3d { background: #020408; color: #94a3b8; padding: 50px 60px; border-top: 3px solid var(--accent-gold); text-align: center; box-shadow: 0 -10px 30px rgba(0,0,0,0.2); }
.footer-subtext-3d { font-size: 12px; color: #475569; margin-top: 10px; letter-spacing: 0.3px; }
.no-results-msg-3d { text-align: center; color: var(--text-slate); padding: 40px; font-size: 14px; width: 100%; }

/* Adaptive Responsive Mechanics */
@media (max-width: 1100px) {
    .matrix-grid-3d { grid-template-columns: 1fr; gap: 40px; }
    .matrix-map-wrapper-3d-frame { transform: none; height: 420px; }
    .matrix-map-wrapper-3d-frame:hover { transform: none; }
    .panel-form-grid-3d { grid-template-columns: 1fr; }
    .header-container { padding: 15px 30px; }
    .global-matrix-section-3d, .enterprise-directory-3d { padding: 60px 30px; }
    .hero-text-block-3d h1 { font-size: 38px; }
}