File: /home/u756937133/domains/inovaix.studio/public_html/assets/sass/components/_faq.scss
// Start Faq
.accordion-container {
max-width: 600px;
@media (max-width: 991px) {
width: 100%;
margin: auto;
}
}
.accordion-item {
background-color: $text-color12;
margin-bottom: 15px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
border-radius: 4px;
}
.accordion-header {
background-color: $text-color4;
color: $text-color1;
border: none;
width: 100%;
text-align: left;
cursor: pointer;
outline: none;
padding: 20px 25px;
display: flex;
justify-content: space-between;
align-items: center;
transition: background-color 0.3s ease;
font-style: normal;
font-weight: 600;
line-height: 26px;
font-family: $heading-font;
@media (max-width: 475px) {
&.font-size-1-20 {
font-size: 16px !important;
}
}
}
.accordion-content {
background-color: $text-color1;
overflow: hidden;
padding: 0 25px;
max-height: 0;
transition: max-height 0.3s ease;
@media (max-width: 480px) {
max-height: unset;
height: 125px;
}
}
.accordion-content p {
margin: 15px 0;
color: $text-color5;
font-family: $body-font;
font-style: normal;
font-weight: 400;
line-height: 26px;
@media (max-width: 1386px) {
br {
display: none;
}
}
}
.icon {
transition: transform 0.3s ease;
}
.icon-1 {
transition: transform 0.3s ease;
}
.active .icon {
transform: rotate(45deg);
}
.active .icon-1 {
transform: rotate(92deg);
}
// End Faq
// Start Faq Area
.faq-area-1 {
padding-top: 130px;
padding-right: 20px;
padding-left: 20px;
position: relative;
@media (max-width: 991px) {
padding-top: 70px;
}
.faq-area-1-area-shep-1 {
position: absolute;
left: 0;
top: 0;
}
.faq-area-wrapper-1 {
padding-bottom: 130px;
border-bottom: 1px solid #ccff0059;
@media (max-width: 475px) {
padding-bottom: 55px;
}
}
.faq-area-1-left {
.title {
text-align: left;
@media (max-width: 991px) {
text-align: center;
}
@media (max-width: 1385px) {
h3 {
br {
display: none;
}
}
}
}
p {
color: $text-color1;
font-family: $body-font;
font-style: normal;
font-weight: 400;
line-height: 30px;
margin-top: 25px;
}
.faq-area-1-btn {
margin-top: 40px;
}
@media (max-width: 991px) {
text-align: center;
max-width: 60%;
margin: auto;
margin-bottom: 40px;
.faq-area-1-btn {
margin-top: 30px;
}
}
@media (max-width: 768px) {
max-width: 85%;
}
@media (max-width: 625px) {
max-width: 100%;
}
}
.accordion-header {
background: $text-color2;
color: $text-color5;
}
}
.faq-area-2 {
position: relative;
.faq-area-2-shep-1 {
position: absolute;
bottom: 0;
left: 0;
}
.faq-area-2-shep-2 {
position: absolute;
top: 80px;
right: 0;
}
.accordion-header {
&:hover {
color: $text-color2;
}
}
&.faq-page {
.faq-2 {
.accordion-header {
&:hover {
color: $text-color1;
}
}
}
}
}
// End Faq Area