/* General Body and Background Styling */
        body {
            background-image: linear-gradient(rgba(10, 23, 40, 0.85), rgba(10, 23, 40, 0.85)), url('https://upload.wikimedia.org/wikipedia/en/thumb/a/a4/Flag_of_the_United_States.svg/1920px-Flag_of_the_United_States.svg.png');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            color: #f4f4f4; 
            
            /* 2. Apply the new font */
            font-family: 'Plus Jakarta Sans', sans-serif;

            text-align: center;
            margin: 0;
            padding: 40px 20px;
        }

        /* Set a max-width for the main content for better readability on large screens */
        h1, section {
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Typography */
        h1 {
            font-size: 2.5em;
            font-weight: 700; /* Use the bold weight we imported */
        }
        h2 {
            font-size: 1.8em;
            color: #ffffff;
            font-weight: 700; /* Use the bold weight */
        }
        p {
            font-size: 1.1em;
            line-height: 1.6;
            font-weight: 400; /* Use the regular weight */
        }

        /* Styling for Navigation */
        ul {
            list-style-type: none;
            padding: 0;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
        }

        ul li a {
            display: block;
            background-color: transparent;
            border: 2px solid #a9bce0;
            color: #f4f4f4;
            padding: 10px 22px;
            text-decoration: none;
            border-radius: 5px;
            font-weight: 700; /* Use the bold weight for buttons */
            transition: all 0.3s ease;
        }

        ul li a:hover {
            background-color: #BF0A30;
            border-color: #BF0A30;
            color: white;
        }

        /* Styling for the Horizontal Rule Lines */
        hr {
            border: 0;
            height: 1px;
            background-color: rgba(255, 255, 255, 0.3);
            margin: 60px auto;
            width: 50%;
        }

        /* style.css - add this at the bottom */

/* Form Styling */
form {
    margin-top: 30px;
}

label {
    display: block; /* Puts the label on its own line */
    margin-bottom: 10px;
    font-weight: 700;
}

/* Style for the email input box */
input[type="email"] {
    padding: 12px;
    border-radius: 5px;
    border: 2px solid #a9bce0;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1em;
    width: 300px; /* Give it a set width */
    max-width: 80%; /* Ensure it's responsive on small screens */
    margin-bottom: 20px;
}

/* Style for the submit button */
input[type="submit"] {
    background-color: #002868; /* Use the flag's blue color */
    border: 2px solid #002868;
    color: white;
    padding: 10px 22px;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Plus Jakarta Sans', sans-serif; /* Make sure it uses our font */
    font-weight: 700;
    font-size: 1em;
    cursor: pointer; /* Change the mouse to a pointer on hover */
    transition: all 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #BF0A30; /* Use the red hover color */
    border-color: #BF0A30;
}

/* style.css - add this at the bottom */

/* Styling for the Resource Cards Grid */
.resource-grid {
    display: grid; /* Use CSS Grid for a powerful, flexible layout */
    /* This creates responsive columns: they'll be at least 280px wide, and will grow to fill the space. On small screens, they will stack automatically. */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; /* The space between the cards */
}

.resource-card {
    display: block; /* Make the anchor tag behave like a block */
    background: rgba(255, 255, 255, 0.05); /* A very subtle, transparent background */
    border: 2px solid rgba(169, 188, 224, 0.5); /* Use a semi-transparent version of our border color */
    border-radius: 8px; /* Slightly more rounded corners for a softer look */
    padding: 25px;
    text-decoration: none; /* Remove link underline */
    color: #f4f4f4; /* Ensure text is light */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

.resource-card:hover {
    border-color: #ffffff; /* Make the border solid white on hover */
    transform: translateY(-5px); /* Lift the card up slightly */
    background: rgba(255, 255, 255, 0.1); /* Make the background slightly brighter */
}

/* Typography inside the cards */
.resource-card h3 {
    margin-top: 0;
    color: #ffffff;
    font-size: 1.4em;
}

.resource-card .card-description {
    font-size: 1em;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 20px;
}

.resource-card .card-price {
    font-size: 1.2em;
    font-weight: 700;
    color: #ffffff;
    background-color: rgba(0, 40, 104, 0.7); /* Use a semi-transparent blue from the flag */
    padding: 8px 15px;
    border-radius: 5px;
    display: inline-block; /* Makes the background only as wide as the text */
}

/* Styling for the Free Resources Article List */
.article-list {
    list-style: none; /* Remove the default bullet points */
    padding: 0;
    text-align: left; /* Align text to the left for readability */
    max-width: 600px; /* Constrain width for better reading */
    margin: 40px auto; /* Center the list block itself */
}

.article-list li {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    margin-bottom: 10px; /* Space between list items */
}

.article-list li a {
    display: block; /* Make the whole area clickable */
    padding: 15px 20px;
    color: #f4f4f4;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease-in-out;
    border-radius: 5px; /* Match the parent's rounded corners */
}

.article-list li a:hover {
    background: rgba(0, 40, 104, 0.7); /* Use the semi-transparent blue from our cards */
    color: white;
    transform: translateX(10px); /* Nudge the text right on hover */
}
/* style.css - add this at the bottom */

/* =================================== */
/* == FINAL STYLING FOR ARTICLE PAGES == */
/* =================================== */

.article-content {
    max-width: 750px; /* A comfortable reading width */
    margin: 0px auto; /* Centers the content block on the page */
    text-align: left; /* Essential: Sets the default for everything inside */
}

/* --- Typography within Articles --- */
.article-content h1 {
    font-size: 2.2em;
    margin-bottom: 20px;
}

.article-content h2 {
    font-size: 1.6em;
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(169, 188, 224, 0.5);
    padding-bottom: 8px;
}

.article-content h3 {
    font-size: 1.3em;
    color: #ffffff;
    margin-top: 30px;
    margin-bottom: 10px;
}

.article-content p,
.article-content blockquote {
    line-height: 1.7;
    font-size: 1.1em;
    color: #e0e0e0;
}

.article-content .intro {
    font-size: 1.2em;
    font-style: italic;
    color: #ffffff;
}

.article-content ul {
    padding-left: 20px; /* Provides standard indentation for the list */
    margin-left: 0;
}

.article-content li {
    /* No 'text-align' needed here as it's inherited from .article-content */
    padding-left: 0px; /* Adds a bit of space between the bullet/checkmark and the text */
    margin-bottom: 5px; /* Adds a bit more vertical space */
}

.article-content blockquote {
    border-left: 4px solid #002868;
    margin: 20px 0;
    padding: 10px 20px;
    background: rgba(0, 40, 104, 0.15);
    border-radius: 5px;
    font-style: italic;
}

/* --- Style for Links within Articles --- */
.article-content a {
    color: #f0e68c; /* A nice, readable creamy yellow/khaki color */
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.2s ease-in-out;
}

.article-content a:hover {
    color: #ffffff; /* Make it bright white on hover */
}
/* Style for nested lists within articles to add indentation and clarity */
.article-content ul ul {
    margin-top: 10px;
    margin-bottom: 10px;
    list-style-type: circle;
}

/* style.css - add this rule */

/* New rule to center the contact form elements */
#contact-form {
    display: flex; /* Activates Flexbox layout */
    flex-direction: column; /* Stacks items vertically */
    align-items: center; /* Centers items horizontally */
}

/* style.css - add these at the bottom */

/* --- DIY Kit Page Styles --- */
.product-page {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.kit-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.kit-features .feature-card {
    background: rgba(0, 40, 104, 0.3);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(169, 188, 224, 0.5);
}

.kit-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.call-to-action {
    text-align: center;
    margin-top: 50px;
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 8px;
}

.cta-button {
    display: inline-block;
    background-color: #BF0A30; /* Use the flag red for high visibility */
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #ffffff;
    color: #BF0A30;
    transform: scale(1.05);
}

/* --- Assessment Form Styles --- */
#assessment-form {
    display: flex;
    flex-direction: column;
}

#assessment-form label {
    text-align: left;
    margin-top: 20px;
}

#assessment-form textarea {
    padding: 12px;
    border-radius: 5px;
    border: 2px solid #a9bce0;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1em;
    width: 100%;
    margin-bottom: 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* style.css - Add these new rules at the bottom */

/* --- Playbook Table Styles --- */
.table-container {
    overflow-x: auto; /* Makes tables scrollable on small screens */
}

.playbook-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.95em;
}

.playbook-table th, .playbook-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.playbook-table th {
    background-color: rgba(0, 40, 104, 0.3);
    font-weight: 700;
}

.playbook-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}
/* style.css - Add these new rules at the bottom */

/* --- Template List Styles --- */
.template-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.template-list li {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.template-list h4 {
    margin-top: 0;
    font-size: 1.2em;
}

.template-download-link {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 15px;
    background-color: #002868; /* Blue from flag */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.template-download-link:hover {
    background-color: #BF0A30; /* Red from flag */
}

/* style.css - Add this new rule */

/* Make links inside the playbook tables white for readability */
.playbook-table a {
    color: #f4f4f4; /* Use the same light grey/white as our main text */
    text-decoration: underline; /* Add an underline to ensure it's still identifiable as a link */
}

/* style.css - add these at the bottom */

/* --- Lawyer Grid Styles --- */
.lawyer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.lawyer-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
}

.lawyer-card h4 {
    margin-top: 0;
    font-size: 1.2em;
}

/* style.css - Add this new rule at the bottom */

/* --- Utility Class for Left-Aligned Lists --- */
.left-align-list {
    text-align: left;
    max-width: 650px; /* Constrain width for better readability */
    margin-left: auto;   /* Center the list block itself */
    margin-right: auto;  /* Center the list block itself */
    padding-left: 20px; /* Adds a little space for the numbers */
}
/* style.css - Add this new rule */

/* Add vertical space between the items in our left-aligned list */
.left-align-list li {
    margin-bottom: 20px; /* This creates the space below each list item */
}

/* style.css - add these at the bottom */

/* --- FAQ Page Styles --- */
.faq-container {
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
}

.faq-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-item:last-child {
    border-bottom: none; /* Removes the border from the last question */
    margin-bottom: 0;
}

.faq-item h3 {
    color: #ffffff;
    font-size: 1.3em;
    margin-top: 0;
}

.faq-item p {
    line-height: 1.7;
    margin-bottom: 0;
}

/* style.css - add these at the bottom */

/* --- Two-Option Grid Styles --- */
.option-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Creates two equal columns */
    gap: 30px; /* Space between the cards */
    margin-top: 30px;
}

.option-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column; /* Stacks content vertically */
    justify-content: space-between; /* Pushes button to the bottom */
}

.option-card h3 {
    color: #ffffff;
    margin-top: 0;
}

/* Make the grid responsive on smaller screens */
@media (max-width: 768px) {
    .option-grid {
        grid-template-columns: 1fr; /* Stacks the cards vertically */
    }
}
/* style.css - Add this at the bottom */
.instructions {
    background: rgba(0, 40, 104, 0.15);
    border: 1px solid rgba(169, 188, 224, 0.5);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* style.css - Add this at the bottom */

/* --- Responsive Video Container Styles --- */
.video-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 750px; /* Match the width of our article content for consistency */
    margin: 40px auto; /* Center the video block with vertical space */
    border-radius: 8px; /* Give it nice rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Add a subtle shadow for depth */
}

/* This is a classic trick to maintain a 16:9 aspect ratio */
.video-container::after {
    display: block;
    content: '';
    padding-top: 56.25%; 
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Timeline View Styles --- */
.timeline {
    position: relative;
    padding-left: 50px; /* Make space for the timeline line and dots */
    margin: 40px 0;
}

/* This creates the vertical line */
.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    width: 4px;
    height: 100%;
    background: #a9bce0; /* A light blue from our theme */
}

.timeline-item {
    position: relative;
    margin-bottom: 40px; /* Space between timeline events */
}

/* This creates the circle/dot on the line for each item */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -39px; /* Position the dot on top of the vertical line */
    top: 5px; /* Align the dot with the text */
    width: 18px;
    height: 18px;
    border-radius: 50%; /* Makes it a circle */
    background: white;
    border: 4px solid #002868; /* A dark blue from our theme */
}

.timeline-item h3 {
    margin-top: 0;
    color: #ffffff;
}


/* --- Style for Inline Links --- */
.inline-link {
    color: #f0e68c; /* Use the same creamy yellow as our other article links */
    font-weight: bold;
    text-decoration: underline;
}

/* --- Specific Hover Style for the Email CTA Button --- */
.cta-button.email-button:hover {
    background-color: #002868; /* Use the dark blue from our theme */
    color: #ffffff; /* Keep the text white */
    transform: scale(1.05); /* Keep the nice scaling effect */
}