/* Desktop Style Settings & Grid alternating widths */
.mas-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.mas-section-item {
    display: grid;
    align-items: center;
    gap: 60px;
}

/* Alternate order & grid ratios */
.mas-section-item:nth-child(odd) {
    grid-template-columns: 3fr 2fr; /* Left 60%, Right 40% */
}
.mas-section-item:nth-child(odd) .mas-text-col {
    order: 1;
}
.mas-section-item:nth-child(odd) .mas-image-col {
    order: 2;
}

.mas-section-item:nth-child(even) {
    grid-template-columns: 2fr 3fr; /* Left 40%, Right 60% */
}
.mas-section-item:nth-child(even) .mas-image-col {
    order: 1;
}
.mas-section-item:nth-child(even) .mas-text-col {
    order: 2;
}

/* Image styling */
.mas-image-wrapper {
    overflow: hidden;
    width: 100%;
    height: auto;
    display: block;
}

.mas-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 300ms ease;
}

.mas-image-wrapper:hover .mas-img {
    transform: scale(1.03);
}

/* Typography styles */
.mas-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 42px;
    line-height: 1.2;
    color: #1F2937;
    margin: 0 0 24px 0;
}

.mas-description {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #4B5563;
    margin-bottom: 24px;
}

.mas-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mas-bullet-item {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #4B5563;
}

.mas-bullet-key {
    font-weight: 700;
}

.mas-bullet-val {
    font-weight: 400;
}

/* Animation triggers */
.mas-animate-on-scroll .mas-image-col {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.mas-animate-on-scroll .mas-text-col {
    opacity: 0;
    transition: opacity 700ms ease;
    transition-delay: 200ms;
}

/* When active */
.mas-animate-on-scroll.is-visible .mas-image-col {
    opacity: 1;
    transform: translateY(0);
}

.mas-animate-on-scroll.is-visible .mas-text-col {
    opacity: 1;
}

/* Responsive view overrides */
@media (max-width: 1024px) {
    .mas-wrapper {
        padding: 40px 15px;
        gap: 60px;
    }
    .mas-section-item,
    .mas-section-item:nth-child(odd),
    .mas-section-item:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .mas-image-col {
        order: 1 !important;
        margin-bottom: 24px;
    }
    .mas-text-col {
        order: 2 !important;
    }
    .mas-title {
        font-size: 32px;
        margin-bottom: 16px;
    }
    .mas-description {
        margin-bottom: 16px;
    }
}
