/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: black;
  line-height: 1.6;
  overflow-x: hidden;

  /* AI Gradient Background */
  background: linear-gradient(120deg, #00f7ff, #0077ff, #ff00ff, #00ff99, #00f7ff);
  background-size: 400% 400%;
  animation: aiGradient 15s ease infinite;
}

/* AI Gradient Animation */
@keyframes aiGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Contact Section */
.contact-section {
  text-align: center;
  padding: 50px 20px;
  animation: fadeIn 1.5s ease-in-out;
}

.contact-section h1 {
  font-size: 3rem;
  text-shadow: 0 0 10px cyan, 0 0 20px blue;
  color: white; /* More visible on gradient */
}

.contact-section .intro {
  max-width: 600px;
  margin: 15px auto;
  opacity: 0.9;
  color: white;
}

/* Contact Info */
.contact-info {
  margin-top: 30px;
  padding: 20px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transform: perspective(800px) rotateY(5deg);
  transition: transform 0.6s ease;
  color: white;
}

.contact-info:hover {
  transform: perspective(800px) rotateY(0deg) scale(1.02);
}

/* Form */
.contact-form {
  margin-top: 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transform: perspective(800px) rotateX(3deg);
  transition: transform 0.6s ease;
  color: white;
}

.contact-form:hover {
  transform: perspective(800px) rotateX(0deg) scale(1.02);
}

.contact-form label {
  display: block;
  text-align: left;
  margin-top: 15px;
  font-weight: bold;
  color: white;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 1rem;
  outline: none;
  transition: background 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(255,255,255,0.3);
}

/* Button Glow Effect */
.submit-btn {
  margin-top: 20px;
  padding: 12px 25px;
  background: linear-gradient(90deg, cyan, blue);
  border: none;
  color: white;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 15px cyan;
  transition: all 0.4s ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.submit-btn:hover {
  box-shadow: 0 0 25px cyan, 0 0 50px blue;
  transform: scale(1.05);
}

.submit-btn:active {
  background: linear-gradient(90deg, lime, green);
  box-shadow: 0 0 20px lime, 0 0 40px green;
}

.submit-btn:active .btn-text {
  display: none;
}

.submit-btn:active .btn-check {
  display: inline;
  animation: pulseGlow 1.2s infinite alternate;
}

.btn-check {
  display: none;
}

@keyframes pulseGlow {
  from {
    text-shadow: 0 0 10px lime, 0 0 20px green;
    transform: scale(1);
  }
  to {
    text-shadow: 0 0 20px lime, 0 0 40px green;
    transform: scale(1.2);
  }
}

/* Footer */
.social-footer {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255,255,255,0.1);
}

.social-icons {
  margin: 15px 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.4s, box-shadow 0.4s;
}

.social-icons img:hover {
  transform: rotate(360deg) scale(1.2);
  box-shadow: 0 0 20px cyan, 0 0 40px blue;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
