/*
Theme Name: Habitnosh
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 1.0.1
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: habitnosh
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/


:root{
    --primary-color:#D60001;
    --secondary-color:#0171E3;
    --tertiary-color:#AEFF2C;
	--body-text-color: #616670;
	--heading-color: #151618;
    --border-color: #151618;
    --body-font-family:"Inter", sans-serif;
    --heading-font-family:"Inter", sans-serif;
    --purple:#5A0000;
    --btn-font-family: "Inter", sans-serif;
    --btn-text-color: #ffffff;
    --bs-white: #ffffff;
    --bs-black: #000000;
    --footer-bg:#F8F5F1;
}
*, *::before, *::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
hr {
    border: 0;
    border-top: 1px solid var(--border-color);
}
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5{ 
    font-family: var(--heading-font-family); 
    font-weight:500; 
    line-height:1.1em;  
    margin:0; 
    color:var(--heading-color);
}
h1,h2,h3,h4{ margin:0 0 20px; }
h1, .h1{ font-size: 42px;}
h2, .h2{ font-size: 32px;}
h3, .h3{ font-size: 26px; line-height: 1.3em;}
h4, .h4, .footer_widget_area H6{ font-size: 22px; line-height: 1.3em;}
h5, .h5{ font-size: 18px; line-height: 1.3em;}
h6, .h6{ font-size: 16px; line-height: 1.3em;}
body{ 
    background: linear-gradient(
        180deg,
        rgba(255, 207, 1, 0.10) 0%,
        rgba(255, 207, 1, 0.06) 10%,
        rgba(255, 207, 1, 0.02) 18%,
        rgba(255, 255, 255, 1) 22%
    );
    font-family: var(--body-font-family); 
    color:var(--body-text-color); 
    font-size:16px; 
    line-height:1.5em; 
    overflow-x:hidden;
    font-weight: 300;
    margin: 0;
    box-sizing: border-box;
}
.container{ width: 100%; max-width: 90%; padding: 0 1rem; margin: 0 auto;}
.fw-100{ font-weight: 100;}
.fw-200{ font-weight: 200;}
.fw-300{ font-weight: 300;}
.fw-500{ font-weight: 500;}
.fw-600{ font-weight: 600;}
.fw-700{ font-weight: 700;}
.fw-400{ font-weight: 400;}
.radious-0{ border-radius: 0 !important;}

figure {
    margin-left: 0;
    margin-right: 0;
}
.screen-reader-text {
    border: 0;
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal!important;
}
strong, b{ font-weight: 700;}
iframe{ border: none; width: 100%; max-width: 100%;}
img{ max-width:100%; height:auto;}
button{ transition: all 0.4s; cursor: pointer; border: none;}
a{ text-decoration:none;}
.text-center{ text-align:center;} 
.text-end{ text-align: right;}
p{ margin:0 0 1.5rem;}
p:empty{ margin: 0; line-height: 0;}
input:not(input[type="submit"]):not(input[type="checkbox"]):not(input[type="radio"]), textarea, select {
    font-family: var(--body-font-family);
    width: 100%;
    background-color: transparent;
    border-width:1px;
    border-style: solid;
    border-color: var(--border-color);
    font-size: calc(14px + 0.3vw);
    font-weight: 300;
    padding: calc(10px + 0.4vw) 2rem;
    border-radius: 0;
    outline: none;
    transition: all 0.4s;
}
input:not(input[type="submit"]):not(input[type="checkbox"]):not(input[type="radio"]):focus, textarea:focus, select:focus{ border-color: var(--secondary-color);}
input[type="submit"], button[type="submit"]{
    border: none;
    cursor: pointer;
    border-radius: 2px;
    padding: 13px 30px;
    background-color: var(--primary-color);
    line-height: 1.4em;
    font-family: var(--btn-font-family);
    font-size: calc(14px + 0.2vw);
    font-weight: 400;
    color: var(--btn-text-color);
}

.unorder-list, .bullet_list, .unorder-list ul{ margin: 0; padding: 0; list-style: none;}
.bullet_list li {
    padding-left: 2.5rem;
    position: relative;
    margin: calc(0.5rem + 0.2vw) 0;
}
.bullet_list li::before {
    content: url('data:image/svg+xml; utf8, <svg width="13" viewBox="0 0 13 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.5125 9.51979L0 5.00729L1.12813 3.87917L4.5125 7.26354L11.776 0L12.9042 1.12813L4.5125 9.51979Z" fill="%23FDF9F9"/></svg>');
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 100%;
    background-color: black;
    position: absolute;
    left: 0;
    top: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn{
    padding: 13px 30px;
    border-radius: 2px;
    justify-content: space-between;
    align-items: center;
    display: inline-flex;
    position: relative;
    overflow: hidden;
    column-gap: calc(8px + 0.2vw);
    line-height: 1.5em;
    font-family: var(--btn-font-family);
    font-weight: 400;
    border-radius: 50px;
}
.btn-primary { background: var(--primary-color); color: var(--btn-text-color); }
.btn-tertiary{ background-color:var(--tertiary-color); color: var(--bs-black);}
.btn-secondary{ background-color: var(--secondary-color); color: var(--btn-text-color);}
.btn svg { fill: var(--btn-text-color); }
.btn.btn-tertiary svg { fill:var(--bs-black); }
.btn_arrow_contain {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 0.9em;
  height: 0.9em;
  position: relative;
  overflow: hidden;
}
.btn_arrow {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.btn_normal_icon {
  transform: translate3d(0, 0, 0);
}
.btn_hover_icon {
  transform: translate3d(-120%, 120%, 0);
}
.btn:hover .btn_normal_icon {
  transform: translate3d(120%, -120%, 0);
}

.btn:hover .btn_hover_icon {
  transform: translate3d(0, 0, 0);
}


table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin-bottom: 1.5rem;
}

table th,
table td {
  border: 1px solid var(--border-color);
  text-align: left;
  padding: 0.5rem 0.75rem;
  white-space: normal;
}

table th {
  background: #D9D9D9;
  font-weight: 500;
}
pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.d-flex{ display: flex; flex-wrap: wrap;}
.justify-content-center{ justify-content: center;}
.align-item-center{ align-items: center;}
.align-items-end{ align-items: flex-end;}
.m-0{ margin: 0;}
.position-relative{ position: relative;}
.lh-0{ line-height: 0;}
.border-top{ border-top: 1px solid var(--border-color);}
.global-grid{
    display: grid;
    grid-template-columns: repeat(var(--dsk-col), 1fr);
    gap: var(--dsk-gap);
}
.grid-row{
    display: grid;
    grid-template-columns: var(--dsk-col);
    gap: var(--dsk-gap);
}
.text-light,
.text-light *{
    color: var(--bs-white);
}
.overflow-hidden{ overflow: hidden;}
mondaysys-carousel {
    position: relative;
    display: block;
}
form.search-form {
    display: flex;
    width: 100%;
}
form.search-form > label{ width: 100%;}
body form.search-form input[type="search"]{ border-width: 1px;}
.category-image img {
    border-radius: 15px;
    height: 15vw;
    object-fit: cover;
}
/*____header____*/
.header_search{ gap: 10px;}
.site-navigation > ul > li > a {
    color: var(--body-text-color);
    transition: all 0.4s;
}
.site-navigation > ul > li > a:hover{
    /*background-color: #e3e3e6;*/
}
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 2rem;
    height: 16px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 999;
    margin: 1rem 0 1rem 0.5rem;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--bs-black);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/*_____Home Page____*/
.home-hero h1{ display: inline-block; }
.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    background: white;
    padding: 4px;
    border-radius: 50px;
    box-shadow: 0 0 60px 0 rgba(0, 0, 0, 0.05);
}
.newsletter-form input[type="email"] {
    border-width: 0 !important;
    padding: 0rem 1rem !important;
}
.newsletter-form button[type="submit"] {
    border-radius: 50px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 7px;
    background-color: var(--bs-black);
}
.post-category:after {
    content: "";
    width: calc(90% - 2rem);
    background: var(--primary-color);
    left: calc(5% + 1rem);
    position: absolute;
    top: 0;
    height: 100%;
    border-radius: 10px;
}
.post-category-inner {
    position: relative;
    z-index: 10;
}
.category-title {
    position: absolute;
    left: 15px;
    bottom: 20px;
    background: white;
    padding: 8px 9px 8px 15px;
    border-radius: 40px;
    color: var(--heading-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.category-count {
    width: 30px;
    height: 30px;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
}


/*_____Blog Grids____*/
#ajax-post-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 50px;
}
.post-meta {
    display: flex;
    align-items: center;
    font-size: calc(11px + 0.2vw);
    gap: 10px;
    font-weight: 500;
    flex-wrap: wrap;
    margin: 15px 0;
}
.post-cat-name {
    padding: 3px 12px;
    border-radius: 26px;
    border: 1px solid #E3E3E3;
    background: #F8F5F1;
    color: #151618;
    display: inline-block;
    font-size: calc(9px + 0.2vw);
    transition: all 0.4s;
}
.post-cat-name:hover{ background-color: var(--primary-color); color: var(--btn-text-color);}
.author--image {
    display: inline-block;
    line-height: 0;
}
.author--image img{
    border-radius: 100%;
}
.author--box {
    display: flex;
    align-items: center;
    gap: 7px;
}

.blog-thumbnails img{ border-radius: 25px;}
.post-item .h4, .post-item .h5 {
    transition: all 0.4s;
}
.post-item:hover .h4, .post-item:hover .h5 {
    color: var(--primary-color);
}
#load-more-posts {
    color: var(--heading-color);
    font-size: 17px;
    line-height: 1.2em;
    padding: 20px 40px;
    border-radius: 100px;
    border: 1px solid var(--heading-color);
    background: var(--bs-white);
}
#load-more-posts:hover{ background-color: var(--primary-color); border-color: var(--primary-color); color: var(--bs-white);}

/*______Sidebar_____*/
.about-card {
    background: #FFF6CF;
    border-radius: 20px;
    font-size: 14px;
    line-height: 1.4em;
    color: black;
    padding: 1.5rem;
}
.social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.social-list a {
    display: inline-flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    transition: all 0.4s;
}
.social-list a svg{ fill: var(--heading-color);}
.social-list a:hover{
    background-color: var(--primary-color);
    border-color: var(--bs-white);
}
.social-list a:hover svg{ fill: white;}
.sidebar-area aside {
    margin-bottom: 50px;
}
.sidebar-area aside .wp-block-heading {
    margin-bottom: -30px;
}
a.featured-title {
    line-height: 1.1em;
    display: inline-block;
}
.featured-meta {
    font-size: 14px;
    line-height: 1.2em;
}
.featured-posts article:not(article:last-child) {
    margin-bottom: 25px;
}

.sidebar-area aside ul.wp-block-categories-list {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    font-size: 16px;
    gap: 10px;
}
.sidebar-area aside ul.wp-block-categories-list li a {
    border-radius: 26px;
    border: 1px solid  #E3E3E3;
    padding: 8px 20px;
    display: inline-block;
    color: var(--heading-color);
    transition: all 0.4s;
    font-weight: 500;
}
.sidebar-area aside ul.wp-block-categories-list li a:hover{ 
    background-color: var(--primary-color);
    color: var(--btn-text-color);
    border-color: var(--primary-color);
}
.featured-title-wrap {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.featured-post-grid .blog-thumbnails img {
    border-radius: 10px;
}
/*____Toggle_____*/
details {
    border-top: 1px solid var(--border-color);
    padding:0 2rem;
}

details summary{
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding:  calc(10px + 0.8vw) 0;
}

details summary::after  {
    content: url('data:image/svg+xml; utf8, <svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11.4062 0.46875V11.4062H0.46875V13.5938H11.4062V24.5312H13.5938V13.5938H24.5312V11.4062H13.5938V0.46875H11.4062Z" fill="black"/></svg>');
    transition: transform 0.3s ease;
}

details[open] summary::after{
  content: url('data:image/svg+xml; utf8, <svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="0.46875" y="11.4062" width="24.0625" height="2.1875" fill="black"/></svg>');
}



/*____Footer____*/
.site_footer{ 
    background-color: var(--footer-bg); 
    font-size: calc(-6px + 1.5vw); 
    color: var(--heading-color);
} 
.site_footer a{ color: var(--heading-color); transition: all 0.4s;}
.site_footer a:hover{ color: var(--primary-color);}
.site_footer .widget-title { color: #A9A9A9; }


/*____Global Slider Code ______*/
.marquee_slide .swiper-wrapper {
    align-items: center;
}
.mondaysys_carousel.marquee_slide .swiper-wrapper {
  transition-timing-function: linear !important; /* smooth scroll for marquee */
} 
.swiper.vertical_slide{ max-height: 750px;}

ul.sub-menu {
    padding: 0;
    margin: 0;
    list-style: none;
}
ul.sub-menu li a {
    color: var(--body-text-color);
    display: inline-block;
    margin: 10px 0;
    transition: all 0.4s;
    position: relative;
}
ul.sub-menu li a:hover{ color: var(--secondary-color);}
ul.sub-menu li a::after{
    content: "";
    width: 0%;
    height: 1px;
    transition: all 0.4s;
    left: 0;
    bottom: 2px;
    opacity: 0;
    position: absolute;
    background-color: var(--secondary-color);
}
button.submenu-toggle {
    padding: 0;
    margin-left: 0.4vw;
    background-color: transparent;
    position: relative;
    top: -1px;
    width: 14px;
    display: inline-block;
}
button.submenu-toggle svg {
    width: 100%;
    filter: var(--body-text-color);
}

/*____Number Counter___*/
.number_counter_items .counter {
    padding: calc(35px + 3vw) calc(25px + 1vw);
    border-right: 1px solid var(--border-color);
}
.number_counter_items .counter span {
    font-weight: 200;
    font-size: calc(30px + 2vw);
    color: var(--purple);
    font-family: var(--heading-font-family);
}
.number_counter_items .counter:last-child {
    border-right: none;
}

/*_____Tabs_____*/
.tabs-content {
    display: none;
}
.tabs-content.active {
    display: block;
}
.tabs-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.tabs-buttons button {
    padding: calc(2px + 0.6vw) calc(6px + 0.8vw);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    background-color: transparent;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    font-size: calc(-5px + 1.4vw);
}
.tabs-buttons button.active,
.tabs-buttons button:hover {
    background: var(--primary-color);
    color: var(--btn-text-color);
    border-color: var(--primary-color);
}


/*___Single Blog Page____*/
.single-post-hero img {
    width: 100%;
    height: 40vw;
    object-fit: cover;
}
.single-post-hero:before {
    content: "";
    background: var(--body-bg);
    position: absolute;
    left: 0;
    top: 0;
    width: 6%;
    height: 70%;
}
.single-post-hero:before {
    content: "";
    background: var(--body-bg);
    position: absolute;
    left: 0;
    top: 0;
    width: 6%;
    height: 75%;
}
.single-post-hero:after {
    content: "";
    clip-path: polygon(0 70%, 67% 70%, 100% 100%, 0% 100%);
    background: var(--body-bg);
    position: absolute;
    left: 6%;
    bottom: 0;
    height: 84%;
    width: 23vw;
}
.post-author-box {
    display: flex;
    align-items: center;
    gap: 10px;
}
.post-author-box img {
    border-radius: 100%;
}

.related-card-title a{ color: black; }
.related-posts ul li {
    border-bottom: 1px solid var(--border-color);
}
.social-share {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.social-share a{ color: var(--bs-black); transition: all 0.4s; text-decoration: underline;}
.social-share a:hover{ color: var(--primary-color);}
body.single-post details {
    margin: 0 -1rem;
}
body.single-post details summary{
	font-weight:600;
}
/*____Media Query______*/

@media screen and (min-width: 1025px) {
    body { font-size: calc(1.14286px + 1.19048vw); }
    .home-hero h1{ font-size: calc(-2px + 7.6vw); }
    h1, .h1{ font-size: calc(-2px + 4.2vw);}
    h2,.h2{ font-size: calc(-7.28571px + 3.04vw);}
    h3, .h3 { font-size: calc(-2px + 2.342vw);}
    h4, .h4, .footer_widget_area h6{ font-size: calc(-2px + 1.66667vw);}
    h5, .h5{ font-size: calc(-2px + 1.25vw);}
    h6, .h6{ font-size: calc(-2px + 1.2vw);}
    .btn{ font-size: calc(1.71429px + 0.952381vw); }
    table { font-size: calc(1.14286px + 1vw); }
    .featured-meta, .sidebar-area aside ul.wp-block-categories-list, .about-card {
        font-size: calc(-2px + 1.1vw);
    }
    .newsletter-form input[type="email"] {
        padding: 0rem calc(-2px + 1.5vw) !important;
        min-height: calc(-2px + 3vw);
    }
    .newsletter-form button[type="submit"] {padding: calc(-5px + 1vw) calc(-3px + 1.5vw); }
    .category-title {
        left: calc(-2px + 1.5vw);;
        bottom: calc(-2px + 1.5vw);
        padding: calc(-2px + 0.8vw) calc(-2px + 0.8vw)  calc(-2px + 0.8vw)  calc(-2px + 1.3vw) ;
    }
    .newsletter-form{ max-width: 36vw;}
    .category-count {
        width: calc(-2px + 2vw);
        height: calc(-2px + 2vw);
        font-size: calc(-2px + 1.1vw);
    }
    .social-list a {
        width: 3.5vw;
        height: 3.5vw;
    }
    .site-navigation > ul > li > a { 
        font-size: calc(3px + 0.952381vw);
        line-height: 1.5em;
        padding: calc(2px + 0.9vw);
        display: inline-block;
    }
    .site-header .btn-primary{
        padding-block-end: calc(2px + 0.9vw);
    }
    .site-navigation > ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .mega_menu_enable .mega-menu-wrapper {
        left: 0;
        width: 100%;
        position: absolute;
        top: 100%;
        display: grid;
        grid-template-columns: 2.555fr 9.44fr;
        box-sizing: border-box;
        z-index: 999;
        max-width: 100%;
        visibility: hidden;
        opacity: 0;
        transition: all 0.4s;
        backdrop-filter: blur(100px);
        padding: 0 calc(2% + 3rem) 0 calc(2% + 1rem);
        height: 100vh;
        align-items: start;
        border-top: 1px solid var(--border-color);
    }
    .menu_contetn_wrap {
        background: var(--body-bg);
        display: grid;
        grid-template-columns: 7fr 5fr;
        border-left: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
    }
    .site-navigation ul.sub-menu:not(.site-navigation .mega_menu_enable ul.sub-menu) {
        top: 100%;
        position: absolute;
        left: 0;
        min-width: 16rem;
        border: 1px solid var(--border-color);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s;
    }
    .site-navigation li.menu-item-has-children:hover ul.sub-menu{ 
        opacity: 1 !important;
        visibility: visible !important;
    }
    .site-navigation ul.sub-menu li a{
        font-size: calc(-2px + 1.38vw);
    }
    .site-navigation ul.sub-menu li a:hover::after{ width: 100%; opacity: 1;}
    .site-navigation li.menu-item-has-children:not(.site-navigation li.menu-item-has-children.mega_menu_enable){ position: relative;}
    .site-navigation ul.sub-menu:not(.mega_menu_enable ul.sub-menu){
        padding: 1rem;
        background-color: var(--body-bg);
    }
    .mega-menu-title {
        color: var(--heading-color);
        font-weight: 400;
        font-family: var(--heading-font-family);
        font-size: calc(1.71429px + 0.952381vw);
    }
    .mega-menu-left {
        padding: 2rem;
    }
    .mega_menu_btn .btn {
        background-color: transparent;
        color: var(--body-text-color);
        padding-left: 0;
        text-decoration: underline;
        font-size: calc(-2px + 1.38vw);
        margin-top: 10px;
    }
    .mega_menu_btn .btn svg{ fill: var(--body-text-color);}
    .mega_menu_btn .btn:hover,
    .mega_menu_btn .btn:hover svg{ 
        color: var(--primary-color);
        fill: var(--primary-color);
    }
    .mega-menu-right {
        background-image: var(--menu-bg);
        background-position: center;
        background-size: cover;
        padding: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
    .site-navigation > ul > li.mega_menu_enable:hover .mega-menu-wrapper {
        opacity: 1;
        visibility: visible;
     }
    .vartical_service_slide .swiper.vertical_slide { max-height: 56vh; }
    .service_content_area ul li{  
        font-size: calc(8px + 0.5vw);
        padding: calc(2px + 0.3vw) calc(6px + 0.6vw); 
    }
   
}

@media (max-width: 1024px) {
  .menu-toggle { display: flex; }
  .mobile-process-slider h4::after{
    content: attr(data-title);
    display: block;
  }
  ul.sub-menu li a{ margin: 0;}
  ul.sub-menu li {
    padding-left: 0;
    margin-left: 2rem;
  }
  ul.sub-menu li:last-child a{
    border-bottom: none;
  }
  .mob-process-content::after{
    content: attr(data-content);
    display: block;
  }
  .programming-skills mondaysys-carousel ul li { font-size: 28px; }
  .mobile-process-slider { padding: 1rem 0 3rem; }
  .header_menu .search-btn {
        width: 50px;
        padding: 3px 14px 3px;
        border-right: 1px solid var(--border-color);
    }
  .primary-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--bs-white);
    gap: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    border-top: 1px solid var(--border-color);
  }
  .primary-menu.show {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    z-index: 99999;
    overflow: scroll;
  }
  .primary-menu > li > a{
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
    display: block;
    font-weight: 500;
    position: relative;
  }
  button.submenu-toggle {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        text-align: right;
        padding-right: 1rem;
    }
    button.submenu-toggle svg{ width: 15px;}
  ul.sub-menu li a{
    padding: 12px 0 ;
    border-bottom: 1px solid var(--border-color);
    display: block;
  }
  .site-navigation ul.sub-menu {
    border-bottom: 1px solid var(--border-color);
    max-height: 0;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s;
  }
  .site-navigation li.active ul.sub-menu{
    opacity: 1;
    visibility: visible;
    max-height: 1000px;
  }
  .header_menu .btn-primary { display: none; }

}

@media (min-width: 768px){

}

@media (min-width: 768px) and (max-width: 1024px){
    .grid-row{
        grid-template-columns: var(--tab-col, 1fr);
        gap: var(--tab-gap);
    }
}

@media (max-width:767px){
    .container{ max-width: 767px;}
    h1, .h1{font-size: calc(18px + 4.20833vw);}
    h2, .h2{ font-size: calc(26px + 1.04167vw);}
    h3, .h3{font-size: calc(20px + 0.89vw);}
    h4, .h4, .footer_widget_area h6{ font-size: calc(16px + 0.520833vw);}
    .grid-row{
        grid-template-columns: var(--mob-col, 1fr);
        gap: var(--mob-gap);
    }
    .section-spacing {
        padding: calc(60px + 4.16667vw) calc(8px + 1.04167vw) calc(20px + 1.04167vw);
    }
    .slider_title, .slider_content { grid-template-columns: 1fr; }
    .slider_title h2 {
        background: transparent;
        color: var(--heading-color);
        padding: 0;
    }
    .slider_title {
        padding: 0px 0 50px 20px;
        border-left: 30px solid var(--slider-color);
    }
    .slider_title:after {
        content: attr(data-excerpt);
        display: block;  
        padding-top: 25px;  
    }
    .excertp_wrap p { display: none; }
    .number_counter_items .counter:nth-child(2n){ border-right: none;}
    .number_counter_items .counter:nth-child(1), 
    .number_counter_items .counter:nth-child(2) {
        border-bottom: 1px solid var(--border-color);
    }
    .global-grid {
        grid-template-columns: repeat(var(--mob-col), 1fr);
        gap: var(--mob-gap);
    }

    .related-posts ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        border-top: 1px solid var(--border-color);
        margin-top: 20px;
    }  
    .related-posts ul li:nth-child(odd) {
        border-right: 1px solid var(--border-color);
    }
    .single-entry-content .entry-content {
        order: -1;
    }
}

@media (max-width: 575px){
    .post-share{ grid-template-columns: 1fr;}
    .social-share { justify-content: center; margin-bottom: 1rem;}
}