/* Contact Section Styles */
.contact-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  z-index: 10;
}

/* Background Elements */
/* .contact-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(248, 250, 252, 0.95) 0%,
    rgba(241, 245, 249, 0.95) 100%
  );
  z-index: 1;
} */

.bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2338bdf8' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
  z-index: 2;
}

.bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
}

.shape-1 {
  top: 10%;
  left: 5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.08) 0%,
    rgba(56, 189, 248, 0) 70%
  );
}

.shape-2 {
  bottom: 10%;
  right: 5%;
  width: 250px;
  height: 250px;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.08) 0%,
    rgba(56, 189, 248, 0) 70%
  );
}

.shape-3 {
  top: 40%;
  right: 15%;
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle,
    rgba(239, 68, 68, 0.05) 0%,
    rgba(239, 68, 68, 0) 70%
  );
}

.bg-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background-color: rgba(56, 189, 248, 0.4);
  border-radius: 50%;
  opacity: 0;
}

/* Contact Wrapper */
.contact-wrapper {
  position: relative;
  z-index: 10;
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

/* Contact Header */
.contact-header {
  text-align: center;
  padding: 50px 30px 30px;
  position: relative;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(20px);
}

.title-underline {
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
  margin: 0 auto 20px;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
}

/* Contact Content */
.contact-content {
  padding: 20px 30px 50px;
}

/* Contact Info Cards */
.contact-info-row {
  margin-bottom: 50px;
}

.contact-info-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 12px;
  background-color: #f8fafc;
  height: 100%;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.contact-info-card:hover {
  transform: translateY(-10px);
  background-color: #f1f5f9;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}

.contact-info-card:hover .info-icon {
  background-color: #38bdf8;
  color: #fff;
  transform: rotateY(180deg);
}

.info-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-align: center;
  margin: 0 auto 20px;
  transition: all 0.5s ease;
}

.info-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 10px;
}

.info-text {
  font-size: 1.1rem;
  color: #0f172a;
  margin-bottom: 5px;
  font-weight: 500;
}

.info-link {
  color: #38bdf8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-link:hover {
  color: #0284c7;
  text-decoration: underline;
}

.info-subtext {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}

/* CTA Container */
.cta-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  opacity: 0;
  transform: translateY(30px);
}

.cta-content {
  flex: 1;
  padding: 40px;
  min-width: 300px;
}

.cta-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(20px);
}

.cta-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(20px);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  padding: 14px 30px;
  background-color: #38bdf8;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
}

.btn-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.5s ease;
}

.btn-cta:hover {
  background-color: #0284c7;
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.btn-cta:hover::before {
  left: 100%;
}

.btn-cta:hover .btn-icon {
  transform: translateX(5px);
  opacity: 1;
}

.btn-text {
  position: relative;
  z-index: 1;
}

.btn-icon {
  margin-left: 8px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  opacity: 0.7;
}

.cta-image {
  flex: 1;
  min-width: 300px;
  position: relative;
  opacity: 0;
}

.image-container {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.image-container img {
  max-height: 300px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .contact-section {
    padding: 80px 0;
  }

  .contact-title {
    font-size: 2.2rem;
  }

  .contact-header {
    padding: 40px 20px 20px;
  }

  .contact-content {
    padding: 20px 20px 40px;
  }
}

@media (max-width: 767.98px) {
  .contact-section {
    padding: 60px 0;
  }

  .contact-title {
    font-size: 2rem;
  }

  .contact-info-row {
    margin-bottom: 30px;
  }

  .contact-info-card {
    margin-bottom: 20px;
  }

  .cta-content,
  .cta-image {
    flex: 100%;
  }

  .cta-image {
    order: -1;
  }

  .image-container {
    padding: 30px 30px 0;
  }
}

@media (max-width: 575.98px) {
  .contact-section {
    padding: 50px 0;
  }

  .contact-title {
    font-size: 1.8rem;
  }

  .cta-content {
    padding: 30px 20px;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  .btn-cta {
    width: 100%;
    justify-content: center;
  }
}
