 :root {
    --primary-color: #59427e;
    --primary-light: #7c6a9f;
    --primary-dark: #3d2d5c;
    --accent-color: #ff6b6b;
    --light-bg: #f8f9fa;
}

.brands-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.brand-tag {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(89, 66, 126, 0.2);
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}



.section-subtitle {
    font-size: 1.4rem;
    color: var(--primary-dark);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.brands-container {
    position: relative;
    z-index: 2;
}

.brand-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(89, 66, 126, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    padding-top: 70px;
    position: relative;
}

.brand-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(89, 66, 126, 0.25);
}

.brand-logo.top-logo {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(89, 66, 126, 0.2);
    z-index: 2;
    transition: all 0.4s ease;
}

.brand-logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.brand-card:hover .brand-logo {
    transform: translateX(-50%) scale(1.1);
}

.brand-content {
    padding: 30px;
    text-align: center;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.brand-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

.brand-btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(89, 66, 126, 0.3);
}

.brand-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(89, 66, 126, 0.4);
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    color: white;
}

/* Floating Background Elements */
.pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 1;
    background-image: radial-gradient(var(--primary-color) 1px, transparent 1px);
    background-size: 30px 30px;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-light), var(--accent-color));
    opacity: 0.1;
    z-index: 0;
}

.floating-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation: float 15s infinite ease-in-out;
}

.floating-2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    right: 5%;
    animation: float 12s infinite ease-in-out;
    animation-delay: 2s;
}
.floating-3 {
    width: 300px;
    height: 300px;
   
    right: 5%;
    animation: float 12s infinite ease-in-out;
    animation-delay: 2s;
}
.floating-4 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: 5%;
    animation: float 12s infinite ease-in-out;
    animation-delay: 2s;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(20px, 20px); }
    50% { transform: translate(-20px, 10px); }
    75% { transform: translate(10px, -20px); }
}

/* Responsive */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.3rem;
    }

    .section-subtitle {
        font-size: 1.2rem;
    }
}
