.carousel {
    margin-top: 16px;
}

.select2-container--bootstrap-5 .select2-selection {
    border: solid 1px #ccc;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option {
    font-size: 0.9rem;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    font-size: 0.8rem;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove {
    height: 0.45rem;
    width: 0.45rem;
}

.select2-container--bootstrap-5 .select2-selection {
    min-height: calc(1.5em + .75rem + 0px);
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option {
    font-size: 0.8rem;
}

.form-control:focus,
.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field:focus,
.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    box-shadow: 0 0 4px 0rem rgba(13, 110, 253, 0.25);
}

/* Phone country code Select2 - enforce fixed width */
#primary_phone_country_id+.select2-container,
#secondary_phone_country_id+.select2-container {
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option {
    padding: .275rem .75rem;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-search {
    padding: 0px;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field {
    border-radius: 0px;
}

#primary_phone_country_id+.select2-container .select2-selection,
#secondary_phone_country_id+.select2-container .select2-selection {
    min-width: 100px;
    border: solid 1px #ccc;
}

.select2-container--bootstrap-5 .select2-selection {
    font-size: 0.9rem;
}

.pastel-green {
    background: #e6fbf4;
    color: #0b7a4a;
}

.pastel-pink {
    background: #fff0f6;
    color: #c03c7d;
}

.pastel-blue {
    background: #e8f6ff;
    color: #0b7fbf;
}

.pastel-indigo {
    background: #e0e7ff;
    color: #4338ca;
}

.pastel-purple {
    background: #f3e8ff;
    color: #7e22ce;
}

.pastel-orange {
    background: #ffedd5;
    color: #c2410c;
}

.pastel-teal {
    background: #ccfbf1;
    color: #0f766e;
}

.pastel-cyan {
    background: #cffafe;
    color: #0891b2;
}

.pastel-violet {
    background: #ede9fe;
    color: #7c3aed;
}

.pastel-rose {
    background: #ffe4e6;
    color: #be123c;
}

.testimonial-card {
    cursor: pointer;
}

.first-line a:first-child {
    border: none;
    /*padding-left: 10px;*/
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    font-size: 0.7rem;
    padding: 0.3rem 0.3rem;
}

.select2-container--bootstrap-5 .select2-selection {
    padding: 0.275rem .75rem;
}

/* Fix for anchor links hidden under fixed header */
#findMyProgramme,
#programmeSliderHome,
#contactFAQsHome,
#successStories,
#govPublicProgList,
#forOrganizationHome,
.scroll-margin-top {
    scroll-margin-top: 275px;
}


.calender-container {
    padding: 60px 0;
}

.dt-buttons {
    margin-bottom: 20px;
}

.dt-buttons .btn {
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 500;
    margin-right: 8px;
}

.dt-buttons .btn-secondary {
    background: linear-gradient(135deg, #0a2540 0%, #1a3a5c 100%);
    border: none;
    color: #fff;
}

.dt-buttons .btn-secondary:hover {
    background: linear-gradient(135deg, #1a3a5c 0%, #0a2540 100%);
}

.dataTables_filter input {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 8px 12px;
}

.dataTables_length select {
    border-radius: 8px;
    padding: 6px 12px;
}

#calendarTable th {
    background: linear-gradient(135deg, #0a2540 0%, #1a3a5c 100%);
    color: #fff;
    font-weight: 600;
    padding: 14px 12px;
    border: none;
}

#calendarTable td {
    padding: 14px 12px;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}

#calendarTable tbody tr:hover {
    background-color: #f8f9fa;
}

.programme-link {
    color: #0a2540;
    font-weight: 600;
    transition: color 0.2s ease;
}

.programme-link:hover {
    color: #c8102e;
    text-decoration: underline;
}

.date-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #555;
}

.date-badge i {
    color: #c8102e;
}

.faculty-list {
    color: #666;
    font-size: 0.95rem;
}

.fee-amount {
    font-weight: 600;
    color: #0a2540;
    text-align: right;
}

.table-title-section {
    margin-bottom: 30px;
}

.table-title-section h3 {
    margin-bottom: 5px;
}

.no-programmes-message {
    text-align: center;
    padding: 40px;
    color: #666;
}

@media (max-width: 768px) {

    .dataTables_wrapper .dataTables_filter,
    .dataTables_wrapper .dataTables_length {
        text-align: left !important;
        margin-bottom: 10px;
    }

    .dt-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .dt-buttons .btn {
        margin-right: 0;
        flex: 1 1 calc(50% - 8px);
        text-align: center;
    }
}

.programmeFilter {
    z-index: 30;
}

body {
    overflow-x: hidden;
}

.owl-item .item {
    margin: 12px;
}

.carousel-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    width: 100%;
}

.owl-carousel-wrapper {
    display: none;
}

.owl-carousel-wrapper.loaded {
    display: block;
}

.search-pagination {
    margin-bottom: 50px;
}

.search-pagination .align-items-sm-center.justify-content-sm-between {
    flex-direction: column;
    gap: 5px;
}

.form-check-input {
    border: var(--bs-border-width) solid #e0a7a7;
    transition: all 0.3s ease;
    cursor: pointer;
}

.form-check-input:hover {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.05);
    transform: scale(1.1);
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-check-input:checked:hover {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
    transform: scale(1.05);
}

/* ===========================================
   SEARCH FILTER BAR HOVER EFFECTS
=========================================== */

/* Filter form container hover effect */
.programmeFilter .filterHome form {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.programmeFilter .filterHome form:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Search input hover effect */
.programmeFilter .filterHome .input-group {
    transition: all 0.3s ease;
}

.programmeFilter .filterHome .input-group:hover .input-group-text {
    background-color: #f8f9fa;
    border-color: #a8b1cd;
}

.programmeFilter .filterHome .input-group:hover .form-control {
    border-color: #a8b1cd;
}

.programmeFilter .filterHome .form-control {
    transition: all 0.3s ease;
}

.programmeFilter .filterHome .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.1);
}

/* Input group icon animation on hover */
.programmeFilter .filterHome .input-group-text {
    transition: all 0.3s ease;
}

.programmeFilter .filterHome .input-group-text i {
    transition: transform 0.3s ease;
}

.programmeFilter .filterHome .input-group:hover .input-group-text i {
    transform: scale(1.1);
    color: #0d6efd;
}

/* Dropdown sections hover effect */
.programmeFilter .filterHome .flex-grow-1.border-start {
    transition: background-color 0.3s ease;
}

.programmeFilter .filterHome .flex-grow-1.border-start:hover {
    background-color: rgba(168, 177, 205, 0.05);
}

.text-align-justify {
    text-align: justify;
}

.programmeSliderHome .category-tabs .nav-link {
    width: auto;
}

.login-btn-responsive {
    background-color: var(--brickRed);
    color: var(--white);
}

.owlHomePg .slider-arrow.left {
    left: -10px;
}

.owlHomePg .slider-arrow.right {
    right: -10px;
}

.oepProgrammeTabs {
    justify-content: space-between;
    width: 100%;
}

.calendarLeadForm .logo {
    width: 62%;
    margin: 0 auto;
    display: block;
    padding-bottom: 19px;
}

.calenderlogo {
    width: 13%;
}

@media (max-width: 1024px) {
    .calenderlogo {
        width: 23%;
    }
}

@media (max-width: 425px) {
    .calenderlogo {
        width: 45%;
    }
}

.btn-red {
    display: block;
    width: 100%;
    padding: 8px;
    text-align: center;
    background: var(--brickRed);
    color: white;
    font-weight: 400;
    border-radius: 4px;
    text-decoration: none;
}

.offcanvas-nav .menu-title {
    text-align: left;
}

.programmeTitle h1 {
    font-size: 2rem;
    font-family: CanelaDeck, serif !important;
}

.help-preferred-name {
    font-style: italic;
    font-size: 8.5px;
}
.custom-h1{
    font-size: 2.75rem;
}
.custom-h2{
    font-size: 2.75rem;
}
.custom-h3{
    font-size: 1.125rem;
}
.custom-h2-faq{
    font-size: 1.5rem;
}
.campusCardBody .custom-h2{
    font-size: 1rem;
    color: var(--primaryBlue);
    margin-bottom: 0.5rem !important;
}
#faqLeft h3, #faqRight h3{
    font-family: Poppins, sans-serif !important; 
    font-size: 1rem;
    line-height: 1.45rem;
}
@media (max-width: 1199px) {
    .custom-h2{
        font-size: 2.5rem;
    }
    .custom-h3{
        font-size: 1rem;
    }
}
@media (max-width: 767px) {
    .custom-h1 {
        font-size: 2rem;
    }
    .custom-h2{
        font-size: 2rem;
    }
    .custom-h3{
        font-size:1rem;
    }
    .custom-h2-faq{
        font-size: 1.25rem;
    }
}
.oepProgrammeTabs .nav-link h2{
    font-weight: bold;
}
.tabRichText ul li {
    list-style: disc;
}