.faq_blocks{
    padding: 2rem;
}
.left_title_faq.flex-1 {
    margin: 1em 0;
}
.tip{
    display:none;
      border-radius: 20px;
    background: #F1592A;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    color: #fff;
    width: 350px;
    margin: 0 auto; 
}
.accordion .a-container {
    width: 33%;
    margin-bottom: 20px;
    box-sizing: border-box;
    border-radius: 40px;
    border: 2px solid #D9D9D9;
    background: #F5F5F5;
    display: inline-block;
    vertical-align: top;
}
.accordion .a-container .a-btn {
    text-align: center;
    margin: 0;
    position: relative;
    padding: 1.5rem 1rem;
    color: var(--black_tone);
    display: block;
    font-weight: 800;
    font-size: 24px;
    background-color: var(--white_tone);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 40px;
    height: 5rem;
}
.accordion .a-container .a-btn:hover{
    color:var(--black_tone);
}
.accordion .a-container .a-btn span {
    display: block;
    position: absolute;
    right: 0;
    top: auto;
    left: 0;
    margin: 0 auto;
    bottom: -18px;
    background: #fff;
    border-radius: 50%;
    border: 2px solid #29232A;
    width: 30px;
    height: 30px;
    text-align: center;
}
.accordion .a-container .a-btn span:after {
    content: '';
    width: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: var(--main_colour);
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.accordion .a-container .a-btn span:before {
    content: '';
    width: 15px;
    height: 3px;
    border-radius: 2px;
    background-color: var(--main_colour);
    position: absolute;
    top: 10px;
    transform: rotate(90deg);
    transition: all 0.3s ease-in-out;
    bottom: 0;
    margin: 0 auto;
    left: 0;
    right: 0;
}
.accordion .a-container .a-panel {
    background: #29232A;
    width: 90%;
    color: #fff;
    transition: all 0.2s ease-in-out;
    opacity: 0;
    height: auto;
    max-height: 0;
    overflow: hidden;
    padding: 0px 10px;
    border-width: 1px;
    border-color: #f0f0f0;
    border-radius: 20px;
    font-size: 20px;
    padding-left: 50px;
    margin: 0 auto; 
}
.accordion .a-container.active .a-btn {
    color:var(--black_tone);
}
.accordion .a-container.active .a-btn span::before {
    transform: rotate(0deg);
}
.accordion .a-container.active .a-panel {
    padding: 15px 10px 10px 10px;
    opacity: 1;
    box-sizing: border-box;
    max-height: fit-content;
}
.faq_text{
    align-items: flex-start;
    margin: auto;
    padding-bottom: 5rem;
}
.faq_text h2,.faq_text h3,.faq_text h4,.faq_text h5,.faq_text h6{
    color:var(--main_colour);
    font-weight: 800;
    font-size: 64px;
}
.faq_otherpages{
    padding-top: 2rem;
    padding-bottom: 2rem;
    text-align:center;
}
.accordion .a-container:nth-child(n+8) {
    display: none;
}

#show-more-btn {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: var(--main_colour);
    color: var(--white_tone);
    border: none;
    cursor: pointer;
    border-radius: 10rem;
}
#show-more-btn.show-less {
    background-color: var(--main_colour);
    color: var(--white_tone);
}

@media (orientation: portrait) {
	.accordion{
        width: 100%;
    }
	section.faq_blocks{
		padding: 2rem 0;
	}
    .faq_blocks .faq_text{
        display: block;
		padding: 0 2rem;
    }
    .accordion .a-container{
        width:100%;
    }
    .faq_text{
        padding-bottom: 0;
    }
    .faq_text h2{
        font-size: 36px; 
        text-align: center;
    }
    .right_title_faq p {
        text-align: center;
        font-size: 16px;
    }
    .faq_text h2 br{
        display:none;
    }
}

/***FAQ**/
.tip-home {
    border-radius: 20px;
    background: #F1592A;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    position: relative;
    margin: 0 auto;
    left: 0;
    right: 0;
    width: 334px;
    bottom: -10px;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    line-height: 1;
}
.faq-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 30px;
    padding-bottom: 50px;
}
.tab-link {
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.tab-link.active {
    background-color: #007bff;
    color: white;
}
.number-to-word{
   color: #F1592A;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
    padding-bottom: 20px; 
}
.tab-content {
    display: none;
}
.faq-item {
    border: 2px solid #D9D9D9;
    background-color: #F5F5F5;
    border-radius: 40px;
    padding-top: 26px;
    flex: 0 0 32%;
    margin-bottom: 20px;
    position: relative;
    text-align: center;
    box-sizing: border-box;
    transition: all 0.3s ease;
    max-height: fit-content;
}
.faq-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #F1592A;
    text-align: center;
}
.tab-content.active {
    display: block;
}
.faq-item .faq-question {
    font-size: 22px;
    margin-bottom: 0;
    font-weight: 700;
    border-radius: 0 0 40px 40px;
    min-height: 130px;
    background-image: url('https://brillare.net.au/wp-content/uploads/2024/10/faq-bottom-curve-home.png');
    background-size: 100%;
    background-position: center bottom;
    background-repeat: no-repeat;
    padding-bottom: 50px;
}
.tip-home {
    display: grid;
    align-items: center;
    gap: 10px;
    grid-template-columns: auto auto auto;
    padding: 9px 20px;
}
.faq-item .faq-answer {
    overflow: hidden;
    transition: max-height 0.3s ease;
    font-size: 14px;
    padding: 0 10px;
    background: #29232A;
    padding-top: 20px;
    margin-top: -40px;
    padding-bottom: 30px;
    border-radius: 0 0 40px 40px;
}
.faq-item .faq-answer p,.faq-item .faq-answer ul {
    font-size: 18px;
}

.faq-item .toggle-symbol {
    font-size: 30px;
    cursor: pointer;
    position: absolute;
    bottom: -10px;
    right: 0;
    left: 0;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border: 3px solid #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    line-height: 24px;
}
.faq-answer {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}
.faq-item.active .faq-answer {
    background: #29232A;
    max-height: 500px;
    border-radius: 0 0 40px 40px;
    margin-top: -30px;
    padding-top: 25px;
    padding-bottom: 30px;
}
.faq-item.active .toggle-symbol {
    content: '-';
}

@media(orientation: landscape){
	.inner_faqs .glide__slides{
		display:flex;
		flex-wrap:wrap;
		justify-content: center;
		gap:1rem;
	}
	.inner_faqs .glide__slide{
		width: 30%;
	}
}
/* Accordion styles for mobile (below 768px) */
@media (orientation:portrait) {
    .faq-row{
        justify-content: center;
    }
    .faq-item {
        width: 100%;
        margin-bottom: 15px;
		flex:unset;
    }
	.tip-home{
		width: fit-content;
	}
    .tabs {
        display: none; /* Hide tabs in mobile */
    }
    .tab-content {
        display: block;
        margin-bottom: 10px;
    }
    .tab-content h3 {
        cursor: pointer;
        background-color: #f1f1f1;
        padding: 10px;
        margin: 0;
        border: 1px solid #ddd;
    }
    .accordion-active {
        display: block !important;
    }
    .tab-content p {
        display: none;
    }
    .accordion-active p {
        display: block;
        padding: 10px;
        border-top: 1px solid #ddd;
    }
}