/* General Styles */
:root {
    --primary-green: #7DBF81; /* A pleasant, slightly muted green */
    --light-green: #E8F5E9; /* Very light green for backgrounds */
    --dark-green: #388E3C; /* Deeper green for accents */
    --accent-brown: #DDC2A0; /* Earthy tone */
    --text-dark: #333333;
    --text-light: #f5f5f5;
    --text-muted-custom: #666666; /* Custom muted text color */
    --gradient-start: rgba(125, 191, 129, 0.8);
    --gradient-end: rgba(56, 142, 60, 0.8);
    --shadow-color: rgba(0, 0, 0, 0.15);
    --transition-speed: 0.4s ease-out;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.has-text-dark {
    color: var(--text-dark) !important;
}

.has-text-white-ter {
    color: #f5f5f5 !important; /* Bulma default white-ter */
}

.has-background-light-green {
    background-color: var(--light-green);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-green);
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-green), var(--dark-green));
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Buttons */
.button {
    border-width: 2px;
    text-decoration: none !important;
    transition: all var(--transition-speed);
}

.button.is-primary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
}

.button.is-primary:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.button.is-ghost {
    background: #00000054;
    border-color: white;
    color: white;
}

.button.is-ghost.has-shadow {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.button.is-ghost:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Anchor smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    filter: brightness(0.8);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    opacity: 0.75;
    z-index: 1;
}

.hero-body {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.hero-title, .hero-subtitle {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards 0.3s;
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards 0.5s;
}

.hero-cta-buttons {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards 0.7s;
}

/* Navbar */
.navbar {
    transition: background-color var(--transition-speed), box-shadow var(--transition-speed);
    padding: 1rem 0;
    z-index: 1000;
}

.navbar.is-transparent .navbar-item {
    color: white;
    font-weight: 600;
}

.navbar.is-transparent .navbar-item:hover {
    color: var(--primary-green);
    background-color: transparent;
}

.navbar.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.navbar-scrolled .navbar-item {
    color: var(--text-dark);
}

.navbar.navbar-scrolled .navbar-item:hover {
    color: var(--primary-green);
}

.navbar-burger {
    color: white;
}

.navbar-scrolled .navbar-burger {
    color: var(--text-dark);
}

.logo-gradient {
    display: flex;
    align-items: center;
    color: white;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    animation: logoGlow 3s infinite alternate ease-in-out;
    text-decoration: none !important;
}

.navbar-scrolled .logo-gradient {
    color: var(--dark-green);
    text-shadow: none;
}

.logo-img {
    height: 40px;
    width: auto;
    max-height: none;
}

/* About Section */
.about-section {
    padding: 5rem 0;
}

.about-section .narrative-content p {
    color: var(--text-muted-custom);
}

.about-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.about-card img {
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-green);
}

.about-card h4 {
    color: var(--dark-green);
    font-weight: 600;
    margin-top: 1rem;
}

.about-card p {
    color: var(--text-muted-custom);
    font-size: 0.95rem;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
}

.service-card {
    background-color: white;
    padding: 2.5rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--dark-green);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

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

/* How It Works Section */
.how-it-works-section {
    padding: 5rem 0;
}

.process-card {
    background-color: white;
    padding: 2.5rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.process-icon {
    font-size: 3.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.process-card h3 {
    color: var(--dark-green);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.process-card p {
    color: var(--text-muted-custom);
    font-size: 0.95rem;
}

.visual-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    color: var(--primary-green);
    font-size: 3rem;
    animation: pulseArrow 1.5s infinite ease-in-out;
}

@keyframes pulseArrow {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

/* Portfolio Section (Insights) */
.portfolio-section {
    padding: 5rem 0;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.portfolio-image {
    width: 100%;
    height: 250px; /* Fixed height for images */
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.portfolio-item:hover .overlay {
    transform: translateY(0%);
    opacity: 1;
}

.portfolio-item .overlay h4 {
    margin-bottom: 0.5rem;
}

.portfolio-item .overlay p {
    font-size: 0.9rem;
}

/* Reviews Section */
.reviews-section {
    padding: 5rem 0;
}

.review-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.review-card .media-left img {
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-green);
}

.review-card .title {
    color: var(--dark-green);
}

.review-card .subtitle {
    color: var(--text-muted-custom);
}

.review-card .content p {
    color: var(--text-dark);
    font-style: italic;
}

.review-card .content small {
    color: var(--text-muted-custom);
    display: block;
    margin-top: 1rem;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background-color: white;
    border: none;
    text-align: left;
    font-weight: 600;
    color: var(--dark-green);
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f0f0f0;
}

.faq-question .icon {
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .icon {
    transform: rotate(180deg);
}

.faq-answer {
    background-color: white;
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-muted-custom);
    font-size: 0.95rem;
}

.faq-item.is-active .faq-answer {
    max-height: 200px; /* Adjust as needed for content length */
    padding-top: 1rem;
}

/* Pricing Section (Timeline) */
.pricing-section {
    padding: 5rem 0;
}

.pricing-timeline {
    position: relative;
    padding: 2rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-track {
    position: absolute;
    width: 4px;
    background-color: var(--primary-green);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.pricing-stage {
    position: relative;
    width: 50%;
    padding: 1rem 0;
    display: flex;
    align-items: center;
}

.pricing-stage.stage-left {
    justify-content: flex-end;
    padding-right: 3rem;
}

.pricing-stage.stage-right {
    justify-content: flex-start;
    margin-left: 50%;
    padding-left: 3rem;
}

.stage-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--dark-green);
    border-radius: 50%;
    border: 4px solid white;
    z-index: 1;
    box-shadow: 0 0 0 2px var(--primary-green);
}

.pricing-stage.stage-left .stage-dot {
    right: -10px; /* Half of dot width */
}

.pricing-stage.stage-right .stage-dot {
    left: -10px; /* Half of dot width */
}

.stage-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.stage-card h3 {
    color: var(--dark-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stage-card p {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.stage-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: 1rem;
}

.stage-card ul li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.stage-card ul li i {
    color: var(--primary-green);
    margin-right: 0.5rem;
}

.stage-date {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted-custom);
    margin-top: 1rem;
}

/* Consultation Form Section */
.consultation-form-section {
    padding: 5rem 0;
}

.form-box {
    background-color: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-box .label {
    color: var(--dark-green);
    font-weight: 600;
}

.form-box .input, .form-box .textarea, .form-box .select select {
    border-color: #dbdbdb;
    box-shadow: none;
    transition: border-color 0.3s ease;
}

.form-box .input:focus, .form-box .textarea:focus, .form-box .select select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.125em rgba(125, 191, 129, 0.25);
}

.form-box .help.is-danger {
    color: #ff3860;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.form-box .button.is-primary {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
}

.form-box .button.is-primary:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

/* Footer Section */
.footer {
    background-color: var(--dark-green);
    color: white;
    padding: 3rem 1.5rem;
}

.footer .content {
    color: white;
}

.footer-accordion {
    margin-bottom: 2rem;
}

.footer-section-title {
    background-color: transparent;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
}

.footer-section-title:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-section-title .icon {
    transition: transform 0.3s ease;
}

.footer-section-title[aria-expanded="true"] .icon {
    transform: rotate(180deg);
}

.footer-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding-top: 0;
    padding-bottom: 0;
}

.accordion-item.is-active .footer-content {
    max-height: 200px; /* Adjust as needed */
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-green);
}

.logo-gradient-footer {
    display: inline-flex;
    align-items: center;
    color: white;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    text-decoration: none !important;
}

.logo-img-footer {
    height: 35px;
    width: auto;
    max-height: none;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 320px;
    animation: fadeIn 0.5s ease-out;
}

.cookie-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.cookie-card .card-content {
    padding: 1.2rem;
}

.cookie-card .title {
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.cookie-card .subtitle {
    color: var(--text-muted-custom);
    font-size: 0.85rem;
}

.cookie-card .buttons {
    margin-top: 1rem;
}

.cookie-card .button {
    border-radius: 5px;
    text-decoration: none !important;
}

.cookie-card .button.is-primary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.cookie-card .button.is-primary:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
}

.cookie-card .button.is-light {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
    color: var(--text-dark);
}

.cookie-card .button.is-light:hover {
    background-color: #e0e0e0;
}

/* Cookie Modal */
.modal-card {
    max-width: 500px;
    border-radius: 10px;
}

.modal-card-head {
    background-color: var(--primary-green);
    border-bottom: none;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.modal-card-title {
    color: white;
}

.modal-card-head .delete {
    background-color: rgba(255, 255, 255, 0.3);
}

.modal-card-body {
    padding: 2rem;
}

.modal-card-body .field {
    margin-bottom: 1.5rem;
}

.modal-card-body .switch[type="checkbox"] + label {
    padding-left: 3.5rem;
    font-weight: 600;
    color: var(--dark-green);
}

.modal-card-body .switch[type="checkbox"] + label::before {
    background: #e0e0e0;
    border: 1px solid #ccc;
}

.modal-card-body .switch[type="checkbox"]:checked + label::before {
    background: var(--primary-green);
}

.modal-card-body .switch[type="checkbox"]:checked + label::after {
    background: white;
}

.modal-card-body .help {
    font-size: 0.85rem;
    color: var(--text-muted-custom);
    margin-top: 0.25rem;
}

.modal-card-foot {
    justify-content: flex-end;
    border-top: none;
    padding: 1.5rem 2rem;
}

/* Utility Classes for Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animated-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Keyframe Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes logoGlow {
    0% { text-shadow: 0 0 5px rgba(255, 255, 255, 0.5); }
    50% { text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 20px rgba(125, 191, 129, 0.6); }
    100% { text-shadow: 0 0 5px rgba(255, 255, 255, 0.5); }
}

/* Responsive Adjustments */
@media screen and (max-width: 1023px) {
    .navbar-menu {
        background-color: var(--dark-green);
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }

    .navbar-menu .navbar-item {
        color: white;
        padding: 0.75rem 1rem;
    }

    .navbar-menu .navbar-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .navbar-scrolled .navbar-menu {
        background-color: white;
    }

    .navbar-scrolled .navbar-menu .navbar-item {
        color: var(--text-dark);
    }

    .navbar-scrolled .navbar-menu .navbar-item:hover {
        background-color: #f0f0f0;
    }

    .navbar-burger {
        color: white;
    }

    .navbar-scrolled .navbar-burger {
        color: var(--text-dark);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .visual-divider {
        display: none !important; /* Hide arrows on mobile */
    }

    .pricing-timeline .timeline-track {
        left: 20px; /* Adjust for mobile */
        transform: translateX(0);
    }

    .pricing-stage {
        width: 100%;
        padding-left: 40px;
        padding-right: 0;
    }

    .pricing-stage.stage-left, .pricing-stage.stage-right {
        justify-content: flex-start;
        margin-left: 0;
    }

    .pricing-stage.stage-left .stage-dot, .pricing-stage.stage-right .stage-dot {
        left: 10px;
        right: auto;
    }

    .footer-section-title {
        font-size: 1.1rem;
    }

    .footer-links {
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-section .columns .column.is-half {
        width: 100%;
    }

    .about-card, .service-card, .process-card, .portfolio-item, .review-card, .stage-card {
        margin-bottom: 1.5rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }

    .faq-answer p {
        padding-bottom: 1rem;
    }

    .footer-accordion .accordion-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .footer-accordion .accordion-item:last-child {
        border-bottom: none;
    }

    .footer-content {
        text-align: center;
    }
}
/* New styles for content elements under .lawMatrixNode */

.lawMatrixNode {
    /* Padding for the main content block, providing space from top and sides */
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    /* Optional: Constrain maximum width for better readability on large screens */
    max-width: 1200px;
    margin-left: auto; /* Center the content block horizontally */
    margin-right: auto; /* Center the content block horizontally */
}

.lawMatrixNode h1 {
    /* Heading 1 style for content, designed to be substantial but not overly large */
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-green); /* Using a deep green for emphasis */
    line-height: 1.2;
    margin-top: 2.5rem; /* Space above the heading */
    margin-bottom: 1.5rem; /* Space below the heading */
}

.lawMatrixNode h2 {
    /* Heading 2 style, slightly smaller than H1 */
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-green);
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 1.2rem;
}

.lawMatrixNode h3 {
    /* Heading 3 style */
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-green);
    line-height: 1.4;
    margin-top: 1.8rem;
    margin-bottom: 1rem;
}

.lawMatrixNode h4 {
    /* Heading 4 style */
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-green);
    line-height: 1.5;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.lawMatrixNode h5 {
    /* Heading 5 style, often used for sub-subheadings or small titles */
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-green);
    line-height: 1.6;
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
}

.lawMatrixNode p {
    /* Standard paragraph style for main content text */
    font-size: 1rem; /* Base font size */
    line-height: 1.7; /* Good line spacing for readability */
    color: var(--text-dark); /* Dark grey for body text */
    margin-bottom: 1rem; /* Space between paragraphs */
}

.lawMatrixNode ul {
    /* Unordered list style */
    list-style: disc; /* Default bullet style (solid circle) */
    margin-left: 1.5rem; /* Indent the list from the left */
    margin-bottom: 1.5rem; /* Space after the entire list */
    padding: 0; /* Remove default padding */
}

.lawMatrixNode ul li {
    /* List item style within an unordered list */
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 0.5rem; /* Space between individual list items */
}

/* Optional: Styles for ordered lists (numbers) for completeness */
.lawMatrixNode ol {
    /* Ordered list style */
    list-style: decimal; /* Default numbered style */
    margin-left: 1.5rem; /* Indent the list from the left */
    margin-bottom: 1.5rem; /* Space after the entire list */
    padding: 0; /* Remove default padding */
}

.lawMatrixNode ol li {
    /* List item style within an ordered list */
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 0.5rem; /* Space between individual list items */
}

/* Optional: Adjustments for nested lists */
.lawMatrixNode ul ul,
.lawMatrixNode ol ol,
.lawMatrixNode ul ol,
.lawMatrixNode ol ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    list-style-type: circle; /* Example: Use circles for nested unordered lists */
}
.hero.height-half {
    min-height: 50vh;
}
@media screen and (width < 1024px) {
    .columns {
    margin-left: 0;
    margin-right: 0;
    }
}
@media screen and (width <576px) {
    .faq-question.button.is-large {
        font-size: 0.9rem;
    }
}