/* ========== Base & Layout (scoped to #page-content) ========== */
#page-content * {
    box-sizing: border-box;
}

#page-content {
    font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

#page-content main {
    text-align: center;
    min-height: 100%;
    padding-top: 30px;
}

#page-content .blur-line {
    border: none;
    height: 2px;
    background: rgba(0, 0, 0, .25);
    width: 100%;
    margin: 40px 0 0;
    filter: blur(2px);
    border-radius: 1px;
}

/* ========== Headings ========== */
#page-content .sub-heading {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.05;
    background: linear-gradient(90deg, #0b8a00, #8de38d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 6px;
}

#page-content .why-it-matters-text {
    font-size: 24px;
    font-weight: 600;
    color: #222;
}

#page-content .sub-sub-heading {
    font-size: 18px;
    font-weight: 200;
    color: #000;
    opacity: 0.9;
    margin-top: 4px;
    line-height: 1;
    margin-bottom: 2px;
}

#page-content .scroll-arrow-img {
    width: 26px;
    margin: 16px auto 0;
    opacity: .8;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0)
    }

    40% {
        transform: translateY(-5px)
    }

    60% {
        transform: translateY(-2px)
    }
}

/* ========== Modern "Glass" Card ========== */
#page-content {
    --cardBorder: rgba(0, 0, 0, .08);
    --cardGlow: 0 0 24px rgba(11, 138, 0, .08);
    --cardShadow: 0 14px 34px rgba(16, 24, 40, .08);
    --radius: 24px;
    --accent: #2bbd6e;
}

#page-content .mat-card {
    position: relative;
    border: 1px solid var(--cardBorder);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    box-shadow: var(--cardShadow), var(--cardGlow);
    padding: 28px 22px 0;
    margin: 26px auto 40px;
    max-width: 820px;
    text-align: left;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

#page-content .mat-card:hover {
    transform: translateY(0px);
    border-color: rgba(11, 138, 0, .16);
    box-shadow: 0 18px 44px rgba(16, 24, 40, .10), 0 0 28px rgba(11, 138, 0, .10);
}

/* subtle top highlight line */
#page-content .mat-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(11, 138, 0, .18), transparent);
    pointer-events: none;
}

/* ========== Title ========== */
#page-content .mat-title {
    font: 700 26px/1.18 "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-align: center;
    margin: 6px 0 18px;
    letter-spacing: .2px;
    background: linear-gradient(90deg, var(--accent), #64a16c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* small accent underline */
#page-content .mat-title::after {
    content: "";
    display: block;
    width: 76px;
    height: 2px;
    border-radius: 4px;
    margin: 12px auto 0;
    background: radial-gradient(40px 6px at 50% 50%, rgba(43, 189, 110, .45), rgba(43, 189, 110, .05));
}

/* ========== Body Copy ========== */
#page-content .mat-body {
    color: #1f242b;
    font: 400 16px/1.72 "Cabin", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    max-width: 820px;
    margin: 0 auto 14px;
}

#page-content .mat-body p {
    margin: 0 0 22px;
}

/* Bullets → cleaner, custom dots */
#page-content .mat-bullets {
    margin: 12px 0 19px;
    padding: 0;
    list-style: none;
}

#page-content .mat-bullets li {
    position: relative;
    margin: 8px 0;
    padding-left: 18px;
}

#page-content .mat-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .65em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #0b8a00;
    box-shadow: 0 0 0 3px rgba(11, 138, 0, .12);
    transform: translateY(-50%);
}

#page-content h1 {
    font-family: "Ubuntu", sans-serif;
    font-weight: 800;
    font-size: 58px;
    letter-spacing: normal;
}

#page-content h2 {
    margin: 0;
    font: 800 48px/1.06 "Playfair Display", serif;
    letter-spacing: .01em;
}

/* ========== Media strip (bottom image) ========== */
#page-content .mat-media {
    display: block;
    width: calc(100% + 44px);
    /* bleed to card edges */
    margin-left: -22px;
    margin-right: -22px;
    margin-top: 18px;
    border-top: 1px solid rgba(0, 0, 0, .06);
    border-radius: 0 0 var(--radius) var(--radius);
    overflow: hidden;
    background: linear-gradient(180deg, #f6fbf8, #eef6f2);
}

#page-content .mat-media img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    transition: transform 1.2s ease, filter .6s ease;
}

/* ========== CTA ========== */
#page-content .protect-your-journey {
    display: inline-block;
    padding: 14px 40px;
    border: 2px solid rgba(0, 0, 0, .35);
    border-radius: 40px;
    color: #0b0f17;
    font-weight: 700;
    font-size: 16px;
    background: linear-gradient(180deg, #fff, #f7faf9);
    box-shadow: 0 3px 8px rgba(0, 0, 0, .08);
    margin: 24px 0 80px;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}

#page-content .protect-your-journey:hover {
    transform: translateY(0px);
    border-color: rgba(11, 138, 0, .35);
    box-shadow: 0 10px 22px rgba(11, 138, 0, .12);
}

#page-content .content-subtitle-container {
    margin: 20px auto 0;
    max-width: 800px;
    padding: 20px 0;
    text-align: center;
}

/* ========== Scrollbar behavior ========== */
#page-content .content-wrapper::-webkit-scrollbar {
    width: 8px
}

#page-content .content-wrapper::-webkit-scrollbar-track {
    background: transparent
}

#page-content .content-wrapper::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 10px;
    transition: background .25s ease;
}

#page-content .content-wrapper.show-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .5)
}

#page-content .content-wrapper {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

#page-content .content-wrapper.show-scrollbar {
    scrollbar-color: rgba(0, 0, 0, .5) transparent;
}

/* ========== Responsive ========== */
@media (max-width:1024px) {

    #page-content main {
        padding: 20px;
    }

    #page-content .mat-media img {
        height: 240px;
    }
}

@media (max-width:600px) {
    #page-content .sub-heading {
        font-size: 28px;
        letter-spacing: 3px;
    }
    #page-content main {
        padding: 5px;
    }
    #page-content .mat-title {
        font-size: 22px;
    }

    #page-content .mat-body {
        font-size: 15px;
    }
   
    #page-content .sub-sub-heading {
        font-size: 14px;
    }
}

@media (max-width:400px) {

    #page-content .sub-heading {
        font-size: 18px;
    }

    #page-content main {
        padding: 0px;
    }

    #page-content .mat-media {
        width: calc(100% + 36px);
        margin-left: -18px;
        margin-right: -18px;
    }

    #page-content .mat-media img {
        height: 210px;
    }

    #page-content .protect-your-journey {
        font-size: 14px;
        padding: 12px 28px;
    }
}

