/* ===== CONTACT PAGE SPECIFIC STYLES ===== */
.contact-matrix {
    background: #0a192f;
    min-height: 100vh;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.matrix-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(100, 255, 218, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 255, 218, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
    opacity: 0.5;
}

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

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-title {
    font-size: 3.5rem;
    color: #64ffda;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
    position: relative;
    display: inline-block;
}

.contact-title::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #64ffda, transparent);
    bottom: -10px;
    left: 0;
    box-shadow: 0 0 15px #64ffda;
}

.contact-subtitle {
    color: #ccd6f6;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* Contact Form */
.cyber-form-container {
    background: rgba(17, 34, 64, 0.7);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 10px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.cyber-form-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        transparent 45%,
        rgba(100, 255, 218, 0.1) 50%,
        transparent 55%
    );
    transform: rotate(30deg);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(30deg); }
    100% { transform: translateX(100%) rotate(30deg); }
}

.cyber-form-group {
    margin-bottom: 25px;
    position: relative;
}

.cyber-form-label {
    display: block;
    color: #64ffda;
    margin-bottom: 8px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.cyber-form-input {
    width: 100%;
    background: rgba(13, 27, 42, 0.8);
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 5px;
    padding: 12px 15px;
    color: #e6f1ff;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.cyber-form-input:focus {
    outline: none;
    border-color: #64ffda;
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
}

.cyber-form-textarea {
    min-height: 150px;
    resize: vertical;
}

.cyber-form-submit {
    background: linear-gradient(45deg, #64ffda, #2dd4bf);
    color: #0a192f;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cyber-form-submit::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;
}

.cyber-form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(100, 255, 218, 0.3);
}

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

/* Contact Info */
.cyber-info-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cyber-info-card {
    background: rgba(17, 34, 64, 0.7);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 10px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cyber-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.2);
    border-color: rgba(100, 255, 218, 0.5);
}

.cyber-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(to bottom, #64ffda, #2dd4bf);
    transition: height 0.3s ease;
}

.cyber-info-card:hover::before {
    height: 100%;
}

.cyber-info-icon {
    font-size: 2rem;
    color: #64ffda;
    margin-bottom: 15px;
}

.cyber-info-title {
    color: #64ffda;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.cyber-info-text {
    color: #ccd6f6;
    line-height: 1.6;
}

.cyber-info-link {
    color: #64ffda;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 10px;
}

.cyber-info-link:hover {
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.7);
}

/* Map Section */
.cyber-map-container {
    margin-top: 60px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(100, 255, 218, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cyber-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(10, 25, 47, 0.8) 0%,
        transparent 50%,
        rgba(10, 25, 47, 0.8) 100%
    );
    pointer-events: none;
}

/* Floating Particles */
.contact-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(100, 255, 218, 0.3);
    filter: blur(2px);
    animation: float 15s infinite linear;
    z-index: 1;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(50px, 50px) rotate(90deg); }
    50% { transform: translate(100px, 0) rotate(180deg); }
    75% { transform: translate(50px, -50px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-title {
        font-size: 2.5rem;
    }
    
    .contact-subtitle {
        font-size: 1rem;
    }
    
    .cyber-form-container,
    .cyber-info-card {
        padding: 25px;
    }
}

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



/* Thank You Modal Styles */
.cyber-thank-you-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cyber-thank-you-modal.active {
    opacity: 1;
    visibility: visible;
}

.cyber-modal-content {
    background: rgba(17, 34, 64, 0.9);
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.cyber-thank-you-modal.active .cyber-modal-content {
    transform: translateY(0);
}

.cyber-modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.cyber-modal-icon {
    font-size: 5rem;
    color: #64ffda;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(100, 255, 218, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.cyber-modal-title {
    color: #64ffda;
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cyber-modal-body {
    color: #ccd6f6;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

.cyber-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(100, 255, 218, 0.2);
    border-radius: 2px;
    margin: 20px 0;
    overflow: hidden;
}

.cyber-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #64ffda, #2dd4bf);
    border-radius: 2px;
    transition: width 5s linear;
}

.cyber-countdown {
    color: #64ffda;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 15px;
}

.cyber-modal-footer {
    text-align: center;
}

.cyber-modal-close {
    background: linear-gradient(45deg, #64ffda, #2dd4bf);
    color: #0a192f;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cyber-modal-close:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}

.cyber-modal-close::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;
}

.cyber-modal-close:hover::before {
    left: 100%;
}

.cyber-modal-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cyber-modal-particles .particle {
    position: absolute;
    background: rgba(100, 255, 218, 0.5);
    border-radius: 50%;
    filter: blur(1px);
    animation: float-particle 15s infinite linear;
}

@keyframes float-particle {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(50px, 50px) rotate(90deg); }
    50% { transform: translate(100px, 0) rotate(180deg); }
    75% { transform: translate(50px, -50px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .cyber-modal-content {
        padding: 20px;
    }
    
    .cyber-modal-icon {
        font-size: 4rem;
    }
    
    .cyber-modal-title {
        font-size: 1.5rem;
    }
}