/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


/* Journey With Pari - Wavy Menu Hover */

.main-navigation .main-nav ul li a {
    position: relative;
    display: inline-block;
}

.main-navigation .main-nav ul li a:hover::after {
    content: "";
    position: absolute;

    width: 100%;
    left: 0;

    bottom: 12px;

    height: 8px;

    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='8' viewBox='0 0 40 8'%3E%3Cpath d='M0 4 Q5 0 10 4 T20 4 T30 4 T40 4' fill='none' stroke='%23ff4f7b' stroke-width='2.5'/%3E%3C/svg%3E") repeat-x center bottom;

    pointer-events: none;
}

/* Footer Links Wavy Hover */

.footer-widgets a {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.footer-widgets a:hover::after {
    content: "";
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -4px;

    height: 8px;

    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='8' viewBox='0 0 40 8'%3E%3Cpath d='M0 4 Q5 0 10 4 T20 4 T30 4 T40 4' fill='none' stroke='%23ff4f7b' stroke-width='2.5'/%3E%3C/svg%3E") repeat-x center bottom;

    pointer-events: none;
}
.wp-block-button__link:hover::after {
    display: none !important;
}

/* Brand color line above footer */
.site-footer .footer-widgets {
    border-top: 5px solid transparent;
    border-image: linear-gradient(
        90deg,
        #0B67B2,
        #FAB20C,
        #76B900,
        #E94B9A
    ) 1;
}

/* Journey With Pari - Buttons Hover Color */

.wp-block-button__link:hover,
.button:hover,
button:hover,
input[type="submit"]:hover {
    background-color: #68C24A !important;
    color: #ffffff !important;
}

.footer-widgets a {
    text-decoration: none !important;
}

.footer-widgets a:hover {
    text-decoration: none !important;
}


/*  
Home Page cards*/
.coding-card,
.stem-card,
.robotics-card{
    overflow:hidden;
    transition:.40s;
    cursor:pointer;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.coding-card:hover,
.stem-card:hover,
.robotics-card:hover{
    transform:translateY(-10px) scale(1.03);
    box-shadow:0 20px 45px rgba(0,0,0,.18);
}

.coding-card,
.stem-card,
.robotics-card{
    text-decoration: none;
    color: inherit;
}

.start-journey-btn .wp-block-button__link{
    animation: buttonBounce 4s infinite;
}

/* Magic Pulse */

.start-journey-btn .wp-block-button__link,
.free-consult-footer-btn .wp-block-button__link
{
    animation: magicPulse 2s ease-in-out infinite;
    transform-origin:center;
}

.start-journey-btn .wp-block-button__link:hover,
.free-consult-footer-btn .wp-block-button__link:hover{
    animation:none;
}

@keyframes magicPulse{

    0%,88%,100%{
        transform:scale(1);
        box-shadow:0 8px 20px rgba(11,103,178,.25);
    }

    90%{
        transform:scale(1.08);
        box-shadow:0 0 0 12px rgba(104,194,74,.15);
    }

    94%{
        transform:scale(1.04);
        box-shadow:0 0 0 6px rgba(104,194,74,.10);
    }
}