/* Cyber Contact Section - Complete Rewrite */
.contact-cyber-wrapper {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 2rem 0;
    flex-wrap: wrap;
}

/* Common Card Styles */
.cyber-card-separate {
    background: rgba(10, 10, 25, 0.6);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    position: relative;
    transition: transform 0.1s ease;
    flex: 1;
    min-width: 300px;
}

.cyber-card-separate::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(45deg, transparent, var(--primary-color, #00f3ff), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    pointer-events: none;
}

/* Cyber Corners - REMOVED */

/* Left Side: Info Card */
.cyber-info-card {
    max-width: 400px;
}

.cyber-form-card {
    max-width: 600px;
}

/* Left Side: Info Content */
.cyber-contact-info {
    padding: 3rem;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Tech Background Map */
.cyber-map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cyber-contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}


.cyber-detail-item:hover {
    background: rgba(0, 243, 255, 0.05);
    border-color: rgba(0, 243, 255, 0.2);
    transform: translateX(10px);
    box-shadow: -5px 0 10px -5px var(--primary-color, #00f3ff);
}

.cyber-detail-item i {
    color: var(--primary-color, #00f3ff);
    font-size: 1.2rem;
    text-shadow: 0 0 5px var(--primary-color, #00f3ff);
    transition: transform 0.3s ease;
}

.cyber-detail-item:hover i {
    transform: scale(1.2);
    text-shadow: 0 0 15px var(--primary-color, #00f3ff);
}

/* Social Hexagons */
.cyber-socials {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.cyber-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.cyber-social-link:hover {
    background: var(--primary-color, #00f3ff);
    color: #000;
    box-shadow: 0 0 15px var(--primary-color, #00f3ff);
    transform: translateY(-5px);
}

/* Resume Button - Hyper Advanced */
.cyber-resume-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    background: rgba(0, 0, 0, 0.6);
    color: var(--primary-color, #00f3ff);
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    border: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
    z-index: 1;
}

.cyber-resume-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, transparent, transparent, var(--primary-color, #00f3ff));
    animation: rotateBorder 4s linear infinite;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cyber-resume-btn:hover::before {
    opacity: 1;
}

.cyber-resume-btn::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: rgba(10, 10, 25, 0.95);
    clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
    z-index: -1;
}

.cyber-resume-btn:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--primary-color, #00f3ff);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.4);
    transform: translateY(-2px);
    border-color: transparent;
}

.cyber-resume-btn i {
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cyber-resume-btn:hover i {
    transform: translateY(-3px) scale(1.2);
    color: #fff;
    filter: drop-shadow(0 0 5px var(--primary-color, #00f3ff));
}

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Right Side: Form Content */
.cyber-contact-form {
    padding: 3rem;
    position: relative;
    height: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.cyber-input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cyber-input:focus {
    outline: none;
    background: rgba(0, 243, 255, 0.08);
    border-color: var(--primary-color, #00f3ff);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.cyber-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Submit Button - Hyper Advanced */
.cyber-submit-btn {
    position: relative;
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.6);
    color: var(--primary-color, #00f3ff);
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 1;
}

.cyber-submit-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, transparent, transparent, var(--primary-color, #00f3ff));
    animation: rotateBorder 4s linear infinite;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cyber-submit-btn:hover::before {
    opacity: 1;
}

.cyber-submit-btn::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: rgba(10, 10, 25, 0.95);
    clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
    z-index: -1;
}

.cyber-submit-btn:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--primary-color, #00f3ff);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.4);
    transform: translateY(-2px);
    border-color: transparent;
}

.cyber-submit-btn i {
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cyber-submit-btn:hover i {
    transform: translateX(5px) scale(1.2);
    color: #fff;
    filter: drop-shadow(0 0 5px var(--primary-color, #00f3ff));
}

/* Responsive */
@media (max-width: 768px) {
    .contact-cyber-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .cyber-card-separate {
        width: 100%;
        max-width: 100%;
    }

    .cyber-contact-info,
    .cyber-contact-form {
        padding: 2rem;
    }
}

/* --- Advanced Components --- */

/* 1. Holographic Globe */
.holo-globe {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid rgba(0, 243, 255, 0.2);
    transform-style: preserve-3d;
    animation: rotateGlobe 20s linear infinite;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

.holo-globe::before,
.holo-globe::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.holo-globe::before {
    transform: rotateX(60deg);
}

.holo-globe::after {
    transform: rotateY(60deg);
}

@keyframes rotateGlobe {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

/* 2. Data Stream Background */
.data-stream {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 243, 255, 0.1) 50%, transparent 100%);
    background-size: 100% 200%;
    animation: dataFall 3s linear infinite;
    z-index: 0;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, transparent, black, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black, transparent);
}

@keyframes dataFall {
    0% {
        background-position: 0% -100%;
    }

}

.scan-bar {
    position: absolute;
    bottom: 0;
}