:root {
  /* Colors */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F9FAFB;
  --text-primary: #1A1A1A;
  --text-secondary: #4B5563;
  
  --brand-navy: #1A2E40;
  --brand-coral: #E05A60;
  
  --border-light: rgba(26, 46, 64, 0.08); /* Subtle Navy Border */
  --glass-bg: rgba(255, 255, 255, 0.85);
  
  /* Shadows */
  --shadow-soft: 0 10px 40px -10px rgba(26, 46, 64, 0.05);
  --shadow-hover: 0 20px 40px -10px rgba(26, 46, 64, 0.12);
  
  /* Radii */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: #fff;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-secondary);
}

/* Header */
.glass-header {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 1400px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  z-index: 100;
  padding: 0.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.75rem;
}
.brand-logo {
  height: 45px;
  width: auto;
  object-fit: contain;
  transform: scale(1.4);
  transform-origin: left center;
}
.login-box .brand-logo {
  transform-origin: center center;
}
.brand-ribbon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-coral));
}

.brand-text {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--brand-navy);
}

.nav-links a.active {
  font-weight: 600;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--brand-navy);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-navy);
  color: #fff;
  border: 1px solid var(--brand-navy);
}

.btn-primary:hover {
  background: var(--brand-coral);
  border-color: var(--brand-coral);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(224, 90, 96, 0.3);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--brand-navy);
}

.btn-outline:hover {
  border-color: var(--brand-navy);
  background: var(--bg-secondary);
}

.btn-outline-white {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--brand-navy);
  border-color: #fff;
}

.btn-icon gap: 0.5rem;
.btn-icon i { width: 16px; height: 16px; transition: var(--transition-smooth); }
.btn-icon:hover i { transform: translateX(4px); }

/* Main Content */
.main-content {
  padding: 8rem 2rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 1.5rem;
}

.bento-card {
  position: relative;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(26, 46, 64, 0.15);
}

.col-span-4 { grid-column: span 4; }
.col-span-2 { grid-column: span 2; }
.col-span-1 { grid-column: span 1; }
.row-span-2 { grid-row: span 2; }
.row-span-1 { grid-row: span 1; }

.card-inner {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 2;
}

.mt-auto { margin-top: auto; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1.5rem; }

/* Image Backgrounds */
.card-bg-image {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
  z-index: 0;
}

.bento-card:hover .card-bg-image {
  transform: scale(1.05);
}

/* Hero Card */
.hero-card {
  color: #fff;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(26,46,64,0.8), rgba(26,46,64,0.2));
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

/* Ticker */
.scrolling-ticker {
  margin-top: 2rem;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1rem;
  display: flex;
  white-space: nowrap;
}
.ticker-content {
  display: flex;
  animation: scroll-left 20s linear infinite;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  opacity: 0.8;
}
.ticker-content span { margin-right: 2rem; }
.ticker-content .dot { color: var(--brand-coral); }

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Badges & Tags */
.tag-badge {
  align-self: flex-start;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.3);
}

.tag-badge.light {
  background: var(--bg-primary);
  color: var(--brand-navy);
  border-color: var(--border-light);
}

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-coral);
  background: rgba(224, 90, 96, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 100px;
}
.dot-indicator {
  width: 8px; height: 8px;
  background-color: var(--brand-coral);
  border-radius: 50%;
}

.pulse .dot-indicator {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(224, 90, 96, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(224, 90, 96, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 90, 96, 0); }
}

/* Icons */
.icon-navy { color: var(--brand-navy); width: 24px; height: 24px; }
.card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }

/* Links */
.link-underline {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-navy);
  position: relative;
  display: inline-block;
}
.link-underline::after {
  content: '';
  position: absolute;
  width: 100%; height: 2px;
  bottom: -2px; left: 0;
  background-color: var(--brand-coral);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}
.link-underline:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Interactive Image Card */
.feature-card-image { color: #fff; }
.workshop-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(26,46,64,0.9) 0%, rgba(26,46,64,0.1) 60%);
  z-index: 1;
}

.interactive-link {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: var(--brand-coral);
  border-radius: 50%;
  color: #fff;
  transition: var(--transition-smooth);
}
.feature-card-image:hover .interactive-link {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 8px 24px rgba(224, 90, 96, 0.4);
}
.feature-card-image .card-body {
  display: flex; align-items: flex-end; justify-content: space-between;
}

/* Footer */
.minimal-footer {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--border-light);
}

.footer-container {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 3rem;
}

.footer-logo { font-size: 1.5rem; font-weight: 700; color: var(--brand-navy); display: block; margin-bottom: 1rem; }

.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(26, 46, 64, 0.2);
  border-radius: 50%;
  color: var(--brand-navy);
  transition: var(--transition-smooth);
  background: transparent;
}
.footer-social a svg, .footer-social a i {
  width: 20px !important;
  height: 20px !important;
  stroke: var(--brand-navy) !important;
  color: var(--brand-navy) !important;
  fill: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.footer-social a:hover {
  background: var(--brand-navy);
  color: #fff;
  border-color: var(--brand-navy);
}
.footer-social a:hover svg, .footer-social a:hover i {
  stroke: #fff !important;
  color: #fff !important;
}

.footer-bottom {
  text-align: center; font-size: 0.85rem; color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card-tall { col-span-1; row-span-1; }
}

.mobile-menu {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border-top: 1px solid var(--border-light);
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }
  .mobile-menu.active {
    display: flex;
  }
  .nav-links { display: flex; flex-direction: column; gap: 1.5rem; width: 100%; align-items: center; }
  .header-cta { margin-left: 0 !important; display: flex; justify-content: center; }
  .mobile-menu-btn { display: block; }
  
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .col-span-2 { grid-column: span 1; }
  .row-span-2 { grid-row: span 1; min-height: 400px; }
  
  .hero-content { padding: 2rem; }
  h1 { font-size: 2.5rem; }
  
  .footer-container { flex-direction: column; gap: 2rem; }
}

/* Inner Pages Header */
.page-header {
  padding: 10rem 2rem 4rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background-image: url('assets/ribbon-banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.12;
  z-index: -1;
  pointer-events: none;
}
.page-header h1 {
  color: var(--brand-navy);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}
.page-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Common Layout */
.content-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 4rem auto;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  height: 100%;
  width: 2px;
  background: var(--border-light);
}
.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 0.6s ease forwards;
}
/* Stagger animation based on child index */
.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-coral);
  box-shadow: 0 0 0 4px var(--bg-secondary);
}
.timeline-date {
  font-weight: 700;
  color: var(--brand-coral);
  margin-bottom: 0.5rem;
}
@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* Leadership Section (Light Mode) */
.leadership-section {
  background: var(--bg-secondary);
  padding: 5rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.leadership-header {
  text-align: center;
  margin-bottom: 4rem;
}
.leadership-header h2 {
  color: var(--brand-navy);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.leadership-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Executive Cards (Static) */
.executive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}
.executive-card {
  background: #fff;
  border: 1px solid var(--border-light);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.executive-card p {
  font-size: 0.85rem;
  color: var(--brand-coral);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  font-weight: 600;
}
.executive-card h4 {
  color: var(--brand-navy);
  font-size: 1.4rem;
  font-weight: 600;
}

/* Sleek Roster List (Static) */
.roster-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (max-width: 900px) {
  .roster-grid { gap: 4rem; }
}

.roster-group {
  margin-bottom: 4rem;
}
.roster-group h3 {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--brand-navy);
  padding-bottom: 0.75rem;
}
.roster-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-light);
}
.roster-role {
  color: var(--brand-navy);
  font-weight: 600;
  font-size: 1.05rem;
}
.roster-name {
  color: var(--text-secondary);
  text-align: right;
  font-weight: 500;
}
.roster-name span {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-top: 2px;
}
@media (max-width: 600px) {
  .roster-item { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .roster-name { text-align: left; }
}

/* Newsletters */
.newsletter-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.newsletter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-primary);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}
.newsletter-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: rgba(26, 46, 64, 0.15);
}
.newsletter-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.newsletter-info h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
  color: var(--brand-navy);
}
@media (max-width: 600px) {
  .newsletter-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

/* Form */
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--brand-navy);
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: var(--bg-primary);
}
.form-control:focus {
  outline: none;
  border-color: var(--brand-coral);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Modals / Tooltips */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(26,46,64,0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background: var(--bg-primary);
  padding: 3rem;
  border-radius: var(--radius-lg);
  max-width: 400px;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 24px 48px rgba(26,46,64,0.2);
}
.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 768px) {
  .two-col-layout {
    grid-template-columns: 1fr;
  }
}

/* Members Portal Login */
.dashboard-login-main { padding-bottom: 6rem; padding-top: 10rem; display: flex; justify-content: center; min-height: 80vh; align-items: center; }
.dashboard-login-box { background: var(--bg-primary); padding: 3rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); max-width: 500px; width: 100%; border: 1px solid var(--border-light); text-align: center; }
.dashboard-login-brand { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.dashboard-login-brand img { height: 60px; }
.dashboard-login-box h2 { color: var(--brand-navy); margin-bottom: 1rem; }
.post-password-form label { display: block; width: 100%; }
.post-password-form input[type="password"] { width: 100%; padding: 1rem; border: 1px solid var(--border-light); border-radius: var(--radius-md); font-family: inherit; font-size: 1rem; margin-bottom: 1rem; }
.post-password-form input[type="submit"] { width: 100%; background: var(--brand-navy); color: #fff; border: none; padding: 1rem 2rem; border-radius: var(--radius-md); font-weight: 600; cursor: pointer; transition: background 0.3s ease; min-height: 44px; }
.post-password-form input[type="submit"]:hover { background: var(--brand-coral); }

/* Dashboard Global Spacing */
.dashboard-main { padding-bottom: 6rem; }
.dashboard-layout { margin-top: 10rem; }
.dashboard-section-title { color: var(--brand-navy); margin-bottom: 1.5rem; font-size: 1.5rem; }

/* Welcome Block */
.dashboard-welcome { background: var(--brand-navy); color: #fff; padding: 3rem; border-radius: var(--radius-lg); margin-bottom: 3rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; box-shadow: var(--shadow-soft); }
.dashboard-welcome .dashboard-welcome-text h2 { color: #fff; margin-bottom: 0.5rem; }
.dashboard-welcome .dashboard-welcome-text p { color: rgba(255,255,255,0.8); margin-bottom: 0; line-height: 1.6; }
.dashboard-welcome-bank .bank-label { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.bank-details { background: rgba(255,255,255,0.1); padding: 1rem 1.5rem; border-radius: var(--radius-sm); font-family: monospace; font-size: 0.9rem; letter-spacing: 0.05em; display: inline-flex; align-items: center; gap: 1rem; white-space: normal; word-wrap: break-word; word-break: keep-all; }
.copy-btn { background: none; border: none; color: var(--brand-coral); cursor: pointer; transition: transform 0.2s; display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: inherit; font-weight: 600; min-height: 44px; min-width: 44px; }
.copy-btn:hover { transform: scale(1.05); }

/* Update Cards */
.update-card { background: var(--bg-secondary); padding: 2rem; border-radius: var(--radius-md); margin-bottom: 1.5rem; border: 1px solid var(--border-light); }
.update-card h4 { margin-bottom: 0.5rem; }
.update-date { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1rem; }
.update-content { line-height: 1.6; }

/* Forms Grid */
.forms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-bottom: 4rem; }
.form-btn { display: flex; align-items: center; justify-content: space-between; background: var(--bg-primary); border: 2px solid var(--border-light); padding: 1.5rem 2rem; border-radius: var(--radius-md); color: var(--brand-navy); font-weight: 600; font-size: 1.1rem; transition: all 0.3s ease; min-height: 44px; }
.form-btn:hover { border-color: var(--brand-coral); color: var(--brand-coral); transform: translateY(-2px); }

/* Document Grid */
.document-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 4rem; }
.document-card { display: flex; flex-direction: column; background: var(--bg-primary); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 1.5rem; transition: var(--transition-smooth); }
.document-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.document-icon { width: 32px; height: 32px; color: var(--brand-coral); margin-bottom: 1rem; }
.document-card h4 { margin-bottom: 1rem; flex: 1; font-size: 1.1rem; }
.document-card .btn { width: 100%; justify-content: center; }

/* Video Grid */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 4rem; }
.video-card { background: var(--bg-secondary); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-light); display: flex; flex-direction: column; }
.video-embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; width: 100%; }
.video-embed-container iframe, .video-embed-container object, .video-embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.video-card-content { padding: 1.5rem; flex: 1; }
.video-card-content h4 { margin: 0; font-size: 1.1rem; line-height: 1.4; }

/* Committee Cards */
.committee-directory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 4rem; }
.committee-card { background: var(--bg-primary); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; box-shadow: var(--shadow-soft); transition: var(--transition-smooth); }
.committee-card:hover { transform: translateY(-2px); border-color: var(--brand-coral); }
.committee-role { font-size: 0.85rem; color: var(--brand-coral); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; margin-bottom: 0.25rem; }
.committee-name { font-size: 1.25rem; color: var(--brand-navy); font-weight: 700; margin-bottom: 0.5rem; }
.committee-phone a, .committee-email a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text-secondary); text-decoration: none; transition: color 0.2s ease; min-height: 32px; }
.committee-phone a:hover, .committee-email a:hover { color: var(--brand-coral); }
.icon-sm { width: 16px; height: 16px; }

/* =========================================================================
   Final 2026 Polish: Animations, Nav Indicators & Micro-Interactions
   ========================================================================= */

/* Nav Indicator */
.nav-links {
  position: relative;
}
.nav-links a {
  position: relative;
  padding-bottom: 0.25rem;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--brand-coral);
  transition: width 0.3s ease, left 0.3s ease;
  border-radius: 2px;
}
.nav-links a.active::after {
  width: 100%;
  left: 0;
}
.nav-links a:hover::after {
  width: 50%;
  left: 25%;
}

/* Button Magnetic Hover / Color Transition Enhancements */
.btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: rgba(255,255,255,0.15);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}
.btn:hover::before {
  transform: translateX(100%);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(224, 90, 96, 0.4);
}

/* Scroll Animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger grid children */
.bento-grid > .scroll-animate:nth-child(1) { transition-delay: 0.1s; }
.bento-grid > .scroll-animate:nth-child(2) { transition-delay: 0.2s; }
.bento-grid > .scroll-animate:nth-child(3) { transition-delay: 0.3s; }
.bento-grid > .scroll-animate:nth-child(4) { transition-delay: 0.4s; }

.exhibition-grid > .scroll-animate:nth-child(1) { transition-delay: 0.1s; }
.exhibition-grid > .scroll-animate:nth-child(2) { transition-delay: 0.2s; }
.exhibition-grid > .scroll-animate:nth-child(3) { transition-delay: 0.3s; }
.exhibition-grid > .scroll-animate:nth-child(4) { transition-delay: 0.4s; }

.workshop-grid > .scroll-animate:nth-child(1) { transition-delay: 0.1s; }
.workshop-grid > .scroll-animate:nth-child(2) { transition-delay: 0.2s; }
.workshop-grid > .scroll-animate:nth-child(3) { transition-delay: 0.3s; }

.newsletter-item.scroll-animate { transition-duration: 0.6s; }
.newsletter-list > .scroll-animate:nth-child(1) { transition-delay: 0.1s; }
.newsletter-list > .scroll-animate:nth-child(2) { transition-delay: 0.2s; }
.newsletter-list > .scroll-animate:nth-child(3) { transition-delay: 0.3s; }
.newsletter-list > .scroll-animate:nth-child(4) { transition-delay: 0.4s; }

/* Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  z-index: 1000;
  cursor: pointer;
}
.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  background: var(--brand-navy);
  color: #fff;
  border-color: var(--brand-navy);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* =========================================================================
   Heritage Ribbon Integration
   ========================================================================= */
:root {
  --heritage-ribbon: linear-gradient(90deg, #b02e7c, #e05a60, #f28b27, #f6d333, #65b144, #009999, #1a2e40);
}

/* 1. Global Footer Accent */
.minimal-footer {
  position: relative;
}
.minimal-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--heritage-ribbon);
  background-size: 200% 100%;
  animation: ribbonShift 15s ease infinite;
}

@keyframes ribbonShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 2. Micro-Interactions on Cards */
.bento-card, .document-card, .newsletter-item, .exhibition-card, .workshop-card {
  position: relative;
  overflow: hidden;
}

.bento-card::after, .document-card::after, .newsletter-item::after, .exhibition-card::after, .workshop-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--heritage-ribbon);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 10;
}

.bento-card:hover::after, .document-card:hover::after, .newsletter-item:hover::after, .exhibition-card:hover::after, .workshop-card:hover::after {
  opacity: 1;
}

/* =========================================================================
   Editorial Sticky-Scroll Section
   ========================================================================= */
.editorial-scroll {
  max-width: 1200px;
  margin: 8rem auto 6rem auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 5rem;
  align-items: start;
}

.editorial-sidebar {
  position: sticky;
  top: 120px;
  padding-right: 2rem;
}

.editorial-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-left: 2px solid var(--border-light);
  padding-left: 1.5rem;
}

.editorial-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  position: relative;
}

.editorial-link::before {
  content: '';
  position: absolute;
  left: calc(-1.5rem - 3px);
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background: var(--brand-coral);
  transition: height 0.3s ease;
  border-radius: 2px;
}

.editorial-link:hover {
  color: var(--brand-navy);
}

.editorial-link.active {
  color: var(--brand-coral);
  font-weight: 600;
}

.editorial-link.active::before {
  height: 100%;
}

.editorial-content {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.editorial-block h2 {
  font-size: 2.5rem;
  color: var(--brand-navy);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.editorial-block p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}



/* Contact Page Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.contact-section {
  background: var(--bg-primary);
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
}

.contact-map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
}

/* Split-Screen Contact Layout */
.split-layout {
  display: flex;
  min-height: 100vh;
}

.split-map {
  flex: 1;
  position: sticky;
  top: 0;
  height: 100vh;
}

.split-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.split-content {
  flex: 1;
  padding: 8rem 4rem 4rem 4rem;
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
}

.split-content-inner {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 900px) {
  .split-layout {
    flex-direction: column;
  }
  .split-map {
    position: relative;
    height: 50vh;
    min-height: 400px;
  }
  .split-content {
    padding: 3rem 2rem;
  }
}

/* Dashboard Responsive Grids & Layouts */
@media (max-width: 1199px) {
  .editorial-scroll {
    grid-template-columns: 200px 1fr;
    gap: 3rem;
  }
  .document-grid, .video-grid, .committee-directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Layout */
  .dashboard-main { padding-bottom: 4rem; }
  .dashboard-layout, .editorial-scroll { margin-top: 8rem; gap: 2rem; display: flex; flex-direction: column; align-items: stretch; }
  .editorial-content { width: 100%; }
  
  /* Mobile Tab Navigation */
  .editorial-sidebar {
    display: none;
  }
  .editorial-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 1.5rem;
    padding: 1rem 5%;
    border-left: none;
    align-items: center;
  }
  .editorial-nav::-webkit-scrollbar { display: none; }
  .editorial-nav { scrollbar-width: none; }
  
  .editorial-link {
    font-size: 0.95rem;
    white-space: nowrap;
    padding: 0.5rem 0;
  }
  .editorial-link::before {
    left: 0;
    bottom: -1rem;
    height: 3px;
  }

  /* Password Form */
  .dashboard-login-main { padding-top: 5rem; padding-bottom: 3rem; padding-left: 1.5rem; padding-right: 1.5rem; min-height: 60vh; }
  .dashboard-login-box { padding: 2rem 1.5rem; }

  /* Welcome Block */
  .dashboard-welcome {
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    text-align: center;
  }
  .dashboard-welcome-text { width: 100%; min-width: 0; padding-right: 0; }
  .dashboard-welcome-bank { width: 100%; }
  .bank-details {
    padding: 1rem;
    font-size: 0.85rem;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-all;
    width: 100%;
  }

  /* Section Spacing & Grids */
  .dashboard-section-title { font-size: 1.35rem; margin-bottom: 1rem; }
  
  .forms-grid, .document-grid, .video-grid, .committee-directory-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .form-btn { padding: 1rem 1.5rem; font-size: 1rem; }
  .update-card { padding: 1.5rem; }
  .document-card, .video-card-content, .committee-card { padding: 1.5rem; }
}
