.brand-area {
    position: relative;
    background-image: url(../../upload/shape.png);
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-color: #f7f8fa;
}

.pt-50 {
    padding-top: 50px !important;
}

.pb-50 {
    padding-bottom: 50px !important;
}

.brand-area .auto-container {
    max-width: 1210px;
    padding: 0 15px;
    margin: 0 auto;
}

.single-brand {
    padding: 15px 0;
    display: flex;
    justify-content: center;
}

.golge2 {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 250px;
    height: 150px;
    padding: 8px;
    margin: 0 auto;
    transition: all 0.4s ease;
    border-radius: 8px;
    box-sizing: border-box;
}

.golge2:hover {
    box-shadow: 0px 10px 25px 0px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.golge2 img {
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    transition: all 0.4s ease;
}

.single-brand:hover .golge2 img {
    transform: scale(1.05);
}

.ref-text-placeholder {
    font-weight: 700;
    font-size: 16px;
    color: var(--site-color);
    text-align: center;
    padding: 10px;
    line-height: 1.2;
}

@media (max-width: 479px) {
    .golge2 {
        max-width: 320px;
        height: 180px;
    }
}

.references-page {
    padding: 40px 0;
    background-color: #fff;
}

.reference-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.reference-item {
    flex: 0 0 calc(25% - 22.5px);
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.reference-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.reference-img-box {
    height: 150px;
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reference-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.reference-placeholder {
    height: 150px;
    width: 100%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: var(--site-color);
    margin-bottom: 15px;
    border-radius: 4px;
    text-align: center;
    padding: 15px;
    line-height: 1.2;
}

.reference-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-top: auto;
}

@media (max-width: 1200px) {
    .reference-item {
        flex: 0 0 calc(33.33% - 20px);
    }
}

@media (max-width: 768px) {
    .reference-item {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 480px) {
    .reference-item {
        flex: 0 0 100%;
    }
}