/* Tech Brand Logos Styling */

/* Universal Image Hover Effect */
img {
    transition: all 0.4s ease;
}

img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.brand-area-1 {
    background-color: #fcfcfc;
    padding: 80px 0;
}

.tech-brand-slider {
    padding: 20px 0;
}

.brand-box,
.tech-brand-box,
.header-logo,
.logo-top,
.card-thumb-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.header-logo img,
.logo-top img,
.card-thumb-card img {
    transition: all 0.4s ease;
}

.header-logo:hover img,
.logo-top:hover img,
.card-thumb-card:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.brand-box,
.tech-brand-box {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 30px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    margin: 10px;
    overflow: hidden;
}

.brand-box a,
.tech-brand-box a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    pointer-events: all;
}

.brand-box img,
.tech-brand-box img {
    max-width: 100%;
    max-height: 50px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
    object-fit: contain;
    pointer-events: none;
}

.brand-box:hover,
.tech-brand-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--theme-color);
    background: #ffffff;
}

.brand-box:hover img,
.tech-brand-box:hover img,
.brand-box a:hover img,
.tech-brand-box a:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {

    .brand-box,
    .tech-brand-box {
        padding: 20px;
        height: 100px;
    }

    .brand-box img,
    .tech-brand-box img {
        max-height: 40px;
    }
}

/* Branding section title enhancement */
.title-area .sec-title {
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
    margin-bottom: 20px;
}

.title-area .sec-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--theme-color);
    border-radius: 2px;
}

/* Specific styling for the brand slider row */
.brand-area-1 .row {
    position: relative;
}