/* IBCT Training Program Styles */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --ibct-primary: #8cc63f;
    /* Apple green from image */
    --ibct-primary-dark: #7ab530;
    --ibct-secondary: #005a87;
    /* Dark blue from buttons/text */
    --ibct-light-bg: #FAFAFA;
    --ibct-text: rgb(26, 32, 44);
    --ibct-white: #fff;
    --ibct-border: #e0e0e0;
}

body.single-ibct_program {
    background-color: #fff;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: var(--ibct-text);
    line-height: 31px;
}

#main-content {
    background-color: #FAFAFA;
}

.ibct-program-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
    color: var(--ibct-text);
}

/* HEADER HERO SECTION */
/* HEADER HERO SECTION (Full Width) */
.ibct-hero-full-width {
    background: linear-gradient(135deg, #a4d262 0%, #d5eac0 100%);
    padding: 60px 0;
    /* Padding vertical only, content uses container */
    margin-bottom: 50px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.ibct-hero-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    flex-wrap: wrap;
}

.ibct-hero-content {
    flex: 2;
    padding-top: 10px;
    min-width: 300px;
}

.ibct-program-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #1c3f5e;
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    padding: 4px 10px;
    border-radius: 4px;
}

.ibct-hero-title {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
    line-height: 1.2;
}

.ibct-hero-desc {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.6;
    color: #000;
    margin-bottom: 20px;
    max-width: 90%;
}

.ibct-hero-meta-icons {
    display: flex;
    gap: 25px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.ibct-h-icon {
    font-weight: 700;
    color: #000;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.ibct-h-icon i {
    color: #000;
    font-size: 24px;
    background: transparent;
    width: auto;
    height: auto;
    display: inline-block;
    line-height: 1;
    border-radius: 0;
}

/* Light Text Variation */
.ibct-hero-full-width.ibct-text-light .ibct-hero-title,
.ibct-hero-full-width.ibct-text-light .ibct-hero-desc,
.ibct-hero-full-width.ibct-text-light .ibct-h-icon,
.ibct-hero-full-width.ibct-text-light .ibct-h-icon i {
    color: #fff !important;
}

.ibct-hero-full-width.ibct-text-light .ibct-program-label {
    color: #fff;
    background: rgba(0, 0, 0, 0.2);
}

/* CURRICULUM 2-COL GRID */
/* PROGRAM BODY CONTENT - ATD Typography */
.ibct-program-body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: rgb(26, 32, 44);
    line-height: 31px;
    font-size: 1rem;
}

.ibct-program-body p {
    margin-bottom: 1.5em;
}

.ibct-program-body strong,
.ibct-program-body b {
    font-weight: 700;
}

.ibct-program-body a {
    color: #0073aa;
    text-decoration: underline;
}

/* Explicit List Styles */
.ibct-program-body ul,
.ibct-acc-body ul {
    list-style-type: disc !important;
    margin-left: 20px !important;
    margin-bottom: 20px;
    padding-left: 20px;
}

.ibct-program-body ol,
.ibct-acc-body ol {
    list-style-type: decimal !important;
    margin-left: 20px !important;
    margin-bottom: 20px;
    padding-left: 20px;
}

.ibct-program-body li,
.ibct-acc-body li {
    margin-bottom: 8px;
    list-style-position: outside;
}

.ibct-curriculum-grid {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.ibct-half-col {
    flex: 1;
    min-width: 300px;
}

.ibct-section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.ibct-section-title,
h3.ibct-section-title,
div.ibct-section-title {
    font-family: 'Roboto', sans-serif !important;
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: 40px !important;
    line-height: 60px !important;
    color: rgb(18, 17, 19) !important;
    margin: 0 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.ibct-section-title.center,
h3.ibct-section-title.center,
div.ibct-section-title.center {
    text-align: center !important;
    margin-bottom: 30px !important;
}

.ibct-expand-all {
    font-size: 0.9rem;
    text-decoration: underline;
    color: #666;
    cursor: pointer;
    white-space: nowrap;
}

.ibct-expand-all:hover {
    color: var(--ibct-secondary);
}

/* ATD STYLE ACCORDION */
.ibct-accordion-atd {
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.ibct-acc-item {
    border-bottom: 1px solid #eee;
}

.ibct-acc-item:last-child {
    border-bottom: none;
}

.ibct-acc-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    transition: background 0.2s;
}

.ibct-acc-header:hover {
    background: #f9f9f9;
}

.ibct-acc-title {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.ibct-acc-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--ibct-secondary);
    color: var(--ibct-secondary);
    transition: all 0.3s;
    flex-shrink: 0;
}

.ibct-acc-item.active .ibct-acc-icon {
    background: var(--ibct-secondary);
    color: #fff;
}

.ibct-acc-icon i {
    font-size: 14px;
    line-height: 1;
}

/* Force Minus Icon when Active (CSS Fallback) */
.ibct-acc-item.active .ibct-acc-icon i::before {
    content: "\f068" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.ibct-acc-body {
    display: none;
    padding: 0 20px 20px 20px;
    border-top: 1px solid #eee;
    background: #fcfcfc;
    color: #555;
    line-height: 1.6;
}

.ibct-show-more-wrapper {
    text-align: center;
    margin-top: 20px;
}

.ibct-show-more-btn {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid var(--ibct-secondary);
    color: var(--ibct-secondary);
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    cursor: pointer;
    background: #fff;
}

.ibct-show-more-btn:hover {
    background: var(--ibct-secondary);
    color: #fff;
}

/* PRICE CARD - ATD Style */
.ibct-price-card {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    text-align: center;
    min-width: 320px;
}

.ibct-price-header-row {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid rgb(222, 233, 232);
    border-radius: 8px;
    overflow: hidden;
}

.ibct-price-col {
    flex: 1;
    padding: 20px 25px;
    text-align: center;
    background: rgb(247, 250, 252);
}

.ibct-price-col.border-left {
    border-left: 1px solid rgb(222, 233, 232);
    background: #fff;
}

.ibct-price-label-top {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgb(18, 17, 19);
    margin-bottom: 8px;
    text-transform: none;
    letter-spacing: normal;
}

.ibct-price-amount-large {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: rgb(18, 17, 19);
}

.ibct-hero-btn {
    display: block;
    width: 100%;
    background-color: #1c3f5e;
    color: #fff;
    text-align: center;
    padding: 0;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: none;
}

.ibct-hero-btn:hover {
    background-color: #153252;
    color: #fff;
    transform: translateY(-2px);
}

.ibct-group-link {
    margin-top: 25px;
    font-size: 16px;
    text-align: center;
}

.ibct-group-link a {
    font-family: 'Roboto', sans-serif;
    color: #1c3f5e;
    text-decoration: underline;
    font-weight: 400;
}

.ibct-group-link a:hover {
    color: #153252;
}



/* CARDS GENERAL */
.ibct-card {
    background: var(--ibct-white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
}

.ibct-section-title {
    font-size: 1.5rem;
    color: var(--ibct-secondary);
    margin-bottom: 20px;
    font-weight: 700;
}

.ibct-section-title.center {
    text-align: center;
}

/* COURSE INFO */
.ibct-course-info h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.ibct-course-info p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: #555;
}

/* SIDEBAR WIDGETS */
.ibct-sidebar-widget {
    margin-bottom: 30px;
}

.ibct-sidebar-header {
    background: linear-gradient(to right, #a4d262, #8cc63f);
    padding: 15px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ibct-sidebar-logo {
    text-align: center;
}

.ibct-sidebar-details {
    background: var(--ibct-white);
    padding: 20px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border: 1px solid #eee;
    border-top: none;
}

.ibct-meta-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.ibct-meta-icon {
    color: var(--ibct-secondary);
    width: 20px;
    padding-top: 3px;
}

.ibct-meta-label {
    font-weight: 700;
    display: block;
    font-size: 0.9rem;
    color: #333;
}

.ibct-meta-value {
    font-size: 0.9rem;
    color: #666;
}

.ibct-brochure-box {
    background: #e8e8e8;
    padding: 25px;
    border-radius: 12px;
}

.ibct-brochure-title {
    font-weight: 700;
    margin-bottom: 10px;
}

.ibct-download-btn {
    display: inline-block;
    background: var(--ibct-secondary);
    color: white;
    padding: 10px 25px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* ACCORDIONS */
.ibct-accordion-item {
    border: 1px solid #eee;
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
}

.ibct-accordion-header {
    background: var(--ibct-white);
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background 0.2s;
}

.ibct-accordion-header:hover {
    background-color: #f9f9f9;
}

.ibct-accordion-content {
    display: none;
    padding: 20px;
    background: #fff;
    border-top: 1px solid #eee;
    color: #555;
    line-height: 1.6;
}

.ibct-accordion-header.active {
    background-color: #f0f7ff;
    color: var(--ibct-secondary);
}

.ibct-accordion-icon {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.ibct-accordion-header.active .ibct-accordion-icon {
    transform: rotate(180deg);
}

/* FACILITATORS (CAROUSEL) */
.ibct-facilitators-carousel,
.ibct-testimonials-carousel {
    visibility: hidden;
    /* Prevent FOUC until Slick init */
    margin: 0 -15px;
}

.ibct-facilitators-carousel.slick-initialized,
.ibct-testimonials-carousel.slick-initialized {
    visibility: visible;
}

.ibct-carousel-item {
    padding: 15px;
    /* Spacing between slides */
}

.ibct-facilitator-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.ibct-facilitator-card:hover {
    transform: translateY(-5px);
}

.ibct-facilitator-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.ibct-facilitator-img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ibct-primary);
}

.ibct-facilitator-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
}

.ibct-facilitator-bio {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.ibct-read-more {
    color: var(--ibct-secondary);
    text-decoration: underline;
    font-size: 0.9rem;
    cursor: pointer;
}

/* SECTION SPACING - Consistent spacing for all full-width sections */
.ibct-section-spacing {
    margin-top: 60px;
    margin-bottom: 60px;
}

/* Dates section spacing */
.ibct-dates-card {
    margin-bottom: 40px;
}

/* DATES TABLE */
.ibct-table-responsive {
    overflow-x: auto;
}

.ibct-dates-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.ibct-dates-table th {
    background-color: #005B8E;
    color: white;
    text-align: left;
    padding: 15px;
}

.ibct-dates-table thead tr:first-child th:first-child {
    border-top-left-radius: 15px;
}

.ibct-dates-table thead tr:first-child th:last-child {
    border-top-right-radius: 15px;
}

.ibct-dates-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.ibct-dates-table tr:last-child td {
    border-bottom: none;
}

.ibct-status-open {
    color: green;
    font-weight: 600;
}

.ibct-status-waitlist {
    color: orange;
    font-weight: 600;
}

.ibct-status-closed {
    color: red;
    font-weight: 600;
}

.ibct-register-btn {
    display: inline-block;
    padding: 6px 15px;
    background-color: var(--ibct-secondary);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
}

/* TESTIMONIALS SECTION (Full Width, No Background) */
.ibct-testimonials-section {
    background: transparent;
    padding: 40px 0;
    margin: 60px 0;
    overflow: hidden;
    width: 100%;
}

.ibct-testimonials-title {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 40px;
    line-height: 60px;
    color: rgb(18, 17, 19);
    margin-bottom: 40px;
}

.ibct-testimonials-carousel {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 70px;
    position: relative;
    overflow: visible;
    box-sizing: border-box;
}

.ibct-testimonials-carousel .slick-list {
    overflow: hidden;
}

.ibct-testimonials-carousel .slick-slide {
    padding: 0 12px;
    box-sizing: border-box;
}

.ibct-testimonials-carousel .slick-track {
    display: flex !important;
}

.ibct-testimonials-carousel .slick-slide {
    height: auto !important;
}

.ibct-testimonials-carousel .slick-slide>div {
    height: 100%;
    width: 100%;
}

.ibct-carousel-item {
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.ibct-testimonial-card {
    background: #fff;
    padding: 32px;
    border-radius: 30px;
    box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.08);
    height: 100%;
    width: 100%;
    display: flex !important;
    flex-direction: column;
    min-height: 280px;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ibct-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.ibct-quote {
    color: #1a202c;
    margin-bottom: 24px;
    line-height: 1.5;
    font-size: 1rem;
    flex: 1;
}

.ibct-author-info {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 20px;
}

.ibct-author-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.ibct-author-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ibct-author-name {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.3;
}

.ibct-author-title {
    color: #888;
    font-size: 0.85rem;
    line-height: 1.3;
}

/* Testimonials Slider Arrows - ATD Style (Blue circles) */
.ibct-testimonials-carousel .slick-prev,
.ibct-testimonials-carousel .slick-next {
    width: 48px !important;
    height: 48px !important;
    background: #005B8E !important;
    border: none !important;
    border-radius: 50% !important;
    z-index: 100 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.ibct-testimonials-carousel .slick-prev:hover,
.ibct-testimonials-carousel .slick-next:hover {
    background: #004a73 !important;
}

.ibct-testimonials-carousel .slick-prev {
    left: -10px !important;
}

.ibct-testimonials-carousel .slick-next {
    right: -10px !important;
}



/* Arrow icons for testimonials */
.ibct-testimonials-carousel .slick-prev i,
.ibct-testimonials-carousel .slick-next i {
    color: #fff !important;
    font-size: 16px !important;
    line-height: 48px !important;
}

.ibct-testimonials-carousel .slick-prev svg,
.ibct-testimonials-carousel .slick-next svg {
    width: 16px !important;
    height: 16px !important;
    fill: #fff !important;
}

/* Slick dots for testimonials */
.ibct-testimonials-carousel .slick-dots {
    bottom: -45px;
}

.ibct-testimonials-carousel .slick-dots li button:before {
    font-size: 10px;
    color: #ccc;
}

.ibct-testimonials-carousel .slick-dots li.slick-active button:before {
    color: #005B8E;
}

/* TRAINERS SECTION (Full Width, Same as Testimonials) */
.ibct-trainers-section {
    background: transparent;
    padding: 40px 0;
    margin: 60px 0;
    overflow: hidden;
    width: 100%;
}

.ibct-trainers-title {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 40px;
    line-height: 60px;
    color: rgb(18, 17, 19);
    margin-bottom: 40px;
}

.ibct-trainers-carousel {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 70px;
    position: relative;
    overflow: visible;
    box-sizing: border-box;
}

.ibct-trainers-carousel .slick-list {
    overflow: hidden;
}

.ibct-trainers-carousel .slick-slide {
    padding: 0 12px;
    box-sizing: border-box;
}

.ibct-trainers-carousel .slick-track {
    display: flex !important;
}

.ibct-trainers-carousel .slick-slide {
    height: auto !important;
}

.ibct-trainers-carousel .slick-slide>div {
    height: 100%;
    width: 100%;
}

.ibct-trainer-card {
    background: #fff;
    padding: 32px;
    border-radius: 30px;
    box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.08);
    height: 100%;
    width: 100%;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    min-height: 280px;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.ibct-trainer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.ibct-trainer-header {
    margin-bottom: 15px;
}

.ibct-trainer-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.ibct-trainer-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 2rem;
    color: #fff;
    letter-spacing: 1px;
}

.ibct-trainer-name {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1a202c;
    margin-bottom: 10px;
}

.ibct-trainer-bio {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 15px;
}

.ibct-trainer-readmore {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: #0073aa;
    text-decoration: underline;
    margin-top: auto;
}

.ibct-trainer-readmore:hover {
    color: #005a87;
}

/* Trainers Slider Arrows - Same as Testimonials */
.ibct-trainers-carousel .slick-prev,
.ibct-trainers-carousel .slick-next {
    width: 48px !important;
    height: 48px !important;
    background: #005B8E !important;
    border: none !important;
    border-radius: 50% !important;
    z-index: 100 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.ibct-trainers-carousel .slick-prev:hover,
.ibct-trainers-carousel .slick-next:hover {
    background: #004a73 !important;
}

.ibct-trainers-carousel .slick-prev {
    left: 10px !important;
}

.ibct-trainers-carousel .slick-next {
    right: 10px !important;
}

.ibct-trainers-carousel .slick-prev:before,
.ibct-trainers-carousel .slick-next:before {
    color: #fff !important;
    font-size: 20px !important;
}

.ibct-trainers-carousel .slick-dots {
    bottom: -45px;
}

.ibct-trainers-carousel .slick-dots li button:before {
    font-size: 10px;
    color: #ccc;
}

.ibct-trainers-carousel .slick-dots li.slick-active button:before {
    color: #005B8E;
}

/* DIVI LAYOUT OVERRIDES */
#content-area {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1240px;
    margin: 0 auto;
}

#left-area {
    flex: 2.5;
    padding-bottom: 20px;
    width: auto !important;
    float: none !important;
    min-width: 0;
    /* Critical: Prevents Slick Slider from expanding container to infinity */
    max-width: 100%;
}

#sidebar {
    flex: 1;
    min-width: 433px;
    max-width: 433px;
    padding-bottom: 20px;
    width: auto !important;
    float: none !important;
    display: block !important;
}

/* Sidebar Widget - ATD Style */
.ibct-sidebar-widget {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.ibct-sidebar-header {
    background: linear-gradient(135deg, #a4d262 0%, #c6e6a3 50%, #e8f5d9 100%);
    padding: 25px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px 15px 0 0;
}

.ibct-sidebar-logo {
    text-align: center;
}

.ibct-sidebar-logo img {
    max-height: 80px !important;
    height: auto !important;
    width: auto;
}

.ibct-sidebar-details {
    padding: 20px;
}

.ibct-meta-item {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.ibct-meta-icon {
    color: #0073aa;
    font-size: 18px;
    min-width: 24px;
    text-align: center;
}

.ibct-meta-label {
    display: block;
    font-weight: 600;
    color: rgb(26, 32, 44);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.ibct-meta-value {
    display: block;
    color: rgb(26, 32, 44);
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* FULL WIDTH SECTIONS (After Sidebar Ends) */
.ibct-fullwidth-sections {
    width: 100%;
    padding: 40px 0;
    background-color: #FAFAFA;
}

.ibct-fullwidth-sections .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Brochure Section - ATD Style */
.ibct-brochure-main,
.ibct-brochure-box {
    margin-top: 40px;
    margin-bottom: 30px;
    padding: 40px;
    border: 1px solid rgb(235, 235, 235);
    border-radius: 30px;
    background: rgb(235, 235, 235);
}

.ibct-brochure-main .ibct-brochure-title,
.ibct-brochure-box .ibct-brochure-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: rgb(26, 32, 44);
    margin-bottom: 12px;
    line-height: 1.3;
}

.ibct-brochure-main p,
.ibct-brochure-box p {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    color: rgb(26, 32, 44);
    line-height: 1.5;
    margin-bottom: 10px;
}

.ibct-brochure-main .ibct-download-btn,
.ibct-brochure-box .ibct-download-btn {
    display: inline-block;
    padding: 3px 17px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 10px;
    transition: background 0.3s ease;
}

.ibct-brochure-main .ibct-download-btn:hover,
.ibct-brochure-box .ibct-download-btn:hover {
    opacity: 0.9;
}

/* Register Button - ATD Style */
.ibct-register-btn {
    display: inline-flex;
    appearance: none;
    align-items: center;
    justify-content: center;
    user-select: none;
    position: relative;
    white-space: nowrap;
    vertical-align: middle;
    outline: transparent solid 2px;
    outline-offset: 2px;
    width: 100%;
    line-height: 1.2;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    height: 35px;
    min-width: 2.5rem;
    font-size: 1rem;
    padding: 0 0px;
    background: #0077c8;
    /* ATD Blue Approx or IBCT Primary */
    color: #ffffff;
    text-decoration: none;
    border: none;
    font-family: 'Roboto', sans-serif;
}

.ibct-register-btn:hover {
    background: #004a73;
    color: #fff;
    transform: translateY(-1px);
}

/* Disabled Button Style */
.ibct-register-btn.ibct-btn-disabled {
    background-color: #ccc !important;
    color: #666 !important;
    cursor: not-allowed !important;
    pointer-events: none;
    /* Prevent clicks */
    box-shadow: none;
}

/* Slick Button Customization */
.slick-slider {
    max-width: 100%;
    /* Constraint */
}

/* --- SLICK SLIDER ARROWS FIX --- */
.slick-prev,
.slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 40px !important;
    height: 40px !important;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: rgba(0, 0, 0, 0.5) !important;
    border-radius: 50% !important;
    z-index: 100 !important;
}

.slick-prev:hover,
.slick-next:hover {
    background: rgba(0, 0, 0, 0.8) !important;
}

.slick-prev:before,
.slick-next:before {
    content: '' !important;
    display: none !important;
}

.slick-prev {
    left: -25px;
}

.slick-next {
    right: -25px;
}

/* Icon inside the button - supports both CSS webfont (i) and SVG+JS (svg) modes */
.slick-prev i,
.slick-next i {
    color: #fff !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-size: 18px !important;
    line-height: 40px !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
}

/* FontAwesome SVG+JS mode support */
.slick-prev svg,
.slick-next svg {
    width: 18px !important;
    height: 18px !important;
    fill: #fff !important;
    color: #fff !important;
    display: block !important;
    margin: auto !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

/* Facilitators Specifics */
.ibct-facilitators-carousel .slick-prev {
    left: -15px !important;
}

.ibct-facilitators-carousel .slick-next {
    right: -15px !important;
}

/* Testimonials Specifics */
.ibct-testimonials-carousel .slick-prev {
    left: 10px !important;
}

.ibct-testimonials-carousel .slick-next {
    right: 10px !important;
}

.slick-next i {
    color: #fff;
    font-size: 18px;
    line-height: 40px;
    /* Center vert */
    text-align: center;
    display: block;
}

/* Specific adjustments for Facilitators (Cards) */
.ibct-facilitators-carousel .slick-prev {
    left: -15px;
}

.ibct-facilitators-carousel .slick-next {
    right: -15px;
}

/* Specific adjustments for Testimonials */
.ibct-testimonials-carousel .slick-prev {
    left: 10px;
}

.ibct-testimonials-carousel .slick-next {
    right: 10px;
}

.slick-dots li button:before {
    font-size: 10px;
    color: #ccc;
    opacity: 1;
}

.slick-dots li.slick-active button:before {
    color: var(--ibct-secondary);
}

/* --- SIDEBAR STYLING --- */
.ibct-meta-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.ibct-meta-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ibct-meta-icon {
    flex-shrink: 0;
    width: 30px;
    color: var(--ibct-primary);
    font-size: 18px;
    padding-top: 3px;
    text-align: center;
    margin-right: 10px;
}

.ibct-meta-label {
    display: block;
    font-weight: 700;
    color: #333;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.ibct-meta-value {
    display: block;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* CREDITS TABLE */
.ibct-credits-table {
    width: 100%;
    border-collapse: collapse;
}

.ibct-credits-table th,
.ibct-credits-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.ibct-credits-table th {
    background-color: var(--ibct-secondary);
    color: white;
}

/* GROUP FORM */
.ibct-group-form-section {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 40px;
}

/* CREDITS TABLE STYLING */
.ibct-credits-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.ibct-credits-table th {
    background-color: #005B8E;
    color: white;
    text-align: left;
    padding: 15px;
}

.ibct-credits-table thead tr:first-child th:first-child {
    border-top-left-radius: 15px;
}

.ibct-credits-table thead tr:first-child th:last-child {
    border-top-right-radius: 15px;
}

.ibct-credits-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.ibct-credits-table tr:last-child td {
    border-bottom: none;
}

/* CREDIT ICON TAGS - ATD Style */
.ibct-credit-icon-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    justify-content: center;
}

.ibct-credit-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    background-color: #FFF;
    border: 0.5px solid #CBD5E0;
    border-radius: 30px;
    color: #005b8e;
    font-size: 14px;
    font-weight: 500;
    height: 28px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.ibct-credit-tag:hover {
    border-color: #A0AEC0;
    background-color: #F7FAFC;
}

.ibct-credit-tag i {
    font-size: 18px;
    color: inherit;
}

/* SLICK CAROUSEL ARROWS */
.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 50%;
    color: var(--ibct-primary) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

/* Center Slick Dots */
.slick-dots {
    display: flex !important;
    justify-content: center;
    padding: 0;
    margin: 20px 0 0 0;
    list-style: none;
    width: 100%;
    text-align: center;
}

.slick-dots li {
    margin: 0 5px;
}

.slick-prev:hover,
.slick-next:hover {
    background: var(--ibct-primary) !important;
    color: #fff !important;
}

.slick-prev {
    left: -20px;
}

.slick-next {
    right: -20px;
}

/* RESPONSIVE */
@media (max-width: 992px) {

    /* Hide Slick Arrows on Tablet/Mobile - Use Dots */
    .slick-prev,
    .slick-next {
        display: none !important;
    }

    /* Sidebar Image Fix */
    .ibct-sidebar-logo img {
        max-width: 100%;
        height: auto;
    }

    .ibct-hero {
        flex-direction: column;
    }

    .ibct-hero-content {
        text-align: left;
    }

    .ibct-testimonial-card,
    .ibct-trainer-card {
        margin: 10px;
        /* Add margin to prevent cutoff */
        height: auto !important;
        /* Allow height to adjust */
    }

    .ibct-price-card {
        margin: 0 auto !important;
        width: 100%;
        max-width: 400px;
        /* Maintain max-width constraint */
    }

    .ibct-testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Hero Section */
    .ibct-hero-flex {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        /* Ensure items like price card are vertically centered in the column */
    }

    .ibct-hero-content {
        text-align: left;
        padding-right: 0;
    }

    .ibct-hero-meta-icons {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .ibct-price-card {
        max-width: 400px;
        margin: 0 auto;
    }

    /* Content and Sidebar */
    #content-area {
        flex-direction: column;
        max-width: 100%;
    }

    #left-area {
        width: 100%;
        max-width: 100%;
    }

    #sidebar {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        margin-top: 30px;
    }

    .ibct-sidebar-widget {
        max-width: 500px;
        margin: 0 auto;
    }

    /* Accordions Grid */
    .ibct-accordions-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Brochure Section */
    .ibct-brochure-main,
    .ibct-brochure-box {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .ibct-brochure-main .ibct-download-btn,
    .ibct-brochure-box .ibct-download-btn {
        margin-top: 15px;
    }

    /* Tables */
    .ibct-table-responsive {
        overflow-x: auto;
    }

    .ibct-dates-table,
    .ibct-credits-table {
        min-width: 600px;
    }

    /* Credit Icon Tags */
    .ibct-credit-icon-tags {
        gap: 6px;
    }

    .ibct-credit-tag {
        padding: 8px 12px;
        font-size: 13px;
        height: auto;
    }
}

@media (max-width: 768px) {

    /* Hero */
    .ibct-hero-full-width {
        padding: 40px 15px;
    }

    .ibct-hero-title {
        font-size: 1.8rem;
    }

    .ibct-program-label {
        font-size: 0.85rem;
    }

    .ibct-hero-desc {
        font-size: 0.95rem;
    }

    .ibct-h-icon {
        font-size: 0.9rem;
    }

    /* Price Card */
    .ibct-price-card {
        padding: 25px 20px;
    }

    .ibct-price-header-row {
        flex-direction: column;
        gap: 15px;
    }

    .ibct-price-col {
        text-align: center;
        padding: 0;
        border-right: none;
    }

    /* Section Titles */
    .ibct-section-title {
        font-size: 1.4rem;
    }

    /* Accordion */
    .ibct-acc-header {
        padding: 15px;
    }

    .ibct-acc-title {
        font-size: 0.95rem;
    }

    .ibct-acc-body {
        padding: 0 15px 15px 15px;
    }

    /* Sidebar Meta */
    .ibct-meta-item {
        font-size: 0.9rem;
    }

    /* Trainers/Testimonials Cards */
    .ibct-trainer-card,
    .ibct-testimonial-card {
        padding: 20px;
    }

    /* Group Form */
    .ibct-group-form-section {
        padding: 25px 15px;
    }

    /* Container padding */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {

    /* Hero */
    .ibct-hero-title {
        font-size: 1.5rem;
    }

    .ibct-hero-meta-icons {
        flex-direction: column;
        gap: 10px;
    }

    /* Price */
    .ibct-price-value {
        font-size: 1.5rem;
    }

    /* Accordion icon */
    .ibct-acc-icon {
        width: 26px;
        height: 26px;
    }

    .ibct-acc-icon i {
        font-size: 12px;
    }

    /* Credit tags stacked */
    .ibct-credit-icon-tags {
        flex-direction: column;
        align-items: center;
    }

    .ibct-credit-tag {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Tables */
    .ibct-dates-table,
    .ibct-credits-table {
        font-size: 0.85rem;
    }

    .ibct-dates-table th,
    .ibct-dates-table td,
    .ibct-credits-table th,
    .ibct-credits-table td {
        padding: 10px 8px;
    }

    /* MOBILE CAROUSEL CARD WIDTH FIXES */
    /* Remove excessive padding on mobile carousels */
    .ibct-testimonials-carousel,
    .ibct-trainers-carousel {
        padding: 0 20px !important;
    }

    /* Reduce slide padding to maximize card width */
    .ibct-testimonials-carousel .slick-slide,
    .ibct-trainers-carousel .slick-slide {
        padding: 0 5px !important;
    }

    /* Force cards to use full available width */
    .ibct-testimonial-card,
    .ibct-facilitator-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    /* Ensure carousel items use full width */
    .ibct-carousel-item {
        width: 100% !important;
        padding: 10px 0 !important;
    }
}

/* =========================================
   DEFINITIVE MOBILE FIXES (NUCLEAR OPTION V2)
   ========================================= */
@media (max-width: 992px) {

    /* 1. HERO SECTION - LEFT ALIGN TEXT, CENTER PRICING CARD */
    .ibct-hero-flex {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        /* Ensure flex container fills the width and has no unexpected spacing */
    }

    /* Left-align hero content text and icons - stretch to full width */
    .ibct-hero-content {
        text-align: left !important;
        align-self: stretch !important;
        width: 100% !important;
    }

    .ibct-hero-meta-icons {
        justify-content: flex-start !important;
    }

    /* Center the pricing card - using transform for bulletproof centering */
    .ibct-price-card {
        position: relative !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 20px !important;
        margin-bottom: 20px !important;
        width: calc(100% - 30px) !important;
        max-width: 350px !important;
        float: none !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
        display: block !important;
    }

    /* Fix price card internal layout on mobile */
    .ibct-price-header-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .ibct-price-col {
        width: 100% !important;
        border-left: none !important;
        border-right: none !important;
    }

    .ibct-hero-btn {
        display: block !important;
        width: 100% !important;
        padding: 12px 20px !important;
        margin-top: 15px !important;
        position: static !important;
    }

    .ibct-group-link {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin-top: 15px !important;
    }

    /* 2. SIDEBAR CONTENT CUTOFF FIX */
    #sidebar,
    .ibct-sidebar-widget {
        width: auto !important;
        /* Let it shrink */
        max-width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        /* forceful cutoff prevention */
    }

    .ibct-sidebar-widget img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* 3. SLICK SLIDER DOTS CENTERING */
    .slick-dots {
        position: static !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 20px auto !important;
        padding: 0 !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }

    .slick-dots li {
        display: inline-block !important;
        float: none !important;
        margin: 0 4px !important;
    }

    /* 4. CONSISTENT MOBILE SECTION SPACING */
    /* Hero Section */
    .ibct-hero-full-width {
        padding: 30px 0 !important;
        margin-bottom: 25px !important;
    }

    /* Main Content Area */
    .ibct-content-area {
        padding: 0 !important;
        margin-bottom: 25px !important;
    }

    /* Sidebar */
    .ibct-sidebar-area,
    #sidebar {
        margin-bottom: 25px !important;
    }

    /* Fullwidth Sections Container */
    .ibct-fullwidth-sections {
        padding: 25px 0 !important;
    }

    /* Individual Section Spacing */
    .ibct-trainers-section,
    .ibct-testimonials-section,
    .ibct-related-section,
    .ibct-brochure-section,
    .ibct-credits-section,
    .ibct-dates-section,
    .ibct-group-form-section {
        padding: 25px 0 !important;
        margin-bottom: 0 !important;
    }

    /* Section Title Spacing */
    .ibct-section-title,
    h3.ibct-section-title,
    div.ibct-section-title {
        margin-bottom: 20px !important;
    }

    /* Accordion Sections */
    .ibct-accordion-section {
        margin-bottom: 25px !important;
    }

    /* Brochure Box */
    .ibct-brochure-main,
    .ibct-brochure-box {
        margin-top: 20px !important;
        margin-bottom: 20px !important;
        padding: 25px 20px !important;
    }

    /* Tables Container */
    .ibct-dates-table-wrapper,
    .ibct-credits-table-wrapper {
        margin-bottom: 20px !important;
    }

    /* Cards (Trainer/Testimonial) */
    .ibct-facilitator-card,
    .ibct-testimonial-card {
        margin-bottom: 15px !important;
    }

    /* Carousel Container Spacing */
    .ibct-facilitators-carousel,
    .ibct-testimonials-carousel {
        margin-bottom: 20px !important;
    }
}

/* 4. ACCORDION ICON SVG FIX (Universal) */
/* Hide the SVG when active because FA JS might fail to swap it */
.ibct-acc-item.active .ibct-acc-icon svg,
.ibct-acc-item.active .ibct-acc-icon i {
    display: none !important;
}

/* Use the container to render the minus sign directly */
.ibct-acc-item.active .ibct-acc-icon::after {
    content: "\f068" !important;
    /* Minus icon */
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    color: #fff !important;
    /* Ensure it contrasts with the active background */
    font-size: 14px !important;
}

/* Ensure active state background is set */
.ibct-acc-item.active .ibct-acc-icon {
    background: var(--ibct-secondary) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* 5. ACCORDION CONTENT TYPOGRAPHY */
.ibct-acc-body,
.ibct-acc-body p,
.ibct-acc-body ul,
.ibct-acc-body li,
.ibct-acc-body span {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 300 !important;
    font-size: 18px !important;
    line-height: 31px !important;
    color: rgb(26, 32, 44) !important;
}

/* =========================================
   PREMIUM CATALOG STYLES (Glassmorphism & Pills)
   ========================================= */
#ibct-catalog-root {
    font-family: 'Roboto', sans-serif;
    color: #2d3748;
    max-width: 100%;
}

/* --- FILTER PILLS --- */
#ibct-catalog-root .ibct-catalog-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
    justify-content: center;
}

#ibct-catalog-root .ibct-filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f7fafc;
    padding: 8px;
    border-radius: 50px;
    border: 1px solid #edf2f7;
}

#ibct-catalog-root .ibct-filter-label {
    font-weight: 700;
    font-size: 0.85rem;
    color: #718096;
    padding-left: 10px;
    margin-right: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#ibct-catalog-root .ibct-pill {
    appearance: none;
    border: none;
    background: transparent;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
}

#ibct-catalog-root .ibct-pill:hover {
    background: #e2e8f0;
    color: #2d3748;
}




#ibct-catalog-root .ibct-pill.active {
    background: #1c3f5e;
    color: #fff;
    box-shadow: 0 4px 12px rgba(28, 63, 94, 0.3);
}

/* --- GRID LAYOUT --- */
#ibct-catalog-root .ibct-catalog-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 40px !important;
    width: 100% !important;
}

/* --- PREMIUM CARD --- */
#ibct-catalog-root .ibct-catalog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    top: 0;
}

#ibct-catalog-root .ibct-catalog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e0;
}

#ibct-catalog-root .ibct-card-image {
    height: 180px;
    width: 100%;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #edf2f7;
    position: relative;
}

#ibct-catalog-root .ibct-card-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

#ibct-catalog-root .ibct-card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

#ibct-catalog-root .ibct-card-subtitle {
    font-size: 0.75rem;
    font-weight: 800;
    color: #8cc63f;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
    display: block;
}

#ibct-catalog-root .ibct-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 15px 0;
    color: #1a202c;
}

#ibct-catalog-root .ibct-card-title a {
    color: #1a202c !important;
    text-decoration: none !important;
    background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
    background-repeat: no-repeat;
    background-size: 100% 0em;
    background-position: 0 88%;
    transition: background-size 0.25s ease-in;
}

#ibct-catalog-root .ibct-card-title a:hover {
    background-size: 100% 0.4em;
}

#ibct-catalog-root .ibct-card-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #2d3748;
    background: #edf2f7;
    padding: 5px 12px;
    border-radius: 8px;
    display: inline-block;
}

#ibct-catalog-root .ibct-card-meta {
    margin-top: auto;
    padding-top: 20px;
    margin-bottom: 25px;
    border-top: 1px solid #f7fafc;
}

#ibct-catalog-root .ibct-card-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    background: #1c3f5e;
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(28, 63, 94, 0.2);
}

#ibct-catalog-root .ibct-card-btn:hover {
    background: #2c5282;
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(28, 63, 94, 0.25);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    #ibct-catalog-root .ibct-catalog-controls {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    #ibct-catalog-root .ibct-filter-group {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   HERO SECTION & LAYOUT POLISH
   ========================================= */

/* Page Title Hiding is handled by JS in script.js */

/* Full Width Hero Trick for Catalog */
.ibct-catalog-hero {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(135deg, #1c3f5e 0%, #2c5282 100%);
    padding: 80px 20px;
    margin-bottom: 50px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.ibct-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ibct-catalog-hero .ibct-hero-content h1 {
    color: #fff !important;
    font-size: 3rem !important;
    font-weight: 800 !important;
    margin-bottom: 15px !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    letter-spacing: -0.5px !important;
}

.ibct-catalog-hero .ibct-hero-content p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.25rem !important;
    font-weight: 300 !important;
    margin: 0 !important;
}

/* Bottom Spacing */
#ibct-catalog-root {
    margin-bottom: 100px !important;
}

/* =========================================
   REGISTRATION MODAL
   ========================================= */
.ibct-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 300000;
    /* Above sticky nav (200001) and Divi header (200000) */
    display: none;
    align-items: center;
    justify-content: center;
}

.ibct-modal-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    /* Reduced from 600px */
    max-height: 85vh;
    /* Reduced height */
    overflow-y: auto;
    /* Restored scrolling */
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    padding: 0;
    animation: ibct-slide-up 0.4s ease-out;
}

/* Ensure Select Dropdowns are visible */
body .gform_wrapper select option {
    color: #333 !important;
    background: #fff !important;
}

/* Fix Datepicker Z-Index & Size */
#ui-datepicker-div {
    z-index: 999999999 !important;
    font-size: 13px !important;
    /* Smaller text */
    width: auto !important;
    max-width: 280px !important;
    /* Compact width */
}

#ui-datepicker-div .ui-datepicker-calendar th,
#ui-datepicker-div .ui-datepicker-calendar td {
    padding: 2px !important;
    /* Tighter cells */
}

@keyframes ibct-slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ibct-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #666;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
}

.ibct-modal-close:hover {
    color: #e53e3e;
}

.ibct-modal-body {
    padding: 25px;
    /* Reduced from 40px */
}

.ibct-modal-title {
    text-align: center;
    margin-bottom: 5px;
    color: #2d3748;
    font-weight: 700;
    font-size: 1.5rem;
    /* Explicit size */
}

.ibct-modal-desc {
    text-align: center;
    color: #718096;
    margin-bottom: 20px;
    font-size: 0.9rem;
    /* Reduced from 1rem */
}

body.ibct-modal-open {
    overflow: hidden;
}

/* =========================================
   MODERN GRAVITY FORMS STYLING (High Specificity Force)
   ========================================= */
body .gform_wrapper {
    margin-top: 50px !important;
    padding: 40px !important;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

body .gform_wrapper .gform_heading {
    margin-bottom: 30px !important;
    text-align: left !important;
}

body .gform_wrapper .gform_title {
    font-family: 'Roboto', sans-serif !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    margin: 0 !important;
    text-align: left !important;
}

body .gform_wrapper .gform_description {
    font-family: 'Roboto', sans-serif !important;
    font-size: 1rem !important;
    color: #718096 !important;
    margin-top: 10px !important;
    text-align: left !important;
    display: block !important;
}

/* Fields & Labels */
body .gform_wrapper ul.gform_fields li.gfield {
    margin-bottom: 25px !important;
}

body .gform_wrapper label.gfield_label {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    color: #4a5568 !important;
    margin-bottom: 8px !important;
    text-align: left !important;
    display: block !important;
}

body .gform_wrapper input[type=text],
body .gform_wrapper input[type=email],
body .gform_wrapper input[type=tel],
body .gform_wrapper input[type=number],
body .gform_wrapper textarea,
body .gform_wrapper select {
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    color: #2d3748 !important;
    background: #f8fafc !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
}

body .gform_wrapper input:focus,
body .gform_wrapper textarea:focus,
body .gform_wrapper select:focus {
    border-color: #8cc63f !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(140, 198, 63, 0.15) !important;
    outline: none !important;
}

/* Submit Button */
body .gform_wrapper .gform_footer {
    padding: 0 !important;
    margin-top: 20px !important;
    text-align: left !important;
    justify-content: flex-start !important;
    display: flex !important;
}

body .gform_wrapper .gform_footer input[type=submit] {
    background: #1c3f5e !important;
    color: #fff !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    padding: 15px 40px !important;
    border-radius: 50px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: auto !important;
    min-width: 200px;
    box-shadow: 0 4px 14px rgba(28, 63, 94, 0.3) !important;
}

body .gform_wrapper .gform_footer input[type=submit]:hover {
    background: #2c5282 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(28, 63, 94, 0.4) !important;
}

/* Error States */
body .gform_wrapper .gfield_error input,
body .gform_wrapper .gfield_error textarea,
body .gform_wrapper .gfield_error select {
    border-color: #e53e3e !important;
    background-color: #fff5f5 !important;
}

body .gform_wrapper .validation_message {
    color: #e53e3e !important;
    font-weight: 500 !important;
    padding-top: 5px !important;
    text-align: left !important;
}

/* Rebuilt Footer v1.9.5 */

/* =========================================
   STICKY NAV BAR (Frontend - Two-State)
   ========================================= */
.ibct-sticky-nav-bar {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 0;
    position: sticky;
    /* Sticky - JS will set top dynamically based on header height */
    top: var(--ibct-sticky-top, 0px);
    z-index: 200001;
    /* Above Divi header (200000) */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: top 0.3s ease, all 0.3s ease;
}

/* Admin bar offset is now handled dynamically by JavaScript
   along with the main header height calculation */

/* Flex Container */
.ibct-nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Initially centered (Dropdown only) */
    gap: 20px;
    transition: all 0.3s ease;
}

/* --- STATE 1: DEFAULT (Below Hero) --- */
/* Hide Title and Right Section initially */
.ibct-nav-left,
.ibct-nav-right {
    opacity: 0;
    visibility: hidden;
    width: 0;
    /* Collapse space */
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* --- STATE 2: STUCK (Scrolled) --- */
/* When .ibct-stuck class is added via JS */
.ibct-sticky-nav-bar.ibct-stuck .ibct-nav-container {
    justify-content: space-between;
    /* Spread out */
}

.ibct-sticky-nav-bar.ibct-stuck .ibct-nav-left,
.ibct-sticky-nav-bar.ibct-stuck .ibct-nav-right {
    opacity: 1;
    visibility: visible;
    width: auto;
    /* Restore space */
    height: auto;
}

.ibct-sticky-nav-bar.ibct-stuck .ibct-nav-left {
    max-width: 25%;
    /* Limit title width */
}

/* 1. Left: Title */
.ibct-nav-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 2. Middle: Dropdown */
.ibct-nav-middle {
    flex: 1;
    max-width: 600px;
    /* Wide enough for text */
    transition: all 0.3s ease;
}

/* When stuck, reduce max-width if needed or let it flex */
.ibct-sticky-nav-bar.ibct-stuck .ibct-nav-middle {
    max-width: 300px;
    /* Shrink to fit others */
}

.ibct-jump-menu-wrapper {
    position: relative;
    width: 100%;
}

#ibct-jump-menu {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    border: 1px solid #cbd5e0;
    border-radius: 30px;
    /* PILL SHAPE */
    padding: 6px 20px;
    /* Requested padding */
    font-size: 15px;
    color: #2d3748;
    font-weight: 500;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16' fill='%23718096'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    transition: all 0.2s;
}

#ibct-jump-menu:hover {
    border-color: #3182ce;
}

#ibct-jump-menu:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

/* 3. Right: Prices & Buttons */
.ibct-nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
}

/* Prices */
.ibct-nav-prices {
    display: flex;
    flex-direction: column;
    text-align: right;
    border-right: 1px solid #e2e8f0;
    padding-right: 20px;
}

.ibct-nav-price-item {
    font-size: 13px;
    line-height: 1.4;
    color: #2d3748;
}

.ibct-nav-price-label {
    font-weight: 400;
    color: #718096;
    margin-right: 5px;
}

.ibct-nav-price-amount {
    font-weight: 700;
}

/* Buttons */
.ibct-nav-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ibct-nav-group-btn {
    padding: 1px 16px;
    /* Requested padding */
    font-size: 14px;
    font-weight: 600;
    color: #2b6cb0;
    border: 1px solid #2b6cb0;
    border-radius: 30px;
    /* PILL SHAPE */
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.ibct-nav-group-btn:hover {
    background: #ebf8ff;
    color: #2c5282;
}

.ibct-nav-enroll-btn {
    padding: 2px 20px;
    /* Requested padding */
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: #0073aa;
    border-radius: 30px;
    /* PILL SHAPE */
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.ibct-nav-enroll-btn:hover {
    background: #005177;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media screen and (max-width: 992px) {

    .ibct-nav-title,
    .ibct-nav-prices,
    .ibct-nav-group-btn {
        display: none !important;
    }

    .ibct-nav-middle {
        max-width: none !important;
        flex: 1;
    }

    .ibct-sticky-nav-bar.ibct-stuck .ibct-nav-middle {
        max-width: none;
    }

    .ibct-nav-right {
        gap: 10px;
    }
}