/* CICO Website Style Guide Implementation */

:root {
  /* CICO Color Palette */
  --primary-bg: #E8F5E9; /* Light green background matching hero image */
  --soft-blue: #A8C5E2; /* Soft blue accent */
  --light-blue: #B8D4F0; /* Light blue accent */
  --blue-accent: #6BA3D8; /* Deeper blue for highlights */
  --text-dark: #2C3E50; /* Dark text for readability */
  --text-muted: #5A6C7D; /* Muted text */
  --white: #FFFFFF;
  --card-bg: rgba(255, 255, 255, 0.9); /* Slightly transparent white for cards */
  
  /* Design tokens */
  --radius: 0px; /* Straight corners */
  --radius-sm: 0px;
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400; /* Ubuntu Regular for body */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--primary-bg) url('img/background.png') no-repeat center center fixed;
  background-size: cover;
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
}

/* Navigation */
.navbar {
  background: transparent;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 0px solid rgba(168, 197, 226, 0.3);
  animation: slideDown 0.3s ease-out;
  margin: 10px;
  border-radius: 0;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.navbar .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.sponsor-logos {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sponsor-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.nav-auth {
  margin-left: 0;
}

/* 3D Cube Home Button */
.home-button {
  width: 50px;
  height: 50px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: visible;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  background: rgb(169, 210, 154);
  border: none;
  cursor: pointer;
  z-index: 1;
}

/* Left face of the cube */
.home-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  width: 8px;
  height: 100%;
  background: rgb(140, 180, 125);
  transform: skewY(-45deg);
  transform-origin: right center;
  transition: all 0.3s ease;
}

/* Bottom face of the cube */
.home-button::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgb(140, 180, 125);
  transform: skewX(-45deg);
  transform-origin: top center;
  transition: all 0.3s ease;
}

.home-icon {
  position: relative;
  z-index: 2;
  width: 24px;
  height: 24px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-button:hover {
  transform: translateY(-2px);
}

.home-button:hover::before {
  left: -10px;
  width: 10px;
}

.home-button:hover::after {
  bottom: -10px;
  height: 10px;
}

.home-button:active {
  transform: translateY(0);
}

.home-button:active::before {
  left: -6px;
  width: 6px;
}

.home-button:active::after {
  bottom: -6px;
  height: 6px;
}

/* Hamburger Menu */
.hamburger-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  position: relative;
}

.hamburger-menu span {
  width: 100%;
  height: 3px;
  background: var(--text-dark);
  border-radius: 0;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.hamburger-menu:hover span {
  background: var(--blue-accent);
}

/* Logo Styles */
.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: transform 0.2s ease;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo-container:hover {
  transform: translateX(-50%) scale(1.02);
}

.logo-image {
  padding-top: 70px;
  height: 250px;
  
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-subtitle {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 300; /* Ubuntu Light */
  font-size: 0.75rem;
  color: var(--blue-accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0;
  text-align: center;
}

.nav-links {
  position: fixed;
  top: 10px;
  right: -100%;
  width: 300px;
  height: calc(100vh - 20px);
  background: var(--primary-bg);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 5rem 2rem 2rem;
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 100;
  overflow-y: auto;
  border-radius: 0;
}

.nav-links.active {
  right: 0;
}

.nav-links::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--primary-bg);
  border-bottom: 1px solid rgba(168, 197, 226, 0.3);
  border-radius: 0;
}

.nav-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 400; /* Ubuntu Regular */
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(168, 197, 226, 0.2);
  display: block;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-accent);
  transition: width 0.3s ease;
  border-radius: 0;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  padding-left: 0.5rem;
}

.nav-link.active {
  color: var(--blue-accent);
}

/* Main Content */
.main-content {
  min-height: calc(100vh - 80px);
  padding: 0rem 0;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography - CICO Style */
h1 {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700; /* Ubuntu Bold */
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h2 {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700; /* Ubuntu Bold */
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h3 {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700; /* Ubuntu Bold */
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

p {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 400; /* Ubuntu Regular */
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* Buttons - CICO Style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--blue-accent);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: #5A92C7;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: var(--soft-blue);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  background: #97B5D1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  color: var(--blue-accent);
  border: 2px solid var(--blue-accent);
}

.btn-outline:hover {
  background: var(--blue-accent);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Cards - CICO Style (Flat, Rounded, Minimalist) */
.card {
  background: var(--card-bg);
  border-radius: 0;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 1px solid rgba(168, 197, 226, 0.2);
  animation: fadeInUp 0.5s ease-out;
  animation-fill-mode: both;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(168, 197, 226, 0.4);
}

.card-header {
  margin-bottom: 1rem;
}

.card-title {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700; /* Ubuntu Bold */
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.card-content {
  color: var(--text-muted);
  font-weight: 400; /* Ubuntu Regular */
}

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Forms - CICO Style */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid rgba(168, 197, 226, 0.3);
  border-radius: 0;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
  color: var(--text-dark);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(107, 163, 216, 0.1);
  transform: scale(1.01);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Badge - CICO Style */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 0;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  background: rgba(168, 197, 226, 0.2);
  color: var(--blue-accent);
}

.badge-primary {
  background: var(--blue-accent);
  color: var(--white);
}

.badge-secondary {
  background: var(--soft-blue);
  color: var(--white);
}

/* Search */
.search-container {
  position: relative;
  margin-bottom: 2rem;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 3rem;
  border: 2px solid rgba(168, 197, 226, 0.3);
  border-radius: 0;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

.search-input:focus {
  outline: none;
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(107, 163, 216, 0.1);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-muted);
  pointer-events: none;
}

/* CTA Section - Above Hero */
.cta-section {
  text-align: center;

  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 0rem;
  min-height: 200px;
}

/* Modern Button Design - 3D Cube Style */
.cta-btn {
  min-width: 240px;
  padding: 1.5rem 3rem;
  border-radius: 0;
  border: none;
  cursor: pointer;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: #FFFFFF;
  position: relative;
  overflow: visible;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  background: rgb(169, 210, 154);
  box-shadow: none;
}

/* Left face of the cube (darker green) */
.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -14px;
  width: 14px;
  height: 100%;
  background: rgb(140, 180, 125);
  transform: skewY(-45deg);
  transform-origin: right center;
  transition: all 0.3s ease;
}

/* Bottom face of the cube (darker green) */
.cta-btn::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 100%;
  height: 14px;
  background: rgb(140, 180, 125);
  transform: skewX(-45deg);
  transform-origin: top center;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-4px);
}

.cta-btn:hover::before {
  left: -16px;
  width: 16px;
}

.cta-btn:hover::after {
  bottom: -16px;
  height: 16px;
}

.cta-btn:active {
  transform: translateY(-2px);
}

.cta-btn:active::before {
  left: -12px;
  width: 12px;
}

.cta-btn:active::after {
  bottom: -12px;
  height: 12px;
}

.cta-btn .btn-text {
  position: relative;
  z-index: 2;
  display: block;
}

/* Button Colors - All use green for 3D cube effect */
.btn-orange {
  background: rgb(169, 210, 154);
}

.btn-orange::before,
.btn-orange::after {
  background: rgb(140, 180, 125);
}

.btn-yellow {
  background: rgb(169, 210, 154);
}

.btn-yellow::before,
.btn-yellow::after {
  background: rgb(140, 180, 125);
}

.btn-green {
  background: rgb(169, 210, 154);
}

.btn-green::before,
.btn-green::after {
  background: rgb(140, 180, 125);
}

@keyframes pulse-orange {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(221, 144, 74, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(221, 144, 74, 0.6);
  }
}

@keyframes pulse-yellow {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(238, 187, 50, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(238, 187, 50, 0.6);
  }
}

@keyframes pulse-green {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(169, 210, 154, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(169, 210, 154, 0.6);
  }
}

.cta-subbuttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  
}

.cta-subbtn {
  min-width: 190px;
  padding: 1.25rem 2.5rem;
  border-radius: 0;
  border: none;
  cursor: pointer;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #FFFFFF;
  position: relative;
  overflow: visible;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  background: rgb(111, 174, 255);
  box-shadow: none;
}

/* Left face of the cube (darker blue) */
.cta-subbtn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -12px;
  width: 12px;
  height: 100%;
  background: rgb(85, 150, 235);
  transform: skewY(-45deg);
  transform-origin: right center;
  transition: all 0.3s ease;
}

/* Bottom face of the cube (darker blue) */
.cta-subbtn::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 100%;
  height: 12px;
  background: rgb(85, 150, 235);
  transform: skewX(-45deg);
  transform-origin: top center;
  transition: all 0.3s ease;
}

.cta-subbtn:hover {
  transform: translateY(-3px);
}

.cta-subbtn:hover::before {
  left: -14px;
  width: 14px;
}

.cta-subbtn:hover::after {
  bottom: -14px;
  height: 14px;
}

.cta-subbtn:active {
  transform: translateY(-1px);
}

.cta-subbtn:active::before {
  left: -10px;
  width: 10px;
}

.cta-subbtn:active::after {
  bottom: -10px;
  height: 10px;
}

.btn-blue {
  background: rgb(111, 174, 255);
}

.btn-blue::before,
.btn-blue::after {
  background: rgb(85, 150, 235);
}

.cta-subbtn .btn-text-small {
  position: relative;
  z-index: 1;
  display: block;
}

/* Hero Section */
.hero {
  width: 100%;
  text-align: center;

  margin-bottom: 0;
  position: relative;
}

.hero-image-container {
  margin-bottom: 0rem;
  animation: fadeInUp 0.5s ease-out;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image {
  max-width: 50%;
  height: auto;
  max-height: 300px;
  width: auto;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: multiply;
  filter: contrast(1.1);
}

.hero-subtitle {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--text-dark);
  text-align: center;
  margin: 1.5rem auto 2rem;
  max-width: 800px;
  animation: fadeInUp 0.6s ease-out;
  letter-spacing: 0.5px;
  line-height: 1.6;
  margin-top: -10px !important;
}

.hero-video-container {
  position: relative;
  width: 100%;
  max-width: 953px; /* 20% bigger than PDF viewer (794px * 1.2 = 953px) */
  margin: 0 auto 2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-height: 300px;
  animation: fadeInUp 0.5s ease-out;
  padding: 1rem;
  box-sizing: border-box;
}

.hero-video {
  width: 100%;
  max-width: 953px; /* 20% bigger than PDF viewer (794px * 1.2 = 953px) */
  height: auto;
  max-height: 80vh;
  display: block;
  object-fit: contain;
  margin: 0 auto;
}

.hero-video-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.hero-video-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.hero-video-close:active {
  transform: scale(0.95);
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: fadeInUp 0.6s ease-out;
  color: var(--text-dark);
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  animation: fadeInUp 0.7s ease-out;
}

/* Section */
.section {
  margin-bottom: 4rem;
}

.section-title {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700; /* Ubuntu Bold */
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 100px;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--card-bg);
  color: var(--text-dark);
  padding: 1rem 1.5rem;
  border-radius: 0;
  box-shadow: var(--shadow-hover);
  min-width: 300px;
  animation: slideInRight 0.3s ease-out;
  border-left: 4px solid var(--blue-accent);
  font-weight: 400;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast.success {
  border-left-color: var(--soft-blue);
}

.toast.error {
  border-left-color: #E74C3C;
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(168, 197, 226, 0.3);
  border-top-color: var(--blue-accent);
  border-radius: 0;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar .container {
    padding: 1rem;
  }

  .home-button {
    width: 45px;
    height: 45px;
  }

  .home-icon {
    width: 20px;
    height: 20px;
  }

  .home-button::before {
    left: -6px;
    width: 6px;
  }

  .home-button::after {
    bottom: -6px;
    height: 6px;
  }

  .logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .logo-image {
    height: 40px;
  }

  .logo-subtitle {
    font-size: 0.65rem;
  }

  .nav-right {
    gap: 0.75rem;
  }

  .sponsor-logos {
    gap: 0.5rem;
  }

  .sponsor-logo {
    height: 25px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    min-height: auto;
  }

  .cta-btn {
    width: 100%;
    max-width: 300px;
    padding: 1rem 2rem;
    font-size: 0.9rem;
  }

  .cta-subbuttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .cta-subbtn {
    width: 100%;
    max-width: 300px;
    padding: 1rem 2rem;
    font-size: 0.9rem;
  }

  .nav-links {
    justify-content: center;
  }

  h1 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero-video {
    max-height: 60vh;
  }

  .hero-video-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 35px;
    height: 35px;
  }

  .hero-image {
    max-height: 300px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .toast-container {
    right: 1rem;
    left: 1rem;
  }

  .toast {
    min-width: auto;
  }
}

  /* Profile Page Styles */
  .profile-page {
    max-width: 55%;
    margin: 0 auto;
    padding: 1.5rem;
  background: var(--primary-bg);
}

.profile-header {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: #D8E5D9;
  border-radius: 0;
}

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

.profile-back-link {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--blue-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.profile-back-link:hover {
  color: #5A92C7;
  text-decoration: underline;
}

.profile-header-label {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--blue-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-top-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.profile-hero {
  background: #D8E5D9;
  padding: 1.75rem;
  border-radius: 0;
  color: var(--text-dark);
  position: relative;
  overflow: visible;
  transform-style: preserve-3d;
  border: none;
  box-shadow: none;
}

/* Left face of the cube (darker green) */
.profile-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -14px;
  width: 14px;
  height: 100%;
  background: rgb(180, 200, 182);
  transform: skewY(-45deg);
  transform-origin: right center;
  transition: all 0.3s ease;
  z-index: -1;
}

/* Bottom face of the cube (darker green) */
.profile-hero::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 100%;
  height: 14px;
  background: rgb(180, 200, 182);
  transform: skewX(-45deg);
  transform-origin: top center;
  transition: all 0.3s ease;
  z-index: -1;
}

.profile-name {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  letter-spacing: 0.05em;
  line-height: 1.2;
  position: relative;
  z-index: 2;
}

.profile-tagline {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
}

.profile-contact {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.profile-contact p {
  margin-bottom: 0.4rem;
}

.profile-contact a {
  color: var(--blue-accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.profile-contact a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.profile-photo-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.25rem;
  background: #D8E5D9;
  border-radius: 0;
}

.profile-photo-placeholder {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 3/4;
  background: var(--card-bg);
  border: 2px solid rgba(168, 197, 226, 0.3);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.75rem;
}

.profile-photo {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border: 2px solid rgba(168, 197, 226, 0.3);
  border-radius: 0;
}

.profile-middle-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.profile-lower-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.profile-section {
  margin-bottom: 0;
  padding: 1.25rem;
  background: #D8E5D9;
  border-radius: 0;
}

.profile-section-title {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.profile-text {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.profile-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile-list li {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.profile-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--blue-accent);
  font-weight: 700;
  font-size: 1.2rem;
}

.profile-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile-links-list li {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.profile-links-list a {
  color: var(--blue-accent);
  text-decoration: none;
  transition: all 0.2s ease;
  word-break: break-all;
}

.profile-links-list a:hover {
  color: #5A92C7;
  text-decoration: underline;
}

.profile-left-lower {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Researchers List Page */
.researchers-list-page {
  padding: 0rem 0;
}

.page-title {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.page-subtitle {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.researchers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.researcher-card {
  background: #D8E5D9;
  border-radius: 0;
  padding: 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
  border: 1px solid rgba(168, 197, 226, 0.2);
  box-shadow: var(--shadow-soft);
}

.researcher-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(168, 197, 226, 0.4);
}

.researcher-card-photo {
  width: 120px;
  height: 160px;
  background: var(--card-bg);
  border: 2px solid rgba(168, 197, 226, 0.3);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: 'Ubuntu', sans-serif;
  position: relative;
  z-index: 2;
  font-size: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.researcher-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.researcher-card-content {
  text-align: center;
  width: 100%;
}

.researcher-card-name {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.researcher-card-tagline {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Responsive Profile Page */
@media (max-width: 968px) {
  .profile-page {
    max-width: 100%;
    padding: 1rem;
  }

  .profile-top-section,
  .profile-middle-section,
  .profile-lower-section {
    grid-template-columns: 1fr;
  }

  .profile-photo-container {
    justify-content: flex-start;
  }

  .profile-photo-placeholder {
    max-width: 240px;
  }

  .profile-name {
    font-size: 1.75rem;
  }


  .researchers-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
  }
}

/* Lessons Page Styles */
.lessons-page {
  min-height: 100vh;
  background: var(--primary-bg);
  margin: 0 2rem;
}

.lessons-top-bar {
  border-bottom: 1px solid rgba(168, 197, 226, 0.3);
  background-color: var(--card-bg);
  box-shadow: var(--shadow-soft);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.lessons-top-bar-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lessons-progress-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.lessons-progress-text {
  font-size: 14px;
  color: var(--text-muted);
  white-space: nowrap;
  font-family: 'Ubuntu', sans-serif;
}

.lessons-progress-bar-container {
  flex: 1;
  max-width: 400px;
  height: 8px;
  background-color: rgba(168, 197, 226, 0.3);
  border-radius: 0;
  overflow: hidden;
}

.lessons-progress-bar-fill {
  height: 100%;
  background-color: var(--blue-accent);
  transition: width 0.3s ease;
}

.lessons-top-actions {
  display: flex;
  gap: 8px;
}

.lessons-main-container {
  display: flex;
  min-height: calc(100vh - 60px);
}

.lessons-sidebar {
  width: 320px;
  border-right: 1px solid rgba(168, 197, 226, 0.3);
  background-color: var(--card-bg);
  transition: width 0.3s ease;
  overflow: hidden;
}

.lessons-sidebar.collapsed {
  width: 64px;
}

.lessons-sidebar-content {
  padding: 16px;
}

.lessons-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.lessons-sidebar-title {
  font-weight: 700;
  font-size: 18px;
  font-family: 'Ubuntu', sans-serif;
  color: var(--text-dark);
}

.lessons-toggle-sidebar {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  border-radius: 0;
  transition: var(--transition);
}

.lessons-toggle-sidebar:hover {
  background-color: rgba(168, 197, 226, 0.2);
}

.lessons-sidebar.collapsed .lessons-sidebar-title,
.lessons-sidebar.collapsed .lessons-progress-stats,
.lessons-sidebar.collapsed .lessons-list {
  display: none;
}

.lessons-progress-stats {
  margin-bottom: 24px;
}

.lessons-progress-percent {
  font-size: 14px;
  font-weight: 500;
  color: var(--blue-accent);
  margin-bottom: 4px;
  font-family: 'Ubuntu', sans-serif;
}

.lessons-progress-steps {
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'Ubuntu', sans-serif;
}

.lessons-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lessons-item {
  width: 100%;
  text-align: left;
  padding: 12px;
  border-radius: 0;
  border: none;
  background: none;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: 'Ubuntu', sans-serif;
}

.lessons-item:hover {
  background-color: rgba(168, 197, 226, 0.2);
}

.lessons-item.active {
  background-color: rgba(107, 163, 216, 0.1);
  border-left: 4px solid var(--blue-accent);
}

.lessons-icon {
  margin-top: 2px;
  flex-shrink: 0;
}

.lessons-icon svg {
  width: 20px;
  height: 20px;
}

.lessons-icon.completed {
  color: var(--blue-accent);
}

.lessons-icon.incomplete {
  color: var(--text-muted);
}

.lessons-info {
  flex: 1;
  min-width: 0;
}

.lessons-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.lessons-item.active .lessons-title {
  color: var(--blue-accent);
}

.lessons-step {
  font-size: 12px;
  color: var(--text-muted);
}

.lessons-content-area {
  flex: 1;
  overflow-y: auto;
  background: var(--primary-bg);
}

.lessons-content-wrapper {
  max-width: 896px;
  margin: 0 auto;
  padding: 32px;
}

.lessons-header {
  margin-bottom: 32px;
}

.lessons-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.lessons-title-main {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  font-family: 'Ubuntu', sans-serif;
  color: var(--text-dark);
}

.lessons-description {
  font-size: 18px;
  color: var(--text-muted);
  font-family: 'Ubuntu', sans-serif;
}

.lessons-card {
  background-color: var(--card-bg);
  border: 1px solid rgba(168, 197, 226, 0.3);
  border-radius: 0;
  padding: 24px;
  margin-bottom: 24px;
}

.lessons-card.objectives {
  background: linear-gradient(to bottom right, rgba(107, 163, 216, 0.05), rgba(169, 210, 154, 0.05));
}

.lessons-card-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
  font-family: 'Ubuntu', sans-serif;
  color: var(--text-dark);
}

.lessons-objectives-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lessons-objective-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.lessons-objective-icon {
  width: 20px;
  height: 20px;
  color: var(--blue-accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.lessons-content-text {
  line-height: 1.75;
  font-family: 'Ubuntu', sans-serif;
  color: var(--text-muted);
}

.lessons-content-text p {
  margin-bottom: 1rem;
}

.lessons-content-text p:last-child {
  margin-bottom: 0;
}

.lessons-section-heading {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Ubuntu', sans-serif;
  color: var(--text-dark);
  margin: 1.5rem 0 1rem 0;
  line-height: 1.4;
}

.lessons-section-heading:first-child {
  margin-top: 0;
}

.lessons-bullet-list {
  list-style: none;
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.lessons-bullet-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
  font-family: 'Ubuntu', sans-serif;
  color: var(--text-muted);
  line-height: 1.6;
}

.lessons-bullet-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--blue-accent);
  font-weight: 700;
  font-size: 1.2rem;
}

.lessons-bullet-list-nested {
  list-style: none;
  padding-left: 1.5rem;
  margin: 0.5rem 0 0 0;
}

.lessons-bullet-list-nested li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.lessons-bullet-list-nested li::before {
  content: '◦';
  position: absolute;
  left: 0;
  color: var(--blue-accent);
  font-weight: 500;
  font-size: 1rem;
}

.lessons-bullet-nested {
  margin-bottom: 0.75rem;
}

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

.lessons-vocabulary-item {
  border-left: 4px solid rgba(107, 163, 216, 0.3);
  padding-left: 16px;
}

.lessons-vocabulary-term {
  font-weight: 600;
  color: var(--blue-accent);
  margin-bottom: 4px;
  font-family: 'Ubuntu', sans-serif;
}

.lessons-vocabulary-definition {
  color: var(--text-muted);
  font-family: 'Ubuntu', sans-serif;
}

.lessons-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(168, 197, 226, 0.3);
}

.lessons-nav-actions {
  display: flex;
  gap: 12px;
}

.badge-icon {
  width: 12px;
  height: 12px;
  margin-right: 4px;
}

/* Responsive Lessons Page */
@media (max-width: 768px) {
  .lessons-page {
    margin: 0 1rem;
  }

  .lessons-main-container {
    flex-direction: column;
  }

  .lessons-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(168, 197, 226, 0.3);
  }

  .lessons-sidebar.collapsed {
    width: 100%;
  }

  .lessons-content-wrapper {
    padding: 16px;
  }

  .lessons-title-main {
    font-size: 28px;
  }

  .lessons-top-bar-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .lessons-progress-info {
    width: 100%;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

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

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

/* Stagger animation for cards */
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

/* Circular design elements - reinforcing circularity */
.card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(168, 197, 226, 0.05) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 0;
}

/* Brochure PDF Viewer Page */
.brochure-page {
  min-height: calc(100vh - 80px);
  padding: 0rem 0;
  background: var(--background);
}

.brochure-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
  display: none;
}

.brochure-title {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Ubuntu', sans-serif;
  color: var(--text-dark);
  margin: 0;
}

.brochure-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.brochure-zoom-buttons {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.brochure-content-wrapper {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.brochure-index {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  min-width: 250px;
  max-width: 300px;
  position: sticky;
  top: 2rem;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
}

.brochure-index-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 1rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--blue-accent);
}

.brochure-index-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.brochure-index-list li {
  margin-bottom: 0.75rem;
}

.index-link {
  display: block;
  color: var(--text-dark);
  text-decoration: none;
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.index-link:hover {
  background: var(--blue-accent);
  color: white;
  transform: translateX(4px);
}

.index-link:active {
  transform: translateX(2px);
}

@media (max-width: 968px) {
  .brochure-content-wrapper {
    flex-direction: column;
    align-items: center;
  }
  
  .brochure-index {
    position: static;
    max-width: 100%;
    width: 100%;
    max-height: none;
  }
}

.zoom-btn {
  padding: 0.5rem 1rem;
  background: var(--blue-accent);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.9rem;
  transition: background 0.2s ease;
  display: none;
}

.zoom-btn:hover {
  background: #5A92C7;
}

.brochure-viewer-container {
  width: 100%;
  max-width: 596px; /* 25% smaller than 794px (794 * 0.75 = 596px) */
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: visible;
}

.brochure-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s ease;
}

.brochure-close-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.brochure-close-btn:active {
  transform: scale(0.95);
}

.brochure-pdf-viewer {
  width: 100%;
  max-width: 596px; /* 25% smaller than 794px (794 * 0.75 = 596px) */
  height: auto;
  display: block;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pdf-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--card-bg);
  border-radius: 8px;
  margin-top: 1rem;
  flex-wrap: wrap;
  display: none;
}

.pdf-btn {
  padding: 0.5rem 1rem;
  background: var(--blue-accent);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.9rem;
  transition: background 0.2s ease;
  display: none;
}

.pdf-btn:hover:not(:disabled) {
  background: #5A92C7;
}

.pdf-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.pdf-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 2rem;
  font-weight: bold;
  z-index: 5;
  transition: all 0.3s ease;
  font-family: 'Ubuntu', sans-serif;
}

.pdf-nav-btn:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.pdf-nav-btn:active:not(:disabled) {
  transform: translateY(-50%) scale(0.95);
}

.pdf-nav-btn:disabled {
  background: rgba(0, 0, 0, 0.3);
  cursor: not-allowed;
  opacity: 0.5;
}

.pdf-nav-btn-left {
  left: -25px;
}

.pdf-nav-btn-right {
  right: -25px;
}

#page-info {
  font-family: 'Ubuntu', sans-serif;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.9rem;
  display: none;
}

#zoom-level {
  font-family: 'Ubuntu', sans-serif;
  color: var(--text-dark);
  min-width: 50px;
  text-align: center;
  font-size: 0.9rem;
  display: none;
}

.brochure-fallback {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-family: 'Ubuntu', sans-serif;
}

.brochure-fallback a {
  margin-top: 1rem;
  display: inline-block;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

/* Research Link */
.research-link {
  display: block;
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.875rem;
  color: var(--blue-accent);
  text-decoration: none;
  word-break: break-all;
  margin-top: 0.5rem;
  transition: color 0.2s ease;
}

.research-link:hover {
  color: #5A92C7;
  text-decoration: underline;
}

/* Responsive Brochure Page */
@media (max-width: 768px) {
  .brochure-page {
    padding: 1rem 0;
  }

  .brochure-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1.5rem;
  }

  .brochure-title {
    font-size: 1.5rem;
  }

  .brochure-viewer-container {
    max-width: 100%;
    height: calc(100vh - 200px);
    min-height: 600px;
    border-radius: 4px;
  }

  .brochure-actions {
    width: 100%;
  }

  .brochure-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Deelnemers Grid */
.text-preview {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.text-preview.expanded {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.read-more-btn {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: transparent;
  color: rgb(169, 210, 154);
  border: 1px solid rgb(169, 210, 154);
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: inline-block;
}

.read-more-btn:hover {
  background: rgb(169, 210, 154);
  color: white;
}

.deelnemers-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.deelnemers-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-family: 'Ubuntu', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

.deelnemers-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--blue-accent);
  font-weight: bold;
  font-size: 1.2rem;
}

.deelnemers-thanks {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(90, 146, 199, 0.1);
  border-left: 4px solid var(--blue-accent);
  border-radius: 4px;
  font-family: 'Ubuntu', sans-serif;
  color: var(--text-dark);
  font-style: italic;
}

.deelnemers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.deelnemer-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--card-bg);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.deelnemer-logo-container:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.deelnemer-logo-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
}

.deelnemer-logo {
  width: 100%;
  height: 80px;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 1000px) {
  .deelnemers-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 768px) {
  .deelnemers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .deelnemer-logo {
    height: 60px;
  }
}

@media (max-width: 480px) {
  .deelnemers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .deelnemer-logo {
    height: 50px;
  }
}

@media (max-width: 480px) {
  .brochure-viewer-container {
    height: calc(100vh - 320px);
    min-height: 350px;
  }
}

/* Circular Contact Button - Bottom Right Corner */
.contact-circle-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 79px;
  height: 79px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 500;
  font-size: 0.66rem;
  color: #FFFFFF;
  overflow: visible;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  background: rgb(169, 210, 154);
  box-shadow: none;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.44rem;
  text-align: center;
}

/* 3D shadow effect for circular button */
.contact-circle-btn::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  background: rgb(140, 180, 125);
  z-index: -1;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.contact-circle-btn:hover {
  transform: translateY(-4px) scale(1.05);
}

.contact-circle-btn:hover::before {
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  opacity: 0.8;
}

.contact-circle-btn:active {
  transform: translateY(-2px) scale(1.02);
}

.contact-circle-btn:active::before {
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  opacity: 0.5;
}

.contact-btn-text {
  position: relative;
  z-index: 2;
  display: block;
  line-height: 1.3;
}

/* Micro animation for contact button */
@keyframes microPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.contact-circle-btn.animate-micro {
  animation: microPulse 0.4s ease-in-out;
}

/* Responsive adjustments for circular button */
@media (max-width: 768px) {
  .contact-circle-btn {
    width: 62px;
    height: 62px;
    font-size: 0.605rem;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

@media (max-width: 480px) {
  .contact-circle-btn {
    width: 53px;
    height: 53px;
    font-size: 0.55rem;
    bottom: 1rem;
    right: 1rem;
  }
}

/* Contact Popup */
.contact-popup {
  position: fixed;
  bottom: calc(79px + 2rem + 1rem);
  right: 2rem;
  background: var(--card-bg);
  border: 1px solid rgba(168, 197, 226, 0.3);
  border-radius: 0;
  padding: 1.5rem;
  box-shadow: var(--shadow-hover);
  z-index: 51;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  min-width: 250px;
  max-width: 300px;
}

.contact-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.contact-popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.contact-popup-text {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.5;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgb(169, 210, 154);
  border-radius: 50%;
  color: #FFFFFF;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
  transform-style: preserve-3d;
}

.contact-email-link::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: rgb(140, 180, 125);
  z-index: -1;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.contact-email-link:hover {
  transform: translateY(-2px) scale(1.05);
  background: rgb(150, 200, 144);
}

.contact-email-link:hover::before {
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  opacity: 0.8;
}

.contact-email-link:active {
  transform: translateY(0) scale(1);
}

.contact-email-icon {
  width: 24px;
  height: 24px;
  color: #FFFFFF;
}

/* Responsive adjustments for contact popup */
@media (max-width: 768px) {
  .contact-popup {
    bottom: calc(56px + 1.5rem + 1rem);
    right: 1.5rem;
    min-width: 220px;
    max-width: 260px;
    padding: 1.25rem;
  }

  .contact-popup-text {
    font-size: 0.85rem;
  }

  .contact-email-link {
    width: 45px;
    height: 45px;
  }

  .contact-email-icon {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .contact-popup {
    bottom: calc(48px + 1rem + 1rem);
    right: 1rem;
    min-width: 200px;
    max-width: 240px;
    padding: 1rem;
  }

  .contact-popup-text {
    font-size: 0.8rem;
  }

  .contact-email-link {
    width: 40px;
    height: 40px;
  }

  .contact-email-icon {
    width: 18px;
    height: 18px;
  }
}

/* Eindevent floating banner (home, on logo) – photo with text overlay */
.eindevent-banner-floating {
  position: absolute;
  right: 1rem;
  bottom: 0;
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: var(--transition);
  animation: eindevent-banner-in 0.25s ease-out 0.2s both;
}
@keyframes eindevent-banner-in {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.eindevent-banner-floating:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.eindevent-banner-floating img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.eindevent-banner-floating .eindevent-banner-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.4rem 0;
  text-align: center;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
}

/* Eindevent banner under subtitle (mobile only) – photo with text overlay */
.eindevent-banner-under-subtitle {
  display: none;
  position: relative;
  margin: 0 auto 1.5rem;
  width: 240px;
  height: 240px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: var(--transition);
}
.eindevent-banner-under-subtitle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.eindevent-banner-under-subtitle .eindevent-banner-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.6rem 0;
  text-align: center;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  line-height: 1.2;
}

/* Eindevent page */
.eindevent-page {
  padding: 2rem 0 4rem;
}
.eindevent-back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--blue-accent);
  text-decoration: none;
  font-size: 0.95rem;
  display: none;
}
.eindevent-back-link:hover {
  text-decoration: underline;
}
.eindevent-title {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}
.eindevent-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.eindevent-two-col {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.eindevent-content {
  flex: 1;
  min-width: 0;
}
.eindevent-gallery-wrap {
  flex: 1;
  min-width: 0;
  background: #c8e6c9;
  padding: 1.25rem;
  border-radius: var(--radius);
}
.eindevent-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}
.eindevent-gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: var(--transition);
}
.eindevent-gallery-item:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.eindevent-gallery-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
.eindevent-content p {
  margin-bottom: 1.25rem;
  line-height: 1.65;
  color: var(--text-dark);
}
.eindevent-cta {
  margin-top: 2rem;
  margin-bottom: 0;
}

/* Eindevent lightbox */
.eindevent-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.eindevent-lightbox.eindevent-lightbox-open {
  opacity: 1;
  visibility: visible;
}
.eindevent-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}
.eindevent-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2002;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}
.eindevent-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.35);
}
.eindevent-lightbox-prev,
.eindevent-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2002;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}
.eindevent-lightbox-prev { left: 1rem; }
.eindevent-lightbox-next { right: 1rem; }
.eindevent-lightbox-prev:hover,
.eindevent-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.35);
}
.eindevent-lightbox-content {
  position: relative;
  z-index: 2001;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eindevent-lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.eindevent-lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2002;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .eindevent-two-col {
    flex-direction: column;
    gap: 2rem;
  }
}
@media (max-width: 768px) {
  .hero-image-container .eindevent-banner-floating {
    display: none;
  }
  .eindevent-banner-under-subtitle {
    display: block;
    width: 120px;
    height: 120px;
    animation: eindevent-banner-in 0.25s ease-out 0.2s both;
  }
  .eindevent-banner-under-subtitle .eindevent-banner-text {
    font-size: 0.9rem;
    padding: 0.3rem 0;
  }
}
@media (max-width: 640px) {
  .eindevent-banner-under-subtitle {
    width: 100px;
    height: 100px;
  }
  .eindevent-banner-under-subtitle .eindevent-banner-text {
    font-size: 0.75rem;
    padding: 0.25rem 0;
  }
  .eindevent-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .eindevent-gallery-item img {
    height: 120px;
  }
}
