/* Contact section background and unique effects */
#contact.section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(180deg, 
                rgba(10,15,25,0.7) 0%, 
                rgba(15,20,35,0.85) 50%, 
                rgba(10,15,25,0.7) 100%);
    z-index: 1;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.4) inset,
        0 -20px 40px rgba(0,0,0,0.4) inset;
    border-top: 1px solid rgba(0, 234, 255, 0.15);
    border-bottom: 1px solid rgba(0, 234, 255, 0.15);
    overflow: hidden;
}

/* Create geometric pattern background */
#contact.section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 90%, rgba(0, 234, 255, 0.1) 92%, transparent 95%),
        linear-gradient(-45deg, transparent 90%, rgba(0, 255, 136, 0.1) 92%, transparent 95%),
        radial-gradient(circle at 20% 30%, rgba(0, 234, 255, 0.2) 0%, rgba(0, 0, 0, 0) 35%),
        radial-gradient(circle at 80% 60%, rgba(0, 255, 136, 0.15) 0%, rgba(0, 0, 0, 0) 35%);
    background-size: 60px 60px, 60px 60px, 100% 100%, 100% 100%;
    opacity: 0.5;
    z-index: -1;
    animation: backgroundShift 40s linear infinite;
}

/* Add animated floating particles */
#contact.section:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 2%),
        radial-gradient(circle at 30% 80%, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 2%),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 2%),
        radial-gradient(circle at 70% 20%, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 2%),
        radial-gradient(circle at 90% 60%, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 2%),
        linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0, 234, 255, 0.3) 50%, rgba(0,0,0,0) 100%);
    background-size: 300px 300px, 400px 400px, 200px 200px, 350px 350px, 250px 250px, 100% 1px;
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 100%;
    background-repeat: repeat;
    z-index: -2;
    animation: particlesMove 60s linear infinite;
    opacity: 0.7;
}

/* Add a top border with glowing effect */
#contact.section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
                rgba(0,0,0,0) 0%, 
                rgba(0, 234, 255, 0.4) 50%, 
                rgba(0,0,0,0) 100%);
    box-shadow: 0 0 15px rgba(0, 234, 255, 0.5);
    z-index: 0;
}

/* Add another decorative element - diagonal stripes */
#contact .contact-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(0, 234, 255, 0.02),
        rgba(0, 234, 255, 0.02) 10px,
        rgba(0, 255, 136, 0.02) 10px,
        rgba(0, 255, 136, 0.02) 20px
    );
    z-index: -3;
}

/* Dynamic floating particles */
.contact-particles-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -2;
}

.contact-particle {
    position: absolute;
    background: radial-gradient(
        circle at center,
        rgba(0, 234, 255, 0.2) 0%,
        rgba(0, 234, 255, 0) 70%
    );
    border-radius: 50%;
    opacity: 0.08;
    z-index: -2;
    pointer-events: none;
    transform-origin: center;
    animation: floatParticle 30s linear infinite;
    transition: transform 0.3s ease;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(90deg);
    }
    50% {
        transform: translateY(-10px) translateX(20px) rotate(180deg);
    }
    75% {
        transform: translateY(20px) translateX(-10px) rotate(270deg);
    }
    100% {
        transform: translateY(0) translateX(0) rotate(360deg);
    }
}

/* Add additional visual elements to contact section */
#contact.section {
    position: relative;
}

/* Add flowing lines effect */
.contact-flow-lines {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 5px,
        rgba(0, 234, 255, 0.02) 5px,
        rgba(0, 234, 255, 0.02) 6px
    );
    opacity: 0.5;
    z-index: -1;
}

/* Add 3D depth elements to the contact background */
.enquiry-section {
    position: relative;
    z-index: 3; /* Above background elements */
}

#contact:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 15%;
    width: 30%;
    height: 60%;
    background: linear-gradient(135deg, 
        rgba(0, 234, 255, 0.05) 0%, 
        rgba(0, 255, 136, 0.02) 100%);
    filter: blur(50px);
    border-radius: 50%;
    transform: translateY(-50%) rotate(-20deg);
    z-index: -4;
    opacity: 0.6;
}

#contact:after {
    content: '';
    position: absolute;
    top: 40%;
    right: 10%;
    width: 25%;
    height: 40%;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 234, 255, 0.08) 0%,
        rgba(0, 255, 136, 0.03) 60%,
        transparent 100%
    );
    filter: blur(30px);
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: -4;
    opacity: 0.6;
}

@keyframes backgroundShift {
    0% { background-position: 0 0, 0 0, 0% 0%, 100% 100%; }
    100% { background-position: 60px 60px, -60px -60px, 100% 100%, 0% 0%; }
}

@keyframes particlesMove {
    0% { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 100%; }
    100% { background-position: 300px 300px, -400px 400px, 200px -200px, -350px 350px, 250px -250px, 0 100%; }
}

@media (max-width: 768px) {
    /* Only keep unique contact section responsive rules here */
}

@media (max-width: 480px) {
    /* Only keep unique contact section responsive rules here */
}
