/* 
 Theme Name:   machine-child
 Theme URI:    
 Description:  
 Author:       
 Author URI:   
 Template:     vw-machine-learning
 Version:      1.0

 /* == Add your own styles below this line ==
--------------------------------------------*/
:root {
    --body-bg-color: #000000;
    --body-bg-gradient1: #000000;
    --body-bg-gradient2: #e2e8f0;
    --body-text-color: #ffffff;
    --heading-color: #ffffff;
    --hero-gradient1: #889f2c;
    --hero-gradient2: #c4c04e;
    --footer-bg-color: #0d0d0d;
    --footer-bg-gradient1: #0d0d0d;
    --footer-bg-gradient2: #1f2937;
    --link-color: #889f2c;
    --box-color: #c4c04e;
    --box-text-color: #1a1a1a;
    --header-bg-color: #ffffff;
    --font-family: system-ui;
    --nav-link-color: #141414;
    --footer-text-color: #ffffff;
    --header-text-color: #ffffffff;
}

.box-image .single-page-img {
    height: 300px;
    background-image: repeating-linear-gradient(45deg, rgba(208, 208, 208, 0.13) 0px, rgba(208, 208, 208, 0.13) 43px, rgba(195, 195, 195, 0.13) 43px, rgba(195, 195, 195, 0.13) 85px, rgba(41, 41, 41, 0.13) 85px, rgba(41, 41, 41, 0.13) 109px, rgba(88, 88, 88, 0.13) 109px, rgba(88, 88, 88, 0.13) 129px, rgba(24, 24, 24, 0.13) 129px, rgba(24, 24, 24, 0.13) 139px, rgba(92, 92, 92, 0.13) 139px, rgba(92, 92, 92, 0.13) 179px, rgba(37, 37, 37, 0.13) 179px, rgba(37, 37, 37, 0.13) 219px), repeating-linear-gradient(45deg, rgba(18, 18, 18, 0.13) 0px, rgba(18, 18, 18, 0.13) 13px, rgba(48, 48, 48, 0.13) 13px, rgba(48, 48, 48, 0.13) 61px, rgba(130, 130, 130, 0.13) 61px, rgba(130, 130, 130, 0.13) 84px, rgba(233, 233, 233, 0.13) 84px, rgba(233, 233, 233, 0.13) 109px, rgba(8, 8, 8, 0.13) 109px, rgba(8, 8, 8, 0.13) 143px, rgba(248, 248, 248, 0.13) 143px, rgba(248, 248, 248, 0.13) 173px, rgba(37, 37, 37, 0.13) 173px, rgba(37, 37, 37, 0.13) 188px), repeating-linear-gradient(45deg, rgba(3, 3, 3, 0.1) 0px, rgba(3, 3, 3, 0.1) 134px, rgba(82, 82, 82, 0.1) 134px, rgba(82, 82, 82, 0.1) 282px, rgba(220, 220, 220, 0.1) 282px, rgba(220, 220, 220, 0.1) 389px, rgba(173, 173, 173, 0.1) 389px, rgba(173, 173, 173, 0.1) 458px, rgba(109, 109, 109, 0.1) 458px, rgba(109, 109, 109, 0.1) 516px, rgba(240, 240, 240, 0.1) 516px, rgba(240, 240, 240, 0.1) 656px, rgba(205, 205, 205, 0.1) 656px, rgba(205, 205, 205, 0.1) 722px), linear-gradient(90deg, rgb(136, 159, 44), rgb(196, 192, 78)) !important;
}

.box-image .single-page-img:after {
    content: none;
}

section {
    margin: 30px 0;
}

#footer,
.main-header {
    background: #000 !important;
}

#footer {
    margin-top: 0 !important;
}

footer {
    background: #000;
    color: #fff;
    position: relative;
    overflow: hidden;
}

footer a {
    color: #c4c04e;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: .01em;

    transition: opacity .2s ease, text-decoration-color .2s ease;
}

footer a:hover,
footer a:focus-visible {
    opacity: .9;
}

footer .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    color: #c4c04e;
    background: #fff;
    font-size: 1.25rem;
    line-height: 1;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

footer .social-icon:hover,
footer .social-icon:focus-visible {
    transform: translateY(-3px);
    background: var(#c4c04e / 30%);
}

footer .small {
    font-style: italic;
    font-size: .95rem;
}

@media (max-width: 575.98px) {
    footer .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    footer .small {
        font-size: .9rem;
    }
}

.main-section-style-contrast {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: 20px;

    background:
        radial-gradient(circle at 8% 15%,
            rgba(255, 255, 255, 0.2) 0 2px,
            transparent 3px) 0 0 / 24px 24px,
        linear-gradient(125deg,
            #71851f 0%,
            #889f2c 38%,
            #aab33a 70%,
            #c4c04e 100%);

    color: #172000;

    box-shadow:
        0 18px 45px rgba(82, 99, 18, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Large decorative glow */
.main-section-style-contrast::before {
    content: "";
    position: absolute;
    z-index: -2;
    top: -140px;
    right: -100px;

    width: 360px;
    aspect-ratio: 1;
    border-radius: 50%;

    background: rgba(255, 244, 139, 0.32);
    filter: blur(8px);
}

/* Decorative curved layer */
.main-section-style-contrast::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -8%;
    bottom: -60%;
    width: 65%;
    height: 120%;

    border-radius: 50% 0 0 50%;
    transform: rotate(-12deg);

    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.2),
            rgba(196, 192, 78, 0.08));

    box-shadow:
        -30px -20px 70px rgba(255, 255, 255, 0.12),
        inset 30px 20px 70px rgba(255, 255, 255, 0.1);
}

.main-section-style-contrast h2 {
    position: relative;
    width: fit-content;
    margin-bottom: 1.4rem;

    color: #101700;
    font-weight: 800;
    letter-spacing: -0.025em;
}

/* Heading accent without a section border */
.main-section-style-contrast h2::after {
    content: "";
    display: block;
    width: 65%;
    height: 5px;
    margin-top: 0.6rem;
    border-radius: 999px;

    background: linear-gradient(90deg,
            #fff59d,
            rgba(255, 245, 157, 0));
}

.main-section-style-contrast h3 {
    color: #172000;
    font-weight: 750;
}

.main-section-style-contrast p {
    position: relative;
    line-height: 1.75;
}

.main-section-style-contrast a {
    color: #101700;
    font-weight: 700;
    text-decoration-color: rgba(255, 245, 157, 0.9);
    text-decoration-thickness: 3px;
    text-underline-offset: 0.22em;
}

.main-section-style-contrast a:hover {
    color: #fffde7;
}

.main-section-style-contrast img {
    position: relative;
    z-index: 1;

    border-radius: 16px;
    box-shadow:
        0 16px 32px rgba(46, 57, 8, 0.25),
        0 4px 10px rgba(46, 57, 8, 0.18);

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

.main-section-style-contrast img:hover {
    transform: translateY(-4px) rotate(-1deg);
    box-shadow:
        0 22px 42px rgba(46, 57, 8, 0.3),
        0 6px 12px rgba(46, 57, 8, 0.2);
}

@media (max-width: 767.98px) {
    .main-section-style-contrast {
        border-radius: 16px;
    }

    .main-section-style-contrast::before {
        width: 240px;
        top: -100px;
        right: -100px;
    }

    .main-section-style-contrast::after {
        opacity: 0.6;
    }
}

@media (prefers-reduced-motion: reduce) {
    .main-section-style-contrast img {
        transition: none;
    }

    .main-section-style-contrast img:hover {
        transform: none;
    }
}

.main-section-style-bordered {
    --section-accent: #889f2c;
    --section-highlight: #c4c04e;
    --section-text: #2c311d;

    position: relative;
    isolation: isolate;
    padding: clamp(1.75rem, 4vw, 3rem);
    margin: 2rem 0;

    border: 2px solid var(--section-accent);
    border-radius: 4px 22px 4px 22px;

    background:
        linear-gradient(90deg,
            rgba(136, 159, 44, 0.06) 1px,
            transparent 1px),
        linear-gradient(rgba(136, 159, 44, 0.06) 1px,
            transparent 1px),
        linear-gradient(145deg,
            #ffffff 0%,
            #fbfced 55%,
            #f3f5dc 100%);

    background-size:
        28px 28px,
        28px 28px,
        100% 100%;

    color: var(--section-text);

    box-shadow:
        10px 10px 0 rgba(196, 192, 78, 0.28),
        18px 18px 40px rgba(72, 84, 25, 0.12);
}

/* Inner frame */
.main-section-style-bordered::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 9px;

    border: 1px solid rgba(136, 159, 44, 0.28);
    border-radius: 2px 15px 2px 15px;

    pointer-events: none;
}

/* Decorative corner blocks */
.main-section-style-bordered::after {
    content: "";
    position: absolute;
    top: -7px;
    right: 32px;

    width: 72px;
    height: 13px;
    border-radius: 999px;

    background: linear-gradient(90deg,
            var(--section-accent),
            var(--section-highlight));

    box-shadow:
        -88px 0 0 -3px var(--section-highlight),
        0 7px 18px rgba(136, 159, 44, 0.25);
}

/* Heading panel */
.main-section-style-bordered h2 {
    position: relative;
    width: fit-content;
    max-width: 100%;

    margin: 0 0 1.75rem;
    padding: 0.8rem 1.4rem 0.8rem 1.65rem;

    border: 1px solid rgba(136, 159, 44, 0.42);
    border-radius: 2px 14px 2px 14px;

    background: linear-gradient(110deg,
            rgba(136, 159, 44, 0.14),
            rgba(196, 192, 78, 0.22));

    color: #35400f !important;
    font-weight: 800;
    letter-spacing: -0.025em;

    box-shadow:
        5px 5px 0 rgba(136, 159, 44, 0.12),
        inset 4px 0 0 var(--section-accent);
}

.main-section-style-bordered h3 {
    position: relative;
    margin-top: 1.75rem;
    padding-left: 1.5rem;
    color: #455315 !important;
    font-weight: 750;
}

/* Diamond heading marker */
.main-section-style-bordered h3::before {
    content: "";
    position: absolute;
    top: 0.4em;
    left: 0;

    width: 10px;
    height: 10px;

    background: var(--section-highlight);
    box-shadow: 3px 3px 0 var(--section-accent);
    transform: rotate(45deg);
}

.main-section-style-bordered p {
    position: relative;
    line-height: 1.75;
    color: var(--body-bg-color) !important;
}

/* Highlighted first paragraph */
.main-section-style-bordered>p:first-of-type {
    padding-left: 1.25rem;
}

.main-section-style-bordered>p:first-of-type::before {
    content: "";
    position: absolute;
    top: 0.3em;
    bottom: 0.3em;
    left: 0;

    width: 3px;
    border-radius: 999px;

    background: linear-gradient(to bottom,
            var(--section-accent),
            var(--section-highlight));
}

.main-section-style-bordered img {
    position: relative;
    z-index: 1;

    outline: 2px solid rgba(136, 159, 44, 0.45);
    border-radius: 3px 18px 3px 18px;

    background: #ffffff;

    box-shadow:
        7px 7px 0 rgba(196, 192, 78, 0.32),
        0 15px 30px rgba(52, 65, 13, 0.16);

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

.main-section-style-bordered img:hover {
    transform: translate(-3px, -3px);

    box-shadow:
        11px 11px 0 rgba(196, 192, 78, 0.4),
        0 20px 38px rgba(52, 65, 13, 0.2);
}

.main-section-style-bordered a {
    color: #687b1f;
    font-weight: 700;
    text-decoration-color: var(--section-highlight);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.22em;
}

.main-section-style-bordered a:hover {
    color: #46550f;
}

@media (max-width: 767.98px) {
    .main-section-style-bordered {
        padding: 1.5rem;
        border-radius: 4px 16px 4px 16px;

        box-shadow:
            6px 6px 0 rgba(196, 192, 78, 0.25),
            12px 12px 28px rgba(72, 84, 25, 0.1);
    }

    .main-section-style-bordered::before {
        inset: 6px;
    }

    .main-section-style-bordered::after {
        right: 22px;
        width: 52px;
    }

    .main-section-style-bordered h2 {
        padding: 0.7rem 1rem 0.7rem 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .main-section-style-bordered img {
        transition: none;
    }

    .main-section-style-bordered img:hover {
        transform: none;
    }
}

.main-section-style-soft {
    position: relative;
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 16px;

    background:
        radial-gradient(circle at 100% 0%,
            rgba(196, 192, 78, 0.13),
            transparent 35%),
        radial-gradient(circle at 0% 100%,
            rgba(136, 159, 44, 0.09),
            transparent 38%),
        linear-gradient(145deg,
            #c7c7c7 0%,
            #b8b8b8 100%);

    color: var(--body-bg-color) !important;

    box-shadow:
        0 16px 38px rgba(15, 23, 42, 0.08),
        0 3px 10px rgba(136, 159, 44, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);

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

.main-section-style-soft:hover {
    transform: translateY(-2px);

    box-shadow:
        0 20px 45px rgba(15, 23, 42, 0.1),
        0 5px 14px rgba(136, 159, 44, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.main-section-style-soft h2 {
    margin-bottom: 1.25rem;
    color: var(--body-bg-color) !important;
    letter-spacing: -0.02em;
}

.main-section-style-soft h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 0.65rem;
    border-radius: 999px;

    background: linear-gradient(90deg,
            #889f2c,
            #c4c04e);
}

.main-section-style-soft h3 {
    margin-top: 1.5rem;
    color: #687b1f;
    color: var(--body-bg-color) !important;
}

.main-section-style-soft p {
    line-height: 1.75;
    color: var(--body-bg-color) !important;
}

.main-section-style-soft img {
    border-radius: 12px;

    box-shadow:
        0 10px 24px rgba(15, 23, 42, 0.1),
        0 2px 6px rgba(136, 159, 44, 0.08);
}

.main-section-style-soft a {
    color: #687b1f;
    font-weight: 600;
    text-decoration-color: rgba(136, 159, 44, 0.4);
    text-underline-offset: 0.2em;

}

.main-section-style-soft a:hover {
    color: #889f2c;
}

@media (max-width: 767.98px) {
    .main-section-style-soft {
        padding: 1.5rem;
        border-radius: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .main-section-style-soft {
        transition: none;
    }

    .main-section-style-soft:hover {
        transform: none;
    }
}

.main-section-style-h3-list .box {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    height: 100%;
    padding: 1.6rem 1.75rem 1.6rem 2rem;
    border-radius: 16px;

    background:
        radial-gradient(circle at 100% 0%,
            rgba(196, 192, 78, 0.16),
            transparent 34%),
        linear-gradient(135deg,
            #ffffff 0%,
            #fafbf3 100%);

    color: var(--body-text-color);

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.08),
        0 3px 8px rgba(136, 159, 44, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);

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

/* Soft decorative glow */
.main-section-style-h3-list .box::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -70px;
    right: -70px;

    width: 165px;
    height: 165px;
    border-radius: 50%;

    background: rgba(136, 159, 44, 0.1);
    filter: blur(5px);
}

/* Decorative side accent */
.main-section-style-h3-list .box::after {
    content: "";
    position: absolute;
    top: 1.6rem;
    bottom: 1.6rem;
    left: 0;

    width: 5px;
    border-radius: 0 999px 999px 0;

    background: linear-gradient(to bottom,
            #889f2c,
            #c4c04e);

    box-shadow: 4px 0 14px rgba(136, 159, 44, 0.18);

    transition:
        width 0.25s ease,
        bottom 0.25s ease,
        top 0.25s ease;
}

.main-section-style-h3-list .box h3 {
    margin: 0 0 0.8rem;
    color: #4f6014;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Heading accent */
.main-section-style-h3-list .box h3::after {
    content: "";
    display: block;

    width: 44px;
    height: 3px;
    margin-top: 0.6rem;
    border-radius: 999px;

    background: linear-gradient(90deg,
            #889f2c,
            #c4c04e);

    transition: width 0.25s ease;
}

.main-section-style-h3-list .box p {
    margin-bottom: 0;
    line-height: 1.75;
    color: var(--body-bg-color) !important;
}

.main-section-style-h3-list .box:hover {
    transform: translateY(-4px);

    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.11),
        0 5px 14px rgba(136, 159, 44, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.main-section-style-h3-list .box:hover::after {
    top: 1rem;
    bottom: 1rem;
    width: 7px;
}

.main-section-style-h3-list .box:hover h3::after {
    width: 72px;
}

@media (max-width: 575.98px) {
    .main-section-style-h3-list .box {
        padding: 1.4rem 1.4rem 1.4rem 1.75rem;
        border-radius: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .main-section-style-h3-list .box,
    .main-section-style-h3-list .box::after,
    .main-section-style-h3-list .box h3::after {
        transition: none;
    }

    .main-section-style-h3-list .box:hover {
        transform: none;
    }
}

.main-section-style-h3-grid .box {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    height: 100%;
    padding: 1.6rem;
    border: 1px solid color-mix(in srgb,
            var(--link-color) 26%,
            transparent);
    border-radius: 16px;

    background:
        radial-gradient(circle at 100% 0%,
            color-mix(in srgb, var(--link-color) 16%, transparent),
            transparent 38%),
        linear-gradient(145deg,
            color-mix(in srgb, var(--box-color) 96%, #ffffff),
            var(--box-color));

    color: var(--box-text-color, var(--body-text-color));

    box-shadow:
        0 14px 32px rgba(15, 23, 42, 0.08),
        0 3px 8px rgba(136, 159, 44, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

/* Decorative corner glow */
.main-section-style-h3-grid .box::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -75px;
    right: -75px;

    width: 175px;
    height: 175px;
    border-radius: 50%;

    background: color-mix(in srgb,
            var(--link-color) 14%,
            transparent);

    filter: blur(3px);
}

/* Bottom accent */
.main-section-style-h3-grid .box::after {
    content: "";
    position: absolute;
    right: 1.6rem;
    bottom: 0;
    left: 1.6rem;

    height: 4px;
    border-radius: 999px 999px 0 0;

    background: linear-gradient(90deg,
            transparent,
            #889f2c,
            #c4c04e,
            transparent);

    transform: scaleX(0.45);
    transform-origin: center;

    transition: transform 0.3s ease;
}

.main-section-style-h3-grid .box h3 {
    position: relative;
    margin: 0 0 1rem;
    padding-bottom: 0.85rem;

    color: var(--body-text-color) !important;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Small heading marker */
.main-section-style-h3-grid .box h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;

    width: 42px;
    height: 3px;
    border-radius: 999px;

    background: linear-gradient(90deg,
            #889f2c,
            #c4c04e);

    transition: width 0.3s ease;
}

.main-section-style-h3-grid .box p {
    position: relative;
    margin-bottom: 0;
    line-height: 1.7;
}

.main-section-style-h3-grid .box:hover {
    transform: translateY(-5px);

    border-color: color-mix(in srgb,
            var(--link-color) 55%,
            transparent);

    box-shadow:
        0 20px 42px rgba(15, 23, 42, 0.12),
        0 6px 16px rgba(136, 159, 44, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.main-section-style-h3-grid .box:hover::after {
    transform: scaleX(1);
}

.main-section-style-h3-grid .box:hover h3::after {
    width: 75px;
}

/* Adds visual variety across the grid */
.main-section-style-h3-grid .col-xl-6:nth-child(even) .box {
    background:
        radial-gradient(circle at 0% 100%,
            color-mix(in srgb, #c4c04e 15%, transparent),
            transparent 38%),
        linear-gradient(145deg,
            var(--box-color),
            color-mix(in srgb, var(--box-color) 95%, #ffffff));
}

@media (max-width: 767.98px) {
    .main-section-style-h3-grid .box {
        padding: 1.4rem;
        border-radius: 14px;
    }

    .main-section-style-h3-grid .box:hover {
        transform: translateY(-3px);
    }
}

@media (prefers-reduced-motion: reduce) {

    .main-section-style-h3-grid .box,
    .main-section-style-h3-grid .box::after,
    .main-section-style-h3-grid .box h3::after {
        transition: none;
    }

    .main-section-style-h3-grid .box:hover {
        transform: none;
    }
}

h1 {
    font-size: clamp(2rem, 4vw, 2.5rem) !important;
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2rem) !important;
}

h3 {
    font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
}

ul li {
    color: var(--body-text-color);
}