/* ==========================================================================
   Sales Amplifiers LLC - Premium Contact Page Core Layout Styles
   ========================================================================== */

/* --- 1. Global Document Setup Sync --- */
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;
}

/* --- 2. Navbar Safety Sync Overrides --- */
.navbar {
    position: fixed;
    width: 100%;
    top: 0; left: 0;
    background: rgba(2, 2, 5, 0.85) !important;
    backdrop-filter: blur(12px);
    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;
}

.nav-menu a {
    color: #bcbedc !important;
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: #00e5ff !important;
}

/* --- 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. Contact Cyberpunk Hero Engine --- */
.contact-hero {
    min-height: 42vh;
    padding-top: 160px;
    padding-bottom: 3rem;
    background: radial-gradient(circle at center, #07091a 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);
}

.contact-hero-grid-mesh {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(circle, rgba(157, 78, 221, 0.05) 1px, transparent 1.5px);
    background-size: 50px 50px;
    z-index: 1;
}

.contact-hero-centered {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.gradient-text-contact {
    background: linear-gradient(90deg, #ffffff, #9d4edd, #00e5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.contact-hero-centered p {
    font-size: 1.15rem;
    color: #bcbedc;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto;
}

/* --- 4. B2B Form Split Engine Recovery Core --- */
.contact-section {
    padding: 5rem 0;
}

.contact-split-container {
    display: grid !important;
    grid-template-columns: 1fr 1.2fr !important; /* Perfect asymmetrical balance ratio */
    gap: 4rem !important;
    align-items: start;
    background: rgba(11, 14, 34, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.02);
    padding: 4rem 3.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.contact-info-block {
    text-align: left;
}

.contact-badge {
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.15);
    color: #00e5ff;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.contact-info-block h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.contact-info-block p {
    color: #bcbedc;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Contact Specific Dynamic Row Cards */
.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.info-icon {
    width: 46px;
    height: 46px;
    background: rgba(157, 78, 221, 0.06);
    border: 1px solid rgba(157, 78, 221, 0.15);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #9d4edd;
    font-size: 1.1rem;
}

.info-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.2rem 0;
}

.info-item p {
    font-size: 0.92rem;
    color: #8a8ca3;
    margin: 0;
}

/* Input Fields Matrix Elements */
.contact-form-block form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group input, .input-group textarea {
    background: rgba(7, 9, 26, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 1rem 1.2rem;
    border-radius: 10px;
    color: #ffffff !important;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: #00e5ff !important;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
}

/* Submit Activation Token Button */
.btn-form-submit {
    background: linear-gradient(90deg, #00e5ff, #00bcca);
    color: #000000;
    border: none;
    padding: 1.1rem;
    border-radius: 12px;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.2);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

.btn-form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 229, 255, 0.45);
}

/* --- 5. Premium 3-Column Horizon Footer Fix --- */
.premium-3d-footer {
    background: #020205 !important;
    color: #ffffff !important;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 -10px 40px rgba(0, 229, 255, 0.05);
}

.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.04) 0%, transparent 70%);
    pointer-events: none;
}

.premium-3d-footer .container {
    padding: 4rem 0 3rem 0;
    position: relative;
    z-index: 3;
}

.contact-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;
}

.footer-brand-text { color: #8a8ca3 !important; font-size: 0.92rem; margin-top: 1rem; }
.premium-3d-footer h4 { color: #ffffff !important; font-size: 1.1rem; font-weight: 700; margin-bottom: 1.2rem; }
.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; }
.premium-3d-footer a:hover { color: #00e5ff !important; }
.footer-email { color: #00e5ff !important; font-weight: 600; }

/* --- 6. Ultimate Viewports Fluid Response Mobile Adapters --- */
@media (max-width: 992px) {
    .contact-split-container {
        grid-template-columns: 1fr !important;
        padding: 2.5rem;
        gap: 3rem !important;
    }
}

@media (max-width: 768px) {
    .gradient-text-contact { font-size: 2rem; }
    .contact-split-container { padding: 1.5rem; }
    .contact-info-block h2 { font-size: 1.8rem; text-align: center; }
    .contact-info-block p { text-align: center; }
    .contact-badge { align-self: center; }
    .contact-footer-grid { grid-template-columns: 1fr !important; text-align: center !important; }
    .footer-brand-col, .footer-links-col, .footer-contact-col { align-items: center !important; }
    .nav-container { flex-direction: column; height: auto; padding: 1rem 0; gap: 1rem; }
    .nav-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
    .nav-menu a { margin-left: 0; }
}