/* ==========================================================================
   Sales Amplifiers LLC - Premium About Sheet Matrix (Full & Final Fixed)
   ========================================================================== */

/* --- 1. Global Page Fallback Defaults --- */
body {
    background: #030308 !important;
    color: #ffffff !important;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 0;
}

.center-text { 
    text-align: center; 
}

/* --- 2. Structural Header Safety Setup (Absolute Perfect Axis Alignment) --- */
.navbar {
    position: fixed;
    width: 100%;
    top: 0; left: 0;
    background: rgba(2, 2, 5, 0.95) !important;
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* CRITICAL ALIGNMENT REFACTOR: Align-items center forces all items onto the same exact horizontal line */
.nav-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    height: 100%;
}

.nav-menu a {
    color: #bcbedc !important;
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex !important;
    align-items: center !important; /* Centers text strings vertically inside their tags */
    height: 100%;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #00e5ff !important;
}

/* --- Navbar CTA Button Clean Symmetrical Alignment Fix --- */
/* --- Navbar CTA Button Clean Symmetrical Alignment & Text Color Fix --- */
.btn-quote {
    background: #00e5ff !important;
    color: #000000 !important; /* TEXT COLOR BLACK REQUIRED FOR NEON CYAN BACKGROUND */
    padding: 0.65rem 1.4rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 2rem !important;
    line-height: 1 !important;
    height: auto !important;
    min-height: 42px !important;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.25);
    
    /* Extra Specificity Safety Rule: Agar link layers color override karein */
    -webkit-text-fill-color: #000000 !important; 
    
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Hover configuration safety block */
.btn-quote:hover {
    background: #00bcca !important;
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 229, 255, 0.45);
}

/* --- 3. Cinematic Hero Grid Engine --- */
.about-hero {
    min-height: 48vh;
    padding-top: 160px;
    padding-bottom: 4rem;
    background: radial-gradient(circle at center, #0c0f2b 0%, #030308 100%) !important;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.about-hero-mesh {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(circle, rgba(0, 229, 255, 0.06) 1px, transparent 1.5px);
    background-size: 40px 40px;
    z-index: 1;
}

.about-hero-centered {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.gradient-text-about {
    background: linear-gradient(90deg, #ffffff, #00e5ff, #9d4edd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-hero-centered p {
    font-size: 1.2rem;
    color: #bcbedc !important;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* --- 4. Two-Column Story Infrastructure --- */
.two-col-section {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4rem !important;
    align-items: center;
}

.text-block {
    text-align: left;
}

.about-section-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: #9d4edd !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

.gradient-text {
    background: linear-gradient(90deg, #00e5ff, #9d4edd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.text-block p {
    color: #bcbedc !important;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

.who-we-are-glow-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

/* --- 5. Interactive Mission Accent Layer --- */
.about-mission-banner {
    padding: 2rem 0;
}

.mission-internal-box {
    background: linear-gradient(135deg, rgba(11, 14, 34, 0.4) 0%, rgba(7, 9, 26, 0.7) 100%);
    border: 1px solid rgba(157, 78, 221, 0.15);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.mission-internal-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: linear-gradient(to bottom, #00e5ff, #9d4edd);
}

.mission-internal-box h2 {
    font-size: 2rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 0.2rem;
}

.mission-internal-box p {
    font-size: 1.1rem;
    color: #bcbedc;
    line-height: 1.6;
    margin: 0;
}

/* --- 6. What We Do Cards Matrix Assembly --- */
.about-matrix-section {
    padding: 4rem 0;
}

.about-sub-heading {
    color: #8a8ca3 !important;
    font-size: 1.05rem;
    margin-top: -0.8rem;
    margin-bottom: 4rem;
}

.about-matrix-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important; /* Auto-balances 4 items flawlessly */
    gap: 2rem !important;
    width: 100%;
}

.matrix-card {
    background: rgba(11, 14, 34, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.matrix-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(0, 229, 255, 0.35) !important;
    box-shadow: 0 15px 35px rgba(0, 229, 255, 0.15);
}

.matrix-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #00e5ff !important;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.matrix-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 0.8rem;
}

.matrix-card p {
    font-size: 0.92rem;
    color: #bcbedc !important;
    line-height: 1.6;
    margin: 0;
}

/* --- 7. Button Mechanics Core --- */
.cta-about-center-btn {
    min-width: 280px;
    display: inline-flex !important;
    margin: 0 auto !important;
    width: max-content;
    background-color: #00e5ff;
    color: #000000;
    padding: 1rem 1.8rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-about-center-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 229, 255, 0.45);
}

/* --- 8. Premium 3-Column Absolute Fixed Footer --- */
.premium-3d-footer {
    background: #020205 !important;
    color: #ffffff !important;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    border-top: 1px solid transparent;
    background-image: linear-gradient(#020205, #020205), linear-gradient(90deg, #00e5ff, #9d4edd, #00e5ff);
    background-origin: border-box;
    background-clip: content-box, border-box;
    box-shadow: 0 -10px 40px rgba(0, 229, 255, 0.08);
}

.footer-3d-wave {
    position: absolute;
    top: -50%; left: -20%; width: 140%; height: 200%;
    background: radial-gradient(circle at 50% 0%, rgba(157, 78, 221, 0.05) 0%, rgba(0, 229, 255, 0.04) 30%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.premium-3d-footer .container {
    padding: 4rem 0 3rem 0;
    position: relative;
    z-index: 3;
}

.about-footer-grid {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr 1fr !important; 
    gap: 2.5rem !important;
    text-align: left !important;
}

.footer-brand-col, .footer-links-col, .footer-contact-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.footer-brand-text {
    color: #8a8ca3 !important;
    font-size: 0.92rem;
    margin-top: 1rem;
    line-height: 1.5;
}

.premium-3d-footer h4 {
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-3d-footer p {
    color: #bcbedc !important;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.premium-3d-footer a {
    color: #bcbedc !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.premium-3d-footer a:hover {
    color: #00e5ff !important;
}

.footer-email {
    color: #00e5ff !important;
    font-weight: 600;
}

/* ==========================================================================
   9. Ultimate Responsive Mobile Adapters (100% Fluid Fix)
   ========================================================================== */

/* Tablet Screens Optimization Breakpoint (Max-width: 1024px) */
@media (max-width: 1024px) {
    .container {
        width: 92%;
        padding: 3rem 0;
    }
    .gradient-text-about {
        font-size: 2.8rem;
    }
    .two-col-section {
        gap: 2.5rem !important;
    }
    .about-matrix-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
        gap: 1.5rem !important;
    }
    .nav-menu a {
        margin-left: 1.2rem;
        font-size: 0.9rem;
    }
    .btn-quote {
        margin-left: 1.2rem !important;
        padding: 0.55rem 1.1rem !important;
    }
}

/* Mobile Devices & Small Screens (Max-width: 768px) */
@media (max-width: 768px) {
    .container {
        padding: 2rem 0;
        width: 90%;
    }

    /* Navbar Mobile Flow Alignment Fixed */
    .nav-container {
        flex-direction: column !important;
        height: auto !important;
        padding: 1.2rem 0;
        gap: 1.2rem;
    }
    .nav-menu {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.8rem;
        width: 100%;
    }
    .nav-menu a {
        margin-left: 0 !important;
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
        height: auto;
    }
    .btn-quote {
        width: auto !important;
        min-width: 180px !important;
        text-align: center;
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }

    /* About Hero Compression */
    .about-hero {
        min-height: auto !important;
        padding-top: 190px;
        padding-bottom: 3.5rem;
    }
    .gradient-text-about { 
        font-size: 2.1rem;
        line-height: 1.3;
    }
    .about-hero-centered p {
        font-size: 1rem;
    }

    /* Two-Column Story Grid Crash Fix */
    .two-col-section { 
        grid-template-columns: 1fr !important; 
        text-align: center !important; 
        gap: 2rem !important;
    }
    .text-block {
        text-align: center !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .about-section-tag {
        align-self: center;
    }
    .who-we-are-glow-img {
        max-width: 100%;
        margin: 0 auto;
    }

    /* Mission Banner Fluid Box Layout */
    .mission-internal-box {
        padding: 2rem 1.5rem !important;
        text-align: center !important;
    }
    .mission-internal-box::before {
        width: 100%;
        height: 4px;
        top: 0; left: 0;
    }
    .mission-internal-box h2 {
        font-size: 1.75rem;
    }
    .mission-internal-box p {
        font-size: 0.98rem;
    }

    /* What We Do 4-Cards Grid Stack */
    .about-matrix-grid { 
        grid-template-columns: 1fr !important; 
        gap: 1.2rem !important;
    }
    .matrix-card {
        padding: 2rem 1.5rem !important;
        align-items: center !important; 
        text-align: center !important;
    }
    .matrix-icon-box {
        margin-bottom: 1rem;
    }

    /* Scattered CTA Full-Width Block override */
    .cta-about-center-btn { 
        width: 100% !important; 
        min-width: 100% !important;
        justify-content: center;
    }

    /* 3-Column Footer Mobile Collapse Engine */
    .about-footer-grid {
        grid-template-columns: 1fr !important; 
        text-align: center !important;
        gap: 2.5rem !important;
    }
    .footer-brand-col, .footer-links-col, .footer-contact-col {
        align-items: center !important;
    }
    .footer-brand-text {
        margin-bottom: 0;
    }
}