/* ==========================================================================
   Lucprosoft - Premium Microsoft Fluent UI Contact System with Advanced Motion
   ========================================================================== */

/* --- Ethnocentric Rg & Core Fonts --- */
@font-face {
    font-family: 'Ethnocentric Rg';
    src: url('https://fonts.cdnfonts.com/s/16620/Ethnocentric Rg%20rg.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary: #0067b8;       /* Microsoft Enterprise Blue */
    --primary-deep: #005a9e;  /* Fluent Hover Blue */
    --secondary: #242424;     /* Fluent Primary Dark Text */
    --accent: #00a4ef;        /* Microsoft Cyan Accent */
    --text: #605e5c;          /* Muted Body Core */
    --light: #f3f2f1;         /* Fluent Light Canvas Grey */
    --white: #ffffff;
    --border: #e0e0e0;        /* Subtle Border Grid */
}

/* --- Global Resets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background: var(--white);
    color: var(--secondary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   ADVANCED FLUENT MOTION ARCHITECTURE
   ========================================================================== */

@keyframes fluentSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fluentScaleIn {
    from {
        opacity: 0;
        transform: scale(0.97);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes ambientGlowGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20px, -15px) scale(1.08); }
}

@keyframes smoothIconFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(0px); }
}

/* ==========================================================================
   PREMIUM ENTERPRISE HERO LAYER
   ========================================================================== */

.contact-hero {
    position: relative;
    overflow: hidden;
    padding: 100px 6% 80px;
    text-align: center;
    background: linear-gradient(135deg, #0f172a 0%, #002050 60%, #004b93 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Matrix Software Grid Layer */
.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1.2px, transparent 1.2px);
    background-size: 30px 30px;
    opacity: 0.8;
    z-index: 1;
}

/* Fluid Atmospheric Lights */
.contact-hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(0, 103, 184, 0.22);
    border-radius: 50%;
    top: -300px;
    right: -100px;
    filter: blur(140px);
    animation: ambientGlowGlow 10s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(0, 164, 239, 0.15);
    border-radius: 50%;
    bottom: -250px;
    left: -100px;
    filter: blur(130px);
    animation: ambientGlowGlow 8s ease-in-out infinite alternate-reverse;
}

.contact-hero h1 {
    position: relative;
    z-index: 2;
    color: var(--white);
    font-size: 38px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    animation: fluentSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.lucprosoft-title {
    position: relative;
    z-index: 2;
    font-family: 'Ethnocentric Rg', sans-serif !important;
    font-size: 46px;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: inline-block;
    text-transform: uppercase;
    animation: fluentScaleIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* High-Contrast Precise TM Circle */
.tm {
    font-family: "Segoe UI", sans-serif;
    font-size: 9px;
    font-weight: 700;
    vertical-align: super;
    position: absolute;
    top: -4px;
    right: -24px;
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.6);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.contact-hero p {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: auto;
    color: rgba(243, 242, 241, 0.85);
    font-size: 14.5px;
    line-height: 1.7;
    animation: fluentSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ==========================================================================
   GRID CORE & INPUT ARCHITECTURE
   ========================================================================== */

.contact-section {
    width: 100%;
    padding: 60px 6%;
    background: var(--white) !important;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
}

/* Structural Card Formats with Fluent Board Shadows */
.contact-left,
.contact-form {
    background: #faf9f8 !important;
    border: 1px solid var(--border);
    border-radius: 6px; /* Precise edge curving pattern */
    padding: 35px 30px;
    box-shadow: 0 1.6px 3.6px rgba(0,0,0,0.08), 0 0.3px 0.9px rgba(0,0,0,0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: fluentSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.contact-left { animation-delay: 0.1s; }
.contact-form { animation-delay: 0.2s; }

.contact-left:hover,
.contact-form:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.05);
}

.contact-left h2,
.contact-form h2 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--secondary);
}

.contact-left p {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 13px;
}

/* ==========================================================================
   INFO PACK LINKS & TRIGGERS
   ========================================================================== */

.info-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.info-box {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    transition: all 0.2s ease;
}

.info-icon {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border-radius: 4px; /* Matches Microsoft icon plate design */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    animation: smoothIconFloat 3.5s ease-in-out infinite;
}

.info-icon::before {
    content: '';
    position: absolute;
    width: 140%;
    height: 140%;
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(45deg);
    left: -150%;
    top: -20%;
    transition: all 0.5s ease;
}

.info-box:hover .info-icon::before {
    left: 130%;
}

.info-box:hover {
    transform: translateX(4px);
}

.info-box:hover .info-icon {
    background: var(--primary-deep);
    box-shadow: 0 4px 10px rgba(0, 103, 184, 0.25);
}

.info-icon i {
    color: var(--white);
    font-size: 15px;
    position: relative;
    z-index: 2;
}

.info-content h3 {
    font-size: 14px;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--secondary);
}

.info-content p {
    margin: 0;
    font-size: 13px;
    color: var(--text);
}

/* ==========================================================================
   SOCIAL NETWORKS PLATES
   ========================================================================== */

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: nowrap;
}

.social-icons a {
    width: 38px;
    height: 38px;
    background: var(--white);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.social-icons a i {
    font-size: 15px;
    color: #605e5c;
    position: relative;
    z-index: 2;
    transition: all 0.2s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.social-icons a:hover i {
    color: var(--white) !important;
    transform: scale(1.08);
}

/* Fluent Adaptive Brand Identity Mappings */
.social-icons a:hover[href*="facebook"] { background: #1877f2; border-color: #1877f2; }
.social-icons a:hover[href*="instagram"] { background: #e4405f; border-color: #e4405f; }
.social-icons a:hover[href*="youtube"] { background: #ff0000; border-color: #ff0000; }
.social-icons a:hover[href*="x.com"] { background: #000000; border-color: #000000; }
.social-icons a:hover[href*="linkedin"] { background: #0a66c2; border-color: #0a66c2; }
.social-icons a:hover[href*="whatsapp"] { background: #25d366; border-color: #25d366; }

/* ==========================================================================
   INPUT CHANNELS & CONTROLS
   ========================================================================== */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.input-box {
    margin-bottom: 16px;
}

.input-box input,
.input-box textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 4px; /* Fluent sharp alignment consistency */
    padding: 11px 14px;
    outline: none;
    font-size: 13px;
    color: var(--secondary);
    transition: all 0.15s ease;
    background: var(--white);
    font-family: "Segoe UI", sans-serif;
}

.input-box input:focus,
.input-box textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 103, 184, 0.15);
    background: var(--white);
}

.input-box textarea {
    height: 130px;
    resize: none;
}

/* Premium Primary Command Action Button */
.submit-btn {
    width: 100%;
    height: 42px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: var(--primary);
    color: var(--white);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.submit-btn i {
    margin-right: 6px;
}

.submit-btn:hover {
    background: var(--primary-deep);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 103, 184, 0.25);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   MAP COMPONENT
   ========================================================================== */

.map-section {
    width: 100%;
    padding: 20px 6% 60px;
    background: var(--white);
}

.map-box {
    width: 100%;
    height: 280px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #faf9f8;
    box-shadow: 0 1.6px 3.6px rgba(0,0,0,0.05);
    animation: fluentSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   RESPONSIVE DESIGN CORRECTIONS
   ========================================================================== */

@media(max-width: 1100px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media(max-width: 768px) {
    .contact-hero {
        padding: 80px 5% 60px;
    }

    .contact-hero h1 {
        font-size: 28px;
    }

    .lucprosoft-title {
        font-size: 32px;
    }

    .tm {
        width: 16px;
        height: 16px;
        font-size: 8px;
        right: -20px;
        top: -4px;
    }

    .contact-left,
    .contact-form {
        padding: 25px 20px;
    }

    .contact-left h2,
    .contact-form h2 {
        font-size: 19px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    /* Strict alignment for single row viewport configuration */
    .social-icons {
        justify-content: space-between;
        gap: 6px;
    }

    .social-icons a {
        width: 36px;
        height: 36px;
    }

    .social-icons a i {
        font-size: 14px;
    }
}