/* Microsoft 365 Intro Description */
.m365-intro-description {
    text-align: center;
    max-width: 81.25rem;
    margin: 0 auto 2.5rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #505050;
}

/*  MICROSOFT 365 REDESIGN: KEY FEATURES SECTION */
.m365-features-section {
    background-color: #ffffff;
    padding: 3.75rem 0;
}

.m365-features-frame {
    max-width: 75rem;
    margin: 0 auto;
    padding: 2.5rem 1.25rem;
    border-radius: 0.625rem;
}

.m365-features-header {
    text-align: center;
    margin-bottom: 50px;
}

.m365-features-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #3AB2EA, #2B3D91);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.9375rem;
}

.m365-features-header p {
    font-size: 1rem;
    color: #505050;
    max-width: 50rem;
    margin: 0 auto;
    line-height: 1.6;
}

.m365-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.m365-feature-card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.875rem;
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.m365-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(43, 61, 145, 0.15);
}

.m365-feature-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.m365-feature-icon {
    width: 2.8125rem;
    height: 2.8125rem;
    background: #ffffff;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.m365-feature-icon img {
    width: 1.5625rem;
    height: 1.5625rem;
}

.m365-feature-header-row h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000000;
    margin: 0;
}

.m365-feature-card.highlight-border .m365-feature-header-row h3,
.m365-feature-card.m365-highlight-card .m365-feature-header-row h3 {
    color: #000000;
}

.m365-feature-content p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.6;
    margin-top: 0.625rem;
}

@media (max-width: 992px) {
    .m365-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .m365-features-grid {
        grid-template-columns: 1fr;
    }

    .m365-features-header h2 {
        font-size: 1.75rem;
    }
}

/*  MICROSOFT 365: WHY CHOOSE BITSWARE PARTNER SECTION (2x2) */
.m365-partner-section {
    width: 100%;
    max-width: 77.4375rem;
    margin: 3.75rem auto 1.25rem;
    padding: 1.25rem 1.25rem;
}

.m365-partner-heading {
    text-align: center;
    color: #008ACF;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    margin-top: 0;
}

.m365-partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.875rem;
    max-width: 62.5rem;
    margin: 0 auto;
}

.m365-partner-card {
    background: #FFFFFF;
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.05);
    border: 0.0625rem solid #f0f0f0;
    min-height: 7.5rem;
}

.m365-partner-card img {
    width: 2.8125rem;
    height: 2.8125rem;
    object-fit: contain;
    flex-shrink: 0;
}

.m365-partner-content {
    display: flex;
    flex-direction: column;
}

.m365-partner-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.m365-partner-content p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .m365-partner-grid {
        grid-template-columns: 1fr;
    }
}

/*MICROSOFT 365 REDESIGN: PRICING SECTION & COPILOT BUTTON*/

/* Reduced width button for Copilot section */
.btn-m365-copilot {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1.875rem;
    border: 1.5px solid #2655A5;
    border-radius: 0.5rem;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #2655A5;
    text-decoration: none;
    width: fit-content;
    margin-top: 1.25rem;
}

.btn-m365-copilot:hover {
    background: linear-gradient(90deg, #0078D4 0%, #00188F 100%);
    color: #ffffff;
    text-decoration: none;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.2);
}



.m365-highlight-card {
    border-radius: 1.25rem;
    padding: 1.75rem;
    background: #ffffff;
    position: relative;
    border: 0.1875rem solid transparent;
    background: linear-gradient(white, white) padding-box,
        linear-gradient(90deg,
            #199fd7 0%,
            #8a50d8 25%,
            #ee5091 50%,
            #fc7942 75%,
            #99bd3c 100%) border-box;
    box-shadow: 0 0 0.9375rem rgba(0, 120, 212, 0.15),
        0 0 0.9375rem rgba(255, 140, 0, 0.1);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.m365-highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(138, 80, 216, 0.25);
}

.m365-highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 120, 212, 0.25);
}

.m365-highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(43, 61, 145, 0.15);
}

@media (max-width: 900px) {
    .m365-highlight-card {
        padding: 1.25rem;
        border-width: 0.125rem;
    }
}

/* MICROSOFT 365 KEY FEATURES - PASTEL COLORS */
.m365-feature-card:nth-child(1) {
    background-color: #fff2cc;
}

.m365-feature-card:nth-child(2) {
    background-color: #d1f2eb;
}

.m365-feature-card:nth-child(3) {
    background-color: #cfeafd;
    /* Brighter Purple */
}

.m365-feature-card:nth-child(4) {
    background-color: #ffffff;
    /* white */
}

.m365-feature-card:nth-child(5) {
    background-color: #fce4ec;
    /* Peach */
}

.m365-feature-card:nth-child(6) {
    background-color: #ffe5cc;
    /* Mint */
}

/* MICROSOFT 365 KEY FEATURES - PASTEL COLORS */
.m365-feature-card.highlight-border {
    background: #ffffff;
    position: relative;
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
        linear-gradient(90deg, #4796E3, #CA6673, #9177C7) border-box;
    box-shadow: 0 0 15px rgba(71, 149, 227, 0),
        0 0 15px rgba(202, 102, 115, 0.2),
        0 0 15px rgba(145, 119, 199, 0.2);
}

.m365-copilot-card {
    background: #F3F3F3 !important;
    background-image: none !important;
}

/* MICROSOFT 365: PRICING SECTION */
.m365-pricing-wrapper {
    padding: 4.375rem 0;
    background: #F4F4F4;
}

.m365-pricing-container {
    max-width: 100rem;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.m365-pricing-heading {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    background: linear-gradient(90deg, #3AB2EA, #2B3D91);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.m365-pricing-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #505050;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.m365-pricing-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    width: 100%;
    margin: 0;
}

.m365-pricing-card {
    flex: 1 1 20rem;
    max-width: 21.25rem;
    min-height: 34.375rem;
    height: auto;
    background: #FFFFFF;
    border: 0.125rem solid rgba(196, 196, 196, 0.75);
    border-radius: 1rem;
    padding: 1.5rem 1.125rem 1.75rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.m365-pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(43, 61, 145, 0.15);
}

.m365-pricing-card.active {
    background: linear-gradient(180deg, #2BABE1 0%, #879FF3 100%);
    border: 3px solid #008ACF;
}

.m365-plan-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #008ACF;
    margin-bottom: 1rem;
}

.m365-pricing-card.active .m365-plan-title {
    color: #FFFFFF;
    font-weight: 700;
}

.m365-price-bar {
    background: #008ACF;
    color: #FFFFFF;
    width: calc(100% + 2.25rem);
    margin-left: -1.125rem;
    min-height: 2.8125rem;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    font-weight: 400;
}

.m365-price-bar.white {
    background: #FFFFFF;
    color: #008ACF;
}

.m365-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.m365-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.125rem;
    font-size: 0.875rem;
    color: #000000;
}

.m365-features li::before {
    content: "✓";
    min-width: 1.375rem;
    height: 1.375rem;
    background: #97DCFF;
    color: #008ACF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: bold;
    flex-shrink: 0;
}

.m365-pricing-card.active .m365-features li {
    color: #FFFFFF;
}

.m365-pricing-card.active .m365-features li::before {
    background: #FFFFFF;
    color: #008ACF;
}

.m365-btn-outline,
.m365-btn-white {
    display: inline-block;
    width: 8.75rem;
    height: 2.625rem;
    align-self: center;
    border: 1.5px solid #2655A5;
    background: #FFFFFF;
    color: #2655A5;
    font-size: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    padding: 0.625rem 1.5rem;
    text-decoration: none;
    text-align: center;
}

.m365-btn-outline:hover,
.m365-btn-white:hover {
    background: linear-gradient(90deg, #2BACE2 0%, #2A3C90 100%);
    color: #ffffff;
    text-decoration: none;
    border-color: transparent;
}