/* General Section Dream2 Styling */
.section-dream2 {
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.section-dream2 .section-div {
  display: flex;
  width: 100%;
  gap: 20px;
}

.section-dream2 .content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.section-dream2 .section-title {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 8px;
}

/* Step Styling */
.section-dream2 .step {
  display: flex;
  align-items: center;
  gap: 30px;
}

.section-dream2 .step-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}

.section-dream2 .icon-bg {
  background-color: black;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.section-dream2 .icon {
  width: 24px;
  height: 24px;
}

.section-dream2 .line {
  width: 2px;
  height: 80px;
  background-color: #d1d5db;
  margin-top: 13px;
}

.section-dream2 .line.short {
  background-color: transparent;
}

.section-dream2 .step-content {
  max-width: 400px;
}

.section-dream2 .step-title {
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 8px;
}

.section-dream2 .step-description {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.5;
}

/* Image Styling */
.section-dream2 .image-container {
  flex: 1;
}

.section-dream2 .dream-img {
  height: 520px;
  object-fit: cover;
  width: 100%;
  border-radius: 2px;
}

/* Responsive Styling */

@media (max-width: 1000px) {
  .section-dream2 {
    flex-direction: column;
    padding: 15px;
  }

  .section-dream2 .section-div {
    gap: 10px;
  }

  .section-dream2 .dream-img {
    height: 400px;
    margin: 0 auto;
  }

  .section-dream2 .content {
    gap: 10px;
  }
}

@media (max-width: 900px) {
  .section-dream2 {
    flex-direction: column-reverse;
  }

  .section-dream2 .dream-img {
    height: 300px;
    margin-top: 20px;
  }

  .section-dream2 .section-div {
    flex-direction: column;
  }
  .content h1{
    text-align: center;
  }
  .content-cards{
    display: flex;
    flex-direction: row;
    gap: 15px;
  }
  .section-dream2 .step {
    flex-direction: column;
    background-color: black;
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    gap: 10px;
  }

  .section-dream2 .line {
    display: none;
  }

  .section-dream2 .step-icon {
    justify-content: center;
    margin: 0;
  }

  .section-dream2 .step-content {
    max-width: 100%;
  }

  .section-dream2 .step-title {
    font-size: 18px;
  }

  .section-dream2 .step-description {
    font-size: 14px;
    color: rgb(230, 224, 224);
  }
}

@media (max-width: 700px) {

   .content-cards{
    display: flex;
    flex-direction: row;
    gap: 15px;
    flex-wrap: wrap;
  }

  .section-dream2 .dream-img {
    height: 250px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .section-dream2 .step {
    flex: 1 1 100%;
  }

  .section-dream2 .dream-img {
    height: 200px;
    margin: 10px auto;
  }

  .section-dream2 .step-title {
    font-size: 16px;
  }

  .section-dream2 .step-description {
    font-size: 12px;
  }
}


/* custom section Container */
.section-Custom {
  padding-top: 70px;
  overflow: hidden;
}
.section-Custom .section-div {
  display: flex;
  flex-direction: row;
  max-width: 1400px;
  justify-content: space-between;
  margin: 0 120px;
}

/* Image and Cards Container */
.section-Custom .card-right {
  position: relative;
}

.section-Custom .img {
  position: relative;
}
.profile-img{
  width: 500px;
}
.section-Custom .img .img-card {
  width: 500px;
  height: 400px;
  border-radius: 2px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.profile-img{
  width: 500px;
}
/* Cards Overlay */
.section-Custom .cards-overlay {
  position: absolute;
  top: 90px;
  left: 520px;
  transform: translateX(-50%);
  display: flex;
  gap: 1.75rem;
  background-color: #ffffff;
  padding: 1.5rem;
  z-index: 20;
}

.section-Custom .card {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  min-width: 350px;
  max-width: 400px;
  background-color: #000000;
  color: #ffffff;
  padding: 1.5rem;
  border-radius: 0.25rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.section-Custom .card img {
  width: 40px;
}

.section-Custom .card p {
  font-size: 15px;
  font-weight: 500;
}

.section-Custom .card-footer {
  display: flex;
  align-items: center;
  margin-bottom: 2.5rem;
}

.section-Custom .card-footer img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  margin-right: 0.75rem;
}

.section-Custom .card-footer .profile-name {
  font-weight: bold;
}

.section-Custom .card-footer .profile-location {
  font-size: 0.875rem;
  color: #9ca3af;
}

/* Arrows */
.section-Custom .arrows {
  display: flex;
  justify-content: flex-start;
  margin-top: 1.5rem;
  gap: 1rem;
}

.section-Custom .arrow-btn {
  background-color: #d1d5db;
  padding: 0.5rem;
  border-radius: 0.25rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color 0.2s;
}

.section-Custom .arrow-btn:hover {
  background-color: #9ca3af;
}

.section-Custom .arrow-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Section Title */
.section-Custom .section-title {
  font-size: 1.875rem;
  font-weight: bold;
  /* margin-top: 2rem; */
}

/* Responsive Styles */
@media (max-width: 1000px) {
  .section-Custom {
    padding-top: 50px;
  }

  .section-Custom .section-div {
    margin: 0 20px;
  }

  .section-Custom .img-card {
    width: 400px;
    height: 300px;
  }

  .section-Custom .card {
    min-width: 300px;
    max-width: 350px;
    padding: 1rem;
  }

  .section-Custom .cards-overlay {
    top: 80px;
    left: 500px;
    transform: translateX(-50%);
    gap: 1rem;
    padding: 1rem;
  }
}

/* Responsive Styles */
@media (max-width: 900px) {
  .section-Custom .img-card {
    display: none; 
  }
  .section-Custom .section-div {
    flex-direction: column-reverse;
    align-items: center;
  }

  .section-Custom .section-title {
    text-align: center;
  }

  .section-Custom .cards-overlay {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    position: static;
    transform: none;
    margin: 0 auto;
    padding: 0;
  }

  .section-Custom .arrows {
    display: none;
  }
}

@media (max-width: 800px) {
  .section-Custom .cards-overlay {
    flex-direction: column; 
    align-items: center;
    gap: 1rem;
  }

  .section-Custom .card {
    max-width: 100%; 
    width: 90%;
  }
}
