@use "../utils" as *;

/*----------------------------
section title design
------------------------------*/
.section-title {
    h2 {
        color: var(--td-theme-bg-color);
        text-align: center;
        font-size: 40px;
        font-weight: 700;
        text-transform: capitalize;

        @media #{$xl} {
            font-size: 35px;
        }

        @media #{$lg,$md} {
            font-size: 30px;
        }

        @media #{$xs} {
            font-size: 28px;
        }
    }

    &-left {
        h2 {
            text-align: left;

            @include rtl{
                text-align: right;
            }
        }
    }

    &-white {
        h2 {
            color: var(--td-white);
        }
    }

    &-2 {
        &-top {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 10px;

            @media #{$xl,$lg,$md,$xs} {
                margin-bottom: 0px;
            }

            p {
                color: var(--td-theme-color-2);
                font-size: 16px;
                font-weight: 500;
                letter-spacing: 4.8px;
                text-transform: uppercase;

                @media #{$xl,$lg,$md,$xs} {
                    font-size: 14px;
                }
            }
        }

        &-bottom {
            width: 90%;

            @media #{$xl,$lg,$md,$xs} {
                width: 100%;
            }

            h2 {
                color: var(--td-theme-bg-color);
                font-size: 40px;
                font-weight: 700;
                line-height: 50px;
                letter-spacing: 0.3px;

                span {
                    color: var(--td-theme-color-2);
                }

                @media #{$xl,$lg} {
                    font-size: 32px;
                }

                @media #{$md} {
                    font-size: 28px;
                    line-height: 40px;
                }

                @media #{$xs} {
                    font-size: 24px;
                    line-height: 38px;
                }
            }

            &-white {
                h2 {
                    color: var(--td-white);
                }
            }

            &-center {
                h2 {
                    text-align: center;
                }
            }

            &-faq{
                width: 40%;
                @media #{$xs} {
                    width: 100%;
                }
            }
        }

        &-middle {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        &-exceptional {
            margin-top: 65px;

            @media #{$md} {
                margin-top: 35px;
            }

            @media #{$xs} {
                margin-top: 0px;
            }
        }

        &-faq {
            margin-bottom: 50px;

            @media #{$lg,$md} {
                margin-bottom: 40px;
            }

            @media #{$xs} {
                margin-bottom: 30px;
            }
        }
    }

    &-fix-width{
        display: flex;
        justify-content: center;
        align-items: center;
        h2{
            width: 370px;

            @media #{$xs} {
                width: 300px;
            }
        }
    }


}