/* 
 Theme Name:   moneymind-child
 Theme URI:    
 Description:  
 Author:       
 Author URI:   
 Template:     moneymind-finance-advisor
 Version:      1.0

 /* == Add your own styles below this line ==
--------------------------------------------*/
:root {
    --primary-color: #1955C1;
    --secondary-color: #C1D5F9;
    --dark-color: #1C3434;
}

.section {
    padding: 40px 0;
}

.hero.section {
    position: relative;
    background: #fff;
    color: var(--dark-color);
    z-index: 0;
    overflow: hidden;
}

/* Gradient stripe on top */
.hero.section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* Subtle decorative glow in the corner */
.hero.section::after {
    content: "";
    position: absolute;
    top: 12px;
    right: -60px;
    width: 260px;
    height: 260px;
    pointer-events: none;
    background: radial-gradient(circle at center,
            rgba(193, 213, 249, 0.55) 0%,
            rgba(193, 213, 249, 0.25) 40%,
            rgba(193, 213, 249, 0) 70%);
    z-index: -1;
}

/* Heading with small accent bar */
.hero.section h1 {
    font-weight: 800;
    margin: 0 0 12px;
    color: var(--dark-color);
    position: relative;
}

.hero.section h1::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin-top: 8px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* Body text: left-aligned, readable */
.hero.section p {
    margin: 0 0 14px;
    line-height: 1.75;
    color: rgba(28, 52, 52, 0.92);
}

ul.primary-menu {
    padding: 0;
    border: none;
    text-align: end;
}

@media screen and (max-width: 1199px) {
    .primary-menu a {
        padding: 8px 4px;
    }
}

#colophon {
    background: var(--primary-color);
    font-size: 18px;
}

.back-to-top-text {
    font-size: 2rem;
    position: absolute;
    top: -3px;
    left: 19%;
}

.site-info a,
#colophon .copyright .site-info p {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}

.newsletter-section {
    padding: 20px 0;
    color: #fff;
    border-radius: 12px;
}

.newsletter-section h4 {
    font-weight: 700;
    color: #fff !important;
}

.newsletter-form .input-group {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.newsletter-form .form-control {
    border: 1px solid #ccc;
    padding: 12px 14px;
    font-size: 1rem;
}

.newsletter-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

#colophon input[type="email"] {
    border-radius: 50px 0 0 50px;
}

.newsletter-form .btn-primary {
    background-color: var(--secondary-color);
    border: 1px solid #ccc;
    border-radius: 0 50px 50px 0;
    font-weight: 600;
    padding: 0 20px;
    color: var(--primary-color) !important;
    transition: background 0.3s ease, transform 0.2s ease;
}

.newsletter-form .btn-primary:hover:enabled {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.newsletter-section a {
    color: #fff;
    transition: color 0.3s ease;
}

.newsletter-section a:hover {
    color: var(--secondary-color);
}

.error-text {
    display: inline-block;
    font-size: 6rem;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 3px 3px 0 var(--secondary-color);
    letter-spacing: 5px;
    text-transform: uppercase;
}

.btn-home {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background-color: var(--primary-color);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(25, 85, 193, 0.3);
}

.btn-home:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 6px 14px rgba(25, 85, 193, 0.4);
    transform: translateY(-2px);
}

.btn-home:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(25, 85, 193, 0.2);
}

.service-box {
    background: var(--secondary-color);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-box h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.service-box p,
.service-box li {
    color: var(--dark-color);
    line-height: 1.6;
}

.service-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}


/* Box Wrapper + Box (grouped style) */
.box-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    height: 100%;
}

.box {
    border-left: 4px solid var(--primary-color);
    padding-left: 16px;
}

.box:last-child {
    margin-bottom: 0;
}

.box h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.box p,
.box li {
    color: var(--dark-color);
    line-height: 1.6;
}

/* Optional styling for ul inside both */
.service-box ul,
.box ul {
    padding-left: 18px;
    margin: 10px 0;
}

.service-box ul li,
.box ul li {
    margin-bottom: 6px;
}

.accent {
    background: var(--secondary-color);
    border-top: 4px solid var(--primary-color);
    border-bottom: 4px solid var(--primary-color);
}

.accent h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
}

.accent p {
    color: var(--dark-color);
    line-height: 1.8;
    margin: 0 auto;
}

.accent {
    position: relative;
    overflow: hidden;
}

.accent::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 25%, transparent 25%,
            transparent 50%, rgba(255, 255, 255, 0.12) 50%,
            rgba(255, 255, 255, 0.12) 75%, transparent 75%, transparent);
    background-size: 40px 40px;
    opacity: 0.2;
    pointer-events: none;
}

.section ul {
    list-style: none;
    padding-left: 0;
}

.section ul li::before {
    content: "➤";
    margin-right: 8px;
}

.widget ul li ul {
    padding-left: 15px;
}

ol {
    padding-left: 20px;
}