/*
Theme Name: JBAM College
Version: 1.0
Theme URI: https://www.shanuinfotech.com/
Author: Shanu Info Tech
Author URI: https://www.shanuinfotech.com/
Description: The JBAM College theme for WordPress is used for Managing Content sharing features 
and Blog listing website in extensive layout.
License: GNU General Public License v2 or later 
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: Bootstrap, content-sharing, black, white, blue, one-column, two-columns, 
right-sidebar, flexible-width, custom-header, custom-menu, editor-style, 
featured-images, microformats, post-formats, rtl-language-support, sticky-post,
translation-ready
Text Domain: JBAM College
*/
/*
--------------------WordPress Core--------------------
*/
.alignnone{margin:5px 20px 20px 0}
.aligncenter,div.aligncenter{display:block;margin:5px auto}
.alignright{float:right;margin:5px 0 20px 20px}
.alignleft{float:left;margin:5px 20px 20px 0}
a img.alignright{float:right;margin:5px 0 20px 20px}
a img.alignleft,a img.alignnone{margin:5px 20px 20px 0}
a img.alignleft{float:left}
a img.aligncenter{display:block;margin-left:auto;margin-right:auto}
.wp-caption{background:#fff;border:1px solid #f0f0f0;max-width:96%;padding:5px 3px 10px;text-align:center}
.wp-caption.alignleft,.wp-caption.alignnone{margin:5px 20px 20px 0}
.wp-caption.alignright{margin:5px 0 20px 20px}
.wp-caption img{border:0;height:auto;margin:0;max-width:98.5%;padding:0;width:auto}
.wp-caption p.wp-caption-text{font-size:11px;line-height:17px;margin:0;padding:0 4px 5px}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.screen-reader-text:focus{background-color:#eee;clip:auto!important;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
body {
    background-color: aquamarine !important;
}
.pagination-wrap {
    clear: both;
    display: block;
    overflow: hidden;
    text-align: center;
    padding: 15px 0px 0px 100px;
}
.pagination-wrap .page-numbers {
    margin-bottom: 0;
    margin-top: 0;
}
.pagination-wrap .page-numbers > li:first-child > a, 
.pagination-wrap .page-numbers > li:first-child > span {
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
    display: table;
}
.pagination-wrap .page-numbers > li:last-child > a, 
.pagination-wrap .page-numbers > li:last-child > span {
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
}
.pagination-wrap .page-numbers > li > a,
.pagination-wrap .page-numbers > li > span {
    background-color: #f96331;
    border: 1px solid #ffb313;
    padding: 10px 15px;
    font-weight: bold;
    color: #FFFFFF;
    display: table;
    float: left;
}
.pagination-wrap .page-numbers > li > a:hover, 
.pagination-wrap .page-numbers > li > span:hover, 
.pagination-wrap .page-numbers > li > a:focus, 
.pagination-wrap .page-numbers > li > span:focus {
    background-color: #ffb313;
    border-color: #f96331;
}
.pagination-wrap .page-numbers .current {
    background-color: #ffb313;
    border-color: #f96331;
}
.pagination-wrap .page-numbers .current:hover,
.pagination-wrap .page-numbers .current span:hover {
    background-color: #ffb313;
    border-color: #f96331;
}


ul.dropdown-menu.show li { width: 100%; border-bottom: 1px solid #ccc; }

.notice-wrapper {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #ffd59e;
}

.notice-box {
    flex: 1;
    background: #ffe2e2;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.notice-header {
    background: linear-gradient(90deg, #0b2fc7, #061c91);
    color: #fff;
    padding: 10px 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notice-header a {
    color: #fff;
    font-size: 13px;
    text-decoration: none;
}

.notice-body {
    height: 220px;
    overflow: hidden;
}

.notice-body ul {
    list-style: none;
    margin: 0;
    padding: 0;
    animation: scrollUp 6s linear infinite;
}

.notice-body:hover ul {
    animation-play-state: paused;
}

.notice-body li {
    padding: 10px 15px;
    background: #ffbcbc;
    border-bottom: 1px solid #fff;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.notice-body li span {
    font-size: 12px;
    color: #000;
}

@keyframes scrollUp {
    0%   { transform: translateY(100%); }
    100% { transform: translateY(-100%); }
}

/* MOBILE */
@media (max-width: 768px) {
    .notice-wrapper {
        flex-direction: column;
    }
    .notice-body {
        height: 180px;
    }
}
.notice-wrapper{
    display:flex;
    gap:20px;
    padding:20px;
    background: #eaa0a0;
}
.notice-box{
    flex:1;
    background:#ffe2e2;
    border-radius:6px;
    overflow:hidden;
    box-shadow:0 6px 15px rgba(0,0,0,.15);
}
.notice-header{
    background:linear-gradient(90deg,#0b2fc7,#061c91);
    color:#fff;
    padding:10px 15px;
    font-weight:bold;
}
.notice-body{
    height:220px;
    overflow:hidden;
}
.notice-body ul{
    list-style:none;
    margin:0;
    padding:0;
    animation:scrollUp 6s linear infinite;
}
.notice-body:hover ul{animation-play-state:paused;}
.notice-body li{
    padding:10px 15px;
    background:#ffbcbc;
    border-bottom:1px solid #fff;
    display:flex;
    justify-content:space-between;
}
.notice-body li a{
    color:#000;
    text-decoration:none;
    font-weight:600;
}
.notice-body li a:hover{
    color:#061c91;
    text-decoration:underline;
}
@keyframes scrollUp{
    0%{transform:translateY(100%);}
    100%{transform:translateY(-100%);}
}
@media(max-width:768px){
    .notice-wrapper{flex-direction:column;}
}
.news-ticker {
    display: flex;
    background: #8b0f0f;
    color: #fff;
    overflow: hidden;
    height: 50px;
    align-items: center;
}

.news-label {
    background: #0024b8;
    padding: 0 20px;
    font-weight: bold;
    height: 100%;
    display: flex;
    align-items: center;
}

.news-marquee {
    flex: 1;
    overflow: hidden;
}

.news-track {
    display: inline-block;
    white-space: nowrap;
    animation: scrollNews 20s linear infinite;
}

.news-track span {
    padding: 0 50px;
    font-size: 16px;
}

.news-marquee:hover .news-track {
    animation-play-state: paused;
}

@keyframes scrollNews {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@media (max-width: 768px) {
    .news-track span { font-size: 14px; padding: 0 30px; }
}

.news-ticker {
    display: flex;
    align-items: center;
    height: 56px;
    background: linear-gradient(90deg, #7f0000, #b71c1c, #7f0000);
    box-shadow: 0 5px 15px rgba(0,0,0,.25);
    overflow: hidden;
}

.news-label {
    background: linear-gradient(135deg, #0026ff, #00c6ff);
    color: #fff;
    font-weight: 700;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    letter-spacing: 1px;
    animation: pulseGlow 2s infinite;
}

.news-marquee {
    flex: 1;
    overflow: hidden;
}

.news-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: scrollNews 14s linear infinite;
}

.news-track span {
    padding: 0 60px;
    font-size: 17px;
    color: #fff;
    position: relative;
}

.news-track span::after {
    content: "•";
    position: absolute;
    right: -30px;
    color: gold;
    font-size: 22px;
}

.news-ticker:hover .news-track {
    animation-play-state: paused;
}

/* ANIMATIONS */
@keyframes scrollNews {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

@keyframes pulseGlow {
    0%,100% { box-shadow: 0 0 8px rgba(0,174,255,.8); }
    50% { box-shadow: 0 0 18px rgba(0,174,255,1); }
}

/* MOBILE */
@media(max-width:768px){
    .news-ticker { height: 48px; }
    .news-label { padding: 0 16px; font-size: 13px; }
    .news-track span { padding: 0 30px; font-size: 14px; }
}
.news-ticker-wrap {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #7b0000, #c62828, #7b0000);
    height: 55px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(0,0,0,.3);
}

.news-label {
    background: linear-gradient(135deg, #002fff, #00c6ff);
    color: #fff;
    padding: 0 22px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    box-shadow: inset -2px 0 5px rgba(255,255,255,.3);
}

.news-marquee {
    flex: 1;
    overflow: hidden;
}

.news-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: tickerScroll 15s linear infinite;
}

.news-item {
    color: #fff;
    font-size: 16px;
    padding: 0 60px;
    position: relative;
}

.news-item::after {
    content: "★";
    color: gold;
    position: absolute;
    right: -30px;
    top: 0;
}

.news-ticker-wrap:hover .news-track {
    animation-play-state: paused;
}

@keyframes tickerScroll {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

/* Mobile */
@media (max-width: 768px) {
    .news-ticker-wrap { height: 46px; }
    .news-label { font-size: 13px; padding: 0 14px; }
    .news-item { font-size: 14px; padding: 0 30px; }
}
.banner-section {
    width: 100%;
    overflow: hidden;
}

/* Slider Item */
.banner-item {
    position: relative;
    width: 100%;
    height: 550px; /* CHANGE HEIGHT HERE */
}

/* Slider Image */
.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* NO IMAGE STRETCH */
}

/* Overlay */
.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
}

/* Caption */
.slider-caption {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    z-index: 9;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .banner-item {
        height: 280px;
    }

    .slider-caption {
        font-size: 16px;
        bottom: 10%;
        left: 5%;
    }
}
/* FIX SLIDER FULL WIDTH & HEIGHT */
.banner-section.slider {
    width: 100%;
    height: 100vh; /* FULL SCREEN */
    position: relative;
    overflow: hidden;
}

/* Each Slide */
.banner-item {
    width: 100%;
    height: 100vh;
    position: relative;
}

/* Slider Image */
.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dark Overlay */
.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 2;
}

/* Text on Slider */
.slider-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    z-index: 3;
}

/* Fix Header Overlap */
header, .main-header {
    position: relative;
    z-index: 99;
}

/* Mobile Height Fix */
@media(max-width:768px){
    .banner-section.slider,
    .banner-item {
        height: 300px;
    }
}

