/* ---------- GLOBAL CSS -------------------- */

@media (max-width:767px) {
    .container {
        max-width:100%;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .container {
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .container {
        max-width:1200px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width:1400px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width:1400px;
    }
}


/* ---------- GLOBAL CSS -------------------- */





/*------------- Responsive Tab -----------------*/


/*------------- Responsive Tab -----------------*/



/*------------- Responsive Mobile -----------------*/



@media(min-width: 768px) and (max-width: 991.98px){

    /*-------------- HEADER CSS ----------------*/


    header > .container {
        padding: 0 !important;
        max-width: 100% !important;
    } 

    header .navigation{
       padding-right: calc(var(--bs-gutter-x) * .5) !important;
       padding-left: calc(var(--bs-gutter-x) * .5) !important;
       padding-top: 60px !important;
    }

    header .phone-global {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      z-index: 1;
    }

    header .nav {
      height: auto;
      position: absolute;
      top: -400px;
      left: 0;
      width: 100%;
      background-color: var(--dark-color);
      flex-direction: column;
      padding: 20px;
      gap: 15px;
      transition: all 0.5s ease;
      z-index: 0;
      align-items: end !important;
      justify-content: start !important;
    }

    .light-mode header .nav{
        background-color: #fff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    header .logo img{
        width: 80px !important;
    }

    header .nav.active {
        top: 100px;
    }

    header .logo {
        gap: 10px;
        width: max-content;
    }
    
    header .logo .search-bar {
        width: 100%;
        margin: 0 auto;
    }
    
    header .toggle-menu {
        display: inline-block !important;
        background: none;
        border: none;
        color: var(--color-white);
        font-size: 24px;
        cursor: pointer;
        margin-left: 10px;
    }

    header .nav li a,
    header .phone-global a{
        font-weight: 500 !important;
    }
    
    header .navigation {
        flex-direction: row;
        gap: 15px;
        padding: 15px 0;
        padding-top: 15px !important;
    }

   /* header #theme-toggle-icon{
        top: 40px;
        left: 50px;
        position: fixed;
    }*/

    /*-------------- HEADER CSS ----------------*/

    /*-------------- FOOTER CSS ----------------*/

    footer .footer-nav{
        flex-direction: row;
        row-gap: 0px;
        padding-top: 40px !important;
    }

    footer .footer-img{
        margin-bottom: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    footer .footer-nav .footer-links{
        padding: 0;
        width: 35%;
    }

    /*-------------- FOOTER CSS ----------------*/


    /*-------------- HOME BANNER ---------------*/

    .home-banner .home-article-content .home-article-image img{
        height: 160px;
    }

    .home-banner .home-article-content .home-article-text a{
        min-height: auto;
        margin-bottom: 10px;
    }

    .home-banner .home-article-content .home-article-text a h2{
        font-size: 1rem;
        line-height: 1.2rem;
    }

    .home-banner .home-article-content .home-article-text p{
        font-size: 11px;
    }

    .home-banner .home-article-content .home-article-text ul li{
        font-size: 11px;
        white-space: nowrap;
    }

    /*-------------- HOME BANNER ---------------*/

    /*-------------- Capital market --------------*/

    .company-grid,
    .graph-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    /*------------- Capital Market ----------------*/


    /*------------- Real Estate Css--------------*/

    .real-estate-section .top-section{
        justify-content: space-between;
        row-gap: 30px;
    }

    .real-estate-section .top-section .top-box{
       max-width: 48%;
       flex: 0 0 48%;
    }

    .real-estate-section .top-section .top-box.half-box{
        max-width: 100%;
       flex: 0 0 100%;
    }

    .calculator-section .mortgage-calculator{
        padding: 20px;
        max-width: 100%;
    }

    /*------------- Real Estate Css--------------*/


    .guide-page-section .frame-box{
        width: calc(100% / 2 - 20px);
    }

    .calculator-section .mortgage-calculator #summary{
        margin-bottom: 28px;
    }

    .crypto-market-slider .crypto-carousel .crypto-card h2{
        font-size: 20px;
    }

    .crypto-market-slider .crypto-carousel .crypto-card p{
        font-size: 14px;
    }

    .graph-container h4{
        font-size: 20px;
    }

    .onetap-container-toggle .onetap-toggle img.design-size2{
        height: 55px !important;
        width: 55px !important;
    }
}



@media (max-width: 767px) {

    .desktop{
       display: none !important;
    }

    .mobile{
        display: inline-block !important;
    }


    /*-------------- HEADER CSS ----------------*/


    header > .container {
        padding: 0 !important;
         max-width: 100% !important;
    } 

    header .navigation{
       padding-right: calc(var(--bs-gutter-x) * .5) !important;
       padding-left: calc(var(--bs-gutter-x) * .5) !important;
       padding-top: 60px !important;
    }

    header .phone-global {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      z-index: 1;
    }

    header .nav {
        height: auto;
        position: absolute;
        top: -400px;
        left: 0;
        width: 100%;
        background-color: var(--dark-color);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transition: all 0.5s ease;
        z-index: 0;
        align-items: end !important;
        justify-content: start !important;
    }

    .light-mode header .nav{
        background-color: #fff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

   /* header #theme-toggle-icon{
        top: 40px;
        left: 50px;
        position: fixed;
    }*/
    
    header .logo img{
        width: 80px !important;
    }

    header .nav.active {
        top: 100px;
    }

    header .logo {
        gap: 10px;
        width: max-content;
    }
    
    header .logo .search-bar {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    header .toggle-menu {
        display: inline-block !important;
        background: none;
        border: none;
        color: var(--color-white);
        font-size: 24px;
        cursor: pointer;
        margin-left: 10px;
    }
    
    header .navigation {
        flex-direction: row;
        gap: 15px;
        padding: 15px 0;
        padding-top: 15px !important;
    }

    header .nav li a,
    header .phone-global a{
        font-weight: 500 !important;
    }


    /*-------------- HEADER CSS ----------------*/


    /*-------------- FOOTER CSS ----------------*/

    footer .footer-nav{
        flex-direction: row;
        row-gap: 40px;
        padding-top: 40px !important;
        margin: 0 auto !important;
    }

    footer .footer-img{
        order: 1;
        width: 100%;
        margin-bottom: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    footer .footer-nav .footer-links{
        order: 2;
        padding: 0;
        width: calc(100% / 2 - 20px);
    }

    /*-------------- FOOTER CSS ----------------*/


    /*-------------- HOME BANNER ---------------*/

    .home-banner .home-article-content .home-article-image img{
        min-height: auto !important;
    }

    .home-banner .home-article-container > .row{
        gap: 40px;
    }

    .crypto-section .crypto-grid{
        row-gap: 40px;
    }

    .crypto-section .crypto-grid:first-child {
      margin-top: 60px;
    }

    .crypto-section .crypto-grid:not(:first-child) {
      margin-top: 40px;
    }

    /*-------------- HOME BANNER ---------------*/


    /*-------------- MARKET CRYPTO CSS ----------------*/

    .company-grid,
    .graph-grid {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

    /*-------------- MARKET CRYPTO CSS ----------------*/

    /*------------- Real Estate Css--------------*/
    .real-estate-section .top-section .top-box,
    .real-estate-section .top-section .top-box.half-box{
       max-width: 100%;
       flex: 0 0 100%;
    }

    .calculator-section .mortgage-calculator{
        padding: 20px;
        max-width: 100%;
    }

    .real-estate-price-section .real-estate-price-container .real-price-estate-box .home-article-text{
        width: 100%;
    }

    .real-estate-section .top-section{
        gap: 30px;
    }

    /*------------- Real Estate Css--------------*/

    .guide-page-section .frame-box{
        width: 100%;
    }

    .calculator-section .mortgage-calculator #plans .plan-fields div{
        width: 100%;
    }

    .calculator-section .mortgage-calculator #summary{
        margin-bottom: 28px;
    }

    .calculator-section .mortgage-calculator .input-fields{
       grid-template-columns: 1fr;
    }


    .market-crypto .crypto-carousel .owl-nav{
        top: -30px;
        transform: none;
    }

    .home-banner .home-article-content .home-article-text a h2{
        font-size:1.2rem;
    }
    .home-banner .home-article-content .home-article-text a{
        min-height: auto;
        margin-bottom: 10px;
    }

    .home-banner .home-article-content .home-article-image img{
        height: 200px;
    }


    .crypto-market-slider .crypto-carousel .crypto-card h2{
        font-size: 18px;
    }

    .crypto-market-slider .crypto-carousel .crypto-card p{
        font-size: 14px;
    }

    .graph-container h4{
        font-size: 20px;
    }

    .onetap-container-toggle .onetap-toggle img.design-size2{
        height: 50px !important;
        width: 50px !important;
    }
}



/*------------- Responsive Mobile -----------------*/