/* =============================================
   Tech Contacts Page Styles
   ============================================= */

/* Map Container - Tech Style */
.tech-map-section {
    position: relative;
    background: transparent;
    padding: 0;
    margin-top: -1px;
}

.tech-map-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
}

.tech-map-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(38, 211, 0, 0.03);
    border: 1px solid rgba(38, 211, 0, 0.2);
}

/* HUD Frame */
.tech-map-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(38, 211, 0, 0.3);
    border-radius: 20px;
    pointer-events: none;
    z-index: 10;
}

/* Corner brackets */
.tech-map-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid #26d300;
    z-index: 15;
    pointer-events: none;
}

.tech-map-corner--tl {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.tech-map-corner--tr {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
}

.tech-map-corner--bl {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
}

.tech-map-corner--br {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

/* Scanning line animation */
.tech-map-scan {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(38, 211, 0, 0.5) 20%,
        #26d300 50%,
        rgba(38, 211, 0, 0.5) 80%,
        transparent
    );
    z-index: 20;
    animation: techMapScan 4s ease-in-out infinite;
    opacity: 0;
    pointer-events: none;
}

@keyframes techMapScan {
    0%, 100% {
        top: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: calc(100% - 3px);
        opacity: 0;
    }
}

/* Grid overlay */
.tech-map-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(38, 211, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(38, 211, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 5;
}

/* Map element */
#map, .tech-map {
    width: 100%;
    height: 450px;
    background: #0a0a0a;
}

/* HUD Info overlay */
.tech-map-hud {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 25;
    pointer-events: none;
}

.tech-map-hud-item {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: rgba(38, 211, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(38, 211, 0, 0.5);
}

.tech-map-hud-item span {
    color: #fff;
}

/* Coordinates display */
.tech-map-coords {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 25;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #26d300;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid rgba(38, 211, 0, 0.3);
}

/* =============================================
   Contact Section - Tech Style
   ============================================= */

.tech-contact-section {
    padding: 100px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.tech-contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    background: linear-gradient(180deg, #26d300, transparent);
}

.tech-contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.tech-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Contact Info Side */
.tech-contact-info {
    position: relative;
}

.tech-contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.tech-contact-title span {
    color: #26d300;
    text-shadow: 0 0 30px rgba(38, 211, 0, 0.3);
}

.tech-contact-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    max-width: 450px;
}

/* Contact Cards */
.tech-contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tech-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.tech-contact-card:hover {
    background: rgba(38, 211, 0, 0.05);
    border-color: rgba(38, 211, 0, 0.2);
    transform: translateX(10px);
}

.tech-contact-card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(38, 211, 0, 0.1);
    border: 1px solid rgba(38, 211, 0, 0.3);
    border-radius: 12px;
    flex-shrink: 0;
}

.tech-contact-card-icon i {
    font-size: 1.3rem;
    color: #26d300;
}

.tech-contact-card-content h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.tech-contact-card-content p {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    line-height: 1.6;
}

.tech-contact-card-content a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tech-contact-card-content a:hover {
    color: #26d300;
}

/* Messenger Buttons */
.tech-messenger-btns {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.tech-messenger-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tech-messenger-btn--whatsapp {
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25D366;
}

.tech-messenger-btn--whatsapp:hover {
    background: rgba(37, 211, 102, 0.25);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
    color: #25D366;
}

.tech-messenger-btn--telegram {
    background: rgba(0, 136, 204, 0.15);
    border: 1px solid rgba(0, 136, 204, 0.3);
    color: #0088cc;
}

.tech-messenger-btn--telegram:hover {
    background: rgba(0, 136, 204, 0.25);
    box-shadow: 0 0 20px rgba(0, 136, 204, 0.3);
    color: #0088cc;
}

/* Legal Info Block */
.tech-legal-block {
    margin-top: 30px;
    padding: 25px;
    background: rgba(38, 211, 0, 0.03);
    border: 1px solid rgba(38, 211, 0, 0.1);
    border-left: 3px solid #26d300;
    border-radius: 0 15px 15px 0;
}

.tech-legal-block h5 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #26d300;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.tech-legal-block p {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.tech-legal-block p:last-child {
    margin-bottom: 0;
}

.tech-legal-block strong {
    color: #fff;
}

.tech-legal-block small {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.tech-legal-divider {
    height: 1px;
    background: rgba(38, 211, 0, 0.2);
    margin: 15px 0;
}

/* =============================================
   Contact Form - Tech Style
   ============================================= */

.tech-contact-form-wrapper {
    position: relative;
}

.tech-contact-form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.tech-contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #26d300, transparent);
}

.tech-form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tech-form-title i {
    color: #26d300;
}

.tech-form-group {
    margin-bottom: 25px;
}

.tech-form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.tech-form-label .required {
    color: #26d300;
}

.tech-form-input,
.tech-form-textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.tech-form-input::placeholder,
.tech-form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.tech-form-input:focus,
.tech-form-textarea:focus {
    outline: none;
    border-color: rgba(38, 211, 0, 0.5);
    background: rgba(38, 211, 0, 0.05);
    box-shadow: 0 0 20px rgba(38, 211, 0, 0.1);
}

.tech-form-textarea {
    min-height: 120px;
    resize: vertical;
}

.tech-form-input.is-invalid,
.tech-form-textarea.is-invalid {
    border-color: rgba(255, 71, 87, 0.5);
}

.tech-form-error {
    color: #ff4757;
    font-size: 0.85rem;
    margin-top: 8px;
}

.tech-form-submit {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #26d300, #1fa300);
    border: none;
    border-radius: 10px;
    color: #000;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.tech-form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(38, 211, 0, 0.4);
}

.tech-form-submit:hover::before {
    left: 100%;
}

/* Success message */
.tech-form-success {
    padding: 20px;
    background: rgba(38, 211, 0, 0.1);
    border: 1px solid rgba(38, 211, 0, 0.3);
    border-radius: 10px;
    color: #26d300;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tech-form-success i {
    font-size: 1.5rem;
}

/* =============================================
   Responsive
   ============================================= */

@media (max-width: 1200px) {
    .tech-contact-container {
        padding: 0 30px;
    }
    
    .tech-map-container {
        padding: 30px;
    }
}

@media (max-width: 991px) {
    .tech-contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .tech-contact-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .tech-contact-section {
        padding: 60px 0;
    }
    
    .tech-contact-container {
        padding: 0 20px;
    }
    
    .tech-map-container {
        padding: 20px;
    }
    
    #map, .tech-map {
        height: 350px;
    }
    
    .tech-contact-title {
        font-size: 1.75rem;
    }
    
    .tech-contact-card {
        padding: 20px;
    }
    
    .tech-contact-form {
        padding: 25px;
    }
    
    .tech-messenger-btns {
        flex-direction: column;
    }
    
    .tech-map-hud {
        display: none;
    }
}

/* Hide default Mapbox controls */
.mapboxgl-ctrl-logo,
.mapboxgl-ctrl-attrib {
    display: none !important;
}

/* Custom marker pulse animation */
.mapboxgl-marker {
    filter: drop-shadow(0 0 10px rgba(38, 211, 0, 0.5));
}

@keyframes markerPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}
