/* Reset / Base */

.rb-requirement-page *,
.rb-requirement-page *::before,
.rb-requirement-page *::after {
    box-sizing: border-box;
}

main.site-main.rb-requirement-page {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.single-requirements .site-content,
body.single-requirements .content-area {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}


/* Reusable Container */

.rb-req-container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Shared: Check Icon */

.rb-req-check-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Shared: Video Wrapper */

.rb-req-video-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    background: #000;
}

.rb-req-video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.rb-req-video-wrapper:hover .rb-req-video-thumb {
    opacity: 0.85;
}

.rb-req-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    border: none !important;
    background: none !important;
    padding: 0 !important;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.2s ease;
}

.rb-req-video-play:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.rb-req-video-play svg {
    width: 100%;
    height: 100%;
}

.rb-req-video-wrapper.rb-req-video-playing .rb-req-video-thumb,
.rb-req-video-wrapper.rb-req-video-playing .rb-req-video-play {
    display: none;
}

.rb-req-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Section 1: Hero */

.rb-req-hero {
    position: relative;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 80px 0 120px;
}

.rb-req-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right in oklab,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.88) 25%,
        rgba(0, 0, 0, 0.75) 50%,
        rgba(0, 22, 31, 0.63) 62.5%,
        rgba(0, 50, 70, 0.42) 75%,
        rgba(0, 50, 70, 0.21) 87.5%,
        rgba(0, 50, 70, 0.08) 95%,
        rgba(0, 50, 70, 0) 100%
    );
    z-index: 1;
}

.rb-req-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.rb-req-hero-content {
    max-width: 600px;
}

.rb-requirement-page .rb-req-hero-title {
    font-size: 42px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
}

.rb-requirement-page .rb-req-hero-description {
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #ffffff !important;
    margin: 0 0 32px 0 !important;
    opacity: 0.92;
}

.rb-req-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: stretch;
}

.rb-requirement-page .rb-req-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    padding: 15px 30px !important;
    box-sizing: border-box;
    font-size: 20px !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    border-radius: 5px !important;
    cursor: pointer;
    transition: all 0.25s ease;
}

.rb-requirement-page .rb-req-btn-primary {
    background-color: #0099D7 !important;
    color: #ffffff !important;
    border: 1px solid #0099D7 !important;
}

.rb-requirement-page .rb-req-btn-primary:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #0099D7 !important;
}

.rb-requirement-page .rb-req-btn-outline {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
}

.rb-requirement-page .rb-req-btn-outline:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
}




/* Section 2: Lead Form */

.rb-req-lead-form {
    position: relative;
    z-index: 3;
    margin-top: -60px;
    padding: 0 20px 60px;
}

.rb-requirement-page .rb-req-lead-form-container {
    max-width: 1180px;
    margin: 0 auto;
    background: #F0F3F6 !important;
    border-radius: 16px;
    /* padding: 40px 48px; */
}

.rb-requirement-page .rb-req-lead-form-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #0099D7 !important;
    padding: 20px 20px 10px 40px !important;
    margin: 0 0 6px 0 !important;
}

.rb-requirement-page .rb-req-lead-form-subtitle {
    font-size: 15px !important;
    color: #666 !important;
    padding: 0px 20px 0px 40px !important;
    margin-bottom: 0px;
}

.rb-req-form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 24px;
    align-items: end;
}

.rb-req-form-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.rb-requirement-page .rb-req-form-field input,
.rb-requirement-page .rb-req-form-field select {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font-size: 14px;
    font-family: inherit;
    background: #ffffff !important;
    border: 1.5px solid #d0d5dd !important;
    border-radius: 25px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.rb-requirement-page .rb-req-form-field input:focus,
.rb-requirement-page .rb-req-form-field select:focus {
    outline: none;
    border-color: #0099D7 !important;
    box-shadow: 0 0 0 3px rgba(0, 153, 215, 0.1);
}

/* Select Dropdown */
.rb-requirement-page .rb-req-select-field {
    position: relative;
}

.rb-requirement-page .rb-req-select-field select {
    padding-right: 42px !important;
    cursor: pointer;
    color: #999;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: none !important;
}

.rb-requirement-page .rb-req-select-field select:valid {
    color: inherit;
}

.rb-requirement-page .rb-req-select-field::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 10px;
    height: 10px;
    border-right: 2px solid #004C6B;
    border-bottom: 2px solid #004C6B;
    transform: rotate(45deg);
    pointer-events: none;
    transition: transform 0.2s ease, bottom 0.2s ease;
}

.rb-requirement-page .rb-req-select-field:focus-within::after {
    transform: rotate(225deg);
    bottom: 11px;
}

/* Autofill Fix */
.rb-req-form-field input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
}

/* Submit Button */
.rb-req-form-submit {
    display: flex;
    align-items: flex-end;
}

.rb-requirement-page .rb-req-btn-submit {
    width: 100%;
    height: 48px;
    padding: 0 24px;
    font-size: 14px;
    border: none !important;
}


/* Section 3: Eligibility Table */

.rb-req-eligibility {
    padding: 60px 0;
}

.rb-requirement-page .rb-req-eligibility-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #0099D7 !important;
    text-align: center;
    margin: 0 0 16px 0 !important;
}

.rb-req-eligibility-intro {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 40px;
    font-size: 15px;
    line-height: 1.7;
}

.rb-req-eligibility-table-wrap {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
}

.rb-req-eligibility-table-header {
    background: #004C6B;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    padding: 16px 24px;
    border-radius: 12px 12px 0 0;
}

.rb-req-eligibility-table {
    width: 100%;
}

.rb-req-eligibility-row {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 0;
    align-items: center;
    border-bottom: 1px solid #E8ECF0;
}

.rb-req-eligibility-row:last-child {
    border-bottom: none;
}

.rb-req-eligibility-row-head {
    background: #F8F9FB;
}

.rb-req-eligibility-row-head .rb-req-eligibility-col {
    font-weight: 700;
    font-size: 14px;
    padding: 14px 24px;
}

.rb-req-eligibility-col {
    padding: 18px 24px;
    font-size: 14px;
    line-height: 1.5;
}

.rb-req-col-profession { font-weight: 600; }
.rb-req-col-eligibility { text-align: center; }

.rb-req-elig-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 4px;
}

.rb-req-elig-yes { background: #E6F7ED; color: #1A7A3A; }
.rb-req-elig-no { background: #FDE8E8; color: #B91C1C; opacity: 0.7; }
.rb-req-eligibility-row-ineligible { opacity: 1; }

.rb-req-eligibility-disclaimer {
    background: #0099D7;
    color: #ffffff;
    font-size: 14px;
    font-style: italic;
    text-align: center;
    padding: 14px 24px;
    border-radius: 0 0 12px 12px;
}

.rb-req-eligibility-disclaimer strong { font-weight: 700; }

a.rb-req-eligibility-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px 32px;
    margin-top: 24px;
    background: #ffffff;
    border: 1px solid #E8ECF0;
    border-radius: 12px;
    flex-wrap: wrap;
    text-decoration: none !important;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

a.rb-req-eligibility-cta:hover {
    border-color: #0099D7;
    box-shadow: 0 4px 16px rgba(0, 153, 215, 0.1);
    text-decoration: none !important;
}

.rb-req-eligibility-cta-text {
    font-size: 20px;
    font-weight: 700;
    color: #004C6B;
}

.rb-req-eligibility-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: #ffffff;
    background: #0099D7;
    padding: 12px 28px;
    border-radius: 5px;
    transition: background 0.2s ease, gap 0.2s ease;
}

a.rb-req-eligibility-cta:hover .rb-req-eligibility-cta-btn {
    background: #007db3;
    gap: 12px;
}

.rb-req-eligibility-cta-arrow {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}


/* Section 4: Training Required */

.rb-req-training {
    padding: 60px 0;
    background: #ffffff;
}

.rb-req-training-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
}

.rb-req-training-text {
    background: linear-gradient(to bottom, #FFFFFF 5%, #dbf4ff 100%);
    border: 1px solid #B7EAFF;
    border-radius: 25px;
    padding: 40px;
    position: relative;
    z-index: 2;
    margin-right: -60px;
}

.rb-requirement-page .rb-req-training-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #0099D7 !important;
    line-height: 1.3 !important;
    margin: 0 0 20px 0 !important;
}

.rb-req-training-content {
    font-size: 15px;
    line-height: 1.8;
}

.rb-req-training-content p { margin: 0 0 16px 0; }
.rb-req-training-content p:last-child { margin-bottom: 0; }

.rb-req-training-image { position: relative; z-index: 1; }

.rb-req-training-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50px;
    display: block;
    min-height: 400px;
}


/* Section 5: Why Pursue Certification */

.rb-req-why {
    padding: 60px 0;
    background: #F0F3F6;
}

.rb-requirement-page .rb-req-why-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #0099D7 !important;
    text-align: center;
    margin: 0 0 12px 0 !important;
}

.rb-req-why-subtitle {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 40px;
    font-size: 15px;
    line-height: 1.7;
}

.rb-req-why-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rb-req-why-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.rb-req-why-item-active {
    background: #EDF7FA;
    border: 1px solid #B7EAFF;
}

.rb-requirement-page .rb-req-why-item-header {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 24px 32px;
    border: none !important;
    background: none !important;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    font-size: inherit !important;
}

.rb-requirement-page .rb-req-why-item-header .rb-req-why-item-title {
    display: block;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    overflow-wrap: break-word;
    word-break: break-word;
}

.rb-requirement-page .rb-req-why-item-header .rb-req-why-item-icon {
    flex: 0 0 56px !important;
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.rb-req-why-item-body { padding: 0 32px 32px; }

.rb-req-why-item-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.rb-req-why-item-desc {
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

.rb-req-why-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rb-req-why-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
}

.rb-req-why-item-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}


/* Section 6: Get Certified */

.rb-req-certified {
    padding: 80px 0;
    background: #ffffff;
}

.rb-req-certified-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.rb-req-certified-images {
    position: relative;
    padding-bottom: 60px;
}

.rb-req-certified-img-top {
    position: relative;
    z-index: 2;
    width: 85%;
    margin-left: auto;
}

.rb-req-certified-img-top img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    object-fit: cover;
}

.rb-req-certified-img-bottom {
    position: relative;
    z-index: 3;
    width: 65%;
    margin-top: -80px;
}

.rb-req-certified-img-bottom img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.08);
}

.rb-requirement-page .rb-req-certified-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #0099D7 !important;
    line-height: 1.25 !important;
    margin: 0 0 24px 0 !important;
}

.rb-req-certified-text {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.rb-req-certified-text p { margin: 0 0 16px 0; }
.rb-req-certified-text p:last-child { margin-bottom: 0; }

.rb-req-certified-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rb-req-certified-check-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.rb-req-certified-check-item .rb-req-check-icon {
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

.rb-req-certified-check-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rb-req-certified-check-text strong {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
}

.rb-req-certified-check-text span {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}


/* Section 7: Upcoming Training Events */
 
.rb-req-events {
    padding: 80px 0;
    background: #F0F3F6;
}
 
.rb-requirement-page .rb-req-events-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #0099D7 !important;
    text-align: center;
    margin: 0 0 40px 0 !important;
}
 
.rb-req-events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
 
/* Event card */
.rb-req-event-card {
    display: flex;
    background: #ffffff;
    border: 1px solid #E8ECF0;
    border-radius: 12px;
    overflow: hidden;
    padding: 1rem;
    gap: 15px;
    text-decoration: none !important;
    color: inherit !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
 
.rb-req-event-card:hover {
    border-color: #0099D7;
    box-shadow: 0 4px 16px rgba(0, 153, 215, 0.1);
    text-decoration: none !important;
    color: inherit !important;
}
 
/* Left: content area */
.rb-req-event-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
 
/* Location header bar */
.rb-req-event-location-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #0099D7;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
}
 
.rb-req-event-location-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
 
/* Course list */
.rb-req-event-courses {
    padding: 14px 20px 16px;
    flex: 1;
}
 
.rb-req-event-courses ul {
    list-style: disc;
    margin: 0;
    padding: 0 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
 
.rb-req-event-courses li {
    font-size: 14px;
    line-height: 1.45;
    color: #333;
}
 
.rb-req-event-fallback-title {
    font-size: 14px;
    line-height: 1.45;
    color: #333;
    font-weight: 600;
    margin: 0;
}
 
/* Right: date badge */
.rb-req-event-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    width: 80px;
    background: #EDF7FA;
    flex-shrink: 0;
    border-radius: 15px;
    padding: 16px 12px;
    justify-content: space-evenly;
}
 
.rb-req-event-month {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    line-height: 1.2;
}
 
.rb-req-event-day {
    font-size: 20px;
    color: #1a1a1a;
    line-height: 1.15;
}
 
.rb-req-event-year {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    line-height: 1.2;
}
 
/* View All CTA */
.rb-req-events-cta {
    text-align: center;
    margin-top: 32px;
}

.rb-req-events-cta a.rb-req-btn.rb-req-btn-primary.all-events-btn {
    background-color: #ffffff !important;
    color: #0099D7 !important;
    border: 1px solid #0099D7 !important;
    padding: 16px 40px !important;
}

.rb-req-events-cta a.rb-req-btn.rb-req-btn-primary.all-events-btn:hover {
    background-color: #0099D7 !important;
    color: #ffffff !important;
    padding: 16px 40px !important;
    border-color: #0099D7 !important;
}


/* Section 8: Why AAFE Certification Program */

.rb-req-benefits {
    padding: 80px 0;
    background: #ffffff;
}

.rb-requirement-page .rb-req-benefits-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #0099D7 !important;
    text-align: center;
    margin: 0 0 20px 0 !important;
}

.rb-req-benefits-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    font-size: 15px;
    line-height: 1.8;
}

.rb-req-benefits-intro p { margin: 0 0 16px 0; }
.rb-req-benefits-intro p:last-child { margin-bottom: 0; }

.rb-req-benefits-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.rb-requirement-page .rb-req-benefits-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: 1px solid #0099D7 !important;
    border-radius: 5px !important;
    background: #ffffff !important;
    color: #1a1a1a !important;
    font-size: 18px !important;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

.rb-requirement-page .rb-req-benefits-tab:hover {
    border-color: #0099D7 !important;
    color: #0099D7 !important;
}

.rb-requirement-page .rb-req-benefits-tab-active {
    background: #0099D7 !important;
    border-color: #0099D7 !important;
    color: #ffffff !important;
}

.rb-requirement-page .rb-req-benefits-tab-active:hover { color: #ffffff !important; }

.rb-req-benefits-tab-icon { width: 28px; height: 28px; object-fit: contain; }
.rb-req-benefits-tab-active .rb-req-benefits-tab-icon { filter: brightness(0) invert(1); }

.rb-req-benefits-panel { display: none; }
.rb-req-benefits-panel-active { display: block; }

.rb-req-benefits-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    background: linear-gradient(to top, #FFFFFF 5%, #dbf4ff 100%);
    border: 2px solid #B7EAFF;
    border-radius: 12px;
    padding: 48px;
}

.rb-requirement-page .rb-req-benefits-panel-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #0099D7 !important;
    margin: 0 0 20px 0 !important;
}

.rb-req-benefits-panel-desc {
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 24px 0;
}

.rb-req-benefits-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rb-req-benefits-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
}

.rb-req-benefits-bullets .rb-req-check-icon {
    width: 22px;
    height: 22px;
    margin-top: 1px;
}

.rb-req-benefits-panel-video {
    display: flex;
    flex-direction: column;
}

.rb-req-benefits-video-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    margin: 0 0 16px 0;
}

.rb-req-play-triangle { width: 18px; height: 18px; flex-shrink: 0; }


/* Section 9: Testimonials */

.rb-req-testimonials {
    padding: 80px 0;
    background: #F0F3F6;
}

.rb-requirement-page .rb-req-testimonials-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #0099D7 !important;
    text-align: center;
    margin: 0 0 40px 0 !important;
}

.rb-req-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rb-req-testimonial-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid #E8ECF0;
}

.rb-req-testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rb-req-testimonial-avatar { width: 60px; height: 60px; flex-shrink: 0; }
.rb-req-testimonial-avatar svg { width: 100%; height: 100%; }

.rb-req-testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.rb-req-testimonial-name {
    font-size: 15px;
    font-weight: 700;
    color: #0099D7;
    line-height: 1.3;
}

.rb-req-testimonial-role {
    font-size: 13px;
    color: #666;
    line-height: 1.3;
}

.rb-req-testimonial-stars {
    display: flex;
    gap: 2px;
    margin-top: 2px;
}

.rb-req-star { width: 14px; height: 14px; }
.rb-req-star-filled { color: #F5A623; }
.rb-req-star-empty { color: #D0D5DD; }

.rb-req-testimonial-quote {
    position: relative;
    padding-left: 36px;
    flex: 1;
}

.rb-req-quote-mark {
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 24px;
}

.rb-req-testimonial-quote p {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    color: #1a1a1a;
    margin: 0;
}

.rb-req-testimonial-card .rb-req-video-wrapper {
    border-radius: 12px;
    aspect-ratio: 16 / 9;
}

/* Section 10: Approval Logos Carousel */
.rb-req-logos {
    padding: 40px 0;
    background: #ffffff;
    overflow: hidden;
}

.rb-req-logos-overflow {
    overflow: hidden;
    border-radius: 12px;
}

.rb-req-logos-track {
    display: flex;
    animation: rb-req-logos-scroll 20s linear infinite;
    width: max-content;
}

.rb-req-logos-track:hover { animation-play-state: paused; }

@keyframes rb-req-logos-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% / 3)); }
}

.rb-req-logo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    min-width: 200px;
    padding: 20px 24px;
    margin-right: 24px;
}

.rb-req-logo-img {
    width: 100%;
    max-width: 160px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F0F3F6;
    border-radius: 12px;
    padding: 12px 20px;
}

.rb-req-logo-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.rb-req-logo-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
}

/* Section 11: FAQ  */
.rb-req-faq {
    padding: 80px 0;
    background: #ffffff;
}
 
.rb-req-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 0 60px;
    align-items: start;
}
 
.rb-req-faq-header {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 16px;
}
 
.rb-req-faq-left {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    max-width: 100%;
}
 
.rb-req-faq-right {
    grid-column: 2;
    grid-row: 1 / -1;
    min-width: 0;
    max-width: 100%;
}
 
.rb-req-faq-eyebrow {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #555555;
    margin-bottom: 8px;
}
 
.rb-requirement-page .rb-req-faq-heading {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #0099D7 !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    overflow-wrap: break-word;
}
 
.rb-req-faq-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 32px 0;
}
 
.rb-req-faq-form-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #E8ECF0;
}
 
.rb-req-faq-form-header {
    background: #004C6B;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    padding: 16px 24px;
}
 
.rb-req-faq-form-body {
    padding: 24px;
    background: #F0F3F6;
}
 
.rb-req-faq-form-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
 
.rb-requirement-page .rb-req-faq-btn-submit {
    width: 100%;
    height: 48px;
    padding: 0 24px;
    font-size: 14px;
    border: none !important;
    margin-top: 4px;
}
 
.rb-req-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
 
.rb-req-faq-item {
    background: #F0F3F6;
    border-radius: 12px;
    overflow: hidden;
    transition: background 0.25s ease;
}
 
.rb-req-faq-item-active { background: #EDF7FA; }
 
.rb-requirement-page .rb-req-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    border: none !important;
    background: none !important;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    font-size: 15px !important;
    font-weight: 700;
    color: #1a1a1a !important;
    font-family: inherit;
    line-height: 1.4;
    white-space: normal !important;
}
 
.rb-req-faq-question > span:first-child {
    min-width: 0;
    flex: 1 1 0;
    white-space: normal !important;
}
 
.rb-req-faq-toggle {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0099D7;
    color: #ffffff;
    border-radius: 6px;
}
 
.rb-req-faq-toggle svg { width: 18px; height: 18px; }
 
.rb-req-faq-icon-minus { display: none; }
.rb-req-faq-item-active .rb-req-faq-icon-plus { display: none; }
.rb-req-faq-item-active .rb-req-faq-icon-minus { display: block; }
 
.rb-req-faq-answer { padding: 0 24px 24px; }
 
.rb-req-faq-answer-content {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    overflow-wrap: break-word;
    word-break: break-word;
}
 
.rb-req-faq-answer-content p { margin: 0 0 16px 0; }
.rb-req-faq-answer-content p:last-child { margin-bottom: 0; }

.hsfc-Step .hsfc-Step__Content{
    padding: 0 !important;
}

/* HubSpot Lead Form Styling */
#rb-req-hubspot-form .hs-form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px;
    padding: 16px 40px 28px;
    align-items: flex-end;
}

#rb-req-hubspot-form .hs-form-field {
    flex: 1 1 calc(25% - 15px);
    min-width: 0;
    position: relative;
    padding-bottom: 0px;
}

#rb-req-hubspot-form .hs-form-field label {
    display: block;
    font-size: 12px;
    color: #333;
    margin-bottom: 4px;
}

#rb-req-hubspot-form .hs-form-field label .hs-form-required {
    color: #333;
}

#rb-req-hubspot-form .hs-input {
    width: 100% !important;
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
    font-family: inherit;
    background: #ffffff !important;
    border: 1.5px solid #d0d5dd !important;
    border-radius: 5px !important;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none !important;
    appearance: none !important;
}

#rb-req-hubspot-form .hs-input:focus {
    outline: none;
    border-color: #0099D7 !important;
    box-shadow: 0 0 0 3px rgba(0, 153, 215, 0.1);
}

#rb-req-hubspot-form select.hs-input {
    cursor: pointer;
    color: #999;
    padding-right: 40px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23004C6B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
}

#rb-req-hubspot-form select.hs-input:valid {
    color: inherit;
}

#rb-req-hubspot-form select.hs-input option {
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    background: #ffffff;
}

#rb-req-hubspot-form select.hs-input option:hover,
#rb-req-hubspot-form select.hs-input option:checked {
    background: #EDF7FA;
    color: #0099D7;
}

#rb-req-hubspot-form select.hs-input option:first-child {
    color: #999;
}

#rb-req-hubspot-form .hs-submit {
    flex: 1 1 calc(25% - 15px);
    min-width: 0;
}

#rb-req-hubspot-form .hs-button {
    /* width: 100%; */
    height: 42px;
    padding: 0 24px;
    background: #0099D7 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 5px !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: inherit;
}

#rb-req-hubspot-form .hs-button:hover {
    background: #007db3 !important;
}

#rb-req-hubspot-form .hs-form-field .hs-error-msgs {
    list-style: none;
    padding: 0;
    margin: 0;
    bottom: 0;
    left: 0;
}
#rb-req-hubspot-form .hs_error_rollup {
    display: none !important;
}
#rb-req-hubspot-form .hs-error-msgs li {
    font-size: 12px;
    color: #B91C1C;
}

#rb-req-hubspot-form .hs-form-field .hs-error-msgs label {
    font-size: 12px;
    color: #B91C1C;
    font-weight: 400;
}

/* Hide HubSpot default legal consent text styling */
#rb-req-hubspot-form .legal-consent-container {
    flex-basis: 100%;
    font-size: 11px;
    color: #999;
    line-height: 1.5;
}

#rb-req-hubspot-form .legal-consent-container a {
    color: #0099D7;
    font-size: inherit;
}

#rb-req-hubspot-form .hs-input[type="checkbox"] {
    width: auto !important;
    height: auto !important;
    border-radius: 4px !important;
    padding: 0 !important;
    appearance: auto !important;
    -webkit-appearance: auto !important;
    cursor: pointer;
}

#rb-req-hubspot-form .legal-consent-container .hs-form-booleancheckbox-display {
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
    text-align: justify;
}

#rb-req-hubspot-form .legal-consent-container .hs-form-booleancheckbox-display input {
    margin-top: 4px;
    flex-shrink: 0;
}

/* Autofill fix */
#rb-req-hubspot-form .hs-input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
}

/* HubSpot FAQ Form Styling - Compact */
#rb-req-faq-hubspot-form {
    background: #F0F3F6;
    border-radius: 12px;
    padding: 18px;
}

#rb-req-faq-hubspot-form .hs-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 14px;
}

#rb-req-faq-hubspot-form .hs-form-field {
    position: relative;
    padding-bottom: 0px;
}

#rb-req-faq-hubspot-form .hs-form-field label {
    display: block;
    font-size: 12px;
    color: #333;
    margin-bottom: 4px;
}

#rb-req-faq-hubspot-form .hs-form-field label .hs-form-required {
    color: #333;
}

#rb-req-faq-hubspot-form .hs-input {
    width: 100% !important;
    height: 38px !important;
    padding: 0 13px !important;
    font-size: 13px;
    font-family: inherit;
    background: #ffffff !important;
    border: 1.5px solid #d0d5dd !important;
    border-radius: 6px !important;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none !important;
    appearance: none !important;
}

#rb-req-faq-hubspot-form .hs-input:focus {
    outline: none;
    border-color: #0099D7 !important;
    box-shadow: 0 0 0 3px rgba(0, 153, 215, 0.1);
}

#rb-req-faq-hubspot-form select.hs-input {
    cursor: pointer;
    color: #999;
    padding-right: 36px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23004C6B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
}

#rb-req-faq-hubspot-form select.hs-input:valid {
    color: inherit;
}

/* First + Last side by side */
#rb-req-faq-hubspot-form .hs_firstname,
#rb-req-faq-hubspot-form .hs_lastname {
    grid-column: span 1;
}

/* State + Zip side by side */
#rb-req-faq-hubspot-form .hs_state,
#rb-req-faq-hubspot-form .hs_zip,
#rb-req-faq-hubspot-form .hs_postal_code {
    grid-column: span 1;
}

/* Make email/phone full width */
#rb-req-faq-hubspot-form .hs_email,
#rb-req-faq-hubspot-form .hs_phone {
    grid-column: span 2;
}

#rb-req-faq-hubspot-form .hs-button {
    height: 40px !important;
    padding: 0 20px !important;
    background: #0099D7 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: inherit;
}

#rb-req-faq-hubspot-form .hs-button:hover {
    background: #007db3 !important;
}

#rb-req-faq-hubspot-form .hs-submit {
    grid-column: span 2;
}

#rb-req-faq-hubspot-form .hs-form-field .hs-error-msgs {
    list-style: none;
    padding: 0;
    margin: 0;
    bottom: 0;
    left: 0;
}

/* Hide HubSpot's global bottom error */
#rb-req-faq-hubspot-form .hs_error_rollup {
    display: none !important;
}

#rb-req-faq-hubspot-form .hs-error-msgs li,
#rb-req-faq-hubspot-form .hs-form-field .hs-error-msgs label {
    font-size: 11px;
    color: #B91C1C;
    font-weight: 400;
}

#rb-req-faq-hubspot-form .hs-input[type="checkbox"] {
    width: auto !important;
    height: auto !important;
    border-radius: 4px !important;
    padding: 0 !important;
    appearance: auto !important;
    -webkit-appearance: auto !important;
    cursor: pointer;
}

#rb-req-faq-hubspot-form .legal-consent-container {
    grid-column: span 2;
    font-size: 11px;
    color: #999;
    line-height: 1.45;
}

#rb-req-faq-hubspot-form .legal-consent-container a {
    color: #0099D7;
    font-size: inherit;
}

#rb-req-faq-hubspot-form .legal-consent-container .hs-form-booleancheckbox-display {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
    text-align: justify;
}

#rb-req-faq-hubspot-form .legal-consent-container .hs-form-booleancheckbox-display input {
    margin-top: 4px;
    flex-shrink: 0;
}

#rb-req-faq-hubspot-form .hs-input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
}


@media (max-width: 1024px) {
    .rb-req-hero { padding: 60px 20px 100px; }
}

@media (max-width: 992px) {
    .rb-req-hero { min-height: 420px; padding: 60px 20px 100px; }
    .rb-requirement-page .rb-req-hero-title { font-size: 32px !important; }

    .rb-requirement-page .rb-req-lead-form-title,
    .rb-requirement-page .rb-req-lead-form-subtitle {padding: 0px !important}

    .rb-req-form-grid { grid-template-columns: repeat(2, 1fr); }
    .rb-req-lead-form-container { padding: 32px; }

    .rb-req-eligibility-row { grid-template-columns: 1.5fr 1fr 2fr; }

    .rb-req-training-grid { grid-template-columns: 1fr; }
    .rb-req-training-text { margin-right: 0; }

    .rb-req-why-item-content { grid-template-columns: 1fr; }

    .rb-req-certified { padding: 60px 0; }
    .rb-req-certified-grid { grid-template-columns: 1fr; gap: 40px; }
    .rb-req-certified-images { max-width: 500px; margin: 0 auto; padding-left: 0; }

    .rb-req-events { padding: 60px 0; }
    .rb-req-events-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }

    .rb-req-benefits { padding: 60px 0; }
    .rb-req-benefits-panel-grid { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
    .rb-req-benefits-tabs { gap: 12px; }
    .rb-requirement-page .rb-req-benefits-tab { padding: 12px 24px; font-size: 14px !important; }

    .rb-req-testimonials { padding: 60px 0; }
    .rb-req-testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }

    .rb-req-faq { padding: 60px 0; }
    .rb-req-faq-grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 32px; }
    .rb-req-faq-header { grid-column: 1; grid-row: auto; order: 1; margin-bottom: 0; }
    .rb-req-faq-right { grid-column: 1; grid-row: auto; order: 2; }
    .rb-req-faq-left { grid-column: 1; grid-row: auto; order: 3; }
    .rb-req-faq-desc { max-width: none; }

    #rb-req-hubspot-form .hs-form {padding: 0px;}

    #rb-req-hubspot-form .hs-form-field {
    flex: 1 1 calc(50% - 10px);
    }
    #rb-req-hubspot-form .hs-submit {
        flex: 1 1 calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    .rb-req-hero { min-height: auto; padding: 48px 0 90px; background-position: center; }
    .rb-req-hero-overlay { background: rgba(0, 0, 0, 0.72); }
    .rb-req-hero-container { padding: 0 16px; }
    .rb-requirement-page .rb-req-hero-title { font-size: 26px !important; }
    .rb-req-hero-description { font-size: 15px; }
    .rb-req-hero-ctas { flex-direction: column; align-items: stretch; }
    .rb-req-btn-outline { text-align: center; }

    #rb-req-hubspot-form .hs-button{ width: 100%;}

    .rb-requirement-page .rb-req-lead-form-title {padding: 0px !important;}
    .rb-requirement-page .rb-req-lead-form-subtitle {padding: 0px !important;}
    .rb-req-lead-form { padding: 0 16px 40px; }
    .rb-req-lead-form-container { padding: 24px 20px; }
    .rb-req-lead-form-title { font-size: 22px; }
    .rb-req-form-grid { grid-template-columns: 1fr; }

    .rb-requirement-page .rb-req-btn { font-size: 18px !important;}

    .rb-req-eligibility { padding: 40px 0; }
    .rb-requirement-page .rb-req-eligibility-title { font-size: 24px !important; }
    .rb-req-eligibility-row-head { display: none; }
    .rb-req-eligibility-row { display: flex; flex-direction: column; padding: 16px 20px; gap: 6px; }
    .rb-req-eligibility-col { padding: 0; }
    .rb-req-col-profession { font-size: 15px; }
    .rb-req-col-eligibility { text-align: left; }
    .rb-req-col-requirements { font-size: 13px; opacity: 0.85; }

    a.rb-req-eligibility-cta { flex-direction: column; text-align: center; gap: 12px; padding: 20px; }

    .rb-req-training { padding: 40px 0; }
    .rb-requirement-page .rb-req-training-title { font-size: 22px !important; }

    .rb-req-why { padding: 40px 0; }
    .rb-requirement-page .rb-req-why-title { font-size: 24px !important; }
    .rb-requirement-page .rb-req-why-item-header { padding: 20px; font-size: inherit !important; }
    .rb-requirement-page .rb-req-why-item-header .rb-req-why-item-title { font-size: 15px !important; }
    .rb-requirement-page .rb-req-why-item-header .rb-req-why-item-icon { flex: 0 0 40px !important; width: 40px; height: 40px; }
    .rb-req-why-item-body { padding: 0 20px 24px; }

    .rb-req-certified { padding: 40px 0; }
    .rb-requirement-page .rb-req-certified-title { font-size: 24px !important; }
    .rb-req-certified-images { padding-left: 0; padding-bottom: 40px; }
    .rb-req-certified-img-top { width: 90%; }
    .rb-req-certified-img-bottom { width: 60%; margin-top: -60px; }
    .rb-req-certified-checklist { gap: 16px; }

    .rb-req-events { padding: 40px 0; }
    .rb-requirement-page .rb-req-events-title { font-size: 24px !important; }
    .rb-req-events-grid { max-width: none; }
    .rb-req-event-location-bar { padding: 8px 16px; font-size: 13px;}
    .rb-req-event-courses { padding: 12px 16px 14px; }
    .rb-req-event-card { padding: 16px; gap: 14px; }
    .rb-req-event-courses li { font-size: 13px; }
    .rb-req-event-date-badge { min-width: 68px; width: 68px; padding: 12px 8px; }
    .rb-req-event-day { font-size: 16px; }
    .rb-req-event-month { font-size: 10px; }
    .rb-req-event-month, .rb-req-event-year { font-size: 12px; }

    .rb-req-benefits { padding: 40px 0; }
    .rb-requirement-page .rb-req-benefits-title { font-size: 24px !important; }
    .rb-req-benefits-intro { font-size: 14px; }
    .rb-req-benefits-tabs { flex-direction: column; align-items: stretch; }
    .rb-requirement-page .rb-req-benefits-tab { justify-content: center; }
    .rb-req-benefits-panel-grid { padding: 24px 20px; }
    .rb-requirement-page .rb-req-benefits-panel-title { font-size: 22px !important; }

    .rb-req-logo-card { min-width: 180px; padding: 16px 20px; }

    .rb-req-testimonials { padding: 40px 0; }
    .rb-requirement-page .rb-req-testimonials-title { font-size: 24px !important; }
    .rb-req-testimonials-grid { max-width: none; }

    #rb-req-faq-hubspot-form .hs-form {
        grid-template-columns: 1fr;
    }
    #rb-req-faq-hubspot-form .hs-button {
        width: 100%;
    }

    #rb-req-faq-hubspot-form .hs_email,
    #rb-req-faq-hubspot-form .hs_phone,
    #rb-req-faq-hubspot-form .hs-submit,
    #rb-req-faq-hubspot-form .legal-consent-container {
        grid-column: span 1;
    }

    .rb-req-faq { padding: 40px 0; }
    .rb-requirement-page .rb-req-faq-heading { font-size: 24px !important; }
    .rb-req-faq-form-body { padding: 20px 16px; }
    .rb-req-faq-form-fields { gap: 14px; }
    .rb-requirement-page .rb-req-faq-question { padding: 16px 20px; font-size: 14px !important; }
    .rb-req-faq-answer { padding: 0 20px 20px; }

    #rb-req-hubspot-form .hs-form {
    padding: 20px 0px;
    }
    #rb-req-hubspot-form .hs-form-field,
    #rb-req-hubspot-form .hs-submit {
        flex: 1 1 100%;
    }
}