/* Responsive Foundation */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  width: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Futuristic Contact Section */
.futuristic-contact-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  overflow: hidden;
  padding: 100px 0;
  width: 100%;
  box-sizing: border-box;
}

.futuristic-map-section {
  position: relative;
  background: linear-gradient(135deg, #16213e 0%, #1a1a2e 50%, #0a0a0a 100%);
  overflow: hidden;
  padding: 80px 0;
  width: 100%;
  box-sizing: border-box;
}

/* Animated Background */
.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cyber-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cybernet" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12.5" cy="12.5" r="1" fill="%23ff6b6b" opacity="0.4"/><line x1="0" y1="12.5" x2="25" y2="12.5" stroke="%23ff6b6b" stroke-width="0.3" opacity="0.2"/><line x1="12.5" y1="0" x2="12.5" y2="25" stroke="%23ff6b6b" stroke-width="0.3" opacity="0.2"/></pattern></defs><rect width="100%" height="100%" fill="url(%23cybernet)"/></svg>') repeat;
  animation: cyberPulse 5s infinite ease-in-out;
}

@keyframes cyberPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.03); }
}

.floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.floating-particles::before,
.floating-particles::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  border-radius: 50%;
  animation: contactFloat 30s infinite linear;
}

.floating-particles::before {
  top: 30%;
  left: 10%;
  animation-delay: 0s;
}

.floating-particles::after {
  top: 60%;
  left: 80%;
  animation-delay: 15s;
}

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

#contact-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
}

/* 3D Holographic Display */
.holographic-display {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 90vw);
  height: min(900px, 90vw);
  z-index: 1;
}

.hologram-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 107, 107, 0.3);
  border-radius: 50%;
  animation: hologramSpin 22s infinite linear;
}

.hologram-ring-2 {
  width: 120%;
  height: 120%;
  border-color: rgba(78, 205, 196, 0.2);
  animation-duration: 28s;
  animation-direction: reverse;
}

.hologram-ring-3 {
  width: 80%;
  height: 80%;
  border-color: rgba(255, 255, 255, 0.1);
  animation-duration: 18s;
}

@keyframes hologramSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Container */
.container {
  position: relative;
  z-index: 2;
}

/* Messages */
.messages-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.message-alert {
  position: relative;
  background: linear-gradient(45deg, rgba(78, 205, 196, 0.2), rgba(255, 107, 107, 0.2));
  border: 1px solid rgba(78, 205, 196, 0.5);
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 10px;
  color: #fff;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: messageSlide 0.5s ease-out;
}

@keyframes messageSlide {
  0% { transform: translateX(100%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

.message-alert i {
  color: #4ecdc4;
  font-size: 18px;
}

.message-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(45deg, rgba(78, 205, 196, 0.1), rgba(255, 107, 107, 0.1));
  animation: messageGlow 2s infinite ease-in-out;
}

@keyframes messageGlow {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* Futuristic Title */
.title-container {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.map-title-container {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.cyber-title {
  position: relative;
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.glitch-text {
  position: relative;
  color: #fff;
  text-shadow: 
    0 0 5px rgba(255, 107, 107, 0.8),
    0 0 10px rgba(255, 107, 107, 0.6),
    0 0 20px rgba(255, 107, 107, 0.4);
  animation: glitch 2s infinite;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch-text::before {
  animation: glitch-1 0.5s infinite;
  color: #ff6b6b;
  z-index: -1;
}

.glitch-text::after {
  animation: glitch-2 0.5s infinite;
  color: #4ecdc4;
  z-index: -2;
}

@keyframes glitch {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
}

@keyframes glitch-1 {
  0%, 100% { transform: translate(0); }
  10% { transform: translate(-2px, -2px); }
  20% { transform: translate(-2px, 2px); }
  30% { transform: translate(2px, 2px); }
  40% { transform: translate(2px, -2px); }
  50% { transform: translate(-2px, 2px); }
  60% { transform: translate(-2px, -2px); }
  70% { transform: translate(2px, -2px); }
  80% { transform: translate(-2px, -2px); }
  90% { transform: translate(2px, 2px); }
}

@keyframes glitch-2 {
  0%, 100% { transform: translate(0); }
  10% { transform: translate(2px, 2px); }
  20% { transform: translate(2px, -2px); }
  30% { transform: translate(-2px, -2px); }
  40% { transform: translate(-2px, 2px); }
  50% { transform: translate(2px, -2px); }
  60% { transform: translate(2px, 2px); }
  70% { transform: translate(-2px, 2px); }
  80% { transform: translate(2px, 2px); }
  90% { transform: translate(-2px, -2px); }
}

.title-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 107, 107, 0.3), transparent);
  animation: titleGlow 3s infinite ease-in-out;
}

@keyframes titleGlow {
  0%, 100% { opacity: 0; transform: translateX(-100%); }
  50% { opacity: 1; transform: translateX(100%); }
}

.title-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.deco-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff6b6b, transparent);
  animation: lineGlow 2s infinite alternate;
}

@keyframes lineGlow {
  0% { box-shadow: 0 0 5px #ff6b6b; }
  100% { box-shadow: 0 0 20px #ff6b6b, 0 0 30px #ff6b6b; }
}

.deco-diamond {
  width: 12px;
  height: 12px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  transform: rotate(45deg);
  animation: diamondSpin 4s infinite linear;
}

@keyframes diamondSpin {
  0% { transform: rotate(45deg) scale(1); }
  50% { transform: rotate(225deg) scale(1.2); }
  100% { transform: rotate(405deg) scale(1); }
}

/* Contact Container */
.contact-container-3d {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  perspective: 1000px;
}

/* Contact Info */
.contact-info-3d {
  position: relative;
}

.info-card-3d {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.info-card-3d:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 50px rgba(255, 107, 107, 0.3);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.info-card-3d:hover .card-glow,
.form-card-3d:hover .card-glow {
  opacity: 1;
}

.card-hologram {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 107, 107, 0.1), transparent);
  animation: hologramRotate 4s infinite linear;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.info-card-3d:hover .card-hologram,
.form-card-3d:hover .card-hologram {
  opacity: 1;
}

@keyframes hologramRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.info-header {
  margin-bottom: 40px;
}

.info-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.text-gradient {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 3s infinite linear;
}

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

.header-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff6b6b, transparent);
  animation: lineGlow 2s infinite alternate;
}

.contact-item-3d {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.contact-item-3d:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 107, 107, 0.3);
}

.contact-icon-3d {
  position: relative;
  flex-shrink: 0;
}

.icon-orbit {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  border-radius: 50%;
  animation: iconFloat 3s infinite ease-in-out;
}

.icon-orbit::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  border: 2px solid rgba(255, 107, 107, 0.3);
  border-radius: 50%;
  animation: orbitSpin 6s infinite linear;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(180deg); }
}

@keyframes orbitSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.icon-orbit i {
  font-size: 24px;
  color: #fff;
  z-index: 2;
  position: relative;
}

.icon-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.icon-particles::before,
.icon-particles::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 3px;
  background: #ff6b6b;
  border-radius: 50%;
  animation: particleOrbit 4s infinite linear;
}

.icon-particles::before {
  top: 10%;
  left: 50%;
  animation-delay: 0s;
}

.icon-particles::after {
  bottom: 10%;
  right: 50%;
  animation-delay: 2s;
}

@keyframes particleOrbit {
  0% { transform: rotate(0deg) translateX(40px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(40px) rotate(-360deg); }
}

.contact-details-3d {
  flex: 1;
}

.contact-details-3d h4 {
  color: #4ecdc4;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-details-3d p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 16px;
}

/* Contact Form */
.contact-form-3d {
  position: relative;
}

.form-card-3d {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.form-card-3d:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 50px rgba(78, 205, 196, 0.3);
}

.form-header {
  margin-bottom: 40px;
}

.form-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cyber-form {
  position: relative;
  z-index: 2;
}

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

.cyber-label {
  display: block;
  color: #4ecdc4;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cyber-input,
.cyber-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 15px 20px;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.cyber-input:focus,
.cyber-textarea:focus {
  outline: none;
  border-color: #ff6b6b;
  box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

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

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

.input-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.1), transparent);
  opacity: 0;
  animation: inputGlow 3s infinite;
}

.cyber-input:focus + .input-glow,
.cyber-textarea:focus + .input-glow {
  opacity: 1;
}

@keyframes inputGlow {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.cyber-submit-btn {
  position: relative;
  width: 100%;
  background: linear-gradient(45deg, rgba(255, 107, 107, 0.3), rgba(78, 205, 196, 0.3));
  border: 1px solid rgba(255, 107, 107, 0.5);
  border-radius: 15px;
  padding: 18px 40px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cyber-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

.cyber-submit-btn span {
  position: relative;
  z-index: 2;
}

.btn-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.btn-particles::before,
.btn-particles::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  background: #fff;
  border-radius: 50%;
  animation: btnParticles 2s infinite linear;
}

.btn-particles::before {
  top: 30%;
  left: 20%;
  animation-delay: 0s;
}

.btn-particles::after {
  bottom: 30%;
  right: 20%;
  animation-delay: 1s;
}

@keyframes btnParticles {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0); opacity: 0; }
}

.btn-glow {
  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.6s ease;
}

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

/* Circuit Pattern */
.card-circuit {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.3;
}

.circuit-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, #ff6b6b, transparent);
  height: 1px;
  width: 100%;
  top: 25%;
  animation: circuitFlow 4s infinite;
}

.circuit-line-2 {
  top: 75%;
  animation-delay: 2s;
}

.circuit-node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #ff6b6b;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: nodePulse 2s infinite;
}

@keyframes circuitFlow {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes nodePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.5; }
}

/* Map Section */
.map-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.map-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><defs><pattern id="mapgrid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%234ecdc4" stroke-width="0.3" opacity="0.3"/></pattern></defs><rect width="100%" height="100%" fill="url(%23mapgrid)"/></svg>') repeat;
  animation: mapPulse 4s infinite ease-in-out;
}

@keyframes mapPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.map-container-3d {
  position: relative;
  z-index: 2;
  perspective: 1000px;
}

.map-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.6s ease;
}

.map-frame:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.map-scanner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #4ecdc4, transparent);
  animation: mapScan 3s infinite;
  z-index: 10;
}

@keyframes mapScan {
  0% { transform: translateY(0); }
  100% { transform: translateY(450px); }
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(78, 205, 196, 0.1), rgba(255, 107, 107, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.map-frame:hover .map-overlay {
  opacity: 1;
}

.location-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ff6b6b;
  font-size: 32px;
  z-index: 10;
}

.marker-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 2px solid #ff6b6b;
  border-radius: 50%;
  animation: markerPulse 2s infinite;
}

@keyframes markerPulse {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* Floating Tech Elements */
.tech-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.tech-element {
  position: absolute;
  opacity: 0.3;
}

.tech-satellite {
  top: 20%;
  left: 20%;
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation: techFloat 22s infinite linear;
}

.tech-signal {
  top: 70%;
  right: 30%;
  width: 35px;
  height: 35px;
  background: conic-gradient(#4ecdc4, #ff6b6b, #4ecdc4);
  border-radius: 50%;
  animation: techFloat 28s infinite linear reverse;
}

.tech-radar {
  bottom: 30%;
  left: 30%;
  width: 45px;
  height: 45px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: techFloat 24s infinite linear;
}

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

/* Comprehensive Responsive Design */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
  .cyber-title {
    font-size: 4rem;
  }
  
  .contact-container-3d {
    max-width: 1200px;
    gap: 60px;
  }
  
  .info-card-3d,
  .form-card-3d {
    padding: 50px 40px;
  }
  
  .holographic-display {
    width: min(500px, 80vw);
    height: min(500px, 80vw);
  }
  
  .cyber-input,
  .cyber-textarea {
    padding: 20px;
    font-size: 1.1rem;
  }
  
  .cyber-submit-btn {
    padding: 18px 40px;
    font-size: 1.1rem;
  }
  
  .contact-item-3d {
    padding: 25px;
  }
  
  .icon-orbit {
    width: 60px;
    height: 60px;
  }
  
  .icon-orbit i {
    font-size: 24px;
  }
}

/* Medium Desktop (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .cyber-title {
    font-size: 3.5rem;
  }
  
  .contact-container-3d {
    max-width: 1000px;
    gap: 50px;
  }
  
  .info-card-3d,
  .form-card-3d {
    padding: 40px 35px;
  }
  
  .holographic-display {
    width: min(450px, 75vw);
    height: min(450px, 75vw);
  }
  
  .cyber-input,
  .cyber-textarea {
    padding: 18px;
    font-size: 1.05rem;
  }
  
  .cyber-submit-btn {
    padding: 16px 35px;
    font-size: 1.05rem;
  }
  
  .contact-item-3d {
    padding: 22px;
  }
  
  .icon-orbit {
    width: 55px;
    height: 55px;
  }
  
  .icon-orbit i {
    font-size: 22px;
  }
}

/* Small Desktop/Large Tablet (768px to 991px) */
@media (max-width: 991px) and (min-width: 768px) {
  .cyber-title {
    font-size: 3rem;
  }
  
  .contact-container-3d {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 700px;
  }
  
  .info-card-3d,
  .form-card-3d {
    padding: 35px 30px;
  }
  
  .holographic-display {
    width: min(400px, 70vw);
    height: min(400px, 70vw);
  }
  
  .cyber-input,
  .cyber-textarea {
    padding: 16px;
    font-size: 1rem;
  }
  
  .cyber-submit-btn {
    padding: 14px 30px;
    font-size: 1rem;
  }
  
  .contact-item-3d {
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .icon-orbit {
    width: 50px;
    height: 50px;
  }
  
  .icon-orbit i {
    font-size: 20px;
  }
  
  .form-title,
  .info-title {
    font-size: 24px;
  }
}

/* Mobile Large (576px to 767px) */
@media (max-width: 767px) and (min-width: 576px) {
  .futuristic-contact-section,
  .futuristic-map-section {
    padding: 80px 0;
  }
  
  .cyber-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    letter-spacing: 2px;
  }
  
  .contact-container-3d {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }
  
  .info-card-3d,
  .form-card-3d {
    padding: 30px 25px;
    border-radius: 15px;
  }
  
  .holographic-display {
    width: min(350px, 65vw);
    height: min(350px, 65vw);
  }
  
  .cyber-input,
  .cyber-textarea {
    padding: 14px;
    font-size: 0.95rem;
  }
  
  .cyber-submit-btn {
    padding: 12px 25px;
    font-size: 0.95rem;
  }
  
  .contact-item-3d {
    padding: 15px;
    margin-bottom: 15px;
  }
  
  .icon-orbit {
    width: 45px;
    height: 45px;
  }
  
  .icon-orbit i {
    font-size: 18px;
  }
  
  .form-title,
  .info-title {
    font-size: 22px;
  }
  
  .messages-container {
    left: 15px;
    right: 15px;
    top: 10px;
  }
  
  .cyber-grid {
    background-size: 20px 20px;
  }
  
  .map-frame {
    border-radius: 15px;
  }
}

/* Mobile Medium (400px to 575px) */
@media (max-width: 575px) and (min-width: 400px) {
  .futuristic-contact-section,
  .futuristic-map-section {
    padding: 60px 0;
  }
  
  .cyber-title {
    font-size: 2rem;
    margin-bottom: 30px;
    letter-spacing: 1px;
  }
  
  .contact-container-3d {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 15px;
  }
  
  .info-card-3d,
  .form-card-3d {
    padding: 25px 20px;
    border-radius: 12px;
  }
  
  .holographic-display {
    width: min(300px, 60vw);
    height: min(300px, 60vw);
  }
  
  .cyber-input,
  .cyber-textarea {
    padding: 12px;
    font-size: 0.9rem;
  }
  
  .cyber-submit-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .contact-item-3d {
    padding: 12px;
    margin-bottom: 12px;
  }
  
  .icon-orbit {
    width: 40px;
    height: 40px;
  }
  
  .icon-orbit i {
    font-size: 16px;
  }
  
  .form-title,
  .info-title {
    font-size: 20px;
  }
  
  .contact-details-3d h4 {
    font-size: 16px;
  }
  
  .contact-details-3d p {
    font-size: 14px;
  }
  
  .messages-container {
    left: 10px;
    right: 10px;
    top: 10px;
  }
  
  .cyber-grid {
    background-size: 15px 15px;
  }
  
  .map-frame {
    border-radius: 12px;
  }
}

/* Mobile Small (below 400px) */
@media (max-width: 399px) {
  .futuristic-contact-section,
  .futuristic-map-section {
    padding: 40px 0;
  }
  
  .cyber-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
  }
  
  .contact-container-3d {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }
  
  .info-card-3d,
  .form-card-3d {
    padding: 20px 15px;
    border-radius: 10px;
  }
  
  .holographic-display {
    width: min(250px, 55vw);
    height: min(250px, 55vw);
  }
  
  .cyber-input,
  .cyber-textarea {
    padding: 10px;
    font-size: 0.85rem;
  }
  
  .cyber-submit-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  
  .contact-item-3d {
    padding: 10px;
    margin-bottom: 10px;
  }
  
  .icon-orbit {
    width: 35px;
    height: 35px;
  }
  
  .icon-orbit i {
    font-size: 14px;
  }
  
  .form-title,
  .info-title {
    font-size: 18px;
  }
  
  .contact-details-3d h4 {
    font-size: 14px;
  }
  
  .contact-details-3d p {
    font-size: 12px;
  }
  
  .messages-container {
    left: 8px;
    right: 8px;
    top: 8px;
  }
  
  .cyber-grid {
    background-size: 12px 12px;
  }
  
  .map-frame {
    border-radius: 10px;
  }
  
  .title-decoration {
    gap: 15px;
  }
  
  .deco-line {
    width: 60px;
  }
}

/* Landscape Mobile Optimization */
@media (max-height: 500px) and (orientation: landscape) {
  .futuristic-contact-section,
  .futuristic-map-section {
    padding: 30px 0;
  }
  
  .cyber-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .contact-container-3d {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
  }
  
  .info-card-3d,
  .form-card-3d {
    padding: 20px;
  }
  
  .holographic-display {
    width: min(200px, 30vw);
    height: min(200px, 30vw);
  }
  
  .contact-item-3d {
    padding: 8px;
    margin-bottom: 8px;
  }
  
  .cyber-input,
  .cyber-textarea {
    padding: 8px;
    font-size: 0.85rem;
  }
  
  .cyber-submit-btn {
    padding: 6px 14px;
    font-size: 0.85rem;
  }
  
  .form-title,
  .info-title {
    font-size: 16px;
  }
  
  .icon-orbit {
    width: 30px;
    height: 30px;
  }
  
  .icon-orbit i {
    font-size: 12px;
  }
}

/* Ultra-wide screen optimization */
@media (min-width: 1400px) {
  .contact-container-3d {
    max-width: 1400px;
    gap: 80px;
  }
  
  .cyber-title {
    font-size: 4.5rem;
  }
  
  .holographic-display {
    width: min(600px, 40vw);
    height: min(600px, 40vw);
  }
  
  .info-card-3d,
  .form-card-3d {
    padding: 60px 50px;
  }
  
  .contact-item-3d {
    padding: 30px;
  }
  
  .icon-orbit {
    width: 70px;
    height: 70px;
  }
  
  .icon-orbit i {
    font-size: 28px;
  }
  
  .form-title,
  .info-title {
    font-size: 32px;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 2dppx) {
  .cyber-grid {
    background-size: 50px 50px;
  }
  
  .holographic-display {
    border-width: 2px;
  }
  
  .info-card-3d,
  .form-card-3d {
    border-width: 2px;
  }
  
  .map-grid {
    background-size: 20px 20px;
  }
  
  .contact-item-3d {
    border-width: 2px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .cyber-submit-btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .cyber-input,
  .cyber-textarea {
    min-height: 44px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .contact-item-3d {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .info-card-3d:hover,
  .form-card-3d:hover {
    transform: translateY(-5px);
  }
  
  .cyber-submit-btn:hover {
    transform: translateY(-2px);
  }
  
  .contact-item-3d:hover {
    transform: translateX(5px);
  }
  
  .icon-orbit {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Improved contrast and readability */
@media (prefers-contrast: high) {
  .cyber-title {
    color: #ffffff;
    text-shadow: 
      0 0 10px rgba(255, 255, 255, 0.8),
      0 0 20px rgba(255, 255, 255, 0.6);
  }
  
  .info-card-3d,
  .form-card-3d {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
  }
  
  .cyber-input,
  .cyber-textarea {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
  }
  
  .cyber-submit-btn {
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.8), rgba(78, 205, 196, 0.8));
    border-color: rgba(255, 107, 107, 0.8);
  }
  
  .contact-details-3d p {
    color: rgba(255, 255, 255, 0.9);
  }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .cyber-grid {
    animation: none;
  }
  
  .floating-particles::before,
  .floating-particles::after {
    animation: none;
  }
  
  .holographic-display {
    animation: none;
  }
  
  .hologram-ring {
    animation: none;
  }
  
  .hologram-ring-2 {
    animation: none;
  }
  
  .hologram-ring-3 {
    animation: none;
  }
  
  .cyber-submit-btn {
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .info-card-3d:hover,
  .form-card-3d:hover {
    transform: none;
  }
  
  .contact-item-3d:hover {
    transform: none;
  }
  
  .icon-orbit {
    animation: none;
  }
  
  .icon-orbit::before {
    animation: none;
  }
  
  .icon-particles::before,
  .icon-particles::after {
    animation: none;
  }
  
  .map-scanner {
    animation: none;
  }
  
  .tech-satellite,
  .tech-signal,
  .tech-radar {
    animation: none;
  }
}

/* Print Styles */
@media print {
  .futuristic-contact-section,
  .futuristic-map-section {
    background: white !important;
    color: black !important;
    padding: 20px 0;
  }
  
  .cyber-grid,
  .floating-particles,
  .holographic-display,
  .map-grid,
  .tech-elements {
    display: none !important;
  }
  
  .info-card-3d,
  .form-card-3d {
    border: 1px solid black !important;
    box-shadow: none !important;
    background: white !important;
    color: black !important;
    break-inside: avoid;
  }
  
  .cyber-title {
    color: black !important;
    text-shadow: none !important;
  }
  
  .contact-item-3d {
    border: 1px solid black !important;
    background: white !important;
    color: black !important;
    margin-bottom: 10px;
  }
  
  .cyber-input,
  .cyber-textarea {
    border: 1px solid black !important;
    background: white !important;
    color: black !important;
  }
  
  .cyber-submit-btn {
    border: 1px solid black !important;
    background: white !important;
    color: black !important;
  }
  
  .contact-details-3d h4 {
    color: black !important;
  }
  
  .contact-details-3d p {
    color: black !important;
  }
}

/* Container scaling for better mobile experience */
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }
  
  .contact-container-3d {
    padding: 0 5px;
  }
  
  .cyber-textarea {
    min-height: 100px;
  }
  
  .title-container {
    margin-bottom: 40px;
  }
  
  .map-title-container {
    margin-bottom: 30px;
  }
  
  .deco-diamond {
    width: 10px;
    height: 10px;
  }
  
  .deco-line {
    width: 50px;
    height: 1px;
  }
}

/* Improved spacing for very small screens */
@media (max-width: 320px) {
  .cyber-title {
    font-size: 1.5rem;
  }
  
  .contact-container-3d {
    gap: 15px;
  }
  
  .info-card-3d,
  .form-card-3d {
    padding: 15px 10px;
  }
  
  .contact-item-3d {
    padding: 8px;
    margin-bottom: 8px;
  }
  
  .icon-orbit {
    width: 30px;
    height: 30px;
  }
  
  .icon-orbit i {
    font-size: 12px;
  }
  
  .form-title,
  .info-title {
    font-size: 16px;
  }
  
  .cyber-input,
  .cyber-textarea {
    padding: 8px;
    font-size: 0.8rem;
  }
  
  .cyber-submit-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  
  .holographic-display {
    width: min(200px, 90vw);
    height: min(200px, 90vw);
  }
}

/* Intersection Observer Animation */
.contact-container-3d {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.contact-container-3d.animate {
  opacity: 1;
  transform: translateY(0);
}

.info-card-3d,
.form-card-3d {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.info-card-3d.animate,
.form-card-3d.animate {
  opacity: 1;
  transform: translateY(0);
}

.info-card-3d {
  transition-delay: 0.1s;
}

.form-card-3d {
  transition-delay: 0.2s;
}
