
@media (min-width: 1281px) {
    .top-space-margin {
        margin-top: -30px !important;
    }
}

/* Hero Section */
@media (max-width: 1600px) {
    .hero-text {
        font-size: 2.8rem !important;
    }
    .hero-content {
        padding: 15px !important;
    }
    .banking-hero {
        padding-bottom: 110px !important;
    }
}

@media (max-width: 1366px) {
    .hero-text {
        font-size: 2.5rem !important;
    }
    
    /* .action-card h3 {
        font-size: 0.9rem !important;
    } */
    
    .top-space-margin {
        margin-top: 12px !important;
    }
}

@media (max-width: 1200px) {
    .hero-text {
        font-size: 2.2rem !important;
    }
    
    .action-card {
        padding: 10px !important;
    }
    
    /* .action-card h3 {
        font-size: 0.8rem !important;
    } */
    
    .swiper-nav-buttons {
        bottom: 120px !important;
    }
}

@media (max-width: 1199px) {
    .navbar-nav {
        display: none;
    }

    .menu-btn {
        display: flex;
    }

    .side-drawer {
        display: block;
    }

    .navbar-collapse {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

    .desktop-nav {
        display: none;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -400px;
        width: 400px;
        max-width: 90%;
        height: 100vh;
        background: white;
        z-index: 2000;
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }

    .navbar-nav {
        flex-direction: column;
        height: 100%;
        overflow-y: auto;
    }

    .nav-item {
        margin: 10px 0;
    }

    .nav-link {
        padding: 10px 0;
        font-size: 1.1rem;
    }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        border: none;
        padding-left: 15px;
        margin-top: 5px;
        background: #f8f9fa;
        box-shadow: none;
    }

    .dropdown-item {
        padding: 8px 0;
    }

    .hover-box {
        width: 100%;
        font-size: 12px !important;
    }
}

/* Make sure dropdown works on hover for desktop */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    }
}

/* Tablets */
@media (max-width: 991px) {
    .hero-section {
        min-height: 400px !important;
    }
    
    .hero-text {
        font-size: 2rem !important;
        margin-bottom: 15px !important;
    }
    
    .hero-content {
        padding: 20px 10px !important;
    }
    
    /* .hero-image {
        display: none;
    } */
    
    .hero-image {
        margin-top: 20px;
        text-align: center !important;
    }
    
    .action-card {
        height: 100px !important;
        margin-bottom: 15px;
    }
    
    .swiper-nav-buttons {
        bottom: 300px !important;
    }

    .agri-do-more {
        gap: 42px !important;
    }

    .myphone-do-more1 {
        gap: 100px;
        margin-left: 1em;
    }

    .myphone-do-more2 {
        gap: 100px;
        margin-left: 1em;
    }

    .mymoney-do-more1 {
        gap: 32px;
        margin-left: 0em;
    }
    
    .mymoney-do-more2 {
        gap: 32px;
        margin-left: 0em;
        margin-top: 32px;
    }  

    .faq-container {
        flex-direction: column;
        padding: 2rem 1rem;
    }

    .faq-sidebar {
        position: static;
        margin-bottom: 2rem;
        padding-right: 0;
        width: 100%;
    }
}

@media (max-width: 840px) {
    .hero-carousel {
      min-height: 720px;
    }
  
    .hero-text {
        font-size: 1.8rem !important;
        margin-bottom: 15px !important;
    }
  
    .action-cards {
      min-height: 280px;
      margin-top: 40px;
    }

    .action-card h3 {
        font-size: 18px !important;
    }

    .swiper-nav-buttons {
        bottom: 300px !important;
    }
}
  
/* Mobile Devices */
@media (max-width: 720px) {
    .hero-section {
        min-height: 350px !important;
        /* padding-bottom: 80px !important; */
    }
    .footer-header {
        font-size: 1.75rem !important;
    }
    
    .action-cards {
        transform: none !important;
    }
    
    .action-card {
        height: 90px !important;
        margin-bottom: 10px;
        position: relative;
    }
    
    /* .action-card h3 {
        font-size: 0.7rem !important;
    } */
    
    .swiper-nav-buttons {
        /* right: 0 !important; */
        bottom: 320px !important;
        /* position: relative; */
    }

    .hero-content .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .agri-do-more {
        gap: 42px !important;
    }

    .myphone-do-more1 {
        gap: 10px;
        margin-left: 0;
    }

    .myphone-do-more2 {
        gap: 10px;
        margin-left: 0;
    }

    .circle-link {
        width: 142px;
        height: 142px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-text {
        font-size: 1.5rem !important;
    }
    
    .swiper-nav-buttons {
        bottom: 385px !important;
    }

    .action-cards {
        position: static !important;
    }

    .action-card {
        height: 80px !important;
    }
    
    .action-card h3 {
        font-size: 0.65rem !important;
    }
    
    .hero-content .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .hero-content .btn img {
        width: 18px;
        height: 18px;
    }

    .boostika-card {
        width: 100% !important;
        padding-top: 3% !important;
    }

    .boostika-card h4{
        font-size: 18px !important;
    }

    .boostika-img {
        width: 140px !important;
        /* height: 130px !important; */
    }
    .first-figure {
        width: 165px !important;
        height: 165px !important;
    }
    .second-figure {
        width: 165px !important;
        height: 165px !important;
    }
    .third-figure {
        width: 175px !important;
        height: 140px !important;
    }
    .fourth-figure {
        width: 180px !important;
        height: 300px !important;
    }
    .fourth-figure p {
        font-size: 15px !important;
    }
    
    .carousel-indicators {
        /* position: absolute; */
        bottom: -16px;
        margin-bottom: 2rem !important;
    }

    .note1 h4 {
        font-size: 32px !important;
        min-width: 210px !important;
    }

    .top-space-margin {
        margin-top: -12px !important;
    }

    /* .cover-background {
        min-height: 85vh !important;
    } */
}


/* Extra small devices */
@media (max-width: 576px) {
    .side-drawer {
        width: 320px;
    }

    .action-cards .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .hero-section {
        min-height: 350px !important;
    }
    
    .hero-text {
        font-size: 48px !important;
    }
    
    .hero-button-next,
    .hero-button-prev {
        width: 36px !important;
        height: 36px !important;
    }
    
    .hero-button-next::after,
    .hero-button-prev::after {
        font-size: 14px !important;
    }

    .hero-content .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .hero-content {
        padding: 15px !important;
    }
    
    .hero-carousel {
        padding: 10px 0 60px !important;
    }

    .hero-image {
        display: none;
    }
    
    .hero-button-next,
    .hero-button-prev {
        width: 36px !important;
        height: 36px !important;
    }
    
    .hero-button-next::after,
    .hero-button-prev::after {
        font-size: 14px !important;
    }

    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: -ms-autohiding-scrollbar;
    }
    .table {
        width: 100%;
        margin-bottom: 1rem;
        color: #212529;
        min-width: 600px;
    }
    .table th,
    .table td {
        white-space: nowrap;
        padding: 0.75rem;
        vertical-align: top;
        border-top: 1px solid #dee2e6;
    }
}


/* Small Mobile Devices */
/* @media (max-width: 480px) {
    .footer-header {
        font-size: 42px !important;
    }
    
    .hero-text {
        font-size: 30px !important;
    }
    
    .action-cards {
        left: 0;
        bottom: 0;
        margin-top: -12px;
    }
    
    .action-card {
        height: 80px !important;
    }
    
    .action-card h3 {
        font-size: 14px !important;
    }
    
    .hero-content .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .hero-content .btn img {
        width: 18px;
        height: 18px;
    }

    .hero-image {
        display: none;
    }
    
    .action-card h3 {
        font-size: 0.6rem !important;
    }
    .first-figure {
        width: 160px !important;
        height: 160px !important;
    }
    .second-figure {
        width: 165px !important;
        height: 140px !important;
    }
    .third-figure {
        width: 175px !important;
        height: 140px !important;
    }
    .fourth-figure {
        width: 180px !important;
        height: 300px !important;
    }
    .fourth-figure p{
        font-size: 15px !important;
    }
    .blog-1 {
        padding-bottom: 25px !important;
    }
    .agri-do-more {
        gap: 15px !important;
    }
} */

@media (max-width: 360px) {
    .hero-image {
        display: none;
    }
    
    .self-service-cta h1 {
        font-size: 28px !important;
    }
    
    .self-service-cta p {
        font-weight: 300 !important;
        font-size: 16px !important;
    }
    .first-figure {
        width: 160px !important;
        height: 160px !important;
    }
    .second-figure {
        width: 165px !important;
        height: 140px !important;
    }
     .third-figure {
        width: 175px !important;
        height: 140px !important;
    }
    .fourth-figure {
        width: 180px !important;
        height: 300px !important;
    }
    .fourth-figure p{
        font-size: 15px !important;
    }
    .blog-1 {
        padding-bottom: 25px !important;
    }
}


/* Action Cards Grid Adjustments */
@media (min-width: 1281px) { /* lg breakpoint */
    .container-lg-responsive {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 15px;
    }
}