/* ============================================================
   EduTech & SkillsTech RC — Main Stylesheet
   ============================================================ */

:root {
  --primary:      #0a2540;
  --primary-mid:  #1a3a5c;
  --accent:       #00b4d8;
  --accent-2:     #0077b6;
  --accent-light: #90e0ef;
  --gradient:     linear-gradient(135deg, #00b4d8, #0077b6);
  --gradient-rev: linear-gradient(135deg, #0077b6, #00b4d8);
  --white:        #ffffff;
  --off-white:    #f0f6ff;
  --bg-light:     #f5f9ff;
  --text:         #1a2540;
  --text-muted:   #64748b;
  --border:       #e2eaf4;
  --shadow:       0 4px 24px rgba(0,100,180,.10);
  --shadow-lg:    0 8px 40px rgba(0,100,180,.18);
  --radius:       14px;
  --radius-sm:    8px;
  --transition:   0.3s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--accent-2); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-header.light h2 { color: var(--white); }
.section-header.light p  { color: rgba(255,255,255,.8); }

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 99px;
  margin-bottom: 14px;
}

.section-header.light .section-tag {
  background: rgba(255,255,255,.2);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 99px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,180,216,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,180,216,.45);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  color: var(--white);
}

.btn-sm {
  padding: 8px 18px;
  font-size: .85rem;
  background: var(--gradient);
  color: #fff;
  border-radius: 99px;
}
.btn-sm:hover { color: #fff; opacity: .9; }

.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255,255,255,.7);
  color: #fff;
}
.btn-outline-light:hover { background: rgba(255,255,255,.15); color: #fff; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,40,80,.10);
  padding: 10px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 48px;
  object-fit: contain;
}

.logo-dark  { display: none; }
.logo-white { display: block; }
.navbar.scrolled .logo-dark  { display: block; }
.navbar.scrolled .logo-white { display: none; }

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,.9);
  font-weight: 500;
  font-size: .9rem;
  padding: 7px 13px;
  border-radius: 99px;
  transition: background var(--transition), color var(--transition);
}

.nav-links a:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}

.navbar.scrolled .nav-links a { color: var(--text); }
.navbar.scrolled .nav-links a:hover {
  background: var(--off-white);
  color: var(--accent-2);
}

/* ---- Navbar Dropdown ---- */
.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-dropdown-toggle .fa-chevron-down {
  font-size: .65rem;
  transition: transform var(--transition);
}

.nav-dropdown:hover .fa-chevron-down,
.nav-dropdown.open   .fa-chevron-down { transform: rotate(180deg); }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 290px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,40,80,.18);
  border: 1px solid var(--border);
  padding: 18px 0 8px;   /* top padding bridges the gap — no hover dead zone */
  z-index: 2000;
  list-style: none;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: 6px; right: 22px;
  width: 12px; height: 12px;
  background: var(--white);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text) !important;
  border-radius: 0;
  transition: background var(--transition), color var(--transition);
}

.dropdown-menu li a:hover {
  background: var(--off-white);
  color: var(--accent-2) !important;
}

.dropdown-menu li a i {
  width: 16px;
  text-align: center;
  color: var(--accent-2);
  flex-shrink: 0;
}

.dropdown-menu li + li { border-top: 1px solid var(--border); }

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open   .dropdown-menu {
  display: block;
  animation: dropIn .2s ease;
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 4px 0 0;
    min-width: 0;
  }
  .dropdown-menu::before { display: none; }
  .dropdown-menu li a { padding: 10px 28px; }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

.navbar.scrolled .hamburger span { background: var(--text); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #061730 0%, #0a2540 40%, #0d3666 70%, #0a4e8a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 24px 60px;
}

.hero-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  z-index: 1;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: .07;
}
.shape-1 {
  width: 600px; height: 600px;
  background: var(--accent);
  top: -200px; right: -100px;
}
.shape-2 {
  width: 400px; height: 400px;
  background: var(--accent-light);
  bottom: -150px; left: -100px;
}
.shape-3 {
  width: 300px; height: 300px;
  background: #fff;
  top: 40%; left: 30%;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--accent-light);
  font-size: .82rem;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 99px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 22px;
}

.gradient-text {
  background: linear-gradient(90deg, #00d4ff, #00b4d8, #48cae4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.75);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}

.hero-stat:first-child { padding-left: 0; }

.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.2);
}

/* Hero visual */
.hero-visual {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-card-stack {
  position: relative;
  width: 280px;
  height: 280px;
}

.hcard {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}

.hcard i { font-size: 1.8rem; }

.hcard-1 { background: linear-gradient(135deg,#7c3aed,#a855f7); top:0; left:0; animation-delay:0s; }
.hcard-2 { background: linear-gradient(135deg,#f59e0b,#ef4444); top:0; right:0; animation-delay:.7s; }
.hcard-3 { background: linear-gradient(135deg,#10b981,#059669); bottom:0; left:0; animation-delay:1.4s; }
.hcard-4 { background: linear-gradient(135deg,#0077b6,#00b4d8); bottom:0; right:0; animation-delay:2.1s; }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 18px;
  line-height: 1.8;
}

.about-text strong { color: var(--primary); }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--off-white);
  color: var(--accent-2);
  font-size: .83rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid var(--border);
}

.about-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 20px;
  aspect-ratio: 4/3;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.about-info-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.info-card i {
  font-size: 1.3rem;
  color: var(--accent-2);
  width: 28px;
  text-align: center;
}

.info-card div { display: flex; flex-direction: column; }
.info-card strong { font-size: .95rem; color: var(--primary); }
.info-card span   { font-size: .82rem; color: var(--text-muted); }

/* ============================================================
   HIGHLIGHTS
   ============================================================ */
.highlights-section {
  background: linear-gradient(135deg, #061730, #0a2540, #0d3666);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.highlight-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: transform var(--transition), background var(--transition);
  backdrop-filter: blur(8px);
}

.highlight-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.12);
}

.highlight-card.wide {
  grid-column: span 3;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
}

.highlight-card.wide .hl-icon { flex-shrink: 0; }

.hl-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.3rem;
  color: #fff;
}

.highlight-card.wide .hl-icon { margin: 0; }

.hl-counter {
  font-family: 'Poppins', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.hl-label {
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 8px;
}

.hl-desc {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
}

/* ============================================================
   EVENTS
   ============================================================ */
.events-section { background: var(--bg-light); }

.events-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  justify-content: center;
}

.filter-btn {
  padding: 8px 22px;
  border-radius: 99px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(0,119,182,.3);
}

.events-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.events-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2));
}

.event-item {
  display: flex;
  gap: 28px;
  margin-bottom: 32px;
  position: relative;
  transition: opacity var(--transition);
}

.event-item.hidden { display: none; }

.event-dot {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(0,119,182,.3);
}

.event-card {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.event-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.event-date {
  font-size: .82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.event-type {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 99px;
}

.event-type.workshop   { background: #fff3e0; color: #e65100; }
.event-type.webinar    { background: #e8f5e9; color: #2e7d32; }
.event-type.training   { background: #e3f2fd; color: #1565c0; }
.event-type.conference { background: #f3e5f5; color: #6a1b9a; }

.event-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.event-card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.event-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent-2);
}

.event-link:hover { color: var(--accent); }

/* ============================================================
   PUBLICATIONS
   ============================================================ */
.publications-section { background: var(--white); }

.pub-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 36px;
  border-bottom: 2px solid var(--border);
}

.pub-tab {
  padding: 12px 28px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.pub-tab.active {
  color: var(--accent-2);
  border-bottom-color: var(--accent-2);
}

.pub-content { display: none; }
.pub-content.active { display: block; }

.pub-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.pub-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pub-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.pub-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 11px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.pub-badge.ieee    { background: #e3f2fd; color: #1565c0; }
.pub-badge.scopus  { background: #e8f5e9; color: #2e7d32; }
.pub-badge.taylor  { background: #fff3e0; color: #e65100; }
.pub-badge.ugc     { background: #f3e5f5; color: #6a1b9a; }
.pub-badge.wos     { background: #e0f7fa; color: #00695c; }
.pub-badge.routledge { background: #fce4ec; color: #880e4f; }
.pub-badge.bluerose  { background: #fff8e1; color: #f57f17; }

.pub-card h4 {
  font-size: .97rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1.45;
}

.pub-authors {
  font-size: .85rem;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 6px;
}

.pub-venue {
  font-size: .82rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.5;
}

.pub-venue i { margin-top: 3px; flex-shrink: 0; }

/* ---- Book Groups ---- */
.book-group {
  margin-bottom: 56px;
}

.book-group:last-child { margin-bottom: 0; }

.book-group-header {
  margin-bottom: 28px;
}

.book-group-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.book-group-label.edited    { background: #fce4ec; color: #880e4f; }
.book-group-label.authored  { background: #e8f5e9; color: #1b5e20; }
.book-group-label.coauthored { background: #e3f2fd; color: #0d47a1; }


/* ---- Rich Book Cards Grid ---- */
.book-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.book-cards-grid--single {
  grid-template-columns: repeat(2, 1fr);
}

/* Chapters placeholder cover */
.bcr-cover-chapters {
  background: linear-gradient(140deg, #4a148c, #7b1fa2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bcr-chapters-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-align: center;
  padding: 20px;
}

.bcr-chapters-content i    { font-size: 2.8rem; opacity: .85; }
.bcr-chapters-content span { font-size: 1rem; font-weight: 700; }
.bcr-chapters-content small{ font-size: .78rem; opacity: .7; line-height: 1.5; }

/* ---- Individual Rich Book Card ---- */
.book-card-rich {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.book-card-rich:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Cover panel */
.bcr-cover {
  overflow: hidden;
  background: #e8edf2;
  position: relative;
  min-height: 240px;
}

.bcr-cover img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .4s ease;
}

.book-card-rich:hover .bcr-cover img {
  transform: scale(1.04);
}

/* Body */
.bcr-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.bcr-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 99px;
  width: fit-content;
}

.bcr-badge.editor   { background: #fce4ec; color: #880e4f; }
.bcr-badge.author   { background: #e8f5e9; color: #1b5e20; }
.bcr-badge.coauthor { background: #e3f2fd; color: #0d47a1; }

.bcr-body h4 {
  font-size: .92rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.45;
  margin: 2px 0 4px;
}

.bcr-authors {
  font-size: .82rem;
  color: var(--accent-2);
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.bcr-authors i { margin-top: 3px; flex-shrink: 0; }

.bcr-meta {
  font-size: .8rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.5;
}

.bcr-meta i { margin-top: 3px; flex-shrink: 0; color: var(--accent-2); }

.bcr-actions {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.bcr-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #880e4f;
  transition: gap var(--transition), color var(--transition);
}

.bcr-badge.author   ~ .bcr-body .bcr-link,
.book-group:nth-child(2) .bcr-link { color: #1b5e20; }
.book-group:nth-child(3) .bcr-link { color: #0d47a1; }

.bcr-link:hover {
  gap: 10px;
  color: var(--accent-2);
}

@media (max-width: 900px) {
  .book-cards-grid          { grid-template-columns: repeat(2, 1fr); }
  .book-cards-grid--single  { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .book-cards-grid          { grid-template-columns: 1fr; }
  .book-cards-grid--single  { grid-template-columns: 1fr; }
}

/* ---- Events Hero Photo ---- */
.events-hero-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-lg);
  max-height: 340px;
}

.events-hero-photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.events-hero-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 18px 24px;
  background: linear-gradient(to top, rgba(6,23,48,.85), transparent);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
}

/* ============================================================
   PROJECTS
   ============================================================ */
.projects-section {
  background: linear-gradient(135deg, #061730, #0a2540, #0d3666);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.project-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: transform var(--transition), background var(--transition);
  backdrop-filter: blur(8px);
}

.project-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.12);
}

.proj-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 16px;
}

.proj-status {
  position: absolute;
  top: 20px; right: 20px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
}

.proj-status.active    { background: rgba(16,185,129,.2); color: #10b981; }
.proj-status.completed { background: rgba(0,180,216,.2); color: var(--accent); }

.project-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  padding-right: 70px;
}

.project-card p {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 18px;
}

.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.proj-tags span {
  background: rgba(255,255,255,.1);
  color: var(--accent-light);
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,.15);
}

.proj-members {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.proj-members i { margin-top: 2px; flex-shrink: 0; }

/* ============================================================
   VIDEO SHOWCASE
   ============================================================ */
.video-showcase {
  margin-top: 64px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 36px;
  backdrop-filter: blur(8px);
}

.video-showcase-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.video-showcase-header i {
  font-size: 2rem;
  color: var(--accent);
  flex-shrink: 0;
}

.video-showcase-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.video-showcase-header p {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  margin: 0;
}

.video-player-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  margin-bottom: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}

.main-video {
  width: 100%;
  height: 480px;
  display: block;
  border: none;
  outline: none;
  border-radius: var(--radius-sm);
}

@media (max-width: 768px) {
  .main-video { height: 280px; }
}

.video-now-playing {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px);
  border-radius: 99px;
  padding: 5px 14px;
  font-size: .8rem;
  color: #fff;
  font-weight: 500;
  pointer-events: none;
}

.vnp-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
  font-weight: 700;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.vnp-badge i {
  font-size: .55rem;
  animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .2; }
}

.video-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.vtab {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.06);
  border: 2px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
}

.vtab:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(0,180,216,.4);
}

.vtab.active {
  background: rgba(0,180,216,.15);
  border-color: var(--accent);
}

.vtab-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0,180,216,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: background var(--transition);
}

.vtab.active .vtab-icon {
  background: var(--gradient);
  color: #fff;
}

.vtab-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.vtab-info strong {
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vtab-info span {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vtab.active .vtab-info strong { color: var(--accent-light); }

.video-desc-bar {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  line-height: 1.6;
  transition: color var(--transition);
}

@media (max-width: 900px) {
  .video-tabs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .video-tabs { grid-template-columns: 1fr; }
  .video-showcase { padding: 20px; }
}

/* ============================================================
   SMART 3D LEARNING SHOWCASE
   ============================================================ */
.smart3d-showcase {
  margin-top: 56px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 36px 32px 28px;
  backdrop-filter: blur(6px);
}

.smart3d-header {
  text-align: center;
  margin-bottom: 28px;
}

.smart3d-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,180,216,.18);
  color: var(--accent-light);
  border: 1px solid rgba(0,180,216,.3);
  border-radius: 50px;
  padding: 5px 16px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.smart3d-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.smart3d-header p {
  font-size: .92rem;
  color: rgba(255,255,255,.6);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

.smart3d-frame-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid rgba(0,180,216,.25);
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
  background: #0a1628;
}

.smart3d-iframe {
  width: 100%;
  height: 560px;
  border: none;
  display: block;
}

.smart3d-overlay-hint {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(6,23,48,.85);
  color: rgba(255,255,255,.7);
  font-size: .78rem;
  padding: 5px 12px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.1);
}

.smart3d-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
  justify-content: center;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
  gap: 10px;
}

.smart3d-url {
  font-size: .85rem;
  color: rgba(255,255,255,.4);
  font-family: monospace;
  letter-spacing: .02em;
}

@media (max-width: 768px) {
  .smart3d-iframe { height: 380px; }
  .smart3d-showcase { padding: 24px 18px 22px; }
  .smart3d-actions { flex-direction: column; gap: 10px; }
}

@media (max-width: 480px) {
  .smart3d-iframe { height: 280px; }
}

/* ============================================================
   PATENTS
   ============================================================ */
.patents-section { background: var(--bg-light); }

.ip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.ip-col-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ip-col-title i { color: var(--accent-2); }

.ip-list { display: flex; flex-direction: column; gap: 16px; }

.ip-card {
  display: flex;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.ip-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.ip-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.ip-icon.patent    { background: #e3f2fd; color: #1565c0; }
.ip-icon.copyright { background: #f3e5f5; color: #6a1b9a; }

.ip-info h4 {
  font-size: .97rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.ip-info p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}

.ip-holder {
  display: block;
  font-size: .8rem;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 6px;
}

.ip-status {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 11px;
  border-radius: 99px;
}

.ip-status.published   { background: #e3f2fd; color: #1565c0; }
.ip-status.filed       { background: #fff3e0; color: #e65100; }
.ip-status.registered  { background: #e8f5e9; color: #2e7d32; }

/* ============================================================
   ASSETS
   ============================================================ */
.assets-section {
  background: linear-gradient(135deg, #061730, #0a2540, #0d3666);
}

.assets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.asset-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 22px;
  color: #fff;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}

.asset-card:hover {
  background: rgba(255,255,255,.13);
  transform: translateY(-3px);
  color: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}

.asset-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  flex-shrink: 0;
}

.asset-info { flex: 1; }

.asset-info h4 {
  font-size: .97rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}

.asset-info p {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
  margin-bottom: 8px;
}

.asset-type {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.asset-type.pdf { color: var(--accent); }

.asset-arrow {
  font-size: 1rem;
  color: var(--accent);
  opacity: .6;
  transition: opacity var(--transition), transform var(--transition);
}

.asset-card:hover .asset-arrow {
  opacity: 1;
  transform: translateY(2px);
}

/* ============================================================
   TEAM
   ============================================================ */
.team-section { background: var(--white); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.member-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}

.member-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.member-card.leadership {
  border: 2px solid var(--accent);
  background: linear-gradient(135deg, #f0f9ff, #e0f4ff);
}

.member-photo-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--border);
}

.member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform var(--transition);
}

.member-card:hover .member-photo { transform: scale(1.05); }

.member-role-badge {
  position: absolute;
  bottom: 10px; left: 50%; transform: translateX(-50%);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
  white-space: nowrap;
}

.member-role-badge.ceo         { background: var(--gradient); color: #fff; }
.member-role-badge.coordinator { background: rgba(0,119,182,.15); color: var(--accent-2); border: 1px solid var(--accent-2); }

.member-info { padding: 18px 16px; }

.member-info h3 {
  font-size: .97rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.member-role {
  font-size: .8rem;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 6px;
}

.member-email {
  font-size: .78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
  margin-bottom: 8px;
  word-break: break-all;
}

.member-highlight {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* ============================================================
   BROCHURES
   ============================================================ */
.brochures-section {
  background: linear-gradient(135deg, #061730, #0a2540, #0d3666);
}

.brochures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.brochure-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition);
  backdrop-filter: blur(8px);
}

.brochure-card:hover { transform: translateY(-4px); }

.brochure-preview {
  position: relative;
  height: 180px;
  background: linear-gradient(135deg, rgba(0,119,182,.3), rgba(0,180,216,.3));
  display: flex;
  align-items: center;
  justify-content: center;
}

.brochure-icon {
  font-size: 4rem;
  color: rgba(255,255,255,.5);
}

.brochure-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.brochure-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6,23,48,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity var(--transition);
}

.brochure-card:hover .brochure-overlay { opacity: 1; }

.brochure-info { padding: 20px; }

.brochure-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0,180,216,.15);
  padding: 3px 11px;
  border-radius: 99px;
  margin-bottom: 10px;
}

.brochure-info h4 {
  font-size: .97rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.4;
}

.brochure-info p {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #030e1e; }

.footer-top { padding: 72px 0 48px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-logo {
  height: 48px;
  object-fit: contain;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-brand strong { color: rgba(255,255,255,.8); }

.footer-links-col h5,
.footer-contact h5 {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 18px;
}

.footer-links-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-links-col a {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}

.footer-links-col a:hover { color: var(--accent); }

.footer-contact p {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.footer-contact i { color: var(--accent); margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,119,182,.4);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover { transform: translateY(-3px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-card.wide { grid-column: span 2; }
  .about-grid { gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero { padding-top: 120px; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .ip-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }

  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text); border-radius: var(--radius-sm); }
  .hamburger { display: flex; }

  .about-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr 1fr; }
  .highlight-card.wide { grid-column: span 2; flex-direction: column; }
  .section { padding: 64px 0; }
  .pub-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .events-timeline::before { left: 20px; }
  .event-dot { width: 40px; height: 40px; font-size: .9rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .highlights-grid { grid-template-columns: 1fr; }
  .highlight-card.wide { grid-column: span 1; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stat-divider { display: none; }
  .hero-stat { width: 50%; padding: 8px 0; }
  .brochures-grid { grid-template-columns: 1fr; }
  .assets-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .pub-tabs { flex-direction: column; }
  .pub-tab { text-align: left; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }
