@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");

/* Wrapper */
.journey-wrapper {
  width: 100%;
}

/* Tabs */
.journey-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 25px;
  justify-content: center;
}

.journey-tab-btn {
  padding: 8px 20px;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  background: #fff;
  cursor: pointer;
  color: #000 !important;
  font-weight: 600;
  font-family: "Montserrat", sans-serif !important;
  font-size: 1rem;
  transition: 0.2s;
}

.journey-tab-btn:hover {
  background: #faa629 !important;
  color: #fff !important;
}

.journey-tab-btn.active {
  background: #faa629;
  color: #fff !important;
}

/* Content */
.journey-tab-content {
  display: none;
}

.journey-tab-content.active {
  display: block;
}

/* 2-column layout */
.journey-content-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

/* Left: image column (40%) */
.journey-left {
  flex: 0 0 50%;
  max-width: 50% !important;
  overflow: hidden;
  border-radius: 10px;
}

.journey-left img {
  width: 100%;
  height: auto;
  min-height: 75vh !important;
  max-height: 75vh !important;
  object-fit: cover;
  display: block;
}

/* Right: content column (60%) */
.journey-right {
  flex: 0 0 50%;
  max-width: 50% !important;
  background: #30504b;
  color: #ffffff;
  padding: 24px 28px;
  border-radius: 10px;
  box-sizing: border-box;
  min-height: 60vh;
  font-family: "Montserrat", sans-serif !important;
  font-size: 1.2em;
  line-height: 1.25em;
  letter-spacing: 0.04em;
}

.journey-tab-heading {
  font-family: "Montserrat", sans-serif !important;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 2.4rem;
  letter-spacing: 0.04em;
  color: #ffffff;
  padding-bottom: 25px !important;
}

.journey-tab-body {
  font-family: "Montserrat", sans-serif !important;
  font-size: 1.1rem;
  line-height: 2rem;
  letter-spacing: 0.04em;
  color: #ffffff;
}

/* 🔹 Tablet: smaller tab + content fonts */
@media (max-width: 1024px) {
  .journey-content-layout {
    display: flex !important;
    flex-direction: row !important;
    gap: 5px !important;
    align-items: flex-start !important;
  }

  .journey-left {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  .journey-right {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    min-height: 50vh !important;
    padding: 20px 22px;
    font-size: 1.1rem;
    line-height: 1.8rem;
  }

  .journey-left img {
    width: 100% !important;
    height: 55vh !important;
    min-height: 55vh !important;
    max-height: 55vh !important;
    object-fit: cover !important;
    display: block !important;
  }

  .journey-tab-btn {
    font-size: 1rem;
    line-height: 1.6rem;
    padding: 8px 16px;
  }

  .journey-tab-heading {
    font-size: 1.8rem;
    line-height: 2.1rem;
  }

  .journey-tab-body {
    font-size: 1.05rem;
    line-height: 1.8rem;
  }
}

/* 🔹 Mobile: stack + even smaller fonts & padding */
@media (max-width: 767px) {
  .journey-content-layout {
    flex-direction: column !important;
  }

  .journey-left,
  .journey-right {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .journey-right {
    margin-top: 10px;
    font-size: 1rem;
    line-height: 1.6rem;
    padding: 16px 18px;
  }
  .journey-left img {
    width: 100% !important;
    height: auto !important;
    min-height: 65vh !important;
    max-height: 65vh !important;
    object-fit: cover !important;
  }

  .journey-right {
    margin-top: 0 !important;
    font-size: 1rem;
    line-height: 1.6rem;
    padding: 16px 18px;
    height: auto !important;
    min-height: 50vh !important;
  }

  .journey-tab-btn {
    font-size: 0.9rem;
    line-height: 1.4rem;
    padding: 6px 12px;
  }

  .journey-tab-heading {
    font-size: 1.4rem;
    line-height: 1.8rem;
    padding-bottom: 18px !important;
  }

  .journey-tab-body {
    font-size: 0.95rem;
    line-height: 1.6rem;
  }
}
