/* Contact Page Styles */

/* Banner Section */
#banner-section {
  background-color: #f8f8fa;
  position: relative;
  overflow: hidden;
}

#banner-section::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background-color: rgba(29, 75, 59, 0.07);
  z-index: 0;
}

#banner-section::after {
  content: '';
  position: absolute;
  left: -50px;
  bottom: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: rgba(231, 165, 114, 0.07);
  z-index: 0;
}

.intro-banner-title {
  color: #1D4B3B;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

#educ {
  color: #E7A572;
  position: relative;
}

#educ::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  background-color: #E7A572;
}

.container-text p {
  font-size: 1.2rem;
  color: #6b7280;
  position: relative;
  z-index: 1;
}

/* Contact Form Styling */
.get_demo_form {
  margin-top: 2rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

#demo-form {
  background: #fff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  max-width: 700px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid #1D4B3B;
}

#demo-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.form-label {
  font-weight: 600;
  color: #1D4B3B;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-control {
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #1D4B3B;
  box-shadow: 0 0 0 3px rgba(29, 75, 59, 0.1);
}

textarea.form-control {
  resize: none;
}

.get-demo-button {
  background-color: #1D4B3B;
  color: #fff;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(29, 75, 59, 0.2);
  margin-top: 1rem;
}

.get-demo-button:hover {
  background-color: #143528;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(29, 75, 59, 0.3);
}

.get-demo-button:active {
  transform: translateY(0);
}

/* Animation for form fields */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mb-3 {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.mb-3:nth-child(1) {
  animation-delay: 0.1s;
}

.mb-3:nth-child(2) {
  animation-delay: 0.2s;
}

.mb-3:nth-child(3) {
  animation-delay: 0.3s;
}

.mb-3:nth-child(4) {
  animation-delay: 0.4s;
}

/* Footer Styling */
.footer-container {
  background-color: #1D4B3B;
  padding: 4rem 0 2rem;
  position: relative;
}

.footer-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #1D4B3B, #E7A572, #1D4B3B);
}

.footer__col h4 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer__col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 3px;
  background-color: #E7A572;
}

.footer__col p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  color: #fff;
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

.footer__socials a:hover {
  background-color: #E7A572;
  color: #1D4B3B;
  transform: translateY(-3px);
}

.footer__bar {
  background-color: #143528;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 1.25rem;
  font-size: 0.9rem;
}

/* Contact Information Section */
.contact-info-section {
  background-color: #f8f8fa;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.contact-info-section::before {
  content: '';
  position: absolute;
  left: -100px;
  top: 50%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: rgba(29, 75, 59, 0.05);
  z-index: 0;
}

.section-title {
  color: #1D4B3B;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.section-subtitle {
  color: #6b7280;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  height: 100%;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #1D4B3B, #E7A572);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.contact-card:hover::after {
  transform: scaleX(1);
}

.contact-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1D4B3B;
  color: #fff;
  border-radius: 50%;
  font-size: 1.75rem;
  box-shadow: 0 5px 15px rgba(29, 75, 59, 0.2);
}

.contact-card h3 {
  color: #1D4B3B;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-card p {
  color: #6b7280;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.contact-link {
  color: #E7A572;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #1D4B3B;
  text-decoration: underline;
}

.contact-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.contact-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: #1D4B3B;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.contact-social a:hover {
  background-color: #1D4B3B;
  color: #fff;
  transform: translateY(-3px);
}

/* Form Customizations */
#demo-form h4 {
  color: #1D4B3B;
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

#demo-form h4::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: #E7A572;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .intro-banner-title {
    font-size: 2.5rem;
  }

  .container-text p {
    font-size: 1rem;
  }

  #demo-form {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 576px) {
  .intro-banner-title {
    font-size: 2rem;
  }

  .container-text {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .get_demo_form {
    margin-top: 1rem;
    margin-bottom: 3rem;
  }

  #demo-form {
    padding: 1.25rem;
  }

  .contact-card {
    padding: 1.5rem 1rem;
  }
}
