/* Global Styles */
:root {
    --primary-red: #d72e3a;
    --primary-black: #000000;
    --text-dark: #333333;
    --white: #ffffff;
    --font-main: 'Roboto', sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.course-list-section-bam p {
    margin-bottom: 20px;
}
.container{
    max-width: 1200px;
    /* 1200px */
    margin: 0 auto;
    padding: 0 1.25rem;
}



body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #f8f8f800;
}
.news-events-wrapper1bg {
     max-width: 1200px;
    margin-right: auto;
    margin-left: auto;;
}

 .bam-mba-form-hero .container {
     max-width: 1200px!important; 
 }
.container .tuition-banner-bam  {
     max-width: 1200px!important;
     margin-right: auto;
     margin-left: auto;
}
.unb-container-bam {
     max-width: 1200px; 
    /* 1200px */
    margin: 0 auto;
    padding: 0 1.25rem;
    /* padding-bottom: 0% !important; */
    /* 20px */
}

#admissions .unb-container-bam {
    padding-bottom: 0 !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Helper Classes */
.btn-bam {
    padding: 0.625rem 1.25rem;
    /* 10px 20px */
    border-radius: 1.875rem;
    /* 30px */
    font-size: 0.8125rem;
    /* 13px */
    font-weight: 700;
    /* text-transform: uppercase; */
    display: inline-block;
}

.btn-red-bam {
    background-color: var(--primary-red);
    color: var(--white);
    box-shadow: 0 0.25rem 0.375rem rgba(210, 38, 48, 0.3);
    /* 0 4px 6px */
}

.btn-red-bam:hover {
    background-color: #b01b23;
    transform: translateY(-0.125rem);
    /* -2px */
}

.btn-black-bam {
    background-color: var(--primary-black);
    color: var(--white);
    box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.3);
    /* 0 4px 6px */
}

.btn-black-bam:hover {
    background-color: #333;
    transform: translateY(-0.125rem);
    /* -2px */
}

.btn-large-bam {
    width: fit-content;
    padding: 0.9375rem 2.5rem;
    /* 15px 40px */
    font-size: 1rem;
    /* 16px */
    box-shadow: 0 0.375rem 0.75rem rgba(210, 38, 48, 0.4);
    /* 0 6px 12px */
}

/* Tab Navigation */
.tab-nav-bar-bam {
    background-color: #000;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.tab-list-bam {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.tab-list-bam li {
    flex: auto;
    text-align: center;
}

.tab-list-bam li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 1.5625rem 0.5rem;
    /* Increased height: 25px 8px */
    color: #fff;
    /* font-weight: 700; */
    /* text-transform: uppercase; */
    font-size: 1.3rem;
    /* 14px for better visibility */
    line-height: 1.2;
    transition: all 0.3s;
}

.tab-list-bam li.is-active-bam a {
    background-color: var(--primary-red);
    color: #fff;
    font-weight: 700;
}

.tab-list-bam li a:hover {
    color: #ccc;
}

/* Overview & Specializations Shared */
.section-title-bam {
    font-size: 2.375rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 1.875rem;
}

.sub-title-bam {
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

/* Info Section (Added) */
.info-section-bam {
    display: flex;
    justify-content: space-between;
    background: #000;
    color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.info-block-bam h4 {
    font-size: 0.8rem;
    color: var(--primary-red);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.info-block-bam p {
    font-weight: 700;
}

/* Overview Specific */
.overview-section-bam {
    padding: 3.75rem 0;
    /* 60px 0 */
    background-color: #fff;
}

.overview-grid-bam {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.75rem;
    /* 60px */
    /* margin-bottom: 3.75rem; */
    /* 60px */
    align-items: start;
}

.overview-text-bam p,
.spec-details-bam p,
.admission-req-section-bam p {
    margin-bottom: 1.25rem;
    /* 20px */
    font-size: 1rem;
    /* 16px */
    line-height: 1.7;
    color: #333;
}

.overview-image-bam img {
    width: 100%;
    border-radius: 0.5rem;
    /* 8px */
    box-shadow: 0 0.625rem 1.25rem rgba(0, 0, 0, 0.1);
    /* 0 10px 20px */
    height: 520px;
    object-fit: cover;
}

.admissions-horizontal-wrapper-bam {
    display: flex;
    justify-content: space-between;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.875rem;
    align-items: start;
}
.overview-image-bam admissions-image-bam img {
    width: 100%;
    height: 230px !important;
    border-radius: 0.5rem;
    /* 8px */
    box-shadow: 0 0.625rem 1.25rem rgba(0, 0, 0, 0.1);
    /* 0 10px 20px */
    height: 520px;
    object-fit: cover;
}
.admissions-side-img-bam {
    width: 100%;
    height: 230px !important;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.admissions-side-img-bam:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1024px) {
    .admissions-horizontal-wrapper-bam {
        grid-template-columns: 1fr 1fr;
    }

    .overview-text-bam {
        grid-column: span 2;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .admissions-horizontal-wrapper-bam{
        flex-direction:column !important;
    }
    .program-insights-grid-bam{
        display:flex !important;
        flex-direction:column !important;
    }
    .advantage-section-bam
    {
        /* padding:1.25rem !important; */
        /* 60px 20px */
    }
    .overview-image-bam img {
        height: 100% !important;
    }
    .admissions-horizontal-wrapper-bam {
        grid-template-columns: 1fr;
    }

    .overview-text-bam {
        grid-column: span 1;
    }

    .admissions-side-img-bam {
        height: 300px !important;
    }
}

.advantage-section-bam,
.more-help-section-bam {
    /* margin-bottom: 3.75rem; */
}

.cards-grid-bam {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.875rem;
    /* 30px */
}
.events-grid1 .overview-cta-bam {
    margin-top: 0% !important;
    text-align: left !important;
}
.black-card-bam {
    background-color: #000;
    padding: 1.875rem;
    /* 30px */
    border-radius: 0.5rem;
    /* 8px */
    color: #fff;
    height: 100%;
    box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.1);
    /* 0 5px 15px */
    transition: transform 0.3s;
}

.black-card-bam:hover {
    transform: translateY(-0.3125rem);
    /* -5px */
}

.black-card-bam h4 {
    font-size: 1.25rem;
    /* 20px */
    font-weight: 800;
    margin-bottom: 0.9375rem;
    /* 15px */
    line-height: 1.3;
}

.black-card-bam p {
    font-size: 16px;
    /* 16px */
    color: #ccc;
    line-height: 1.5;
}

.overview-cta-bam {
    text-align: center;
    margin-top: 3.75rem; 
    /* 60px */
}

/* SPECIALIZATIONS SECTION STYLES */
.spec-container-bam {
    padding: 3.75rem 1.25rem;
    /* 60px 20px */
}

.spec-intro-title-bam {
    font-size: 1.5rem;
    /* 24px */
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 0.9375rem;
    /* 15px */
}

.spec-details-bam {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-around;
}

.spec-intro-text-bam {
    /* max-width: 50rem; */
    /* 800px */
    margin-bottom: 3.125rem;
    /* 50px */
}

.spec-block-bam {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2.5rem;
    /* 40px */
    margin-bottom: 5rem;
    /* 80px */
    align-items: stretch;
}

.spec-name-bam {
    font-size: 1.5rem;
    /* 24px */
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 1.25rem;
    /* 20px */
    line-height: 1.2;
}

.btn-spec-bam {
    border-radius: 1.875rem;
    /* 30px */
    padding: 0.5rem 1.5625rem;
    /* 8px 25px */
    font-size: 0.75rem;
    /* 12px */
    margin-top: 0.625rem;
    /* 10px */
}

.spec-cards-row-bam {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    /* 20px */
}

.spec-card-small-bam {
    padding: 1.5625rem;
    /* 25px */
}

.spec-card-small-bam h4 {
    font-size: 1rem;
    /* 16px */
    color: var(--primary-red);
    margin-bottom: 0.9375rem;
    /* 15px */
}

.bullet-list-bam {
    list-style: disc;
    padding-left: 1.25rem;
    /* 20px */
}

.bullet-list-bam li {
    font-size: 16px;
    /* 14px */
    color: #333;
    margin-bottom: 0.5rem;
    /* 8px */
    line-height: 1.5;
}

/* Light text for black cards */
.black-card-bam .bullet-list li {
    color: #ccc;
}

/* COURSE ACCORDION */
.course-info-section-bam {
    margin-bottom: 3.75rem;
    /* 60px */
    padding-top: 2.5rem;
    /* 40px */
    border-top: 0.0625rem solid #eee;
    /* 1px */
}

.course-list-section-bam {
    margin-bottom: 3.75rem;
    /* 60px */
}

.accordion-bam {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    /* 10px */
}

.accordion-item-bam {
    border-radius: 0.25rem;
    /* 4px */
    overflow: hidden;
}

.accordion-header-bam {
    width: 100%;
    background-color: #000;
    color: #fff;
    padding: 0.9375rem 1.25rem;
    /* 15px 20px */
    text-align: left;
    border: none;
    font-size: 0.9375rem;
    /* 15px */
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    /* 10px */
    transition: background-color 0.3s;
}

.accordion-header-bam:hover {
    background-color: #222;
}

.accordion-header-bam .arrow-icon-bam {
    color: var(--primary-red);
    font-size: 0.75rem;
    /* 12px */
}

.accordion-item-bam.is-active-bam .accordion-header-bam {
    border-bottom: 0.125rem solid #ddd;
    /* 2px */
}

.accordion-content-bam p {
    font-size: 14px;
}

.accordion-content-bam {
    display: none;
    padding: 1.25rem;
    /* 20px */
    color: #333;
    border: 1px solid #ddd;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    /* border-bottom: 0.0625rem solid #ddd;
    border-left: 0.0625rem solid #ddd;
    border-right: 0.0625rem solid #ddd; */
    /* 1px */
}

.accordion-content-bam p {

    /* 14px */
    margin-bottom: 0.9375rem;
    /* 15px */
    color: #000;
    font-weight: 500;
}

/* Accordion: show when item has `.is-active-bam` and animate arrow */
.accordion-header-bam .arrow-icon-bam {
    transition: transform 0.25s ease;
    display: inline-block;
}

/* Only `.is-active-bam` items reveal content */
.accordion-item-bam.is-active-bam .accordion-content-bam {
    display: block;
}

.admissions-image-bam img {
    height: 230px !important;
    object-position: top;
}


/* Rotate arrow for active item */
.accordion-item-bam.is-active-bam .accordion-header-bam .arrow-icon-bam {
    transform: rotate(90deg);
}

.learn-more-link-bam {
    font-size: 0.8125rem;
    /* 13px */
    color: var(--primary-red);
    text-decoration: underline;
    font-weight: 700;
}

/* Career Section Specific Info */
.career-details-bam {
    padding-left: 0.625rem;
    /* 10px */
}

.career-label-bam {
    font-size: 15px;
    /* 15px */
    font-weight: 700;
    color: #000;
    margin-bottom: 0.3125rem;
    /* 5px */
    margin-top: 0.9375rem;
    /* 15px */
}

.career-label-bam:first-child {
    margin-top: 0;
}

.career-course-list-bam {
    list-style: disc;
    padding-left: 1.25rem;
    /* 20px */
    margin-top: 0.3125rem;
    /* 5px */
}

.career-course-list-bam li {
    font-size: 0.875rem;
    /* 14px */
    margin-bottom: 0.3125rem;
    /* 5px */
}

/* ADMISSIONS SECTION STYLES */
.admission-req-section-bam {
    /* padding: 3.75rem 1.25rem; */
    /* 60px 20px */
}

.app-process-section-bam {
    /* padding: 3.75rem 0; */
    /* 60px 0 */
    background-color: #fff;
    /* White background for the section to let the black cards contrast */
}

.admissions-process-grid-bam {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.admissions-process-grid-bam .process-step-bam {
    grid-column: span 2;
}

/* Make the bottom 2 cards wider (3 columns each) */
.admissions-process-grid-bam .process-step-bam:nth-child(4),
.admissions-process-grid-bam .process-step-bam:nth-child(5) {
    grid-column: span 3;
}

@media (max-width: 1024px) {
    .admissions-process-grid-bam {
        grid-template-columns: repeat(2, 1fr);
    }

    .admissions-process-grid-bam .process-step-bam,
    .admissions-process-grid-bam .process-step-bam:nth-child(4),
    .admissions-process-grid-bam .process-step-bam:nth-child(5) {
        grid-column: span 1;
    }

    .admissions-process-grid-bam .process-step-bam:nth-child(5) {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .admissions-process-grid-bam {
        grid-template-columns: 1fr;
    }

    .admissions-process-grid-bam .process-step-bam,
    .admissions-process-grid-bam .process-step-bam:nth-child(4),
    .admissions-process-grid-bam .process-step-bam:nth-child(5) {
        grid-column: span 1;
    }
}

.app-process-section-bam .process-step-bam {
    /* min-height: 240px; */
    /* Reduced to fit content better while keeping them uniform */
    display: flex;
    flex-direction: column;
}

.process-step-bam .btn-bam {
    margin-top: auto;
    width: fit-content;
    align-self: flex-start;
}

.process-step-bam.black-card-bam h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.step-highlight-bam {
    color: #fff;
    /* font-weight: 600; */
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: block;
    line-height: 1.4;
}

.process-step-bam.black-card-bam p,
.process-step-bam.black-card-bam .bullet-list li,
.process-step-bam.black-card-bam ul li {
    font-size: 16px;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    opacity: 0.9;
}

.process-step-bam .bullet-list,
.process-step-bam ul {
    margin-top: 1rem;
}

/* Interactive Card Specific Styles - PRESERVED */
.interactive-card-bam {
    transition: transform 0.3s, box-shadow 0.3s ease;
}

.interactive-card-bam .expandable-content-bam {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 3s ease-in-out, opacity 2.5s ease-in-out;
    /* Ultra-slow animation */
}

.interactive-card-bam .card-dots-bam {
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
    margin-left: 4px;
    font-weight: bold;
}

.interactive-card-bam:hover .card-dots-bam {
    opacity: 0;
}

.interactive-card-bam:hover .expandable-content-bam {
    max-height: 450px;
    /* Precise height to ensure animation duration is well-distributed */
    opacity: 1;
    margin-top: 0;
    /* Remove margin as it follows an existing list */
}

.interactive-card-bam:hover {
    transform: translateY(-0.3125rem);
}

/* Mobile Responsiveness for Application Process - PRESERVED */
@media (max-width: 768px) {
    .app-process-section-bam .cards-grid-bam {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .app-process-section-bam .process-step-bam {
        min-height: auto;
        /* Allow height to fit content on mobile */
        padding: 1.5rem;
    }

    .interactive-card-bam .expandable-content-bam {
        transition-duration: 1s;
        /* Faster animation for mobile tap */
    }
}

.tuition-banner-bam {
    background-color: #000;
    padding: 3.125rem;
    /* 50px */
    text-align: left;
    margin-top: 3.75rem;
    /* 60px */
    margin-bottom: 3.75rem;
    /* 60px */
    border-radius: 0.5rem;
    /* 8px */
    color: #fff;
}

.tuition-banner-bam h2 {
    font-size: 2.125rem;
    /* 34px */
    font-weight: 900;
    margin-bottom: 0.3125rem;
    /* 5px */
}

.tuition-sub-bam {
    display: block;
    font-size: 0.75rem;
    /* 12px */
    opacity: 0.7;
    margin-bottom: 1.875rem;
    /* 30px */
}

.tuition-banner-bam p {
    max-width: 100%;
    margin-bottom: 1.25rem;
    /* 20px */
    font-size: 1rem;
    /* 16px */
    line-height: 1.6;
}

.small-note-bam {
    font-size: 0.6875rem !important;
    /* 11px */
    opacity: 0.6;
    margin-bottom: 1.875rem !important;
    /* 30px */
    display: block;
}

/* RESPONSIVE STYLES */
@media (max-width: 56.25rem) {

    /* 900px */
    .overview-grid-bam,
    .spec-block-bam {
        grid-template-columns: 1fr;
    }

    .cards-grid-bam,
    .spec-cards-row-bam {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 37.5rem) {

    /* 600px */
    /* Tabs Mobile Fix */
    .tab-list-bam {
        flex-wrap: wrap;
    }

    .tab-list-bam li {
        width: 50%;
        flex: 0 0 50%;
    }

    .tab-list-bam li a {
        font-size: 0.6875rem;
        /* 11px */
        padding: 0.75rem 0.3125rem;
        /* 12px 5px */
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.3;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

:root {
    --primary-red: #d72e3a;
    --text-dark: #333333;
    --font-main: 'Roboto', sans-serif;
}

.section-heading-bam {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 30px;
    font-family: var(--font-main);
    /* font-weight:bolder; */
}

.feature-list-bam {
    display: flex;
    flex-direction: column;
    /* gap: 30px; */
}

.feature-item-bam {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon-bam {
    font-size: 20px;
    color: var(--primary-red);
    font-weight: 700;
    line-height: 1;
    margin-top: 5px;
    font-family: var(--font-main);
}

.feature-text-bam h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 5px;
    font-family: var(--font-main);
}

.feature-text-bam p {
    font-size: 16px;
    color: var(--text-dark);
    font-family: var(--font-main);
}

/* Stats Section */
.stats-section-bam {
    padding: 3.75rem 0;
    background-color: #f8f8f8;
}

.stats-grid-bam {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.875rem;
    text-align: center;
}

.stat-card-bam {
    padding: 1.875rem;
}

.stat-number-bam {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 0.625rem;
}

.stat-desc-bam {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
    font-weight: 500;
}

@media (max-width: 48rem) {
    .stats-grid-bam {
        grid-template-columns: 1fr;
    }
}

/* Program Insights Grid */
.program-insights-grid-bam {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 0 auto 3.75rem auto;
    /* max-width: 1100px; */
}

.insight-card-intro-bam,
.insight-card-formula-bam,
.insight-card-how-bam {
    display: flex;
    flex-direction: column;
    padding: 2.25rem;
    background-color: #000;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    height: 100%;
}

.insight-card-intro-bam {
    grid-column: span 2;
    height: auto;
    text-align-last: center;
}

.insight-card-intro-bam:hover,
.insight-card-formula-bam:hover,
.insight-card-how-bam:hover {
    transform: translateY(-5px);
}

.insight-card-intro-bam .card-heading-bam,
.insight-card-formula-bam .card-heading-bam,
.insight-card-how-bam .card-heading-bam {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.25rem;
}

.insight-card-intro-bam .card-highlight-bam,
.insight-card-how-bam .card-highlight-bam {
    color: #fff;
    /* font-weight: 700; */
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.4;
    opacity: 0.9;
}

.insight-card-intro-bam .card-body-bam,
.insight-card-how-bam .card-body-bam {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Formula Card Refinement */
.formula-card-bam {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.formula-line-bam {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.formula-line-bam.plus-bam,
.formula-line-bam.equal-bam {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    color: #fff;
    font-weight: 300;
}

.formula-line-bam .formula-val-bam {
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
}

.formula-line-bam .formula-sub-bam {
    color: var(--primary-red);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.formula-line-bam.result-bam .formula-val-bam {
    font-size: 1.25rem;
    /* border-top: 1px solid rgba(255, 255, 255, 0.2); */
    padding-top: 0.5rem;
    margin-top: 0.25rem;
}

@media (max-width: 1024px) {
    .overview-grid-bam {
        display: unset;
    }
    /* Grid is already 2 columns by default now */
}

@media (max-width: 768px) {
    .program-insights-grid-bam {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 48rem) {
    .program-insights-grid-bam {
        grid-template-columns: 1fr;
    }

    .program-insights-grid-bam .wide-card-bam {
        grid-column: 1;
    }
}