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

html {
    font-size: 16px;
    /* Base size for rem calculation */
}

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

.course-list-section p {
    margin-bottom: 20px;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #f8f8f800;
}
.news-events-section1 .unb-container
{
     max-width: 100% !important;
     margin-left: auto;
     margin-right: auto;
     background-color: #d3d3d33d !important;
}
.unb-container {
   max-width: 1200px;
    /* 1200px */
    margin: 0 auto;
    padding: 0 1.25rem;
    /* 20px */
   
}

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

ul {
    list-style: none;
}

/* Helper Classes */
.btn {
    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 {
    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:hover {
    background-color: #b01b23;
    transform: translateY(-0.125rem);
    /* -2px */
}

.btn-black {
    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:hover {
    background-color: #333;
    transform: translateY(-0.125rem);
    /* -2px */
}

.btn-large {
    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 {
    position: sticky;
    z-index: 1000;
    background-color: #000;
    padding: 0;
    top: 0;
}

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

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

.tab-list 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 li.active a {
    background-color: var(--primary-red);
    color: #fff;
    font-weight: 700;
}

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

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

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

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

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

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

#admissions .overview-image img {
    height: auto !important;
}

.overview-image 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: 480px;
    object-fit: cover;
}

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

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.875rem;
    /* 30px */
}

.black-card {
    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:hover {
    transform: translateY(-0.3125rem);
    /* -5px */
}

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

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

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

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

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

.spec-details {
    grid-area: details;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.spec-block {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    grid-template-areas: 
        "details cards"
        "button cards";
    gap: 2.5rem;
    /* 40px */
    margin-bottom: 5rem;
    /* 80px */
    align-items: start;
}

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

.spec-btn-wrapper {
    grid-area: button;
}

.btn-spec {
    border-radius: 1.875rem;
    /* 30px */
    padding: 15px 40px;
    /* 8px 25px */
    font-size: 1rem;
    /* 12px */
}
.course-info-section p{
    margin-bottom: 20px;
}

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

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

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

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

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

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

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

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

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

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

.accordion-header {
    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:hover {
    background-color: #222;
}

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

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

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

.accordion-content {
    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 p {

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

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

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

.admissions-image img {
    height: auto !important;
}


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

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

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

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

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

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

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

/* ADMISSIONS SECTION STYLES */
.admission-req-section {
    padding: 3.75rem 1.25rem;
    padding-bottom: 0% !important;
    /* 60px 20px */
}

#admissions {
    max-width: 85rem;
    padding:3.75rem 0rem;
    margin-right: auto;
    margin-left: auto;
}

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

.app-process-section .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2x2 grid for 4 steps */
    margin-top: 1.875rem;
    align-items: flex-start;
    /* Prevent cards from stretching when one expands */
}

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

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

.step-highlight {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 0.9375rem;
    display: block;
}

.process-step p,
.process-step .bullet-list li {
    font-size: 0.875rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.process-step .bullet-list {
    margin-top: 0.625rem;
}

/* Interactive Card Specific Styles - PRESERVED */
.interactive-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.interactive-card .expandable-content {
    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 .card-dots {
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
    margin-left: 4px;
    font-weight: bold;
}

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

.interactive-card:hover .expandable-content {
    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:hover {
    transform: translateY(-10px) scale(1.02);
    z-index: 10;
}

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

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

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

.tuition-banner {
    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 h2 {
    font-size: 2.125rem;
    /* 34px */
    font-weight: 900;
    margin-bottom: 0.3125rem;
    /* 5px */
}

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

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

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

/* RESPONSIVE STYLES */
@media (max-width: 56.25rem) {
    .overview-grid{
        gap: 0px;
    }

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

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

    .spec-block {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "details"
            "cards"
            "button";
        gap: 1.5rem;
    }
    
    .btn-spec {
        margin-top: 1rem;
    }
}

@media (max-width: 37.5rem) {

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

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

    .tab-list 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 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 30px;
    font-family: var(--font-main);
    /* font-weight:bolder; */
}

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

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

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

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

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