/* Contact Page Styles */
:root {
    --primary-color: #8a2be2; /* Purple */
    --secondary-color: #00ffff; /* Cyan */
    --accent-color: #ff00ff; /* Magenta */
    --dark-bg: #0a0a1a;
    --light-text: #ffffff;
    --card-bg: rgba(20, 20, 40, 0.85);
    --input-bg: rgba(30, 30, 60, 0.6);
    --hover-color: #ff00ff;
    --glow-color: rgba(0, 255, 255, 0.7);
    --grid-color: rgba(138, 43, 226, 0.15);
}

/* Contact Hero Section */
.contact-hero {
    position: relative;
    height: 300px;
    background-image: url('images/neoncontroller2.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 50px;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(10, 10, 26, 0.8), rgba(138, 43, 226, 0.6));
    z-index: 1;
}

.contact-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 2;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 26, 0.5);
    z-index: 3;
}

.contact-hero-content {
    position: relative;
    z-index: 4;
    max-width: 800px;
    padding: 0 20px;
}

.contact-hero-content h1 {
    font-size: 3.5rem;
    color: var(--light-text);
    margin-bottom: 10px;
    text-shadow: 0 0 10px var(--glow-color);
    animation: pulse 3s infinite;
}

.contact-hero-content p {
    font-size: 1.2rem;
    color: var(--secondary-color);
    opacity: 0.9;
}

.contact-hero-content i {
    margin-right: 10px;
    color: var(--secondary-color);
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background-color: var(--dark-bg);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    z-index: 1;
}

/* Contact Info Panel */
.contact-info-panel {
    flex: 1;
    min-width: 300px;
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
    border: 1px solid rgba(138, 43, 226, 0.3);
    transition: all 0.3s ease;
}

.contact-info-panel:hover {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    transform: translateY(-5px);
}

.info-header {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
    padding: 20px;
    text-align: center;
}

.info-header h2 {
    color: var(--light-text);
    font-size: 1.8rem;
    margin: 0;
}

.info-header h2 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.info-content {
    padding: 30px 20px;
}

.info-block {
    display: flex;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.info-block:hover {
    transform: translateX(5px);
}

.info-icon {
    flex: 0 0 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), rgba(0, 255, 255, 0.7));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.info-icon i {
    color: var(--light-text);
    font-size: 1.4rem;
}

.info-details h3 {
    color: var(--secondary-color);
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}

.info-details p {
    color: var(--light-text);
    margin: 5px 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

.info-details p span {
    color: var(--secondary-color);
    font-weight: bold;
}

.social-links {
    padding: 0 20px 20px;
    display: flex;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), rgba(0, 255, 255, 0.7));
    border-radius: 50%;
    color: var(--light-text);
    font-size: 1.4rem;
    margin: 0 10px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.social-link:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.7);
}

/* Contact Form Panel */
.contact-form-panel {
    flex: 1;
    min-width: 300px;
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
    border: 1px solid rgba(138, 43, 226, 0.3);
    transition: all 0.3s ease;
}

.contact-form-panel:hover {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    transform: translateY(-5px);
}

.form-header {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
    padding: 20px;
    text-align: center;
}

.form-header h2 {
    color: var(--light-text);
    font-size: 1.8rem;
    margin: 0;
}

.form-header h2 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

form {
    padding: 30px 20px;
}

.form-group {
    display: flex;
    margin-bottom: 20px;
    position: relative;
}

.form-icon {
    flex: 0 0 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), rgba(0, 255, 255, 0.7));
    border-radius: 25px 0 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-icon i {
    color: var(--light-text);
    font-size: 1.2rem;
}

.form-input {
    flex: 1;
}

.form-input input,
.form-input textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 0 25px 25px 0;
    background-color: var(--input-bg);
    color: var(--light-text);
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-left: none;
}

.form-input input:focus,
.form-input textarea:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    background-color: rgba(40, 40, 80, 0.8);
}

.message-group .form-icon {
    border-radius: 25px 0 0 25px;
    height: auto;
}

.message-group .form-input textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

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

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

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.7);
}

.btn-text {
    margin-right: 10px;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Map Section */
.map-section {
    padding: 60px 0;
    background-color: var(--dark-bg);
    position: relative;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.map-header {
    text-align: center;
    margin-bottom: 30px;
}

.map-header h2 {
    color: var(--light-text);
    font-size: 2rem;
    margin: 0;
    text-shadow: 0 0 10px var(--glow-color);
}

.map-header h2 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
    border: 1px solid rgba(138, 43, 226, 0.3);
    position: relative;
}

.map-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    z-index: 2;
}

.map-caption {
    margin-top: 20px;
    text-align: center;
}

.map-caption p {
    color: var(--light-text);
    font-size: 1rem;
}

.map-caption i {
    color: var(--secondary-color);
    margin-right: 5px;
}

/* Animations */
@keyframes pulse {
    0% {
        text-shadow: 0 0 10px var(--glow-color);
    }
    50% {
        text-shadow: 0 0 20px var(--glow-color), 0 0 30px var(--glow-color);
    }
    100% {
        text-shadow: 0 0 10px var(--glow-color);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .contact-hero {
        height: 250px;
    }
    
    .contact-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .info-block {
        margin-bottom: 20px;
    }
    
    .contact-form-panel {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .contact-hero-content h1 {
        font-size: 2rem;
    }
    
    .contact-hero-content p {
        font-size: 1rem;
    }
    
    .info-icon {
        flex: 0 0 40px;
        height: 40px;
    }
    
    .form-icon {
        flex: 0 0 40px;
    }
}
  