@import url("../vendor/bootstrap/css/bootstrap.min.css");
@import url("../vendor/fontawesome/css/all.css");
@import url("../vendor/owl-carousel/css/owl.carousel.min.css");
@import url("../vendor/owl-carousel/css/owl.theme.default.min.css");
@import url("../vendor/animate/animate.min.css");


:root {
    /* These values serve as fallbacks if theme.php is unavailable */
    /* Primary Brand Colors */
    --theme-primary-color: var(--theme-primary-color, #1b1260);
    --theme-primary-hover-color: var(--theme-primary-hover-color, #0f0a3d);
    --theme-primary-dark-color: var(--theme-primary-dark-color, #130c45);
    --theme-secondary-color: var(--theme-secondary-color, #ff6a1a);
    --theme-secondary-hover-color: var(--theme-secondary-hover-color, #ffc280);

    /* Utility / Status Colors */
    --theme-blue-color: #2196F3;
    --theme-success-color: var(--theme-success-color, #0b933a);

    /* Grayscale & Backgrounds */
    --theme-white-color: #ffffff;
    --theme-black-color: #000000;
    --theme-body-bg-color: var(--theme-body-bg-color, #f7f9fc);
    --theme-body-text-color: var(--theme-body-text-color, #444);
    --theme-heading-text-color: var(--theme-heading-text-color, #061c3a);

    /* Specific Component Colors */
    --theme-notice-bg-color: #f4f8fc;
    --theme-notice-bg-hover-color: #eaf2fb;
    --theme-light-blue-color: #f8fbff;

    /* Grays for borders & subtle details */
    --theme-gray-100-color: #f8f9fa;
    --theme-gray-200-color: #f1f1f1;
    --theme-gray-300-color: #eee;
    --theme-gray-400-color: #ccc;
    --theme-gray-800-color: #333;

    /* RGB mappings for opacity utilities */
    --theme-primary-rgb: var(--theme-primary-rgb, 27, 18, 96);
    --theme-secondary-rgb: var(--theme-secondary-rgb, 255, 106, 26);
    --theme-white-rgb: 255, 255, 255;
    --theme-black-rgb: 0, 0, 0;
}

/* Base Styles */
body {
    max-width: 1800px;
    margin: 0 auto;
    font-family: var(--theme-font-body, 'Inter', sans-serif);
    color: var(--theme-body-text-color);
    overflow-x: hidden;
    background-color: var(--theme-body-bg-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--theme-font-heading, 'Poppins', sans-serif);
    color: var(--theme-heading-text-color);
    margin-bottom: 0.5rem;
    font-weight: var(--theme-font-weight-heading, 700);
}

/* Utilities */
.text-primary-theme {
    color: var(--theme-primary-color) !important;
}

.bg-primary-theme {
    background-color: var(--theme-primary-color) !important;
}

.text-secondary-theme {
    color: var(--theme-secondary-color) !important;
}

.bg-secondary-theme {
    background-color: var(--theme-secondary-color) !important;
}

.text-blue {
    color: var(--theme-blue-color);
}

/* Navbar Container Pill */
.neb-nav-pill {
    width: 100%;
    background-color: var(--theme-secondary-color);
    border-radius: 50px;
    padding: 8px 6px;
    display: inline-flex;
}

/* Navbar Links */
.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--theme-white-color) !important;
    transition: all 0.3s ease;
    font-size: 14px;
    letter-spacing: 0.2px;
    border-radius: 50px;
    padding: 8px 13px !important;
    margin: 0 2px;
}

.navbar-nav .nav-link:hover {
    color: var(--theme-primary-color) !important;
}

.navbar-nav .nav-link.active {
    background-color: var(--theme-white-color) !important;
    color: var(--theme-primary-color) !important;
}

.navbar .navbar-nav .dropdown .dropdown-menu {
    background-color: var(--theme-secondary-color);
    border: none;
    border-radius: 12px;
    margin-top: 0 !important;
    z-index: 1050;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.dropdown-menu {
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.dropdown-divider {
    height: 0;
    margin: 0;
    overflow: hidden;
    border-top: 1px solid var(--bs-dropdown-divider-bg);
    opacity: 1;
}

@media (min-width: 992px) {

    /* Hover handled via JS for better click compatibility */
    .navbar .navbar-nav .dropdown.hover-show>.dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        margin-top: 0 !important;
        animation: navFadeIn 0.3s ease;
    }
}

@keyframes navFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hide default Bootstrap dropdown caret to avoid double arrows */
.dropdown-toggle::after {
    display: none !important;
}

.navbar .navbar-nav .dropdown .dropdown-menu .dropdown-item {
    font-size: small;
    color: var(--theme-white-color);
    padding: 8px 20px;
    transition: all 0.2s ease;
}

.navbar .navbar-nav .dropdown .dropdown-menu .dropdown-item:hover {
    background-color: rgba(var(--theme-white-rgb), 0.1);
    color: var(--theme-white-color);
    padding-left: 25px;
}

/* Top bar */
.top-bar {
    background-color: var(--theme-primary-color);
    font-size: 13px;
}

/* Top bar Buttons */
.topbar-btn {
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 4px;
    color: var(--theme-white-color) !important;
    text-decoration: none;
    font-size: 13px;
    display: inline-block;
    transition: background-color 0.3s ease;
    margin-left: 4px;
}

.topbar-btn:hover {
    filter: brightness(1.1);
    color: var(--theme-white-color) !important;
}

.topbar-btn-orange {
    background-color: var(--theme-secondary-color);
}

.topbar-btn-green {
    background-color: var(--theme-success-color);
}

.navbar-collapse {
    flex-grow: 0;
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--theme-primary-color);
    color: var(--theme-white-color);
    font-size: 14px;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(var(--theme-white-rgb), 0.1);
}

.announcement-label {
    background-color: transparent;
    font-weight: bold;
    padding: 8px 20px;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.announcement-marquee {
    flex: 1;
    overflow: hidden;
    padding: 8px 0;
}

/* Hero Section */
.hero-slider .item {
    height: 100%;
    min-height: 550px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slider .item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(55, 40, 165, 0.227) 0%, rgba(var(--theme-black-rgb), 0.162) 100%);
}

/* Hero Slider Navigation & Dots Styling */
.hero-slider .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.hero-slider .owl-nav button.owl-prev,
.hero-slider .owl-nav button.owl-next {
    pointer-events: auto;
    width: 45px;
    height: 45px;
    background-color: rgba(var(--theme-white-rgb), 0.9) !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-primary-color) !important;
    font-size: 18px !important;
    box-shadow: 0 4px 10px rgba(var(--theme-black-rgb), 0.1);
    transition: all 0.3s ease;
    margin: 0 20px;
}

.hero-slider .owl-nav button.owl-prev:hover,
.hero-slider .owl-nav button.owl-next:hover {
    background-color: var(--theme-secondary-color) !important;
    color: var(--theme-white-color) !important;
}

.hero-slider .owl-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.hero-slider .owl-dots .owl-dot span {
    width: 10px !important;
    height: 10px !important;
    background: rgba(var(--theme-white-rgb), 0.4) !important;
    border-radius: 50% !important;
    margin: 0 !important;
    display: block;
    transition: all 0.3s ease;
}

.hero-slider .owl-dots .owl-dot.active span,
.hero-slider .owl-dots .owl-dot:hover span {
    background: var(--theme-white-color) !important;
    transform: scale(1.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--theme-white-color);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--theme-white-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Buttons */
.btn-primary-theme {
    background-color: var(--theme-primary-color);
    color: var(--theme-white-color);
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 50px;
    border: 2px solid var(--theme-primary-color);
    transition: all 0.3s ease;
}

.btn-primary-theme:hover {
    background-color: var(--theme-primary-hover-color);
    border-color: var(--theme-primary-hover-color);
    color: var(--theme-white-color);
}

.btn-secondary-theme {
    background-color: var(--theme-secondary-color);
    color: var(--theme-white-color);
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 50px;
    border: 2px solid var(--theme-secondary-color);
    transition: all 0.3s ease;
}

.btn-secondary-theme:hover {
    background-color: transparent;
    color: var(--theme-secondary-color);
}

/* Hover Cards */
.hover-card {
    background: var(--theme-white-color);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(var(--theme-black-rgb), 0.05);
    overflow: hidden;
}

.hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(var(--theme-primary-rgb), 0.15) !important;
}

/* Footer Links */
.footer-links a {
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--theme-secondary-hover-color) !important;
    padding-left: 8px;
}

/* Section padding */
.section-padding {
    padding: 80px 0;
}

/* Notice Board */
.notice-board-container {
    height: 350px;
    overflow-y: scroll;
    border: 1px solid var(--theme-gray-300-color);
    border-radius: 8px;
    padding: 15px;
    background: var(--theme-white-color);
}

.notice-board-container::-webkit-scrollbar {
    width: 6px;
}

.notice-board-container::-webkit-scrollbar-track {
    background: var(--theme-gray-200-color);
}

.notice-board-container::-webkit-scrollbar-thumb {
    background: var(--theme-primary-color);
    border-radius: 10px;
}

.notice-item {
    border-bottom: 1px dashed var(--theme-gray-400-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.notice-date {
    background: var(--theme-secondary-color);
    color: var(--theme-white-color);
    padding: 5px 10px;
    border-radius: 4px;
    text-align: center;
    min-width: 60px;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.2;
}

.notice-date span {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
}

.notice-text {
    flex: 1;
    margin-left: 15px;
    font-size: 15px;
}

.notice-text a {
    color: var(--theme-primary-color);
    text-decoration: none;
    font-weight: 500;
}

.notice-text a:hover {
    color: var(--theme-secondary-color);
}

/* Breadcrumbs Banner */
.page-header {
    background: linear-gradient(rgba(var(--theme-primary-rgb), 0.9), rgba(var(--theme-primary-rgb), 0.9)), url('https://placehold.co/1920x400/111/333') center center;
    background-size: cover;
    padding: 80px 0;
    color: var(--theme-white-color);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(var(--theme-white-rgb), 0.7);
}

/* New UI Components CSS */

/* Programs CSS */
.program-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--theme-black-rgb), 0.05) !important;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(var(--theme-black-rgb), 0.2) !important;
}

/* Notice Board Redesign */
.notice-board-card {
    background-color: var(--theme-white-color);
}

.notice-list {
    max-height: 380px;
    overflow-y: auto;
    padding-right: 10px;
}

.notice-list::-webkit-scrollbar {
    width: 6px;
}

.notice-list::-webkit-scrollbar-track {
    background: var(--theme-gray-100-color);
    border-radius: 10px;
}

.notice-list::-webkit-scrollbar-thumb {
    background: var(--theme-primary-color);
    border-radius: 10px;
}

.notice-item-new {
    background-color: var(--theme-notice-bg-color);
    border-left: 4px solid var(--theme-primary-color);
    padding: 12px 15px;
    margin-bottom: 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.notice-item-new:hover {
    background-color: var(--theme-notice-bg-hover-color);
    border-left-color: var(--theme-secondary-color);
}

.notice-item-new a {
    color: var(--theme-gray-800-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    display: block;
}

.notice-item-new a:hover {
    color: var(--theme-secondary-color);
}

/* Portal Cards */
.portal-card {
    background-color: var(--theme-primary-color) !important;
    transition: transform 0.3s ease;
}

.portal-card:hover {
    transform: translateY(-5px);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px dashed rgba(var(--theme-secondary-rgb), 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Accreditations */
.bg-primary-dark {
    background-color: var(--theme-primary-dark-color) !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(var(--theme-white-rgb), 0.05) !important;
}

.approval-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.approval-card:hover {
    background-color: rgba(var(--theme-secondary-rgb), 0.1) !important;
    border: 1px solid rgba(var(--theme-secondary-rgb), 0.3) !important;
    transform: translateY(-3px);
}

.approval-card img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Features */
.icon-circle-outline {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-light-blue {
    background-color: var(--theme-light-blue-color) !important;
}

.text-xs {
    font-size: 0.75rem !important;
}

.border-orange-light {
    border-color: rgba(var(--theme-secondary-rgb), 0.3) !important;
}

/* Form Utilities */
.form-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--theme-primary-color);
    border-bottom: 2px solid var(--theme-secondary-color);
    padding-bottom: 8px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--theme-gray-800-color);
    margin-bottom: 6px;
}

.form-control:focus {
    border-color: var(--theme-primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--theme-primary-rgb), 0.1);
}

.card-header-theme {
    background-color: var(--theme-primary-color);
    color: var(--theme-white-color);
    padding: 15px 25px;
    border: none;
}

/* Card Header Colors */
.card-header h2,
.card-header h3,
.card-header h4,
.card-header p {
    color: #ffffff !important;
}

.auth-card {
    max-width: 450px;
    margin: 0 auto;
}

.btn-form-submit {
    background-color: var(--theme-secondary-color);
    color: var(--theme-white-color);
    border: none;
    padding: 10px 30px;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-form-submit:hover {
    background-color: var(--theme-primary-color);
    color: var(--theme-white-color);
    box-shadow: 0 5px 15px rgba(var(--theme-black-rgb), 0.2);
}

.btn-group {
    gap: 10px;
}

/* Events and Gallery Styles */
.event-card {
    border: none;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--theme-secondary-color);
    color: var(--theme-white-color);
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 2;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Gallery Filter Tabs */
.gallery-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid var(--theme-gray-300-color);
    background: transparent;
    color: var(--theme-gray-800-color);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--theme-primary-color);
    color: var(--theme-white-color);
    border-color: var(--theme-primary-color);
}

/* Gallery Image Grid */
.gallery-item {
    transition: all 0.4s ease;
}

.gallery-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 250px;
    cursor: pointer;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-thumb:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--theme-primary-rgb), 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-thumb:hover .gallery-overlay {
    opacity: 1;
}

/* Simple Lightbox */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

/* Event Details Sidebar & Content */
.sidebar-info-card {
    border: none;
    background-color: var(--theme-white-color);
}

.sidebar-header {
    background-color: var(--theme-primary-color);
    color: var(--theme-white-color);
    padding: 18px 25px;
    font-weight: 700;
}

.details-list {
    padding: 25px;
}

.details-list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--theme-gray-300-color);
}

.details-list-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.details-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(var(--theme-primary-rgb), 0.05);
    color: var(--theme-primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.details-info h6 {
    margin-bottom: 3px;
    font-size: 0.9rem;
    color: var(--theme-gray-800-color);
}

.details-info p {
    margin-bottom: 0;
    font-size: 0.85rem;
    color: var(--theme-gray-500-color);
    font-weight: 500;
}

.event-description p {
    line-height: 1.8;
    color: var(--theme-body-text-color);
    margin-bottom: 20px;
}

.sidebar-cta-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--theme-secondary-color);
    color: var(--theme-white-color) !important;
    text-decoration: none;
    padding: 15px 25px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.sidebar-cta-btn:hover {
    background-color: var(--theme-primary-color);
}

.sidebar-cta-btn i {
    transition: transform 0.3s ease;
}

.sidebar-cta-btn:hover i {
    transform: translateX(5px);
}

/* Recognition & Approvals Styles */
.recognition-item {
    background-color: var(--theme-white-color);
    border-left: 5px solid #f37021;
    /* DBOS Orange */
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    border-radius: 4px;
}

.recognition-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.recognition-icon {
    color: #f37021;
    font-size: 1.2rem;
    margin-right: 20px;
    min-width: 30px;
}

.recognition-text {
    flex-grow: 1;
    font-weight: 600;
    color: var(--theme-gray-800-color);
    margin: 0;
    font-size: 0.95rem;
}

.recognition-link {
    color: #f37021;
    text-decoration: none;
    font-weight: 700;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.recognition-link:hover {
    color: var(--theme-primary-color);
    text-decoration: underline;
}

/* Informational Page Styles (Center Info) */
.info-feature-card {
    background: var(--theme-white-color);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--theme-gray-200-color);
}

.info-feature-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
    border-color: var(--theme-primary-color);
}

.info-icon-box {
    width: 70px;
    height: 70px;
    background: rgba(var(--theme-primary-rgb), 0.05);
    color: var(--theme-primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.info-feature-card:hover .info-icon-box {
    background: var(--theme-primary-color);
    color: var(--theme-white-color);
}

.procedure-step {
    position: relative;
    padding: 20px;
    background: var(--theme-white-color);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--theme-secondary-color);
    color: var(--theme-white-color);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.doc-checklist {
    list-style: none;
    padding-left: 0;
}

.doc-checklist li {
    padding: 10px 0;
    border-bottom: 1px solid var(--theme-gray-200-color);
    display: flex;
    align-items: center;
}

.doc-checklist li i {
    color: #28a745;
    /* Success Green */
    margin-right: 12px;
}

/* Mobile Navigation Correction */
@media (max-width: 991px) {
    .neb-nav-pill {
        display: flex !important;
        flex-direction: column;
        border-radius: 12px !important;
        padding: 10px !important;
        margin-top: 15px;
        background-color: var(--theme-secondary-color) !important;
        width: 100% !important;
    }

    .navbar-nav .nav-link {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center;
        width: 100% !important;
        text-align: left !important;
        border-radius: 8px !important;
        margin: 5px 0 !important;
        padding: 12px 20px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .navbar-nav .nav-link i {
        margin-left: auto;
        font-size: 14px;
    }

    .dropdown-menu {
        width: 100%;
        background-color: rgba(var(--theme-black-rgb), 0.1) !important;
        border-radius: 8px !important;
        margin-top: 5px !important;
        padding: 10px !important;
        box-shadow: none !important;
    }

    .dropdown-item {
        padding: 10px 20px !important;
        border-radius: 6px !important;
    }

    /* Logo scaling */
    .navbar-brand img {
        height: 60px !important;
        width: auto;
    }

    /* Announcement bar mobile optimization */
    .announcement-bar {
        font-size: 12px;
    }

    .announcement-label {
        padding: 8px 10px;
    }

    /* Hero Slider Mobile Fixes */
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .hero-slider .item {
        min-height: 400px;
    }

    /* Adjust slider navigation for mobile */
    .hero-slider .owl-nav button.owl-prev,
    .hero-slider .owl-nav button.owl-next {
        width: 35px;
        height: 35px;
        font-size: 14px !important;
        margin: 0 5px;
    }
}

/* Small mobile devices */
@media (max-width: 575px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-slider .item {
        min-height: 350px;
    }

    .hero-content .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .announcement-label {
        font-size: 11px;
        padding: 8px 5px;
    }

    .topbar-btn {
        padding: 1px 8px;
        font-size: 8px;
    }
}

/* Global overflow fix */
body {
    overflow-x: hidden;
    width: 100%;
}

/* Responsive adjustments for Academic Center pages */
@media (max-width: 767.98px) {
    .page-header {
        padding: 50px 0 !important;
    }
    .page-header h1 {
        font-size: 2rem !important;
    }
    .section-padding {
        padding: 40px 0 !important;
    }
    .bg-primary-theme.p-5 {
        padding: 30px 20px !important;
    }
    .card-body.p-4.p-md-5 {
        padding: 20px !important;
    }
}
@media (max-width: 575.98px) {
    .btn-form-submit {
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        text-align: center;
    }
}

/* ==========================================================================
   Academic Program Pages Styling (Class X, XII & Vocational)
   ========================================================================== */
.program-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(13, 43, 82, 0.05);
    padding: 30px;
    margin-bottom: 30px;
}
.sidebar-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(13, 43, 82, 0.05);
    padding: 25px;
    margin-bottom: 25px;
}
.subject-badge {
    background-color: rgba(255, 106, 26, 0.1);
    color: #ff6a1a;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
}
.theme-accordion .accordion-item {
    border: 1px solid rgba(13, 43, 82, 0.08);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}
.theme-accordion .accordion-header .accordion-button {
    background-color: #fff;
    color: #0d2b52;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 20px;
}
.theme-accordion .accordion-header .accordion-button:not(.collapsed) {
    background-color: #f7f9fc;
    color: #ff6a1a;
    box-shadow: none;
}
.theme-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d2b52'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.theme-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff6a1a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.subject-list-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f1f3f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.subject-list-item:last-child {
    border-bottom: none;
}
.check-list {
    list-style: none;
    padding-left: 0;
}
.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}
.check-list li::before {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #ff6a1a;
    font-size: 1.1rem;
}
.badge-medium {
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 8px;
    background-color: #f7f9fc;
    color: #0d2b52;
    border: 1px solid rgba(13, 43, 82, 0.08);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.cta-btn {
    background: linear-gradient(135deg, #ff6a1a, #e05307);
    color: #fff;
    border: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 106, 26, 0.25);
}
.cta-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 106, 26, 0.35);
}