/* ============================================================
   SGBIT – Complete Homepage Redesign CSS
   S.G. Balekundri Institute of Technology, Belagavi
   Version: 2.0 | Feb 2026
   ============================================================ */

/* ── 1. CSS Custom Properties ────────────────────────────────────── */
:root {
    --sgb-primary:      #05233b;   /* Deep Navy */
    --sgb-accent:       #1a56a4;   /* SGBIT Blue */
    --sgb-accent-dark:  #0d3c7e;
    --sgb-gold:         #f26c00;   /* Orange Accent */
    --sgb-gold-light:   #fff3e0;
    --sgb-green:        #059669;
    --sgb-purple:       #7c3aed;
    --sgb-red:          #dc2626;
    --sgb-teal:         #0891b2;
    --sgb-light:        #f0f6fb;
    --sgb-lighter:      #f8fbff;
    --sgb-surface:      #ffffff;
    --sgb-border:       #dde7f2;
    --sgb-text:         #1c2d3c;
    --sgb-muted:        #5f7386;
    --sgb-radius:       8px;
    --sgb-radius-lg:    16px;
    --sgb-radius-xl:    24px;
    --sgb-shadow:       0 4px 20px rgba(5,35,59,.08);
    --sgb-shadow-md:    0 8px 32px rgba(5,35,59,.12);
    --sgb-shadow-lg:    0 16px 48px rgba(5,35,59,.16);
    --sgb-transition:   all .28s cubic-bezier(.4,0,.2,1);
    --sgb-font:         'Poppins', 'Inter', 'Segoe UI', Arial, sans-serif;
    --sgb-section-gap: 80px;
}

/* ── 2. Body ─────────────────────────────────────────────────────── */
body.sgbit-body {
    font-family: var(--sgb-font);
    color: var(--sgb-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── 3. Back to Top ──────────────────────────────────────────────── */
.sgbit-back-to-top {
    position: fixed;
    bottom: 28px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--sgb-accent);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 16px;
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: var(--sgb-transition);
    box-shadow: 0 4px 16px rgba(26,86,164,.4);
}
.sgbit-back-to-top.visible { opacity: 1; pointer-events: auto; }
.sgbit-back-to-top:hover   { background: var(--sgb-primary); color: #fff; }

/* ────────────────────────────────────────────────────────────────── */
/*  HEADER                                                            */
/* ────────────────────────────────────────────────────────────────── */

/* Top Bar */
.sgh-topbar {
    background: var(--sgb-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,.15);
}
.sgh-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    gap: 12px;
    flex-wrap: nowrap;
    padding: 4px 0;
}
.sgh-top-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    overflow: hidden;
    flex-wrap: nowrap;
}
.sgh-top-item {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    color: rgba(255,255,255,.9);
    text-decoration: none;
    font-size: 12.5px;
}
.sgh-top-item i      { font-size: 12px; color: #ffe680; }
.sgh-top-item strong { color: #fff; font-weight: 700; }
.sgh-top-item:hover  { color: #fff; text-decoration: underline; }
.sgh-separator       { color: rgba(255,255,255,.35); font-size: 11px; }

.sgh-top-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.sgh-portal-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--sgb-transition);
    white-space: nowrap;
}
.sgh-portal-btn:hover { background: rgba(255,255,255,.15); color: #fff; }
.sgh-admission-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    background: var(--sgb-gold);
    color: #fff;
    border-radius: 4px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--sgb-transition);
}
.sgh-admission-btn:hover { background: #c95a00; color: #fff; transform: translateY(-1px); }

/* ── Brand / College Header ──────────────────────────────── */
.sgh-brand {
    border-bottom: 3px solid var(--sgb-brand-border, #f26c00);
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Animated gradient mode */
.sgh-brand--animated {
    background: linear-gradient(135deg,
        var(--sgb-grad-from, #05233b) 0%,
        #0d3460                        50%,
        var(--sgb-grad-to, #1a56a4)   100%);
    background-size: 300% 300%;
    animation: sgbBrandBg 12s ease infinite;
}

/* Subtle radial glow overlay (animated & gradient modes) */
.sgh-brand--animated::before,
.sgh-brand--gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 25% 50%, rgba(255,255,255,0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 50%, rgba(242,108,0,0.07) 0%, transparent 55%);
    pointer-events: none;
}

@keyframes sgbBrandBg {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.sgh-brand-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 7px 0;
    position: relative;
    z-index: 1;
}

/* Logo columns */
.sgh-brand-logo-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.sgh-brand--float .sgh-brand-logo-left {
    animation: sgbLogoFloat 5s ease-in-out infinite;
}
/* Override inline width/height from DB — fit logos to banner height */
.sgh-brand-logo-left img {
    max-height: 66px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}
.sgh-logo-placeholder {
    width: 66px;
    height: 66px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    display: grid;
    place-items: center;
    font-size: 28px;
    color: rgba(255,255,255,0.8);
}
@keyframes sgbLogoFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-5px); }
}

/* Text block */
.sgh-brand-text { text-align: center; }

/* Trust / Title line */
.sgh-trust-name {
    margin: 0 0 2px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: sgbFadeSlideDown 0.7s ease both;
}

/* College name — shimmer version (animated mode) */
.sgh-college-name {
    margin: 0 0 3px;
    font-size: clamp(14px, 1.75vw, 24px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .3px;
    line-height: 1.15;
    animation: sgbFadeSlideUp 0.7s ease both;
}
.sgh-brand--shimmer .sgh-college-name {
    background: linear-gradient(90deg,
        var(--sgb-shimmer-from, #ffffff) 0%,
        var(--sgb-shimmer-to,   #ffd97d) 45%,
        var(--sgb-shimmer-from, #ffffff) 90%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: sgbNameShimmer 3.5s linear infinite, sgbFadeSlideUp 0.7s ease both;
}

/* Address line */
.sgh-college-address {
    margin: 0;
    font-size: 11px;
    color: rgba(255,255,255,0.65);
    font-weight: 400;
    letter-spacing: .3px;
    animation: sgbFadeSlideUp 0.9s ease 0.1s both;
}

@keyframes sgbFadeSlideUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes sgbFadeSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes sgbNameShimmer {
    to { background-position: 200% center; }
}

/* Right logo cluster */
.sgh-brand-logos-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 180px;
}
.sgh-brand--float .sgh-brand-logos-right {
    animation: sgbLogoFloat 5s ease-in-out infinite 0.5s;
}
.sgh-accredit-img {
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.08);
    filter: brightness(1.05) drop-shadow(0 2px 6px rgba(0,0,0,0.3));
    max-height: 66px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

/* News Ticker */
.sgh-ticker-bar {
    background: #fff4e0;
    border-top: 1px solid #ffe0a0;
    border-bottom: 1px solid #ffe0a0;
    padding: 0;
    overflow: hidden;
}
.sgh-ticker-inner {
    display: flex;
    align-items: stretch;
    height: 40px;
}
.sgh-ticker-label {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 18px;
    background: var(--sgb-gold);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    flex-shrink: 0;
    white-space: nowrap;
}
.sgh-ticker-label i { font-size: 14px; }
.sgh-ticker-track-wrap {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 10px;
}
.sgh-ticker-track {
    display: flex;
    gap: 0;
    white-space: nowrap;
    animation: sgbTickerScroll 30s linear infinite;
}
.sgh-ticker-track:hover { animation-play-state: paused; }
.sgh-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 32px;
    font-size: 13px;
    color: var(--sgb-text);
    font-weight: 500;
}
.sgh-ticker-item a { color: var(--sgb-accent); text-decoration: none; font-weight: 600; }
.sgh-ticker-item a:hover { text-decoration: underline; }
.sgh-ticker-new {
    background: #d32f2f;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
    letter-spacing: .5px;
    text-transform: uppercase;
    font-style: normal;
}
@keyframes sgbTickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Navbar */
.sgh-navbar {
    background: var(--sgb-primary);
    position: static;
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.sgh-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.sgh-nav-brand {
    display: none;
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    text-decoration: none;
    letter-spacing: 1px;
}
.sgh-nav-brand:hover { color: #ffe680; }

.sgh-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}
.sgh-hamburger span {
    display: block;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: var(--sgb-transition);
}
.sgh-hamburger.open span:nth-child(1) { transform: translateY(8.75px) rotate(45deg); }
.sgh-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.sgh-hamburger.open span:nth-child(3) { transform: translateY(-8.75px) rotate(-45deg); }

.sgh-nav-menu { flex: 1; }
.sgh-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
}
.sgh-nav-item { position: relative; }
.sgh-nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 16px;
    height: 100%;
    min-height: 64px;
    color: rgba(255,255,255,.88);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--sgb-transition);
    border-bottom: 3px solid transparent;
}
.sgh-nav-link:hover,
.sgh-nav-item.active .sgh-nav-link {
    color: #ffe680;
    border-bottom-color: var(--sgb-gold);
}
.sgh-arrow {
    font-size: 10px;
    transition: transform .22s ease;
    margin-left: 2px;
}
.sgh-has-dropdown:hover .sgh-arrow { transform: rotate(180deg); }

/* ═══════════════════════════════════════════════════════════════
   DROPDOWN — Premium Dark Navy  (matches navbar palette)
   Items are slightly smaller than nav links (12.5 px vs 13.5 px)
═══════════════════════════════════════════════════════════════ */

/* ── Keyframe animations ─────────────────────────────────────── */
@keyframes sghDropOpen {
    from { opacity:0; transform:translateY(12px) scaleY(.94); }
    to   { opacity:1; transform:translateY(0)    scaleY(1);   }
}
@keyframes sghItemSlide {
    from { opacity:0; transform:translateX(-12px); }
    to   { opacity:1; transform:translateX(0);     }
}
@keyframes sghFlyOpen {
    from { opacity:0; transform:translateX(10px) scaleX(.95); }
    to   { opacity:1; transform:translateX(0)    scaleX(1);   }
}

/* ── Level-2 Dropdown panel ─────────────────────────────────── */
.sgh-dropdown {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    min-width: 220px;
    background: linear-gradient(160deg, #041728 0%, #05233b 52%, #0b3462 100%);
    border: 1px solid rgba(26,86,164,.28);
    border-top: 2px solid #1a56a4;
    border-radius: 0 0 13px 13px;
    box-shadow: 0 22px 55px rgba(2,10,22,.7),
                0 0 0 1px rgba(255,255,255,.04) inset,
                0 1px 0 rgba(255,255,255,.08) inset;
    list-style: none;
    margin: 0;
    padding: 7px 0 9px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scaleY(.94);
    transform-origin: top center;
    transition: opacity .22s ease, visibility .22s, transform .22s cubic-bezier(.22,1,.36,1);
    z-index: 2000;
    overflow: visible;
}

/* subtle shimmer line at very top */
.sgh-dropdown::after {
    content: '';
    position: absolute;
    top: 0; left: 12%; right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
    pointer-events: none;
}

.sgh-has-dropdown:hover .sgh-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scaleY(1);
    animation: sghDropOpen .24s cubic-bezier(.22,1,.36,1) both;
}

/* ── Stagger: items slide in one by one ──────────────────────── */
.sgh-has-dropdown:hover .sgh-dropdown > li { animation: sghItemSlide .22s ease both; }
.sgh-has-dropdown:hover .sgh-dropdown > li:nth-child(1)  { animation-delay:.03s; }
.sgh-has-dropdown:hover .sgh-dropdown > li:nth-child(2)  { animation-delay:.06s; }
.sgh-has-dropdown:hover .sgh-dropdown > li:nth-child(3)  { animation-delay:.09s; }
.sgh-has-dropdown:hover .sgh-dropdown > li:nth-child(4)  { animation-delay:.12s; }
.sgh-has-dropdown:hover .sgh-dropdown > li:nth-child(5)  { animation-delay:.15s; }
.sgh-has-dropdown:hover .sgh-dropdown > li:nth-child(6)  { animation-delay:.18s; }
.sgh-has-dropdown:hover .sgh-dropdown > li:nth-child(7)  { animation-delay:.21s; }
.sgh-has-dropdown:hover .sgh-dropdown > li:nth-child(8)  { animation-delay:.24s; }
.sgh-has-dropdown:hover .sgh-dropdown > li:nth-child(9)  { animation-delay:.27s; }
.sgh-has-dropdown:hover .sgh-dropdown > li:nth-child(10) { animation-delay:.30s; }
.sgh-has-dropdown:hover .sgh-dropdown > li:nth-child(11) { animation-delay:.33s; }
.sgh-has-dropdown:hover .sgh-dropdown > li:nth-child(12) { animation-delay:.36s; }

/* ── Level-2 Item ────────────────────────────────────────────── */
.sgh-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 9px;
    padding: 9px 18px 9px 15px;
    color: rgba(255,255,255,.78);
    font-size: 12.5px;          /* slightly smaller than nav 13.5px */
    font-weight: 500;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: color .18s, background .18s, border-color .18s, padding-left .18s;
    position: relative;
}
/* animated dot indicator */
.sgh-dropdown-item::before {
    content: '';
    display: inline-block;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,.22);
    flex-shrink: 0;
    transition: background .18s, transform .22s cubic-bezier(.34,1.56,.64,1);
}
.sgh-dropdown-item:hover {
    color: #ffe680;
    background: rgba(255,255,255,.07);
    border-left-color: #f26c00;
    padding-left: 18px;
    text-decoration: none;
}
.sgh-dropdown-item:hover::before {
    background: #f26c00;
    transform: scale(1.5);
}

/* ── Flyout arrow ────────────────────────────────────────────── */
.sgh-dd-arrow-right {
    font-size: 8px;
    margin-left: auto;
    flex-shrink: 0;
    opacity: .35;
    transition: opacity .18s, transform .18s, color .18s;
}
.sgh-dropdown-item.sgh-dd-flyout-trigger {
    justify-content: space-between;
}
.sgh-dropdown-item.sgh-dd-flyout-trigger:hover .sgh-dd-arrow-right,
.sgh-dd-has-sub:hover > a .sgh-dd-arrow-right {
    opacity: 1;
    color: #ffe680;
    transform: translateX(3px);
}

/* ── Level-3 flyout panel ────────────────────────────────────── */
.sgh-dd-has-sub { position: relative; }
.sgh-dd-has-sub > .sgh-submenu {
    position: absolute;
    left: calc(100% + 5px);
    top: -9px;
    min-width: 238px;
    background: linear-gradient(155deg, #04192c 0%, #062440 52%, #0d3b6a 100%);
    border: 1px solid rgba(26,86,164,.32);
    border-left: 2px solid #1a56a4;
    border-radius: 10px;
    box-shadow: 10px 18px 50px rgba(2,10,22,.62),
                0 0 0 1px rgba(255,255,255,.04) inset;
    list-style: none;
    margin: 0;
    padding: 7px 0 9px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px) scaleX(.95);
    transform-origin: left center;
    transition: opacity .2s ease, visibility .2s, transform .2s cubic-bezier(.22,1,.36,1);
    z-index: 2100;
    overflow: visible;
}
.sgh-dd-has-sub:hover > .sgh-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scaleX(1);
    animation: sghFlyOpen .2s cubic-bezier(.22,1,.36,1) both;
}
/* stagger Level-3 items */
.sgh-dd-has-sub:hover .sgh-submenu > li { animation: sghItemSlide .2s ease both; }
.sgh-dd-has-sub:hover .sgh-submenu > li:nth-child(1) { animation-delay:.03s; }
.sgh-dd-has-sub:hover .sgh-submenu > li:nth-child(2) { animation-delay:.07s; }
.sgh-dd-has-sub:hover .sgh-submenu > li:nth-child(3) { animation-delay:.11s; }
.sgh-dd-has-sub:hover .sgh-submenu > li:nth-child(4) { animation-delay:.15s; }
.sgh-dd-has-sub:hover .sgh-submenu > li:nth-child(5) { animation-delay:.19s; }
.sgh-dd-has-sub:hover .sgh-submenu > li:nth-child(6) { animation-delay:.23s; }
.sgh-dd-has-sub:hover .sgh-submenu > li:nth-child(7) { animation-delay:.27s; }
.sgh-dd-has-sub:hover .sgh-submenu > li:nth-child(8) { animation-delay:.31s; }

/* ── Level-3 Item ─────────────────────────────────────────────── */
.sgh-submenu-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 8px;
    padding: 8px 16px 8px 14px;
    color: rgba(255,255,255,.73);
    font-size: 12px;           /* one notch smaller still */
    font-weight: 500;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: color .18s, background .18s, border-color .18s, padding-left .18s;
    white-space: nowrap;
}
.sgh-submenu-item::before {
    content: '';
    display: inline-block;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    flex-shrink: 0;
    transition: background .18s, transform .22s cubic-bezier(.34,1.56,.64,1);
}
.sgh-submenu-item:hover {
    color: #ffe680;
    background: rgba(255,255,255,.07);
    border-left-color: #f26c00;
    padding-left: 17px;
    text-decoration: none;
}
.sgh-submenu-item:hover::before {
    background: #f26c00;
    transform: scale(1.4);
}
.sgh-submenu-item.sgh-dd-flyout-trigger {
    justify-content: space-between;
    text-align: left;
}
.sgh-submenu-item.sgh-dd-flyout-trigger:hover .sgh-dd-arrow-right {
    opacity: 1;
    color: #ffe680;
    transform: translateX(3px);
}

/* ── Level-4 flyout panel ─────────────────────────────────────── */
.sgh-sub-has-sub { position: relative; }
.sgh-sub-has-sub > .sgh-submenu-l4 {
    position: absolute;
    left: calc(100% + 5px);
    top: -9px;
    min-width: 255px;
    background: linear-gradient(155deg, #03141f 0%, #052033 52%, #0e3d6e 100%);
    border: 1px solid rgba(242,108,0,.2);
    border-left: 2px solid #f26c00;    /* gold accent at deepest level */
    border-radius: 10px;
    box-shadow: 10px 18px 50px rgba(2,10,22,.62),
                0 0 0 1px rgba(255,255,255,.03) inset;
    list-style: none;
    margin: 0;
    padding: 7px 0 9px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px) scaleX(.95);
    transform-origin: left center;
    transition: opacity .2s ease, visibility .2s, transform .2s cubic-bezier(.22,1,.36,1);
    z-index: 2200;
    overflow: visible;
}
.sgh-sub-has-sub:hover > .sgh-submenu-l4 {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scaleX(1);
    animation: sghFlyOpen .2s cubic-bezier(.22,1,.36,1) both;
}
/* stagger Level-4 items */
.sgh-sub-has-sub:hover .sgh-submenu-l4 > li { animation: sghItemSlide .2s ease both; }
.sgh-sub-has-sub:hover .sgh-submenu-l4 > li:nth-child(1) { animation-delay:.03s; }
.sgh-sub-has-sub:hover .sgh-submenu-l4 > li:nth-child(2) { animation-delay:.07s; }
.sgh-sub-has-sub:hover .sgh-submenu-l4 > li:nth-child(3) { animation-delay:.11s; }
.sgh-sub-has-sub:hover .sgh-submenu-l4 > li:nth-child(4) { animation-delay:.15s; }
.sgh-sub-has-sub:hover .sgh-submenu-l4 > li:nth-child(5) { animation-delay:.19s; }

/* ── Level-5 flyout panel ─────────────────────────────────────── */
.sgh-l4-has-sub { position: relative; }
.sgh-l4-has-sub > .sgh-submenu-l5 {
    position: absolute;
    left: calc(100% + 5px);
    top: -9px;
    min-width: 255px;
    background: linear-gradient(155deg, #03141f 0%, #052033 52%, #0e3d6e 100%);
    border: 1px solid rgba(242,108,0,.2);
    border-left: 2px solid #f26c00;
    border-radius: 10px;
    box-shadow: 10px 18px 50px rgba(2,10,22,.62),
                0 0 0 1px rgba(255,255,255,.03) inset;
    list-style: none;
    margin: 0;
    padding: 7px 0 9px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px) scaleX(.95);
    transform-origin: left center;
    transition: opacity .2s ease, visibility .2s, transform .2s cubic-bezier(.22,1,.36,1);
    z-index: 2300;
    overflow: visible;
}
.sgh-l4-has-sub:hover > .sgh-submenu-l5 {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scaleX(1);
    animation: sghFlyOpen .2s cubic-bezier(.22,1,.36,1) both;
}
.sgh-l4-has-sub:hover .sgh-submenu-l5 > li { animation: sghItemSlide .2s ease both; }
.sgh-l4-has-sub:hover .sgh-submenu-l5 > li:nth-child(1) { animation-delay:.03s; }
.sgh-l4-has-sub:hover .sgh-submenu-l5 > li:nth-child(2) { animation-delay:.07s; }
.sgh-l4-has-sub:hover .sgh-submenu-l5 > li:nth-child(3) { animation-delay:.11s; }
.sgh-l4-has-sub:hover .sgh-submenu-l5 > li:nth-child(4) { animation-delay:.15s; }
.sgh-l4-has-sub:hover .sgh-submenu-l5 > li:nth-child(5) { animation-delay:.19s; }

/* ── Dropdown icon (small inline icon in dropdown items) ── */
.sgh-dd-icon {
    font-size: 11px;
    color: var(--sgb-accent);
    width: 14px;
    flex-shrink: 0;
    margin-right: 2px;
}

/* ── Accreditation Tag in Navbar (NBA / AICTE / NAAC) ─── */
.sgh-nav-accred-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
    line-height: 1;
}
.sgh-tag-nba  { background: #fff3e0; color: #e65100; }
.sgh-tag-aicte{ background: #e3f0ff; color: #1a56a4; }
.sgh-tag-naac { background: #f3e5f5; color: #6a1b9a; }

/* hover: keep tag visible but glow */
.sgh-nav-item:hover .sgh-tag-nba   { background: #f26c00; color: #fff; }
.sgh-nav-item:hover .sgh-tag-aicte { background: #1a56a4; color: #fff; }
.sgh-nav-item:hover .sgh-tag-naac  { background: #6a1b9a; color: #fff; }
.sgh-nav-item.active .sgh-tag-nba  { background: #f26c00; color: #fff; }
.sgh-nav-item.active .sgh-tag-aicte{ background: #1a56a4; color: #fff; }
.sgh-nav-item.active .sgh-tag-naac { background: #6a1b9a; color: #fff; }

/* ── Accreditation Wide Dropdown ─────────────────────── */
.sgh-dropdown-accred {
    min-width: 270px;
}
.sgh-dropdown-naac {
    min-width: 300px;
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--sgb-border) transparent;
}
.sgh-dropdown-naac::-webkit-scrollbar { width: 4px; }
.sgh-dropdown-naac::-webkit-scrollbar-thumb { background: var(--sgb-border); border-radius: 2px; }

/* ── Dropdown Head (colored section header) ──────────── */
.sgh-dd-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    cursor: default;
    border-bottom: 1px solid rgba(0,0,0,.06);
    margin-bottom: 2px;
}
.sgh-dd-head i { font-size: 13px; }

.sgh-dd-head-nba  { color: #e65100; background: #fff8f3; }
.sgh-dd-head-aicte{ color: #1a56a4; background: #f0f6ff; }
.sgh-dd-head-naac { color: #6a1b9a; background: #faf5ff; }

/* ── Dropdown Divider ────────────────────────────────── */
.sgh-dd-divider {
    height: 1px;
    background: var(--sgb-border);
    margin: 4px 12px;
    list-style: none;
}

/* ── Dropdown Label (sub-section heading) ───────────── */
.sgh-dd-label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px 4px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--sgb-muted);
    text-transform: uppercase;
    letter-spacing: .8px;
    cursor: default;
    list-style: none;
}
.sgh-dd-label i { font-size: 11px; }

/* ── Criterion Number Badge ──────────────────────────── */
.sgh-dd-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    background: var(--sgb-light);
    color: var(--sgb-accent);
    font-size: 10px;
    font-weight: 800;
    border: 1px solid var(--sgb-border);
    flex-shrink: 0;
    margin-right: 6px;
    transition: var(--sgb-transition);
}
.sgh-dropdown-item-crit {
    display: flex;
    align-items: center;
    padding: 9px 16px;
    font-size: 13px;
}
.sgh-dropdown-item-crit:hover .sgh-dd-num {
    background: var(--sgb-accent);
    color: #fff;
    border-color: var(--sgb-accent);
}

/* ── Mobile / Responsive ─────────────────────────────── */
@media (max-width: 991px) {
    .sgh-nav-brand  { display: flex; }
    .sgh-hamburger  { display: flex; }
    .sgh-nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--sgb-primary);
        box-shadow: 0 8px 24px rgba(0,0,0,.3);
        z-index: 1999;
        max-height: 80vh;
        overflow-y: auto;
    }
    .sgh-nav-menu.open { display: block; }
    .sgh-nav-list {
        flex-direction: column;
        align-items: stretch;
    }
    .sgh-nav-item { border-bottom: 1px solid rgba(255,255,255,.08); }
    .sgh-nav-link {
        min-height: 48px;
        padding: 12px 20px;
        justify-content: space-between;
    }
    .sgh-has-dropdown .sgh-dropdown {
        position: static;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        animation: none !important;
        box-shadow: none;
        border: none;
        border-radius: 0;
        border-left: 3px solid rgba(26,86,164,.5);
        background: rgba(4,23,40,.5);
        padding: 0;
        display: none;
    }
    .sgh-has-dropdown.open .sgh-dropdown { display: block; }
    .sgh-dropdown > li { animation: none !important; }
    .sgh-dropdown-item {
        color: rgba(255,255,255,.78);
        padding: 10px 20px 10px 32px;
        border-left: none;
        font-size: 12.5px;
    }
    .sgh-dropdown-item::before { display: none; }
    .sgh-dropdown-item:hover {
        background: rgba(255,255,255,.08);
        color: #ffe680;
        border-left: none;
        padding-left: 32px;
    }
    .sgh-dd-head      { background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); padding: 8px 20px 8px 36px; }
    .sgh-dd-label     { color: rgba(255,255,255,.45); padding: 6px 20px 4px 36px; }
    .sgh-dd-divider   { background: rgba(255,255,255,.1); margin: 3px 20px; }
    .sgh-dd-num       { background: rgba(255,255,255,.15); color: #ffe680; border-color: rgba(255,255,255,.2); }
    .sgh-dropdown-item-crit { padding: 9px 20px 9px 36px; }
    .sgh-nav-accred-tag { font-size: 11px; padding: 2px 7px; }
    .sgh-tag-nba,
    .sgh-tag-aicte,
    .sgh-tag-naac  { color: #fff; background: rgba(255,255,255,.2); }
    .sgh-dropdown-naac { max-height: none; overflow-y: visible; }
    .sgh-dropdown-accred { min-width: auto; }
    .sgh-dd-icon { color: rgba(255,255,255,.55); }

    /* Mobile: nested submenus stack vertically */
    .sgh-dd-has-sub > .sgh-submenu,
    .sgh-sub-has-sub > .sgh-submenu-l4,
    .sgh-l4-has-sub > .sgh-submenu-l5 {
        position: static;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        animation: none !important;
        box-shadow: none;
        border: none;
        border-radius: 0;
        border-left: 3px solid rgba(242,108,0,.4);
        background: rgba(3,14,20,.5);
        padding: 0;
        display: none;
        z-index: auto;
    }
    .sgh-dd-has-sub > .sgh-submenu {
        position: static;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        animation: none !important;
        box-shadow: none;
        border: none;
        border-radius: 0;
        border-left: 3px solid rgba(26,86,164,.4);
        background: rgba(4,19,32,.5);
        padding: 0;
        display: none;
        z-index: auto;
    }
    .sgh-dd-has-sub.open > .sgh-submenu,
    .sgh-sub-has-sub.open > .sgh-submenu-l4 { display: block; }
    .sgh-l4-has-sub.open > .sgh-submenu-l5 { display: block; }
    .sgh-submenu > li,
    .sgh-submenu-l4 > li { animation: none !important; }
    .sgh-submenu-item {
        color: rgba(255,255,255,.7);
        padding: 9px 20px 9px 44px;
        border-left: none;
        font-size: 12px;
        white-space: normal;
    }
    .sgh-submenu-item::before { display: none; }
    .sgh-submenu-item:hover {
        background: rgba(255,255,255,.08);
        color: #ffe680;
        border-left: none;
        padding-left: 44px;
    }
    .sgh-dd-arrow-right { display: none; }
}

/* ════════════════════════════════════════════════════════════════ */
/*  HERO / BANNER SECTION  — Creative & Premium Design             */
/* ════════════════════════════════════════════════════════════════ */

/* ── Entrance Animations ────────────────────────────────────────── */
@keyframes sgbSlideUp    { from { opacity:0; transform:translateY(36px);  } to { opacity:1; transform:translateY(0);  } }
@keyframes sgbSlideLeft  { from { opacity:0; transform:translateX(-40px); } to { opacity:1; transform:translateX(0); } }
@keyframes sgbZoomIn     { from { opacity:0; transform:scale(.88);        } to { opacity:1; transform:scale(1);      } }
@keyframes sgbFadeIn     { from { opacity:0; }                              to { opacity:1; }                           }
@keyframes sgbBtnGlow    { 0%,100% { box-shadow:0 4px 18px rgba(242,108,0,.45); } 50% { box-shadow:0 6px 32px rgba(242,108,0,.85); } }
@keyframes sgbAccentLine { from { width:0; } to { width:60px; } }
@keyframes sgbPatternDrift { from { background-position:0 0; } to { background-position:60px 60px; } }
@keyframes sgbScanLine   { 0%{top:-10%} 100%{top:110%} }
@keyframes sgbPulseRing  {
    0%   { transform:scale(1);    opacity:.7; }
    70%  { transform:scale(1.12); opacity:0;  }
    100% { transform:scale(1);    opacity:0;  }
}

/* ── Section Shell ──────────────────────────────────────────────── */
.sgb-hero-section {
    position: relative;
    background: #000;
    overflow: hidden;
}
.sgb-hero-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    align-items: stretch;
    height: 420px;
}

/* ── Slider Wrap ────────────────────────────────────────────────── */
.sgb-slider-wrap { position: relative; overflow: hidden; height: 100%; }
.sgb-slider      { height: 100%; }
#sgbCarousel     { height: 100%; }
#sgbCarousel .carousel-inner,
#sgbCarousel .carousel-item { height: 100%; }

/* ── Slide Base ─────────────────────────────────────────────────── */
.sgb-slide {
    height: 100%;
    min-height: 440px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

/* Ken Burns background layer */
.sgb-slide-bg {
    position: absolute;
    inset: -6%;
    background-size: cover;
    background-position: center center;
    animation: sgbKenBurns 14s ease-in-out infinite alternate;
    z-index: 0;
    will-change: transform;
}
@keyframes sgbKenBurns {
    from { transform: scale(1)    translate(0,  0); }
    to   { transform: scale(1.07) translate(-1%, 1%); }
}

/* Fallback gradient slide */
.sgb-slide-fallback {
    background: linear-gradient(125deg, #03182a 0%, #05233b 40%, #0d3a6e 70%, #1a56a4 100%);
}

/* ── Overlays ───────────────────────────────────────────────────── */
/* Main gradient overlay */
.sgb-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(3,24,42,.92) 0%,
        rgba(5,35,59,.75) 40%,
        rgba(26,86,164,.30) 70%,
        transparent 100%
    );
    z-index: 1;
}

/* Dot-grid pattern overlay */
.sgb-slide-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.065) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: sgbPatternDrift 20s linear infinite;
    z-index: 1;
    pointer-events: none;
}

/* Diagonal light beam */
.sgb-slide-beam {
    position: absolute;
    top: -20%;
    right: 5%;
    width: 3px;
    height: 140%;
    background: linear-gradient(to bottom, transparent, rgba(242,108,0,.18), transparent);
    transform: rotate(15deg);
    z-index: 1;
    pointer-events: none;
}
.sgb-slide-beam::after {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,.06), transparent);
}

/* Corner accent */
.sgb-slide-corner {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at bottom right, rgba(242,108,0,.15), transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* ── Slide Body ─────────────────────────────────────────────────── */
.sgb-slide-body {
    position: relative;
    z-index: 2;
    padding: 0 52px 56px;
    max-width: 700px;
    width: 100%;
}

/* ── Text Position Variants ─────────────────────────────────────── */
/* bottom = default (align-items: flex-end on .sgb-slide) */
.sgb-pos-top    { align-items: flex-start !important; }
.sgb-pos-top .sgb-slide-body { padding-top: 56px; padding-bottom: 0; }
.sgb-pos-middle { align-items: center !important; }

/* ── Text Alignment Variants ────────────────────────────────────── */
/* left = default */
.sgb-align-center {
    justify-content: center;
}
.sgb-align-center .sgb-slide-body {
    text-align: center;
    margin: 0 auto;
}
.sgb-align-center .sgb-slide-kicker {
    margin-left: auto;
    margin-right: auto;
}
.sgb-align-center .sgb-slide-btns {
    justify-content: center;
}
.sgb-align-center .sgb-slide-title::after {
    left: 50%;
    transform: translateX(-50%);
}
.sgb-align-right {
    justify-content: flex-end;
}
.sgb-align-right .sgb-slide-body {
    text-align: right;
    margin-left: auto;
}
.sgb-align-right .sgb-slide-btns {
    justify-content: flex-end;
}
.sgb-align-right .sgb-slide-title::after {
    left: auto;
    right: 0;
}

/* ── Kicker Badge ───────────────────────────────────────────────── */
.sgb-slide-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(242,108,0,.15);
    border: 1px solid rgba(242,108,0,.5);
    backdrop-filter: blur(6px);
    color: #ffc878;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 16px;
    border-radius: 30px;
    margin-bottom: 16px;
}
.sgb-slide-kicker::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--sgb-gold);
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(242,108,0,.25);
    animation: sgbPulseRing 2s ease-out infinite;
}

/* ── Main Title ─────────────────────────────────────────────────── */
.sgb-slide-title {
    font-size: clamp(26px, 3.4vw, 52px);
    font-weight: 800;
    color: #fff;
    line-height: 1.12;
    margin: 0 0 0;
    text-shadow: 0 3px 16px rgba(0,0,0,.4);
    position: relative;
    padding-bottom: 18px;
}
/* Gold accent line under title */
.sgb-slide-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 60px;
    background: linear-gradient(90deg, #f26c00, #ffc878);
    border-radius: 3px;
    animation: sgbAccentLine .6s cubic-bezier(.22,.61,.36,1) .8s both;
}

/* ── Sub Title ──────────────────────────────────────────────────── */
.sgb-slide-sub {
    font-size: clamp(13px, 1.35vw, 17px);
    color: rgba(255,255,255,.82);
    margin: 16px 0 28px;
    line-height: 1.65;
}

/* ── CTA Buttons ────────────────────────────────────────────────── */
.sgb-slide-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.sgb-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    background: var(--sgb-gold);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--sgb-transition);
    animation: sgbBtnGlow 2.8s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}
.sgb-slide-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .5s ease;
}
.sgb-slide-btn:hover::before { transform: translateX(100%); }
.sgb-slide-btn:hover { background: #c95a00; color: #fff; transform: translateY(-3px); animation: none; box-shadow: 0 8px 28px rgba(242,108,0,.5); }

.sgb-btn-outline {
    background: rgba(255,255,255,.08);
    color: #fff;
    border: 2px solid rgba(255,255,255,.5);
    box-shadow: none;
    backdrop-filter: blur(4px);
    animation: none;
}
.sgb-btn-outline:hover {
    background: rgba(255,255,255,.18);
    border-color: #fff;
    color: #fff;
    transform: translateY(-3px);
    animation: none;
}

/* ── Active Slide Text Animations ───────────────────────────────── */
/* Default: slide-up */
.carousel-item.active .sgb-slide-kicker { animation: sgbFadeIn   .5s ease .10s both; }
.carousel-item.active .sgb-slide-title  { animation: sgbSlideUp  .7s cubic-bezier(.22,.61,.36,1) .25s both; }
.carousel-item.active .sgb-slide-sub    { animation: sgbSlideUp  .7s cubic-bezier(.22,.61,.36,1) .42s both; }
.carousel-item.active .sgb-slide-btns   { animation: sgbSlideUp  .7s cubic-bezier(.22,.61,.36,1) .58s both; }

/* Animation variant: slide-left */
.sgb-anim-slide-left.carousel-item.active .sgb-slide-title { animation: sgbSlideLeft .7s cubic-bezier(.22,.61,.36,1) .25s both; }
.sgb-anim-slide-left.carousel-item.active .sgb-slide-sub   { animation: sgbSlideLeft .7s cubic-bezier(.22,.61,.36,1) .42s both; }
.sgb-anim-slide-left.carousel-item.active .sgb-slide-btns  { animation: sgbSlideLeft .7s cubic-bezier(.22,.61,.36,1) .58s both; }

/* Animation variant: zoom */
.sgb-anim-zoom.carousel-item.active .sgb-slide-title { animation: sgbZoomIn .7s cubic-bezier(.22,.61,.36,1) .25s both; }
.sgb-anim-zoom.carousel-item.active .sgb-slide-sub   { animation: sgbZoomIn .7s cubic-bezier(.22,.61,.36,1) .42s both; }
.sgb-anim-zoom.carousel-item.active .sgb-slide-btns  { animation: sgbZoomIn .7s cubic-bezier(.22,.61,.36,1) .58s both; }

/* Animation variant: fade */
.sgb-anim-fade.carousel-item.active .sgb-slide-title { animation: sgbFadeIn .9s ease .25s both; }
.sgb-anim-fade.carousel-item.active .sgb-slide-sub   { animation: sgbFadeIn .9s ease .45s both; }
.sgb-anim-fade.carousel-item.active .sgb-slide-btns  { animation: sgbFadeIn .9s ease .60s both; }

/* ── Carousel Controls ──────────────────────────────────────────── */
.sgb-carousel-ctrl {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 2px solid rgba(255,255,255,.35);
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--sgb-transition);
    z-index: 6;
    backdrop-filter: blur(8px);
}
.sgb-carousel-ctrl:hover { background: var(--sgb-gold); border-color: var(--sgb-gold); transform: translateY(-50%) scale(1.08); }
.sgb-carousel-prev { left: 18px; }
.sgb-carousel-next { right: 18px; }

/* ── Carousel Dots (pill style) ─────────────────────────────────── */
.sgb-carousel-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 6;
    background: rgba(0,0,0,.25);
    backdrop-filter: blur(6px);
    padding: 6px 12px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,.1);
}
.sgb-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    border: none;
    cursor: pointer;
    transition: all .35s cubic-bezier(.22,.61,.36,1);
    padding: 0;
}
.sgb-dot.active { background: var(--sgb-gold); width: 26px; border-radius: 4px; }

/* Announcements Panel */
/* ────────────────────────────────────────────────────────────────── */
/*  ANNOUNCEMENTS PANEL                                               */
/* ────────────────────────────────────────────────────────────────── */
.sgb-ann-panel {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: -6px 0 28px rgba(5,35,59,.18);
}
.sgb-ann-card {
    height: 100%;
    background: linear-gradient(180deg, #f8faff 0%, #eef2fb 100%);
    display: flex;
    flex-direction: column;
    position: relative;
}

/* ── Panel Header ───────────────────────────────────────────────── */
.sgb-ann-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px 15px;
    background: linear-gradient(135deg, #05233b 0%, #0d3a6e 55%, #1a56a4 100%);
    color: #fff;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
/* Subtle dot pattern inside header */
.sgb-ann-head::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 18px 18px;
    pointer-events: none;
}
/* Gold accent underline on header */
.sgb-ann-head::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--sgb-gold), #ffc878, rgba(255,200,120,0));
}
.sgb-ann-head-left {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}
/* Bell icon with ring animation */
.sgb-ann-icon {
    font-size: 18px;
    color: var(--sgb-gold);
    animation: sgbBellRing 5s ease-in-out infinite;
    transform-origin: top center;
}
@keyframes sgbBellRing {
    0%, 70%, 100% { transform: rotate(0); }
    75%  { transform: rotate(-14deg); }
    80%  { transform: rotate(14deg); }
    85%  { transform: rotate(-9deg); }
    90%  { transform: rotate(9deg); }
    95%  { transform: rotate(-4deg); }
}
.sgb-ann-head-title { display: flex; flex-direction: column; gap: 2px; }
.sgb-ann-head h3 { margin: 0; font-size: 14px; font-weight: 800; color: #fff; letter-spacing: .3px; }
/* LIVE indicator */
.sgb-ann-live {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 9px;
    font-weight: 700;
    color: rgba(255,255,255,.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.sgb-ann-live-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(74,222,128,.5);
    animation: sgbLivePulse 2.2s ease-out infinite;
}
@keyframes sgbLivePulse {
    0%   { box-shadow: 0 0 0 0   rgba(74,222,128,.6); }
    70%  { box-shadow: 0 0 0 7px rgba(74,222,128,0);  }
    100% { box-shadow: 0 0 0 0   rgba(74,222,128,0);  }
}
.sgb-ann-more {
    font-size: 11px;
    color: rgba(255,200,120,.9);
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
    z-index: 1;
    transition: color .2s;
}
.sgb-ann-more:hover { color: #ffe680; }

/* ── Scrollable Ticker Area ─────────────────────────────────────── */
.sgb-ann-scroll {
    flex: 1;
    overflow: hidden;
    position: relative;
}
/* Top fade-out */
.sgb-ann-scroll::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 28px;
    background: linear-gradient(to bottom, #f8faff, transparent);
    z-index: 3;
    pointer-events: none;
}
/* Bottom fade-out */
.sgb-ann-scroll::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 36px;
    background: linear-gradient(to top, #eef2fb, transparent);
    z-index: 3;
    pointer-events: none;
}
/* Ticker — starts paused; JS sets duration + resumes after clone is appended */
.sgb-ann-ticker-inner {
    animation: sgbAnnTicker 20s linear infinite;
    animation-play-state: paused;   /* JS resumes once clone is ready */
    will-change: transform;
}
@keyframes sgbAnnTicker {
    from { transform: translateY(0); }
    to   { transform: translateY(-50%); }
}

/* ── Announcement List & Items ──────────────────────────────────── */
.sgb-ann-list { list-style: none; margin: 0; padding: 6px 0; }
.sgb-ann-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 11px 16px 11px 14px;
    border-bottom: 1px solid rgba(26,86,164,.09);
    transition: background .2s, padding-left .22s;
    position: relative;
    cursor: default;
}
/* Left accent bar on hover */
.sgb-ann-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 0;
    background: linear-gradient(180deg, var(--sgb-gold), rgba(242,108,0,.35));
    border-radius: 0 3px 3px 0;
    transition: width .22s ease;
}
.sgb-ann-item:hover { background: rgba(26,86,164,.05); padding-left: 20px; }
.sgb-ann-item:hover::before { width: 4px; }
.sgb-ann-item:last-child { border-bottom: none; }

/* Date badge */
.sgb-ann-date {
    flex-shrink: 0;
    width: 44px;
    background: linear-gradient(145deg, #1a56a4, #05233b);
    color: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 4px;
    box-shadow: 0 3px 10px rgba(5,35,59,.22);
    transition: background .22s, transform .22s;
}
.sgb-ann-item:hover .sgb-ann-date {
    background: linear-gradient(145deg, #f26c00, #c95a00);
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(242,108,0,.3);
}
.sgb-ann-day { font-size: 17px; font-weight: 800; line-height: 1; }
.sgb-ann-mon { font-size: 9px;  font-weight: 700; text-transform: uppercase; letter-spacing: .4px; opacity: .9; }

/* Body text */
.sgb-ann-body { flex: 1; min-width: 0; }
/* NEW badge */
.sgb-new-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #e53935, #b71c1c);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: .7px;
    text-transform: uppercase;
    margin-bottom: 4px;
    animation: sgbNewPulse 2.4s ease-in-out infinite;
}
@keyframes sgbNewPulse {
    0%, 100% { box-shadow: 0 0 0 0   rgba(229,57,53,.45); }
    50%       { box-shadow: 0 0 0 5px rgba(229,57,53,0);  }
}
/* Title text */
.sgb-ann-title {
    display: block;
    font-size: 12.5px;
    font-weight: 500;
    color: #2d3748;
    text-decoration: none;
    line-height: 1.5;
    transition: color .18s;
}
.sgb-ann-title:hover { color: var(--sgb-accent); }
a.sgb-ann-title { font-weight: 600; color: #1e3a6e; }
a.sgb-ann-title:hover { color: var(--sgb-gold); }
.sgb-ann-empty { color: var(--sgb-muted); font-size: 13px; justify-content: center; }

/* ── CTA Footer Button ──────────────────────────────────────────── */
.sgb-ann-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f26c00 0%, #c95a00 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    transition: filter .25s;
}
/* Shine sweep animation */
.sgb-ann-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 25%, rgba(255,255,255,.22) 50%, transparent 75%);
    transform: translateX(-100%);
    animation: sgbCtaShine 3.5s ease-in-out infinite;
}
@keyframes sgbCtaShine {
    0%       { transform: translateX(-100%); }
    35%, 100% { transform: translateX(160%); }
}
.sgb-ann-cta:hover { filter: brightness(1.12); color: #fff; }

/* ────────────────────────────────────────────────────────────────── */
/*  STATS SECTION                                                     */
/* ────────────────────────────────────────────────────────────────── */
/* ── Stats Counter – infinite scroll strip ───────────────────── */
@keyframes sgbStatsScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.sgb-stats-section {
    background: linear-gradient(135deg, #020c18 0%, #05233b 55%, #0d3d6b 100%);
    padding: 0;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

/* fade edges */
.sgb-stats-track-outer {
    position: relative;
    overflow: hidden;
}
.sgb-stats-track-outer::before,
.sgb-stats-track-outer::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}
.sgb-stats-track-outer::before {
    left: 0;
    background: linear-gradient(to right, #020c18, transparent);
}
.sgb-stats-track-outer::after {
    right: 0;
    background: linear-gradient(to left, #0d3d6b, transparent);
}

.sgb-stats-track {
    display: flex;
    width: max-content;
    animation: sgbStatsScroll 28s linear infinite;
}
.sgb-stats-track:hover { animation-play-state: paused; }

.sgb-stat-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 24px;
    height: 64px;
    border-right: 1px solid rgba(255,255,255,.07);
    flex-shrink: 0;
    transition: background .2s;
    cursor: default;
    position: relative;
}
.sgb-stat-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 22px; right: 22px;
    height: 2px;
    background: linear-gradient(90deg, var(--sc-light, #2563eb), transparent);
    opacity: 0;
    transition: opacity .2s;
}
.sgb-stat-item:hover { background: rgba(255,255,255,.04); }
.sgb-stat-item:hover::after { opacity: 1; }

.sgb-stat-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--sc-light, #2563eb), var(--sc-dark, #1e3a8a));
    box-shadow: 0 3px 10px var(--sc-glow, rgba(37,99,235,.4));
}
.sgb-stat-icon-wrap i { font-size: 16px; color: #fff; }

.sgb-stat-body  { min-width: 0; }
.sgb-stat-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--sc-light, #fff);
    line-height: 1;
    margin-bottom: 2px;
    letter-spacing: -.3px;
    white-space: nowrap;
    text-shadow: 0 0 18px var(--sc-glow, rgba(255,255,255,.2));
}
.sgb-stat-label {
    font-size: 10.5px;
    color: rgba(255,255,255,.68);
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: .02em;
}

/* ────────────────────────────────────────────────────────────────── */
/*  MENU THUMBNAILS                                                   */
/* ────────────────────────────────────────────────────────────────── */
.iisc-menu-thumbnails { padding: var(--sgb-section-gap) 0 0; }
.iisc-menu-thumb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}
.iisc-menu-thumb-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 20px 10px;
    background: var(--sgb-lighter);
    border: 1px solid var(--sgb-border);
    border-radius: var(--sgb-radius);
    text-decoration: none;
    color: var(--sgb-text);
    transition: var(--sgb-transition);
    border-top: 3px solid var(--thumb-bg, var(--sgb-accent));
}
.iisc-menu-thumb-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sgb-shadow-md);
    color: var(--sgb-accent);
}
.iisc-menu-thumb-image {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--thumb-bg, var(--sgb-accent));
}
.iisc-menu-thumb-image img  { width: 100%; height: 100%; object-fit: cover; }
.iisc-menu-thumb-title      { font-size: 13px; font-weight: 600; }
.iisc-menu-thumb-fallback   { font-size: 11px; color: #fff; }

/* ────────────────────────────────────────────────────────────────── */
/*  SECTION SHARED STYLES                                             */
/* ────────────────────────────────────────────────────────────────── */
.sgb-section-head { margin-bottom: 48px; }
.sgb-section-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sgb-accent);
    margin-bottom: 10px;
}
.sgb-kicker-light { color: rgba(255,255,255,.7); }
.sgb-section-title {
    font-size: clamp(24px, 2.8vw, 36px);
    font-weight: 800;
    color: var(--sgb-primary);
    margin: 0 0 14px;
    line-height: 1.2;
}
.sgb-section-sub {
    font-size: 15px;
    color: var(--sgb-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ────────────────────────────────────────────────────────────────── */
/*  DEPARTMENTS SECTION                                               */
/* ────────────────────────────────────────────────────────────────── */
/* ────────────────────────────────────────────────────────────────── */
/*  DEPARTMENTS SECTION — IARE-inspired gradient card design          */
/* ────────────────────────────────────────────────────────────────── */
.sgb-departments-section {
    padding: var(--sgb-section-gap) 0;
    background: linear-gradient(180deg, #f8fbff 0%, #edf3fa 100%);
    position: relative;
    overflow: hidden;
}
.sgb-departments-section::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #1a56a4 0%, #f26c00 50%, #7c3aed 100%);
}
.sgb-dept-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.sgb-dept-card.sgb-dept-hidden {
    display: none;
}
.sgb-dept-card.sgb-dept-hidden.sgb-dept-visible {
    display: block;
    animation: sgbDeptReveal .38s ease both;
}
@keyframes sgbDeptReveal {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* Card */
.sgb-dept-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(5,35,59,.10);
    transition: transform .32s cubic-bezier(.25,.46,.45,.94), box-shadow .32s ease;
    display: flex;
    flex-direction: column;
}
.sgb-dept-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 60px rgba(5,35,59,.18);
}
/* Colored header (gradient top) */
.sgb-dept-card-header {
    background: linear-gradient(135deg, var(--dc1, #1a56a4) 0%, var(--dc2, #0d3d7e) 100%);
    padding: 30px 20px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}
.sgb-dept-card-header::after {
    content: '';
    position: absolute; bottom: -20px; right: -20px;
    width: 80px; height: 80px; border-radius: 50%;
    background: rgba(255,255,255,.08);
    pointer-events: none;
}
/* Icon circle */
.sgb-dept-icon-circle {
    width: 62px; height: 62px; border-radius: 50%;
    background: rgba(255,255,255,.18);
    border: 2px solid rgba(255,255,255,.3);
    display: flex; align-items: center; justify-content: center;
    transition: transform .3s ease, background .3s ease;
}
.sgb-dept-icon-circle i { font-size: 24px; color: #fff; }
.sgb-dept-card:hover .sgb-dept-icon-circle {
    transform: scale(1.12) rotate(-5deg);
    background: rgba(255,255,255,.28);
}
/* Abbreviation */
.sgb-dept-abbr {
    font-size: 20px; font-weight: 900; color: #fff;
    letter-spacing: -.3px; text-shadow: 0 2px 8px rgba(0,0,0,.18);
}
/* NBA pill */
.sgb-nba-pill {
    font-size: 10px; font-weight: 800; color: #fff;
    background: rgba(255,255,255,.22);
    border: 1px solid rgba(255,255,255,.4);
    padding: 2px 9px; border-radius: 20px;
    letter-spacing: .6px; text-transform: uppercase;
}
/* White body */
.sgb-dept-card-body {
    background: #fff;
    padding: 18px 18px 20px;
    flex: 1; display: flex; flex-direction: column; gap: 10px;
}
.sgb-dept-full-name {
    font-size: 13.5px; font-weight: 700;
    color: #1e293b; margin: 0; line-height: 1.4;
}
.sgb-dept-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sgb-dept-intake-tag {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 11.5px; font-weight: 600; color: #64748b;
    background: #f1f5f9; border-radius: 20px; padding: 3px 10px;
}
.sgb-dept-intake-tag i { font-size: 10px; }
/* Explore button */
.sgb-dept-explore-btn {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: auto;
    font-size: 13px; font-weight: 700;
    color: var(--dc1, #1a56a4);
    text-decoration: none;
    transition: gap .2s ease;
}
.sgb-dept-explore-btn i { font-size: 11px; transition: transform .2s ease; }
.sgb-dept-card:hover .sgb-dept-explore-btn { gap: 10px; }
.sgb-dept-card:hover .sgb-dept-explore-btn i { transform: translateX(3px); }

/* ════════════════════════════════════════════════════════════════════
   PLACEMENTS SECTION v2 — Premium Dark Redesign
   ═══════════════════════════════════════════════════════════════════ */

/* ── Section wrapper ────────────────────────────────────────────── */
.sgb-pl2-section { position: relative; overflow: hidden; }

.sgb-pl2-wave-top {
    height: 40px;
    background: linear-gradient(to bottom right, #f8fbff 50%, #020e1e 50%);
}

.sgb-pl2-bg {
    background: linear-gradient(160deg, #020e1e 0%, #05233b 35%, #0a2d55 70%, #0e3666 100%);
    padding: 52px 0 60px;
    position: relative; overflow: hidden;
}

/* Dot mesh overlay */
.sgb-pl2-mesh {
    position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 26px 26px;
}

/* Decorative glowing orbs */
.sgb-pl2-orb {
    position: absolute; border-radius: 50%; pointer-events: none;
    filter: blur(80px);
}
.sgb-pl2-orb1 {
    width: 420px; height: 420px;
    top: -120px; right: -100px;
    background: radial-gradient(circle, rgba(26,86,164,.22) 0%, transparent 70%);
}
.sgb-pl2-orb2 {
    width: 300px; height: 300px;
    bottom: -80px; left: 5%;
    background: radial-gradient(circle, rgba(242,108,0,.16) 0%, transparent 70%);
}

/* ── Section Header ──────────────────────────────────────────────── */
.sgb-pl2-kicker-row {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 10px; flex-wrap: wrap;
}
.sgb-pl2-kicker {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(242,108,0,.18); border: 1px solid rgba(242,108,0,.4);
    color: #fb923c; border-radius: 20px;
    padding: 4px 14px; font-size: .68rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .1em;
}
.sgb-pl2-year-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.8); border-radius: 20px;
    padding: 4px 14px; font-size: .68rem; font-weight: 700; letter-spacing: .05em;
}
.sgb-pl2-title {
    font-size: 2rem; font-weight: 900; color: #fff;
    line-height: 1.15; margin: 0 0 10px;
    letter-spacing: -.4px;
}
.sgb-pl2-sub {
    font-size: .88rem; color: rgba(255,255,255,.58);
    margin: 0; max-width: 540px; line-height: 1.65;
}
.sgb-pl2-view-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,.1);
    border: 1.5px solid rgba(255,255,255,.25);
    color: #fff; border-radius: 12px;
    padding: 11px 22px; font-size: .82rem; font-weight: 700;
    text-decoration: none;
    transition: background .2s, border-color .2s;
}
.sgb-pl2-view-btn:hover {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.4); color: #fff;
}
.sgb-pl2-view-btn i { font-size: .75rem; transition: transform .2s; }
.sgb-pl2-view-btn:hover i { transform: translateX(4px); }

/* ── KPI Grid ────────────────────────────────────────────────────── */
.sgb-pl2-kpi-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px; margin-bottom: 44px;
}
.sgb-pl2-kpi-card {
    position: relative; overflow: hidden;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    padding: 24px 16px 20px;
    text-align: center;
}
.sgb-pl2-kpi-glow {
    position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
    width: 100px; height: 100px; border-radius: 50%;
    background: radial-gradient(circle, var(--kg, rgba(26,86,164,.5)) 0%, transparent 70%);
    pointer-events: none;
}
.sgb-pl2-kpi-card::before {
    content: ''; position: absolute;
    top: 0; left: 16px; right: 16px; height: 2px;
    background: var(--kc, #1a56a4);
    border-radius: 0 0 4px 4px;
}
.sgb-pl2-kpi-icon {
    width: 48px; height: 48px; border-radius: 14px;
    background: var(--kc, #1a56a4);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 13px; font-size: 19px; color: #fff;
    box-shadow: 0 6px 20px var(--kg, rgba(26,86,164,.4));
}
.sgb-pl2-kpi-val {
    font-size: 1.8rem; font-weight: 900; color: #fff;
    line-height: 1; margin-bottom: 6px; letter-spacing: -.5px;
}
.sgb-pl2-kpi-lbl {
    font-size: .68rem; font-weight: 700; color: rgba(255,255,255,.55);
    text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px;
}
.sgb-pl2-kpi-sub { font-size: .67rem; color: rgba(255,255,255,.35); }
.sgb-pl2-kpi-bar {
    position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--kc, #1a56a4), transparent);
    opacity: .5;
}

/* ── Showcase Heading ────────────────────────────────────────────── */
.sgb-pl2-showcase-hdr {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 18px;
}
.sgb-pl2-showcase-label {
    display: flex; align-items: center; gap: 10px;
    font-size: .78rem; font-weight: 800; color: rgba(255,255,255,.7);
    text-transform: uppercase; letter-spacing: .1em;
}
.sgb-pl2-star-icon {
    width: 28px; height: 28px; border-radius: 8px;
    background: linear-gradient(135deg, #f26c00, #d97706);
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem; color: #fff;
    box-shadow: 0 4px 12px rgba(242,108,0,.45);
}
.sgb-pl2-feat-count {
    background: rgba(242,108,0,.2); border: 1px solid rgba(242,108,0,.35);
    color: #fb923c; border-radius: 20px; padding: 2px 10px;
    font-size: .65rem; font-weight: 700; letter-spacing: 0;
}
.sgb-pl2-see-all {
    font-size: .73rem; font-weight: 700;
    color: rgba(255,255,255,.4); text-decoration: none;
    transition: color .18s;
}
.sgb-pl2-see-all:hover { color: #fb923c; }

/* ── Student card marquee ────────────────────────────────────────── */
.sgb-pl2-track-outer {
    overflow: hidden; position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.sgb-pl2-track {
    display: flex; gap: 16px; width: max-content;
    animation: pl2Scroll 55s linear infinite;
}
.sgb-pl2-track:hover { animation-play-state: paused; }
@keyframes pl2Scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── Student Card ────────────────────────────────────────────────── */
.sgb-pl2-card {
    flex-shrink: 0; width: 190px;
    border-radius: 22px; overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 36px rgba(0,0,0,.32);
    position: relative; cursor: default;
}

/* Gradient top banner */
.sgb-pl2-card-top {
    height: 88px; position: relative;
    background: linear-gradient(135deg, var(--cc1, #1a56a4) 0%, var(--cc2, #0d3d6b) 100%);
    overflow: hidden;
}
.sgb-pl2-card-top::before {
    content: ''; position: absolute;
    width: 90px; height: 90px; border-radius: 50%;
    top: -30px; right: -25px;
    background: rgba(255,255,255,.12); pointer-events: none;
}
.sgb-pl2-card-top::after {
    content: ''; position: absolute;
    width: 60px; height: 60px; border-radius: 50%;
    bottom: -25px; left: -15px;
    background: rgba(255,255,255,.08); pointer-events: none;
}

/* Status ribbon — top-left */
.sgb-pl2-ribbon {
    position: absolute; top: 10px; left: 10px; z-index: 4;
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(255,255,255,.22); backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,.38); color: #fff;
    border-radius: 20px; font-size: .6rem; font-weight: 800;
    padding: 3px 8px; letter-spacing: .05em; text-transform: uppercase;
}

/* Photo overlapping banner */
.sgb-pl2-photo {
    width: 76px; height: 76px; border-radius: 50%;
    margin: -38px auto 0;
    overflow: hidden; position: relative; z-index: 3;
    background: linear-gradient(135deg, var(--cc1, #1a56a4), var(--cc2, #0d3d6b));
    display: flex; align-items: center; justify-content: center;
    border: 3.5px solid #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.28);
}
.sgb-pl2-photo img { width: 100%; height: 100%; object-fit: cover; }
.sgb-pl2-initials { font-size: 1.55rem; font-weight: 900; color: #fff; line-height: 1; }

/* Card body */
.sgb-pl2-card-body {
    padding: 10px 14px 16px; text-align: center;
}
.sgb-pl2-card-name {
    font-size: .8rem; font-weight: 800; color: #0f172a;
    line-height: 1.3; margin-bottom: 4px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sgb-pl2-dept {
    display: inline-block; padding: 2px 10px;
    border-radius: 20px; font-size: .6rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .05em; margin-bottom: 9px;
    background: var(--cc1, #1a56a4); color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.sgb-pl2-company-box {
    display: flex; align-items: center; gap: 6px;
    background: #f1f5fb; border-radius: 10px;
    padding: 6px 10px; margin-bottom: 8px;
    border: 1px solid #dde6f0;
}
.sgb-pl2-company-ico {
    width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--cc1, #1a56a4), var(--cc2, #0d3d6b));
    display: flex; align-items: center; justify-content: center;
    font-size: .55rem; color: #fff;
}
.sgb-pl2-company-name {
    font-size: .7rem; font-weight: 700; color: #1e293b;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    min-width: 0; text-align: left;
}
.sgb-pl2-pkg {
    display: inline-flex; align-items: center; gap: 5px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
    color: #92400e; border-radius: 20px;
    padding: 3px 12px; font-size: .68rem; font-weight: 800;
    margin-bottom: 6px; letter-spacing: .01em;
}
.sgb-pl2-desig {
    font-size: .62rem; color: #94a3b8; font-weight: 600;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ── Empty state ─────────────────────────────────────────────────── */
.sgb-pl2-empty {
    text-align: center; padding: 40px 20px;
    color: rgba(255,255,255,.35);
}
.sgb-pl2-empty i { font-size: 2rem; display: block; margin-bottom: 10px; }
.sgb-pl2-empty p { font-size: .8rem; }

/* ── Recruiter strip ─────────────────────────────────────────────── */
.sgb-pl2-recruiters { margin-top: 44px; }
.sgb-pl2-rec-label {
    font-size: .68rem; font-weight: 800; letter-spacing: .15em;
    text-transform: uppercase; color: rgba(255,255,255,.35);
    text-align: center; margin-bottom: 18px;
}
.sgb-pl2-rec-outer {
    overflow: hidden; position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.sgb-pl2-rec-track {
    display: flex; gap: 14px; width: max-content;
    animation: pl2Scroll 30s linear infinite;
}
.sgb-pl2-rec-track:hover { animation-play-state: paused; }
.sgb-pl2-rec-chip {
    flex-shrink: 0; height: 56px; min-width: 140px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    padding: 10px 18px;
}
.sgb-pl2-rec-chip img {
    max-width: 100%; max-height: 34px; object-fit: contain;
    filter: brightness(0) invert(1); opacity: .6;
}
.sgb-pl2-rec-name {
    font-size: .75rem; font-weight: 700;
    color: rgba(255,255,255,.65); white-space: nowrap;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1199px) {
    .sgb-pl2-kpi-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
    .sgb-pl2-title { font-size: 1.55rem; }
    .sgb-pl2-kpi-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .sgb-pl2-kpi-val  { font-size: 1.45rem; }
}
@media (max-width: 480px) {
    .sgb-pl2-kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .sgb-pl2-card { width: 170px; }
}

/* ── Legacy aliases (keep old class names working elsewhere) ─────── */
.sgb-placements-section { overflow: hidden; }
.sgb-placements-bg { background: linear-gradient(135deg, #05233b 0%, #0a2d55 40%, #1a3f6f 100%); }
.sgb-recruiter-track { display: flex; gap: 18px; animation: pl2Scroll 28s linear infinite; }
.sgb-recruiter-track:hover { animation-play-state: paused; }
.sgb-recruiter-logo {
    flex-shrink: 0; min-width: 150px; height: 64px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    padding: 10px 16px;
}
.sgb-recruiter-logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: brightness(0) invert(1); opacity: .7; }
.sgb-recruiter-name-only { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.75); white-space: nowrap; }

/* CTA Buttons */
.sgb-btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 13px 32px;
    background: var(--sgb-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--sgb-transition);
    box-shadow: 0 4px 16px rgba(26,86,164,.3);
}
.sgb-btn-primary:hover { background: var(--sgb-accent-dark); color: #fff; transform: translateY(-2px); }
.sgb-btn-white {
    display: inline-flex;
    align-items: center;
    padding: 13px 32px;
    background: #fff;
    color: var(--sgb-primary);
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--sgb-transition);
}
.sgb-btn-white:hover { background: #f0f4ff; color: var(--sgb-accent); transform: translateY(-2px); }
.sgb-btn-outline-primary {
    display: inline-flex;
    align-items: center;
    padding: 11px 26px;
    background: transparent;
    color: var(--sgb-accent);
    border: 2px solid var(--sgb-accent);
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--sgb-transition);
}
.sgb-btn-outline-primary:hover { background: var(--sgb-accent); color: #fff; }

/* ────────────────────────────────────────────────────────────────── */
/*  BLOGS / NEWS / EVENTS SECTION                                     */
/* ────────────────────────────────────────────────────────────────── */
.sgb-blogs-section {
    padding: var(--sgb-section-gap) 0;
    background: #fff;
}

/* Tabs */
.sgb-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 36px;
    border-bottom: 2px solid var(--sgb-border);
    padding-bottom: 0;
}
.sgb-tab {
    padding: 10px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--sgb-muted);
    transition: var(--sgb-transition);
    border-radius: 4px 4px 0 0;
}
.sgb-tab:hover { color: var(--sgb-accent); }
.sgb-tab.active { color: var(--sgb-accent); border-bottom-color: var(--sgb-accent); background: var(--sgb-lighter); }

.sgb-tab-pane          { display: none; }
.sgb-tab-pane.active   { display: block; }

/* Blog Grid */
.sgb-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.sgb-blog-card {
    background: #fff;
    border-radius: var(--sgb-radius-lg);
    box-shadow: var(--sgb-shadow);
    overflow: hidden;
    border: 1px solid var(--sgb-border);
    transition: var(--sgb-transition);
    display: flex;
    flex-direction: column;
}
.sgb-blog-card:hover { transform: translateY(-6px); box-shadow: var(--sgb-shadow-lg); }

.sgb-blog-thumb {
    position: relative;
    display: block;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}
.sgb-blog-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.sgb-blog-card:hover .sgb-blog-thumb img { transform: scale(1.06); }
.sgb-blog-thumb-fallback {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #e8f0fc, #c8dcf7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--sgb-accent);
    opacity: .5;
}
.sgb-evt-thumb { background: linear-gradient(135deg, #fef3e2, #fcd9a0); color: var(--sgb-gold); }
.sgb-blog-category {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--sgb-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.sgb-cat-event    { background: var(--sgb-gold); }
.sgb-cat-dept     { background: #059669; }
.sgb-cat-dept-evt { background: #7c3aed; }

/* Department tag pill (inline in meta row) */
.sgb-dept-tag {
    display: inline-block; padding: 1px 8px;
    background: #dbeafe; color: #1d4ed8;
    border-radius: 10px; font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .4px;
}

/* Tab count badge */
.sgb-tab-count {
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(26,86,164,.15); color: var(--sgb-accent);
    border-radius: 10px; font-size: 10px; font-weight: 700;
    padding: 1px 7px; margin-left: 4px; line-height: 1.6;
}
.sgb-tab.active .sgb-tab-count {
    background: rgba(255,255,255,.25); color: #fff;
}

.sgb-blog-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.sgb-blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--sgb-muted);
    margin-bottom: 10px;
}
.sgb-event-date-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: var(--sgb-gold-light);
    color: var(--sgb-gold);
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
}
.sgb-blog-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--sgb-text);
    margin: 0 0 10px;
    line-height: 1.4;
    flex: 1;
}
.sgb-blog-title a { color: inherit; text-decoration: none; }
.sgb-blog-title a:hover { color: var(--sgb-accent); }
.sgb-blog-excerpt { font-size: 13.5px; color: var(--sgb-muted); line-height: 1.6; margin: 0 0 14px; }
.sgb-blog-readmore {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--sgb-accent);
    text-decoration: none;
    margin-top: auto;
    border-bottom: 1px solid transparent;
    transition: var(--sgb-transition);
}
.sgb-blog-readmore:hover { border-bottom-color: var(--sgb-accent); }

/* ────────────────────────────────────────────────────────────────── */
/*  ACHIEVEMENTS SECTION                                              */
/* ────────────────────────────────────────────────────────────────── */
.iisc-achievements {
    padding: var(--sgb-section-gap) 0;
    background: var(--sgb-lighter);
}
.iisc-section-head { margin-bottom: 40px; }
.iisc-section-head h2 {
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 800;
    color: var(--sgb-primary);
}
.iisc-achievement-card {
    background: #fff;
    border-radius: var(--sgb-radius-lg);
    overflow: hidden;
    box-shadow: var(--sgb-shadow);
    border: 1px solid var(--sgb-border);
    transition: var(--sgb-transition);
}
.iisc-achievement-card:hover { transform: translateY(-5px); box-shadow: var(--sgb-shadow-lg); }
.iisc-achievement-thumb {
    display: block;
    height: 180px;
    overflow: hidden;
}
.iisc-achievement-thumb img { width: 100%; height: 100%; object-fit: cover; }
.iisc-achievement-body { padding: 16px; }
.iisc-achievement-body h3 { font-size: 15px; font-weight: 700; margin: 0 0 6px; color: var(--sgb-text); }
.iisc-achievement-body p  { font-size: 13px; color: var(--sgb-muted); margin: 0; line-height: 1.55; }

/* ────────────────────────────────────────────────────────────────── */
/*  TESTIMONIALS SECTION                                              */
/* ────────────────────────────────────────────────────────────────── */
.sgbit-testimonials-section {
    padding: var(--sgb-section-gap) 0;
    background: var(--sgb-primary);
}
.sgbit-section-head.text-center { margin-bottom: 48px; }
.sgbit-section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sgb-gold);
    margin-bottom: 10px;
}
.sgbit-testimonials-section .sgbit-section-head h2 {
    color: #fff;
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 800;
    margin: 0 0 14px;
}
.sgbit-testimonials-section .sgbit-section-head p { color: rgba(255,255,255,.65); }
.sgbit-divider {
    width: 60px;
    height: 3px;
    background: var(--sgb-gold);
    border-radius: 2px;
    margin: 0 auto 20px;
}
.sgbit-testimonial-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--sgb-radius-lg);
    padding: 28px;
    transition: var(--sgb-transition);
    height: 100%;
}
.sgbit-testimonial-card:hover { background: rgba(255,255,255,.12); }
.sgbit-testimonial-text {
    font-size: 14.5px;
    color: rgba(255,255,255,.85);
    line-height: 1.75;
    margin-bottom: 22px;
    font-style: italic;
}
.sgbit-testimonial-author { display: flex; align-items: center; gap: 14px; }
.sgbit-testimonial-author img {
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--sgb-gold);
    flex-shrink: 0;
}
.sgbit-testimonial-author h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 2px;
}
.sgbit-testimonial-author span {
    font-size: 12.5px;
    color: rgba(255,255,255,.55);
}

/* ────────────────────────────────────────────────────────────────── */
/*  FOOTER                                                            */
/* ────────────────────────────────────────────────────────────────── */
.sgb-footer { background: #0a1929; color: #8da8bc; }
.sgb-footer-top { padding: 64px 0 48px; }
.sgb-footer-brand h3 {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.3;
}
.sgb-footer-tagline {
    font-size: 13px;
    font-weight: 600;
    color: var(--sgb-gold);
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: .8px;
}
.sgb-footer-desc {
    font-size: 13px;
    line-height: 1.7;
    color: #7a9cb5;
    margin: 0 0 18px;
}
.sgb-footer-accreds { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.sgb-footer-badge {
    padding: 3px 10px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.7);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
}
.sgb-footer-social { display: flex; gap: 8px; }
.sgb-social-link {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 15px;
    color: #fff;
    transition: var(--sgb-transition);
    text-decoration: none;
}
.sgb-social-fb { background: #1877f2; }
.sgb-social-tw { background: #1da1f2; }
.sgb-social-li { background: #0077b5; }
.sgb-social-yt { background: #ff0000; }
.sgb-social-ig { background: linear-gradient(135deg, #f9a825, #e91e63); }
.sgb-social-app { background: #f26c00; }
.sgb-social-link:hover { transform: scale(1.12) translateY(-2px); color: #fff; }

.sgb-footer-col {}
.sgb-footer-heading {
    font-size: 13.5px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.sgb-footer-list { list-style: none; margin: 0; padding: 0; }
.sgb-footer-list li { margin-bottom: 9px; }
.sgb-footer-list a {
    font-size: 13px;
    color: #7a9cb5;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--sgb-transition);
}
.sgb-footer-list a i { font-size: 9px; color: var(--sgb-gold); transition: transform .2s; }
.sgb-footer-list a:hover { color: #fff; }
.sgb-footer-list a:hover i { transform: translateX(3px); }

.sgb-footer-contact-list { list-style: none; margin: 0 0 18px; padding: 0; }
.sgb-footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 13px;
    color: #7a9cb5;
    line-height: 1.5;
}
.sgb-footer-contact-list li i {
    color: var(--sgb-gold);
    width: 16px;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}
.sgb-footer-contact-list a { color: #7a9cb5; text-decoration: none; }
.sgb-footer-contact-list a:hover { color: #fff; }
/* Footer Map + QR row */
.sgb-footer-map-qr-row {
    display: flex; align-items: center; gap: 16px;
    margin-top: 14px; flex-wrap: wrap;
}
.sgb-footer-map-btn {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
    color: #fff; border-radius: 8px; padding: 7px 14px;
    font-size: .8rem; font-weight: 700; cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
    flex-shrink: 0;
}
.sgb-footer-map-btn:hover,
.sgb-footer-map-btn.open {
    background: #f26c00; border-color: #f26c00; color: #fff;
}
.sgb-footer-map-collapse {
    margin-top: 10px;
    animation: sgbMapReveal .3s ease both;
}
@keyframes sgbMapReveal {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.sgb-footer-map { border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); display: block; }

/* Footer QR Code */
.sgb-footer-qr-wrap { margin-top: 0; }
.sgb-footer-qr-link { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; text-decoration: none; }
.sgb-footer-qr-img { border-radius: 8px; border: 2px solid rgba(255,255,255,.2); padding: 5px; background: #fff; display: block; width: 90px; height: 90px; object-fit: contain; }
.sgb-footer-qr-label { font-size: 10px; color: rgba(255,255,255,.55); font-weight: 600; letter-spacing: .4px; text-transform: uppercase; }
.sgb-footer-qr-link:hover .sgb-footer-qr-img { border-color: #f26c00; }
.sgb-footer-qr-link:hover .sgb-footer-qr-label { color: #f26c00; }


.sgb-footer-bottom { background: rgba(0,0,0,.25); padding: 18px 0; border-top: 1px solid rgba(255,255,255,.07); }
.sgb-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.sgb-footer-copy { font-size: 13px; color: #5e7b93; }
.sgb-footer-bottom-links { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.sgb-footer-bottom-links a { color: #5e7b93; text-decoration: none; }
.sgb-footer-bottom-links a:hover { color: #fff; }
.sgb-footer-bottom-links span { color: #3a5068; }

/* ────────────────────────────────────────────────────────────────── */
/*  BREADCRUMB (inner pages)                                          */
/* ────────────────────────────────────────────────────────────────── */
.sgbit-breadcrumb-bar {
    background: var(--sgb-light);
    border-bottom: 1px solid var(--sgb-border);
    padding: 10px 0;
}
.sgbit-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
}
.sgbit-breadcrumb li + li::before { content: '/'; color: var(--sgb-muted); margin-right: 6px; }
.sgbit-breadcrumb a { color: var(--sgb-accent); text-decoration: none; }
.sgbit-breadcrumb a:hover { text-decoration: underline; }

/* ────────────────────────────────────────────────────────────────── */
/*  RESPONSIVE                                                        */
/* ────────────────────────────────────────────────────────────────── */

/* Medium (< 1280px) */
@media (max-width: 1280px) {
    .sgb-dept-grid { grid-template-columns: repeat(5, 1fr); gap: 14px; }
}

/* Tablet (< 1024px) */
@media (max-width: 1023px) {
    :root { --sgb-section-gap: 56px; }
    .sgb-hero-grid    { grid-template-columns: 1fr; grid-template-rows: auto auto; height: auto; }
    .sgb-slider-wrap  { height: 360px; }
    .sgb-ann-panel    { min-height: 0; max-height: 320px; }
    .sgb-slide        { min-height: 340px; }
    .sgb-stat-item    { padding: 0 18px; height: 64px; }
    .sgb-dept-grid    { grid-template-columns: repeat(3, 1fr); }
    .sgb-placement-stats-row { grid-template-columns: repeat(2, 1fr); }
    .sgb-blog-grid    { grid-template-columns: repeat(2, 1fr); }
    .sgh-brand-inner  { grid-template-columns: auto 1fr; }
    .sgh-brand-logos-right { display: none; }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    :root { --sgb-section-gap: 44px; }
    /* Topbar */
    .sgh-topbar-inner { flex-wrap: wrap; gap: 6px; }
    .sgh-top-left     { flex-wrap: wrap; gap: 6px; font-size: 11px; }

    /* Brand */
    .sgh-brand-inner   { grid-template-columns: 1fr; text-align: center; }
    .sgh-brand-logo-left { justify-content: center; }
    .sgh-college-name  { font-size: 16px; }
    .sgh-trust-name    { font-size: 10px; }
    .sgh-college-address { font-size: 10px; }

    /* Navbar */
    .sgh-nav-brand     { display: flex; }
    .sgh-hamburger     { display: flex; }
    .sgh-nav-inner     { flex-wrap: wrap; padding: 12px 0; }
    .sgh-nav-menu {
        width: 100%;
        display: none;
        padding: 8px 0;
    }
    .sgh-nav-menu.open { display: block; }
    .sgh-nav-list      { flex-direction: column; }
    .sgh-nav-link {
        padding: 12px 16px;
        min-height: auto;
        border-bottom: 1px solid rgba(255,255,255,.08);
        border-left: none;
    }
    .sgh-nav-link:hover { border-bottom-color: rgba(255,255,255,.08); }
    .sgh-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border-top: none;
        box-shadow: none;
        background: rgba(255,255,255,.05);
        border-radius: 0;
        display: none;
        padding: 0;
    }
    .sgh-has-dropdown.open .sgh-dropdown { display: block; }
    .sgh-dropdown-item { color: rgba(255,255,255,.75); padding: 10px 32px; font-size: 13px; }
    .sgh-dropdown-item:hover { background: rgba(255,255,255,.08); color: #fff; border-left: none; }

    /* Hero */
    .sgb-slide-body      { padding: 0 20px 36px; }
    .sgb-slide-title     { font-size: 22px; }
    .sgb-slide-sub       { font-size: 14px; }
    .sgb-slide-btn       { padding: 10px 20px; font-size: 13px; }

    /* Stats */
    .sgb-stat-item          { padding: 0 16px; height: 64px; gap: 9px; }
    .sgb-stat-icon-wrap     { width: 32px; height: 32px; }
    .sgb-stat-icon-wrap i   { font-size: 13px; }
    .sgb-stat-value         { font-size: 17px; }
    .sgb-stat-label         { font-size: 9.5px; }

    /* Departments */
    .sgb-dept-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    /* Placement stats */
    .sgb-placement-stats-row { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .sgb-pstat               { padding: 20px 14px; }

    /* Blog grid */
    .sgb-blog-grid { grid-template-columns: 1fr; }

    /* Footer */
    .sgb-footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Extra small (< 480px) */
@media (max-width: 479px) {
    .sgb-dept-grid       { grid-template-columns: 1fr; }
    .sgb-placement-stats-row { grid-template-columns: 1fr; }
}

/* ── Login Modal Trigger button ─────────────────────────────────── */
.sgh-login-trigger {
    background: rgba(255,255,255,.12);
    border: 1.5px solid rgba(255,255,255,.35);
    cursor: pointer;
}
.sgh-login-trigger:hover {
    background: rgba(255,255,255,.22);
    color: #fff;
    border-color: rgba(255,255,255,.6);
}

/* ── Login Modal Portal Cards ───────────────────────────────────── */
.slm-portal-card {
    background: #fff;
    border: 2px solid #e8ecf3;
    border-radius: 10px;
    padding: 18px 10px 14px;
    cursor: pointer;
    text-align: center;
    transition: all .2s ease;
    color: #333;
}
.slm-portal-card:hover {
    border-color: var(--card-color, #1a56a4);
    box-shadow: 0 4px 14px rgba(0,0,0,.1);
    transform: translateY(-3px);
}
.slm-portal-card:hover .slm-card-icon {
    background: var(--card-color, #1a56a4);
    color: #fff;
}
.slm-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #eef3fb;
    color: var(--card-color, #1a56a4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 10px;
    transition: all .2s ease;
}
.slm-card-label {
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    color: #333;
}
.slm-card-label small {
    font-size: 11px;
    font-weight: 400;
    color: #777;
}
.slm-banner-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── ERP Dropdown ───────────────────────────────────────────────── */
.sgh-erp-wrap {
    position: relative;
}
.sgh-erp-trigger {
    background: rgba(255,255,255,.12);
    border: 1.5px solid rgba(255,255,255,.35);
    cursor: pointer;
    gap: 4px;
}
.sgh-erp-trigger:hover {
    background: rgba(255,255,255,.22);
    color: #fff;
    border-color: rgba(255,255,255,.6);
}
.sgh-erp-arrow {
    font-size: 9px;
    transition: transform .2s ease;
}
.sgh-erp-trigger[aria-expanded="true"] .sgh-erp-arrow {
    transform: rotate(180deg);
}
.sgh-erp-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0,0,0,.16);
    border: 1px solid #e0e8f0;
    z-index: 9999;
    overflow: hidden;
}
.sgh-erp-dropdown.sgh-erp-open {
    display: block;
    animation: erpFadeIn .15s ease;
}
@keyframes erpFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.sgh-erp-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: #1a1a1a;
    border-bottom: 1px solid #f0f4f8;
    transition: background .15s ease;
}
.sgh-erp-item:last-child { border-bottom: none; }
.sgh-erp-item:hover {
    background: #f5f8ff;
    text-decoration: none;
    color: #1a1a1a;
}
.sgh-erp-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    flex-shrink: 0;
}
.sgh-erp-item strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.2;
}
.sgh-erp-item small {
    font-size: 11px;
    color: #888;
    line-height: 1.2;
}

/* ────────────────────────────────────────────────────────────────── */
/*  SGBIT AT A GLANCE SECTION                                         */
/* ────────────────────────────────────────────────────────────────── */
/* ══════════════════════════════════════════
   SGBIT AT A GLANCE — Row-wise infinite scroll
   ══════════════════════════════════════════ */
.sgb-glance-section {
    background: linear-gradient(180deg, #041225 0%, #071d38 60%, #041225 100%);
    padding: 30px 0 36px;
    position: relative; overflow: hidden;
}
.sgb-glance-dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 28px 28px; pointer-events: none;
}

/* Heading */
.sgb-glance-heading {
    text-align: center;
    margin-bottom: 22px;
    position: relative;
}
.sgb-glance-kicker {
    display: inline-block;
    font-size: .66rem; font-weight: 800; letter-spacing: .14em;
    text-transform: uppercase; color: #e0a908;
    margin-bottom: 6px;
}
.sgb-glance-title {
    font-size: 1.5rem; font-weight: 900;
    color: #fff; line-height: 1.15;
    margin: 0 0 6px;
}
.sgb-glance-sub {
    font-size: .86rem; color: rgba(255,255,255,.5);
    max-width: 500px; margin: 0 auto;
}

/* ── Scrolling row ── */
.sgb-glance-track-outer {
    overflow: hidden;
    position: relative;
    /* fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image:         linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.sgb-glance-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: sgbGlanceScroll 28s linear infinite;
}
@keyframes sgbGlanceScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Individual tile */
.sgb-glance-item {
    flex-shrink: 0;
    width: 170px;
    text-align: center;
    padding: 18px 16px 16px;
    cursor: default;
    border-right: 1px solid rgba(255,255,255,.08);
    transition: background .25s ease;
}
.sgb-glance-item:hover {
    background: rgba(255,255,255,.06);
}
.sgb-glance-item:hover .sgb-glance-icon-box {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 14px 30px rgba(0,0,0,.45);
}

/* Icon box — 85×85px circular, matching IARE */
.sgb-glance-icon-box {
    width: 85px; height: 85px;
    border-radius: 50%;
    background: var(--gc, #e0a908);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,.35);
    transition: transform .3s ease, box-shadow .3s ease;
}
.sgb-glance-icon-box i {
    font-size: 28px; color: #fff;
}

/* Stat number */
.sgb-glance-num {
    font-size: 28px; font-weight: 800; color: #fff;
    letter-spacing: -.4px; line-height: 1;
    margin-bottom: 3px; white-space: nowrap;
}

/* Label */
.sgb-glance-lbl {
    font-size: 12px; font-weight: 500;
    color: rgba(255,255,255,.62);
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 767px) {
    .sgb-glance-item { width: 140px; padding: 14px 10px 12px; }
    .sgb-glance-icon-box { width: 68px; height: 68px; }
    .sgb-glance-icon-box i { font-size: 22px; }
    .sgb-glance-num { font-size: 22px; }
    .sgb-glance-title { font-size: 1.2rem; }
}
@media (max-width: 479px) {
    .sgb-glance-item { width: 120px; }
    .sgb-glance-icon-box { width: 58px; height: 58px; }
    .sgb-glance-icon-box i { font-size: 20px; }
    .sgb-glance-num { font-size: 20px; }
}
