/* ==========================================

   CSS VARIABLES — MZCET Color Scheme

   ========================================== */

:root {

    /* Brand Colors */

    --primary:          #002472;

    --secondary:        #020c56;

    --blue:             #002472;

    --secondary-brown:  #020c56;

    --gold:             #d4a574;

    --accent-gold:      #d4a574;

    --text-dark:        #333333;

    --text-light:       #666666;

    --bg-light:         #f8f9fa;

    --white:            #ffffff;

    --shadow:           0 4px 20px rgba(0,0,0,0.1);

    --shadow-lg:        0 10px 40px rgba(0,0,0,0.15);

    --transition:       all 0.3s cubic-bezier(0.4,0,0.2,1);

    --ease:             all 0.3s cubic-bezier(0.4,0,0.2,1);



    /* Layout Heights */

    --topbar-h:  40px;

   --header-h:  120px;

    --nav-h:     52px;

    --fixed-top: calc(var(--topbar-h) + var(--header-h) + var(--nav-h));



    /* Book / Newsletter Variables */

    --bk-cream:  #f5eedc;

    --bk-aged:   #e8dcc4;

    --bk-paper:  #faf6ed;

    --bk-ink:    #1a1005;

    --bk-accent: #8b1a1a;

    --bk-gold:   #d4a574;

    --bk-muted:  #7a6a52;

    --nl-gold:   #d4a574;

    --nl-muted:  #7a6a52;

    --bk-blue:   #002472;



    --bk-W:      880px;

    --bk-H:      560px;

    --bk-GAP:    46px;

    --bk-DUR:    750ms;

    --bk-page-W: calc((var(--bk-W) - var(--bk-GAP)) / 2);

}



/* ==========================================

   RESET & BASE STYLES

   ========================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {

    font-family: 'Poppins', sans-serif;

    color: var(--text-dark);

    line-height: 1.6;

    overflow-x: hidden;

    padding-top: var(--fixed-top);

    background: var(--bg-light);

}



.container-fluid { width: 100%; padding: 0 2rem; max-width: 1920px; margin: 0 auto; }

.container       { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }



/* ==========================================

   TOP BAR

   ========================================== */

.top-bar {

    position: fixed; top: 0; left: 0; right: 0;

    height: var(--topbar-h);

    background: var(--secondary);

    color: var(--white);

    display: flex; align-items: center;

    font-size: 0.8rem;

    z-index: 1003;

}

.top-bar-content {

    display: flex; justify-content: space-between;

    align-items: center; width: 100%; height: 100%;

}

.top-bar-left  { display: flex; align-items: center; gap: 2rem; }

.top-bar-info  { display: flex; align-items: center; gap: 0.4rem; }

.top-bar-info i { color: var(--gold); font-size: 0.72rem; }

.email-link    { color: var(--white); text-decoration: none; }

.top-bar-right { display: flex; align-items: center; gap: 1.5rem; flex-shrink: 0; }

.top-bar-right a {

    color: var(--white); text-decoration: none;

    transition: var(--ease);

    display: flex; align-items: center; gap: 0.35rem; font-size: 0.8rem;

}

.top-bar-right a:hover { color: var(--gold); }



/* ==========================================

   HEADER

   ========================================== */

.header {

    position: fixed;

    top: var(--topbar-h); left: 0; right: 0;

    height: var(--header-h);

    background: var(--white);

    z-index: 1002;

    display: flex; align-items: center;

    box-shadow: 0 2px 10px rgba(0,0,0,0.06);

}

.header-content {

    display: flex; align-items: center;

    gap: 1.4rem; width: 100%; height: 100%;

}



/* Logo */

.header-logo {

    flex-shrink: 0;

    display: flex; align-items: center; justify-content: center;

}

.header-logo img {

    height: 82px; width: auto;

    object-fit: contain; border-radius: 8px; display: block;

}

.header-logo-fallback {

    width: 82px; height: 82px;

    background: linear-gradient(135deg, var(--primary) 0%, #1a4db8 100%);

    border-radius: 12px;

    display: flex; align-items: center; justify-content: center;

    font-size: 1.7rem; font-weight: 800; color: var(--white);

    letter-spacing: -1px; flex-shrink: 0;

    box-shadow: 0 4px 16px rgba(0,36,114,0.4);

    user-select: none;

    border: 2px solid rgba(212,165,116,0.5);

}



/* Divider */

.header-divider {

    width: 2px; height: 62px;

    background: linear-gradient(to bottom, transparent, var(--gold), transparent);

    flex-shrink: 0; opacity: 0.5;

}



/* Text */

.header-text { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }

.header-text h1 {

    font-family: 'Cooper Black','Georgia',serif;

    font-size: clamp(2.5 rem,1.9vw,1.45rem);

    color: var(--blue);

    font-weight: 1200;

    margin-bottom: 2px;

    line-height: 1.2;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    letter-spacing: 0.08em;

}

.header-subtitle {

    font-size: clamp(.68rem,.9vw,.78rem);

    color: var(--blue);

    font-weight: 600;

    margin-bottom: 1px;

    font-style: italic;

    line-height: 1.3;

    letter-spacing: 0.05em;

}

.header-info {

    font-size: clamp(.62rem,.8vw,.72rem);

    color: var(--blue);

    line-height: 1.3;

    font-weight: 600;

    letter-spacing: 0.05em;

}



/* Badges */

.header-badges { display: flex; gap: 5px; flex-wrap: wrap; }

.h-badge {

    font-size: 0.61rem; font-weight: 700; letter-spacing: 0.3px;

    padding: 2px 8px; border-radius: 20px; border: 1px solid; line-height: 1.6;

}

.h-badge-aicte { border-color:#0077cc; color:#0077cc; background:rgba(0,119,204,0.06); }

.h-badge-anna  { border-color:#cc5500; color:#cc5500; background:rgba(204,85,0,0.06); }

.h-badge-naac  { border-color:#009966; color:#009966; background:rgba(0,153,102,0.06); }



/* ==========================================

   NAVBAR — FIXED

   ========================================== */

.navbar {

    position: fixed;

    top: calc(var(--topbar-h) + var(--header-h));

    left: 0; right: 0;

    height: var(--nav-h);

    background: var(--primary);

    box-shadow: 0 3px 14px rgba(0,0,0,0.3);

    z-index: 1001;

    overflow: visible;

    isolation: isolate;

}



.nav-container {

    display: flex;

    align-items: center;

    justify-content: center;

    height: var(--nav-h);        /* ← explicitly set to nav height */

    width: 100%;

    max-width: 1400px;

    margin: 0 auto;

    padding: 0;                  /* ← remove all padding */

    overflow: visible;

}



.nav-links {

    display: flex;

    list-style: none;

    gap: 0;                      /* ← remove gap, use padding on <a> instead */

    justify-content: center;

    align-items: center;

    height: var(--nav-h);        /* ← tie to nav height */

    padding: 0;                  /* ← remove any padding */

    margin: 0;

    overflow: visible;

}



.nav-item {

    position: relative;

    display: flex;

    align-items: center;         /* ← center vertically */

    height: var(--nav-h);        /* ← explicit height */

    flex-shrink: 0;

    padding: 0;

    margin: 0;

}



.nav-item > a {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 0.35rem;

    height: 100%;                /* ← fill nav-item height */

    padding: 0 0.85rem;

    text-decoration: none;

    color: rgba(255,255,255,0.9);

   font-weight: 500;
font-size: 0.8 rem;
font-family: 'Poppins', sans-serif;
letter-spacing: 0.3px;
    white-space: nowrap;

    line-height: 1;              /* ← prevent line-height adding space */

    box-sizing: border-box;

}



.nav-item > a:hover,

.nav-item > a.active {

    background: rgba(255,255,255,0.13);

    color: var(--gold);

}



.nav-item > a .nav-icon-wrapper {

    font-size: 0.75rem;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    line-height: 1;

}

 

/* Dropdown caret */

.nav-item.has-dropdown > a .nav-text::after {

    content: ' ▾';

    font-size: 0.55rem;

    opacity: 0.65;

    display: inline-block;

    margin-left: 2px;

    transition: transform 0.2s ease;

}

.nav-item.has-dropdown:hover > a .nav-text::after {

    transform: rotate(180deg);

    opacity: 1;

}

 

/* Desktop dropdown panel */

.dropdown-menu {

    display: none;

    position: absolute;

    top: 100%;

    left: 0;

    min-width: 210px;

    background: var(--primary);

    border-top: 3px solid var(--gold);

    border-radius: 0 0 12px 12px;

    box-shadow: 0 12px 32px rgba(0,0,0,0.4);

    z-index: 3000;

    flex-direction: column;

    padding: 0.35rem 0;

}

 

.nav-item.has-dropdown:hover .dropdown-menu {

    display: flex;

}

 

.dropdown-menu a {

    display: flex;

    align-items: center;

    gap: 0.5rem;

    padding: 0.7rem 1.2rem;

    color: rgba(255,255,255,0.85);

    text-decoration: none;

    font-size: 0.83rem;

    font-weight: 400;

    white-space: nowrap;

    transition: var(--ease);

    border-bottom: 1px solid rgba(255,255,255,0.06);

}

.dropdown-menu a:last-child { border-bottom: none; }

.dropdown-menu a::before { content: '›'; color: var(--gold); font-size: 1rem; }

.dropdown-menu a:hover {

    background: rgba(255,255,255,0.1);

    color: var(--gold);

    padding-left: 1.6rem;

}

 

/* Hamburger */

.hamburger {

    display: none;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 5px;

    width: 40px;

    height: 40px;

    cursor: pointer;

    position: absolute;

    right: 1rem;

    top: 50%;

    transform: translateY(-50%);

    background: rgba(255,255,255,0.12);

    border: 1.5px solid rgba(255,255,255,0.3);

    border-radius: 8px;

    z-index: 1010;

    transition: background 0.2s, border-color 0.2s;

}

.hamburger:hover {

    background: rgba(255,255,255,0.2);

}

.hamburger span {

    display: block;

    width: 20px;

    height: 2px;

    background: var(--white);

    border-radius: 3px;

    transition: var(--ease);

}

.hamburger.active {

    background: rgba(212,165,116,0.2);

    border-color: var(--gold);

}

.hamburger.active span:nth-child(1) {

    transform: translateY(7px) rotate(45deg);

    background: var(--gold);

}

.hamburger.active span:nth-child(2) {

    opacity: 0;

    transform: scaleX(0);

}

.hamburger.active span:nth-child(3) {

    transform: translateY(-7px) rotate(-45deg);

    background: var(--gold);

}

 

/* Overlay */

.nav-overlay { display: none !important; }

 

.menu-overlay {

    display: none;

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,0.6);

    z-index: 998;

    backdrop-filter: blur(2px);

    -webkit-backdrop-filter: blur(2px);

}

.menu-overlay.active { display: block; }



/* ==========================================

   HERO

   ========================================== */

.hero {

    position: relative;

    height: calc(100vh - var(--fixed-top));

    min-height: 420px;

    max-height: 500px;

    width: 100%;

    overflow: hidden;

}



.hero-slider,

.hero-slide {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

}



.hero-media {

    width: 100%;

    height: 100%;

    object-fit: cover;      /* 🔥 makes it perfect */

    object-position: center;

    display: block;

}







/* ==========================================

   SECTION HEADERS

   ========================================== */

.section-header  { text-align: center; margin-bottom: 3rem; }

.section-title   { font-size: 2.4rem; font-weight: 700; color: var(--blue); margin-bottom: 1rem; position: relative; display: inline-block; }

.section-title::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 70px; height: 4px; background: var(--accent-gold); border-radius: 2px; }

.section-subtitle { font-size: 1rem; color: var(--text-light); max-width: 800px; margin: 1.5rem auto 0; line-height: 1.8; }



/* ==========================================

   ABOUT SECTION

   ========================================== */

.about-section { background: var(--white); padding: 5rem 0; }

.about-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: flex-start; margin-top: 1rem; }

.about-image   { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); height: 100%; min-height: 400px; }

.about-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }

.about-image:hover img { transform: scale(1.05); }

.about-content { display: flex; flex-direction: column; justify-content: flex-start; }

.about-content h3 { font-size: 2rem; color: var(--blue); margin-bottom: 1.5rem; margin-top: 0; }

.about-content p  { color: var(--text-light); margin-bottom: 1.2rem; line-height: 1.8; text-align: justify; }

.stats-grid    { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 4rem; }

.stat-card     { text-align: center; padding: 2rem; background: var(--bg-light); border-radius: 15px; transition: var(--transition); }

.stat-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }

.stat-number   { font-size: 3rem; font-weight: 700; color: var(--blue); margin-bottom: .5rem; }

.stat-label    { font-size: 1rem; color: var(--text-light); font-weight: 500; }

/* ==========================================

   ABOUT CONTENT ENHANCEMENTS

   ========================================== */

.about-content p strong {

    color: var(--blue);

    font-weight: 600;

}



.about-content p {

    position: relative;

    padding-left: 1rem;

    border-left: 3px solid transparent;

    transition: border-color 0.3s ease;

}



.about-content p:hover {

    border-left-color: var(--accent-gold);

}



/* ==========================================

   VISION & MISSION

   ========================================== */

.vision-mission { background: var(--bg-light); padding: 2rem 0; }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem; align-items: stretch; }

.vm-card { background: var(--white); padding: 3rem; border-radius: 20px; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }

.vm-card::before { content: ''; position: absolute; top: 0; left: 0; width: 5px; height: 100%; background: var(--accent-gold); transition: var(--transition); }

.vm-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

.vm-card:hover::before { width: 100%; opacity: .05; }

.vm-card h3   { font-size: 1.8rem; color: var(--blue); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 1rem; }

.vm-card .icon { font-size: 2.2rem; }

.vm-card p    { color: var(--text-light); line-height: 1.8; text-align: justify; }



/* ==========================================

   PEO

   ========================================== */

.peo-section { background: var(--white); padding: 5rem 0; }

.objectives-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); gap: 2.5rem; margin-top: 3rem; }

.objective-card  { background: var(--bg-light); border-radius: 20px; padding: 0; overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border: 2px solid transparent; display: flex; flex-direction: column; }

.objective-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--accent-gold); }

.objective-number { background: linear-gradient(135deg,var(--blue) 0%,var(--secondary-brown) 100%); color: var(--white); font-size: 2.5rem; font-weight: 800; padding: 2rem; text-align: center; letter-spacing: 2px; }

.objective-content { padding: 2rem; flex: 1; display: flex; flex-direction: column; }

.objective-content h4 { font-size: 1.4rem; color: var(--blue); margin-bottom: 1rem; font-weight: 600; }

.objective-content p  { color: var(--text-light); line-height: 1.8; text-align: justify; flex: 1; }



/* ==========================================

   PSO

   ========================================== */

.pso-section   { background: var(--bg-light); padding: 5rem 0; }

.outcomes-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); gap: 3rem; margin-top: 3rem; }

.outcome-card  { background: var(--white); border-radius: 20px; padding: 3rem 2.5rem; box-shadow: var(--shadow); transition: var(--transition); position: relative; overflow: hidden; border: 2px solid transparent; }

.outcome-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(90deg,var(--blue),var(--accent-gold)); transform: scaleX(0); transition: var(--transition); }

.outcome-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--accent-gold); }

.outcome-card:hover::before { transform: scaleX(1); }

.outcome-icon  { font-size: 4rem; margin-bottom: 1.5rem; display: block; }

.outcome-badge { display: inline-block; background: var(--accent-gold); color: var(--white); padding: .5rem 1.5rem; border-radius: 50px; font-weight: 700; font-size: 1rem; margin-bottom: 1.5rem; letter-spacing: 1px; }

.outcome-card h4 { font-size: 1.4rem; color: var(--blue); margin-bottom: 1.2rem; font-weight: 600; line-height: 1.4; }

.outcome-card p  { color: var(--text-light); line-height: 1.8; text-align: justify; }



/* ==========================================

   PO

   ========================================== */

.po-section { background: var(--white); padding: 5rem 0; }

.po-grid    { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 2rem; margin-top: 3rem; }

.po-card    { background: var(--bg-light); border-radius: 15px; padding: 2rem; box-shadow: var(--shadow); transition: var(--transition); border-left: 5px solid var(--accent-gold); position: relative; overflow: hidden; }

.po-card::after { content: ''; position: absolute; top: 0; right: 0; width: 0; height: 100%; background: linear-gradient(90deg,transparent,rgba(212,165,116,.1)); transition: var(--transition); }

.po-card:hover { transform: translateX(5px); box-shadow: var(--shadow-lg); background: var(--white); }

.po-card:hover::after { width: 100%; }

.po-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; position: relative; z-index: 1; }

.po-number { background: var(--blue); color: var(--white); font-weight: 700; font-size: .85rem; padding: .45rem .9rem; border-radius: 50px; flex-shrink: 0; letter-spacing: 1px; }

.po-header h4 { font-size: 1.1rem; color: var(--blue); font-weight: 600; line-height: 1.3; }

.po-card p    { color: var(--text-light); line-height: 1.7; font-size: .92rem; text-align: justify; position: relative; z-index: 1; }



/* ==========================================

   PROGRAMS

   ========================================== */

.programs-section { background: var(--white); padding: 5rem 0; }

.programs-grid    { display: grid; grid-template-columns: repeat(auto-fit,minmax(420px,1fr)); gap: 3rem; margin-top: 3rem; }

.program-card     { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border: 2px solid transparent; }

.program-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--accent-gold); }

.program-header   { background: linear-gradient(135deg,var(--blue) 0%,var(--secondary-brown) 100%); color: var(--white); padding: 2.5rem 2rem; text-align: center; }

.program-header h3 { font-size: 1.8rem; margin-bottom: .5rem; }

.program-header .degree { font-size: .95rem; color: var(--accent-gold); font-weight: 500; }

.program-content  { padding: 2rem; }

.program-features { list-style: none; }

.program-features li { padding: .9rem 0; border-bottom: 1px solid var(--bg-light); color: var(--text-light); display: flex; align-items: flex-start; gap: 1rem; }

.program-features li:last-child { border-bottom: none; }

.program-features li::before { content: '✓'; color: var(--accent-gold); font-weight: 700; font-size: 1.2rem; flex-shrink: 0; }



/* ==========================================

   DEPARTMENT ACTIVITIES MARQUEE

   ========================================== */

.activities-section { background: var(--bg-light); padding: 5rem 0; }

.act-section { background: #f2f5fb; padding: 80px 0 90px; overflow: hidden; position: relative; }

.act-section::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle,rgba(0,36,114,.055) 1px,transparent 1px); background-size: 26px 26px; pointer-events: none; z-index: 0; }

.act-marquee-outer    { position: relative; width: 100%; overflow: hidden; padding: 18px 0 24px; z-index: 1; }

.act-fade             { position: absolute; top: 0; bottom: 0; width: 120px; z-index: 10; pointer-events: none; }

.act-fade--left  { left: 0;  background: linear-gradient(to right,#f2f5fb 0%,transparent 100%); }

.act-fade--right { right: 0; background: linear-gradient(to left, #f2f5fb 0%,transparent 100%); }

.act-marquee-viewport { overflow: hidden; width: 100%; }

.act-marquee-track    { display: flex; gap: 24px; width: max-content; will-change: transform; }

.act-card { width: 300px; flex-shrink: 0; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,36,114,.09); border: 2px solid transparent; display: flex; flex-direction: column; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; cursor: default; opacity: 0; transform: translateX(80px); }

.act-card.act-revealed { opacity: 1; transform: translateX(0); transition: opacity .5s ease, transform .5s cubic-bezier(.25,.8,.25,1), box-shadow .28s ease, border-color .28s ease; }

.act-card:hover { transform: translateY(-10px) !important; box-shadow: 0 18px 48px rgba(0,36,114,.16); border-color: var(--accent-gold); }

.act-card__img { position: relative; width: 100%; height: 190px; overflow: hidden; flex-shrink: 0; }

.act-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }

.act-card:hover .act-card__img img { transform: scale(1.07); }

.act-card__img-overlay { position: absolute; inset: 0; background: linear-gradient(175deg,transparent 35%,rgba(2,12,86,.62) 100%); pointer-events: none; }

.act-card__badge { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: .32rem; font-family: 'Poppins',sans-serif; font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .28rem .82rem; border-radius: 50px; box-shadow: 0 3px 10px rgba(0,0,0,.18); transition: transform .22s ease; }

.act-card:hover .act-card__badge { transform: scale(1.05); }

.act-badge--gold  { background: var(--accent-gold); color: var(--blue); }

.act-badge--navy  { background: var(--blue); color: var(--accent-gold); }

.act-card__year   { position: absolute; bottom: 11px; right: 12px; z-index: 2; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: .7rem; font-weight: 600; padding: .25rem .7rem; border-radius: 50px; letter-spacing: .04em; }

.act-card__body   { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; position: relative; }

.act-card__body::before { content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 3px; background: linear-gradient(180deg,var(--accent-gold),var(--blue)); opacity: 0; transition: opacity .25s ease; }

.act-card:hover .act-card__body::before { opacity: 1; }

.act-card__top-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: .7rem; }

.act-card__cat  { display: inline-flex; align-items: center; gap: .3rem; font-size: .68rem; font-weight: 600; color: var(--accent-gold); text-transform: uppercase; letter-spacing: .07em; }

.act-card__cat i { font-size: .38rem; }

.act-card__date  { font-size: .7rem; color: #9ca3af; font-weight: 500; }

.act-card__title { font-size: 1.02rem; font-weight: 700; color: var(--blue); line-height: 1.3; margin-bottom: .55rem; transition: color .2s; }

.act-card:hover .act-card__title { color: var(--secondary-brown); }

.act-card__desc  { font-size: .8rem; color: #6b7280; line-height: 1.65; flex: 1; margin-bottom: .95rem; }

.act-card__stats { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: auto; }

.act-card__stats span { display: inline-flex; align-items: center; gap: .28rem; font-size: .7rem; font-weight: 500; color: var(--blue); background: #eef1f9; padding: .22rem .65rem; border-radius: 50px; transition: background .2s; }

.act-card__stats span i { color: var(--accent-gold); font-size: .6rem; }

.act-card:hover .act-card__stats span { background: #e3e8f5; }



/* ==========================================

   STUDENT ACHIEVEMENTS TABLE SECTION

   ========================================== */

#student-activities {

    background: #f0f3fa;

    padding: 5rem 0;

    position: relative;

}

#student-activities::before {

    content: '';

    position: absolute; inset: 0;

    background-image: radial-gradient(circle, rgba(0,36,114,.045) 1px, transparent 1px);

    background-size: 28px 28px;

    pointer-events: none;

}

.sa-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 1.6rem; }

.sa-filters  { display: flex; flex-wrap: wrap; gap: 8px; }

.sa-filter   { padding: 7px 18px; border-radius: 100px; border: 1.5px solid rgba(0,36,114,.15); background: #fff; color: #555; font-family: 'Poppins',sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; outline: none; transition: all .22s ease; }

.sa-filter:hover  { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }

.sa-filter.active { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(0,36,114,.3); }

.sa-search-wrap  { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid rgba(0,36,114,.13); border-radius: 100px; padding: 8px 18px; transition: border-color .2s, box-shadow .2s; }

.sa-search-wrap:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,36,114,.08); }

.sa-search-wrap i { color: var(--accent-gold); font-size: .8rem; }

.sa-search   { border: none; outline: none; font-family: 'Poppins',sans-serif; font-size: .82rem; color: var(--text-dark); background: transparent; width: 190px; }

.sa-search::placeholder { color: #aaa; }

.sa-stats-strip { display: flex; align-items: center; justify-content: center; background: var(--blue); border-radius: 14px; padding: 1.2rem 2.5rem; margin-bottom: 2rem; flex-wrap: wrap; gap: 0; }

.sa-stat     { display: flex; flex-direction: column; align-items: center; padding: 0 2.5rem; }

.sa-stat-num { font-family: 'Playfair Display',serif; font-size: 2rem; font-weight: 900; color: var(--accent-gold); line-height: 1; margin-bottom: 4px; }

.sa-stat-lbl { font-size: .68rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.5); }

.sa-stat-div { width: 1px; height: 36px; background: rgba(255,255,255,.12); }

.sa-table-card   { background: #fff; border-radius: 20px; box-shadow: 0 8px 40px rgba(0,36,114,.1); overflow: hidden; border: 1px solid rgba(0,36,114,.07); }

.sa-table-header { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.8rem; background: linear-gradient(90deg,var(--blue) 0%,var(--secondary-brown) 100%); color: #fff; font-family: 'Poppins',sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; flex-wrap: wrap; gap: 8px; }

.sa-table-header i { color: var(--accent-gold); }

.sa-table-count  { font-size: .7rem; font-weight: 400; letter-spacing: 1.5px; color: rgba(212,165,116,.75); }

.sa-table-scroll { overflow-x: auto; }

.sa-table { width: 100%; border-collapse: collapse; font-size: .86rem; }

.sa-table thead tr { background: #f7f9ff; border-bottom: 2px solid rgba(0,36,114,.1); }

.sa-table th { padding: 1rem 1.2rem; text-align: left; font-family: 'Poppins',sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); white-space: nowrap; position: relative; }

.sa-table th.sortable { cursor: pointer; user-select: none; }

.sa-table th.sortable:hover { color: var(--accent-gold); }

.sa-table th.sortable i { font-size: .6rem; opacity: .5; margin-left: 4px; }

.sa-table th.sort-asc i, .sa-table th.sort-desc i { opacity: 1; color: var(--accent-gold); }

.col-sno { width: 60px; } .col-name { min-width: 170px; } .col-batch { width: 100px; } .col-ach { width: 150px; } .col-details { min-width: 240px; } .col-year { width: 90px; }

.sa-table tbody tr { border-bottom: 1px solid rgba(0,36,114,.06); transition: background .18s ease; }

.sa-table tbody tr:last-child { border-bottom: none; }

.sa-table tbody tr:hover { background: #f5f7ff; }

.sa-table tbody tr:nth-child(even) { background: #fafbff; }

.sa-table tbody tr:nth-child(even):hover { background: #f2f4ff; }

.sa-table td { padding: .9rem 1.2rem; color: var(--text-dark); vertical-align: middle; line-height: 1.5; }

.td-sno  { font-family: 'Poppins',sans-serif; font-size: .72rem; font-weight: 700; color: rgba(0,36,114,.35); letter-spacing: 1px; text-align: center; }

.td-name { font-weight: 600; color: var(--blue); display: flex; align-items: center; gap: 9px; }

.td-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg,var(--blue),var(--secondary-brown)); color: #fff; font-family: 'Poppins',sans-serif; font-size: .7rem; font-weight: 700; display: none; align-items: center; justify-content: center; flex-shrink: 0; letter-spacing: .5px; }

.td-batch { font-family: 'poppins',sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: 1.5px; color: #555; }

.td-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 100px; font-size: .7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; }

.badge-symposium  { background: #eef3ff; color: #1a3a9e; border: 1px solid #c5d0f5; }

.badge-hackathon  { background: #fff4e8; color: #b05a00; border: 1px solid #f5d9b0; }

.badge-nptel      { background: #eefbf3; color: #1a7c3e; border: 1px solid #b0e8c5; }

.badge-internship { background: #fef0f8; color: #9c2070; border: 1px solid #f0b8dc; }

.badge-rank       { background: #fffbe8; color: #8a6000; border: 1px solid #f0dea0; }

.badge-other      { background: #f4f0ff; color: #5a2db0; border: 1px solid #d0b8f5; }

.td-details { font-size: .82rem; color: var(--text-light); max-width: 280px; }

.td-year    { font-family: 'poppins',sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: 1px; color: var(--accent-gold); }

.sa-table-footer { padding: .8rem 1.8rem; background: #f9fafff5; border-top: 1px solid rgba(0,36,114,.06); min-height: 40px; display: flex; align-items: center; }

.sa-empty { font-size: .84rem; color: #aaa; display: flex; align-items: center; gap: 8px; }

.sa-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }

.sa-reveal.in { opacity: 1; transform: translateY(0); }



/* ==========================================

   NEWSLETTER / BOOK SECTION

   ========================================== */

.newsletter-book-section {

  background: linear-gradient(160deg,#010b3a 0%,#002472 40%,#020c56 70%,#01082a 100%);

  padding: 5rem 0 4rem; position: relative; overflow: hidden;

}

.newsletter-book-section::before {

  content: ''; position: absolute; inset: 0;

  background-image: radial-gradient(circle at 20% 30%,rgba(212,165,116,.08) 0%,transparent 50%),

    radial-gradient(circle at 80% 70%,rgba(0,36,114,.3) 0%,transparent 50%);

  pointer-events: none;

}

.newsletter-book-section::after {

  content: ''; position: absolute; inset: 0;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(212,165,116,0.06)'/%3E%3C/svg%3E");

  background-size: 60px 60px; pointer-events: none;

}

.newsletter-book-section .section-title     { color: var(--accent-gold); }

.newsletter-book-section .section-title::after { background: var(--accent-gold); }

.newsletter-book-section .section-subtitle  { color: rgba(212,165,116,.65); }

 

/* ==========================================

   BOOK WIDGET WRAPPER

   ========================================== */

.book-widget-wrapper {

  position: relative; z-index: 1;

  display: flex; justify-content: center; padding: 0 1rem;

}

.book-wrap, .bk-wrap {

  display: flex; flex-direction: column; align-items: center; gap: 28px;

}

 

/* ==========================================

   SCENE + BOOK STRUCTURE

   ========================================== */

.scene {

  perspective: 3500px; perspective-origin: 50% 44%;

  width: var(--bk-W); height: var(--bk-H); position: relative;

}

.book {

  width: var(--bk-W); height: var(--bk-H); position: relative;

  transform-style: preserve-3d;

  filter: drop-shadow(0 50px 80px rgba(0,0,0,.95)) drop-shadow(0 20px 40px rgba(0,36,114,.4));

}

.bk-backing { position: absolute; inset: 0; display: flex; pointer-events: none; }

.bk-bl, .bk-br {

  height: 100%;

  background: linear-gradient(to bottom,#d9ceae,#c5ba96);

}

.bk-bl { width: var(--bk-page-W); border-radius: 3px 0 0 3px; box-shadow: inset -5px 0 18px rgba(0,0,0,.15); }

.bk-br { width: var(--bk-page-W); margin-left: var(--bk-GAP); border-radius: 0 3px 3px 0; box-shadow: inset 5px 0 18px rgba(0,0,0,.15); }

 

.bk-sl, .bk-sr { position: absolute; top: 2px; height: calc(100% - 4px); width: var(--bk-page-W); pointer-events: none; }

.bk-sl { left: 2px; } .bk-sr { right: 2px; }

.bk-sl::before,.bk-sl::after,.bk-sr::before,.bk-sr::after {

  content: ''; position: absolute; top: 0; height: 100%;

  background: linear-gradient(to bottom,#e8ddc0,#d5c9a3); border-radius: 2px;

}

.bk-sl::before { right: -2px; width: 3px; box-shadow: -1.5px 0 0 #cec09a; }

.bk-sl::after  { right: -5px; width: 3px; background: #c5b891; }

.bk-sr::before { left:  -2px; width: 3px; box-shadow:  1.5px 0 0 #cec09a; }

.bk-sr::after  { left:  -5px; width: 3px; background: #c5b891; }

 

/* ==========================================

   SPINE

   ========================================== */

.spine {

  position: absolute; left: var(--bk-page-W); top: 0;

  width: var(--bk-GAP); height: 100%; z-index: 1000;

  background: linear-gradient(to right,#020924 0%,#041560 15%,#002472 35%,#0a2a8a 50%,#002472 65%,#041560 85%,#020924 100%);

  box-shadow: -4px 0 20px rgba(0,0,0,.8), 4px 0 20px rgba(0,0,0,.8);

}

.spine::before { content: ''; position: absolute; inset: 8px 4px; border: 1px solid rgba(212,165,116,.1); }

.spine-txt {

  position: absolute; top: 50%; left: 50%;

  transform: translate(-50%,-50%) rotate(-90deg);

  font-size: 6px; font-weight: 600; letter-spacing: 5px;

  color: var(--bk-gold); opacity: .35; white-space: nowrap; text-transform: uppercase;

}

 

/* ==========================================

   SPREADS & PAGES

   ========================================== */

.spread { position: absolute; inset: 0; display: none; pointer-events: none; }

.spread.active { display: flex; pointer-events: auto; }

.pg-l, .pg-r {

  position: absolute; top: 0;

  width: var(--bk-page-W); height: var(--bk-H); overflow: hidden;

}

.pg-l {

  left: 0; border-radius: 3px 0 0 3px;

  background: linear-gradient(to left,#c8bc9e 0%,var(--bk-aged) 5%,var(--bk-paper) 12%,var(--bk-paper) 100%);

}

.pg-r {

  right: 0; border-radius: 0 3px 3px 0;

  background: linear-gradient(to right,#c8bc9e 0%,var(--bk-aged) 5%,var(--bk-paper) 12%,var(--bk-paper) 100%);

}

.pg-l::after, .pg-r::after {

  content: ''; position: absolute; inset: 0; z-index: 100; pointer-events: none;

  opacity: .04;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");

}

.pg-l::before {

  content: ''; position: absolute; top: 0; right: 0; width: 45px; height: 100%;

  background: linear-gradient(to right,transparent,rgba(0,0,0,.09)); z-index: 99; pointer-events: none;

}

.pg-r::before {

  content: ''; position: absolute; top: 0; left: 0; width: 45px; height: 100%;

  background: linear-gradient(to left,transparent,rgba(0,0,0,.09)); z-index: 99; pointer-events: none;

}

.cv-dk { background: linear-gradient(145deg,#030e3a 0%,#001a6e 40%,#020c42 70%,#010824 100%) !important; }

.cv-dk::after, .cv-dk::before { display: none; }

 

/* ==========================================

   PAGE CONTENT

   ========================================== */

.pc {

  padding: 22px 20px 18px 22px; height: 100%; overflow: hidden;

  position: relative; z-index: 1; display: flex; flex-direction: column;

}

.pc.r { padding-left: 26px; }

 

/* Typography */

.rh  { font-size: 6.5px; font-weight: 500; letter-spacing: 3.5px; text-transform: uppercase; color: var(--bk-muted); text-align: center; margin-bottom: 6px; flex-shrink: 0; }

.cr  { font-size: 6.5px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--bk-muted); border-bottom: 1px solid rgba(26,16,5,.25); padding-bottom: 4px; margin-bottom: 10px; flex-shrink: 0; }

.h1  { font-family: 'Playfair Display',serif; font-weight: 900; font-size: 21px; line-height: 1.05; color: var(--bk-ink); margin-bottom: 6px; }

.h2  { font-family: 'Playfair Display',serif; font-weight: 700; font-size: 15px; line-height: 1.15; color: var(--bk-ink); margin-bottom: 5px; }

.h3  { font-family: 'Playfair Display',serif; font-weight: 700; font-size: 12px; line-height: 1.2; color: var(--bk-ink); margin-bottom: 4px; }

.deck { font-style: italic; font-size: 9.5px; font-weight: 300; color: var(--bk-muted); line-height: 1.5; margin-bottom: 6px; }

.byl  { font-size: 7px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--bk-accent); margin-bottom: 5px; }

.body { font-size: 9.5px; font-weight: 400; line-height: 1.75; color: #2a1a08; text-align: justify; hyphens: auto; }

.body p+p { text-indent: 1em; }

.drop::first-letter {

  font-family: 'Playfair Display',serif; font-size: 35px; font-weight: 900;

  float: left; line-height: .78; margin: 4px 6px 0 0; color: var(--bk-blue);

}

.pq  { border-top: 1.5px solid var(--bk-ink); border-bottom: 1.5px solid var(--bk-ink); padding: 7px 5px; margin: 8px 0; text-align: center; flex-shrink: 0; }

.pq p { font-family: 'Playfair Display',serif; font-style: italic; font-size: 10.5px; line-height: 1.45; color: var(--bk-ink); }

.pq cite { font-size: 6px; letter-spacing: 2px; color: var(--bk-muted); text-transform: uppercase; display: block; margin-top: 4px; }

.tag  { display: inline-block; font-size: 6px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 2px 7px; margin-bottom: 5px; border-radius: 1px; }

.tbl  { background: var(--bk-blue); color: var(--bk-cream); }

.tgr  { background: #2d5a27; color: var(--bk-cream); }

.trd  { background: var(--bk-accent); color: var(--bk-cream); }

.orn  { text-align: center; color: var(--bk-gold); font-size: 10px; letter-spacing: 6px; margin: 8px 0; flex-shrink: 0; }

hr.t  { border: none; border-top: 1px solid rgba(58,37,16,.18); margin: 7px 0; flex-shrink: 0; }

hr.d  { border: none; border-top: 3px double rgba(26,16,5,.3); margin: 9px 0; flex-shrink: 0; }

 

/* Sidebar data box */

.sdb  { background: var(--bk-blue); color: var(--bk-cream); padding: 10px; margin: 8px 0; flex-shrink: 0; }

.sdbt { font-size: 6px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--bk-gold); border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 5px; margin-bottom: 7px; }

.sdbr { display: flex; justify-content: space-between; align-items: baseline; padding: 3px 0; border-bottom: 1px dotted rgba(255,255,255,.07); }

.sdbr:last-child { border-bottom: none; }

.sdbl { font-size: 8.5px; font-weight: 300; color: rgba(247,241,227,.65); font-style: italic; }

.sdbv { font-family: 'Playfair Display',serif; font-size: 10px; font-weight: 700; color: var(--bk-gold); }

 

/* TOC rows */

.trow { display: flex; justify-content: space-between; align-items: baseline; padding: 5px 0; border-bottom: 1px dotted rgba(58,37,16,.2); }

.trn  { font-size: 10px; font-weight: 400; }

.trp  { font-size: 7px; font-weight: 600; color: var(--bk-blue); letter-spacing: 1px; }

 

/* Event rows */

.evr { display: grid; grid-template-columns: 38px 1fr; gap: 6px; padding: 5px 0; border-bottom: 1px dashed rgba(58,37,16,.15); flex-shrink: 0; }

.evr:last-child { border-bottom: none; }

.evc { background: var(--bk-blue); color: var(--bk-cream); text-align: center; padding: 3px 2px; display: flex; flex-direction: column; align-items: center; justify-content: center; }

.edc { font-family: 'Playfair Display',serif; font-size: 14px; font-weight: 700; line-height: 1; color: var(--bk-gold); }

.emc { font-size: 6px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: rgba(212,165,116,.7); }

.evin h6 { font-size: 9.5px; font-weight: 600; color: var(--bk-ink); margin-bottom: 1px; }

.evin p  { font-size: 8px; font-weight: 300; color: var(--bk-muted); font-style: italic; }

 

/* Cover elements */

.cv { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px 24px; }

.cv-ring { width: 70px; height: 70px; border: 1px solid rgba(212,165,116,.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }

.cv-vol  { font-size: 6.5px; font-weight: 500; letter-spacing: 5px; text-transform: uppercase; color: rgba(212,165,116,.4); margin-bottom: 8px; }

.cv-tit  { font-family: 'Playfair Display',serif; font-weight: 900; font-size: 29px; line-height: 1; color: var(--bk-gold); margin-bottom: 4px; }

.cv-sub  { font-style: italic; font-size: 10px; font-weight: 300; color: rgba(212,165,116,.3); margin-bottom: 12px; }

.cv-rl   { width: 38px; height: 1px; background: var(--bk-gold); opacity: .22; margin: 0 auto 12px; }

.cv-bx   { border: 1px solid rgba(212,165,116,.14); padding: 8px 16px; font-size: 6.5px; font-weight: 400; letter-spacing: 3px; color: rgba(212,165,116,.4); text-transform: uppercase; line-height: 2.3; }

.cv-dp   { font-size: 6.5px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: rgba(212,165,116,.25); margin-top: 10px; }

 

/* Flip hint */

.flip-hint { position: absolute; bottom: 12px; right: 16px; font-size: 6px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: rgba(122,106,82,.4); pointer-events: none; z-index: 90; }

 

/* ==========================================

   PROF CHIP (no photo upload)

   ========================================== */

.prof-chip {

  display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-shrink: 0;

}

.prof-av-icon {

  width: 46px; height: 46px; border-radius: 50%;

  border: 1.5px solid var(--bk-gold); overflow: hidden; flex-shrink: 0;

  background: linear-gradient(135deg,#001a6e,#0a2a8a);

  display: flex; align-items: center; justify-content: center;

}

.prof-av-icon svg { display: block; }

.prof-name { font-size: 10px; font-weight: 600; color: var(--bk-ink); line-height: 1.2; }

.prof-role { font-size: 6.5px; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; color: var(--bk-muted); }

 

/* ==========================================

   INFOGRAPHIC CARD — Director (SP-2 Left)

   ========================================== */

.infographic-card {

  border-radius: 5px; overflow: hidden; margin-bottom: 8px;

  flex-shrink: 0; border: 1px solid rgba(0,36,114,.12);

}

.director-card {

  background: linear-gradient(135deg, #001a6e 0%, #002472 50%, #0a2a8a 100%);

}

.ic-header {

  display: flex; align-items: center; gap: 8px;

  padding: 8px 10px 6px;

}

.ic-icon-wrap {

  width: 30px; height: 30px; border-radius: 50%;

  background: rgba(212,165,116,.18); border: 1px solid rgba(212,165,116,.4);

  display: flex; align-items: center; justify-content: center;

  color: var(--nl-gold); font-size: 13px; flex-shrink: 0;

}

.ic-name { font-family: 'Playfair Display',serif; font-size: 10px; font-weight: 700; color: var(--nl-gold); line-height: 1.2; }

.ic-sub  { font-size: 6.5px; letter-spacing: 2px; text-transform: uppercase; color: rgba(212,165,116,.5); margin-top: 1px; }

.ic-stats-row {

  display: flex; border-top: 1px solid rgba(212,165,116,.1);

  border-bottom: 1px solid rgba(212,165,116,.1);

}

.ic-stat {

  flex: 1; text-align: center; padding: 6px 4px;

  border-right: 1px solid rgba(212,165,116,.1);

  display: flex; flex-direction: column; gap: 1px;

}

.ic-stat:last-child { border-right: none; }

.ic-num  { font-family: 'Playfair Display',serif; font-size: 13px; font-weight: 900; color: var(--nl-gold); line-height: 1; }

.ic-lbl  { font-size: 5.5px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(212,165,116,.45); }

.ic-quote {

  padding: 7px 10px; font-size: 7.5px; font-style: italic;

  font-weight: 300; color: rgba(212,165,116,.55); text-align: center; line-height: 1.6;

}

 

/* ==========================================

   HIGHLIGHTS STRIP — Principal (SP-2 Right)

   ========================================== */

.highlights-strip {

  background: rgba(0,36,114,.07); border: 1px solid rgba(0,36,114,.12);

  border-radius: 4px; padding: 8px 10px; margin-bottom: 8px; flex-shrink: 0;

}

.hs-title {

  font-size: 7px; font-weight: 700; letter-spacing: 2px;

  text-transform: uppercase; color: var(--bk-blue);

  margin-bottom: 7px; display: flex; align-items: center; gap: 5px;

}

.hs-title i { color: var(--bk-gold); font-size: 8px; }

.hs-row {

  display: flex; align-items: center; gap: 5px; margin-bottom: 5px;

}

.hs-row:last-child { margin-bottom: 0; }

.hs-label { font-size: 7.5px; font-weight: 500; color: var(--bk-muted); width: 70px; flex-shrink: 0; }

.hs-bar-wrap {

  flex: 1; height: 5px; background: rgba(0,36,114,.1);

  border-radius: 3px; overflow: hidden;

}

.hs-bar {

  height: 100%;

  background: linear-gradient(90deg, var(--bk-blue), var(--bk-gold));

  border-radius: 3px; transition: width .8s ease;

}

.hs-val { font-size: 7.5px; font-weight: 700; color: var(--bk-blue); width: 28px; text-align: right; flex-shrink: 0; }

 

/* ==========================================

   DEPT MOSAIC — HoD (SP-3 Left)

   ========================================== */

.dept-mosaic {

  background: var(--bk-blue); border-radius: 4px;

  padding: 8px 10px; margin-top: 6px; flex-shrink: 0;

}

.dm-title {

  font-size: 6.5px; font-weight: 700; letter-spacing: 2.5px;

  text-transform: uppercase; color: var(--nl-gold);

  margin-bottom: 7px; display: flex; align-items: center; gap: 5px;

}

.dm-title i { font-size: 8px; }

.dm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 6px; }

.dm-cell {

  border-radius: 3px; padding: 5px 6px;

  display: flex; flex-direction: column; align-items: center; gap: 1px;

}

.dm-c1 { background: rgba(212,165,116,.15); }

.dm-c2 { background: rgba(45,90,39,.35); }

.dm-c3 { background: rgba(139,26,26,.3); }

.dm-c4 { background: rgba(255,255,255,.07); }

.dm-num {

  font-family: 'Playfair Display',serif; font-size: 16px;

  font-weight: 900; color: var(--nl-gold); line-height: 1;

}

.dm-lbl { font-size: 6px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(212,165,116,.6); }

.dm-caption { font-size: 6px; font-style: italic; color: rgba(212,165,116,.35); text-align: center; }

 

/* ==========================================

   EVENT PANELS — SP-4, SP-5, SP-6

   ========================================== */

.event-panel {

  border-radius: 5px; padding: 8px 10px;

  margin-bottom: 7px; flex-shrink: 0;

  border: 1px solid transparent;

}

.event-panel.ep-compact { padding: 6px 8px; margin-bottom: 5px; }

.ep-green { background: rgba(45,90,39,.1); border-color: rgba(45,90,39,.25); }

.ep-navy  { background: rgba(0,36,114,.08); border-color: rgba(0,36,114,.2); }

.ep-teal  { background: rgba(0,96,114,.08); border-color: rgba(0,96,114,.2); }

.ep-red   { background: rgba(139,26,26,.08); border-color: rgba(139,26,26,.2); }

 

.ep-icon-row {

  display: flex; align-items: center; gap: 7px; margin-bottom: 7px;

}

.event-panel.ep-compact .ep-icon-row { margin-bottom: 4px; }

.ep-icon-box {

  width: 26px; height: 26px; border-radius: 50%;

  display: flex; align-items: center; justify-content: center;

  font-size: 11px; flex-shrink: 0;

  background: var(--bk-blue); color: var(--nl-gold);

}

.ep-icon-box.ep-sm { width: 20px; height: 20px; font-size: 9px; }

.ep-meta { display: flex; flex-direction: column; gap: 2px; }

.ep-tag {

  font-size: 7px; font-weight: 700; letter-spacing: 2px;

  text-transform: uppercase; color: var(--bk-blue);

}

.ep-org { font-size: 7.5px; font-weight: 300; color: var(--bk-muted); }

 

.ep-stats {

  display: flex; gap: 8px; margin-bottom: 7px;

}

.ep-stat {

  display: flex; flex-direction: column; align-items: center; gap: 1px;

  background: rgba(255,255,255,.6); border-radius: 3px;

  padding: 4px 7px; flex: 1;

}

.ep-stat i   { font-size: 7px; color: var(--bk-gold); }

.ep-stat span{ font-family: 'Playfair Display',serif; font-size: 12px; font-weight: 900; color: var(--bk-blue); line-height: 1; }

.ep-stat small{ font-size: 6px; letter-spacing: 1px; text-transform: uppercase; color: var(--bk-muted); }

 

.ep-topics { display: flex; flex-wrap: wrap; gap: 4px; }

.ep-pill {

  font-size: 6px; font-weight: 700; letter-spacing: 1px;

  text-transform: uppercase; padding: 2px 6px; border-radius: 20px;

  background: var(--bk-blue); color: var(--nl-gold);

}

 

/* ==========================================

   MOU PANEL — SP-6 Right

   ========================================== */

.mou-panel {

  background: linear-gradient(135deg, #001a6e 0%, #002472 100%);

  border-radius: 5px; padding: 10px; margin-bottom: 8px; flex-shrink: 0;

}

.mou-header {

  display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px;

}

.mou-org { display: flex; flex-direction: column; align-items: center; gap: 3px; }

.mou-org-icon {

  width: 28px; height: 28px; border-radius: 50%;

  background: rgba(212,165,116,.18); border: 1px solid rgba(212,165,116,.4);

  display: flex; align-items: center; justify-content: center;

  color: var(--nl-gold); font-size: 12px;

}

.mou-org-name { font-size: 9px; font-weight: 700; color: var(--nl-gold); text-align: center; }

.mou-org-sub  { font-size: 6px; color: rgba(212,165,116,.5); text-align: center; }

.mou-center-icon {

  font-size: 20px; color: var(--nl-gold); opacity: .6;

  animation: pulse 2s ease-in-out infinite;

}

@keyframes pulse { 0%,100%{opacity:.4;} 50%{opacity:.9;} }

.mou-date {

  text-align: center; font-size: 6.5px; letter-spacing: 2px;

  text-transform: uppercase; color: rgba(212,165,116,.45);

  border-top: 1px solid rgba(212,165,116,.1); padding-top: 5px;

}

 

/* ==========================================

   FACULTY INFOGRAPHIC — SP-7 Left

   ========================================== */

.faculty-infographic {

  background: rgba(0,36,114,.06); border: 1px solid rgba(0,36,114,.12);

  border-radius: 4px; padding: 8px 10px; margin-bottom: 8px; flex-shrink: 0;

}

.fi-title {

  font-size: 7px; font-weight: 700; letter-spacing: 2px;

  text-transform: uppercase; color: var(--bk-blue);

  margin-bottom: 7px; display: flex; align-items: center; gap: 5px;

}

.fi-title i { color: var(--bk-gold); font-size: 9px; }

.fi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 6px; }

.fi-block {

  border-radius: 3px; padding: 6px 5px;

  display: flex; flex-direction: column; align-items: center; gap: 2px;

  text-align: center;

}

.fi-fdp  { background: rgba(0,36,114,.12); }

.fi-nptel{ background: rgba(45,90,39,.12); }

.fi-pub  { background: rgba(139,26,26,.08); }

.fi-proj { background: rgba(212,165,116,.12); }

.fi-block-icon { font-size: 10px; color: var(--bk-blue); opacity: .6; }

.fi-block-num {

  font-family: 'Playfair Display',serif; font-size: 15px;

  font-weight: 900; color: var(--bk-blue); line-height: 1;

}

.fi-block-lbl { font-size: 6px; letter-spacing: 1px; text-transform: uppercase; color: var(--bk-muted); }

.fi-caption { font-size: 6.5px; font-style: italic; color: var(--bk-muted); text-align: center; }

 

/* ==========================================

   RESEARCH PANEL — SP-7 Right

   ========================================== */

.research-panel {

  background: rgba(0,36,114,.05); border: 1px solid rgba(0,36,114,.12);

  border-radius: 4px; padding: 8px 10px; margin-bottom: 8px; flex-shrink: 0;

}

.rp-title {

  font-size: 7px; font-weight: 700; letter-spacing: 2px;

  text-transform: uppercase; color: var(--bk-blue);

  margin-bottom: 7px; display: flex; align-items: center; gap: 5px;

}

.rp-title i { color: var(--bk-gold); font-size: 9px; }

.rp-domains { display: flex; flex-direction: column; gap: 4px; margin-bottom: 6px; }

.rp-domain {

  display: flex; align-items: center; gap: 5px;

}

.rp-dot {

  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;

}

.rp-d1 { background: #002472; }

.rp-d2 { background: #2d5a27; }

.rp-d3 { background: #8b1a1a; }

.rp-d4 { background: #5a4a2e; }

.rp-d5 { background: #1a5a6a; }

.rp-name  { font-size: 8.5px; font-weight: 400; color: var(--bk-ink); flex: 1; }

.rp-count {

  font-family: 'Playfair Display',serif; font-size: 11px;

  font-weight: 700; color: var(--bk-blue); min-width: 14px; text-align: right;

}

.rp-total {

  font-size: 6.5px; font-style: italic; color: var(--bk-muted);

  text-align: center; border-top: 1px solid rgba(0,36,114,.1); padding-top: 5px;

}

 

/* ==========================================

   STUDENT ACHIEVEMENT PANEL — SP-8 Left

   ========================================== */

.student-achieve-panel {

  background: rgba(0,36,114,.05); border: 1px solid rgba(0,36,114,.12);

  border-radius: 4px; padding: 8px 10px; margin-bottom: 8px; flex-shrink: 0;

}

.sap-title {

  font-size: 7px; font-weight: 700; letter-spacing: 2px;

  text-transform: uppercase; color: var(--bk-blue);

  margin-bottom: 7px; display: flex; align-items: center; gap: 5px;

}

.sap-title i { color: var(--bk-gold); font-size: 9px; }

.sap-rows { display: flex; flex-direction: column; gap: 4px; }

.sap-row {

  display: flex; align-items: center; gap: 6px;

  padding: 4px 0; border-bottom: 1px dashed rgba(0,36,114,.1);

}

.sap-row:last-child { border-bottom: none; }

.sap-icon {

  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;

  display: flex; align-items: center; justify-content: center;

  font-size: 8px;

}

.sap-sym  { background: rgba(0,36,114,.15); color: #002472; }

.sap-hack { background: rgba(139,26,26,.12); color: #8b1a1a; }

.sap-npt  { background: rgba(45,90,39,.12); color: #2d5a27; }

.sap-rank { background: rgba(212,165,116,.2); color: #7a4a00; }

.sap-info { flex: 1; display: flex; flex-direction: column; gap: 1px; }

.sap-cat  { font-size: 8px; font-weight: 700; color: var(--bk-blue); }

.sap-detail { font-size: 7px; font-weight: 300; color: var(--bk-muted); }

.sap-num {

  font-family: 'Playfair Display',serif; font-size: 14px;

  font-weight: 900; color: var(--bk-blue); min-width: 18px; text-align: right;

}

 

/* ==========================================

   INTERNSHIP PANEL — SP-8 Right

   ========================================== */

.internship-panel {

  background: rgba(0,36,114,.05); border: 1px solid rgba(0,36,114,.12);

  border-radius: 4px; padding: 8px 10px; margin-bottom: 8px; flex-shrink: 0;

}

.ip-title {

  font-size: 7px; font-weight: 700; letter-spacing: 2px;

  text-transform: uppercase; color: var(--bk-blue);

  margin-bottom: 6px; display: flex; align-items: center; gap: 5px;

}

.ip-title i { color: var(--bk-gold); font-size: 9px; }

.ip-companies { display: flex; flex-direction: column; gap: 3px; margin-bottom: 5px; }

.ip-co { font-size: 8px; font-weight: 300; color: var(--bk-ink); display: flex; align-items: center; gap: 5px; }

.ip-dot {

  width: 5px; height: 5px; border-radius: 50%;

  background: var(--bk-gold); flex-shrink: 0;

}

.ip-total {

  font-size: 7px; font-weight: 700; color: var(--bk-blue);

  letter-spacing: 1px; text-align: center;

  border-top: 1px solid rgba(0,36,114,.1); padding-top: 5px;

}

 

/* ==========================================

   TOPPERS PANEL — SP-8 Right

   ========================================== */

.toppers-panel {

  background: rgba(212,165,116,.08); border: 1px solid rgba(212,165,116,.2);

  border-radius: 4px; padding: 7px 10px; flex-shrink: 0;

}

.tp-title {

  font-size: 7px; font-weight: 700; letter-spacing: 2px;

  text-transform: uppercase; color: #7a4a00;

  margin-bottom: 6px; display: flex; align-items: center; gap: 5px;

}

.tp-title i { font-size: 8px; }

.tp-rows { display: flex; flex-direction: column; gap: 4px; }

.tp-row {

  display: flex; align-items: center; gap: 6px;

  padding: 3px 0; border-bottom: 1px dashed rgba(212,165,116,.2);

}

.tp-row:last-child { border-bottom: none; }

.tp-medal { font-size: 10px; }

.tp-name  { font-size: 9px; font-weight: 600; color: var(--bk-ink); flex: 1; }

.tp-cgpa  {

  font-family: 'Playfair Display',serif; font-size: 12px;

  font-weight: 900; color: var(--bk-gold);

}

 

/* ==========================================

   FLIPPER

   ========================================== */

#flipper {

  position: absolute; top: 0;

  width: var(--bk-page-W); height: var(--bk-H);

  transform-style: preserve-3d; z-index: 800; pointer-events: none; display: none;

}

#flipper.on { display: block; }

.ff, .fb { position: absolute; inset: 0; backface-visibility: hidden; overflow: hidden; }

.ff {

  background: linear-gradient(to right,#c8bc9e 0%,var(--bk-aged) 5%,var(--bk-paper) 12%,var(--bk-paper) 100%);

  border-radius: 0 3px 3px 0;

}

.fb {

  transform: rotateY(180deg);

  background: linear-gradient(to left,#c8bc9e 0%,var(--bk-aged) 5%,var(--bk-paper) 12%,var(--bk-paper) 100%);

  border-radius: 3px 0 0 3px;

}

.ff::before {

  content: ''; position: absolute; inset: 0;

  background: linear-gradient(to right,rgba(0,0,0,.3) 0%,rgba(0,0,0,.07) 22%,transparent 55%);

  z-index: 2; pointer-events: none;

}

.fb::before {

  content: ''; position: absolute; inset: 0;

  background: linear-gradient(to left,rgba(0,0,0,.3) 0%,rgba(0,0,0,.07) 22%,transparent 55%);

  z-index: 2; pointer-events: none;

}

.ff::after {

  content: ''; position: absolute; inset: 0;

  background: linear-gradient(108deg,transparent 30%,rgba(255,255,255,.12) 50%,transparent 70%);

  z-index: 3; pointer-events: none;

}

.fb::after {

  content: ''; position: absolute; inset: 0;

  background: linear-gradient(-108deg,transparent 30%,rgba(255,255,255,.1) 50%,transparent 70%);

  z-index: 3; pointer-events: none;

}

 

/* ==========================================

   BOOK NAV BAR

   ========================================== */

.bk-nav {

  display: flex; align-items: center; justify-content: center;

  gap: 18px; width: var(--bk-W);

}

.nav-btn {

  background: none; border: 1px solid rgba(212,165,116,.3);

  color: var(--bk-gold); font-family: 'Poppins',sans-serif;

  font-size: 9px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;

  padding: 11px 34px; cursor: pointer; transition: all .25s;

  flex-shrink: 0; position: relative; overflow: hidden;

}

.nav-btn::before {

  content: ''; position: absolute; inset: 0;

  background: var(--bk-gold); transform: translateX(-101%);

  transition: transform .25s; z-index: -1;

}

.nav-btn:hover:not(:disabled)::before { transform: translateX(0); }

.nav-btn:hover:not(:disabled) { color: var(--bk-blue); border-color: var(--bk-gold); }

.nav-btn:disabled { opacity: .18; cursor: default; }

.nav-ctr { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; }

.nav-lbl {

  font-size: 10px; font-weight: 300; font-style: italic;

  color: rgba(212,165,116,.5); text-align: center;

  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 420px;

}

.dots { display: flex; gap: 8px; align-items: center; }

.dot  {

  width: 6px; height: 6px; border-radius: 50%;

  background: rgba(212,165,116,.15); border: 1px solid rgba(212,165,116,.25);

  cursor: pointer; transition: all .25s;

}

.dot.on {

  background: var(--bk-gold); border-color: var(--bk-gold);

  transform: scale(1.35); box-shadow: 0 0 8px rgba(212,165,116,.4);

}

.dot:hover:not(.on) { background: rgba(212,165,116,.35); }

 

/* ==========================================

   RESPONSIVE — Book

   ========================================== */

@media (max-width: 1000px) {

  :root { --bk-W: 720px; --bk-H: 455px; }

  .bk-nav { width: 720px; }

}

@media (max-width: 800px) {

  :root { --bk-W: 575px; --bk-H: 375px; }

  .bk-nav { width: 575px; }

  .pc, .pc.r { padding: 13px 11px; }

  .h1 { font-size: 16px; } .h2 { font-size: 12px; }

  .body { font-size: 8.5px; }

  .infographic-card { margin-bottom: 5px; }

  .ic-num { font-size: 11px; }

  .highlights-strip { padding: 6px 8px; }

  .dept-mosaic { padding: 6px 8px; }

  .faculty-infographic { padding: 6px 8px; }

  .research-panel { padding: 6px 8px; }

  .student-achieve-panel { padding: 6px 8px; }

  .internship-panel { padding: 6px 8px; }

  .toppers-panel { padding: 5px 8px; }

}

@media (max-width: 640px) {

  :root { --bk-W: 355px; --bk-H: 248px; --bk-GAP: 26px; }

  .bk-nav { width: 355px; }

  .nav-btn { padding: 9px 12px; font-size: 7px; }

  .pc, .pc.r { padding: 9px 8px; }

  .h1 { font-size: 12px; } .h2 { font-size: 10px; }

  .body { font-size: 7.5px; line-height: 1.6; }

  .ic-stats-row { display: none; }

  .ic-quote { font-size: 6.5px; }

  .hs-title { font-size: 6px; }

  .hs-label { width: 52px; font-size: 6px; }

  .hs-val   { font-size: 6px; }

  .dm-num   { font-size: 12px; }

  .ep-stats { gap: 4px; }

  .ep-stat span { font-size: 10px; }

  .fi-block-num { font-size: 12px; }

  .rp-name  { font-size: 7.5px; }

  .sap-detail { display: none; }

  .ip-co    { font-size: 7px; }

  .tp-name  { font-size: 8px; }

}

@media (max-width: 400px) {

  :root { --bk-W: 315px; --bk-H: 220px; --bk-GAP: 22px; }

  .bk-nav { width: 315px; }

  .pc, .pc.r { padding: 7px 7px; }

  .body { font-size: 7px; line-height: 1.55; }

}

 

/* ==========================================

   REDUCED MOTION

   ========================================== */

@media (prefers-reduced-motion: reduce) {

  .mou-center-icon { animation: none; opacity: .7; }

}

 



/* ==========================================

   FACULTY

   ========================================== */

.faculty-section  { background: var(--bg-light); padding: 5rem 0; }

.faculty-nav-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3rem; margin-top: 3rem; }

.faculty-nav-card { background: var(--white); border-radius: 25px; overflow: hidden; box-shadow: var(--shadow); transition: all .4s cubic-bezier(.4,0,.2,1); border: 2px solid transparent; position: relative; }

.faculty-nav-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg,var(--blue),var(--accent-gold)); transform: scaleX(0); transition: transform .4s ease; }

.faculty-nav-card:hover { transform: translateY(-15px); box-shadow: var(--shadow-lg); border-color: var(--accent-gold); }

.faculty-nav-card:hover::before { transform: scaleX(1); }

.faculty-nav-link { display: block; padding: 3rem 2.5rem; text-decoration: none; color: var(--text-dark); text-align: center; position: relative; }

.faculty-nav-icon { width: 110px; height: 110px; margin: 0 auto 2rem; background: linear-gradient(135deg,var(--blue),var(--secondary-brown)); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all .4s ease; position: relative; overflow: hidden; }

.faculty-nav-icon::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%; background: var(--accent-gold); transform: translate(-50%,-50%); transition: all .4s ease; }

.faculty-nav-card:hover .faculty-nav-icon::before { width: 120%; height: 120%; }

.faculty-nav-icon i { font-size: 3rem; color: var(--white); position: relative; z-index: 1; transition: all .4s ease; }

.faculty-nav-card:hover .faculty-nav-icon i { transform: scale(1.15) rotate(5deg); color: var(--secondary-brown); }

.faculty-nav-link h3 { font-size: 1.6rem; color: var(--blue); margin-bottom: .8rem; font-weight: 700; transition: color .3s ease; }

.faculty-nav-card:hover .faculty-nav-link h3 { color: var(--accent-gold); }

.faculty-nav-link p  { color: var(--text-light); line-height: 1.7; font-size: .95rem; margin-bottom: 1.5rem; }

.nav-arrow { display: inline-block; font-size: 1.8rem; color: var(--accent-gold); font-weight: 700; transition: all .3s ease; }

.faculty-nav-card:hover .nav-arrow { transform: translateX(10px); color: var(--blue); }



/* ==========================================

   ACHIEVEMENTS

   ========================================== */

.achievements-section { background: var(--white); padding: 5rem 0; }

.achievements-grid    { display: grid; grid-template-columns: repeat(2,1fr); gap: 3rem; margin-top: 3rem; }

.achievement-category { background: var(--bg-light); padding: 3rem; border-radius: 20px; box-shadow: var(--shadow); }

.achievement-category h3 { font-size: 1.8rem; color: var(--blue); margin-bottom: 2rem; display: flex; align-items: center; gap: 1rem; }

.achievement-item { padding: 1.5rem 0; border-bottom: 1px solid rgba(0,0,0,.1); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }

.achievement-item:last-child { border-bottom: none; }

.student-name { font-weight: 600; color: var(--text-dark); }

.rank-badge   { background: var(--accent-gold); color: var(--white); padding: .5rem 1rem; border-radius: 50px; font-weight: 600; white-space: nowrap; }



/* ==========================================

   TRAINING

   ========================================== */

.training-section { background: #f8f9fa; padding: 5rem 0 0; position: relative; overflow: hidden; }

.tr-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 2.2rem 0 0; position: relative; z-index: 1; }

.tr-tab  { padding: 9px 26px; border-radius: 100px; border: 1.5px solid rgba(0,36,114,.2); background: #fff; color: #555; font-family: 'Poppins',sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; cursor: pointer; outline: none; transition: all .22s ease; }

.tr-tab:hover  { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }

.tr-tab.active { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(0,36,114,.25); }

.tr-marquee-section { position: relative; padding: 3rem 0 5rem; }

.tr-marquee-outer   { position: relative; width: 100%; overflow: hidden; padding: 10px 0 18px; }

.tr-fade { position: absolute; top: 0; bottom: 0; width: 160px; z-index: 10; pointer-events: none; }

.tr-fade--left  { left:  0; background: linear-gradient(to right, #f8f9fa 0%, transparent 100%); }

.tr-fade--right { right: 0; background: linear-gradient(to left,  #f8f9fa 0%, transparent 100%); }

.tr-marquee-viewport { overflow: hidden; width: 100%; }

.tr-marquee-track    { display: flex; gap: 24px; width: max-content; will-change: transform; }

.tr-card { width: 280px; flex-shrink: 0; background: #fff; border-radius: 16px; padding: 1.6rem; box-shadow: 0 4px 20px rgba(0,36,114,.08); border: 1px solid rgba(0,36,114,.06); border-left: 4px solid var(--accent-gold); display: flex; flex-direction: column; gap: 10px; transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s cubic-bezier(.4,0,.2,1), border-left-color .3s ease; cursor: default; }

.tr-card:hover { transform: translateY(-10px); box-shadow: 0 20px 48px rgba(0,36,114,.14); border-left-color: var(--blue); }

.tr-card__name  { font-size: 1rem; font-weight: 700; color: var(--blue); line-height: 1.35; }

.tr-card__chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

.tr-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 100px; font-family: 'Poppins',sans-serif; font-size: 7.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap; }

.tr-chip i { font-size: 0.58rem; }

.chip-iv       { background: #eef3ff; color: #1a3a9e; border: 1px solid #c5d0f5; }

.chip-iii      { background: #eefbf3; color: #1a7c3e; border: 1px solid #b0e8c5; }

.chip-ii       { background: #fff4e8; color: #b05a00; border: 1px solid #f5d9b0; }

.chip-i        { background: #fef0f8; color: #9c2070; border: 1px solid #f0b8dc; }

.chip-students { background: #f4f7ff; color: var(--blue); border: 1px solid rgba(0,36,114,.12); }

.chip-type     { background: #f5f5f5; color: #555; border: 1px solid #e0e0e0; }

.tr-card__date, .tr-card__city { font-size: .78rem; color: var(--text-light); display: flex; align-items: center; gap: 6px; line-height: 1.4; }

.tr-card__date i, .tr-card__city i { color: var(--accent-gold); font-size: .65rem; flex-shrink: 0; }



/* ==========================================

   CTA

   ========================================== */

.cta-section { background: linear-gradient(135deg,var(--secondary-brown) 0%,var(--blue) 100%); padding: 5rem 2rem; text-align: center; color: var(--white); position: relative; overflow: hidden; }

.cta-section::before { content: ''; position: absolute; inset: 0; background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid2" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid2)"/></svg>'); opacity: .3; }

.cta-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }

.cta-content h2 { font-size: 2.8rem; margin-bottom: 1.5rem; font-weight: 700; }

.cta-content p  { font-size: 1.2rem; margin-bottom: 2.5rem; color: var(--accent-gold); }

.cta-button { display: inline-block; padding: 1.1rem 2.8rem; background: var(--accent-gold); color: var(--secondary-brown); text-decoration: none; border-radius: 50px; font-weight: 600; font-size: 1.05rem; transition: var(--transition); box-shadow: 0 10px 30px rgba(212,165,116,.3); }

.cta-button:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(212,165,116,.4); }



/* ==========================================

   FOOTER

   ========================================== */

.footer { background: var(--secondary-brown); color: var(--white); padding: 4rem 0 1rem; }

.footer-grid  { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 3rem; margin-bottom: 3rem; }

.footer-title { color: var(--accent-gold); font-size: 1.2rem; margin-bottom: 1.5rem; font-weight: 600; }

.footer-contact, .footer-links { list-style: none; }

.footer-contact li { display: flex; gap: 1rem; margin-bottom: 1rem; color: #ddd; }

.footer-contact i  { color: var(--accent-gold); width: 20px; flex-shrink: 0; margin-top: 2px; }

.footer-links li   { margin-bottom: .8rem; }

.footer-links a    { color: #ddd; text-decoration: none; transition: var(--transition); display: inline-block; }

.footer-links a:hover { color: var(--accent-gold); padding-left: .5rem; }

.footer-social     { margin-top: 2rem; }

.footer-social h4  { color: var(--accent-gold); font-size: 1rem; margin-bottom: 1rem; }

.social-links      { display: flex; gap: 1rem; }

.social-links a    { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: rgba(255,255,255,.1); border-radius: 50%; color: var(--white); text-decoration: none; transition: var(--transition); }

.social-links a:hover { background: var(--accent-gold); transform: translateY(-3px); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 2rem; text-align: center; color: #ddd; font-size: 0.85rem; }

.footer-bottom p   { margin-bottom: .5rem; }

.footer-bottom a   { color: var(--accent-gold); text-decoration: none; }



/* ==========================================

   SCROLL TO TOP

   ========================================== */

.scroll-top { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: var(--white); border: none; font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999; box-shadow: 0 4px 20px rgba(0,0,0,.2); display: flex; align-items: center; justify-content: center; }

.scroll-top.show  { opacity: 1; visibility: visible; }

.scroll-top:hover { transform: translateY(-4px); box-shadow: 0 6px 24px rgba(0,0,0,.3); }



/* ==========================================

   ANIMATIONS

   ========================================== */

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transform: translateY(50px); transition: all .8s ease-out; }

.reveal.active { opacity: 1; transform: translateY(0); }



/* ==========================================

   RESPONSIVE — Book

   ========================================== */

@media (max-width: 1000px) {

    :root { --bk-W: 720px; --bk-H: 455px; }

    .bk-nav { width: 720px; }

}

@media (max-width: 800px) {

    :root { --bk-W: 575px; --bk-H: 375px; }

    .bk-nav { width: 575px; }

    .pc, .pc.r { padding: 13px 11px; }

    .h1 { font-size: 16px; } .h2 { font-size: 12px; }

    .body { font-size: 8.5px; }

}

@media (max-width: 640px) {

    :root { --bk-W: 355px; --bk-H: 248px; --bk-GAP: 26px; }

    .bk-nav { width: 355px; }

    .nav-btn { padding: 9px 12px; font-size: 7px; }

    .pc, .pc.r { padding: 9px 8px; }

    .h1 { font-size: 12px; } .h2 { font-size: 10px; }

    .body { font-size: 7.5px; line-height: 1.6; }

}



/* ==========================================

   RESPONSIVE — ≤1200px

   ========================================== */

@media (max-width: 1200px) {

    .section-title { font-size: 2.1rem; }

    .programs-grid { grid-template-columns: 1fr; }

    .faculty-nav-grid { grid-template-columns: repeat(2,1fr); }

 

    /* ← ADD THESE TWO LINES */

    .nav-item > a { padding: 0 0.6rem; font-size: 0.74rem; }

}

 

/* ← ADD THIS ENTIRE NEW BLOCK */

@media (max-width: 1024px) {

    .nav-item > a { padding: 0 0.48rem; font-size: 0.7rem; gap: 0.18rem; }

    .nav-item > a .nav-icon,

    .nav-item > a .nav-icon-wrapper { font-size: 0.66rem; }

}

 



/* ==========================================

   RESPONSIVE — ≤992px

   ========================================== */

@media (max-width: 992px) {

    .about-grid, .vm-grid, .achievements-grid, .infrastructure-grid { grid-template-columns: 1fr; }

    .stats-grid { grid-template-columns: repeat(2,1fr); }

    .faculty-nav-grid { grid-template-columns: 1fr; gap: 2rem; }

    .hero { height: 50vw; min-height: 260px; max-height: 480px; }

}



/* ==========================================

   RESPONSIVE — ≤768px

   ========================================== */

@media (max-width: 768px) {

    :root {

        --topbar-h:  0px;

       --header-h:  90px;

        --nav-h:     52px;

    }

 

    .top-bar { display: none; }

 

    .header-logo img,

    .header-logo-fallback { height: 54px; width: 54px; font-size: 1.2rem; border-radius: 8px; }

    .header-divider { height: 38px; }

    .header-badges  { display: none; }

    .header-info    { display: none; }

    .header-text h1 { font-size: clamp(0.78rem, 3.2vw, 1rem); white-space: normal; }

    .header-subtitle { font-size: 0.7rem; }

 

    /* Show hamburger */

    .hamburger { display: flex !important; }

 

    /* Mobile nav drawer */

    .nav-links {

        position: fixed;

        top: 0;

        right: -100%;

        width: min(80vw, 290px);

        height: 100vh;

        background: #001a5e;

        flex-direction: column !important;

        align-items: stretch !important;

        justify-content: flex-start !important;

        flex-wrap: nowrap !important;

        gap: 0;

        padding-top: calc(var(--header-h) + var(--nav-h) + 4px); /* only here */

        padding-bottom: 2rem;

        overflow-y: auto;

        overflow-x: hidden;

        box-shadow: -6px 0 30px rgba(0,0,0,0.45);

        transition: right 0.3s cubic-bezier(0.4,0,0.2,1);

        z-index: 999;

        height: 100vh !important; /* override the var(--nav-h) for mobile */

    }

 

    .nav-links.active { right: 0; }

 

    .nav-item {

        height: auto !important;

        flex-direction: column !important;

        align-items: stretch !important;

        width: 100% !important;

        flex-shrink: 1 !important;

    }

 

    .nav-item > a {

        height: auto !important;

        padding: 0.9rem 1.4rem !important;

        border-right: none !important;

        border-left: none !important;

        border-bottom: 1px solid rgba(255,255,255,0.07) !important;

        font-size: 0.9rem !important;

        line-height: 1.5 !important;

        justify-content: flex-start !important;

        gap: 0.75rem !important;

        white-space: normal !important;

    }

 

    /* Caret right-aligned on mobile */

    .nav-item.has-dropdown > a .nav-text::after {

        margin-left: auto;

        float: right;

    }

    .nav-item.has-dropdown.open > a .nav-text::after {

        transform: rotate(180deg);

    }

 

    /* Suppress CSS hover dropdown on mobile */

    .nav-item.has-dropdown:hover .dropdown-menu {

        display: none !important;

    }

 

    /* Mobile accordion dropdown */

    .dropdown-menu {

        display: none !important;

        position: static !important;

        border-top: none !important;

        border-radius: 0 !important;

        box-shadow: none !important;

        background: rgba(0,0,0,0.2) !important;

        padding: 0 !important;

        min-width: 100% !important;

    }

 

    .nav-item.has-dropdown.open .dropdown-menu {

        display: flex !important;

        flex-direction: column !important;

    }

 

    .dropdown-menu a {

        padding: 0.65rem 1.4rem 0.65rem 3rem !important;

        font-size: 0.83rem !important;

        border-bottom: 1px solid rgba(255,255,255,0.05) !important;

        white-space: normal !important;

    }

    .dropdown-menu a:hover {

        padding-left: 3.3rem !important;

        background: rgba(255,255,255,0.08) !important;

    }

 

    .hero { height: 56vw; min-height: 220px; max-height: 380px; }

    .stats-grid   { grid-template-columns: 1fr; }

    .footer-grid  { grid-template-columns: 1fr; }

    .section-title { font-size: 1.9rem; }

    .act-card { width: 260px; }

    .act-card__img { height: 165px; }

    .act-fade { width: 60px; }

    .tr-fade  { width: 60px; }

    .tr-card  { width: 245px; }

}

/* ==========================================

   RESPONSIVE — ≤480px

   ========================================== */

@media (max-width: 480px) {

    .container { padding: 0 0.9rem; }

    .header-content { gap: 0.7rem; }

    .header-text h1 { font-size: 0.8rem; }

    .header-subtitle { font-size: 0.7rem; }

    .hero { height: 60vw; min-height: 180px; max-height: 300px; }

    .act-card { width: 230px; }

    .act-card__img { height: 148px; }

    .tr-card { width: 215px; padding: 1.2rem; }

    .cta-content h2 { font-size: 2rem; }

 

    /* ← ADD THESE */

    .nav-links { width: 88vw; }

    .nav-item > a { font-size: 0.87rem !important; padding: 0.85rem 1.1rem !important; }

    .dropdown-menu a { padding-left: 2.6rem !important; }

}



/* ==========================================

   RESPONSIVE — Landscape Mobile

   ========================================== */

@media (max-width: 768px) and (orientation: landscape) {

    .hero { height: 100vw; min-height: 160px; max-height: 260px; }

}



/* ==========================================

   REDUCED MOTION

   ========================================== */

@media (prefers-reduced-motion: reduce) {

    .act-card { opacity: 1 !important; transform: none !important; }

    .act-marquee-track { animation: none !important; }

    .tr-marquee-track  { animation: none !important; }

    .reveal { transition: none; }

}