/* New CSS for right-aligning contact form and related elements */

.contact-section {
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.contact-form-wrapper {
  max-width: 600px;
  width: 100%;
  text-align: left;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-form-wrapper h3 {
  text-align: left;
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-size: 2rem;
  color: #000;
}

.contact-form-wrapper form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form-wrapper label {
  display: block;
  text-align: left;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  text-align: left;
  direction: ltr;
  box-sizing: border-box;
}

.contact-form-wrapper textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form-wrapper button {
  align-self: center;
  padding: 0.75rem 2rem;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  max-width: 300px;
  width: 100%;
}

.contact-form-wrapper button:hover {
  background-color: grey;
}

/* Contact info and icons aligned left */
.contact-info {
  max-width: 300px;
  margin-left: 2rem;
  text-align: left;
  font-family: 'Inter', sans-serif;
  color: #000;
}

.contact-info h3 {
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  margin-bottom: 1rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
}

.contact-info li i {
  font-size: 1.5rem;
  color: #000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
    align-items: center;
  }
  .contact-info {
    margin-left: 0;
    margin-top: 2rem;
    text-align: center;
  }
}

/* Animated balls container */
.animation-balls {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* Individual balls */
.ball {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
  background: black !important;
}

.ball1 {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 15%;
  animation-delay: 0s;
}

.ball2 {
  width: 100px;
  height: 100px;
  top: 40%;
  left: 25%;
  animation-delay: 2s;
}

.ball3 {
  width: 60px;
  height: 60px;
  top: 70%;
  left: 10%;
  animation-delay: 4s;
}

.ball4 {
  width: 90px;
  height: 90px;
  top: 20%;
  left: 50%;
  animation-delay: 1s;
}

.ball5 {
  width: 70px;
  height: 70px;
  top: 60%;
  left: 55%;
  animation-delay: 3s;
}

/* Float animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-20px) translateX(15px);
  }
}
