/* Contact Hero Section */
.contact-hero {
  position: relative;
  padding: 120px 0;
  color: white;
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      135deg,
      var(--light-gray) 0%,
      rgba(165, 195, 238, 0.9) 80%
    ),
    url("/images/Contact-hero-bg.png") center/cover no-repeat;
  z-index: -1;
}

.contact-hero-content {
  position: flex;
  align-items: center;
  display: flex;
  gap: 60px;
  z-index: 1;
}

.contact-hero-text {
 flex: 0 0 65%; /* Takes 65% of the width and doesn't grow/shrink */
  max-width: 65%;
  padding-right: 40px; /* Adds some spacing between text and image */
}

.contact-hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact-hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  font-weight: 300;
  color: var(--text);
}

.hero-contact-info {
  margin-top: 40px;
  color: var(--text);
}

.contact-method {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.contact-method i {
  margin-right: 15px;
  font-size: 1.3rem;
  color: var(--accent);
}

.contact-hero-image {
  flex: 1;
}

.contact-hero-image img {
  width: 70%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Contact Main Content */

.contact-intro {
  padding: 100px 0;
  background-color: var(--bg);
}

.contact-intro .section-title {
  margin-bottom: 20px;
}

.contact-intro-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.lead-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 10px;
}

.contact-platform-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.platform-feature {
  padding: 30px;
  border-radius: var(--radius);
  background-color: var(--light-gray);
  transition: var(--transition);
}

.platform-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.platform-feature i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.platform-feature h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.platform-feature p {
  color: var(--dark-gray);
  line-height: 1.6;
}

@media (max-width: 576px) {
  .contact-hero-text h1 {
    font-size: 2.2rem;
  }

  .contact-hero-subtitle {
    font-size: 1.1rem;
  }

  .contact-form-section,
  .contact-info-section {
    padding: 30px 20px;
  }
}
