/* ===============================
   MOBILE MENU JERK FIX
   =============================== */

html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Prevent scrollbar width shift */
body {
    overflow-y: scroll;
}

/* Fixed navbar width stability */
.gmrit-navbar {
    left: 0;
    right: 0;
    width: 100%;
    
}

/* Prevent collapse overflow */
@media (max-width: 991px) {
    .navbar-collapse {
        overflow-x: hidden;
    }

    .navbar,
    .navbar-collapse,
    body {
        transition: none !important;
    }
}


.navbar-brand img,:root{
 --blue:#003974;
 --red:#ED1C24;
 --gold:#FAAB53;
 --dark:#1f2a6b;
}

body{
 margin:0;
 font-family:'Inter',sans-serif;
}

h1,h2,h3{
 font-family:'Playfair Display',serif;
}

/* TOP BAR */
.top-bar{
 background:var(--dark);
 color:#fff;
 font-size:13px;
 padding:6px 0;
}
.top-bar a{color:#fff}

/* NAVBAR */
.main-nav{
 background:#fff;
 border-bottom:1px solid #ddd;
 padding:12px 0;
}
.navbar-brand img{height:90px}
.nav-link{
 color:var(--blue)!important;
 font-weight:500;
}

/* APPLY */
.apply-btn{
 background:var(--red);
 color:#fff!important;
 padding:6px 16px;
 border-radius:4px;
}

/* MEGA MENU */
.mega{position:static}
.mega-menu{
 position:absolute;
 left:0;right:0;
 background:#fff;
 padding:30px;
 display:flex;
 gap:60px;
 box-shadow:0 15px 35px rgba(0,0,0,.18);
 opacity:0;
 visibility:hidden;
 transform:translateY(12px);
 transition:.25s;
}
.mega:hover .mega-menu{
 opacity:1;
 visibility:visible;
 transform:none;
}
.mega-menu h6{color:var(--blue);font-weight:600}
.mega-menu a{
 display:block;
 font-size:14px;
 color:#333;
 padding:6px 0;
}
.mega-menu i{color:var(--gold);margin-right:6px}

/* HERO SLIDER */
.hero-slide{
 height:85vh;
 background-size:cover;
 background-position:center;
 position:relative;
}
.hero-slide::before{
 content:"";
 position:absolute;
 inset:0;
 background:rgba(0,57,116,.75);
}
.hero-content{
 position:absolute;
 bottom:30%;
 left:10%;
 color:#fff;
 max-width:600px;
 animation:fadeUp .9s ease;
}
.hero-content h1{font-size:46px}
.hero-content p{font-size:18px}
.btn-apply{
 background:var(--red);
 color:#fff;
 padding:12px 30px;
 display:inline-block;
 border-radius:4px;
}

/* VIDEO */
.video-section{
 padding:80px 0;
 background:#f7f9fc;
}
.video-section video{
 width:100%;
 border-radius:8px;
 box-shadow:0 10px 25px rgba(0,0,0,.15);
}

/* ANIMATION */
@keyframes fadeUp{
 from{opacity:0;transform:translateY(20px)}
 to{opacity:1;transform:none}
}

/* FOOTER */
footer{
 background:#111;
 color:#ccc;
 padding:20px 0;
 text-align:center;
}

/* MOBILE */
@media(max-width:991px){
 .hero-content{left:5%;bottom:25%}
 .hero-content h1{font-size:32px}
 .mega-menu{position:static;opacity:1;visibility:visible;box-shadow:none}
}
/* =========================================
   WHY GMRIT – CARD STYLE (FINAL)
   ========================================= */

.why-card{
    background:#ffffff;
    border:1px solid rgba(0,57,116,0.18);
    border-radius:16px;
    padding:38px 28px;
    height:100%;

    transition:all .35s ease;
    position:relative;
    overflow:hidden;
}

/* Accent line */
.why-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:linear-gradient(to right,#003974,#FAAB53);
    opacity:0;
    transition:opacity .3s ease;
}

/* Hover */
.why-card:hover{
    transform:translateY(-10px);
    box-shadow:0 18px 40px rgba(0,0,0,.15);
    border-color:rgba(0,57,116,.4);
}

.why-card:hover::before{
    opacity:1;
}

/* Icon */
.why-card .why-icon{
    font-size:38px;
    color:#003974;
    margin-bottom:18px;
    transition:transform .35s ease,color .35s ease;
}

.why-card:hover .why-icon{
    transform:scale(1.15);
    color:#FAAB53;
}


/* =================================================
   STATS – STRONG VISUAL HIERARCHY
   ================================================= */
.stats-clean{
    padding:70px 0 0px;
    background:#fff;
}

.stats-clean .col-md-3{
    position:relative;
}

.stats-clean .col-md-3:not(:last-child)::after{
    content:"";
    position:absolute;
    right:0;
    top:15%;
    width:1px;
    height:70%;
    background:#e5e5e5;
}

.stats-clean h3{
    font-family:'Playfair Display',serif;
    font-size:30px;
    font-weight:700;
    color:#003974;
    margin-bottom:6px;
}

.stats-clean span{
    font-size:14px;
    color:#666;
    letter-spacing:.5px;
}

/* =================================================
   NEWS & EVENTS – AMET STYLE CARDS
   ================================================= */
.news-section{
    padding:40px 0 80px;
    background:#fff;
}

.news-card{
    border:1px solid #e2e2e2;
    border-radius:10px;
    padding:26px 24px;
    background:#fff;
    height:100%;
    transition:all .35s ease;
}

.news-card:hover{
    box-shadow:0 15px 35px rgba(0,0,0,.12);
    transform:translateY(-6px);
}

.news-card h6{
    font-size:16px;
    font-weight:600;
    margin-bottom:10px;
    color:#111;
}

.news-card p{
    font-size:14.5px;
    color:#555;
    line-height:1.6;
    margin:0;
}

/* =================================================
   SECTION TITLES – MORE PRESENCE
   ================================================= */
.section-title{
    font-family:'Playfair Display',serif;
    font-size:32px;
    font-weight:700;
    color:#003974;
    padding-top:40px;
    margin-bottom:40px;
    position:relative;
}

.section-title::after{
    content:"";
    display:block;
    width:60px;
    height:3px;
    background:#FAAB53;
    margin:18px auto 0;
    border-radius:2px;
}

/* =========================================
   MENU – TOP & BOTTOM ANIMATED LINES
   ========================================= */

/* Common */

.gmrit-navbar .nav-link::before,
.gmrit-navbar .nav-link::after {
    content: "";
    position: absolute;
    height: 3px;
    width: 0;
    pointer-events: none;
    transition: width 0.4s ease;
}

/* TOP LINE — LEFT → RIGHT (BLUE) */
.gmrit-navbar .nav-link::before {
    top: 0;
    left: 0;
    background-color: #003974;
}

/* BOTTOM LINE — RIGHT → LEFT (ORANGE) */
.gmrit-navbar .nav-link::after {
    bottom: 2px;                 /* ⬅ NOT 0 */
    right: 0;
    background-color: #FAAB53;
}

/* Hover & active */
.gmrit-navbar .nav-link:hover,
.gmrit-navbar .nav-link.active {
    color: #ED1C24;
}

.gmrit-navbar .nav-link:hover::before,
.gmrit-navbar .nav-link.active::before,
.gmrit-navbar .nav-link:hover::after,
.gmrit-navbar .nav-link.active::after {
    width: 100%;
}


/* Admissions CTA */
/* =========================================
   ADMISSIONS BUTTON
   ========================================= */

.admission-btn {
    background: #cd0b12;
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.admission-btn:hover {
    background: #003974; /* or #FAAB53 if you prefer */
}

/* Remove line animation */
.admission-btn::before,
.admission-btn::after {
    display: none;
}

/* =========================
   MEGA MENU (AMET STYLE)
   ========================= */
/* =========================================
   GMRIT MEGA MENU STRIP
   ========================================= */

/* Parent must allow full width */
.gmrit-navbar .gmrit-mega {
    position: static;
}

/* Mega menu container */
.gmrit-mega-menu {
    position: absolute;
    left: 0;
    width: 100%;
    background: #f5f7fa;
    border-top: 1px solid #e2e6ea;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    padding: 30px 0;

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.35s ease;
    z-index: 999;
}

/* Show on hover */
.gmrit-mega:hover > .gmrit-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Hover open (desktop) */
@media(min-width:992px){
    .gmrit-mega:hover .gmrit-mega-menu{
        opacity:1;
        visibility:visible;
        transform:none;
    }
}

/* Links inside mega menu */
.gmrit-mega-menu a {
    display: block;
    color: #333;
    padding: 6px 0;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

/* Hover effect for submenu items */
.gmrit-mega-menu a:hover {
    color: #ED1C24;
    padding-left: 6px;
}
/* Disable Bootstrap dropdown caret animation */
.gmrit-navbar .dropdown-toggle::after {
    display: none;
}

/* =========================
   PREVENT HERO BLEED
   ========================= */
.hero,
.hero-slide{
    position:relative;
    z-index:1;
}
/* ===============================
   STICKY HEADER (AMET STYLE)
   =============================== */

/* Default header */
.gmrit-navbar{
    transition: all 0.35s ease;
}

/* When sticky */
.gmrit-navbar.is-sticky{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    z-index: 1100;
    animation: slideDown 0.35s ease forwards;
}

/* Reduce height slightly */
.gmrit-navbar.is-sticky .nav-link{
    padding: 8px 14px;
}

.gmrit-navbar.is-sticky .navbar-brand img{
    height: 48px;
}

/* Slide animation */
@keyframes slideDown{
    from{
        transform: translateY(-100%);
    }
    to{
        transform: translateY(0);
    }
}

/* Space compensation so content doesn't jump */
body.has-sticky-header{
    padding-top: 90px;
}
/* ===============================
   HEADER BADGES (AMET STYLE)
   =============================== */

.gmrit-brand-wrap{
    gap: 10px;
}

/* Badge container */
.gmrit-badges{
    gap: 10px;
}

/* Simple accreditation badge */
.badge-item{
    font-size: 12px;
    font-weight: 600;
    color: #003974;
    border: 1px solid #003974;
    padding: 6px 10px;
    border-radius: 4px;
    line-height: 1;
    background: #fff;
}

/* Years badge */
.badge-years{
    font-size: 12px;
    font-weight: 700;
    color: #003974;
    border: 2px solid #003974;
    padding: 6px 8px;
    border-radius: 50%;
    line-height: 1.1;
    text-align: center;
}

/* Sticky header adjustment */
.gmrit-navbar.is-sticky .gmrit-badges{
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
/* ===============================
   ADMISSIONS FLOATING POPUP
   =============================== */

.admission-popup{
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 320px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    z-index: 1200;

    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

/* Show popup */
.admission-popup.show{
    opacity: 1;
    transform: translateY(0);
}

/* Header */
.popup-header{
    background: #003974;
    color: #fff;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-close{
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

/* Body */
.popup-body{
    padding: 14px;
    font-size: 14px;
    color: #333;
}

.popup-body p{
    margin-bottom: 12px;
}

/* Buttons */
.popup-actions{
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.btn-popup{
    flex: 1;
    text-align: center;
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.btn-popup.apply{
    background: #cd0b12;
    color: #fff;
}

.btn-popup.chat{
    background: #f1f1f1;
    color: #003974;
}

/* Footer */
.popup-footer{
    font-size: 13px;
    color: #555;
}

/* Mobile */
@media(max-width:576px){
    .admission-popup{
        right: 10px;
        left: 10px;
        width: auto;
    }
}
/* ===== DEBUG VISIBILITY ===== */
.admission-popup{
    display: block !important;
    visibility: visible !important;
}
.dont-show{
    display:flex;
    align-items:center;
    gap:6px;
    font-size:13px;
    color:#555;
    cursor:pointer;
}

.dont-show input{
    cursor:pointer;
}
/* ===============================
   FADE-IN ON SCROLL (AMET STYLE)
   =============================== */

/* Initial hidden state */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* When visible */
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===============================
   RECRUITERS LOGO STRIP
   =============================== */

.recruiters-section{
    padding:90px 0 70px;
    background:#fff;
}

/* Slider container */
.recruiters-slider{
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

/* Fading edges (premium look) */
.recruiters-slider::before,
.recruiters-slider::after{
    content:"";
    position:absolute;
    top:0;
    width:120px;
    height:100%;
    z-index:2;
    pointer-events:none;
}

.recruiters-slider::before{
    left:0;
    background:linear-gradient(to right, #fff 0%, transparent 100%);
}

.recruiters-slider::after{
    right:0;
    background:linear-gradient(to left, #fff 0%, transparent 100%);
}

/* Track */
.recruiters-track{
    display:flex;
    width:max-content;
    animation: scrollRecruiters 35s linear infinite;
}

/* Pause on hover */
.recruiters-slider:hover .recruiters-track{
    animation-play-state: paused;
}

/* Logo box */
.recruiter-logo{
    flex:0 0 auto;
    width:180px;
    height:90px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:10px 20px;
}

.recruiter-logo img{
    max-width:140px;
    max-height:60px;
    filter: grayscale(100%);
    opacity:0.7;
    transition:all .3s ease;
}

.recruiter-logo img:hover{
    filter: grayscale(0%);
    opacity:1;
}

/* Animation */
@keyframes scrollRecruiters{
    from{
        transform: translateX(0);
    }
    to{
        transform: translateX(-50%);
    }
}

/* Mobile adjustments */
@media(max-width:768px){
    .recruiter-logo{
        width:140px;
    }
    .recruiter-logo img{
        max-width:110px;
    }
}
/* ===============================
   CHATBOT UI (AMET STYLE)
   =============================== */

.chatbot-container{
    position:fixed;
    right:20px;
    bottom:20px;
    z-index:1300;
    font-family:'Inter',sans-serif;
}

/* Floating button */
.chatbot-toggle{
    width:55px;
    height:55px;
    background:#003974;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    cursor:pointer;
    box-shadow:0 8px 25px rgba(0,0,0,.25);
}

/* Chat window */
.chatbot-window{
    position:absolute;
    bottom:70px;
    right:0;
    width:320px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 15px 40px rgba(0,0,0,.25);
    overflow:hidden;

    opacity:0;
    transform:translateY(20px);
    pointer-events:none;
    transition:all .35s ease;
    width:360px;              /* wider */
    height:540px;             /* taller */
    display:flex;
    flex-direction:column;
}

.chatbot-window.open{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
}

/* Header */
.chatbot-header{
    background:#003974;
    color:#fff;
    padding:12px 14px;
    font-weight:600;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.chatbot-header button{
    background:none;
    border:none;
    color:#fff;
    font-size:18px;
    cursor:pointer;
}

/* Messages */
.chatbot-messages{
    flex:1;
    padding:18px;
    font-size:14.8px;
    line-height:1.6;
    overflow-y:auto;
}


.bot-message,
.user-message{
    margin-bottom:10px;
    padding:8px 12px;
    border-radius:8px;
    max-width:85%;
}

.bot-message{
    background:#f4f7fb;
    color:#1f2a44;
    padding:12px 15px;
    border-radius:14px 14px 14px 6px;
    box-shadow:0 4px 10px rgba(0,0,0,.08);
}

.user-message{
    background:#003974;
    color:#fff;
    padding:12px 15px;
    border-radius:14px 14px 6px 14px;
    margin-left:auto;
    box-shadow:0 4px 10px rgba(0,0,0,.12);
}

/* Quick buttons */
.chatbot-quick{
    padding:10px;
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

.chatbot-quick button{
    flex:1;
    background:#f1f1f1;
    border:none;
    padding:6px;
    border-radius:6px;
    font-size:13px;
    cursor:pointer;
}

.chatbot-quick button:hover{
    background:#003974;
    color:#fff;
}

/* Input */
.chatbot-input{
    display:flex;
    border-top:1px solid #ddd;
}

.chatbot-input input{
    flex:1;
    border:none;
    padding:10px;
    font-size:14px;
}

.chatbot-input button{
    background:#ED1C24;
    color:#fff;
    border:none;
    padding:0 14px;
    cursor:pointer;
}

/* Mobile */
@media(max-width:576px){
    .chatbot-window{
        width:280px;
    }
}
/* ===============================
   CHATBOT APPLY BUTTON
   =============================== */

.chat-apply-btn{
    display:inline-block;
    margin-top:10px;
    background:#cd0b12;
    color:#fff !important;
    padding:8px 14px;
    border-radius:4px;
    font-size:13px;
    font-weight:600;
    text-decoration:none;
}

.chat-apply-btn:hover{
    background:#cd0b12;
}
/* ===============================
   HERO VIDEO SECTION
   =============================== */

.hero-video{
    position:relative;
    height:85vh;
    overflow:hidden;
    background:#000;
}

.hero-video video{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* Overlay */
.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        to right,
        rgba(0,0,0,.55),
        rgba(0,0,0,.2)
    );
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding-left:8%;
    color:#fff;
}

.hero-overlay h1{
    font-size:3rem;
    font-weight:700;
    max-width:650px;
}

.hero-overlay p{
    font-size:1.1rem;
    margin:15px 0 25px;
}

.btn-apply{
    display:inline-block;
    background:#cd0b12;
    color:#fff;
    padding:12px 26px;
    border-radius:4px;
    font-weight:600;
    text-decoration:none;
    width:fit-content;
}

/* Mobile */
@media(max-width:768px){
    .hero-video{
        height:65vh;
    }
    .hero-overlay{
        padding:0 20px;
        text-align:center;
        align-items:center;
    }
    .hero-overlay h1{
        font-size:2rem;
    }
}
/* ===============================
   LOGO SHRINK ON SCROLL
   =============================== */

/* Default (top of page) */
.navbar-brand img,
.site-logo img {
    height: 90px;
    width: auto;
    transition: height 0.3s ease;
}

/* When header is sticky */
.gmrit-navbar.is-sticky .navbar-brand img,
.gmrit-navbar.is-sticky .site-logo img {
    height: 65px;   /* premium shrink size */
}
.gmrit-navbar {
    transition: padding 0.3s ease;
}

.gmrit-navbar.is-sticky {
    padding-top: 6px;
    padding-bottom: 6px;
}

/* =========================================
   FINAL MENU – TOP & BOTTOM ANIMATED LINES
   ========================================= */

.gmrit-navbar .nav-link{
    position: relative;
    color: #003974;
    font-weight: 600;
    padding: 12px 16px 18px; /* extra bottom space */
    transition: color 0.3s ease;
}

/* common */
.gmrit-navbar .nav-link::before,
.gmrit-navbar .nav-link::after{
    content:"";
    position:absolute;
    height:3px;
    width:0;
    pointer-events:none;
    transition:width 0.4s ease;
}

/* top line – blue */
.gmrit-navbar .nav-link::before{
    top:0;
    left:0;
    background:#b40626;
}

/* bottom line – orange */
.gmrit-navbar .nav-link::after{
    bottom:4px;   /* 🔑 NOT 0 */
    right:0;
    background:#FAAB53;
}

/* hover / active */
.gmrit-navbar .nav-link:hover,
.gmrit-navbar .nav-link.active{
    color:#ED1C24;
}

.gmrit-navbar .nav-link:hover::before,
.gmrit-navbar .nav-link:hover::after,
.gmrit-navbar .nav-link.active::before,
.gmrit-navbar .nav-link.active::after{
    width:100%;
}

/* ===== FIX MENU LINE CLIPPING ===== */
.gmrit-navbar .nav-link{
    overflow: visible !important;
}
/* ===============================
   TOP RIBBON BAR (REFERENCE STYLE)
   =============================== */

.top-ribbon{
    background:#f5f7fa;
    font-size:13px;
    border-bottom:1px solid #e2e6ea;
}

/* LEFT ANGLED RIBBON */
.ribbon-menu{
    background:#003974;
    display:flex;
    align-items:center;
    padding:10px 34px 10px 20px;
    clip-path: polygon(0 0, 95% 0, 100% 50%, 95% 100%, 0 100%);
}

.ribbon-menu a{
    color:#fff;
    text-decoration:none;
    font-weight:600;
    margin-right:18px;
    white-space:nowrap;
}

.ribbon-menu a:hover{
    text-decoration:underline;
}

/* RIGHT SIDE */
.ribbon-right{
    padding:6px 0;
}

/* GROUPS */
.ribbon-group{
    display:flex;
    align-items:center;
    gap:8px;
}

.ribbon-group .label{
    font-weight:600;
    color:#333;
    margin-right:6px;
}

/* ICONS */
.ribbon-group .icon{
    color:#003974;
    font-size:14px;
    text-decoration:none;
}

.ribbon-group .icon.whatsapp{
    color:#25D366;
}

/* SEARCH */
.ribbon-search{
    display:flex;
    align-items:center;
    border:1px solid #ccc;
    border-radius:4px;
    overflow:hidden;
}

.ribbon-search input{
    border:none;
    padding:6px 10px;
    font-size:13px;
    outline:none;
}

.ribbon-search button{
    border:none;
    background:#003974;
    color:#fff;
    padding:6px 10px;
    cursor:pointer;
}

/* HIDE ON MOBILE */
@media(max-width:992px){
    .top-ribbon{
        display:none;
    }
}
/* ===============================
   TOP BAR – FULL WIDTH (AMET STYLE)
   =============================== */


.top-bar-full .container-fluid{
    padding:6px 20px;
}


.top-links a{
    color:#fff;
    margin-right:14px;
    text-decoration:none;
    font-weight:500;
}

.top-links a:hover{
    text-decoration:underline;
}

.top-icons a{
    color:#fff;
    margin-left:10px;
    font-size:14px;
}

/* ===============================
   MOBILE TOP LINKS INSIDE MENU
   =============================== */

.mobile-top-links a{
    display:inline-block;
    font-size:13px;
    margin:4px 10px 4px 0;
    color:#003974;
    text-decoration:none;
}

/* ===============================
   NAVBAR LAYOUT ADJUSTMENTS
   =============================== */

.gmrit-navbar .container-fluid{
    padding-left:20px;
    padding-right:20px;
}

.navbar-brand img{
    height:80px;
}

/* Hide desktop top bar on mobile */
@media(max-width:991px){
    .top-bar-full{
        display:none;
    }
}
/* =========================================
   TOP BAR – ENHANCED (PREMIUM FEEL)
   ========================================= */

.top-bar-full{
    background: linear-gradient(90deg, #1f2a6b, #003974);
    color:#fff;
    font-size:14.5px;          /* increased font */
    font-weight:500;
}

.top-bar-full .container-fluid{
    padding:8px 24px;
}

/* LINKS */
.top-links a{
    color:#fff;
    margin-right:16px;
    text-decoration:none;
    position:relative;
    transition:color .25s ease;
}

.top-links a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-3px;
    width:0;
    height:2px;
    background:#FAAB53;
    transition:width .25s ease;
}

.top-links a:hover{
    color:#FAAB53;
}

.top-links a:hover::after{
    width:100%;
}

/* ICONS */
.top-icons a{
    color:#fff;
    margin-left:12px;
    font-size:15px;
    transition:transform .25s ease, color .25s ease;
}

.top-icons a:hover{
    color:#FAAB53;
    transform:translateY(-2px);
}

.top-icons a .bi-whatsapp{
    color:#25D366;
}

/* SEARCH */
.top-search{
    display:flex;
    align-items:center;
    background:#fff;
    border-radius:4px;
    overflow:hidden;
    box-shadow:0 4px 12px rgba(0,0,0,.15);
}

.top-search input{
    border:none;
    padding:6px 12px;
    font-size:14px;
    outline:none;
    width:150px;
}

.top-search button{
    border:none;
    background:#cd0b12;
    color:#fff;
    padding:6px 12px;
    cursor:pointer;
    transition:background .25s ease;
}

.top-search button:hover{
    background:#FAAB53;
}

/* MOBILE – hide desktop top bar */
@media(max-width:991px){
    .top-bar-full{
        display:none;
    }
}
/* Center-align top menu bar links */
.top-links{
    margin:0 auto;
    display:flex;
    align-items:center;
}
/* =========================================
   CENTER ALIGN MEGA MENU CONTENT
   ========================================= */
/* ===== CENTER MEGA MENU CONTENT ===== */
.gmrit-mega-menu > .container {
    max-width: 1200px;          /* keeps content centered */
    margin: 0 auto;             /* centers container */
}

/* Center the row itself */
.gmrit-mega-menu .row {
    justify-content: center;    /* 🔑 THIS is the magic */
}

/* Give equal column width & spacing */
.gmrit-mega-menu .col-md-4 {
    padding-left: 40px;
    padding-right: 40px;
}

/* =========================================
   SUB MENU ITEM ICONS (AUTO)
   ========================================= */

.gmrit-mega-menu a{
    position: relative;
    padding-left: 22px;      /* space for icon */
}

/* Default icon for all submenu items */
.gmrit-mega-menu a::before{
    content: "\F285";        /* Bootstrap icon: chevron-right */
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #FAAB53;
    transition: transform 0.25s ease, color 0.25s ease;
}

/* Hover animation */
.gmrit-mega-menu a:hover::before{
    transform: translate(4px, -50%);
    color: #ED1C24;
}
/* Mega menu section heading with icon */
.gmrit-mega-menu h6 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: .3px;
    margin-bottom: 14px;
}
.gmrit-mega-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    color: #003974;
    padding: 6px 0;
}

.gmrit-mega-menu a i {
    font-size: 12px;
    color: #FAAB53; /* gold arrow */
}
.gmrit-mega-menu {
    padding-top: 40px;
    padding-bottom: 40px;
    /*height:300px;*/
    background:linear-gradient(to right,rgba(255, 255, 255, 0.9),rgba(255, 255, 255, 0.95),rgba(255, 255, 255, 0.9));
}
.bullet-dot{
    width:6px;
    height:6px;
    background:#FAAB53;
    border-radius:50%;
    display:inline-block;
    margin-right:8px;
}
/* ===============================
   GMRIT FOOTER
   =============================== */

.gmrit-footer{
    background:#0e1a3a;
    color:#cfd6e3;
    padding:60px 0 0;
    font-size:14px;
}

.footer-logo{
    max-width:220px;
    margin-bottom:15px;
}

.footer-about{
    line-height:1.7;
    color:#cfd6e3;
}

/* Headings */
.gmrit-footer h6{
    font-size:15px;
    font-weight:700;
    margin-bottom:14px;
    color:#fff;
    position:relative;
}

.gmrit-footer h6::after{
    content:"";
    width:35px;
    height:2px;
    background:#FAAB53;
    display:block;
    margin-top:6px;
}

/* Links */
.gmrit-footer ul{
    list-style:none;
    padding:0;
    margin:0;
}

.gmrit-footer ul li{
    margin-bottom:8px;
}

.gmrit-footer ul li a{
    color:#cfd6e3;
    text-decoration:none;
    transition:all .25s ease;
}

.gmrit-footer ul li a:hover{
    color:#FAAB53;
    padding-left:4px;
}

/* Social icons */
.footer-social{
    display:flex;
    gap:12px;
    margin-top:10px;
}

.footer-social a{
    width:34px;
    height:34px;
    border-radius:50%;
    background:#1c2b5a;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    transition:all .3s ease;
}

.footer-social a:hover{
    background:#FAAB53;
    color:#000;
}

/* Bottom bar */
.footer-bottom{
    background:#0a1430;
    padding:14px 0;
    margin-top:40px;
    font-size:13px;
}

.footer-bottom a{
    color:#cfd6e3;
    text-decoration:none;
}

.footer-bottom a:hover{
    color:#FAAB53;
}

/* Mobile */
@media(max-width:768px){
    .footer-bottom .container{
        text-align:center;
        gap:8px;
        justify-content:center;
    }
}
.gmrit-footer h6::after{
    content:"";
    width:60px;
    height:2px;
    display:block;
    margin:8px auto 0;
    background:linear-gradient(to right, transparent, #FAAB53, transparent);
}
/* ===============================
   MOBILE MENU – ACCORDION STYLE
   =============================== */
@media (max-width: 991px) {

    /* Disable hover mega behavior */
    .gmrit-mega-menu {
        position: static;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: none;               /* hidden by default */
        padding: 10px 0 15px;
        background: #f7f9fc;
        box-shadow: none;
        border-top: 1px solid #ddd;
    }

    /* Show only when active */
    .gmrit-mega.open > .gmrit-mega-menu {
        display: block;
    }

    /* Parent menu items */
    .gmrit-navbar .nav-link {
        padding: 12px 10px;
        font-size: 15px;
    }

    /* Accordion arrow */
    .gmrit-navbar .dropdown-toggle::after {
        content: "\F282"; /* bootstrap chevron-down */
        font-family: "bootstrap-icons";
        float: right;
        transition: transform 0.3s ease;
    }

    /* Rotate arrow when open */
    .gmrit-mega.open > .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    /* Mega menu columns stack */
    .gmrit-mega-menu .row {
        flex-direction: column;
    }

    .gmrit-mega-menu .col-md-4 {
        padding: 10px 20px;
    }

    .gmrit-mega-menu h6 {
        font-size: 14px;
        margin-top: 12px;
    }

    .gmrit-mega-menu a {
        font-size: 14px;
        padding: 6px 0;
    }
}
/* ===============================
   MOBILE TOP BAR – FINAL FIX
   =============================== */

.top-bar-mobile{
    background: linear-gradient(90deg, #1f2a6b, #003974);
    padding: 6px 10px;
    font-size: 13px;
}

/* INNER ROW */
.mobile-bar-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* LEFT LINKS (SCROLLABLE) */
.mobile-top-links{
    display: flex;
    gap: 14px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.mobile-top-links::-webkit-scrollbar{
    display: none;
}

.mobile-top-links a{
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

/* RIGHT ICONS */
.mobile-top-icons{
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

.mobile-top-icons a{
    color: #fff;
    font-size: 15px;
}

.mobile-top-icons .bi-whatsapp{
    color: #25D366;
}

/* SEARCH BAR (SLIDES BELOW) */
.mobile-search{
    display: none;
    margin-top: 6px;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

.mobile-search.active{
    display: flex;
}

.mobile-search input{
    flex: 1;
    border: none;
    padding: 8px 10px;
    font-size: 14px;
    outline: none;
}

.mobile-search button{
    background: #cd0b12;
    border: none;
    color: #fff;
    padding: 8px 12px;
}

/* ===============================
   MOBILE TOP BAR – ENHANCED
   =============================== */

@media (max-width: 991px){

    .top-bar-mobile{
        position: sticky;
        top: 0;
        z-index: 1200;
    }

    /* Smooth slide animation */
    .mobile-search{
        max-height: 0;
        opacity: 0;
        transform: translateY(-6px);
        transition: all 0.3s ease;
    }

    .mobile-search.active{
        max-height: 60px;
        opacity: 1;
        transform: translateY(0);
    }
}
.site-title{
    font-size: 32px;
    line-height: 1.1;
    font-weight: 700;
    color: #003974;
}

.site-title .sub-title{
    display: block;
    font-size: 14px;          /* 🔑 smaller text */
    font-weight: 500;
    letter-spacing: 1px;
    color: #555;
    margin-top: 2px;
    text-transform: uppercase;
}
.gmrit-title{
    font-family: 'Red Hat Display', serif;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}

/* GMRIT */
.gmrit-title{
    font-size: 42px;
    color: #ffffff;
}

/* Deemed to be – SMALL */
.gmrit-title .deemed{
    
    font-size: 15px;              /* 🔑 smaller size */
    font-weight: 600;
    color: #ffffff;               /* gold */
    letter-spacing: 1.5px;
    /*text-transform: uppercase;*/
    margin-top: 4px;
}

/* UNIVERSITY – BIG & BOLD */
.gmrit-title .university{
    display: block;
    font-size: 44px;
    font-weight: 900;
    color: #ffffff;               /* red */
    letter-spacing: 1px;
}
@media (max-width: 768px){
    .gmrit-title{
        font-size: 28px;
        text-align: center;
    }

    .gmrit-title .deemed{
        font-size: 13px;
    }

    .gmrit-title .university{
        font-size: 30px;
    }
}
/* OLD WEBSITE BUTTON */
.old-website-btn{
    background:#f4a300;          /* golden yellow */
    color:#fff !important;
    font-weight:700;
    font-size:14px;
    padding:6px 16px;
    border-radius:3px;
    margin-right:14px;
    text-decoration:none;
    line-height:1;
    display:inline-flex;
    align-items:center;
    transition:all .25s ease;
}

/* Hover effect */
.old-website-btn:hover{
    background:#e09300;
    color:#fff;
    transform:translateY(-1px);
}
@media(max-width:991px){
    .old-website-btn{
        display:none;
    }
}
/* ===============================
   NEW NOTICE BOARD (MODERN)
   =============================== */

.noticeboard-new{
    background: linear-gradient(135deg,#f7f9fc,#eef3fa);
    padding: 40px 0;
}

/* Tabs */
.notice-tabs{
    display:flex;
    justify-content:center;
    gap:12px;
    margin-bottom:30px;
    font-size:1.2em;
}

.notice-tabs button{
    border:none;
    background:#fff;
    padding:10px 22px;
    border-radius:30px;
    font-weight:600;
    color:#003974;
    box-shadow:0 6px 18px rgba(0,0,0,.1);
    transition:.3s;
}

.notice-tabs button.active,
.notice-tabs button:hover{
    background:#003974;
    color:#fff;
}
/* MAIN NOTICE BOARD BOX */
.notice-content{
    max-width: 900px;
    margin: 0 auto;
    background:#fff;
    border-radius:16px;
    padding: 30px 35px;
    box-shadow:0 1px 3px rgba(0,0,0,.15);

    height: 420px;                 /* 🔑 FIXED HEIGHT */
    display: flex;
    flex-direction: column;
}

/* PANEL SCROLL AREA */
.notice-panel{
    display:none;
    overflow-y:auto;               /* 🔑 INTERNAL SCROLL */
    padding-right:6px;
}

.notice-panel.active{
    display:block;
    animation:fadeSlide .3s ease;
}

/* SCROLLBAR (CLEAN) */
.notice-panel::-webkit-scrollbar{
    width:6px;
}
.notice-panel::-webkit-scrollbar-thumb{
    background:#FAAB53;
    border-radius:6px;
}


/* List */
.notice-list{
    list-style:none;
    padding:0;
    margin:0;
}

.notice-list li{
    display:flex;
    gap:12px;
    padding:16px 0;
    border-bottom:1px solid #eee;
}

.notice-list li:last-child{
    border-bottom:none;
}

/* Dot */
.notice-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#FAAB53;
    margin-top:8px;
    flex-shrink:0;
}

.notice-dot.blue{background:#003974;}
.notice-dot.green{background:#28a745;}

/* Links */
.notice-list a{
    font-weight:600;
    color:#003974;
    text-decoration:none;
}

.notice-list a:hover{
    color:#ED1C24;
}

.notice-list small{
    display:block;
    font-size:13px;
    color:#666;
}

/* Footer link */
.notice-footer-link{
    margin-top:20px;
}

.notice-footer-link a{
    font-weight:600;
    color:#ED1C24;
    text-decoration:none;
}

.notice-footer-link a:hover{
    text-decoration:underline;
}

/* Animation */
@keyframes fadeSlide{
    from{opacity:0;transform:translateY(10px)}
    to{opacity:1;transform:none}
}

/* Mobile */
@media(max-width:768px){
    .notice-content{
        height: 460px;
        padding:22px 18px;
    }
}
/* TAB HEADER (CLEAN STRIP) */

/* TAB ITEM */
.notice-tabs span{
    position:relative;
    padding:10px 4px 14px;
    font-weight:600;
    color:#666;
    cursor:pointer;
    transition:color .25s ease;
}

/* ACTIVE */
.notice-tabs span.active{
    color:#003974;
}

/* UNDERLINE */
.notice-tabs span::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-1px;
    width:0;
    height:3px;
    background:#FAAB53;
    transition:width .3s ease;
}

.notice-tabs span.active::after{
    width:100%;
}
.notice-panel ul{
    padding-left: 18px;
}

.notice-panel li{
    list-style: disc;
    margin-bottom: 10px;
}

.notice-panel a{
    color:#003974;
    font-weight:500;
    text-decoration:none;   /* 🔑 no underline */
}

.notice-panel a:hover{
    color:#ED1C24;
}
/* ===============================
   NOTICE BOARD – PREMIUM LOOK
   =============================== */

.notice-panel ul{
    padding-left: 0;
    margin: 0;
}

/* Each notice item */
.notice-panel li{
    list-style: none;
    position: relative;
    padding: 12px 12px 12px 20px;
    margin-bottom: 6px;

    border-bottom: 1px solid #e3e7ee;   /* thin divider line */
    transition: all 0.3s ease;
    background: #fff;
}

/* Remove last border */
.notice-panel li:last-child{
    border-bottom: none;
}

/* Left accent line */
.notice-panel li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 4px;
    height: 0;
    background: #FAAB53;              /* GMR gold */
    border-radius: 2px;
    transition: height 0.3s ease;
}

/* Hover effect */
.notice-panel li:hover{
    background: #f6f9ff;              /* light blue tint */
    padding-left: 24px;
}

/* Animate accent line on hover */
.notice-panel li:hover::before{
    height: calc(100% - 24px);
}

/* Notice links */
.notice-panel a{
    display: block;
    color: #003974;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.25s ease;
}

/* Hover text */
.notice-panel li:hover a{
    color: #ED1C24;
}

/* ===============================
   MOBILE FRIENDLY TOUCH FEEL
   =============================== */
@media(max-width:768px){
    .notice-panel li{
        padding: 14px 12px 14px 18px;
    }
}
.notice-new{
    font-size: 11px;
    background: #ED1C24;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    font-weight: 600;
}
/* ===============================
   NOTICE BOARD AUTO SCROLL
   =============================== */

.notice-panel {
    scroll-behavior: smooth;
}

/* Pause hint (optional UX polish) */
.notice-content:hover {
    cursor: pause;
}
/* =================================================
   LIGHT SECTION BACKGROUNDS – MOBILE FRIENDLY
   ================================================= */

/* WHY GMRIT – LIGHT BLUE TINT */
.why-section{
    background: linear-gradient(
        180deg,
        #f5f9ff 0%,
        #ffffff 100%
    );
}

/* Add subtle divider spacing on mobile */
@media(max-width:768px){
    .why-section{
        padding-top: 70px;
        padding-bottom: 60px;
    }
}

/* STATS – SOFT GREY BLUE */
.stats-clean{
    background: #f7f9fc;
}

/* Make stat cards pop slightly */
.stats-clean .col-md-3{
    padding: 20px 10px;
}

.stats-clean .col-md-3:hover{
    background:#ffffff;
    border-radius:10px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:all .3s ease;
}

/* LATEST NEWS – LIGHT GOLD WASH */
.news-section{
    background: linear-gradient(
        180deg,
        #fdf8ef 0%,
        #ffffff 100%
    );
}

/* NEWS CARDS – STRONGER ON MOBILE */
@media(max-width:768px){
    .news-card{
        box-shadow:0 10px 25px rgba(0,0,0,.12);
    }
}

/* NOTICE BOARD – KEEP GRADIENT BUT SOFTEN */
.noticeboard-new{
    background: linear-gradient(
        135deg,
        #f4f8ff 0%,
        #eef3fa 60%,
        #fff 100%
    );
}

/* SECTION SEPARATORS (SUBTLE) */
.why-section::after,
.stats-clean::after,
.news-section::after{
    content:"";
    display:block;
    width:100%;
    height:1px;
    background:linear-gradient(
        to right,
        transparent,
        rgba(0,0,0,.08),
        transparent
    );
    margin-top:70px;
}
/* =========================================
   WHY GMRIT – LOAD ANIMATION
   ========================================= */

.why-section .col-md-4{
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* When section becomes visible */
.fade-up.visible .col-md-4{
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay */
.fade-up.visible .col-md-4:nth-child(1){
    transition-delay: 0.1s;
}
.fade-up.visible .col-md-4:nth-child(2){
    transition-delay: 0.25s;
}
.fade-up.visible .col-md-4:nth-child(3){
    transition-delay: 0.4s;
}
.footer-logo {
    max-height: 70px;   /* reduce size */
    width: auto;
    margin-bottom: 12px;
}
@media (max-width: 768px) {
    .footer-logo {
        max-height: 30px;
    }
}
.group-inline img {
    height: 38px;
    width: auto;
    vertical-align: middle;
    margin: 0 6px;
}
/* ===============================
   GMR GROUP SECTION
   =============================== */

.gmr-group-section {
    background: #ffffff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.gmr-group-logo {
    max-height: 90px;
    width: auto;
    opacity: 0.95;
}

.gmr-text {
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .gmr-group-logo {
        max-height: 70px;
        margin-bottom: 20px;
    }
}
.footer-ticker {
    background: #002a5c;   /* matches your theme */
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    font-size: 13px;
}

.ticker-track {
    display: inline-flex;
    gap: 60px;
    animation: tickerMove 40s linear infinite;
}

@keyframes tickerMove {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Pause on hover (professional touch) */
.footer-ticker:hover .ticker-track {
    animation-play-state: paused;
}

.footer-visit-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    font-family: 'Inter', sans-serif;
}

.counter-label {
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.counter-digits {
    display: flex;
    gap: 6px;
}

.counter-digits .digit {
    background: #ad7c09;            /* purple tone (can change) */
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    padding: 6px 10px;
    border-radius: 4px;
    min-width: 22px;
    text-align: center;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,0.2);
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .counter-digits .digit {
        font-size: 14px;
        padding: 5px 8px;
    }
}
/* Subtle digit animation */
.counter-digits .digit {
    animation: digitReveal 0.5s ease-out;
}

@keyframes digitReveal {
    from {
        transform: translateY(6px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.counter-digits .digit:nth-child(1) { animation-delay: 0s; }
.counter-digits .digit:nth-child(2) { animation-delay: 0.05s; }
.counter-digits .digit:nth-child(3) { animation-delay: 0.1s; }
.counter-digits .digit:nth-child(4) { animation-delay: 0.15s; }
.counter-digits .digit:nth-child(5) { animation-delay: 0.2s; }
.counter-digits .digit:nth-child(6) { animation-delay: 0.25s; }
.counter-digits .digit:nth-child(7) { animation-delay: 0.3s; }

/* ===== MEGA MENU SECTION HEADINGS ===== */
.gmrit-mega-menu h6 {
    background: #f1f4f9;               /* light band */
    padding: 10px 14px;
    margin-bottom: 10px;
    border-left: 4px solid #003974;    /* theme blue */
    font-size: 14px;
    font-weight: 700;
    color: #003974;
    display: flex;
    align-items: center;
    gap: 8px;
}
.bullet-dot {
    width: 6px;
    height: 6px;
    background: #FAAB53;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    flex-shrink: 0;
}

/* DOTTED SEPARATOR */
.gmrit-mega-menu a:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;    
    border-bottom: 1px dotted #cfcfcf;
    
}
/* ===== MEGA MENU HEADING BAND ===== */
.gmrit-mega-menu h6 {
    background: #003974;           /* dark band */
    color: #ffffff;   

    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    margin-bottom: 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gmrit-mega-menu h6 i {
    font-size: 14px;
    color: #FAAB53; /* gold icon */
}


.gmrit-mega-menu a:hover {
    color: #ED1C24;
    padding-left: 6px;
}

.gmrit-mega-menu a:hover .bullet-dot {
    background: #ED1C24;
}
.bullet-dot {
    width: 6px;
    height: 6px;
    background: #FAAB53;
    border-radius: 50%;
    display: inline-block;
}
