/* header css start */
.header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

body.menu-open {
    overflow: hidden;
    height: 100vh;
}

.header .header-inner .logo {
    display: flex;
}

.navbar-nav,
.sub-menu {
    list-style-type: none;
    margin: 0;
}

.navbar-nav a {
    text-decoration: none;
    color: #333333;
    font-size: 14px;
    line-height: 24px;
}

.header .header-inner .header-menu ul {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header .header-inner .header-menu ul .sub-menu {
    gap: 15px;
}

.rtl .header .header-inner .header-menu ul {
    align-items: flex-start;
}

.header .header-inner .header-menu ul li {
    position: relative;
    margin-bottom: 0;
}

.header .header-inner .header-menu ul li .sub-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    min-width: 175px;
    width: 100%;
    left: 50%;
    transform: translatex(-50%);
    z-index: 9;
    padding: 10px 15px;
    top: 60px;
    opacity: 0;
    background: #fff;
    border: 1px solid #cccccc;
    margin-top: 0;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.05), 0 10px 10px 0 rgba(0, 0, 0, 0.05),
        0 23px 14px 0 rgba(0, 0, 0, 0.03);
    border-radius: 6px;
}

.header .header-inner .header-menu ul li .sub-menu.active {
    opacity: 1;
    top: 30px;
    display: flex;
}

.header .header-inner .header-menu ul li.menu-item-has-children {
    padding-right: 24px;
}

body.rtl .header .header-inner .header-menu ul li.menu-item-has-children {
    padding-left: 24px;
    padding-right: 0;
}

body.rtl .header .header-inner .header-menu ul li.menu-item-has-children::before {
    left: 0;
    right: unset;
}

.header .header-inner .header-menu ul li.menu-item-has-children::before {
    content: "";
    position: absolute;
    top: 70%;
    right: 0;
    width: 11px;
    height: 11px;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-image: url("/blog/wp-content/themes/pf-blog-child/assets/images/Desktop_Menu_Dropdown.svg");
}

.mobile-menu .menu-item-has-children {
    position: relative;
}

.mobile-menu .menu-item-has-children::before {
    content: "";
    position: absolute;
    top: 28px;
    right: 25px;
    width: 15px;
    height: 15px;
    background-repeat: no-repeat;
    background-image: url("/blog/wp-content/themes/pf-blog-child/assets/images/Mobile_Menu_Dropdown.svg");
    background-size: contain;
    transform: scaleY(1);
    transform-origin: center;
    transition: transform 0.3s;
}

body.rtl .mobile-menu .menu-item-has-children::before {
    right: unset;
    left: 25px;
}

.mobile-menu .menu-item-has-children.active::before {
    transform: scaleY(-1);
    top: 20px;
}

.header .header-inner .header-menu ul li .sub-menu li a {
    font-weight: 400;
}

.header .header-inner .header-menu ul li .sub-menu li a:hover {
    color: #ea3934;
}

.header .blog-container {
    padding-top: 15px;
    padding-bottom: 15px;
    position: relative;
}

.header .blog-container:after {
    content: '';
    position: absolute;
    width: 97%;
    border-bottom: 1px solid #E3E3E3;
    bottom: 0;
    max-width: 1110px;
}

.hamburger-menu {
    display: flex;
    height: 100%;
    padding-top: 10px;
}

.header-menu {
    display: none;
}

.header .cta-btn .mobile-btn {
    display: block;
}

.mobile-menu {
    background-color: #fff;
    padding: 0px 0px 44px;
    border-radius: 0 30px 30px 0;
    width: 100%;
    max-width: 100%;
    position: absolute;
    z-index: 9;
    top: 0;
    height: 100vh;
    left: -100%;
    transition: left 0.3s;
}

.mobile-menu.active {
    left: 0;
    overflow-y: auto;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
}

.mobile-menu .close-icon {
    position: absolute;
    top: 30px;
    left: 16px;
}

body.rtl .mobile-menu .close-icon {
    left: unset;
    right: unset !important;
}

.mobile-menu .logo {
    padding: 15px 16px 10px;
    border-bottom: 1px solid #e3e3e3;
    position: sticky;
    top: 0;
    background: #ffffff;
    text-align: center;
    z-index: 1;
}

.mobile-menu ul li a:hover {
    color: #333;
}

.mobile-menu .logo a {
    display: inline-block;
}

.mobile-menu ul li {
    padding: 0 20px;
    margin-bottom: 0;
    padding-left: 16px;
    padding-right: 16px;
}

.mobile-menu ul li a:not(.sub-menu li a) {
    display: block;
    font-weight: 600;
    padding: 20px 0px 20px;
    border-bottom: 1px solid #cccccc;
}

.mobile-menu ul li a:last-child {
    border-bottom: unset;
}

.mobile-menu .menu-item-has-children.active {
    background-color: #ffffff;
    padding-bottom: 5px;
}

.mobile-menu .menu-item-has-children.active>a {
    border-bottom: 0;
    padding-bottom: 0;
}

.mobile-menu .sub-menu {
    padding-top: 14px;
    max-height: 0;
    overflow: hidden;
    padding-top: 0 !important;
    transition: max-height 0.3s ease-out, margin-top 0.3s ease-out;
    padding-left: 0;
    padding-right: 0;
}

.mobile-menu .sub-menu li {
    padding-left: 10px;
    position: relative;
}

.mobile-menu .sub-menu li:last-child {
    padding-bottom: 10px;
}

body.rtl .mobile-menu .sub-menu li {
    padding-left: 0;
    padding-right: 10px;
}

.mobile-menu .sub-menu li a {
    color: #333333;
    padding: 10px 0;
    display: block;
}

.mobile-menu .sub-menu li:first-child a:first-child {
    padding-top: 0;
}

.mobile-menu .navbar-nav {
    padding: 0;
}

.mobile-menu-footer {
    background-color: #f7f7f7;
    padding: 30px;
}

body.rtl .mobile-menu {
    left: unset;
    right: -100%;
    transition: right 500ms;
    border-radius: 30px 0 0 30px;
}

body.rtl .mobile-menu.active {
    right: 0%;
}

.header .lang-item {
    font-family: "Open Sans", 'droid-arabic' !important;
}

.navbar-nav .lang-item a {
    color: #ea3934;
    font-weight: 700;
}

.mobile-menu ul li:nth-last-child(2) a:not(.sub-menu li a) {
    border: unset;
}

.mobile-menu-wrapper .lang-item {
    display: none;
}

@media (min-width: 1024px) {
    .hamburger-menu {
        display: none;
    }

    .header-menu {
        display: flex;
    }
}

@media (max-width: 575px) {
    .mobile-menu {
        width: 100%;
    }

    .hamburger-menu {
        padding-top: 0;
    }
}

