/* ===== UPDATED STYLES WITH STYLE TWO ELEMENTS ===== */

:root {
    --primary-color: #d52506;
    --secondary-color: #1b3d87;
    --light-color: #f8f9fa;
    --dark-color: #0c2252;
    --text-color: #333;
    --border-color: #ddd;
    --accent-color: #3498db;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
}

body {
    background-color: #f5f7fa;
    color: var(--text-color);
    font-family: 'Humnst777 Lt BT!important', sans-serif;
    background-image: url('/assets/img/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.93);
    z-index: -1;
}

a {
    text-decoration: none;
}

.btn-primary{
    background: var(--secondary-color);
}

.btn-primary :hover{
    background: var(--primary-color);
    color: #fff;
}

/* ===== UPDATED HERO CAROUSEL ===== */
.hero-carousel {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    overflow: hidden;
    /* background-color: var(--dark-color); */
    margin-bottom: 40px;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Enhanced overlay for better text readability */
.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(12, 34, 82, 0.7); */
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 90%;
    color: white;
    text-align: center;
    padding: 30px;
    background: rgba(12, 34, 82, 0.7);
    border-radius: 10px;
    backdrop-filter: blur(5px);

    margin: 0 auto;
    /* ✅ Center align block */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* ✅ Ensure all text & buttons center horizontally */
    justify-content: center;
    /* ✅ Vertically align in the container */
}

.text-content {
    margin-bottom: 30px;
    max-width: 800px;
}

.text-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.text-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 0;
    color: #fffffe;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 500;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-custom {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-block;
}

.btn-custom:hover {
    background-color: transparent;
    color: white;
    font-size: 18px;
    font-weight: 700;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
    gap: 12px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: white;
    transform: scale(1.2);
}

.carousel-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel-arrow:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
    left: 20px;
}

.carousel-arrow.next {
    right: 20px;
}

.carousel-arrow i {
    color: white;
    font-size: 1.5rem;
}

/* ===== UPDATED SECTION TITLES ===== */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* ===== UPDATED ACCESS CARDS ===== */
.access-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    text-align: center;
    border: none;
}

.access-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.240);
}

.access-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.5rem;
}

.access-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.access-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.access-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.access-link:hover {
    color: var(--primary-color);
    gap: 12px;
    text-decoration: none;
}

/* ===== UPDATED PROGRESS SECTION ===== */
.progress-section {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0;
}

.progress-section .section-title {
    color: white;
}

.progress-section .section-title::after {
    background: rgba(255, 255, 255, 0.7);
}

.progress-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    transition: all 0.3s;
    height: 100%;
    box-shadow: none;
    border: none;
}

.progress-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.progress-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.progress-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.progress-note {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    font-size: 0.9rem;
}

/* ===== UPDATED UPDATE CARDS ===== */
.update-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    height: 100%;
    border: none;
}

.update-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.update-icon {
    background: linear-gradient(var(--primary-color));
    color: white;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.update-content {
    padding: 25px;
}

.update-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.3rem;
}

.update-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.update-date {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 991.98px) {
    .hero-carousel {
        height: 60vh;
        min-height: 450px;
    }

    .text-content h1 {
        font-size: 2.5rem;
    }

    .text-content p {
        font-size: 1.1rem;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .carousel-arrow i {
        font-size: 1.2rem;
    }

    .carousel-arrow.prev {
        left: 15px;
    }

    .carousel-arrow.next {
        right: 15px;
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 60vh;
        min-height: 400px;
    }

    .text-content h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .text-content p {
        font-size: 1rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .btn-custom {
        width: 100%;
        margin-bottom: 10px;
    }

    .carousel-arrow {
        width: 35px;
        height: 35px;
    }

    .carousel-arrow i {
        font-size: 1rem;
    }

    .carousel-controls {
        bottom: 15px;
    }
}

@media (max-width: 576px) {
    .hero-carousel {
        height: 60vh;
        min-height: 350px;
    }

    .slide-content {
        padding: 20px;
    }

    .text-content h1 {
        font-size: 1.8rem;
    }

    .text-content p {
        font-size: 0.95rem;
    }

    .carousel-arrow {
        display: none;
    }
}

/* ===== KEEPING ALL ORIGINAL STYLE ONE CODE ===== */
/* Navigation Bar - Updated */
.navbar {
    background-color: white;
    padding: 10px 0px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
}

.logo-img {
    height: 45px;
    width: auto;
}

.nav-link {
    color: var(--secondary-color);
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    transition: all 0.3s;
    margin: 0 2px;
    position: relative;
    border-radius: 0;
    background: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

/* Updated for right margin */
.navbar-nav {
    margin-right: 20px !important;
}

/* Mobile Sidebar - Updated */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background-color: white;
    transition: all 0.3s ease;
    z-index: 1050;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.sidebar.open {
    left: 0;
}

.sidebar-header {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--light-color);
}

.sidebar-header .logo {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.sidebar-header .logo img {
    height: 35px;
    margin-right: 10px;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.sidebar-nav {
    padding: 1rem 0;
}

.sidebar-nav .nav-item {
    margin-bottom: 5px;
}

.sidebar-nav .nav-link {
    color: var(--secondary-color);
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 0;
    margin: 0;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
    color: white;
    background-color: var(--primary-color);
}

.sidebar-nav .nav-link i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

/* Overlay for mobile */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
}

.overlay.active {
    display: block;
}

/* Toggle button for mobile - Updated */
.navbar-toggler {
    border: none;
    background: transparent;
    color: var(--primary-color);
    font-size: 1.5rem;
    padding: 0.25rem 0.5rem;
    display: none;
}

/* Header Section - Updated */
.header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 120%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.631);
}

.header p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Animation Classes */
.slide-in-top {
    animation: slideInTop 1s ease-out forwards;
}

.slide-in-bottom {
    animation: slideInBottom 1s ease-out forwards;
}

@keyframes slideInTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 0 20px;
}

.footer h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
    padding-left: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #ddd;
    text-decoration: none;
}

.footer ul li a:hover {
    color: white;
    text-decoration: underline;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
}

/*Live Session Cards */
.sessions-container {
    padding: 60px 0;
}

.session-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: none;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

.session-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.session-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 16px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.session-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.session-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.session-title {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.3;
    flex: 1;
    text-align: left;
}

.session-status {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.status-completed {
    background-color: rgba(13, 152, 71, 0.15);
    color: var(--success-color);
}

.status-upcoming {
    background-color: rgba(243, 156, 18, 0.15);
    color: var(--warning-color);
}

.session-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #666;
}

.session-date,
.session-time {
    display: flex;
    align-items: center;
}

.session-date i,
.session-time i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.session-description-wrapper {
    position: relative;
    margin-bottom: 10px;
    /* Reduced from 15px to 10px */
    flex-grow: 1;
}

.session-description {
    line-height: 1.6;
    color: #555;
    margin-bottom: 5px;
    /* Reduced from 5px to 0px */
    transition: all 0.3s ease;
    text-align: justify;
    word-wrap: break-word;
    hyphens: auto;
}

.truncated {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-more {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-top: 0px;
    /* Reduced margin to decrease space */
}

.btn-more:hover {
    text-decoration: underline;
}

.btn-more i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.btn-more.expanded i {
    transform: rotate(180deg);
}

.session-footer {
    margin-top: auto;
}

.btn-session {
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    transition: all 0.3s;
    width: 100%;
    display: block;
    text-align: center;
    text-decoration: none;
}

.btn-session:hover {
    background-color: var(--dark-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(27, 61, 135, 0.3);
}

.btn-disabled {
    background-color: #e9ecef;
    color: #6c757d;
    padding: 12px 25px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    width: 100%;
    display: block;
    text-align: center;
    cursor: not-allowed;
}

/* No Records Message */
.no-records {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-records i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #ddd;
}

.no-records h4 {
    color: #999;
    font-weight: 500;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .header h1 {
        font-size: 2.5rem;
    }

    .header p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 60px 0;
    }

    .header h1 {
        font-size: 2rem;
    }

    .header p {
        font-size: 1rem;
    }

    .sessions-container {
        padding: 40px 0;
    }

    .session-content {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .header h1 {
        font-size: 1.8rem;
    }

    .session-title {
        font-size: 1.2rem;
    }

    .session-meta {
        flex-direction: column;
        gap: 10px;
    }

    .session-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .session-status {
        align-self: flex-start;
    }
}


/* Case Studies Section */
.case-studies-container {
    padding: 80px 0;
}

.case-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.case-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.case-card-bg {
    background: transparent;
    position: relative;
    border-radius: 20px;
    width: calc(25% - 19px);
    min-width: 280px;
    height: 335px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    text-align: center;
    padding: 0;
    transition: all 0.4s ease;
    overflow: visible;
    margin-bottom: 60px;
}

.case-card-bg:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Diagonal border effect */
.case-card-bg::before,
.case-card-bg::after {
    content: '';
    position: absolute;
    width: 85px;
    height: 85px;
    z-index: 2;
}

.case-card-bg::before {
    top: 0;
    left: 0;
    border-top: 8px solid var(--primary-color);
    border-left: 8px solid var(--primary-color);
    border-top-left-radius: 20px;
    /* Diagonal cut effect */
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.case-card-bg::after {
    bottom: 0;
    right: 0;
    border-bottom: 8px solid var(--primary-color);
    border-right: 8px solid var(--primary-color);
    border-bottom-right-radius: 20px;
    /* Diagonal cut effect */
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.case-card {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fff;
    border-radius: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    text-align: center;
    padding: 20px 20px 25px;
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.case-icon-circle {
    width: 85px;
    height: 85px;
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    background: #fff;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.case-card:hover .case-icon-circle {
    background: #eeeeeeff;
    transform: scale(1.05);
}

.case-icon-circle i {
    color: #8e908f;
    font-size: 34px;
    transition: all 0.3s ease;
}

.case-title {
    font-size: 20px;
    color: var(--secondary-color);
    font-weight: 700;
    margin: 12px 0 10px;
    /* text-transform: uppercase; */
    letter-spacing: 0.5px;
    z-index: 2;
    position: relative;
}

.case-description {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    padding: 0 12px;
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Responsive adjustments */
@media (max-width: 1200px) {
    .case-card-bg {
        width: calc(33.33% - 17px);
    }
}

@media (max-width: 992px) {
    .case-card-bg {
        width: calc(50% - 13px);
    }
}

@media (max-width: 768px) {
    .case-card-bg {
        width: 100%;
        max-width: 400px;
    }

    .case-cards {
        gap: 20px;
    }
}

/* Archive */
.filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 0;
}

.filter-dropdown {
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 10px 15px;
    font-size: 0.9rem;
    background-color: white;
    min-width: 180px;
    cursor: pointer;
}

/* Remove all background and box-shadow from filter section */
.session-filter {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
}

/* Remove labels visually but keep for accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* MCQ Test Specific Styles */
.mcq-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.mcq-header {
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.mcq-progress .question-counter {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.timer-display {
    background-color: var(--light-color);
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 600;
    color: var(--primary-color);
}

.mcq-card {
    padding: 20px 0;
}

.question-text {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.3rem;
    line-height: 1.5;
}

.mcq-options {
    margin-top: 25px;
}

.option-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.option-item {
    flex: 0 0 50%;
    padding: 0 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.option-item-inner {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: all 0.3s;
    height: 100%;
}

.option-item-inner:hover {
    border-color: var(--secondary-color);
    background-color: rgba(52, 152, 219, 0.05);
}

.option-input {
    display: none;
}

.option-label {
    display: block;
    padding: 15px 20px;
    cursor: pointer;
    margin: 0;
    font-weight: 500;
    color: var(--dark-color);
    transition: all 0.3s;
    height: 100%;
    box-sizing: border-box;
}

.option-input:checked+.option-label {
    background-color: rgba(52, 152, 219, 0.1);
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

.option-text {
    margin-left: 10px;
}

.mcq-navigation {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.btn-outline-primary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* ===== CALENDAR STYLES ===== */
.calendar-container {
    max-width: 800px;
    margin: 0 auto;
}

.calendar-header-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calendar-nav-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.calendar-nav-btn:hover {
    background: #1c5a8a;
}

.calendar {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.day-header {
    padding: 10px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.day-header:last-child {
    border-right: none;
}

.calendar-body {
    background-color: white;
}

.calendar-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-bottom: 1px solid var(--border-color);
}

.calendar-week:last-child {
    border-bottom: none;
}

.calendar-day {
    padding: 15px 10px;
    text-align: center;
    border-right: 1px solid var(--border-color);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    position: relative;
}

.calendar-day:last-child {
    border-right: none;
}

.calendar-day.empty {
    background-color: #f8f9fa;
}

.calendar-day:hover:not(.empty) {
    background-color: #e8f4fd;
    cursor: pointer;
}

.calendar-day.today {
    background-color: #e8f4fd;
    font-weight: 600;
}

.calendar-day.event-day {
    background-color: #e8f4fd;
    color: var(--secondary-color);
    font-weight: 600;
}

.calendar-day.event-day::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

/* Event Details Section */
.event-details-section {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.event-details-section h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.event-list {
    list-style-type: none;
    padding: 0;
}

.event-item {
    padding: 8px 0;
    border-bottom: 1px solid #dee2e6;
}

.event-item:last-child {
    border-bottom: none;
}

.event-name {
    font-weight: 600;
    color: #333;
}

.event-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.no-events {
    color: #6c757d;
    font-style: italic;
}

/* News Section Styles */
.news-section {
    margin-top: 20px;
}

.news-item {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-item h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.news-item p {
    color: #555;
    margin-bottom: 1rem;
}

.news-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.ebook-section {
    margin-top: 20px;
}

.ebook-item {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.ebook-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ebook-item h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.ebook-author {
    color: #6c757d;
    font-style: italic;
    margin-bottom: 1rem;
}

.ebook-image {
    width: 100%;
    height: 310px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1rem;
}

/* Profile Page Specific Styles */
.profile-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
}

.activity-item {
    transition: all 0.3s;
}

.activity-item:hover {
    background-color: rgba(52, 152, 219, 0.05);
    padding-left: 10px;
    padding-right: 10px;
    margin-left: -10px;
    margin-right: -10px;
    border-radius: 6px;
}

.profile-icon {
    width: 120px;
    height: 120px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.profile-icon i {
    color: var(--secondary-color);
    font-size: 3rem;
}

.btn-view-details {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 6px 15px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-view-details:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Certificates Section Styles */
.certificates-section {
    margin-top: 30px;
}

.certificate-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.certificate-item:last-child {
    border-bottom: none;
}

.certificate-title {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.certificate-issued {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.btn-download {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 6px 15px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-download:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Notifications Section Styles */
.notifications-section {
    margin-top: 30px;
}

.notification-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-checkbox {
    margin-right: 15px;
    margin-top: 3px;
}

.notification-content {
    flex: 1;
}

.notification-text {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.notification-time {
    color: #666;
    font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-nav {
        display: none;
    }

    .navbar-toggler {
        display: block;
    }

    .logo-img {
        height: 30px;
    }
}

@media (min-width: 992px) {
    .sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 70px 0;
    }

    .header h1 {
        font-size: 2.2rem;
    }

    .header p {
        font-size: 1.1rem;
    }

    .btn-custom {
        display: block;
        width: 100%;
        margin-bottom: 15px;
        margin-left: 0;
        margin-right: 0;
    }

    .case-studies-filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .mcq-container {
        padding: 20px;
    }

    .mcq-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .question-text {
        font-size: 1.1rem;
    }

    .option-item {
        flex: 0 0 100%;
    }

    .option-label {
        padding: 12px 15px;
    }

    .calendar-day {
        padding: 10px 5px;
        min-height: 50px;
        font-size: 0.9rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .session-card {
        margin-bottom: 20px;
    }

    .session-img {
        height: 160px;
    }

    .filter-row {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .types-dropdown,
    .sort-dropdown {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .calendar-day {
        padding: 8px 3px;
        min-height: 45px;
        font-size: 0.85rem;
    }

    .day-header {
        padding: 8px 5px;
        font-size: 0.85rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.3rem;
    }
}