/************************************/
/*** Microsoft Partnership Section ***/
/************************************/

.microsoft-partnership-section {
    padding: 50px 0;
    background: transparent;
}

.ms-section-header {
    text-align: center;
    margin-bottom: 20px;
}

.ms-section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.ms-section-header p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.ms-content-box {
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 85%;
    /* Reduced width */
}

/* Background Image with White Grid Overlay for Partner Box */
.ms-partner-box {
    background:
        linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        url('../images/partnerbg.png') no-repeat center center;
    background-size: 20px 20px, 20px 20px, cover;
    border-left: 4px solid #6188F9;
    margin-right: -20px;
    /* Pull closer to image */
    position: relative;
    z-index: 2;
}

/* Background Image with White Grid Overlay for Accelerator Box */
.ms-accelerator-box {
    background:
        linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        url('../images/partnerbg.png') no-repeat center center;
    background-size: 20px 20px, 20px 20px, cover;
    border-left: 4px solid #8B5CF6;
    margin-right: -20px;
    /* Pull closer to image */
    position: relative;
    z-index: 2;
}

.ms-content-box h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.ms-content-box p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.ms-key-features {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(97, 136, 249, 0.1);
}

.ms-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.ms-feature-item:last-child {
    margin-bottom: 0;
}

.ms-feature-item i {
    color: var(--accent-color);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.ms-feature-item span {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.5;
}

.ms-image-container {
    position: relative;
    margin-left: -30px;
    /* Pull closer to cards */
}

.ms-image-container img {
    width: 80%;
    /* Reduced width */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    display: block;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .microsoft-partnership-section {
        padding: 40px 0;
    }

    .ms-section-header h2 {
        font-size: 24px;
    }

    .ms-image-container {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .microsoft-partnership-section {
        padding: 30px 0;
    }

    .ms-section-header h2 {
        font-size: 22px;
    }

    .ms-content-box {
        padding: 16px;
    }
}