@media only screen and (max-width: 329px) {
    .mean-nav ul li a.sub__btn{
     background: transparent !important;
     color: #fff !important;
    }

    .mean-nav ul li a.sub__btn{
        background: transparent !important;
        color: #fff !important;
        border-bottom: none;
        border-radius: 0px;
        /* margin-bottom: -6px; */
        height: auto;
       }

    .mean-container .mean-nav ul li {
        position: relative;
        float: left;
        width: 100%;
        margin-bottom: 8px;
    }

    .mean-nav ul li a.sub__btn:hover{
        background: transparent !important;
        color: #fff !important;
    }

    .trade-card__desc {
        font-size: 16px;
    }

    .trade-card__title {
        font-size: 22px;
    }

    .trade-card__icon span {
        width: 70px;
        height: 70px;
    }

    .trade-card__icon img {
        width: 35px;
        height: 35px;
    }

    .demat-buttons{
        justify-content: center;
        flex-wrap: wrap;
    }

    .demat-account__area {
        padding-top: 150px;
    }
    
    /* Fix for animation overlap in how-start section */
    .how-start__item {
        margin-bottom: 40px !important;
    }
    
    .how-start__icon {
        margin-bottom: 15px !important;
    }
    
    /* Disable animation on mobile to prevent overlap */
    .how-start__item:hover {
        transform: none;
    }
    
    .how-start__item:hover .how-start__icon img {
        animation: none;
    }
    
    /* Adjust spacing for better mobile view */
    .how-start__area .row.gap-5 {
        gap: 1rem !important;
    }
    
    /* Fix trade card flip animation for mobile */
    .trade-card {
        min-height: 300px;
        margin-bottom: 30px;
    }
    
    .trade-card__front,
    .trade-card__back {
        position: relative;
        height: auto;
    }
    
    .trade-card__front {
        transform: none;
        position: relative;
        display: block;
    }
    
    .trade-card__back {
        transform: none;
        position: relative;
        display: none;
    }
    
    .trade-card:hover .trade-card__front {
        transform: none;
        display: none;
    }
    
    .trade-card:hover .trade-card__back {
        transform: none;
        display: block;
    }
}

@media only screen and (min-width: 330px) and (max-width: 375px) {

    .mean-container .mean-nav ul li {
        position: relative;
        float: left;
        width: 100%;
        margin-bottom: 8px;
    }

    .mean-nav ul li a.sub__btn{
        background: transparent !important;
        color: #fff !important;
        border-bottom: none;
        border-radius: 0px;
        /* margin-bottom: -6px; */
        height: auto;
       }

    .mean-nav ul li a.sub__btn{
        background: transparent !important;
        color: #fff !important;
       }
   
       .mean-nav ul li a.sub__btn:hover{
           background: transparent !important;
           color: #fff !important;
       }

    .demat-buttons{
        justify-content: center;
        flex-wrap: wrap;
    }

    .demat-account__area {
        padding-top: 150px;
    }
    .trade-card__desc {
        font-size: 16px;
    }

    .trade-card__title {
        font-size: 22px;
    }

    .trade-card__icon span {
        width: 70px;
        height: 70px;
    }

    .trade-card__icon img {
        width: 35px;
        height: 35px;
    }
    
    /* Fix for animation overlap in how-start section */
    .how-start__item {
        margin-bottom: 40px !important;
    }
    
    .how-start__icon {
        margin-bottom: 15px !important;
    }
    
    /* Disable animation on mobile to prevent overlap */
    .how-start__item:hover {
        transform: none;
    }
    
    .how-start__item:hover .how-start__icon img {
        animation: none;
    }
    
    /* Adjust spacing for better mobile view */
    .how-start__area .row.gap-5 {
        gap: 1rem !important;
    }
    
    /* Fix trade card flip animation for mobile */
    .trade-card {
        min-height: 300px;
        margin-bottom: 30px;
    }
    
    .trade-card__front,
    .trade-card__back {
        position: relative;
        height: auto;
    }
    
    .trade-card__front {
        transform: none;
        position: relative;
        display: block;
    }
    
    .trade-card__back {
        transform: none;
        position: relative;
        display: none;
    }
    
    .trade-card:hover .trade-card__front {
        transform: none;
        display: none;
    }
    
    .trade-card:hover .trade-card__back {
        transform: none;
        display: block;
    }
}

@media only screen and (min-width: 376px) and (max-width: 480px) {

    .mean-container .mean-nav ul li {
        position: relative;
        float: left;
        width: 100%;
        margin-bottom: 8px;
    }

    .mean-nav ul li a.sub__btn{
        background: transparent !important;
        color: #fff !important;
        border-bottom: none;
        border-radius: 0px;
        /* margin-bottom: -6px; */
        height: auto;
       }

    .mean-nav ul li a.sub__btn{
        background: transparent !important;
        color: #fff !important;
       }
   
       .mean-nav ul li a.sub__btn:hover{
           background: transparent !important;
           color: #fff !important;
       }

    .demat-buttons{
        justify-content: center;
        flex-wrap: wrap;
    }

    .demat-account__area {
        padding-top: 150px;
    }
    /* Fix for animation overlap in how-start section */
    .how-start__item {
        margin-bottom: 40px !important;
    }
    
    .how-start__icon {
        margin-bottom: 15px !important;
    }
    
    /* Disable animation on mobile to prevent overlap */
    .how-start__item:hover {
        transform: none;
    }
    
    .how-start__item:hover .how-start__icon img {
        animation: none;
    }
    
    /* Adjust spacing for better mobile view */
    .how-start__area .row.gap-5 {
        gap: 1rem !important;
    }
    
    /* Fix trade card flip animation for mobile */
    .trade-card {
        min-height: 300px;
        margin-bottom: 30px;
    }
    
    .trade-card__front,
    .trade-card__back {
        position: relative;
        height: auto;
    }
    
    .trade-card__front {
        transform: none;
        position: relative;
        display: block;
    }
    
    .trade-card__back {
        transform: none;
        position: relative;
        display: none;
    }
    
    .trade-card:hover .trade-card__front {
        transform: none;
        display: none;
    }
    
    .trade-card:hover .trade-card__back {
        transform: none;
        display: block;
    }
}

@media only screen and (min-width: 481px) and (max-width: 530px) {

    .mean-container .mean-nav ul li {
        position: relative;
        float: left;
        width: 100%;
        margin-bottom: 8px;
    }

    .mean-nav ul li a.sub__btn{
        background: transparent !important;
        color: #fff !important;
        border-bottom: none;
        border-radius: 0px;
        /* margin-bottom: -6px; */
        height: auto;
       }

    .mean-nav ul li a.sub__btn{
        background: transparent !important;
        color: #fff !important;
       }
   
       .mean-nav ul li a.sub__btn:hover{
           background: transparent !important;
           color: #fff !important;
       }

    .demat-buttons{
        justify-content: center;
        flex-wrap: wrap;
    }

    .demat-account__area {
        padding-top: 150px;
    }
    /* Fix for animation overlap in how-start section */
    .how-start__item {
        margin-bottom: 30px !important;
    }
    
    /* Modify animation to be less aggressive */
    .how-start__item:hover {
        transform: translateY(-5px);
    }
    
    /* Fix trade card flip animation for mobile */
    .trade-card {
        min-height: 350px;
    }
}

@media screen and (min-width: 531px) and (max-width:767px) {

    .mean-container .mean-nav ul li {
        position: relative;
        float: left;
        width: 100%;
        margin-bottom: 8px;
    }

    .mean-nav ul li a.sub__btn{
        background: transparent !important;
        color: #fff !important;
        border-bottom: none;
        border-radius: 0px;
        /* margin-bottom: -6px; */
        height: auto;
       }

    .mean-nav ul li a.sub__btn{
        background: transparent !important;
        color: #fff !important;
       }
   
       .mean-nav ul li a.sub__btn:hover{
           background: transparent !important;
           color: #fff !important;
       }

    .demat-buttons{
        justify-content: center;
        flex-wrap: wrap;
    }

    .demat-account__area {
        padding-top: 150px;
    }
    /* Fix for animation overlap in how-start section */
    .how-start__item {
        margin-bottom: 30px !important;
    }
    
    /* Modify animation to be less aggressive */
    .how-start__item:hover {
        transform: translateY(-5px);
    }

    .mean-container .mean-nav ul li {
        position: relative;
        float: left;
        width: 100%;
        margin-bottom: 8px;
    }
}


/* I-PAD */
@media screen and (min-width: 768px) and (max-width: 991px) {

    .mean-container .mean-nav ul li {
        position: relative;
        float: left;
        width: 100%;
        margin-bottom: 8px;
    }



    .mean-nav ul li a.sub__btn{
        background: transparent !important;
        color: #fff !important;
        border-bottom: none;
        border-radius: 0px;
        /* margin-bottom: -6px; */
        height: auto;
       }
   
       .mean-nav ul li a.sub__btn:hover{
           background: transparent !important;
           color: #fff !important;
       }

    .demat-buttons{
        justify-content: center;
        flex-wrap: wrap;
    }

    .demat-account__area {
        padding-top: 150px;
    }
    /* Adjust trade cards for iPad */
    .trade-card {
        min-height: 350px;
    }
}


/* IPAD-PRO */

@media screen and (min-width: 992px) and (max-width:1199px) {}

/* 1200px To 1399px */

@media screen and (min-width: 1200px) and (max-width:1399px) {}