/* NAVBAR */
header#main-header {
    background: var(--primary-color) !important;
    border-bottom: 4px solid var(--accent-color);
    position: fixed; top: 0; left: 0; width: 100%; z-index: 2000;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
}

.header-content { 
    max-width: 1400px; margin: 0 auto; 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 10px 20px;
}

.brand img.logo-full { height: 65px; width: auto; }
.brand img.logo-mobile { height: 50px; width: auto; }

nav.main-nav { display: flex; align-items: center; gap: 8px; }

nav.main-nav a,
nav.main-nav a:hover,
nav.main-nav a:focus,
nav.main-nav .nav-item > a.nav-link, 
nav.main-nav .nav-item > a {
    font-size: 0.85rem; letter-spacing: 0.8px; position: relative;
    padding: 10px 15px !important; color: var(--white) !important;
    text-decoration: none !important; font-weight: 700; text-transform: uppercase;
    transition: var(--transition-smooth); border-radius: 5px;
}

nav.main-nav .nav-item:hover > a, 
nav.main-nav .nav-item:hover > a.nav-link,
nav.main-nav .nav-item > a.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-color) !important;
    text-decoration: none !important;
}

.nav-item { position: relative; }

.dropdown-content {
    display: block; /* Control via visibility/opacity for transition */
    position: absolute; top: 100%; left: 0;
    background: var(--primary-color); min-width: 250px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    border-radius: 0 0 10px 10px; overflow: hidden; padding: 10px 0; z-index: 2010;
    border-top: 3px solid var(--accent-color);
    border-left: 1px solid rgba(0,0,0,0.05); border-right: 1px solid rgba(0,0,0,0.05); border-bottom: 1px solid rgba(0,0,0,0.05);
    
    /* Professional Animation */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}

.nav-item:hover .dropdown-content { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
    pointer-events: auto; 
}

.dropdown-content a {
    padding: 12px 25px !important; color: var(--primary-color) !important;
    text-transform: none !important; display: block;
    font-size: 0.95rem; font-weight: 600;
    border-bottom: none !important; text-align: left;
    text-decoration: none !important;
    transition: var(--transition-smooth);
    color:#000!important;
}
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a:hover { background:var( --primary-color); color: var(--accent-color) !important; padding-left: 35px !important; }
.dropdown-content a::after { display: none !important; }

.mobile-menu-btn {
    display: none; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px; padding: 8px 14px; color: var(--white); cursor: pointer;
    transition: var(--transition-smooth);
    font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 1.25rem;
}
.mobile-menu-btn:hover { background: rgba(255,255,255,0.15); border-color: var(--accent-color); color: var(--accent-color); }
.mobile-menu-btn::before { content: '\f0c9'; }
.mobile-menu-btn.is-open::before { content: '\f00d'; }
.mobile-menu-btn-icon { display: none; }

@media (max-width: 992px) {
    .mobile-menu-btn { display: block; }
    nav.main-nav {
        position: absolute; top: 100%; left: 0; width: 100%;
        background: var(--primary-color) !important; flex-direction: column;
        padding: 15px 0; gap: 0; display: none;
        border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    }
    nav.main-nav.active { display: flex !important; }
    .nav-item { width: 100%; }
    nav.main-nav a { width: 100%; text-align: left; padding: 16px 25px !important; border-radius: 0; border-bottom: none !important; color: var(--white) !important; text-decoration: none !important; }
    .dropdown-content { position: static; box-shadow: none; width: 100%; display: none; background: rgba(0,0,0,0.25); border: none; opacity: 1; visibility: visible; transform: none; border-radius: 0; padding: 5px 0; pointer-events: auto; }
    .nav-item.open .dropdown-content { display: block; }
    .dropdown-content a { color: rgba(255,255,255,0.8) !important; padding-left: 45px !important; border-bottom: none !important; font-size: 0.85rem; text-decoration: none !important; }
    .dropdown-content a:hover { background: transparent; color: var(--accent-color) !important; }
}

/* REUSING EXISTING CLASSES */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(252, 169, 31)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E")!important;
}

/* SCHOOL NAME OVERLAY*/

.snameoverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    background-color: #62626262;
    z-index: 1;
}

.snameoverlay :nth-child(1) {
    font-size: 2em;
}

.snameoverlay * {
    line-height: 1em;
}

.stroke {
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

/* CAROUSEL */

.carousel-indicators button {
    border-radius: 100%;
    width: 18px!important;
    height: 18px!important;
    background-color: #696868!important;
    opacity: 1!important;
}

.carousel-indicators button.active {
    background-color: #F4BF02!important;
}

.c-inner1 .carousel-item img {
    height:100vh;
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

.buttonsoverlay {
    position: absolute;
    background-color: rgba(255, 255, 255, 0);
    width: 100%;
    height: 100%;
    z-index: 2;
    padding: 80px 3% 50px 3%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    background: white;
    opacity: 0.5;
}

.btn1 {
    background-color: #626262;
    color: #FCA91F;
    max-width: 10em;
}

.carousel-control-next, .carousel-control-prev {
    opacity: 1;
}

.carousel-control-next {
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
}

.carousel-control-prev {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
}

.myarrow img {
    width: 30px;
    height: 30px;
}

.myarrow {
    background-color: #FCA91F;
    padding: 5px;
    border-radius: 100%;
}

.blurthis {
    -webkit-filter: blur(5px);
            filter: blur(5px);
}

.ml-20per {
    margin-left: 20%;
}

.mr-20per {
    margin-right: 20%;
}

.c-x{
    height: 100vh;
    width: 100%;
    position: relative;
    bottom: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

/* CAROUSEL CARDS */

.carouselcards {
    position: relative;
    bottom: 130vh;
}

.cardicon img ,.facilities_icon{
    height: 35px;
    color: #F4BF02;
}

.cardicon {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

.card-title.m-0 {
    vertical-align: middle;
}

/* Second carousel */

.car2controls {
    position: absolute;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 32px;
    padding: 0;
    text-align: center;
    background: #626262;
    border: 0;
    opacity: 1;
}

.car2next {
    right: 0;
}

.car2prev {
    right: 37px
}

.car2next .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.car2prev .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.c2contentwrap img {
    width: 100%;
}

/* NEWS */

ul.news {
    list-style: none;
    padding: 0;
    overflow-y: scroll;
    max-height: 270px;
}

.news li {
    border-bottom: 2px solid #F4BF02;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 1.2em;
}

.news li div {
    font-weight: 600;
}

/*  CARD layout */

.cardround
{
border-radius: 20px;
}
.newsMarquee a {
    text-decoration: none;
    color: inherit;
}

.newsMarquee a:hover {
    text-decoration: none;
    color: #F4BF02;
}

.card-text {
    text-align: justify;
}
.building {
    max-width: 100%;
}
.building1
{
min-width: 150px;
max-width: 350px!important;
}
.views {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: auto;
    font-weight: 700;
    font-size: 1.5em;
    background-color: #626262;
    color: #F4BF02;
    padding: 5px 15px;
    border-radius: 10%;
}


/* TOPPER CARDS CAROUSEL */

.topper-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.topperimgwrap {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.topperimgwrap img {
    height: 150px;
}

.topper-item :nth-child(2) {
    margin-top: 0.51em;
    font-size: 1.1em;
    font-weight: bold;
}

/* FOOTER */

.footer-icon {
   max-height: 130px;
}

.footer_info .nostyle:hover {
    text-decoration: none;
    color: rgb(194, 180, 180)!important;
}

.footer_info {
    margin-bottom: 5px!important;
    cursor: default;
    color: inherit;
}
/* POPUP MODAL */
.modalClose1
{
    position: absolute;
    background-color: aliceblue;
    right: 0;

}
.modalImg
{
    max-height: 80vh;
    max-width: 80vw;
}

/* DOWNLOADING */
.downloading
{
    position: fixed;
    bottom: 20px;
    left: 20px;
    padding: 10px 20px;
    border-radius: 20px;
    background-color: rgb(255, 255, 255);
    font-weight: 800;
    border: 1px solid rgb(68, 71, 250);
    opacity: 0;
}
.downloadingIcon
{
    height: 1.2em;
}