@font-face {
    font-family: 'Ringside';
    src: url('/PTSD/professional/consult/fonts/Ringside-Bold.otf') format('opentype'); /* Make sure to include the correct path and format */
    font-weight: bold!;
    font-style: normal!;
}
@font-face {
    font-family: 'Ringside Narrow';
    src: url('/PTSD/professional/consult/fonts/RingsideNarrow-Bold.otf') format('opentype'); /* Make sure to include the correct path and format */
    font-weight: bold;
    font-style: normal;
}

#custom-section {
    --white: #fff;
    --brand-color-1: rgba(0, 59, 92, 1);
    --brand-color-2: #00BDE3;
    --brand-color-3: #0063A4;
    --accent-color-1: #E35205;
    --brand-color-5: rgba(0, 124, 186, 1);

    --header-font-2: 'Ringside';
    --text-font-1: 'Public Sans';
     --nav-font-1: 'Ringside Narrow';
    --text-color: #1B1B1B;
    --link-color: var(--brand-color-2);
    --line-height: 1.5;
    --font-size: 16px;
    --shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}


#custom-section * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--text-font-1);
    font-size:var(--font-size);
}

#custom-section body {
   
    font-size: var(--font-size);
    color: var(--text-color);
    background-color: var(--white);
}

#custom-section .container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers content horizontally */
    justify-content: center; /* Centers content vertically if needed */
    width: 100%; /* Takes up full width of the parent */
    padding: 0 1rem; /* Optional padding */
    box-sizing: border-box; /* Ensures padding is included in the width */
}

#custom-section h1,
#custom-section h2,
#custom-section h3,
#custom-section h4,
#custom-section h5,
#custom-section h6 {
    font-family: var(--header-font-2)!important;
}

#custom-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-color-1);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

#custom-section h2.underline {
    display: inline-block;
    position: relative;
    margin-bottom: 32px;
}

#custom-section h2.underline::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent-color-1);
}

#custom-section a {
    color: var(--link-color);
    text-decoration: none;
}

#custom-section p {
    line-height: var(--line-height);
    color:var(--text-color)!important;
    margin-bottom: 1rem;
    font-family: var(--text-font-1);
}

#custom-section img {
    max-width: 100%;
    padding:0;
    height:auto;
}

#custom-section section {
    padding: 20px 0;
}

#custom-section nav {
     margin-top: 20px; /* Adds space between the header image and the nav buttons */
     margin-bottom: 20px;
    margin-left: auto;
    margin-right:auto;
    max-width: 655px;
}

#custom-section nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center; /* Center the navigation items */
    flex-wrap: nowrap; /* Prevents wrapping of buttons */
    gap: 5px; /* Decrease the space between the buttons */
 
}

#custom-section nav ul li {
    display: inline-flex;
    flex-grow:1;
      margin: 0 5px; /* Adjust the margin between buttons */
}

#custom-section nav ul li a {
    padding: 10px 15px; /* Ensure consistent padding */
    color: var(--brand-color-1);
    background-color: var(--white);
    font-weight: 700;
    border: 2px solid var(--brand-color-1);
    text-decoration: none;
    border-radius: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    min-width: 150px; /* Minimum width to maintain button size */
    max-width: 200px; /* Maximum width to prevent excessive stretching */
    text-align: center;
    white-space: nowrap; /* Prevents text from wrapping */
     /* Prevents buttons from shrinking too much flex-shrink: 0; */
    flex-basis:0;
    flex-grow:1;
    font-family: var(--nav-font-1);
}

#custom-section nav ul li a svg {
    height: 16px;
    width: 16px;
    margin-left: 8px;
    flex-shrink: 0;
     flex-grow: 0;/* Space between text and icon */
   
}

/* Contact Section */
#custom-section .contact-us {
    background-color: var(--brand-color-1);
    color: var(--white);
    padding: 5px 20px; /* Reduced top padding to close the gap */
    border-radius: 10px;
    box-shadow: var(--shadow);
}

#custom-section .contact-us h2 {
    color: var(--white);
    margin-top: 0.0rem; /* Reduce the top margin to bring the title closer to the section border */
}

/* Ensuring the underline follows the adjustment */
#custom-section .contact-us h2.underline::after {
    background-color: var(--brand-color-2);
}

#custom-section .contact-us p {
    color: var(--white) !important;
}

/* Contact Button Group */
#custom-section .button-group {
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin-bottom: 0.3rem;
}

#custom-section .contact-button {
    position: relative;
    border: none;
    box-shadow: var(--shadow);
    background-color: var(--brand-color-3);
    color: var(--white);
    display: flex;
    align-items: center;
    padding: 12px 30px 12px 100px;
    height: 60px;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}

#custom-section .contact-button:not(:first-child) {
    margin-left: 16px;
}

#custom-section .contact-button svg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
}

#custom-section .contact-button:hover {
    background-color: #005073;
}


#custom-section .feedback-button {
    display: flex;
    justify-content: flex-end; /* Aligns the button to the right */
    margin-top: 20px;
}

#custom-section .feedback-button .feedback {
    background-color:#477A7B; /* Button background color */
    color: #fff; /* Button text color */
    border: none;
    padding: 10px 20px;
    border-radius: 5px; /* Rectangle shape with slightly rounded corners */
    cursor: pointer;
    box-shadow: var(--shadow);
    font-size: 1rem;
    text-decoration: none;
    font-family: var(--text-font-1);
}

#custom-section .feedback-button .feedback:hover {
    background-color: #355946; /* Darker shade for hover effect */
}

#custom-section .consultants {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    justify-content: start;
    margin-top: 20px;
}

#custom-section .consultant {
    text-align: center;
}

#custom-section .consultant img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    box-shadow: var(--shadow);
    margin-bottom: 10px;
}

#custom-section .consultant a {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--text-font-1)!important;
}

#custom-section .consultant a:hover {
    text-decoration: underline;
}

#custom-section .consultants-accordion {
    margin-top: 40px;
}

#custom-section .accordion {
    border-top: 1px solid white;
}

#custom-section .accordion-item {
    border-bottom: 1px solid white;
}

#custom-section .accordion-button {
    background-color: #f1f1f1;
    color: var(--text-color);
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    width: 100%;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--text-font-1)!important;
}

#custom-section .accordion-button.active {
    background-color: #f1f1f1ef;
}

#custom-section .accordion-button .toggle-icon {
    margin-left: auto;
}

#custom-section .accordion-content {
    display: none;
    padding: 20px;
    background-color: var(--white);
    color: var(--text-color);
    font-family: var(--text-font-1)!important;
 
}

#custom-section .accordion-content img {
    float: left;
    margin-right: 20px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    box-shadow: var(--shadow);
}

#custom-section .accordion-content p {
    color: var(--text-color)!important;
    margin-bottom: 20px;
   
}

#custom-section .accordion-content a {
     color: #0063A4;
    text-shadow: none;
    box-shadow: none;
    text-decoration: none!important;
    font-weight: 700;
    margin-top: 20px;
    font-family: var(--text-font-1)!important;
}

#custom-section .accordion-content a:hover {
    text-decoration: underline;
}

#custom-section .consultants-accordion .accordion-button {
    background-color: #f1f1f1;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    width: 100%;
    border: none;
    cursor: pointer;
}

#custom-section .consultants-accordion .accordion-button.active {
    background-color: #e0e0e0;
}

#custom-section .consultants-accordion .accordion-content {
    display: none;
    padding: 20px;
    background-color: #fff;
    color: #666;
    border-top: 1px solid #ccc;
}

#custom-section .consultants-accordion .accordion-content img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 10px;
}

#custom-section .consultants-accordion .accordion-content a {
    color: #0063A4!important;
    text-decoration: none!important;
}

#custom-section .consultants-accordion .accordion-content a:hover {
    text-decoration: underline;
}

#custom-section .consultants-accordion .accordion-item {
    border-bottom: 1px solid #ddd;
}

#custom-section .consultants-accordion .icon {
    margin-right: 10px;
}

#custom-section .consultants-accordion .lectures-title {
    font-weight: bold!important;
    margin-top: 20px;
    margin-bottom: 10px;
   font-family: var(--text-font-1)!important;
    color: var(--text-color)!important;
}

#custom-section .consultants-accordion .lectures-list {
    list-style-type: disc; /* Add bullet points */
    padding-left: 20px; /* Adjust padding to ensure bullets are visible */
    margin: 0;
   
   
    color: #0063A4;
    text-decoration: none;
     
   
}

#custom-section .consultants-accordion .lectures-list li {
    margin-bottom: 5px;
}

#custom-section .consultants-accordion .back-to-list {
    margin-top: 20px;
    display: block;
    color: #0063A4;
    text-decoration: none;
}

#custom-section .consultants-accordion .back-to-list:hover {
    text-decoration: underline;
}

#custom-section #meet-consultants .accordion .accordion-item {
    border-left: 2px solid #f1f1f1;
    border-bottom: 2px solid #f1f1f1;
    border-right: 2px solid #f1f1f1;
    margin-bottom: 10px; /* Add space between accordion items */
}

#custom-section #faq .accordion .accordion-item .accordion-button {
    background-color: var(--white); /* Normal background color for this section */
}

#custom-section #faq .accordion .accordion-item .accordion-button.active {
    background-color: var(--white); /* Background color when the accordion is active */
}

#custom-section #faq .accordion .accordion-item .accordion-button .icon {
    margin-right: 15px; /* Increase the margin to create more space */
    width: 20px;
    height: 20px;
}

#custom-section #faq .accordion .accordion-item .accordion-content {
    padding: 20px;
    background-color: var(--white);
    color: var(--text-color);
}

#custom-section #faq .accordion .accordion-item .accordion-content ul {
    padding-left: 20px;
    list-style-type: none !important;
}

#custom-section #faq .accordion .accordion-item .accordion-content ul li {
    margin-bottom: 10px;
    color: var(--text-color);
    font-family: var(--text-font-1);
}

#custom-section #faq .accordion .accordion-item .accordion-content .faq-list {
    list-style-type: none!important;
    padding-left: 0;
}
.faq-list li::marker {
    color: white!important; /* Change this to your desired bullet color */
}
#custom-section #faq .accordion .accordion-item .accordion-content .faq-list li {
    margin-bottom: 10px;
    color: var(--text-color);
    font-family: var(--text-font-1);
    position: relative;
    padding-left: 20px;
    margin-left: 20px;
    font-size:var(--font-size);
   
}

#custom-section #faq .accordion .accordion-item .accordion-content .faq-list li::before {
    content: '•';
    color: #e35205; /* Desired bullet color */
    position: absolute;
    left: 0;
}

#custom-section .section-title,
#custom-section .section-description {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 27px;
    width: 100%;
    height: auto;
    flex: none;
    order: 2;
    align-self: stretch;
    flex-grow: 0;
}

#custom-section .section-title p strong {
    width: 100%;
    height: 24px;
    font-family: var(--text-font-1);
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    color: #1B1B1B;
    flex: none;
    order: 0;
    flex-grow: 0;
}

#custom-section .section-description p {
    width: 100%;
    height: 72px;
    font-family: var(--text-font-1);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #1B1B1B;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

#custom-section .bullet-points {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 24px;
    width: 654px;
    height: auto;
    flex: none;
    order: 3;
    flex-grow: 0;
}

#custom-section .help-category {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0px;
    gap: 12px;
    width: 650px;
    height: auto;
    flex: none;
    order: 0;
    flex-grow: 0;
}

#custom-section .category-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 30px;
    width: 650px;
    height: 27.81px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

#custom-section .icon-container {
    width: 25px;
    height: 27.81px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

#custom-section .category-header .icon {
    width: 100%;
    height: auto;
}

#custom-section .category-header h3 {
    width: 595px;
    height: 19px;
    font-family: var(--header-font-2);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    display: flex;
    align-items: center;
    letter-spacing: -0.01em;
    color: #000000;
    flex: none;
    order: 1;
    flex-grow: 0;
}

#custom-section .help-category ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 12px;
    width: 650px;
    height: auto;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

#custom-section .help-category ul li {
    width: 595px;
    height: auto;
    font-family: var(--text-font-1);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-indent: 50px;
    color: #E35205;
    flex: none;
    order: 1;
    flex-grow: 1;
}

#custom-section .infographic {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Reduce gap between steps */
}

#custom-section .step {
    display: flex;
    flex-direction: row;
    align-items: start;
    gap: 5px; /* Reduce gap between image and text */
    padding: 0;
}

#custom-section .step img {
    width: 30%; /* Reduce width to make it smaller */
    height: auto;
    object-fit: contain;
    margin-right: 30px;
}

#custom-section .step p {
    margin-left: 0px;
    width: 70%; /* Adjust width accordingly */
    margin: 0;
    font-size: 0.9rem; /* Reduce font size */
    color: #000000;
    font-weight: bold;
    font-family: var(--text-font-1);
}

#custom-section #MissionAndScope {
    position: relative; /* To position the pseudo-element inside this container */
    background: url('images/Mission-and-Scope.png') no-repeat center center; /* Update with the correct path to your background image */
    background-size: cover; /* Ensure the image covers the entire container */
    padding: 40px 20px;
    color: #fff;
}

#custom-section .mission-scope-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1; /* Ensure this container is above the pseudo-element */
}

#custom-section .mission-scope-text {
    position: relative; /* To position the text */
}

#custom-section .mission-scope-text h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    padding-left: 40px; /* Adjust padding if needed */
}

#custom-section .mission-scope-text p {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--white)!important;
}
#custom-section .back-to-top a {
    color: #0063A4!important;
    text-decoration: underline!important;
}
/* Media Queries */

@media (max-width: 600px) {
    #custom-section nav ul {
        flex-direction: column;
    }

    #custom-section nav ul li {
        margin-bottom: 16px;
    }

     #custom-section .contact-us .button-group {
        flex-direction: column;
    }

    #custom-section .contact-us .contact-button:not(:first-child) {
        margin-left: 0;
        margin-top: 16px;
    }
    #custom-section .feedback-button {
        justify-content: center; /* Center the button on small screens */
    }

    #custom-section .infographic .step img {
        width: 40%; /* Make image slightly larger on smaller screens */
    }

    #custom-section .infographic .step p {
        width: 60%; /* Adjust text width accordingly */
    }

    #custom-section .mission-scope-text h2 {
        padding-left: 20px; /* Adjust padding on smaller screens */
    }
}
@media only screen and (max-width: 768px) {
    /* Adjust only the image inside the #custom-section */
    #custom-section img {
        width: 100vw; /* Make the image take up the full viewport width */
        margin-left: -15px; /* Adjust margins to remove any spacing */
        margin-right: -15px; /* Adjust margins to remove any spacing */
        padding-left: 0; /* Remove any padding on the left */
        padding-right: 0; /* Remove any padding on the right */
        max-width: 100vw; /* Ensure the image doesn't exceed the viewport width */
        object-fit: cover; /* Ensure the image covers the full width without distorting */
    }
}