/**
 * Mercato Services Widget Styles
 */

.mercato-services-widget {
    width: 100%;
    padding-top: 2.5rem;
    direction: rtl;
}

@media (min-width: 1536px) {
    .mercato-services-widget {
        margin-top: 7.5rem;
        /* 2xl:mt-30 */
    }
}

/* ==========================================================================
   Titles
   ========================================================================== */

.ms-title {
    font-size: 1.5rem;
    /* text-2xl */
    font-weight: 700;
    color: #000;
    line-height: 1.25;
}

.ms-main-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

@media (min-width: 1536px) {
    .ms-title {
        font-size: 2.5rem;
        /* text-[40px] */
    }
}

.ms-highlight {
    display: inline-block;
    color: #D4AF37;
    border-bottom: 2px solid #D4AF37;
    line-height: 0.8;
}

/* ==========================================================================
   Container & Intro Background
   ========================================================================== */

.ms-container {
    width: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    margin-top: 1.5rem;
    padding-bottom: 5rem;
}

/* Intro Wrapper */
.ms-intro-wrapper {
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .ms-intro-wrapper {
        flex-direction: row;
        padding: 0;
    }
}

/* Image Wrapper (Overlapping) */
.ms-intro-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .ms-intro-image-wrapper {
        width: 40%;
        justify-content: flex-start;
    }
}

.ms-intro-image {
    width: 75%;
    height: auto;
    object-fit: cover;
}

@media (min-width: 768px) {
    .ms-intro-image {
        width: 100%;
        transform: translateX(5vw) translateY(-5vw);
    }
}

/* Text Content */
.ms-intro-content {
    width: 100%;
    margin-top: 1.5rem;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .ms-intro-content {
        width: 60%;
        margin-top: 0;
        transform: translateX(3vw);
        padding-top: 1px;
        padding-left: 2.5rem;
    }
}

@media (min-width: 1536px) {
    .ms-intro-content {
        padding-left: 5rem;
    }
}

.ms-intro-text {
    text-align: justify;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    margin-top: 1.25rem;
}

@media (min-width: 768px) {
    .ms-intro-text {
        font-size: 1.125rem;
        /* text-lg */
    }
}

@media (min-width: 1536px) {
    .ms-intro-text {
        font-size: 2.25rem;
        /* text-4xl */
    }
}

/* CTA Button - Custom Style matching ButtonArrow */
.ms-cta-button {
    display: inline-flex;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s;
    margin-top: 1.5rem;
}

.ms-cta-button:hover {
    opacity: 0.9;
}

.ms-btn-text {
    height: 2.5rem;
    /* 10 */
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #D4AF37;
    color: #000;
    font-weight: 500;
}

.ms-btn-icon {
    height: 2.5rem;
    padding: 0 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #282828;
}

/* ==========================================================================
   Features / Why Choose Us
   ========================================================================== */

.ms-features-wrapper {
    margin-top: 2.5rem;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .ms-features-wrapper {
        margin-top: 4rem;
        padding: 0 2.5rem;
    }
}

@media (min-width: 1536px) {
    .ms-features-wrapper {
        padding: 0 5rem;
    }
}

.ms-features-title {
    text-align: center;
}

@media (min-width: 768px) {
    .ms-features-title {
        text-align: right;
    }
}

/* Grid */
.ms-features-grid {
    width: 100%;
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    justify-items: center;
}

@media (min-width: 640px) {
    .ms-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1rem;
    }
}

@media (min-width: 1280px) {
    .ms-features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Value Card */
.ms-value-card {
    background-color: #fff;
    width: 240px;
    /* ~ w-60 */
    aspect-ratio: 1/1;
    border-radius: 40px;
    padding: 1rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ms-card-num {
    width: 3rem;
    /* 12 */
    height: 3rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #D4AF37;
    color: #000;
    font-weight: 700;
    margin-bottom: 1rem;
}

.ms-card-title {
    font-size: 1.25rem;
    /* text-xl */
    font-weight: 700;
    color: #eab308;
    /* yellow-500 approx */
    margin-bottom: 0.5rem;
}

.ms-card-desc {
    color: #6b7280;
    /* gray-500 */
    font-size: 1.125rem;
    /* text-lg */
    font-weight: 500;
    line-height: 1.625;
}