/* Owner: pages/partner. Existing visual rules extracted from style.css. */
.partners-grid {
    /*display: grid;*/
    /*grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));*/
    /*gap: 30px;*/
    margin-top: 40px;
}

.partner-card:hover::before {
    transform: scaleX(1);
}

.partner-logo img {
    /*max-width: 90%;*/
    /*max-height: 90%;*/
    /*object-fit: contain;*/
    /* filter: grayscale(100%); */
    transition: all 0.3s ease;
}
.partnership-benefits {
    /* padding: 100px 0; */
    background: var(--bg-gradient);
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 45px 35px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: "";
    /* position: absolute; */
    top: -50%;
    /* left: -50%; */
    /* width: 200%; */
    /* height: 200%; */
    /* background: conic-gradient(from 0deg, #0098a426, rgb(0 129 215 / 10%), transparent); */
    /* opacity: 1; */
    /* transition: all 0.6s ease; */
    /* animation: rotate 20s linear infinite; */
}

.benefit-card:hover::before {
    opacity: 1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.benefit-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 114, 190, 0.2);
}

.benefit-icon {
    width: 90px;
    height: 90px;
    border-radius: 22px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

.benefit-icon i {
    font-size: 2.5rem;
    color: white;
}

.benefit-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.benefit-description {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.become-partner-content {
    max-width: 800px;
    margin: 0 auto;
}

.toc li {
    margin-left: 0;
}

.partner-client-frame {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    width: 95%;
    margin: 1rem auto;
    position: relative;
    overflow: hidden;
}

.partner-client-frame iframe {
    width: 100%;
    height: 250px;
}

@media only screen and (max-width: 575px) {

    .partner-client-frame {
        width: 100%;
        margin: 0;
    }
}

.partnership-benefits--hidden { display: none; }
.about-partnerships {
    background: var(--light-color);
    position: relative;
}

.about-partnerships::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../../imgs/ser-pattern.png") repeat;
    opacity: 0.03;
    z-index: 1;
}

.about-partnerships .container {
    position: relative;
    z-index: 2;
}

.partnership-content {
    padding-right: 2rem;
}

.partnership-features {
    margin: 2rem 0;
}

.partnership-features .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-color);
}

.partnership-features .feature-item i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.partnership-image {
    max-width: 100%;
    height: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.partnership-image img:hover {
    transform: scale(1.02);
}
