/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  background-image:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.6) 50%,
      rgba(0, 0, 0, 0.4) 100%
    ),
    url("../assets/law01.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 6rem 0;
  }
}

.hero-content {
  color: white;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.span-title {
  margin-top: 4px;
  display: inline-block;
  background-image: linear-gradient(
    to right,
    var(--accent) 0%,
    var(--accent) 0%
  );
  background-size: 0% 100%;
  background-repeat: no-repeat;
  background-position: left center;
  animation: highlight 1s ease-in-out forwards;
}

.span-title:nth-child(1) {
  animation-delay: 0s;
}
.span-title:nth-child(2) {
  animation-delay: 0.2s;
}
.span-title:nth-child(3) {
  animation-delay: 0.4s;
}
.span-title:nth-child(4) {
  animation-delay: 0.6s;
}
.span-title:nth-child(5) {
  animation-delay: 0.8s;
}

@keyframes highlight {
  0% {
    background-size: 0% 100%;
  }
  100% {
    background-size: 100% 100%;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

/* Hero Form */
.hero-form {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.form-header {
  text-align: center;
}

.form-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.chevron-icon {
  margin: 0 auto;
  color: var(--accent);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  background-color: var(--background);
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(10, 10, 10, 0.1);
}

.form-textarea {
  resize: none;
}

.btn-submit {
  width: 100%;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.btn-submit:hover {
  opacity: 0.9;
}
