body {
    direction: rtl;
    text-align: right;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
li,
label {
    text-align: right;
}


/* Fix for centered headings in components */

.fp__section_heading,
.fp__section_heading h2,
.fp__section_heading h3,
.fp__section_heading h4,
.fp__section_heading h5,
.fp__section_heading h6,
.text-center h1,
.text-center h2,
.text-center h3,
.text-center h4,
.text-center h5,
.text-center h6,
.fp__about_us_heading,
.fp__about_us_heading h2,
.fp__about_us_heading h3,
.fp__about_us_heading h4,
.fp__about_us_heading h5,
.fp__about_us_heading h6,
.fp__why_choose_heading,
.fp__why_choose_heading h2,
.fp__why_choose_heading h3,
.fp__why_choose_heading h4,
.fp__why_choose_heading h5,
.fp__why_choose_heading h6,
.fp__blog_heading,
.fp__blog_heading h2,
.fp__blog_heading h3,
.fp__blog_heading h4,
.fp__blog_heading h5,
.fp__blog_heading h6,
.fp__testimonial_heading,
.fp__testimonial_heading h2,
.fp__testimonial_heading h3,
.fp__testimonial_heading h4,
.fp__testimonial_heading h5,
.fp__testimonial_heading h6,
.fp__chef_heading,
.fp__chef_heading h2,
.fp__chef_heading h3,
.fp__chef_heading h4,
.fp__chef_heading h5,
.fp__chef_heading h6 {
    text-align: center !important;
}


/* Additional fixes for all section headings */

.fp__section_heading h2,
.fp__section_heading h3,
.fp__section_heading h4,
.fp__section_heading h5,
.fp__section_heading h6,
.fp__section_heading .title,
.fp__section_heading .sub_title {
    text-align: center !important;
}


/* Fix for any heading with text-center class */

h1.text-center,
h2.text-center,
h3.text-center,
h4.text-center,
h5.text-center,
h6.text-center {
    text-align: center !important;
}


/* Specific fix for why choose section */

.fp__why_choose .fp__section_heading,
.fp__why_choose .fp__section_heading h2,
.fp__why_choose .fp__section_heading h3,
.fp__why_choose .fp__section_heading h4,
.fp__why_choose .fp__section_heading h5,
.fp__why_choose .fp__section_heading h6,
.fp__why_choose .fp__section_heading p {
    text-align: center !important;
}


/* Fix for all section headings in home components */

.fp__why_choose .text-center,
.fp__why_choose .text-center h1,
.fp__why_choose .text-center h2,
.fp__why_choose .text-center h3,
.fp__why_choose .text-center h4,
.fp__why_choose .text-center h5,
.fp__why_choose .text-center h6,
.fp__why_choose .text-center p {
    text-align: center !important;
}


/* Force center alignment for all elements in why choose section */

.fp__why_choose .col-md-8,
.fp__why_choose .col-lg-7,
.fp__why_choose .col-xl-6,
.fp__why_choose .m-auto {
    text-align: center !important;
}

.fp__why_choose .col-md-8 h2,
.fp__why_choose .col-md-8 h3,
.fp__why_choose .col-md-8 h4,
.fp__why_choose .col-md-8 h5,
.fp__why_choose .col-md-8 h6,
.fp__why_choose .col-md-8 p {
    text-align: center !important;
}


/* General fix for all home components */

.fp__why_choose,
.fp__blog,
.fp__testimonial,
.fp__chef,
.fp__about_us {
    text-align: center !important;
}

.fp__why_choose h1,
.fp__why_choose h2,
.fp__why_choose h3,
.fp__why_choose h4,
.fp__why_choose h5,
.fp__why_choose h6,
.fp__blog h1,
.fp__blog h2,
.fp__blog h3,
.fp__blog h4,
.fp__blog h5,
.fp__blog h6,
.fp__testimonial h1,
.fp__testimonial h2,
.fp__testimonial h3,
.fp__testimonial h4,
.fp__testimonial h5,
.fp__testimonial h6,
.fp__chef h1,
.fp__chef h2,
.fp__chef h3,
.fp__chef h4,
.fp__chef h5,
.fp__chef h6,
.fp__about_us h1,
.fp__about_us h2,
.fp__about_us h3,
.fp__about_us h4,
.fp__about_us h5,
.fp__about_us h6 {
    text-align: center !important;
}


/* Fix for all other home components */

.fp__blog .col-md-8,
.fp__blog .col-lg-7,
.fp__blog .col-xl-6,
.fp__blog .m-auto,
.fp__testimonial .col-md-8,
.fp__testimonial .col-lg-7,
.fp__testimonial .col-xl-6,
.fp__testimonial .m-auto,
.fp__chef .col-md-8,
.fp__chef .col-lg-7,
.fp__chef .col-xl-6,
.fp__chef .m-auto,
.fp__about_us .col-md-8,
.fp__about_us .col-lg-7,
.fp__about_us .col-xl-6,
.fp__about_us .m-auto {
    text-align: center !important;
}

.fp__blog .col-md-8 h2,
.fp__blog .col-md-8 h3,
.fp__blog .col-md-8 h4,
.fp__blog .col-md-8 h5,
.fp__blog .col-md-8 h6,
.fp__blog .col-md-8 p,
.fp__testimonial .col-md-8 h2,
.fp__testimonial .col-md-8 h3,
.fp__testimonial .col-md-8 h4,
.fp__testimonial .col-md-8 h5,
.fp__testimonial .col-md-8 h6,
.fp__testimonial .col-md-8 p,
.fp__chef .col-md-8 h2,
.fp__chef .col-md-8 h3,
.fp__chef .col-md-8 h4,
.fp__chef .col-md-8 h5,
.fp__chef .col-md-8 h6,
.fp__chef .col-md-8 p,
.fp__about_us .col-md-8 h2,
.fp__about_us .col-md-8 h3,
.fp__about_us .col-md-8 h4,
.fp__about_us .col-md-8 h5,
.fp__about_us .col-md-8 h6,
.fp__about_us .col-md-8 p {
    text-align: center !important;
}


/* Fix for section headings in all components */

.fp__blog .fp__section_heading,
.fp__blog .fp__section_heading h2,
.fp__blog .fp__section_heading h3,
.fp__blog .fp__section_heading h4,
.fp__blog .fp__section_heading h5,
.fp__blog .fp__section_heading h6,
.fp__blog .fp__section_heading p,
.fp__testimonial .fp__section_heading,
.fp__testimonial .fp__section_heading h2,
.fp__testimonial .fp__section_heading h3,
.fp__testimonial .fp__section_heading h4,
.fp__testimonial .fp__section_heading h5,
.fp__testimonial .fp__section_heading h6,
.fp__testimonial .fp__section_heading p,
.fp__chef .fp__section_heading,
.fp__chef .fp__section_heading h2,
.fp__chef .fp__section_heading h3,
.fp__chef .fp__section_heading h4,
.fp__chef .fp__section_heading h5,
.fp__chef .fp__section_heading h6,
.fp__chef .fp__section_heading p,
.fp__about_us .fp__section_heading,
.fp__about_us .fp__section_heading h2,
.fp__about_us .fp__section_heading h3,
.fp__about_us .fp__section_heading h4,
.fp__about_us .fp__section_heading h5,
.fp__about_us .fp__section_heading h6,
.fp__about_us .fp__section_heading p {
    text-align: center !important;
}


/* Fix for additional components */

.fp__menu,
.fp__reservation,
.fp__gallery,
.fp__newsletter,
.fp__footer,
.fp__header {
    text-align: center !important;
}

.fp__menu h1,
.fp__menu h2,
.fp__menu h3,
.fp__menu h4,
.fp__menu h5,
.fp__menu h6,
.fp__reservation h1,
.fp__reservation h2,
.fp__reservation h3,
.fp__reservation h4,
.fp__reservation h5,
.fp__reservation h6,
.fp__gallery h1,
.fp__gallery h2,
.fp__gallery h3,
.fp__gallery h4,
.fp__gallery h5,
.fp__gallery h6,
.fp__newsletter h1,
.fp__newsletter h2,
.fp__newsletter h3,
.fp__newsletter h4,
.fp__newsletter h5,
.fp__newsletter h6,
.fp__footer h1,
.fp__footer h2,
.fp__footer h3,
.fp__footer h4,
.fp__footer h5,
.fp__footer h6,
.fp__header h1,
.fp__header h2,
.fp__header h3,
.fp__header h4,
.fp__header h5,
.fp__header h6 {
    text-align: center !important;
}


/* Fix for any section with text-center class */

.fp__menu .text-center,
.fp__reservation .text-center,
.fp__gallery .text-center,
.fp__newsletter .text-center,
.fp__footer .text-center,
.fp__header .text-center {
    text-align: center !important;
}

.fp__menu .text-center h1,
.fp__menu .text-center h2,
.fp__menu .text-center h3,
.fp__menu .text-center h4,
.fp__menu .text-center h5,
.fp__menu .text-center h6,
.fp__menu .text-center p,
.fp__reservation .text-center h1,
.fp__reservation .text-center h2,
.fp__reservation .text-center h3,
.fp__reservation .text-center h4,
.fp__reservation .text-center h5,
.fp__reservation .text-center h6,
.fp__reservation .text-center p,
.fp__gallery .text-center h1,
.fp__gallery .text-center h2,
.fp__gallery .text-center h3,
.fp__gallery .text-center h4,
.fp__gallery .text-center h5,
.fp__gallery .text-center h6,
.fp__gallery .text-center p,
.fp__newsletter .text-center h1,
.fp__newsletter .text-center h2,
.fp__newsletter .text-center h3,
.fp__newsletter .text-center h4,
.fp__newsletter .text-center h5,
.fp__newsletter .text-center h6,
.fp__newsletter .text-center p,
.fp__footer .text-center h1,
.fp__footer .text-center h2,
.fp__footer .text-center h3,
.fp__footer .text-center h4,
.fp__footer .text-center h5,
.fp__footer .text-center h6,
.fp__footer .text-center p,
.fp__header .text-center h1,
.fp__header .text-center h2,
.fp__header .text-center h3,
.fp__header .text-center h4,
.fp__header .text-center h5,
.fp__header .text-center h6,
.fp__header .text-center p {
    text-align: center !important;
}


/* Fix for team and offer components */

.fp__team,
.fp__offer,
.fp__offer_item,
.fp__offer-item {
    text-align: center !important;
}

.fp__team h1,
.fp__team h2,
.fp__team h3,
.fp__team h4,
.fp__team h5,
.fp__team h6,
.fp__offer h1,
.fp__offer h2,
.fp__offer h3,
.fp__offer h4,
.fp__offer h5,
.fp__offer h6,
.fp__offer_item h1,
.fp__offer_item h2,
.fp__offer_item h3,
.fp__offer_item h4,
.fp__offer_item h5,
.fp__offer_item h6,
.fp__offer-item h1,
.fp__offer-item h2,
.fp__offer-item h3,
.fp__offer-item h4,
.fp__offer-item h5,
.fp__offer-item h6 {
    text-align: center !important;
}


/* Fix for team and offer section headings */

.fp__team .fp__section_heading,
.fp__team .fp__section_heading h2,
.fp__team .fp__section_heading h3,
.fp__team .fp__section_heading h4,
.fp__team .fp__section_heading h5,
.fp__team .fp__section_heading h6,
.fp__team .fp__section_heading p,
.fp__offer .fp__section_heading,
.fp__offer .fp__section_heading h2,
.fp__offer .fp__section_heading h3,
.fp__offer .fp__section_heading h4,
.fp__offer .fp__section_heading h5,
.fp__offer .fp__section_heading h6,
.fp__offer .fp__section_heading p,
.fp__offer_item .fp__section_heading,
.fp__offer_item .fp__section_heading h2,
.fp__offer_item .fp__section_heading h3,
.fp__offer_item .fp__section_heading h4,
.fp__offer_item .fp__section_heading h5,
.fp__offer_item .fp__section_heading h6,
.fp__offer_item .fp__section_heading p,
.fp__offer-item .fp__section_heading,
.fp__offer-item .fp__section_heading h2,
.fp__offer-item .fp__section_heading h3,
.fp__offer-item .fp__section_heading h4,
.fp__offer-item .fp__section_heading h5,
.fp__offer-item .fp__section_heading h6,
.fp__offer-item .fp__section_heading p {
    text-align: center !important;
}


/* Fix for team and offer columns */

.fp__team .col-md-8,
.fp__team .col-lg-7,
.fp__team .col-xl-6,
.fp__team .m-auto,
.fp__offer .col-md-8,
.fp__offer .col-lg-7,
.fp__offer .col-xl-6,
.fp__offer .m-auto,
.fp__offer_item .col-md-8,
.fp__offer_item .col-lg-7,
.fp__offer_item .col-xl-6,
.fp__offer_item .m-auto,
.fp__offer-item .col-md-8,
.fp__offer-item .col-lg-7,
.fp__offer-item .col-xl-6,
.fp__offer-item .m-auto {
    text-align: center !important;
}

.fp__team .col-md-8 h2,
.fp__team .col-md-8 h3,
.fp__team .col-md-8 h4,
.fp__team .col-md-8 h5,
.fp__team .col-md-8 h6,
.fp__team .col-md-8 p,
.fp__offer .col-md-8 h2,
.fp__offer .col-md-8 h3,
.fp__offer .col-md-8 h4,
.fp__offer .col-md-8 h5,
.fp__offer .col-md-8 h6,
.fp__offer .col-md-8 p,
.fp__offer_item .col-md-8 h2,
.fp__offer_item .col-md-8 h3,
.fp__offer_item .col-md-8 h4,
.fp__offer_item .col-md-8 h5,
.fp__offer_item .col-md-8 h6,
.fp__offer_item .col-md-8 p,
.fp__offer-item .col-md-8 h2,
.fp__offer-item .col-md-8 h3,
.fp__offer-item .col-md-8 h4,
.fp__offer-item .col-md-8 h5,
.fp__offer-item .col-md-8 h6,
.fp__offer-item .col-md-8 p {
    text-align: center !important;
}


/* Fix for any other components that might exist */

.fp__slider,
.fp__banner,
.fp__hero,
.fp__intro,
.fp__feature,
.fp__service,
.fp__product,
.fp__category,
.fp__special,
.fp__daily,
.fp__popular,
.fp__trending,
.fp__new,
.fp__best,
.fp__top,
.fp__hot,
.fp__latest,
.fp__recent,
.fp__related,
.fp__similar,
.fp__recommended,
.fp__suggested {
    text-align: center !important;
}


/* Fix for all headings in any component */

.fp__slider h1,
.fp__slider h2,
.fp__slider h3,
.fp__slider h4,
.fp__slider h5,
.fp__slider h6,
.fp__banner h1,
.fp__banner h2,
.fp__banner h3,
.fp__banner h4,
.fp__banner h5,
.fp__banner h6,
.fp__hero h1,
.fp__hero h2,
.fp__hero h3,
.fp__hero h4,
.fp__hero h5,
.fp__hero h6,
.fp__intro h1,
.fp__intro h2,
.fp__intro h3,
.fp__intro h4,
.fp__intro h5,
.fp__intro h6,
.fp__feature h1,
.fp__feature h2,
.fp__feature h3,
.fp__feature h4,
.fp__feature h5,
.fp__feature h6,
.fp__service h1,
.fp__service h2,
.fp__service h3,
.fp__service h4,
.fp__service h5,
.fp__service h6,
.fp__product h1,
.fp__product h2,
.fp__product h3,
.fp__product h4,
.fp__product h5,
.fp__product h6,
.fp__category h1,
.fp__category h2,
.fp__category h3,
.fp__category h4,
.fp__category h5,
.fp__category h6,
.fp__special h1,
.fp__special h2,
.fp__special h3,
.fp__special h4,
.fp__special h5,
.fp__special h6,
.fp__daily h1,
.fp__daily h2,
.fp__daily h3,
.fp__daily h4,
.fp__daily h5,
.fp__daily h6,
.fp__popular h1,
.fp__popular h2,
.fp__popular h3,
.fp__popular h4,
.fp__popular h5,
.fp__popular h6,
.fp__trending h1,
.fp__trending h2,
.fp__trending h3,
.fp__trending h4,
.fp__trending h5,
.fp__trending h6,
.fp__new h1,
.fp__new h2,
.fp__new h3,
.fp__new h4,
.fp__new h5,
.fp__new h6,
.fp__best h1,
.fp__best h2,
.fp__best h3,
.fp__best h4,
.fp__best h5,
.fp__best h6,
.fp__top h1,
.fp__top h2,
.fp__top h3,
.fp__top h4,
.fp__top h5,
.fp__top h6,
.fp__hot h1,
.fp__hot h2,
.fp__hot h3,
.fp__hot h4,
.fp__hot h5,
.fp__hot h6,
.fp__latest h1,
.fp__latest h2,
.fp__latest h3,
.fp__latest h4,
.fp__latest h5,
.fp__latest h6,
.fp__recent h1,
.fp__recent h2,
.fp__recent h3,
.fp__recent h4,
.fp__recent h5,
.fp__recent h6,
.fp__related h1,
.fp__related h2,
.fp__related h3,
.fp__related h4,
.fp__related h5,
.fp__related h6,
.fp__similar h1,
.fp__similar h2,
.fp__similar h3,
.fp__similar h4,
.fp__similar h5,
.fp__similar h6,
.fp__recommended h1,
.fp__recommended h2,
.fp__recommended h3,
.fp__recommended h4,
.fp__recommended h5,
.fp__recommended h6,
.fp__suggested h1,
.fp__suggested h2,
.fp__suggested h3,
.fp__suggested h4,
.fp__suggested h5,
.fp__suggested h6 {
    text-align: center !important;
}

.fp__breadcrumb_text ul {
    flex-direction: row-reverse;
}

.fp__login_area,
.fp__form,
.fp__contact_area {
    text-align: right;
}

.fp__menu_list ul {
    flex-direction: row-reverse;
}

.navbar-nav {
    flex-direction: row-reverse;
}


/* Fix for go to top button in Arabic */

.fp__scroll_btn {
    white-space: nowrap;
    min-width: auto;
    width: auto;
    max-width: 120px;
    font-size: 12px;
    padding: 5px 10px 7px 10px;
}


/* Responsive fix for go to top button */

@media (max-width: 768px) {
    .fp__scroll_btn {
        font-size: 10px;
        padding: 4px 8px 6px 8px;
        max-width: 100px;
    }
}


/* Fix for search form in Arabic */

.fp__search_form form {
    text-align: right;
}

.fp__search_form input {
    text-align: right;
    direction: rtl;
}

.fp__search_form input::placeholder {
    text-align: right;
}


/* Fix for search form button positioning */

.fp__search_form button {
    right: auto !important;
    left: 7px !important;
}


/* Fix for close search button */

.fp__search_form form .close_search {
    right: auto !important;
    left: 0 !important;
}


/* Additional search form improvements for Arabic */

.fp__search_menu_form input {
    text-align: right;
    direction: rtl;
}

.fp__search_menu_form input::placeholder {
    text-align: right;
}


/* Fix for reservation form in Arabic */

.fp__reservation_form input,
.fp__reservation_form select {
    text-align: right;
    direction: rtl;
}

.fp__reservation_form input::placeholder {
    text-align: right;
}

.fp__reservation_form select option {
    text-align: right;
}


/* About page RTL fixes */

.fp__about_us_text {
    text-align: right !important;
    direction: rtl !important;
}

.fp__about_us_text ul {
    text-align: right !important;
    direction: rtl !important;
    padding-right: 0 !important;
    padding-left: 20px !important;
}

.fp__about_us_text li {
    text-align: right !important;
    direction: rtl !important;
    list-style-position: inside !important;
}

.fp__section_heading {
    text-align: right !important;
    direction: rtl !important;
}

.fp__section_heading h4,
.fp__section_heading h2 {
    text-align: right !important;
    direction: rtl !important;
}

.fp__about_us_text p {
    text-align: right !important;
    direction: rtl !important;
}


/* Blog page RTL fixes */

.fp__single_blog_text {
    text-align: right !important;
    direction: rtl !important;
}

.fp__single_blog_text .title {
    text-align: right !important;
    direction: rtl !important;
}

.fp__single_blog_text .category {
    text-align: right !important;
    direction: rtl !important;
}

.fp__single_blog_text ul {
    text-align: right !important;
    direction: rtl !important;
}

.fp__single_blog_text li {
    text-align: right !important;
    direction: rtl !important;
}