/* hero section */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 94%;
  object-fit: cover;
  z-index: 1;
}

.hero-fade-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom,
      #FAF9F6 0%,
      rgba(255, 255, 255, 0) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Hero Responsive */
@media (max-width: 1024px) {
  .hero {
    height: 70vh;
  }
  
  .hero-fade-overlay {
    height: 150px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 60vh;
  }
  
  .hero-fade-overlay {
    height: 120px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 50vh;
  }
  
  .hero-fade-overlay {
    height: 100px;
  }
}

/* Journey Section */
.journey {
  padding: 60px 30px;
  padding-bottom: 0;
  background: #fafafa;
  font-family: 'Poppins', sans-serif;
}

.journey-header {
  max-width: 100%;
  margin: 0 auto 60px 30px;
  text-align: left;
}

.journey-header h2 {
  font-family: 'Cormorant';
  font-size: 50px;
  font-weight: 500;
  margin-bottom: 15px;
}

.journey-header p {
  font-size: 23px;
  color: #3a3a3a;
  line-height: 1.6;
  font-family: 'Poppins';
}

.journey-step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 65px;
  gap: 140px;
  flex-wrap: wrap;
  padding: 0 45px 45px 45px;
  position: relative;
  flex-direction: row;
  flex-wrap: nowrap;
}

/* 80% border element inside */
.journey-divider {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background-color: #D2B462;
}

/* Automatically alternate layout for even steps */
.journey-step:nth-child(odd) {
  flex-direction: row-reverse;
}

.step-text {
  flex: 1;
  border: 1px solid #D2B462;
  padding: 30px;
  background: #FBF5EB;
  width: 320px;
  height: 320px;
}

.step-text h3 {
  font-family: 'Cormorant';
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #3a3a3a;
}

.step-text em {
  font-style: italic;
  font-size: 20px;
  font-family: 'Cormorant';
  display: block;
  margin-bottom: 12px;
  color: #777;
}

.step-text p {
  font-size: 18px;
  font-family: 'Poppins';
  line-height: 1.6;
  color: #3a3a3a;
}

.step-image {
  flex: 1;
  width: 320px;
}

.step-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* FAQ section */
.faq-section {
  padding: 60px 30px;
  text-align: center;
}

.faq-section .main-title {
  font-size: 40px;
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 50px;
  position: relative;
}

.faq-section .main-title::after {
  content: "";
  display: block;
  width: 25%;
  height: 2px;
  background-color: #d2b462;
  margin: 10px auto 0;
}

.faq-container {
  max-width: 1100px;
  margin: 0 auto;
}

.faq-item {
  background-color: #BEC5A4;
  border-radius: 8px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: background-color 0.4s ease;
}

.faq-item.active {
  background-color: #FAF9F6;
  border: 1px solid #D2B462;
  border-radius: 8px;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  font-size: 24px;
  font-family: 'Cormorant';
  text-align: left;
  padding: 20px 40px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #3a3a3a;
  transition: all 0.3s ease;
}

.faq-answer {
  background-color: #FAF9F6;
  padding: 0 40px;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  color: #3a3a3a;
  text-align: left;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-item.active .faq-answer {
  padding: 20px 20px 20px 60px;
  max-height: 500px;
}

.faq-item .icon {
  font-size: 14px;
  width: 19px;
  height: 19px;
  background-color: #C8A898;
  color: #FAF9F6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.faq-item.active .icon {
  transform: rotate(45deg);
  background-color: #FAF9F6;
}

/* Journey Section Responsive Styles */
@media (max-width: 1024px) {
  .journey {
    padding: 50px 25px;
    padding-bottom: 0;
  }
  
  .journey-header {
    margin: 0 auto 50px 25px;
  }
  
  .journey-header h2 {
    font-size: 42px;
  }
  
  .journey-header p {
    font-size: 21px;
  }
  
  .journey-step {
    gap: 80px;
    padding: 0 35px 35px 35px;
    margin-bottom: 55px;
  }
  
  .step-text {
    width: 280px;
    height: 280px;
    padding: 25px;
  }
  
  .step-text h3 {
    font-size: 25px;
  }
  
  .step-text em {
    font-size: 18px;
  }
  
  .step-text p {
    font-size: 16px;
  }
  
  .step-image {
    width: 280px;
  }
  
  .step-image img {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .journey {
    padding: 40px 20px;
    padding-bottom: 0;
  }
  
  .journey-header {
    margin: 0 auto 40px 20px;
    text-align: center;
  }
  
  .journey-header h2 {
    font-size: 36px;
    margin-bottom: 20px;
  }
  
  .journey-header p {
    font-size: 18px;
  }
  
  .journey-step {
    flex-direction: column !important;
    gap: 30px;
    padding: 0 20px 30px 20px;
    margin-bottom: 40px;
    align-items: center;
  }
  
  /* Reset alternating layout for mobile */
  .journey-step:nth-child(odd) {
    flex-direction: column !important;
  }
  
  .step-text {
    width: 100%;
    max-width: 400px;
    height: auto;
    min-height: 200px;
    padding: 20px;
  }
  
  .step-text h3 {
    font-size: 24px;
    margin-bottom: 8px;
  }
  
  .step-text em {
    font-size: 17px;
    margin-bottom: 10px;
  }
  
  .step-text p {
    font-size: 15px;
    line-height: 1.5;
  }
  
  .step-image {
    width: 100%;
    max-width: 400px;
  }
  
  .step-image img {
    height: 250px;
    border-radius: 4px;
  }
  
  .journey-divider {
    width: 90%;
  }
}

@media (max-width: 480px) {
  .journey {
    padding: 30px 15px;
    padding-bottom: 0;
  }
  
  .journey-header {
    margin: 0 auto 30px 15px;
  }
  
  .journey-header h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }
  
  .journey-header p {
    font-size: 16px;
  }
  
  .journey-step {
    gap: 25px;
    padding: 0 15px 25px 15px;
    margin-bottom: 30px;
  }
  
  .step-text {
    max-width: 100%;
    padding: 18px;
    min-height: 180px;
  }
  
  .step-text h3 {
    font-size: 22px;
  }
  
  .step-text em {
    font-size: 16px;
  }
  
  .step-text p {
    font-size: 14px;
  }
  
  .step-image img {
    height: 220px;
  }
  
  .journey-divider {
    width: 95%;
  }
}

/* FAQ Section Responsive Styles */
@media (max-width: 1024px) {
  .faq-section {
    padding: 50px 25px;
  }
  
  .faq-section .main-title {
    font-size: 36px;
    margin-bottom: 40px;
  }
  
  .faq-container {
    max-width: 900px;
  }
  
  .faq-question {
    font-size: 22px;
    padding: 18px 35px;
  }
  
  .faq-answer {
    padding: 0 35px;
    font-size: 17px;
  }
  
  .faq-item.active .faq-answer {
    padding: 18px 18px 18px 50px;
  }
  
  .faq-item .icon {
    width: 18px;
    height: 18px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .faq-section {
    padding: 40px 20px;
  }
  
  .faq-section .main-title {
    font-size: 32px;
    margin-bottom: 35px;
  }
  
  .faq-section .main-title::after {
    width: 30%;
  }
  
  .faq-container {
    max-width: 100%;
  }
  
  .faq-item {
    margin-bottom: 12px;
  }
  
  .faq-question {
    font-size: 20px;
    padding: 16px 25px;
    line-height: 1.3;
  }
  
  .faq-answer {
    padding: 0 25px;
    font-size: 16px;
  }
  
  .faq-item.active .faq-answer {
    padding: 16px 16px 16px 40px;
    max-height: 400px;
  }
  
  .faq-item .icon {
    width: 17px;
    height: 17px;
    font-size: 12px;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .faq-section {
    padding: 30px 15px;
  }
  
  .faq-section .main-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  
  .faq-section .main-title::after {
    width: 35%;
  }
  
  .faq-item {
    margin-bottom: 10px;
  }
  
  .faq-question {
    font-size: 18px;
    padding: 14px 20px;
    line-height: 1.2;
  }
  
  .faq-answer {
    padding: 0 20px;
    font-size: 15px;
    line-height: 1.4;
  }
  
  .faq-item.active .faq-answer {
    padding: 14px 14px 14px 35px;
    max-height: 350px;
  }
  
  .faq-item .icon {
    width: 16px;
    height: 16px;
    font-size: 11px;
  }
}