/* MNC EXECUTIVE STANDARD v7.0 - MICROHARD INFOTECH LLC
   Full Integration: Hero, Grid, Icons, Popup, and Footer
   Strategic Anchor: 80px (Desktop) | 30px (Mobile)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@900&family=Space+Grotesk:wght@300;500;700&display=swap');

:root {
    --mnc-red: #D71921;
    --mnc-black: #000000;
    --mnc-zinc: #0A0A0A;
    --mnc-border: #222222;
    --standard-pad: 80px; 
}

/* 1. GLOBAL & RESPONSIVE ANCHOR */
@media (max-width: 768px) {
    :root { --standard-pad: 30px; }
}

body {
    background-color: var(--mnc-black);
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* 2. NAVIGATION & HERO SEAMLESS WHITE BLOCK */
.responsive-nav { 
    padding: 30px var(--standard-pad); 
    background: #fff; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.nav-logo { height: 50px; width: auto; }
.ops-center-text { color: #444; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; }

.hero-wrapper { background: #fff; border: none; padding-bottom: 20px; }

.responsive-hero { 
    padding: 60px var(--standard-pad) 40px; 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
    background: #fff;
}

.hero-title {
    font-family: 'Inter', sans-serif; /* Restored older font */
    font-size: clamp(4rem, 15vw, 12rem); /* Massive industrial scale */
    font-weight: 900;
    line-height: 0.8; /* Restored tight vertical tracking */
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: #000;
    margin: 0;
    padding: 0;
}

.hero-description { 
    padding: 20px 0 0 0;
    color: #555; 
    font-size: 1.3rem; 
    max-width: 750px; 
    line-height: 1.5; 
}

.hero-btn {
    background: var(--mnc-red);
    border: none;
    color: #fff;
    padding: 18px 40px;
    cursor: pointer;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    transition: 0.3s opacity;
}

/* 3. BRAND ICON STRIP */
.service-strip-brand {
    padding: 20px var(--standard-pad) 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    text-align: center;
    background: #fff;
}

.icon-box-brand {
    background: var(--mnc-red);
    width: 85px; height: 85px;
    border-radius: 24px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 10px 25px rgba(215, 25, 33, 0.25);
    transition: transform 0.3s ease;
}

.icon-node:hover .icon-box-brand { transform: translateY(-5px); }
.icon-node i { color: #fff; font-size: 32px; display: flex; }
.icon-label { color: #111; font-size: 11px; font-weight: 800; text-transform: uppercase; line-height: 1.3; letter-spacing: 0.5px; }

/* 4. INDUSTRIAL DASHBOARD GRID */
.dashboard-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 3px; 
    background: var(--mnc-border); 
    border-top: 3px solid #111; 
}

.matrix-node { 
    background: var(--mnc-black); 
    padding: 5rem var(--standard-pad); 
    transition: background 0.4s ease;
}

.matrix-node:hover {
    background: #080808;
    box-shadow: inset 0 0 100px rgba(215, 25, 33, 0.05);
}

.node-id { color: var(--mnc-red); font-weight: 800; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 1.5rem; display: block; }
.node-title { font-size: 2.8rem; font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: 2rem; text-transform: uppercase; }
.service-header { font-size: 11px; font-weight: 800; color: var(--mnc-red); text-transform: uppercase; border-bottom: 1px solid #222; padding-bottom: 8px; margin-bottom: 12px; }
.service-body { font-size: 1.1rem; color: #cbd1d4; line-height: 1.8; margin-bottom: 2rem; }

.alliance-footer {
    font-size: 11px; font-weight: 800; color: #fff; opacity: 0.4;
    letter-spacing: 0.2em; text-transform: uppercase;
    margin-top: 4rem; padding-top: 20px; border-top: 1px solid #111;
}

/* 5. POPUP ENGINE */
#contact-popup {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(15px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

#contact-popup.active { display: flex !important; animation: fadeIn 0.4s ease; }

/* --- CONTACT FORM EXECUTIVE STYLING --- */

.form-container h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: var(--mnc-red);
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.form-label-custom {
    display: block;
    color: #888;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 5px;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    padding: 1rem 0;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    outline: none;
    margin-bottom: 2rem;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: var(--mnc-red);
}

/* THE MISSING SEND BUTTON */
.submit-btn {
    width: 100%;
    background: var(--mnc-red);
    color: #ffffff;
    border: none;
    padding: 20px;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    font-size: 12px;
}

.submit-btn:hover {
    background: #b5151b;
    letter-spacing: 0.35em;
    box-shadow: 0 10px 30px rgba(215, 25, 33, 0.3);
}

.submit-btn:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
}

.form-container { background: #0a0a0a; border: 3px solid var(--mnc-border); padding: 4rem; max-width: 600px; width: 90%; position: relative; }
.form-input { width: 100%; background: transparent; border: none; border-bottom: 1px solid #333; padding: 1.5rem 0; color: #fff; font-family: 'Space Grotesk', sans-serif; outline: none; }
.form-input:focus { border-color: var(--mnc-red); }

/* 6. BRAND RED FOOTER */
.responsive-footer { padding: 80px var(--standard-pad); background: var(--mnc-red); border-top: 3px solid #000; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; }
.footer-desc { color: #fff; font-size: 1rem; line-height: 1.8; max-width: 500px; margin-bottom: 30px; }
.footer-link-list { list-style: none; padding: 0; margin: 0; }
.footer-link-list a { color: #fff; text-decoration: none; font-size: 13px; text-transform: uppercase; font-weight: 600; line-height: 2.2; }
.footer-ops-text { color: #fff; font-size: 13px; line-height: 1.8; text-transform: uppercase; letter-spacing: 0.05em; }
.ops-label { color: rgba(0,0,0,0.5); font-weight: 800; }

.footer-bottom-anchor {
    margin-top: 60px; padding-top: 30px; border-top: 1px solid rgba(0,0,0,0.1);
    display: flex; justify-content: space-between; align-items: center;
}
.copyright-text { color: rgba(0,0,0,0.4); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; }

/* 7. GLOBAL RESPONSIVE ENGINE */
@media (max-width: 1100px) {
    .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* --- EXECUTIVE MOBILE CENTERING ENGINE --- */
@media (max-width: 768px) {
    /* 1. Center the Hero Text and Button */
    .responsive-hero {
        text-align: center !important;
        align-items: center !important;
        flex-direction: column !important;
        padding: 60px 20px !important;
    }

    .hero-title {
        text-align: center !important;
        width: 100%;
    }

    .hero-description {
        margin: 20px auto 0 !important;
        text-align: center !important;
    }

    .hero-btn {
        margin: 40px auto 0 !important;
        width: 100% !important;
        max-width: 300px;
    }

    /* 2. Center the Solution Icon Strip */
    .service-strip-brand {
        grid-template-columns: repeat(2, 1fr) !important;
        justify-items: center !important;
        padding: 40px 20px !important;
    }

    .icon-node {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center !important;
    }

    .icon-box-brand {
        margin: 0 auto 15px !important;
    }

    /* 3. Center the Form Pop-up Content */
    .form-container {
        padding: 3rem 1.5rem !important;
        text-align: center !important;
    }
    
    .form-label-custom {
        text-align: left !important; /* Keep labels left for readability */
    }
}

@media (max-width: 768px) {
    .responsive-nav, .responsive-hero { flex-direction: column; align-items: flex-start; }
    .hero-btn { width: 100%; margin-top: 30px; margin-bottom: 0; }
    .service-strip-brand { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .matrix-node { padding: 4rem var(--standard-pad); }
    .node-title { font-size: 2.2rem; }
    .responsive-footer { padding: 60px var(--standard-pad); }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom-anchor { flex-direction: column; text-align: center; gap: 15px; }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }