/* =====================================================
   CONTACT PAGE (Neuro Solutions - Main Website)
   Final Premium Edition — 4-Color Theme
===================================================== */
:root {
  --blue: #4285F4;
  --red: #EA4335;
  --green: #34A853;
  --yellow: #FBBC05;
  --dark: #0f172a;
  --gray: #64748b;
  --light: #f9fafb;
  --white: #ffffff;
}

/* =====================================================
   BASE
===================================================== */
body {
  font-family: 'Poppins', sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* =====================================================
   HERO SECTION
===================================================== */
.hero {
  padding: 140px 20px 100px;
  /* background: linear-gradient(135deg, var(--blue), var(--red), var(--green), var(--yellow)); */
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
  color: var(--gray);
  text-align: center;
  border-bottom-left-radius: 70px;
  border-bottom-right-radius: 70px;
  /* box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2); */
  position: relative;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.hero p {
  font-size: 1.15rem;
  max-width: 750px;
  margin: 0 auto;
  opacity: 0.95;
  font-weight: 400;
}

/* =====================================================
   CONTACT SECTION
===================================================== */
.contact-section {
  max-width: 1200px;
  margin: 10px auto;
  padding: 0 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
}

/* Contact Info Card */
.contact-info {
  /* flex: 1 1 420px; */
  /* background: rgba(255, 255, 255, 0.7); */
  /* backdrop-filter: blur(15px); */
  /* border-radius: 24px; */
  /* box-shadow: 0 12px 45px rgba(0, 0, 0, 0.08); */
  padding: 55px 40px;
  transition: all 0.5s ease;
  /* border-top: 6px solid var(--blue); */
  position: relative;
  overflow: hidden;
  
}

.contact-info::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  /* background: radial-gradient(circle at top right, rgba(66,133,244,0.2), transparent 70%); */
  transform: rotate(45deg);
}
/* 
.contact-info:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
} */

.contact-info h2 {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 25px;
  font-weight: 600;
}

.contact-info p {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.contact-info p i {
  color: var(--blue);
  margin-right: 10px;
  font-size: 1.2rem;
}

.contact-info a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.contact-info a:hover { color: var(--blue); }

/* Social Icons */
.social-icons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.social-icons a:nth-child(1) { background: var(--blue); }
.social-icons a:nth-child(2) { background: var(--red); }
.social-icons a:nth-child(3) { background: var(--green); }
.social-icons a:nth-child(4) { background: var(--yellow); color: #333; }

.social-icons a:hover {
  transform: translateY(-4px) scale(1.1);
  filter: brightness(1.15);
}

/* Contact Form Card */
.contact-form {
  flex: 1 1 450px;
  /* background: rgba(255, 255, 255, 0.8); */
  backdrop-filter: blur(20px);
  border-radius: 24px;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
  padding: 55px 40px;
  /* border-top: 6px solid var(--green); */
  transition: all 0.5s ease;
  position: relative;
  
}
/* 
.contact-form:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
} */

.contact-form h2 {
  color: var(--green);
  font-size: 2rem;
  margin-bottom: 25px;
  font-weight: 600;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

form label {
  font-weight: 500;
  color: #333;
}

form input,
form textarea {
  padding: 14px 16px;
  width: 520px;
  border: 1.6px solid #ddd;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  background: rgba(255,255,255,0.9);
}

form input:focus,
form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(66,133,244,0.15);
}

form textarea {
  resize: none;
  height: 140px;
}

form button {
  background: #515151;
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
  color: var(--white);
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
    width: 520px;

}

/* form button:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
} */

/* =====================================================
   CTA SECTION
===================================================== */
.cta-section {
  text-align: center;
  background: linear-gradient(90deg, var(--blue), var(--red), var(--green), var(--yellow));
  background-size: 300% 300%;
  animation: gradientShift 12s ease infinite;
  color: var(--white);
  padding: 50px 20px;
  margin-top: 90px;
  /* border-radius: 30px; */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.cta-section h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto 5px;
}


/* =====================================================
   RESPONSIVE DESIGN
===================================================== */
@media (max-width: 992px) {
  .contact-section {
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero p {
    font-size: 1.05rem;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 110px 20px 80px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .contact-info,
  .contact-form {
    padding: 35px 25px;
  }

  .cta-section h2 {
    font-size: 2rem;
  }
  form input,
form textarea {
  width: 320px;
}

}

