/* web slider start*/
.hero_area_container_slide_item {
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.hero_area_inner {
    position: relative;
    overflow: hidden;
    background: #000;
}

/* MOBILE (max-width: 768px) — 100vh */
@media (max-width: 768px) {
    .hero_area_inner {
        height: 100vh !important;
    }

    .hero_area_inner img {
        height: 100vh !important;
        object-fit: cover;
        object-position: center;
    }
}

/* FULL SCREEN IMAGE FIX */
.hero_area_inner img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .hero_area_inner img {
        height: 60vh;
    }
}

/* LEFT LOGO */
.slider-logo-left {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 210px;
    height: auto;
    padding: 15px;
    border-radius: 4px;
    z-index: 10;
}

/* RIGHT LOGO */
.slider-logo-right {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    opacity: 0.9;
    z-index: 10;
}

/* CENTER TEXT BLOCK */
.slider-center-box {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    width: 60%;
    text-align: center;
    z-index: 15;
}

.slider-center-box h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--bs-primary-accent);
}

.slider-center-box p {
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    margin-bottom: 25px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}

/* BUTTONS */
.slider-buttons a {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    margin: 5px;
    color: #fff;
    font-weight: 600;
}

.btn-blue {
    background: var(--bs-primary-accent);
}

.btn-red {
    background: #e53935;
}

.btn-yellow {
    background: #fbc02d;
}

.btn-green {
    background: #43a047;
}

@media (max-width: 768px) {
    .slider-logo-left {
        width: 140px;
        left: 15px;
    }

    .slider-logo-right {
        width: 80px;
        right: 15px;
    }

    .slider-center-box {
        width: 85%;
        top: 50%;
    }

    .slider-center-box h2 {
        font-size: 26px;
    }

    .slider-center-box p {
        font-size: 15px;
    }
}
.hero_area_inner::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.6)
);
z-index: 5;
}

.slider-center-box {
z-index: 20 !important;
}

/* TITLE */
.banner-title {
font-size: 36px !important;
font-weight: 800 !important;
color: #fff !important;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 18px;
text-shadow: 0 4px 20px rgba(0,0,0,1);
}

/* DESCRIPTION */
.banner-description {
font-size: 18px !important;
line-height: 32px !important;
font-weight: 500 !important;
color: #fff !important;
text-shadow: 0 3px 10px rgba(0,0,0,1);
max-width: 760px;
margin: 0 auto 25px auto;
}

/* RESPONSIVE */
@media (max-width: 768px) {
.banner-title {
    font-size: 24px !important;
}

.banner-description {
    font-size: 16px !important;
    line-height: 24px !important;
}
}
/* web slider end*/
/* principal section start*/
#team_principal_section {
    background: linear-gradient(135deg, var(--bs-primary-accent), var(--bs-primary));
    color: white;
    padding: 60px 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

#team_principal_text {
    flex: 1 1 320px;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.6;
}

#team_principal_text h3 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1rem;
}

#team_principal_signature {
    margin-top: 1.4rem;
    font-style: italic;
    font-weight: 600;
    color: #e8eaf6;
}
#team_principal_img {
    width: 320px;
    height: 360px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}
#team_principal_img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}
/* principal section end*/

#category_overlay_section .category-card-inner {
    position: relative;
    cursor: pointer;
}

#category_overlay_section .category-card-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    padding: 0.5rem 0;
}

#category_overlay_section .category-card-title {
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    text-align: center;
}

/* Hover overlay effect */
#category_overlay_section .category-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#category_overlay_section .category-card-inner:hover .category-card-overlay {
    opacity: 1;
}

@media (min-width: 768px) {
    #category_overlay_section .category-card:not(:last-child) {
        border-right: 5px solid var(--bs-primary-accent);
    }
}

/* school wall of fame */

.ev-events-schedule_section {
    max-height: 250px;
    overflow-y: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: #f9f9f9;
    padding: 15px;
}

.ev-events-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
}

.ev-events-thead tr {
    background: var(--bs-primary-accent);
    color: white;
}

.ev-events-table th, 
.ev-events-table td {
    padding: 3px;
}

.ev-events-table th:first-child {
    text-align: center;
    border-radius: 5px 0 0 0;
}

.ev-events-table th:last-child {
    text-align: center;
    border-radius: 0 5px 0 0;
}

.ev-events-tbody tr {
    border-bottom: 1px solid #ddd;
    transition: background 0.3s;
}

.ev-events-date {
    background: #e9ecef;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ev-events-date h3 {
    margin: 0;
    font-size: 18px;
    color: var(--bs-primary-accent);
}

.ev-event-title h4 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.ev-events-tbody p {
    margin: 0;
}

.ev-icon-clock, .ev-icon-location {
    color: var(--bs-primary-accent);
}

.ev-view-all {
    text-align: center;
    margin-top: 15px;
}

.ev-view-btn {
    background: var(--bs-primary-accent);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.sponsor-section h3 {
    font-weight: 600;
    color: #333;
    margin-bottom: 40px;
    position: relative;
}

.sponsor-section h3::after {
    content: "";
    width: 80px;
    height: 3px;
    background: var(--bs-primary-accent);
    display: block;
    margin: 12px auto 0;
    border-radius: 2px;
}

.sponsor-section .sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    justify-items: center;
    align-items: start;
}

.sponsor-section .sponsor-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 180px;
    height: 180px;
    /* 🔹 Fixed height for uniform card size */
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sponsor-section .sponsor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.sponsor-section .sponsor-item img {
    width: 100%;
    max-width: 130px;
    max-height: 100px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.sponsor-section .sponsor-item:hover img {
    filter: none;
    transform: scale(1.05);
}

.sponsor-section .sponsor-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-align: center;
    transition: color 0.3s ease;
}

.sponsor-section .sponsor-item:hover .sponsor-title {
    color: var(--bs-primary-accent);
}

/* Small devices (phones & small tablets) */
@media (max-width: 768px) {
    #calendar {
        margin-top: 300px;
    }
}

.media-gallery-section .card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease;
    display: flex;
    flex-direction: column;
}
.media-gallery-section .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}
.thumb, .video-thumb img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    background: #111;
}
.video-thumb .play-overlay {
    position: absolute;
    inset: 0;
    display:flex;
    align-items:center;
    justify-content:center;
    background: linear-gradient(0deg, rgba(0,0,0,0.35), rgba(0,0,0,0.1));
    transition: background .2s ease;
}
.video-thumb:hover .play-overlay { background: linear-gradient(0deg, rgba(0,0,0,0.45), rgba(0,0,0,0.15)); }
.play-icon {
    width:72px;
    height:72px;
    border-radius:50%;
    background:rgba(255,255,255,0.08);
    display:grid;
    place-items:center;
    border: 2px solid rgba(255,255,255,0.14);
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}
.play-icon:after {
    content: '';
    display:block;
    width:0;
    height:0;
    border-left:20px solid white;
    border-top:12px solid transparent;
    border-bottom:12px solid transparent;
    margin-left:5px;
    opacity:0.95;
}

.creator-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
}
.creator-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.creator-info span.name {
    font-weight: 600;
    font-size: 0.95rem;
}

.card-footer {
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.icons-date {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.icons {
    display: flex;
    gap: 1rem;
    font-size: 1.2rem;
}
.date {
    font-size: 0.82rem;
    color: #6b7280;
}

.expandable-title-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.3rem;
    width: 100%;
}
.expandable-title {
    display: -webkit-box;
    -webkit-line-clamp: 1; /* 1 line */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight:600;
    width: 100%;
}
.read-more-toggle {
    cursor: pointer;
    color: #0d6efd;
    font-weight: 500;
    flex-shrink: 0;
    display: none;
}

.load-more-trigger { height: 1px; }
#loaderWrap { display: none; text-align:center; padding:18px 0; }

.news-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: 0.3s;
    background: #fff;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.news-image {
    height: 230px;
    object-fit: cover;
    width: 100%;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}

/* TITLE + READMORE IN SAME LINE */
.news-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

.news-title {
    font-size: 17px;
    font-weight: 600;
    color: #00124E;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.title-readmore {
    font-size: 13px;
    color: #4068FC;
    cursor: pointer;
    display: none;
    flex-shrink: 0;
}