.contact {
  background-color: #111;
  color: #f5f5f5;
  padding: 5rem 1rem;


}

.contact .container {
  max-width: 1250px;
  margin: auto;
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.main-title h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: #00ffd5;
  position: relative;
}

.main-title .bg-text {
  font-size: 5rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  opacity: 0.05;
  z-index: -1;
}

.contact-content-con {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
}

.left-contact, .right-contact {
  flex: 1 1 45%;
}

.left-contact h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.left-contact p {
  color: #ccc;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-info {
  margin-top: 1rem;
  
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
   
}

.contact-item .icon {
  font-weight: 600;
  color: var(--accent); 

}


.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.input-control {
  display: flex;
  flex-direction: column;
}

.i-c-2 {
  display: flex;
  gap: 1rem;
}

.i-c-2 input {
  width: 100%;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  background: #1a1a1a;
  border: 1px solid #333;
  color: #fff;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form textarea {
  resize: none;
}

.submit-btn {
  margin-top: 1rem;
}

.main-btn {

  padding: 0.8rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.main-btn:hover {
 color: rgb(46, 46, 46);
}

.btn-icon i {
  font-size: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-content-con {
    flex-direction: column;
  }

  .left-contact,
  .right-contact {
    width: 100%;
  }

  .main-title h2 {
    font-size: 2rem;
  }

  .main-title .bg-text {
    font-size: 3.5rem;
  }

  .i-c-2 {
    flex-direction: column;
  }
}











.contact-icons .home-sci a {
  display: inline-flex;            /* flex for centering */
  align-items: center;
  justify-content: center;
  width: 40px;                    /* fixed width */
  height: 40px;                   /* fixed height to make circle */
  border-radius: 50%;             /* circle */
  color: #00ffd5;
  margin-top: 2rem;
  margin-right: 2rem;
  font-size: 2rem;
  position: relative;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
  will-change: transform, box-shadow, color;
  transform-style: preserve-3d;
  perspective-origin: center;
  background: transparent;        /* or add a subtle background if you want */
  border: 2px solid #00ffd5;      /* optional border for the circle */
}

/* Glowing neon shadow */
.contact-icons .home-sci a:hover,
.contact-icons .home-sci a:focus-visible {
  color: #00fff0;
  transform: scale(1.3) rotateX(8deg) rotateY(6deg);
  box-shadow:
    0 0 8px #00ffd5,
    0 0 20px #00ffd5,
    0 0 30px #00e5cc;
  outline: none;
}

/* Pressed effect */
.contact-icons .home-sci a:active {
  transform: scale(1) rotateX(0) rotateY(0);
  box-shadow: none;
  transition: transform 0.1s ease;
}

/* Accessibility: visible focus */
.contact-icons .home-sci a:focus-visible {
  outline-offset: 4px;
  outline: 3px solid #00ffd5;
  /* outline-radius: 50%;          */
}

/* Optional: subtle glowing pulse animation on hover */
@keyframes neonPulse {
  0%, 100% {
    box-shadow:
      0 0 8px #00ffd5,
      0 0 20px #00ffd5,
      0 0 30px #00e5cc;
  }
  50% {
    box-shadow:
      0 0 12px #00fff0,
      0 0 25px #00fff0,
      0 0 35px #00e5cc;
  }
}

.contact-icons .home-sci a:hover {
  animation: neonPulse 2s infinite alternate ease-in-out;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .contact-icons .home-sci a,
  .contact-icons .home-sci a:hover,
  .contact-icons .home-sci a:focus-visible,
  .contact-icons .home-sci a:active {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
  }
}
