﻿
footer {
    display: block;
    width: 100%;
    margin: 0px;
    padding: 40px 0px;
    background: #23232f;
    /* margin-top: 40px; */
}

.reset-message {
    font-size: 16px;
    text-align: center;
    padding: 10px;
}

/* Adjust for smaller mobile screens */
@media screen and (max-width: 600px) {
    .reset-message {
        font-size: 14px;
        /*   padding: 8px; */
    }
}

/* Optimize for larger desktop screens */
@media screen and (min-width: 1024px) {
    .reset-message {
        font-size: 18px;
        /*  padding: 12px; */
    }
}

.help-center-page .page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

    .help-center-page .page-header h1 {
        font-size: 2.8rem;
        color: #1a5276; /* MyStepney primary dark blue */
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    .help-center-page .page-header .lead-text {
        font-size: 1.15rem;
        color: #566573;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

/* Search Section */
.help-center-page .search-section {
    margin-bottom: 3.5rem;
    text-align: center;
}

    .help-center-page .search-section form {
        display: flex;
        max-width: 650px; /* Increased width */
        margin: 0 auto;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        border-radius: 30px; /* Pill shape */
        overflow: hidden;
    }

    .help-center-page .search-section input[type="search"] {
        flex-grow: 1;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        border: 1px solid #d0d0d0;
        border-right: none;
        border-radius: 30px 0 0 30px;
        outline: none;
        transition: border-color 0.2s;
        color: #333;
    }

        .help-center-page .search-section input[type="search"]::placeholder {
            color: #888;
        }

        .help-center-page .search-section input[type="search"]:focus {
            border-color: #2980b9; /* MyStepney primary blue */
            box-shadow: 0 0 0 0.15rem rgba(41, 128, 185, 0.2);
        }

    .help-center-page .search-section button[type="submit"] {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        background-color: #EF5844; /* MyStepney primary blue */
        color: white;
        border: none;
        cursor: pointer;
        border-radius: 0 30px 30px 0;
        transition: background-color 0.2s;
        font-weight: 500;
    }

        .help-center-page .search-section button[type="submit"]:hover {
            background-color: #1a5276; /* Darker shade */
        }

/* FAQ Categories */
.help-center-page .faq-categories {
    margin-bottom: 3.5rem;
}

    .help-center-page .faq-categories h2,
    .help-center-page .popular-faqs h2,
    .help-center-page .still-need-help h2 {
        text-align: center;
        font-size: 2rem;
        color: #2c3e50; /* Dark slate blue */
        margin-bottom: 2.5rem;
        font-weight: 500;
        position: relative;
        padding-bottom: 0.5rem;
    }

        .help-center-page .faq-categories h2::after,
        .help-center-page .popular-faqs h2::after,
        .help-center-page .still-need-help h2::after {
            content: '';
            display: block;
            width: 60px;
            height: 3px;
            background-color: #2980b9; /* MyStepney primary blue */
            margin: 0.5rem auto 0; /* Center the underline */
        }


.help-center-page .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.help-center-page .category-item {
    background-color: #fff;
    border: 1px solid #e0e6ed;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.04);
}

    .help-center-page .category-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 20px rgba(41,128,185,0.15); /* Softer, larger shadow on hover */
    }

    .help-center-page .category-item a {
        text-decoration: none;
        color: inherit;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: 100%;
    }

    .help-center-page .category-item [class^="icon-"], /* Target your icon classes */
    .help-center-page .category-item .fa, .help-center-page .category-item .fas, .help-center-page .category-item .far, .help-center-page .category-item .fab { /* Example for Font Awesome */
        font-size: 2.8rem;
        color: #2980b9; /* MyStepney primary blue */
        margin-bottom: 1rem;
        line-height: 1; /* Ensure icon is centered if it has extra line height */
    }

    .help-center-page .category-item h3 {
        font-size: 1.25rem;
        color: #34495e; /* Dark grey blue */
        margin-top: 0;
        margin-bottom: 0.6rem;
        font-weight: 600;
    }

    .help-center-page .category-item p {
        font-size: 0.9rem;
        color: #566573; /* Medium grey */
        margin-bottom: 0;
        line-height: 1.5;
    }

/* Popular FAQs - Accordion */
.help-center-page .popular-faqs {
    margin-bottom: 3.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.help-center-page .accordion-item {
    background-color: #fff;
    border: 1px solid var(--mystepney-border-color, #e0e6ed);
    border-radius: var(--border-radius-md, 8px);
    margin-bottom: 1rem;
    box-shadow: var(--mystepney-shadow-soft, 0 2px 4px rgba(0,0,0,0.03));
    overflow: hidden;
}

.help-center-page .accordion-header {
    background-color: #f8f9fa; /* var(--mystepney-background-light-gray, #f8f9fa); */
    color: #2c3e50; /* var(--mystepney-text-dark, #2c3e50); */
    cursor: pointer;
    padding: 1.2rem 1.5rem;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: background-color 0.2s;
    position: relative;
    display: flex; /* To align text and icon */
    justify-content: space-between;
    align-items: center;
}

    .help-center-page .accordion-header:hover {
        background-color: #f1f5f9; /* Slightly darker light gray */
    }

    .help-center-page .accordion-header.active {
        background-color: #eaf2f8; /* Light blue when active */
        font-weight: 600;
    }

    .help-center-page .accordion-header::after {
        content: '\f078'; /* Font Awesome chevron-down */
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 0.9em;
        color: #2980b9; /* var(--mystepney-accent-blue, #2980b9); */
        transition: transform 0.3s ease-in-out;
    }

    .help-center-page .accordion-header.active::after {
        transform: rotate(180deg);
    }

.help-center-page .accordion-content {
    background-color: white;
    max-height: 0;
    overflow: hidden;
    color: #566573; /* var(--mystepney-text-medium, #566573); */
    line-height: 1.6;
    border-top: 1px solid #e0e6ed; /* var(--mystepney-border-color-light, #e9ecef); */
    /* Initial padding - vertical padding will be set by JS */
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 0;
    padding-bottom: 0;
    /* Transition for all properties including padding and max-height */
    transition: max-height 0.35s ease-out, padding-top 0.35s ease-out, padding-bottom 0.35s ease-out;
}

    .help-center-page .accordion-content p:first-child {
        margin-top: 0; /* If padding is on content div */
    }

    .help-center-page .accordion-content p:last-child {
        margin-bottom: 0;
    }

    .help-center-page .accordion-content p {
        margin-top: 0;
        margin-bottom: 0;
        /* The padding for the content will be on the .accordion-content div itself */
    }

/* Still Need Help Section */
.help-center-page .still-need-help {
    text-align: center;
    background-color: #f0f7ff; /* Softer light blue */
    padding: 3rem 1.5rem;
    border-radius: 10px;
    margin-top: 2.5rem;
}

    .help-center-page .still-need-help p {
        font-size: 1.15rem;
        color: #34495e; /* Dark grey blue */
        margin-bottom: 1.8rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

.help-center-page .btn.btn-primary-alt { /* Assuming a different primary button style or a new one */
    background-color: #EF5844; /* MyStepney green for alternative CTA */
    border-color: #EF5844;
    color: white;
    padding: 0.9rem 2.2rem;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 30px; /* Pill shape button */
    transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
    display: inline-block;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(39,174,96,0.2);
}

    .help-center-page .btn.btn-primary-alt:hover {
        background-color: #229954; /* Darker green */
        border-color: #229954;
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(39,174,96,0.3);
    }

@media (min-width:768px) {
  /*  .margin29 {
        margin-top: 11%;
    }*/
}


@media (max-width: 768px) {
    .margin29 {
        margin-top: -7%;
    }
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .help-center-page .page-header h1 {
        font-size: 2.2rem;
    }

    .help-center-page .faq-categories h2,
    .help-center-page .popular-faqs h2,
    .help-center-page .still-need-help h2 {
        font-size: 1.7rem;
    }

    .help-center-page .search-section form {
        flex-direction: column;
        box-shadow: none;
        border-radius: 0;
    }

    .help-center-page .search-section input[type="search"] {
        border-radius: 6px;
        border-right: 1px solid #d0d0d0;
        margin-bottom: 0.8rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

    .help-center-page .search-section button[type="submit"] {
        border-radius: 6px;
    }

    .help-center-page .category-grid {
        grid-template-columns: 1fr; /* Single column for smaller screens */
    }
}
/* Styles for Help Center Page */

/* Page Header Section */
.help-center-page .page-header {
    text-align: center;
    background-color: var(--mystepney-background-accent, #eaf2f8); /* Added background color */
    padding: var(--spacing-xl, 2.5rem) 15px var(--spacing-lg, 1.5rem); /* Adjusted padding for the background */
    margin-left: -15px; /* Offset container padding to make background full-width relative to container */
    margin-right: -15px; /* Offset container padding */
    margin-bottom: var(--spacing-xxl, 4rem); /* Space below the header */
    border-bottom: 1px solid var(--mystepney-border-color, #dee2e6);
    /* Optional: if you want the background to have rounded bottom corners within the container's flow */
    /* border-radius: 0 0 var(--border-radius-lg, 12px) var(--border-radius-lg); */
}

    /* If you want the background to be truly full-width of the viewport,
       the .page-header element would need to be outside the .container,
       or the .container would need specific overrides for this section.
       The current approach makes it full-width relative to its parent .container.
    */

    .help-center-page .page-header h1 {
        font-size: 2.8rem; /* As per previous Help Center design */
        font-weight: 800; /* As per previous Help Center design */
        color: var(--mystepney-secondary-color, #1a5276);
        margin-top: 0; /* Remove default margin if padding handles it */
        margin-bottom: var(--spacing-sm, 0.5rem);
    }

    .help-center-page .page-header .lead-text {
        font-size: 1.15rem;
        font-weight: 300;
        color: var(--mystepney-text-medium, #566573);
        max-width: 750px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0; /* No extra margin if padding is on the parent */
    }

/* Responsive adjustments for the header, if needed */
@media (max-width: 767px) {
    .help-center-page .page-header {
        padding-top: var(--spacing-lg, 1.5rem);
        padding-bottom: var(--spacing-md, 1rem);
        margin-bottom: var(--spacing-xl, 2.5rem);
    }

        .help-center-page .page-header h1 {
            font-size: 2.2rem; /* Adjust for mobile */
        }

        .help-center-page .page-header .lead-text {
            font-size: 1.05rem; /* Adjust for mobile */
        }
}


