 /* Section container for the cards */
        .legal-cards-section {
            max-width: 1200px; /* Max width for the entire section */
            margin: 80px auto; /* Top/bottom margin, auto horizontal for centering */
            padding: 0 20px; /* Horizontal padding */
            display: flex; /* Use flexbox for layout */
            flex-wrap: wrap; /* Allow cards to wrap to the next line */
            gap: 30px; /* Space between cards */
            justify-content: center; /* Center cards horizontally */
            align-items: stretch; /* Stretch items to fill the container height in each row */
        }

        /* Individual card styling */
        .legal-card {
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Subtle shadow */
            padding: 30px;
            /* New: Ensure equal width and height */
            flex: 0 0 calc(33.33% - 20px); /* Fixed width for 3 columns, accounting for gap */
            min-width: 280px; /* Minimum width for cards before wrapping */
            display: flex;
            flex-direction: column;
            justify-content: space-between; /* Push link to bottom */
            align-items: center; /* Center content horizontally within the card */
            transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover */
            text-align: center; /* Center text within the card */
            overflow: hidden; /* Hide overflow if content exceeds fixed height */
        }

        .legal-card:hover {
            transform: translateY(-5px); /* Lift card slightly on hover */
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12); /* Enhanced shadow on hover */
        }

        /* Card title styling */
        .legal-card-title {
            font-size: clamp(20px, 3vw, 28px); /* Responsive font size */
            font-weight: 700;
            color: #343741;
            margin-bottom: 20px;
            line-height: 1.3;
            flex-grow: 1; /* Allow title to take available space */
            display: flex;
            align-items: center; /* Vertically center title if it's short */
            justify-content: center; /* Horizontally center title */
        }

        /* "View now" link styling */
        .legal-card-link {
            display: inline-flex; /* Allow icon and text to be on the same line */
            align-items: center;
            font-size: clamp(14px, 2vw, 16px); /* Responsive font size */
            font-weight: 700;
            color: #004C97; /* Blue color for the link */
            text-decoration: none;
            margin-top: auto; /* Push link to the bottom of the card */
            transition: color 0.3s ease; /* Smooth transition for hover */
        }

        .legal-card-link:hover {
            color: #003366; /* Darker blue on hover */
        }

        /* Arrow icon for the link */
        .legal-card-link .legal-arrow {
            margin-left: 8px;
            transition: transform 0.3s ease; /* Smooth transition for arrow movement */
            display: flex;
        }

        .legal-card-link:hover .legal-arrow {
            transform: translateX(5px); /* Move arrow slightly on hover */
        }

        /* Responsive adjustments */
        @media (max-width: 992px) {
            .legal-cards-section {
                gap: 25px; /* Slightly reduce gap on medium screens */
                margin: 60px auto;
            }

            .legal-card {
                flex: 0 0 calc(50% - 12.5px); /* Two columns on medium screens */
                min-width: unset; /* Remove min-width to allow more flexibility */
            }
        }

        @media (max-width: 768px) {
            .legal-cards-section {
                flex-direction: column; /* Stack cards vertically on smaller screens */
                align-items: center; /* Center stacked cards */
                gap: 20px; /* Reduce gap when stacked */
                margin: 40px auto;
            }

            .legal-card {
                width: 90%; /* Take up more width when stacked */
                max-width: 400px; /* Limit max width for stacked cards */
                padding: 20px;
                flex: none; /* Remove flex basis to let width control size */
            }

            .legal-card-title {
                font-size: clamp(18px, 4vw, 24px); /* Adjust font size for smaller screens */
            }

            .legal-card-link {
                font-size: clamp(13px, 3vw, 15px); /* Adjust font size for smaller screens */
            }
        }

        @media (max-width: 480px) {
            .legal-cards-section {
                padding: 0 15px; /* Reduce overall padding */
                margin: 30px auto;
            }

            .legal-card {
                width: 100%; /* Full width on very small screens */
                padding: 15px;
            }
        }