﻿
/* =========================================
   MSTS DETAIL PAGE STYLES
========================================= */

.msts-detail {
    --msts-blue: #17214f;
    --msts-green: #b3d342;
    --msts-light: #f5f7fa;
    --msts-text: #333b4d;
    --msts-muted: #687386;
    color: var(--msts-text);
    font-family: "Segoe UI", Arial, sans-serif;
}

    .msts-detail * {
        box-sizing: border-box;
    }

.detail-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* BREADCRUMB */

.detail-breadcrumb {
    padding: 16px 0;
    background: #f5f7fa;
    font-size: 13px;
}

    .detail-breadcrumb a {
        color: var(--msts-blue);
        text-decoration: none;
    }

    .detail-breadcrumb span {
        margin: 0 10px;
        color: #999;
    }

    .detail-breadcrumb strong {
        color: var(--msts-muted);
    }

/* HERO */

.detail-hero {
    background: linear-gradient( 120deg, #17214f, #263d79 );
    padding: 85px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

    .detail-hero::after {
        content: "";
        position: absolute;
        width: 350px;
        height: 350px;
        border: 60px solid rgba(179, 211, 66, 0.12);
        border-radius: 50%;
        right: -80px;
        top: -120px;
    }

.detail-hero-content {
    max-width: 780px;
    position: relative;
    z-index: 1;
}

.detail-label {
    color: #779522;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 14px;
}

.detail-hero .detail-label {
    color: var(--msts-green);
}

.detail-hero h1 {
    font-size: 44px;
    line-height: 1.2;
    margin: 0 0 20px;
    font-weight: 700;
}

.detail-hero p {
    font-size: 17px;
    line-height: 1.8;
    color: #e2e7f3;
    max-width: 700px;
}

/* BUTTONS */

.detail-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.detail-btn {
    display: inline-block;
    padding: 14px 25px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.detail-btn-primary {
    background: var(--msts-green);
    color: var(--msts-blue);
}

    .detail-btn-primary:hover {
        background: white;
        color: var(--msts-blue);
    }

.detail-btn-outline {
    color: white;
    border: 1px solid white;
}

    .detail-btn-outline:hover {
        background: white;
        color: var(--msts-blue);
    }

/* GENERAL SECTIONS */

.detail-section {
    padding: 75px 0;
}

.detail-light {
    background: var(--msts-light);
}

.detail-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.detail-content h2,
.detail-heading h2 {
    font-size: 32px;
    color: var(--msts-blue);
    line-height: 1.3;
    margin: 0 0 20px;
}

.detail-content p,
.detail-heading p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--msts-muted);
    margin-bottom: 18px;
}

.detail-image {
    width: 100%;
    min-height: 300px;
    border-radius: 12px;
    overflow: hidden;
    background: #e9edf5;
}

    .detail-image img {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 300px;
        object-fit: cover;
    }

.detail-text-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--msts-blue);
    font-weight: 700;
    text-decoration: none;
}

/* FEATURE SECTION */

.detail-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.detail-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.detail-feature-card {
    background: white;
    border: 1px solid #e7eaf0;
    border-radius: 10px;
    padding: 28px 22px;
    transition: 0.3s ease;
}

    .detail-feature-card:hover {
        transform: translateY(-5px);
        border-color: var(--msts-green);
        box-shadow: 0 10px 30px rgba(23, 33, 79, 0.08);
    }

.detail-icon {
    display: flex;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    background: #d3d5de;
    color: var(--msts-blue);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.detail-feature-card h3 {
    font-size: 18px;
    color: var(--msts-blue);
    margin: 0 0 12px;
}

.detail-feature-card p {
    color: var(--msts-muted);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

/* BENEFITS */

.detail-benefit-list {
    padding: 0;
    list-style: none;
}

    .detail-benefit-list li {
        padding: 10px 0 10px 30px;
        position: relative;
        color: var(--msts-text);
        line-height: 1.6;
    }

        .detail-benefit-list li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 10px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--msts-green);
            color: var(--msts-blue);
            text-align: center;
            line-height: 20px;
            font-weight: 700;
        }

/* CALL TO ACTION */

.detail-cta {
    background: var(--msts-blue);
    padding: 65px 20px;
    text-align: center;
    color: white;
}
    .detail-cta .detail-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
    }

    .detail-cta h2 {
        font-size: 30px;
        margin: 0 0 15px;
    }

    .detail-cta p {
        color: #d9dfed;
        font-size: 15px;
        line-height: 1.8;
        margin: 0 auto 25px;
        max-width: 650px;
    }

/* TABLET */

@media (max-width: 900px) {
    .detail-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-two-column {
        gap: 30px;
    }

    .detail-hero {
        padding: 65px 0;
    }

        .detail-hero h1 {
            font-size: 36px;
        }
}

/* MOBILE */

@media (max-width: 640px) {
    .detail-container {
        width: 92%;
    }

    .detail-section {
        padding: 50px 0;
    }

    .detail-two-column {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .detail-feature-grid {
        grid-template-columns: 1fr;
    }

    .detail-hero {
        padding: 55px 0;
    }

        .detail-hero h1 {
            font-size: 30px;
        }

        .detail-hero p {
            font-size: 15px;
        }

    .detail-content h2,
    .detail-heading h2 {
        font-size: 26px;
    }
    .detail-cta .detail-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .detail-cta h2 {
        font-size: 25px;
    }

    .detail-buttons {
        flex-direction: column;
    }

    .detail-btn {
        text-align: center;
    }

    .detail-image,
    .detail-image img {
        min-height: 220px;
    }

    .detail-breadcrumb {
        font-size: 11px;
    }
}
