/* FAQ Section Block Styles */

/* Section wrapper */
.faq-section-section {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding: 60px 0;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #ffffff;
}

.faq-section-section .container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 10px;
}

/* Wrapper */
.faq-section-section .faq-section-wrapper {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  width: 100%;
}

/* Header */
.faq-section-section .faq-section-header {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  align-items: center;
  max-width: 768px;
  text-align: center;
}

/* Title */
.faq-section-section .faq-section-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 300;
  text-align: center;
  text-transform: capitalize;
  color: #112446;
  margin: 0;
  line-height: 50px;
}

/* Description */
.faq-section-section .faq-section-description {
  font-family: "Poppins", sans-serif;
  font-size: clamp(18px, 2vw, 18px);
  font-weight: 400;
  text-align: center;
  color: #313f58;
  margin: 0;
  line-height: 28px;
}

/* Content - two columns layout */
.faq-section-section .faq-section-content {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  gap: 40px;
  justify-content: center;
  width: 100%;
}

/* FAQ Column */
.faq-section-section .faq-section-column {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex: 1;
  max-width: 50%;
}

/* FAQ Item */
.faq-section-section .faq-section-item {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.10);
  transition: background-color 0.2s ease;
}

/* .faq-section-section .faq-section-item:hover {
  background-color: rgba(9, 96, 168, 0.05);
} */

/* .faq-section-section .faq-section-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.10);
} */

/* FAQ Item Header */
.faq-section-section .faq-section-item-header {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding: 20px 0;
  align-items: center;
  width: 100%;
  cursor: pointer;
  transition: padding-bottom 0.3s ease;
}

.faq-section-section .faq-section-item.active .faq-section-item-header {
  padding-bottom: 15px;
}

/* FAQ Icon */
.faq-section-section .faq-section-icon {
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  max-width: 100%;
  transition: transform 0.3s ease;
}

.faq-section-section .faq-section-item.active .faq-section-icon {
  transform: rotate(45deg);
}

/* FAQ Question */
.faq-section-section .faq-section-question {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 400;
  text-align: left;
  color: #112446;
  flex: 1;
  line-height: 1.5;
}

/* FAQ Answer */
.faq-section-section .faq-section-answer {
  box-sizing: border-box;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
}

.faq-section-section .faq-section-item.active .faq-section-answer {
  max-height: 2000px;
  padding: 0 0 20px 0;
}

.faq-section-section .faq-section-answer-content {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  color: #313f58;
  line-height: 1.6;
  padding-left: 30px;
}

/* Vertical Divider */
.faq-section-section .faq-section-divider {
  box-sizing: border-box;
  width: 1px;
  height: auto;
  align-self: stretch;
  border: none;
  border-left: 1px solid rgba(0, 0, 0, 0.10);
  margin: 0;
}

/* Responsive Styles */

/* Tablet - 1024px and below */
@media (max-width: 1024px) {
  .faq-section-section {
    padding: 50px 0;
  }
  
  .faq-section-section .faq-section-content {
    gap: 30px;
  }
  
  .faq-section-section .faq-section-column {
    max-width: none;
  }
}

/* Medium Tablet - 768px and below */
@media (max-width: 768px) {
	
	.faq-section-section .faq-section-title{
		line-height: 40px;
	}
  
  .faq-section-section .container {
    padding: 0 15px;
  }
  
  .faq-section-section .faq-section-content {
    flex-direction: column;
    gap: 0;
  }
  
  .faq-section-section .faq-section-divider {
    display: none;
  }
  
  .faq-section-section .faq-section-column {
    width: 100%;
    max-width: 100%;
  }
  
  .faq-section-section .faq-section-column-right .faq-section-item:first-child {
    border-top: none;
  }
  
  .faq-section-section .faq-section-header {
    max-width: 100%;
  }

  .faq-section-section .faq-section-answer-content{
    padding-left: 25px;
  }
  
}

/* Mobile - 480px and below */
@media (max-width: 480px) {
  
  .faq-section-section .container {
    padding: 0 12px;
  }

  .faq-section-section .faq-section-header {
    gap: 10px;
  }
  
  .faq-section-section .faq-section-icon {
    width: 16px;
    height: 16px;
  }
}
