/* Brands Carousel */
.brands-carousel {
    overflow: hidden;
    white-space: nowrap;
    background: var(--background-light);
    padding: 40px 0;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.02);
    border-bottom: 1px solid var(--border-color);
}

.brands-slide {
    display: inline-block;
    animation: scroll 30s linear infinite;
}

.brands-slide img {
    height: 50px;
    margin: 0 40px;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.brands-slide i {
    font-size: 3rem;
    margin: 0 40px;
    color: var(--text-muted);
    opacity: 0.5;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.brands-slide img:hover, .brands-slide i:hover {
    filter: grayscale(0%);
    opacity: 1;
    color: var(--primary-color);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(100%); }
}

/* Maintenance Section */
.maintenance-section {
    background-color: var(--primary-color);
    color: white;
    padding: 100px 20px;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.maintenance-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    z-index: 0;
}

.maintenance-section h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: white;
    position: relative;
    z-index: 1;
}

.maintenance-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.m-feature {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    max-width: 320px;
    flex: 1;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.m-feature:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.m-feature i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.m-feature h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.m-feature p {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

/* Compact supporting feature sections. */
.service-bundles-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 28px 0;
}

.service-bundles-panel article {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
    display: grid;
    gap: 10px;
    padding: 20px;
}

.service-bundles-panel i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.service-bundles-panel strong {
    color: var(--text-dark);
    font-size: 1.05rem;
    font-weight: 900;
}

.service-bundles-panel span {
    color: var(--text-muted);
    line-height: 1.75;
    font-weight: 800;
}

.service-bundles-panel a {
    color: var(--primary-color);
    font-weight: 900;
    text-decoration: none;
}

.public-portal-bridge {
    width: min(1180px, calc(100% - 32px));
    margin: 44px auto 72px;
    border-radius: 28px;
    border: 1px solid rgba(201, 154, 54, 0.22);
    background:
        radial-gradient(circle at 12% 18%, rgba(201, 154, 54, 0.18), transparent 28%),
        linear-gradient(135deg, #0f172a, #172554);
    color: #fff;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: clamp(22px, 4vw, 34px);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.2);
}

.public-portal-bridge h2 {
    color: #fff;
    margin: 0 0 10px;
    font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.public-portal-bridge p {
    color: #e3eaf4;
    line-height: 1.85;
    font-weight: 800;
    margin: 0;
}

.public-portal-bridge .btn {
    white-space: nowrap;
}

.service-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 28px;
    padding: 14px;
    border: 1px solid rgba(42, 82, 136, 0.14);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

.service-filter-bar span {
    color: var(--text-dark);
    font-weight: 900;
    margin-inline-end: 4px;
}

.service-filter-bar button {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: #fff;
    color: var(--text-dark);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    padding: 10px 15px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.service-filter-bar button:hover,
.service-filter-bar button.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-1px);
}

.service-index-card[hidden] {
    display: none !important;
}

@media (max-width: 640px) {
    .service-bundles-panel {
        grid-template-columns: 1fr;
    }

    .public-portal-bridge {
        grid-template-columns: 1fr;
        margin: 30px auto 52px;
    }

    .service-filter-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .service-filter-bar button {
        width: 100%;
    }
}

.brands-carousel {
    padding: 24px 0;
}

.brands-slide img {
    height: 38px;
    margin: 0 24px;
}

.brands-slide i {
    font-size: 2rem;
    margin: 0 24px;
}

.maintenance-section {
    padding: clamp(46px, 7vw, 68px) 18px;
    margin-top: 42px;
}

.maintenance-section h2 {
    font-size: clamp(1.45rem, 3vw, 2.05rem);
    margin-bottom: 12px;
}

.maintenance-features {
    gap: 18px;
    margin-top: 28px;
}

.m-feature {
    max-width: 280px;
    padding: 22px 18px;
    border-radius: 16px;
}

.m-feature i {
    font-size: 2rem;
    margin-bottom: 12px;
}

.m-feature h3 {
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.m-feature p {
    font-size: 0.92rem;
    line-height: 1.65;
}

