/* ---------- Container Setup ---------- */
.containerr {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  min-height: 100vh;
  overflow-x: hidden;
  background: #000;
  color: white;
}

/* ---------- Left Side ---------- */
.left-side {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.left-side img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow:
    0 0 25px rgba(0, 255, 255, 0.5),
    0 0 50px rgba(0, 255, 255, 0.4),
    0 0 80px rgba(0, 255, 255, 0.3);
  animation: glowGif 1s ease-in-out infinite alternate;
}

@keyframes glowGif {
  from {
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5),
                0 0 50px rgba(0, 255, 255, 0.4),
                0 0 80px rgba(0, 255, 255, 0.3);
  }
  to {
    box-shadow: 0 0 35px rgba(0, 255, 255, 0.8),
                0 0 70px rgba(0, 255, 255, 0.6),
                0 0 100px rgba(0, 255, 255, 0.4);
  }
}

.info {
  margin-top: 20px;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.info i {
  margin-right: 10px;
  color: #00e5ff;
}

/* ---------- Right Side ---------- */
.right-side {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* ---------- Orbit + Earth + Moon ---------- */
.orbit-wrapper {
  position: relative;
  width: 80vw;
  height: 80vw;
  max-width: 400px;
  max-height: 400px;
}

.earth {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: url('../earthimg.jpg') no-repeat center/cover;
  border-radius: 50%;
  box-shadow: 0 0 30px #0cf9, 0 0 60px #0cf7, 0 0 90px #0cf5;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  z-index: 2;
}

/*.earth h2 {
  margin-bottom: 10px;
  text-shadow: 0 0 10px #000;
}*/
.earth h2 {
margin-bottom: 20px;
  font-size: 28px;
  color: #fff;
  -webkit-text-stroke: 1px #00f0ff;
  text-shadow:
    0 0 5px #00e5ff,
    0 0 10px #00e5ff,
    0 0 20px #00e5ff;
}

.earth input,
.earth textarea {
  width: 90%;
  padding: 8px;
  margin: 5px 0;
  border: none;
  border-radius: 8px;
  outline: none;
  resize: none;
  font-family: 'Segoe UI', sans-serif;
}

.earth button {
  margin-top: 10px;
  padding: 8px 16px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.earth button:hover {
  background: #00f0ff;
  letter-spacing: 1px;
}

/* ---------- Moon Orbit on Top ---------- */
.moon-orbit-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  animation: rotateOrbit 10s linear infinite;
  transform-origin: center center;
  z-index: 5;
  pointer-events: none;
}

.moonn {
  width: 60px;
  height: 60px;
  background-image: url('../full_moon_day.jpg');
  background-size: 1000px 100%;
  background-repeat: repeat-x;
  animation: moveTexture 8s linear infinite;
  border-radius: 50%;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px white;
  z-index: 6;
  pointer-events: none;
}

@keyframes rotateOrbit {
  0%   { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes moveTexture {
  0%   { background-position: 0 0; }
  100% { background-position: -700px 0; }
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
  }

  .left-side,
  .right-side {
    width: 100%;
  }

  .orbit-wrapper {
    width: 90vw;
    height: 90vw;
  }

  .moonn {
    width: 40px;
    height: 40px;
    top: -20px;
  }

  .earth input,
  .earth textarea {
    font-size: 14px;
  }
}




 .alert, .success {
      margin-top: 10px;
      padding: 10px;
      background-color: #ff3e3e;
      border-radius: 6px;
      color: white;
      font-weight: bold;
      animation: fadeIn 0.5s ease-in-out;
    }

    .success {
      background-color: #4caf50;
    }



    /* ---------- Hover Shadow for Inputs ---------- */
.earth input:hover,
.earth textarea:hover {
  box-shadow: 0 0 10px #00e5ff, 0 0 20px #00e5ff;
  transition: 0.3s ease-in-out;
}

/* ---------- Contact Heading Stroke Animation ---------- */
.earth h2 {
  margin-bottom: 20px;
  font-size: 28px;
  color: #fff;
  -webkit-text-stroke: 1px #00f0ff;
  text-shadow:
    0 0 5px #00e5ff,
    0 0 10px #00e5ff,
    0 0 20px #00e5ff,
    0 0 40px #0ff;
  animation: headingGlow 2s infinite alternate;
}

@keyframes headingGlow {
  0% {
    text-shadow:
      0 0 5px #00e5ff,
      0 0 10px #00e5ff,
      0 0 20px #00e5ff;
  }
  100% {
    text-shadow:
      0 0 10px #00f0ff,
      0 0 20px #00e5ff,
      0 0 30px #00e5ff;
  }
}

/* ---------- Button Active Glow ---------- */
.earth button:active {
  box-shadow: 0 0 15px #ffcc00, 0 0 30px #ffcc00;
  transform: scale(0.98);
}









