/* 
 Theme Name:   cpa-child
 Theme URI:    
 Description:  
 Author:       
 Author URI:   
 Template:     cpa-accountant
 Version:      1.0

 /* == Add your own styles below this line ==
--------------------------------------------*/
:root {
    --primary-color: #17a739;
    --secondary-color: #15cf41
}

.home #inner-pages-header {
    display: block;
}

#inner-pages-header .header-overlay {
    background: none;
}

#inner-pages-header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    overflow: hidden;
    padding: 50px 0 !important;
}

#inner-pages-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15), transparent 70%);
    animation: pulse 6s ease-in-out infinite;
    z-index: 0;
}

#inner-pages-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    padding: 0;
}

@media (max-width: 768px) {
    #inner-pages-header h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    #inner-pages-header h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

.content-area {
    margin-top: 2em !important;
}


.home-btn a {
    text-decoration: none;
    padding: 15px;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    background: var(--secondary-color);
    color: #000;
}

.error-text {
    font-size: 8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 3px 3px 0 var(--secondary-color),
        6px 6px 0 rgba(0, 0, 0, 0.1);
    letter-spacing: 4px;
    display: inline-block;
    user-select: none;
    animation: glitch 1.5s infinite;
}

/* Optional glitch animation for a modern 404 look */
@keyframes glitch {
    0% {
        text-shadow: 3px 3px 0 var(--secondary-color),
            -3px -3px 0 var(--primary-color);
    }

    50% {
        text-shadow: -3px 3px 0 var(--secondary-color),
            3px -3px 0 var(--primary-color);
    }

    100% {
        text-shadow: 3px 3px 0 var(--secondary-color),
            -3px -3px 0 var(--primary-color);
    }
}

.section {
    padding: 30px 0;
}

.section h2 {
    text-shadow: 5px 5px 5px var(--primary-color);
    text-align: center;
    margin-bottom: 15px;
}

.section img {
    border-radius: 25px;
    outline: 3px solid var(--primary-color);
}

.box {
    background-color: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.box h2 {
    color: #000 !important;
    text-shadow: none;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: start;
}

.box p {
    margin-bottom: 0;
}

.box .btn-link {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.box a:hover {
    background-color: var(--primary-color);
}

.back-to-top-text {
    font-size: 25px;
}

.box h2 a {
    color: var(--primary-color);
    text-decoration: none;
}

.box h2 a:hover {
    background-color: #fff;
}

.back-to-top:hover::after {
    background: var(--primary-color);
}

.site-info p {
    text-align: center !important;
}