/* Responsive grid layout */
@media (min-width: 992px) {
    /* Desktop: 3 in a row */
    .integration-item {
        width: 33.333%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    /* Tablet: 2 in a row */
    .integration-item {
        width: 50%;
    }
}

@media (max-width: 767px) {
    /* Mobile: 1 in a row */
    .integration-item {
        width: 100%;
    }
    
    /* Hide announcement bar on mobile */
    .announcement-bar {
        display: none;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .card-body {
        padding: 15px;
        padding-top: 35px;
    }
    
    .card-body h5 {
        font-size: 1rem;
    }
    
    .card-body p {
        font-size: 0.85rem;
    }
    
    .integration-logo {
        width: 60px;
        height: 60px;
        top: 125px;
        right: 15px;
    }
    
    .mobile-filter-toggle {
        display: none;
    }
    
    .sidebar {
        display: none;
    }
    
    .mobile-search-container {
        display: flex;
        margin-bottom: 20px;
        padding: 0 15px;
    }
    
    .mobile-search-input {
        flex: 1;
        border-radius: 30px;
        padding: 10px 15px;
        border: 1px solid var(--border-color);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }
    
    .mobile-filter-btn {
        margin-right: 10px;
        border-radius: 30px;
        width: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--primary-color);
        color: white;
        border: none;
    }
    
    .mobile-filter-popup {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        background-color: rgba(255, 255, 255, 0.98);
        z-index: 1050;
        overflow-y: auto;
        padding: 20px;
    }
    
    .mobile-filter-popup.active {
        display: block;
    }
    
    .mobile-popup-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .mobile-popup-title {
        font-weight: 600;
        font-size: 1.2rem;
    }
    
    .mobile-popup-close {
        font-size: 1.2rem;
        color: #777;
        cursor: pointer;
    }
    
    .mobile-filter-section {
        margin-bottom: 25px;
    }
    
    .mobile-filter-section-title {
        font-weight: 500;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
    }
    
    .mobile-filter-section-title i {
        color: var(--primary-color);
        margin-left: 8px;
    }
    
    .mobile-filter-apply {
        position: sticky;
        bottom: 20px;
        width: 100%;
        padding: 12px;
        font-weight: 500;
        border-radius: 8px;
        margin-top: 30px;
    }
}
