/* Buying Hero Section */
.buying-hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    background: url("../images/buying-image.png") center center / cover no-repeat;
    padding: 0 5% 200px 5%;       /* Add bottom padding so text isn't flush with the bottom edge */
  }
  
  /* Transparent overlay */
  .buying-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(50, 50, 50, 0.3);
    z-index: 1;
  }
  
  /* Content container */
  .buying-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 120px; /* Adjust as needed to prevent overlap with the navbar */
  }
  
  
  /* Header text styling */
  .buying-hero-content h1 {
    font-family: 'Montserrat', arial, sans-serif;
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 600;
  }

/* How It Works Section *****************************************************************************************/
.how-it-works {
  padding: 60px 5%;
  background-color: #f9f9f9;
  text-align: center;
}

.how-it-works h2 {
  font-size: 2.4rem; /* Increased overall header font size */
  margin-bottom: 40px;
  color: #333;
}

/* Steps List as an Ordered List */
.steps-list {
  list-style: none;
  counter-reset: step-counter;
  margin: 0 auto;
  max-width: 1000px;
  padding: 0;
}

/* Individual Step Styles */
.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
  text-align: left;
  font-size: 1.1rem;  /* Increased base font size */
  counter-increment: step-counter;
  position: relative;
  padding-left: 60px; /* Space for the step number */
}

/* Icon Styling: Smaller Icons */
.step-icon {
  margin-right: 15px;
  text-align: center;
}

.step-icon img {
  width: 120px;   /* Reduced width */
  height: 120px;  /* Reduced height */
}

/* Step Content Styling: Larger Text */
.step-content h3 {
  font-size: 1.6rem;  /* Bigger title */
  margin: 0 0 10px;
  color: #333;
}

.step-content p {
  margin: 0;
  font-size: 1rem;  /* Increased paragraph text size */
  color: #555;
  line-height: 1.5;
}

/* Consultation Button - Centered */
.consultation-btn {
  margin-top: 40px;
  text-align: center;
}

.btn-consultation {
  display: inline-block;
  padding: 14px 28px;
  background-color: #272727;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;  /* Slightly bigger button text */
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.btn-consultation:hover {
  background-color: #000000;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .step {
    flex-direction: column;
    padding-left: 0;
    text-align: center;
  }
  .step-icon {
    display: block;
    margin: 0 auto 10px; /* Center icon and add a little bottom margin */
  }
  .step::before {
    position: relative;
    width: auto;
    margin-bottom: 10px;
  }
}
