/* ════════════════════════════════════════════════════════
   ADINET — Ahmedabad Library Network
   Complete Stylesheet — style.css
   Brand Colours: Navy #003366 | Blue #0066CC | Orange #FF6600
   ════════════════════════════════════════════════════════ */

/* ─── CSS VARIABLES ─────────────────────────────────── */
:root {
  --navy:       #003366;
  --navy-dark:  #00244d;
  --navy-light: #0a4580;
  --blue:       #0066CC;
  --blue-light: #1a7fe0;
  --blue-pale:  #D6E4F0;
  --orange:     #FF6600;
  --orange-light: #FF8533;
  --orange-pale: #FFF0E6;
  --white:      #FFFFFF;
  --off-white:  #F8FAFC;
  --gray-100:   #F5F7FA;
  --gray-200:   #E8EDF2;
  --gray-300:   #CBD5E1;
  --gray-500:   #64748B;
  --gray-700:   #334155;
  --text:       #1E293B;
  --text-light: #475569;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg:  0 10px 30px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.08);
  --shadow-navy: 0 8px 24px rgba(0,51,102,0.25);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1200px;
  --header-h:  72px;
}

/* ─── RESET & BASE ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-pad { padding: 5rem 0; }

/* ─── TYPOGRAPHY ─────────────────────────────────────── */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}
.section-label.light { color: #FF9955; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}
.section-title.light { color: var(--white); }

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.view-all-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  transition: color var(--transition);
  white-space: nowrap;
}
.view-all-link:hover { color: var(--orange); }

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: 0 4px 14px rgba(255,102,0,0.35);
}
.btn-primary:hover {
  background: var(--orange-light);
  border-color: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,102,0,0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-small {
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  border-radius: var(--radius-full);
}
.btn-small:hover {
  background: var(--orange-light);
  transform: translateY(-1px);
}

/* ════════════════════════════════════════════════════════
   UTILITY BAR
   ════════════════════════════════════════════════════════ */
.utility-bar {
  background: var(--navy-dark);
  padding: 0.45rem 0;
  font-size: 0.82rem;
}
.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.util-left, .util-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.util-link {
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition);
}
.util-link:hover { color: var(--white); }
.util-icon { font-style: normal; }
.util-pill {
  color: rgba(255,255,255,0.8);
  padding: 0.2rem 0.65rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 500;
  transition: all var(--transition);
}
.util-pill:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.util-pill.ai { border-color: rgba(255,153,51,0.5); color: #FF9933; }
.util-pill.android { border-color: rgba(100,220,100,0.4); color: #6BCB77; }

/* ════════════════════════════════════════════════════════
   HEADER / NAVIGATION
   ════════════════════════════════════════════════════════ */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(0,36,77,0.97);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

/* Logo */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo-emblem {
  width: 46px;
  height: 46px;
  background: var(--orange);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.logo-wrap:hover .logo-emblem { transform: rotate(-3deg) scale(1.05); }
.logo-emblem.small { width: 36px; height: 36px; font-size: 1.2rem; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}
.logo-sub {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
  margin-top: 2px;
}

/* Desktop Navigation */
.main-nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.2rem;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-link.active { color: var(--orange); background: rgba(255,102,0,0.12); }
.chevron { font-size: 0.65rem; opacity: 0.7; }

.nav-cta {
  color: var(--white);
  background: var(--orange);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition);
  margin-left: 0.5rem;
}
.nav-cta:hover {
  background: var(--orange-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,102,0,0.4);
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  border-top: 3px solid var(--orange);
  z-index: 100;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 0.55rem 0.85rem;
  color: var(--gray-700);
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.dropdown li a:hover {
  background: var(--blue-pale);
  color: var(--navy);
  padding-left: 1.1rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.hamburger:hover { background: rgba(255,255,255,0.1); }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: var(--navy-dark);
  padding: 1rem 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.mobile-menu.open { max-height: 500px; }
.mobile-nav-list { padding: 0 1.5rem; }
.mobile-nav-list li a {
  display: block;
  color: rgba(255,255,255,0.85);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
}
.mobile-nav-list li a:hover { color: var(--orange); }
.mobile-cta {
  color: var(--orange) !important;
  font-weight: 700 !important;
  border-bottom: none !important;
  margin-top: 0.5rem;
}

/* ════════════════════════════════════════════════════════
   HERO SECTION
   ════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  padding: 6rem 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,102,204,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,102,204,0.08) 1px, transparent 1px);
  background-size: 50px 50px;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.blob-1 {
  width: 600px; height: 600px;
  background: rgba(0,102,204,0.18);
  top: -200px; right: -100px;
  animation: blob-float 8s ease-in-out infinite alternate;
}
.blob-2 {
  width: 400px; height: 400px;
  background: rgba(255,102,0,0.12);
  bottom: -100px; left: -50px;
  animation: blob-float 10s ease-in-out infinite alternate-reverse;
}
@keyframes blob-float {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  animation: fade-up 0.8s ease both;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,102,0,0.15);
  border: 1px solid rgba(255,102,0,0.4);
  color: #FF9955;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fade-up 0.8s 0.1s ease both;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  animation: fade-up 0.8s 0.2s ease both;
}
.hero-accent {
  color: var(--orange);
  position: relative;
}
.hero-accent::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent);
  border-radius: 2px;
}

.hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 560px;
  animation: fade-up 0.8s 0.3s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fade-up 0.8s 0.4s ease both;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: fade-up 0.8s 0.5s ease both;
}
.trust-item { display: flex; flex-direction: column; }
.trust-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.trust-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-top: 3px;
}
.trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}
.hero-scroll-hint span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scroll-drop 1.5s ease-in-out infinite;
}
@keyframes scroll-drop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ════════════════════════════════════════════════════════
   QUICK LINKS BAR
   ════════════════════════════════════════════════════════ */
.quicklinks-bar {
  background: var(--white);
  padding: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: relative;
  z-index: 10;
}
.quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.qlink-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1rem;
  border-right: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.qlink-card:last-child { border-right: none; }
.qlink-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.qlink-card:hover {
  background: var(--gray-100);
}
.qlink-card:hover::after { transform: scaleX(1); }
.qlink-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  background: var(--blue-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}
.qlink-card:hover .qlink-icon { background: var(--orange-pale); }
.qlink-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.qlink-text span {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* ════════════════════════════════════════════════════════
   ABOUT SECTION
   ════════════════════════════════════════════════════════ */
.about-section { background: var(--off-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-para {
  color: var(--text-light);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.75;
}
.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  border-left: 4px solid var(--gray-200);
}
.about-card:hover {
  border-left-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.about-card.featured {
  border-left-color: var(--orange);
  background: linear-gradient(135deg, var(--orange-pale) 0%, var(--white) 100%);
}
.about-card-icon { font-size: 1.6rem; margin-bottom: 0.6rem; }
.about-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.about-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════════
   STATISTICS SECTION
   ════════════════════════════════════════════════════════ */
.stats-section {
  background: var(--navy);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.stats-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,102,204,0.15) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.stats-header {
  text-align: center;
  margin-bottom: 3rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.stat-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-4px);
  box-shadow: var(--shadow-navy);
}
.stat-card:hover::before { transform: scaleX(1); }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-bar {
  height: 3px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  margin: 0.75rem 0;
  overflow: hidden;
}
.stat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--blue-light));
  border-radius: 2px;
  animation: bar-grow 1.2s ease both;
}
@keyframes bar-grow {
  from { width: 0 !important; }
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ════════════════════════════════════════════════════════
   ANNOUNCEMENTS
   ════════════════════════════════════════════════════════ */
.announcements-section { background: var(--white); }
.announce-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.announce-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  border-top: 3px solid var(--gray-200);
  position: relative;
}
.announce-card:hover {
  border-top-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.announce-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.announce-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--gray-100);
  color: var(--gray-500);
}
.announce-tag.new {
  background: rgba(255,102,0,0.12);
  color: var(--orange);
}
.announce-tag.info {
  background: var(--blue-pale);
  color: var(--blue);
}
.announce-date {
  font-size: 0.78rem;
  color: var(--gray-500);
  font-family: var(--font-mono);
}
.announce-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}
.announce-excerpt {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.announce-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap var(--transition), color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.announce-link:hover { color: var(--orange); gap: 0.6rem; }

/* ════════════════════════════════════════════════════════
   EVENTS SECTION
   ════════════════════════════════════════════════════════ */
.events-section { background: var(--gray-100); }
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}
.event-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.featured-event {
  border: 2px solid var(--orange);
  background: linear-gradient(135deg, #fffaf7 0%, #ffffff 100%);
}
.event-ribbon {
  position: absolute;
  top: 1rem; right: -0.5rem;
  background: var(--orange);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full) 0 0 var(--radius-full);
}
.event-date-badge {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.75rem;
  text-align: center;
  min-width: 52px;
  flex-shrink: 0;
}
.featured-event .event-date-badge { background: var(--orange); }
.event-day {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.event-month {
  display: block;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.event-type {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.4rem;
}
.event-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.event-location {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 0.85rem;
}

/* ════════════════════════════════════════════════════════
   PUBLICATIONS SECTION
   ════════════════════════════════════════════════════════ */
.publications-section { background: var(--white); }
.pub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.pub-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.pub-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.pub-cover {
  height: 160px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.25rem;
  position: relative;
}
.pub-cover-text { z-index: 1; }
.pub-issue {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.pub-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}
.pub-icon {
  font-size: 2rem;
  opacity: 0.5;
}
.pub-info {
  padding: 1.25rem;
  background: var(--white);
  flex: 1;
}
.pub-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.pub-info p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.pub-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--orange);
  font-weight: 600;
  background: var(--orange-pale);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

/* ════════════════════════════════════════════════════════
   APP SECTION
   ════════════════════════════════════════════════════════ */
.app-section { background: var(--off-white); }
.app-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5rem;
  align-items: center;
}
.app-mockup { display: flex; justify-content: center; }
.phone-frame {
  width: 220px;
  height: 420px;
  background: var(--navy-dark);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0,36,77,0.35), 0 0 0 2px rgba(255,255,255,0.08);
  position: relative;
}
.phone-screen {
  background: var(--white);
  border-radius: 28px;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-status-bar {
  height: 22px;
  background: var(--navy);
}
.phone-app-header {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 0.6rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.phone-menu-item {
  padding: 0.65rem 1rem;
  font-size: 0.75rem;
  color: var(--text);
  border-bottom: 1px solid var(--gray-100);
  font-weight: 500;
}
.phone-menu-item:last-child { border-bottom: none; }
.app-para {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}
.app-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
  margin-bottom: 2rem;
}
.app-features li {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════
   CTA BANNER
   ════════════════════════════════════════════════════════ */
.cta-banner {
  background: var(--navy);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.cta-pattern {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,102,0,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0,102,204,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.cta-content { flex: 1; min-width: 260px; }
.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.cta-content p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 520px;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════ */
.site-footer { background: var(--navy-dark); }
.footer-top { padding: 4rem 0 3rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}
.footer-logo-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
}
.footer-about p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.footer-social {
  display: flex;
  gap: 0.6rem;
}
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.social-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.footer-heading {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links li a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  padding: 0.3rem 0;
  transition: all var(--transition);
}
.footer-links li a:hover {
  color: var(--orange);
  padding-left: 6px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.contact-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}
.contact-item span:first-child { flex-shrink: 0; margin-top: 1px; }
.contact-item a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.contact-item a:hover { color: var(--orange); }

.footer-newsletter p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.6rem;
}
.newsletter-form {
  display: flex;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: none;
  outline: none;
  padding: 0.6rem 0.9rem;
  color: var(--white);
  font-size: 0.82rem;
  font-family: var(--font-body);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-form button {
  background: var(--orange);
  border: none;
  color: var(--white);
  padding: 0 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition);
}
.newsletter-form button:hover { background: var(--orange-light); }

.footer-bottom {
  background: rgba(0,0,0,0.2);
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
   ════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .pub-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .about-grid { gap: 2.5rem; }
  .quicklinks-grid { grid-template-columns: repeat(3, 1fr); }
  .qlink-card { border-bottom: 1px solid var(--gray-200); }
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE — TABLET PORTRAIT (≤768px)
   ════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --header-h: 64px; }

  /* Nav */
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }

  /* Utility bar */
  .util-right { display: none; }

  /* Hero */
  .hero { min-height: 80vh; padding: 4rem 0 3rem; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-scroll-hint { display: none; }
  .hero-trust { gap: 1.25rem; }
  .trust-num { font-size: 1.4rem; }

  /* Quick links */
  .quicklinks-grid { grid-template-columns: repeat(2, 1fr); }
  .qlink-card { border-right: none; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Announcements */
  .announce-grid { grid-template-columns: 1fr; }

  /* Events */
  .events-grid { grid-template-columns: 1fr; }

  /* App */
  .app-grid { grid-template-columns: 1fr; }
  .phone-frame { width: 180px; height: 340px; }

  /* CTA */
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤480px)
   ════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .section-pad { padding: 3rem 0; }
  .container { padding: 0 1rem; }

  /* Hero */
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .hero-trust { flex-direction: column; gap: 0.75rem; }
  .trust-divider { display: none; }

  /* Quick links */
  .quicklinks-grid { grid-template-columns: 1fr 1fr; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-number { font-size: 2.2rem; }

  /* Publications */
  .pub-grid { grid-template-columns: 1fr 1fr; }

  /* Events */
  .event-card { flex-direction: column; gap: 1rem; }
  .event-date-badge { align-self: flex-start; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 0.3rem; }
}

/* ─── SCROLL ANIMATIONS ──────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
