/*
Theme Name: EchoBridge Health
Theme URI: https://echobridgehealth.com
Author: Kevin Wambua
Author URI: https://echobridgehealth.com
Description: A compassionate mental health WordPress theme inspired by ninanurses.com.
Version: 1.0
License: GPL v2 or later
Text Domain: echobridge
*/

/* ===== CSS Variables & Reset ===== */
:root {
    --primary: #FFBF00;
    --primary-dark: #E6A800;
    --primary-light: #FFD633;
    --secondary: #7B2FBE;
    --secondary-dark: #5A1F8A;
    --secondary-light: #9952E0;
    --accent: #B2FCE4;
    --dark: #1A1A2E;
    --dark-light: #2D2D44;
    --gray: #6B7280;
    --light-gray: #F3F4F6;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --transition: all 0.3s ease;
    --font-primary: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.section-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(255, 191, 0, 0.35);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 191, 0, 0.45);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(123, 47, 190, 0.35);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(123, 47, 190, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
}

/* ===== Header / Navigation ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--primary);
}

.logo .tagline {
    font-family: var(--font-primary);
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--gray);
    display: block;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--dark);
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--secondary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(123, 47, 190, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 191, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-content h1 .highlight {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.7;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image .placeholder-image {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 0.9;
    background: linear-gradient(135deg, rgba(255, 191, 0, 0.15), rgba(123, 47, 190, 0.15));
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    text-align: center;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-image .placeholder-image .icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* ===== Crisis Alert Bar ===== */
.crisis-bar {
    background: #FFE5E5;
    padding: 12px 0;
    border-bottom: 3px solid #FF4444;
}

.crisis-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-weight: 500;
}

.crisis-bar .hotline {
    color: #CC0000;
    font-weight: 700;
    font-size: 1.1rem;
}

.crisis-bar .hotline a {
    color: #CC0000;
    text-decoration: underline;
}

/* ===== Sections ===== */
section {
    padding: 80px 0;
}

section.alt-bg {
    background: var(--light-gray);
}

/* ===== Cards ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.card h3 {
    margin-bottom: 0.75rem;
    color: var(--secondary);
}

.card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===== Feature / Service Cards ===== */
.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.service-card .price {
    display: inline-block;
    margin-top: 1rem;
    padding: 6px 20px;
    background: var(--primary);
    color: var(--dark);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== About ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image .placeholder-image {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    background: linear-gradient(135deg, rgba(255, 191, 0, 0.1), rgba(123, 47, 190, 0.1));
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 1rem;
    text-align: center;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.about-image .placeholder-image .icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.about-content h2 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.about-content .highlight {
    color: var(--primary);
}

.about-content p {
    margin-bottom: 1rem;
    color: var(--gray);
}

.about-content .signature {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--secondary);
    margin-top: 1.5rem;
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-info .info-item .icon {
    font-size: 1.5rem;
    color: var(--secondary);
    flex-shrink: 0;
}

.contact-info .info-item h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info .info-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(123, 47, 190, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Footer ===== */
footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

footer .footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

footer .footer-brand p {
    font-size: 0.95rem;
    max-width: 300px;
}

footer h4 {
    color: var(--white);
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a:hover {
    color: var(--primary);
}

footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
    font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-items: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    footer .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 32px 32px;
        box-shadow: var(--shadow-hover);
        transition: var(--transition);
        gap: 24px;
        align-items: flex-start;
    }

    .nav-links.open {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    section {
        padding: 60px 0;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-form {
        padding: 24px;
    }
}
/* ===== Back to Top Button ===== */
#backToTop {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 999;
    background: var(--primary);
    color: var(--dark);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#backToTop:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* ===== Crisis Bar Close Button ===== */
#closeCrisisBar:hover {
    opacity: 1 !important;
    transform: scale(1.1);
}

/* ===== Booking Button in Nav (Desktop) ===== */
@media (min-width: 769px) {
    #desktopBookingBtn {
        display: inline-block !important;
    }
}

/* ===== Social Icons Hover ===== */
.footer-brand a[href*="facebook"]:hover,
.footer-brand a[href*="instagram"]:hover,
.footer-brand a[href*="twitter"]:hover,
.footer-brand a[href*="linkedin"]:hover {
    opacity: 1 !important;
    transform: translateY(-2px);
}
/* ===== Breadcrumbs ===== */
.breadcrumbs {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--gray);
    padding: 10px 0;
}
.breadcrumbs a {
    color: var(--secondary);
    text-decoration: none;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}
.breadcrumb-separator {
    margin: 0 8px;
    color: var(--gray);
}
.breadcrumb-current {
    color: var(--dark);
    font-weight: 500;
}

/* ===== Mega Menu ===== */
.mega-menu {
    position: relative;
}
.mega-menu > ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-hover);
    border-radius: var(--radius);
    min-width: 600px;
    z-index: 1000;
    flex-wrap: wrap;
}
.mega-menu:hover > ul.sub-menu,
.mega-menu:focus-within > ul.sub-menu {
    display: flex;
}
.mega-menu .mega-column {
    flex: 1 1 200px;
    list-style: none;
    padding: 0 10px;
}
.mega-menu .mega-column > a {
    font-weight: 700;
    color: var(--secondary);
    display: block;
    padding: 8px 0;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 8px;
}
.mega-menu .mega-item {
    padding: 4px 0;
}

/* ===== Newsletter ===== */
.newsletter-signup {
    background: var(--light-gray);
    padding: 20px;
    border-radius: var(--radius);
}
.newsletter-signup input[type="email"],
.newsletter-signup input[type="text"] {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
}

/* ===== Author Bio ===== */
.author-bio {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--light-gray);
    border-radius: var(--radius);
    align-items: flex-start;
    flex-wrap: wrap;
}

/* ===== Responsive Mega Menu ===== */
@media (max-width: 768px) {
    .mega-menu > ul.sub-menu {
        position: static;
        min-width: auto;
        box-shadow: none;
        padding: 10px 0 10px 20px;
        background: transparent;
    }
    .mega-menu .mega-column {
        flex: 1 1 100%;
    }
}

/* ===== Skip Link Fix ===== */
.skip-link:focus {
    top: 0 !important;
}

/* ===== Crisis Bar Dismiss ===== */
#crisisBar {
    transition: max-height 0.4s ease, opacity 0.4s ease;
    overflow: hidden;
}
#crisisBar.hidden {
    max-height: 0 !important;
    opacity: 0;
    padding: 0 !important;
    margin: 0 !important;
}

/* ===== Back to Top Visible ===== */
#backToTop.visible {
    opacity: 1 !important;
    visibility: visible !important;
}
/* ===== Crisis Bar Fix ===== */
.crisis-bar {
    position: relative;
    z-index: 999;
    background: #FFE5E5;
    padding: 12px 0;
    border-bottom: 3px solid #FF4444;
    margin: 0;
}

/* ===== Submenu / Mega Menu Fix ===== */
.mega-menu {
    position: relative;
}
.mega-menu > ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 20px 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-radius: 12px;
    min-width: 600px;
    z-index: 1000;
    flex-wrap: wrap;
    list-style: none;
}
.mega-menu:hover > ul.sub-menu,
.mega-menu:focus-within > ul.sub-menu {
    display: flex;
}
.mega-menu .mega-column {
    flex: 1 1 180px;
    list-style: none;
    padding: 0 15px;
}
.mega-menu .mega-column > a {
    font-weight: 700;
    color: var(--secondary);
    display: block;
    padding: 8px 0;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.mega-menu .mega-item {
    padding: 4px 0;
}
.mega-menu .mega-item a {
    font-size: 0.9rem;
    color: var(--gray);
    transition: var(--transition);
}
.mega-menu .mega-item a:hover {
    color: var(--secondary);
}

/* Responsive Mega Menu */
@media (max-width: 768px) {
    .mega-menu > ul.sub-menu {
        position: static;
        transform: none;
        min-width: auto;
        box-shadow: none;
        padding: 10px 0 10px 20px;
        background: transparent;
        border-radius: 0;
    }
    .mega-menu .mega-column {
        flex: 1 1 100%;
        padding: 0;
    }
}

/* ===== Newsletter Styling ===== */
.newsletter-signup {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.newsletter-signup h3 {
    font-family: var(--font-heading);
    color: var(--secondary);
    margin-bottom: 10px;
}
.newsletter-signup p {
    color: var(--gray);
    margin-bottom: 20px;
}
.newsletter-signup input[type="text"],
.newsletter-signup input[type="email"] {
    flex: 1;
    min-width: 140px;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}
.newsletter-signup .btn-secondary {
    padding: 12px 32px;
    white-space: nowrap;
}

/* ===== Back to Top ===== */
#backToTop {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 999;
    background: var(--primary);
    color: var(--dark);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
#backToTop.visible {
    opacity: 1;
    visibility: visible;
}
#backToTop:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
/* ===== Block Patterns Custom Styles ===== */

/* Card Pattern */
.card-pattern {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}
.card-pattern:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15) !important;
}
.card-pattern .wp-block-heading {
    margin-bottom: 0.75rem;
}
.card-pattern .wp-block-paragraph {
    color: #6B7280;
    font-size: 0.95rem;
}

/* Hero Pattern */
.hero-pattern .wp-block-cover__inner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.hero-pattern .wp-block-cover {
    min-height: 500px;
}

/* Testimonial groups */
.wp-block-group.has-border-color {
    background: #ffffff;
    border-radius: 8px;
}

/* Call to Action */
.wp-block-group[style*="box-shadow: 0 4px 20px rgba(0,0,0,0.08)"] {
    background: #ffffff;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .card-pattern {
        margin-bottom: 20px;
    }
    .wp-block-button .wp-block-button__link {
        padding: 10px 24px !important;
        font-size: 14px !important;
    }
}
/* === Block Patterns Frontend Styles === */
.card-pattern {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
    border-radius: 8px;
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
}
.card-pattern:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15) !important;
}
.card-pattern .wp-block-heading {
    margin-bottom: 0.75rem;
}
.card-pattern .wp-block-paragraph {
    color: #6B7280;
    font-size: 0.95rem;
}

.wp-block-cover {
    min-height: 500px;
}
.wp-block-cover .wp-block-cover__inner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.wp-block-group.has-border-color {
    background: #ffffff;
    border-radius: 8px;
}

.wp-block-group[style*="box-shadow: 0 4px 20px rgba(0,0,0,0.08)"] {
    background: #ffffff;
}

.is-style-primary .wp-block-button__link {
    background: #FFBF00 !important;
    color: #1A1A2E !important;
    border-radius: 50px !important;
    padding: 14px 36px !important;
    font-weight: 600 !important;
}
.is-style-primary .wp-block-button__link:hover {
    background: #E6A800 !important;
}

.is-style-secondary .wp-block-button__link {
    background: #7B2FBE !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 14px 36px !important;
    font-weight: 600 !important;
}
.is-style-secondary .wp-block-button__link:hover {
    background: #5A1F8A !important;
}

.is-style-outline .wp-block-button__link {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    border-radius: 50px !important;
    padding: 14px 36px !important;
    font-weight: 600 !important;
}
.is-style-outline .wp-block-button__link:hover {
    background: #ffffff !important;
    color: #1A1A2E !important;
}

@media (max-width: 768px) {
    .card-pattern {
        margin-bottom: 20px;
    }
    .wp-block-button .wp-block-button__link {
        padding: 10px 24px !important;
        font-size: 14px !important;
    }
}
/* Force Kadence Blocks to be full-width */
.kadence-row-layout,
.kb-row-layout-wrap,
.wp-block-kadence-rowlayout {
    max-width: 100% !important;
    width: 100% !important;
}

.kadence-row-layout .kb-container,
.kb-row-layout-wrap .kb-container {
    max-width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

/* Remove Kadence's default container constraints */
.entry-content .kb-row-layout-wrap {
    max-width: 100% !important;
}

.entry-content .wp-block-kadence-rowlayout {
    max-width: 100% !important;
}

/* If you want your content sections to still have some padding */
.kb-row-layout-wrap .kb-container {
    padding-left: 24px;
    padding-right: 24px;
}

/* Make sure the site wrapper doesn't constrain */
.site-content,
.wrap,
.entry-content {
    max-width: 100% !important;
    width: 100% !important;
}