@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

/* ==========================================================================
   Design Tokens
   ========================================================================== */
:root {
  /* Brand */
  --deloitte-green: #86bc25;
  --deloitte-green-rgb: 134, 188, 37;
  --deloitte-green-glow: rgba(134, 188, 37, 0.15);
  --deloitte-green-glow-weak: rgba(134, 188, 37, 0.06);

  /* Surface & Border */
  --bg-canvas: #f4f6f8;
  --bg-surface: #ffffff;
  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-active: rgba(134, 188, 37, 0.7);

  /* Typography */
  --text-primary: #121212;
  --text-secondary: #5a6578;
  --font-main: "Open Sans", Aptos, Helvetica, sans-serif;

  /* Category Accent Colors */
  --category-sovereign: rgb(134, 188, 37);
  --category-automation: rgb(0, 163, 224);
  --category-cyber: rgb(193, 58, 150);
  --category-customer: rgb(237, 139, 0);
  --category-special: #6b7280;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 50px;

  /* Shadows & Motion */
  --shadow-standard: 0 3px 6px #00000029;
  --transition-speed: 0.2s;
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   Base
   ========================================================================== */
body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-main);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

/* ==========================================================================
   Scrollbar
   ========================================================================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-canvas);
}
::-webkit-scrollbar-thumb {
  background: #cbd0d1;
  border-radius: var(--radius-md);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--deloitte-green);
}

/* ==========================================================================
   Layout Primitives
   ========================================================================== */
.container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   Header
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition:
    background var(--transition-speed) ease,
    border-color var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease;
  animation: fadeSlideDown 0.5s var(--ease-spring) both;
}

header.scrolled {
  background: var(--bg-surface);
  border-bottom-color: var(--deloitte-green);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.header-flex {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.deloitte-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 22px;
  width: auto;
  display: block;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
}

/* Background image */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://form.deloitte.lu/rs/854-QYK-918/images/hero-bg.jpg");
  background-position: 70% center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Gradient overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(10, 12, 14, 0.65) 0%,
      rgba(10, 12, 14, 0.52) 30%,
      rgba(10, 12, 14, 0.25) 60%,
      rgba(10, 12, 14, 0.08) 100%
    ),
    linear-gradient(
      to top,
      rgba(10, 12, 14, 0.35) 0%,
      rgba(10, 12, 14, 0.06) 35%,
      rgba(10, 12, 14, 0) 65%
    ),
    linear-gradient(
      to bottom,
      rgba(10, 12, 14, 0.2) 0%,
      rgba(10, 12, 14, 0) 30%
    ),
    radial-gradient(
      circle at 75% 40%,
      rgba(134, 188, 37, 0.07) 0%,
      transparent 55%
    );
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.1;
  margin: auto auto 1rem;
  color: #ffffff;
  animation: fadeSlideUp 0.7s 0.15s var(--ease-spring) both;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 90%;
  margin: 2rem 0;
  animation: fadeSlideUp 0.7s 0.3s var(--ease-spring) both;
}

/* ==========================================================================
   Hero Visual (Right-side Image)
   ========================================================================== */
.hero-grid {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-visual {
  position: relative;
  z-index: 2;
  flex: 0 0 46%;
  max-width: 46%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeSlideUp 0.8s 0.4s var(--ease-spring) both;
}

.hero-visual-img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.3));
}

.hero-content {
  flex: 1 1 55%;
  min-width: 0;
}

.hero-pillars-row {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 3rem 0 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(244, 246, 248, 0.85) 40%,
    rgba(244, 246, 248, 1) 100%
  );
}

/* ==========================================================================
   Pillar Cards
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.pillar-card {
  background: linear-gradient(
    200deg,
    color-mix(in srgb, var(--pillar-color) 14%, #ffffff) 0%,
    #ffffff 65%
  );
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--pillar-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: var(--shadow-standard);
  transition:
    box-shadow var(--transition-speed) ease,
    border-color var(--transition-speed) ease;
}

.pillar-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.09);
}

.pillar-card:nth-child(1) {
  animation: fadeSlideUp 0.6s 0.35s var(--ease-spring) both;
}
.pillar-card:nth-child(2) {
  animation: fadeSlideUp 0.6s 0.45s var(--ease-spring) both;
}
.pillar-card:nth-child(3) {
  animation: fadeSlideUp 0.6s 0.55s var(--ease-spring) both;
}
.pillar-card:nth-child(4) {
  animation: fadeSlideUp 0.6s 0.65s var(--ease-spring) both;
}

.pillar-inner {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pillar-category-label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--pillar-color);
  line-height: 1.2;
}

.pillar-description {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.pillar-btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.45rem;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--pillar-color) 45%, transparent);
  border-radius: var(--radius-pill);
  color: var(--pillar-color);
  padding: 0.5rem 0.9rem;
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition:
    background var(--transition-speed) ease,
    color var(--transition-speed) ease,
    border-color var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease;
}

.pillar-btn i {
  font-size: 0.65rem;
  transition: transform var(--transition-speed) ease;
}

.pillar-btn:hover {
  background: var(--pillar-color);
  color: #ffffff;
  border-color: var(--pillar-color);
  box-shadow: 0 3px 10px
    color-mix(in srgb, var(--pillar-color) 30%, transparent);
}

.pillar-btn:hover i {
  transform: translateX(3px);
}

/* ==========================================================================
   Main Layout
   ========================================================================== */
.main-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  padding: 4rem 24px;
  align-items: start;
  width: 100%;
}

/* ==========================================================================
   Mobile Filter Toggle
   ========================================================================== */
.mobile-filter-btn {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  padding: 1rem 1.5rem;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-standard);
  outline: none;
  transition:
    background var(--transition-speed) ease,
    border-color var(--transition-speed) ease,
    color var(--transition-speed) ease;
}

.mobile-filter-btn i {
  color: var(--deloitte-green);
}

.mobile-filter-btn .toggle-arrow {
  display: inline-flex;
  transition: transform 0.3s var(--ease-spring);
}

.mobile-filter-btn:hover,
.mobile-filter-btn.active {
  background: var(--deloitte-green-glow-weak);
  border-color: var(--deloitte-green);
  color: var(--deloitte-green);
}

/* ==========================================================================
   Sidebar
   ========================================================================== */
.sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  padding-right: 0.5rem;
}

.sidebar-top-fade {
  position: sticky;
  top: 0;
  height: 72px;
  margin-bottom: -72px;
  background: linear-gradient(
    to bottom,
    var(--bg-canvas) 40%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 5;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.filter-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-standard);
}

.filter-section:nth-child(1) {
  animation: slideInLeft 0.5s 0.2s var(--ease-spring) both;
}
.filter-section:nth-child(2) {
  animation: slideInLeft 0.5s 0.3s var(--ease-spring) both;
}
.filter-section:nth-child(3) {
  animation: slideInLeft 0.5s 0.4s var(--ease-spring) both;
}
.filter-section:nth-child(4) {
  animation: slideInLeft 0.5s 0.5s var(--ease-spring) both;
}
.filter-section:nth-child(5) {
  animation: slideInLeft 0.5s 0.6s var(--ease-spring) both;
}

.filter-title {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  border-left: 2px solid var(--deloitte-green);
  padding-left: 0.75rem;
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- Search --- */
.search-wrapper {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  padding: 0.85rem 1rem 0.85rem 2.5rem;
  font-family: var(--font-main);
  font-size: 0.9rem;
  box-shadow: var(--shadow-standard);
  transition:
    border-color var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--deloitte-green);
  box-shadow:
    var(--shadow-standard),
    0 0 0 2px var(--deloitte-green-glow);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 0.9rem;
  pointer-events: none;
}

/* --- Topic Buttons --- */
.topic-tag-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.topic-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--topic-color, var(--deloitte-green));
  padding: 0.75rem 1rem;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition:
    background var(--transition-speed) ease,
    border-color var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease,
    transform 0.15s ease;
}

.topic-btn:hover {
  background: var(--deloitte-green-glow-weak);
  border-color: var(--topic-color, var(--deloitte-green));
}

.topic-btn:active {
  transform: scale(0.97);
}

.topic-btn.active {
  font-weight: 600;
  background: var(--deloitte-green-glow-weak);
  border-color: var(--topic-color, var(--deloitte-green));
  box-shadow: 0 2px 8px color-mix(in srgb, var(--topic-color) 25%, transparent);
}

.topic-count {
  font-size: 0.7rem;
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-secondary);
  padding: 0.15rem 0.4rem;
  border-radius: 20px;
}

.topic-btn.active .topic-count {
  background: var(--topic-color, var(--deloitte-green));
  color: #ffffff;
}

/* --- Checkboxes --- */
.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  transition: color var(--transition-speed) ease;
}

.checkbox-label:hover {
  color: var(--text-primary);
}

.checkbox-label-text {
  flex: 1;
}

.location-count {
  font-size: 0.7rem;
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-secondary);
  padding: 0.15rem 0.4rem;
  border-radius: 20px;
  font-weight: 500;
  margin-left: auto;
  min-width: 20px;
  text-align: center;
}

.checkbox-label input {
  display: none;
}

.checkbox-custom {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  transition:
    background-color var(--transition-speed) ease,
    border-color var(--transition-speed) ease,
    transform 0.15s ease;
}

.checkbox-label:active .checkbox-custom {
  transform: scale(0.88);
}

.checkbox-label input:checked + .checkbox-custom {
  background-color: var(--deloitte-green);
  border-color: var(--deloitte-green);
}

.checkbox-label input:checked + .checkbox-custom::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label input:checked ~ .location-count {
  background: var(--deloitte-green);
  color: #ffffff;
}

/* --- Personal Schedule Button --- */
.my-schedule-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  background: var(--bg-surface);
  border: 1px dashed rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  padding: 1rem;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-standard);
  transition:
    color var(--transition-speed) ease,
    border-color var(--transition-speed) ease,
    background var(--transition-speed) ease;
  animation: slideInLeft 0.5s 0.35s var(--ease-spring) both;
}

.my-schedule-btn i {
  transition: transform var(--transition-speed) ease;
}

.my-schedule-btn:hover,
.my-schedule-btn.active {
  color: var(--deloitte-green);
  border-color: var(--deloitte-green);
  background: var(--deloitte-green-glow-weak);
}

.my-schedule-btn.active {
  border-style: solid;
}

/* ==========================================================================
   Agenda Console (Right Panel)
   ========================================================================== */
.agenda-console {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* --- Day Tabs --- */
.sidebar-day-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-day-nav .tab-btn {
  width: 100%;
  padding: 0.9rem 1rem;
}

.tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  padding: 1.25rem;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-main);
  box-shadow: var(--shadow-standard);
  position: relative;
  overflow: hidden;
  transition:
    background var(--transition-speed) ease,
    border-color var(--transition-speed) ease,
    color var(--transition-speed) ease,
    transform 0.15s ease;
}

.tab-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--deloitte-green);
  opacity: 0;
  border-radius: inherit;
  pointer-events: none;
  transition: opacity var(--transition-speed) ease;
}

.tab-btn:hover {
  background: rgba(0, 0, 0, 0.01);
  color: var(--text-primary);
  border-color: rgba(0, 0, 0, 0.15);
}

.tab-btn:active {
  transform: scale(0.98);
}

.tab-btn.active {
  background: var(--deloitte-green-glow-weak);
  border-color: var(--deloitte-green);
  color: var(--text-primary);
}

.tab-day-label {
  font-size: 1.1rem;
  font-weight: 700;
  display: block;
}

.tab-day-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  display: block;
}

.tab-btn.active .tab-day-desc {
  color: var(--deloitte-green);
  font-weight: 600;
}

/* --- Filter Summary Bar --- */
.filter-summary-bar {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.6rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  min-height: 48px;
  box-shadow: var(--shadow-standard);
}

.filter-info-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.filter-info-text span {
  color: var(--text-primary);
  font-weight: 600;
}

.active-filter-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
}

.active-filter-badges:empty,
#export-btn-container:empty {
  display: none;
}

.filter-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--deloitte-green-glow-weak);
  border: 1px solid rgba(134, 188, 37, 0.4);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 500;
  animation: badgeEnter 0.25s var(--ease-spring) both;
}

.filter-badge i {
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition-speed);
}

.filter-badge i:hover {
  color: var(--deloitte-green);
}

.badge-clear-all {
  background: transparent;
  border: none;
  color: var(--deloitte-green);
  font-family: var(--font-main);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  transition: opacity var(--transition-speed);
}

.badge-clear-all:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* --- Export Button & Dropdown --- */
.btn-export-agenda {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--deloitte-green);
  border: none;
  border-radius: var(--radius-pill);
  color: #ffffff;
  padding: 0.6rem 1.5rem;
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-standard);
  transition:
    background-color var(--transition-speed),
    box-shadow var(--transition-speed);
}

.btn-export-agenda:hover {
  background: #73a31f;
  box-shadow: 0 4px 10px rgba(134, 188, 37, 0.3);
}

.calendar-dropdown {
  position: relative;
  display: inline-block;
}

.calendar-dropdown-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  display: none;
  flex-direction: column;
  min-width: 230px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  z-index: 1000;
  animation: slideUpDropdown 0.25s var(--ease-spring);
}

.calendar-dropdown-menu.active {
  display: flex;
}

.dropdown-item-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 0.65rem 1.25rem;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition:
    background var(--transition-speed) ease,
    color var(--transition-speed) ease;
}

.dropdown-item-btn i {
  width: 16px;
  font-size: 0.88rem;
  text-align: center;
  color: var(--text-secondary);
  transition: color var(--transition-speed) ease;
}

.dropdown-item-btn:hover {
  background: rgba(134, 188, 37, 0.08);
  color: var(--deloitte-green);
}

.dropdown-item-btn:hover i {
  color: var(--deloitte-green);
}

.dropdown-arrow {
  display: inline-block;
  margin-left: 0.35rem;
  transition: transform 0.25s var(--ease-spring);
}

.dropdown-open .dropdown-arrow {
  transform: rotate(180deg);
}

/* ==========================================================================
   Agenda Day Heading
   ========================================================================== */
.agenda-day-heading {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--deloitte-green);
}

.agenda-day-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
}

.agenda-day-title span {
  color: var(--deloitte-green);
}

.agenda-day-date {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ==========================================================================
   Timeline & Session Cards
   ========================================================================== */
.timeline-viewport {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* --- Empty State --- */
.empty-timeline {
  background: var(--bg-surface);
  border: 1px dashed rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-standard);
  color: var(--text-secondary);
  text-align: center;
  padding: 4rem 2rem;
}

.empty-timeline i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: rgba(0, 0, 0, 0.1);
}

.empty-timeline h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

/* --- Timeline Slot --- */
.timeline-slot {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  animation: fadeSlideUp 0.45s var(--ease-spring) both;
}

.timeline-slot:last-child {
  margin-bottom: 3rem;
}

.timeline-slot:nth-child(1) {
  animation-delay: 0.05s;
}
.timeline-slot:nth-child(2) {
  animation-delay: 0.12s;
}
.timeline-slot:nth-child(3) {
  animation-delay: 0.19s;
}
.timeline-slot:nth-child(4) {
  animation-delay: 0.26s;
}
.timeline-slot:nth-child(5) {
  animation-delay: 0.33s;
}
.timeline-slot:nth-child(6) {
  animation-delay: 0.4s;
}
.timeline-slot:nth-child(7) {
  animation-delay: 0.47s;
}
.timeline-slot:nth-child(8) {
  animation-delay: 0.54s;
}

.slot-time-column {
  position: sticky;
  top: 90px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.25rem;
  background: rgba(244, 246, 248, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.slot-time-start {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.slot-time-end {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* --- Cards Column --- */
.cards-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* --- Session Card --- */
.session-card {
  background: linear-gradient(
    200deg,
    color-mix(in srgb, var(--card-category-color) 14%, #ffffff) 0%,
    #ffffff 65%
  );
  border: 1px solid var(--border-color);
  border-left: 6px solid var(--card-category-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-standard);
  transition:
    transform 0.25s var(--ease-spring),
    box-shadow 0.25s ease,
    border-color var(--transition-speed) ease,
    background var(--transition-speed) ease;
}

.session-card:hover {
  border-color: var(--card-category-color);
}

/* --- Card Meta Row --- */
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.meta-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.category-tag {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--card-category-color);
  border-radius: var(--radius-sm);
  color: #ffffff;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.category-tag--special {
  background: var(--category-special);
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: color-mix(in srgb, var(--card-category-color) 10%, #ffffff);
  border: 1px solid var(--card-category-color);
  border-radius: var(--radius-sm);
  color: var(--card-category-color);
  padding: 0.2rem 0.5rem;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: fadeIn 0.3s ease both;
}

.live-badge span {
  width: 6px;
  height: 6px;
  background-color: var(--card-category-color);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* --- Star / Bookmark Button --- */
.btn-star-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-surface);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  padding: 0.35rem 0.75rem;
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition:
    background var(--transition-speed) ease,
    border-color var(--transition-speed) ease,
    color var(--transition-speed) ease;
}

.btn-star-pill i {
  font-size: 0.72rem;
}

.btn-star-pill:hover {
  background: rgba(134, 188, 37, 0.08);
  border-color: var(--card-category-color);
  color: var(--card-category-color);
}

.btn-star-pill.starred {
  background: var(--card-category-color);
  border-color: var(--card-category-color);
  color: #ffffff;
}

.btn-star-pill.starred:hover {
  background: color-mix(in srgb, var(--card-category-color) 90%, black);
  border-color: color-mix(in srgb, var(--card-category-color) 90%, black);
}

.btn-star-pill.star-pop {
  animation: starPop 0.35s var(--ease-spring);
}

/* --- Card Body --- */
.session-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  text-transform: none;
  margin-bottom: 0.75rem;
  transition: color var(--transition-speed);
}

.session-subheader {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: -0.25rem;
  margin-bottom: 0.85rem;
}

.subheader-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.subheader-item.location i,
.subheader-item.day i {
  color: var(--card-category-color);
}

.subheader-item.format {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.subheader-separator {
  color: rgba(0, 0, 0, 0.15);
  font-size: 0.8rem;
}

/* --- Card Footer --- */
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding-top: 1rem;
}

.speakers-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.speaker-avatar-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.speaker-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f4f6f8;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.65rem;
  font-weight: 700;
}

.speaker-info {
  font-size: 0.75rem;
}

.speaker-name {
  font-weight: 600;
  color: var(--text-primary);
}

.speaker-role {
  font-size: 0.7rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.3;
  margin-bottom: 1px;
}

.speaker-company {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.partner-logo-tag {
  display: inline-flex;
  align-items: center;
  background: #f8f9fa;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  padding: 0.2rem 0.5rem;
  font-family: var(--font-main);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* --- Progress Bar --- */
.card-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--card-category-color) 0%,
    color-mix(in srgb, var(--card-category-color) 60%, #ffffff) 40%,
    var(--card-category-color) 60%,
    color-mix(in srgb, var(--card-category-color) 40%, #ffffff) 80%,
    var(--card-category-color) 100%
  );
  background-size: 200% 100%;
  border-radius: 0 2px 2px 0;
  animation: progressFlow 2.2s linear infinite;
  transition: width 60s linear;
}

.card-progress-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  border-radius: inherit;
  filter: blur(4px);
  opacity: 0.55;
}

input:checked + .slider {
  background-color: var(--deloitte-green);
}

input:checked + .slider::before {
  transform: translateX(22px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
}

.footer-logo span {
  color: var(--deloitte-green);
}

.footer-social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.social-link-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition:
    background-color var(--transition-speed) ease,
    transform 0.2s var(--ease-spring);
}

.social-link-item:hover {
  background-color: rgba(134, 188, 37, 0.08);
  transform: translateY(-3px) scale(1.08);
}

.social-icon-img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.65;
  transition:
    opacity var(--transition-speed) ease,
    transform var(--transition-speed) ease;
}

.social-link-item:hover .social-icon-img {
  opacity: 1;
}
.session-card--ceremony {
  background: linear-gradient(
    160deg,
    color-mix(in srgb, var(--category-special) 11%, #ffffff) 0%,
    #ffffff 100%
  );
  border-left-style: solid;
  padding: 1.5rem 1.75rem;
}

.session-card--ceremony .card-meta {
  margin-bottom: 0.6rem;
}

.session-card--ceremony .session-title {
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

/* ==========================================================================
   Back to Top
   ========================================================================== */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.18),
    0 2px 6px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background var(--transition-speed) ease,
    color var(--transition-speed) ease,
    border-color var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease;
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#back-to-top:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(134, 188, 37, 0.6);
  color: var(--deloitte-green);
  transform: translateY(-2px);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.18),
    0 2px 6px rgba(0, 0, 0, 0.1),
    0 0 0 3px rgba(134, 188, 37, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideUpDropdown {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0
      color-mix(
        in srgb,
        var(--card-category-color, var(--deloitte-green)) 70%,
        transparent
      );
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 5px
      color-mix(
        in srgb,
        var(--card-category-color, var(--deloitte-green)) 0%,
        transparent
      );
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0
      color-mix(
        in srgb,
        var(--card-category-color, var(--deloitte-green)) 0%,
        transparent
      );
  }
}

@keyframes progressFlow {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

@keyframes starPop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.25);
  }
  70% {
    transform: scale(0.92);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes badgeEnter {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(-4px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.partners-block {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.partner-logo-tag {
  white-space: nowrap;
}

@media (max-width: 1330px) {
  .card-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Responsive — 1024px
   ========================================================================== */
@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero {
    padding-top: 1rem;
  }
}

/* ==========================================================================
   Responsive — 992px
   ========================================================================== */
@media (max-width: 992px) {
  .container,
  .header-flex {
    padding: 0 20px;
  }

  .main-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 20px;
  }

  .mobile-filter-btn {
    display: flex;
    margin-top: 16px;
  }

  .mobile-filter-btn.active .toggle-arrow {
    transform: rotate(180deg);
  }

  .sidebar {
    position: static;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 !important;
    margin-bottom: 0 !important;
    border: none !important;
    gap: 0 !important;
    transition:
      max-height 0.4s var(--ease-spring),
      opacity 0.4s ease,
      margin 0.4s ease;
  }

  .sidebar.open {
    max-height: 2000px;
    opacity: 1;
    margin-bottom: 1.5rem !important;
    gap: 1.5rem !important;
  }
}

/* ==========================================================================
   Responsive — 768px
   ========================================================================== */
@media (max-width: 768px) {
  .container,
  .header-flex {
    padding: 0 16px;
  }

  .main-layout {
    padding: 1.5rem 16px;
  }

  header {
    padding: 1rem 0;
  }

  .header-flex {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .header-title {
    font-size: 0.9rem;
    text-align: center;
  }

  .logo-img {
    height: 18px;
  }

  #header-logo-nexus img {
    height: 14px;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-title {
    font-size: 2rem;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-content {
    text-align: center;
  }

  .hero-grid {
    flex-direction: column-reverse;
    gap: 0;
    position: relative;
  }

  .hero-visual {
    flex: none;
    max-width: 100%;
    width: 100%;
    margin-bottom: -2rem;
    position: relative;
  }

  .hero-visual-img {
    max-height: 280px;
    width: 80%;
    margin: 0 auto;
    opacity: 0.85;
    -webkit-mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 30%,
      rgba(0, 0, 0, 0.6) 60%,
      rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 30%,
      rgba(0, 0, 0, 0.6) 60%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  .hero-visual-img {
    max-height: 280px;
    width: 80%;
    margin: 0 auto;
    opacity: 0.85;
  }

  .hero-content {
    position: relative;
    z-index: 3;
  }

  .pillars-grid {
    margin-bottom: 2.5rem;
  }

  .tab-btn {
    text-align: center;
  }

  .filter-summary-bar {
    align-items: flex-start;
    padding: 1rem;
  }

  .active-filter-badges {
    width: 100%;
  }

  .card-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .session-card {
    padding: 1.25rem;
  }

  .session-title {
    font-size: 1rem;
    word-break: break-word;
  }

  .agenda-console {
    min-width: 0;
    overflow-x: clip;
  }

  .timeline-viewport {
    min-width: 0;
  }

  .mobile-filter-btn {
    padding: 0.85rem 1.25rem;
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   Responsive — 600px
   ========================================================================== */
@media (max-width: 600px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .hero-pillars-row {
    padding: 2rem 0 0;
  }
}

/* ==========================================================================
   Responsive — 480px
   ========================================================================== */
@media (max-width: 480px) {
  .container,
  .header-flex {
    padding: 0 14px;
  }

  .main-layout {
    padding: 1.5rem 14px;
  }

  .hero-title {
    font-size: 2.25rem;
    margin-top: -3rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-visual-img {
    max-height: 260px;
    width: 90%;
    -webkit-mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 25%,
      rgba(0, 0, 0, 0.5) 55%,
      rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 25%,
      rgba(0, 0, 0, 0.5) 55%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  .hero-visual {
    margin-bottom: -1.5rem;
  }

  .session-card {
    padding: 1rem;
  }

  .slot-time-column {
    padding: 0.5rem 1rem;
  }
}

/* ==========================================================================
   Accessibility — Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
