/* Contact Section Styles */
#contact {
  background: #f9f9f9;
  padding: 60px 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin-bottom: 30px;
}

/* Form Box Styling */
#contact .form-box {
  background: linear-gradient(135deg, #ffffff, #f2f2f2);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

#contact .form-box h3 {
  font-weight: bold;
  color: #222;
  margin-bottom: 30px;
}

#contact .form-box .form-label {
  font-weight: 500;
  color: #333;
}

#contact .form-box .form-control {
  border-radius: 10px;
  border: 1px solid #ccc;
  padding: 12px 15px;
  transition: 0.3s ease;
}

#contact .form-box .form-control:focus {
  border-color: #000;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

#contact .form-box button {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 12px;
  width: 100%;
  font-weight: bold;
  border-radius: 10px;
  transition: 0.3s ease;
}

#contact .form-box button:hover {
  background-color: #333;
}

/* Contact Info Styling */
#contact .info-box {
  background: #fff;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

#contact .info-box h3 {
  font-weight: bold;
  color: #111;
  margin-bottom: 25px;
}

#contact .info-box .info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

#contact .info-box .info-item span {
  font-size: 1.5rem;
  margin-right: 15px;
  color: #333;
}

#contact .info-box .info-item div {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}
.email a{
    text-decoration: none;
    color: #000;
}

.bg {
    background: linear-gradient(90deg,rgba(194, 194, 194, 1) 0%, rgba(255, 249, 209, 1) 100%);;
}
/* Map Styling */
#contact iframe {
  width: 100%;
  height: 200px;
  border: none;
  border-radius: 10px;
  margin-top: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.error-msg {
  color: #e63946;
  font-size: 14px;
  margin-top: 4px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(-5px);
}

.error-msg.show {
  opacity: 1;
  transform: translateY(0);
}

input.invalid, textarea.invalid {
  border: 1px solid #e63946 !important;
  background-color: #fff5f5;
}
/* Error Popup Box */
.error-popup {
  border: 2px solid #dc3545;
  border-radius: 12px;
  background: #fff6f6;
  padding: 40px 25px;
  text-align: center;
  max-width: 500px;
  margin: 40px auto;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.07);
  animation: fadeInUp 0.6s ease forwards;
}

/* SVG Cross Animation */
.animated-cross {
  width: 80px;
  height: 80px;
  display: block;
  stroke-width: 3;
  stroke: #dc3545;
  stroke-miterlimit: 10;
  margin: 0 auto 20px;
  box-shadow: inset 0px 0px 0px #dc3545;
  animation: fillRedCircle .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.error-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke: #dc3545;
  fill: none;
  animation: stroke 0.6s ease forwards;
}

.cross-line {
  stroke-dasharray: 28;
  stroke-dashoffset: 28;
  stroke-width: 3;
  stroke: #dc3545;
  fill: none;
}

.cross-line1 {
  animation: stroke 0.3s ease forwards 0.6s;
}

.cross-line2 {
  animation: stroke 0.3s ease forwards 0.9s;
}

/* Shared Animations */
@keyframes stroke {
  to {
    stroke-dashoffset: 0;
  }
}


@keyframes scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Title and Text */
.error-title {
  margin: 0;
  font-weight: 600;
  color: #2c3e50;
  font-size: 24px;
}

.error-text {
  color: #555;
  font-size: 16px;
  margin-top: 10px;
}
/* Success Popup Box */
.success-popup {
  border: 2px solid #d4af37;
  border-radius: 12px;
  background: #fffef8;
  padding: 40px 25px;
  text-align: center;
  max-width: 500px;
  margin: 40px auto;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.07);
  animation: fadeInUp 0.6s ease forwards;
}

/* SVG Tick Animation */
.animated-check {
  width: 80px;
  height: 80px;
  display: block;
  stroke-width: 3;
  stroke: #28a745;
  stroke-miterlimit: 10;
  margin: 0 auto 20px;
  box-shadow: inset 0px 0px 0px #28a745;
  animation: fillCircle .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.check-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke-miterlimit: 10;
  stroke: #28a745;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.check-mark {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

/* Animation Keyframes */
@keyframes stroke {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale(1.1);
  }
}

/* Title and Text */
.success-title {
  margin: 0;
  font-weight: 600;
  color: #2c3e50;
  font-size: 24px;
}

.success-text {
  color: #555;
  font-size: 16px;
  margin-top: 10px;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Responsive Adjustments */
@media (max-width: 768px) {
  #contact .form-box,
  #contact .info-box {
    padding: 25px;
  }

  #contact .info-box .info-item span {
    font-size: 1.3rem;
  }

  #contact .info-box .info-item div {
    font-size: 0.95rem;
  }
}