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

 /* == Add your own styles below this line ==
--------------------------------------------*/
:root {
    --color1: #ec00ff;
    --color2: #00ddff;
}

a:focus {
    outline: none !important;
}

.main-header {
    background: #fff !important;
}

.main-navigation .current_page_item>a,
.main-navigation .current-menu-item>a {
    color: var(--color1) !important;
}

.main-navigation .menu>li>a {
    color: #000;
}

.main-navigation ul .menu-item.menu-item-has-children a:after,
.main-navigation ul .page_item.page_item_has_children a:after {
    color: #000;
}

.main-navigation .menu>li>a:hover {
    color: #000;
}

.main-navigation ul.sub-menu>li>a:hover {
    background-color: var(--color1);
}

.box-image .single-page-img {
    background-image: url("/wp-content/themes/vw-child/img/hero-bg.jpg") !important;
    height: 200px !important;
}

.box-image .single-page-img:after {
    opacity: 0.3 !important;
    height: 200px;
}

#maincontent {
    background: #000;
}

section {
    padding: 30px 0;
}

section p,
section ul,
section ol {
    color: #fff !important;
}

section h2 {
    text-align: center;
    font-weight: 700;
    background: linear-gradient(90deg, var(--color1), var(--color2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow:
        0 0 10px var(--color1),
        0 0 20px var(--color1),
        0 0 30px var(--color2),
        0 0 40px var(--color2);
}

section h3 {
    color: var(--color2);
}

section img {
    outline: var(--color1) 3px solid;
    box-shadow:
        0 0 10px var(--color1),
        0 0 20px var(--color1),
        0 0 30px var(--color2),
        0 0 40px var(--color2);
    transition: 0.3s ease-in-out;
}

#sidebar .widget {
    position: relative;
    border: 0px !important;
    overflow: hidden;
    border-radius: 25px;
    z-index: 1;
}

#sidebar .widget::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 3px;
    /* border thickness */
    background: linear-gradient(135deg, var(--color1), var(--color2));
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

#sidebar .widget_nav_menu::before {
    background: none;
}

#sidebar h2:before {
    background: var(--color1) !important;
}

#sidebar ul.sub-menu {
    margin-left: 20px;
}

#sidebar ul li::before {
    background: var(--color2) !important;
}

#footer {
    margin-top: 0;
    background: #00DDFF;
    background: linear-gradient(90deg, rgba(0, 221, 255, 1) 0%, rgba(236, 0, 255, 1) 100%);
}

input[type="email"] {
    margin-bottom: 0;
}

[type=submit] {
    padding: 10px;
    background: var(--color1);
    color: #fff;
}

.footer-social .social-icon {
    font-size: 1.5rem;
    margin: 0 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--link-color);
    width: 40px;
    height: 40px;
    line-height: 40px;
    border: 2px solid #fff;
    border-radius: 50%;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.footer-social .social-icon:hover {
    transform: scale(1.2) rotate(-10deg);
    background: var(--link-color);
    color: #fff;
}

#footer-2 {
    background: #00DDFF;
    background: linear-gradient(90deg, rgba(0, 221, 255, 1) 0%, rgba(236, 0, 255, 1) 100%);
}

.scrollup .bi::before,
.scrollup [class*=" bi-"]::before {
    position: relative;
    top: -5px;
}

:root {
    --color1: #ec00ff;
    --color2: #00ddff;
}

.blog-box {
    background: #0a0a0a;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border 0.35s ease;
    position: relative;
    height: 100%;
    box-shadow:
        0 0 15px var(--color1),
        0 0 25px var(--color2),
        0 0 60px rgba(255, 255, 255, 0.15);
}

.blog-box:hover {
    transform: translateY(-6px);

    border-color: var(--color2);
}

.blog-box img {
    outline: none;
    box-shadow: none;
    border-radius: 25px;
}

.blog-box h2 {
    margin: 20px;
    line-height: 1.3;
    text-shadow: 0 0 8px var(--color1);
}

.blog-box h2 a {
    color: #fff !important;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    font-weight: 600;
}

.blog-box h2 a:hover {
    color: var(--color1);
    text-shadow: none;
}

.blog-box p {
    color: #ddd;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 20px 20px;
    opacity: 0.85;
}

.blog-box>a,
.field-wrap input[type=submit],
.more-btn a {
    display: inline-block;
    margin: 0 20px;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    background: linear-gradient(135deg, var(--color1), var(--color2));
    color: #000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-box>a:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 10px var(--color1), 0 0 15px var(--color2);
}


.box {
    position: relative;
    padding: 15px;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--color2);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.7);
    color: var(--color2);
    animation: boxFloat 6s ease-in-out infinite;
    height: 100%;
}

.box::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: conic-gradient(var(--color1),
            var(--color2),
            var(--color1));
    opacity: 0.25;
    animation: spinGradient 16s linear infinite;
    z-index: -2;
}

.box::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle at center, var(--color2), var(--color1));
    opacity: 0.35;
    filter: blur(6px);
    animation: floatOrb 10s ease-in-out infinite;
    z-index: -1;
}

.box h3 {
    margin: 0 0 10px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--color1), var(--color2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    text-shadow: 0px 8px 20px #FFFFFF;
}

@keyframes boxFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(0);
    }
}

@keyframes spinGradient {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes floatOrb {
    0% {
        transform: translate(0%, 0%) scale(0.8);
    }

    25% {
        transform: translate(50%, -30%) scale(1);
    }

    50% {
        transform: translate(-40%, -60%) scale(1.15);
    }

    75% {
        transform: translate(70%, 40%) scale(0.95);
    }

    100% {
        transform: translate(0%, 0%) scale(0.8);
    }
}

.nf-form-fields-required,
.nf-field-label label,
.text-404 {
    color: #fff !important;
}


.box-image .page-header h1 {
    font-weight: 2.5rem !important;
}

@media (max-width: 768px) {
    .box-image .page-header h1 {
        font-size: 2rem !important;
    }
}

@media (max-width: 576px) {
    .box-image .page-header h1 {
        font-size: 1.75rem !important;
    }
}

.error404 .page-content {
    margin: 0;
    padding: 40px 0;
}

.error-text {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 900;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
    color: var(--color2);
    text-shadow:
        0 0 10px var(--color2),
        0 0 20px var(--color2),
        0 0 35px var(--color1),
        0 0 60px var(--color1);
    letter-spacing: .1em;
    animation: crt-flicker 0.6s infinite alternate;
}

/* neon pixel outline */
.error-text::before {
    content: "404";
    position: absolute;
    top: 4px;
    left: 4px;
    color: var(--color1);
    filter: blur(2px);
    opacity: .6;
}

/* scanlines */
.error-text::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(to bottom,
            rgba(255, 255, 255, 0.06) 0 2px,
            rgba(0, 0, 0, 0) 2px 4px);
    mix-blend-mode: overlay;
    animation: scan 3s linear infinite;
}

/* flicker */
@keyframes crt-flicker {
    0% {
        opacity: 0.85;
        transform: translateY(0);
    }

    100% {
        opacity: 1;
        transform: translateY(-1px);
    }
}

/* scanline movement */
@keyframes scan {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 200px;
    }
}