/* Hero Section Styles */

.hero {
  padding-top: 5rem; /* Increased from 4rem to 5rem */
  padding-bottom: 8rem !important; /* Increased to 8rem with !important to ensure it takes precedence */
  background-color: #fcfcfc; /* Adding light background color */
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem; /* Adding margin at the bottom */
}

/* Adding subtle background pattern */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/images/hero-bg.svg');
  background-repeat: no-repeat;
  background-position: right bottom;
  opacity: 0.3;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #555;
}

.hero-content p {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  margin-bottom: 4rem !important; /* Using !important to ensure this spacing is maintained */
  position: relative;
}

.hero-cta .button.primary {
  padding: 0.9rem 2.2rem;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.hero-cta .button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    order: 2;
  }
  
  .hero-image {
    order: 1;
    margin-bottom: 2rem;
  }
  
  .hero-cta {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content h2 {
    font-size: 1.5rem;
  }
}
