body {
    font-family: var(--font-family);
    font-size: var(--default-font-size);
    background-color: #fff;
    color: var(--text-color);
    scroll-behavior: smooth;
}

/* Typography & Spacing */
section {
    padding: 100px 0;
}

.section-tag {
    font-weight: 800;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 30px;
}

.section-heading {
    font-weight: 800;
    font-size: var(--headline-font-size);
    line-height: 1.2;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9) !important;
}

.nav-link {
    font-weight: 600;
    color: var(--menu-color) !important;
    font-size: 0.85rem;
}

/* Hero Slider */
.carousel-item {
    height: 85vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

/* Unified Media Valley (Photo & Video) */
.media-container {
    background: var(--text-color);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.main-media-view {
    height: 550px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #000;
}

.main-media-view img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.thumb-grid {
    height: 550px;
    overflow-y: auto;
    padding-right: 10px;
}

.thumb-grid::-webkit-scrollbar {
    width: 4px;
}

.thumb-grid::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.thumb-item {
    height: 125px;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
    border: 3px solid transparent;
}

.thumb-item.active,
.thumb-item:hover {
    opacity: 1;
    border-color: var(--text-color);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cards & Glassmorphism */
.glass-card {
    border: none;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border-radius: 18px;
    transition: 0.4s;
    height: 100%;
}

.glass-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.program-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--text-color);
    color: white;
    border-radius: 12px;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Advertisement */
.ad-space {
    background: var(--light);
    color: var(--dark);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
}

.fw-800 {
    font-weight: 800;
}

.tracking-widest {
    letter-spacing: 0.15em;
}

/* Reading Progress */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: transparent;
    z-index: 1050;
}

.progress-bar {
    height: 100%;
    background: #0d6efd;
    width: 0%;
    transition: width 0.1s;
}

/* Article Hero */
.article-hero-wrap {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.hero-img {
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.4));
}

/* Content Typography */
.article-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #374151;
}

.article-body p {
    margin-bottom: 1.8rem;
}

.article-body h2,
.article-body h3 {
    font-weight: 800;
    color: #111827;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
}

/* Glass Sidebar */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.sidebar-nav .nav-link {
    color: #4b5563;
    padding: 12px 15px;
    border-radius: 12px;
    transition: 0.3s;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.95rem;
}

.sidebar-nav .nav-link:hover {
    background: #0d6efd;
    color: #fff !important;
    transform: translateX(5px);
}

.icon-wrap {
    width: 35px;
    height: 35px;
    background: rgba(13, 110, 253, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 12px;
    transition: 0.3s;
}

.sidebar-nav .nav-link:hover .icon-wrap {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

@media (max-width: 991px) {
    .article-hero-wrap {
        height: 300px;
    }

    .sticky-top {
        position: static;
        margin-top: 40px;
    }
}

 /* Professional Card Styling */
    .transition-hover {
        transition: all 0.3s ease;
    }
    .transition-hover:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    }

    .program-thumb-wrapper {
        height: 200px;
        overflow: hidden;
    }

    .program-img {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        transition: transform 0.5s ease;
    }

    .program-card:hover .program-img {
        transform: scale(1.1);
    }

    .status-badge {
        font-size: 0.7rem;
        letter-spacing: 1px;
        text-transform: uppercase;
        font-weight: 700;
        border-radius: 50px;
    }

    .badge-tag {
        display: inline-block;
        background: rgba(13, 110, 253, 0.08);
        color: #0d6efd;
        padding: 4px 12px;
        border-radius: 50px;
        font-size: 0.75rem;
        font-weight: 600;
        margin-right: 5px;
        margin-bottom: 5px;
        transition: 0.3s;
    }

    .badge-tag:hover {
        background: #0d6efd;
        color: #fff;
    }

    .program-meta-box {
        border: 1px solid #e9ecef;
    }

    .fw-600 { font-weight: 600; }

    /* For multi-line truncation if needed */
    .line-clamp-3 {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .event-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .event-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    }

    .event-thumb-wrapper {
        height: 220px;
    }

    .event-img {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
    }

    /* Date Badge UI */
    .event-date-badge {
        background: #fff;
        border-radius: 10px;
        text-align: center;
        min-width: 55px;
        overflow: hidden;
    }

    .event-date-badge .month {
        display: block;
        background: #0d6efd;
        color: #fff;
        font-size: 0.7rem;
        font-weight: 800;
        padding: 2px 5px;
        text-transform: uppercase;
    }

    .event-date-badge .day {
        display: block;
        font-size: 1.2rem;
        font-weight: 800;
        color: #333;
        padding: 5px;
    }

    /* Progress & Labels */
    .bg-soft-primary {
        background-color: rgba(13, 110, 253, 0.1);
    }

    .progress {
        background-color: #e9ecef;
    }

    .event-meta-footer {
        margin-top: auto;
    }

    .fw-bold {
        font-weight: 700;
    }


 /* GALLERY */
 .section-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 20px;
 }


 /* VIEW ALL BUTTON */
 .view-all-btn {
     font-size: 13px;
     color: #FFF;
     text-decoration: none;
     background: var(--button-color);
     padding: 4px 10px;
     border-radius: 20px;
     transition: 0.3s;
 }

 .view-all-btn:hover {
     background: rgba(255, 255, 255, 0.35);
     transform: translateY(-1px);
 }

 .gallery-item {
     position: relative;
     overflow: hidden;
     border-radius: 10px;
 }

 .gallery-link {
     display: block;
     position: relative;
 }

 /* IMAGE */
 .gallery-image {
     width: 100%;
     height: 220px;
     object-fit: cover;
     display: block;
     transition: transform 0.3s ease;
 }

 /* zoom effect */
 .gallery-item:hover .gallery-image {
     transform: scale(1.05);
 }

 /* 🔥 CAPTION BOTTOM (HIDDEN BY DEFAULT) */
 .gallery-caption {
     position: absolute;
     left: 0;
     right: 0;
     bottom: 0;
     /* 👈 bottom placement */

     padding: 10px;
     font-size: 0.95rem;
     font-weight: 600;
     color: #fff;
     text-align: center;

     background: rgba(0, 0, 0, 0.55);
     /* transparent dark bg */

     opacity: 0;
     transform: translateY(100%);
     transition: all 0.3s ease;
 }

 /* 🔥 SHOW ON HOVER */
 .gallery-item:hover .gallery-caption {
     opacity: 1;
     transform: translateY(0);
 }

 .slick-prev:before,
    .slick-next:before {
        color: #2d5a5a !important;
        /* Your Teal Brand Color */
        font-size: 25px;
    }

    .slick-prev {
        left: -35px;
    }

    .slick-next {
        right: -35px;
    }

    /* Maintain your existing Video Card styles below */
    .video-card {
        transition: transform 0.2s;
        cursor: pointer;
    }

    .thumbnail-wrapper {
        position: relative;
        display: block;
        overflow: hidden;
        aspect-ratio: 16 / 9;
    }

    .thumbnail-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .play-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s;
        color: white;
        font-size: 2rem;
    }

    .thumbnail-wrapper:hover .play-overlay {
        opacity: 1;
    }

    .video-title {
        font-size: 14px;
        font-weight: 600;
        line-height: 1.4;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .video-meta {
        font-size: 12px;
        color: #606060;
    }
    .btn-color{
        background-color: var(--button-color) !important;
    }
    .text-title{
        color: var(--headline-color) !important;
        font-size: var(--text-title-font-size) !important;
    }

    .text-large-title{
        color: var(--button-color) !important;
        font-size: var(--text-title-font-size) !important;
    }

    .footer-color{
        background-color: var(--footer-color) !important;
    }