/* Variables */
:root {
  --primary-color: #ff9800;
  --secondary-color: #f57c00;
  --text-color: #333;
  --light-text: #fff;
  --background-color: #fafafa;
  --header-height: 64px;
  --footer-height: 250px;
  --hover-color:  #ffb74d;
  --accent-color: #ff5722;
}

/* Reset and Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header (sticky) */
.header {
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  color: var(--light-text);
  height: var(--header-height);
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(255, 152, 0, 0.2);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--light-text);
  gap: 8px;
}

.logo .material-icons { font-size: 32px; }

.logo-text { font-size: 1.5rem; font-weight: 500; }

.title { display: none; }

/* Layout */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  min-height: calc(100vh - var(--header-height) - var(--footer-height));
}

.horizontal-menu {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
  padding: 12px;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.menu-item { flex: 0 1 auto; }

.menu-item a {
  display: flex;
  align-items: center;
  padding: 16px 32px;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.2s ease;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 1.05rem;
}

.menu-item a:hover {
  background-color: var(--hover-color);
  color: var(--text-color);
  transform: translateY(-2px);
}

.menu-item .material-icons {
  margin-right: 10px;
  color: var(--primary-color);
  font-size: 24px;
  transition: all 0.2s;
}

.menu-text { font-size: 1rem; font-weight: 500; }

.content-area {
  flex-grow: 1;
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

/* Auth buttons */
.auth-buttons { display: flex; gap: 16px; }

.auth-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 2px solid var(--light-text);
  border-radius: 4px;
  background: transparent;
  color: var(--light-text);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.auth-btn:hover {
  background-color: var(--light-text);
  color: var(--primary-color);
}


/* Main Content */
.main-content {
  margin-top: 0; /* sticky header requires no offset */
  flex: 1;
  padding: 40px 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.hero { text-align: center; padding: 60px 0; }
.hero h2 { font-size: 2.5rem; margin-bottom: 16px; }

/* Footer */
.footer {
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  color: var(--light-text);
  padding: 40px 0;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  justify-items: center;
}

.footer-section h3 { margin-bottom: 16px; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 8px; }

.footer-section a {
  color: var(--light-text);
  text-decoration: none;
  transition: opacity 0.3s;
}
.footer-section a:hover { opacity: 0.8; }

.social-icons { display: flex; gap: 16px; }
.social-icon { color: var(--light-text); text-decoration: none; }

.footer-bottom { text-align: center; margin-top: 24px; }
.footer-bottom p { margin: 0 auto; max-width: 1200px; padding: 0 40px; }
.footer-tagline { margin: 8px 0 0 0; font-size: 0.9rem; color: #fff; }

/* Responsive */
@media screen and (max-width: 768px) {
  .header-content { padding: 0 16px; }
  .title { display: none; }
  .auth-btn span:not(.material-icons) { display: none; }
  .footer-content { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .social-icons { justify-content: center; }

  .header-content { justify-content: space-between; }
  .content-wrapper { padding: 16px; }
  .horizontal-menu { padding: 8px; }
  .menu-list { flex-direction: column; gap: 8px; }
  .menu-item { width: 100%; }
  .menu-item a { padding: 12px 16px; justify-content: flex-start; }
  .content-area { padding: 16px; }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .header-content { padding: 0 24px; }
  .footer-content { padding: 0 24px; }
}

/* Page-specific cards/grids */
.services-grid, .resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  padding: 24px 0;
}

.service-card, .resource-card, .dashboard-card {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card:hover, .resource-card:hover, .dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.service-card .material-icons, .resource-card .material-icons {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.calendar-container {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.calendar-nav {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-color);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  padding: 24px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  padding: 24px 0;
}

.team-member {
  text-align: center;
  padding: 24px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.team-member .material-icons { font-size: 48px; color: var(--primary-color); margin-bottom: 16px; }

.about-section { margin-bottom: 48px; }

.notification-list { list-style: none; padding: 0; }
.notification-list li { padding: 12px 0; border-bottom: 1px solid #eee; }
.notification-list li:last-child { border-bottom: none; }

.resource-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}
.resource-link:hover { text-decoration: underline; }

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero { animation: fadeIn 0.6s ease-out; }

/* Icons (footer) */
.footer .material-icons { font-size: 18px; vertical-align: middle; margin-right: 6px; }
.footer .footer-section h3 .material-icons { font-size: 20px; margin-right: 8px; }
.footer .social-links .social-link {
  display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none;
}
.footer .social-links .social-link:hover { text-decoration: underline; }
.footer .icon-svg { width: 18px; height: 18px; display: inline-block; vertical-align: middle; margin-right: 6px; fill: currentColor; }

/* Voice toolbar */
.voice-toolbar { display: inline-flex; gap: 8px; margin-left: 8px; vertical-align: middle; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 10px; border: 1px solid #ddd; border-radius: 6px; background: #fff; cursor: pointer; }
.icon-btn .material-icons { font-size: 18px; vertical-align: middle; }
.icon-btn:disabled { opacity: .5; cursor: not-allowed; }
.mic-btn.recording { border-color: #d32f2f; background: #ffebee; }

/* Subject selection (no 3D transforms) */
.subject-list, .subject-grid, .
.subject-item, .subject-option, .subject-button, .subject-select a, .subject-select button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transform: none;          /* keep off GPU to avoid header glitch */
  will-change: auto;
  user-select: none;
}
.subject-item:focus,
.subject-option:focus,
.subject-button:focus,
.subject-select a:focus,
.subject-select button:focus { box-shadow: 0 0 0 2px rgba(25,118,210,.55); }
.subject-item:active,
.subject-option:active,
.subject-button:active { background: #f5fafd; }
.subject-item .material-icons,
.subject-option .material-icons,
.subject-button .material-icons { user-select: none; }
.subject-item::selection,
.subject-option::selection,
.subject-button::selection { background: #ffe082; color: #222; }
.subject-item, .subject-option, .subject-button { background-clip: padding-box; }

/* Footer quick links */
.footer .quick-links ul {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  gap: 6px 16px;
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.footer .quick-links li a { display: inline-flex; align-items: center; gap: 6px; }

/* Footer typography */
.footer,
.footer p,
.footer li,
.footer a,
.footer h3,
.footer .footer-bottom p { font-size: 14px; line-height: 1.6; }
.footer h3 { font-weight: 600; margin: 0 0 8px; }
.footer ul { margin: 0; padding-left: 0; list-style: none; }
.footer .material-icons { font-size: 14px; }

/* Material Icons base (once) */
.material-icons {
  font-family: 'Material Icons', 'MaterialIconsOutlined', sans-serif;
  font-style: normal;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  direction: ltr;
}

/* Additional responsive styles for very small phones */
@media screen and (max-width: 480px) {
  :root {
    --header-height: 56px;
  }

  .header-content {
    padding: 0 12px;
  }

  .logo .material-icons {
    font-size: 24px;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .content-wrapper {
    padding: 12px;
    gap: 16px;
  }

  .horizontal-menu {
    padding: 6px;
  }

  .menu-list {
    gap: 6px;
  }

  .menu-item a {
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .services-grid, .resources-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px 0;
  }

  .service-card, .resource-card, .dashboard-card {
    padding: 16px;
  }

  .service-card .material-icons, .resource-card .material-icons {
    font-size: 40px;
    margin-bottom: 12px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  p {
    font-size: 0.9rem;
  }

  .auth-btn {
    padding: 8px;
    font-size: 0.9rem;
  }
}

/* Tablet optimization (769px - 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .services-grid, .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-wrapper {
    padding: 20px;
  }

  .service-card, .resource-card {
    padding: 20px;
  }
}

/* Back to Courses/Roadmap Button */
.back-to-courses {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: #f0f0f0;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.back-to-courses:hover {
  background: var(--primary-color);
  color: white;
}

.rewards-card { padding: 1rem; }
.rewards-summary { display: grid; grid-template-columns: 1fr 1fr auto; gap: 1rem; align-items: center; }
.rewards-points .points-line { margin: .2rem 0; }
.rewards-progress .progress-bar { width: 100%; height: 10px; background: #eee; border-radius: 6px; overflow: hidden; }
#rewards-progress-fill { height: 100%; width: 0; background: var(--accent-color); transition: width .3s ease; }
.rewards-streak { display: inline-flex; align-items: center; gap: .4rem; }
.rewards-subtitle { margin: 1.25rem 0 .5rem; }
.badges-list, .store-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.badge-item { display: grid; grid-template-columns: 24px 1fr; gap: .5rem; padding: .5rem .75rem; background: #fafafa; border: 1px solid #eee; border-radius: 8px; align-items: center; }
.badge-item .material-icons { font-size: 20px; color: var(--accent-color); }
.badge-empty { padding: .5rem; color: #777; }
.store-item { display: grid; grid-template-columns: 1fr auto; gap: .75rem; align-items: center; padding: .75rem; border: 1px solid #eee; border-radius: 8px; background: #fff; }
.store-item .cost { font-weight: 600; margin-right: .5rem; color: var(--accent-color); }
.store-item .store-cta { display: inline-flex; align-items: center; gap: .5rem; }

.count-pill {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  margin-left: .4rem;
  padding: .1rem .35rem;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  font-size: .75rem;
  color: #555;
  background: #fafafa;
}

.rewards-overview.card {
  margin: 1rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
}

.rewards-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.75rem), 1fr));
  gap: 0.75rem;
  margin: 0.75rem 0 1rem;
}

.rewards-stats .stat {
  padding: 0.75rem;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fafafa;
}

.stat-label { 
  font-size: 0.8rem; 
  color: #666; 
  margin-bottom: 0.25rem;
}

.stat-value { 
  font-size: clamp(1rem, 3vw, 1.25rem); 
  font-weight: 600; 
  word-wrap: break-word;
}

.rewards-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.75rem), 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.rewards-columns h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.rewards-levels-section {
  margin-top: 1.5rem;
}

.rewards-levels-section h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 1rem;
}

.level-module {
  background: #fff;
  border: 2px solid #e6e6e6;
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.level-module:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-color: var(--accent-color);
}

.level-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.level-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.level-points {
  font-size: 0.9rem;
  color: var(--accent-color);
  font-weight: 500;
}

/* Earned Achievement Badge */
.level-module.earned {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-color: var(--accent-color);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
  position: relative;
}

.level-module.earned::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 8px;
  border: 2px solid var(--accent-color);
  pointer-events: none;
}

.level-module.earned .level-name {
  color: var(--accent-color);
  font-weight: 700;
}

.level-earned-badge {
  display: inline-block;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.75rem;
  box-shadow: 0 2px 4px rgba(5, 150, 105, 0.3);
  animation: fadeInScale 0.5s ease;
  border: 1px solid #047857;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media screen and (max-width: 768px) {
  .levels-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  }
  
  .level-module {
    padding: 1rem;
  }
  
  .level-icon {
    font-size: 2rem;
  }
  
  .level-name {
    font-size: 0.85rem;
  }
}

.compact { 
  margin: 0.5rem 0; 
  padding-left: 1.25rem;
}

.compact li, .compact ol li { 
  margin: 0.25rem 0; 
  font-size: 0.9rem;
  line-height: 1.5;
}

.rewards-store { 
  margin-top: 1.5rem; 
}

/* Earned Certificates Section */
.earned-certificates {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid #e6e6e6;
}

.earned-certificates h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.certificate-card {
  background: transparent;
  perspective: 1000px;
  cursor: pointer;
  height: 100%;
  min-height: 400px;
  position: relative;
}

/* Enhanced focus indicator for keyboard navigation */
.certificate-card:focus {
  outline: 3px solid var(--focus-outline, #4a148c) !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 0 6px rgba(74, 20, 140, 0.2) !important;
}

.certificate-card:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

.certificate-flip-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.certificate-flipper {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  .certificate-flipper {
    transition: transform 0.2s;
  }
  
  .flip-hint {
    animation: none !important;
  }
  
  .reward-icon-large {
    animation: none !important;
  }
}

.certificate-card.flipped .certificate-flipper {
  transform: rotateY(180deg);
}

.certificate-front,
.certificate-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.certificate-front {
  z-index: 2;
  transform: rotateY(0deg);
}

.certificate-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #fff8e1 0%, #fffef7 100%);
}

.certificate-card:hover .certificate-front,
.certificate-card:hover .certificate-back {
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.certificate-border {
  border: 3px solid var(--accent-color);
  border-radius: 10px;
  margin: 8px;
  padding: 1.5rem;
  background: white;
}

.certificate-header {
  text-align: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e6e6e6;
}

.certificate-icon {
  font-size: 48px;
  color: var(--accent-color);
  display: block;
  margin: 0 auto 0.5rem;
}

.certificate-header h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.certificate-body {
  text-align: center;
  padding: 1rem 0;
}

.certificate-presented {
  font-size: 0.85rem;
  color: #666;
  margin: 0.25rem 0;
  font-style: italic;
}

.certificate-recipient {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0.5rem 0;
  font-family: 'Georgia', serif;
}

.certificate-for {
  font-size: 0.85rem;
  color: #666;
  margin: 0.75rem 0 0.25rem;
}

.certificate-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-color);
  margin: 0.5rem 0;
  line-height: 1.3;
}

.certificate-desc {
  font-size: 0.85rem;
  color: #555;
  margin: 0.5rem 0;
  line-height: 1.4;
}

.certificate-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e6e6e6;
}

.certificate-date {
  font-size: 0.75rem;
  color: #666;
  margin: 0;
}

.certificate-seal {
  background: var(--accent-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certificate-seal .material-icons {
  color: white;
  font-size: 24px;
}

/* Flip Hint */
.flip-hint {
  text-align: center;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #ccc;
  color: #888;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  animation: pulse 2s ease-in-out infinite;
}

.flip-hint .material-icons {
  font-size: 16px;
  color: var(--accent-color);
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* Certificate Back - Reward Section */
.reward-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #ffd700;
}

.reward-icon-large {
  font-size: 64px;
  margin-bottom: 0.5rem;
  animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.reward-header h4 {
  margin: 0;
  font-size: 1.2rem;
  color: #f57c00;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.reward-body {
  text-align: center;
  padding: 1rem 0;
}

.reward-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.reward-description {
  font-size: 0.95rem;
  color: #555;
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
}

.reward-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent-color), #1976d2);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
  border: 2px solid transparent;
}

.reward-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
  background: linear-gradient(135deg, #1976d2, var(--accent-color));
  text-decoration: none;
}

.reward-button:focus {
  outline: 3px solid var(--focus-outline, #4a148c) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 5px rgba(74, 20, 140, 0.2), 0 6px 16px rgba(59, 130, 246, 0.4) !important;
  border-color: var(--focus-outline, #4a148c);
}

.reward-button .material-icons {
  font-size: 20px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .certificate-card:focus {
    outline-width: 4px !important;
  }
  
  .certificate-border {
    border-width: 4px !important;
  }
  
  .reward-button {
    border: 3px solid white !important;
  }
  
  .level-module.earned {
    border: 4px solid var(--accent-color) !important;
  }
}

/* Windows High Contrast Mode */
@media screen and (-ms-high-contrast: active) {
  .certificate-card:focus {
    outline: 4px solid windowText !important;
  }
  
  .reward-button {
    border: 3px solid buttonText !important;
  }
}

@media screen and (max-width: 768px) {
  .certificates-grid {
    grid-template-columns: 1fr;
  }
  
  .certificate-card {
    min-height: 380px;
  }
  
  .certificate-flip-container {
    min-height: 380px;
  }
  
  .certificate-border {
    padding: 1rem;
  }
  
  .certificate-recipient {
    font-size: 1.2rem;
  }
  
  .reward-icon-large {
    font-size: 48px;
  }
  
  .reward-title {
    font-size: 1.1rem;
  }
  
  .reward-description {
    font-size: 0.9rem;
  }
  
  .certificate-title {
    font-size: 1rem;
  }
}

.rewards-store h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

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

.reward-item {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  padding: 0.75rem; 
  border: 1px solid #eee; 
  border-radius: 8px; 
  margin-bottom: 0.5rem; 
  background: #fcfcfc;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.reward-info .muted { 
  color: #666; 
  font-size: 0.85rem; 
  display: block;
  margin-top: 0.25rem;
}

.btn { 
  padding: 0.5rem 1rem; 
  border-radius: 6px; 
  border: 1px solid #ddd; 
  background: #fff; 
  cursor: pointer;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn:hover { 
  background: #f3f3f3; 
  transform: translateY(-1px);
}

.btn-disabled { 
  opacity: 0.6; 
  cursor: not-allowed; 
}

.btn-disabled:hover {
  transform: none;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #333;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.3);
  z-index: 10000;
  opacity: 0;
  transform: translateY(1rem);
  transition: all 0.3s ease;
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}

/* Celebration Overlay */
.celebration-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.celebration-overlay.fade-out {
  animation: fadeOut 0.5s ease;
  opacity: 0;
}

.celebration-content {
  background: white;
  padding: 2.5rem;
  border-radius: 1rem;
  text-align: center;
  max-width: 90%;
  width: 28rem;
  position: relative;
  z-index: 10000;
  animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

.celebration-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

.celebration-icon .material-icons {
  font-size: 3rem;
  color: white;
}

.celebration-title {
  font-size: 1.75rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.celebration-message {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.celebration-item {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 1rem 0 0.5rem;
}

.celebration-cost {
  font-size: 1.1rem;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.celebration-close {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.celebration-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(255, 152, 0, 0.3);
}

.celebration-close:active {
  transform: translateY(0);
}

/* Confetti Animation */
.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 9998;
}

.confetti {
  position: absolute;
  width: 0.625rem;
  height: 0.625rem;
  top: -10%;
  opacity: 0;
  animation: confettiFall linear forwards;
}

@keyframes confettiFall {
  0% {
    opacity: 1;
    transform: translateY(0) rotateZ(0deg);
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) rotateZ(720deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Owned Badge */
.owned-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #4caf50;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

.owned-badge .material-icons {
  font-size: 1rem;
}

/* Responsive adjustments for rewards section */
@media screen and (max-width: 768px) {
  .rewards-overview.card {
    padding: 1rem;
  }

  .rewards-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .rewards-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .reward-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .rewards-overview.card {
    padding: 0.75rem;
    margin: 0.75rem 0;
  }

  .rewards-stats {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .rewards-stats .stat {
    padding: 0.625rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .stat-value {
    font-size: 1.1rem;
  }

  .rewards-columns h3 {
    font-size: 0.95rem;
  }

  .compact {
    padding-left: 1rem;
  }

  .compact li, .compact ol li {
    font-size: 0.85rem;
  }

  .rewards-store h3 {
    font-size: 1rem;
  }

  .reward-item {
    padding: 0.625rem;
  }

  .reward-info .muted {
    font-size: 0.8rem;
  }

  .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
  
  .celebration-content {
    padding: 1.5rem;
    width: 85%;
  }
  
  .celebration-icon {
    width: 4rem;
    height: 4rem;
  }
  
  .celebration-icon .material-icons {
    font-size: 2.5rem;
  }
  
  .celebration-title {
    font-size: 1.5rem;
  }
  
  .celebration-item {
    font-size: 1.25rem;
  }
  
  .celebration-cost {
    font-size: 1rem;
  }
  
  .toast-notification {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    padding: 0.75rem 1rem;
  }
}

/* Navigate Modal System - Student-Centric Design */
.navigate-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
  padding: 1rem;
}

.navigate-modal-content {
  background: white;
  border-radius: 1.25rem;
  max-width: 50rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.4);
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navigate-modal-header {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 2rem;
  border-radius: 1.25rem 1.25rem 0 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.navigate-modal-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 20rem;
  height: 20rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.navigate-modal-icon {
  font-size: 3rem;
  animation: bounce 2s infinite;
}

.navigate-modal-header h2 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.navigate-modal-body {
  padding: 2rem;
}

.navigate-modal-intro {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.7;
  text-align: center;
}

/* Dashboard Features */
.dashboard-features {
  background: linear-gradient(135deg, #fff9e6 0%, #ffe6e6 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 2px solid var(--primary-color);
}

.dashboard-features h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.5rem 0;
  font-size: 1.3rem;
  color: var(--text-color);
}

.dashboard-features h3 .material-icons {
  color: #ffc107;
  font-size: 1.75rem;
}

.dashboard-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.dashboard-features li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: white;
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.dashboard-features li:hover {
  transform: translateX(0.5rem);
}

.dashboard-features li .material-icons {
  color: var(--accent-color);
  font-size: 1.75rem;
  flex-shrink: 0;
}

.dashboard-features li div {
  flex: 1;
}

.dashboard-features li strong {
  display: block;
  color: var(--text-color);
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.dashboard-features li p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Booking Options */
.booking-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.booking-option {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.booking-option:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.booking-option.recommended {
  border-color: #4caf50;
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
}

.option-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.option-header .material-icons {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.recommended .option-header .material-icons {
  color: #4caf50;
}

.option-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--text-color);
}

.option-badge {
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.recommended-badge {
  background: #4caf50;
}

.option-description {
  text-align: center;
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.option-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.option-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.option-features li:last-child {
  margin-bottom: 0;
}

.option-features .material-icons.check {
  color: #4caf50;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.option-limitations {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-top: 1rem;
}

.option-limitations p {
  margin: 0 0 0.5rem 0;
  font-weight: 600;
  color: #856404;
  font-size: 0.9rem;
}

.option-limitations ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.option-limitations li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: #856404;
}

.option-limitations li:last-child {
  margin-bottom: 0;
}

.option-limitations .material-icons {
  font-size: 1rem;
  color: #ff9800;
}

.option-highlight {
  background: linear-gradient(135deg, #e3f2fd, #e8f5e9);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.option-highlight .material-icons {
  color: #1976d2;
  font-size: 1.25rem;
}

.option-highlight p {
  margin: 0;
  font-size: 0.9rem;
  color: #1565c0;
  font-weight: 500;
}

/* Guest Form Section */
.guest-form-section {
  background: #f8f9fa;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-top: 2rem;
  border: 2px dashed var(--primary-color);
}

.guest-form-section h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  color: var(--text-color);
}

.guest-form-section > p {
  margin: 0 0 1.25rem 0;
  color: #666;
  font-size: 0.95rem;
}

/* CTA Box */
.navigate-cta-box {
  background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
  border-left: 4px solid #1976d2;
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-top: 2rem;
}

.navigate-cta-text {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  color: #1565c0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}

.navigate-cta-text .material-icons {
  color: #1976d2;
  flex-shrink: 0;
}

/* Modal Footer */
.navigate-modal-footer {
  padding: 1.5rem 2rem;
  background: #f8f9fa;
  border-radius: 0 0 1.25rem 1.25rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  border-top: 1px solid #e0e0e0;
}

.btn-navigate-secondary,
.btn-navigate-primary,
.btn-navigate-guest {
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Roboto', sans-serif;
  text-transform: none;
}

.btn-navigate-secondary {
  background: white;
  color: #666;
  border: 2px solid #ddd;
}

.btn-navigate-secondary:hover {
  background: #f5f5f5;
  border-color: #bbb;
  transform: translateY(-2px);
}

.btn-navigate-primary {
  background: linear-gradient(135deg, #4caf50, #66bb6a);
  color: white;
  box-shadow: 0 0.25rem 0.75rem rgba(76, 175, 80, 0.3);
}

.btn-navigate-primary:hover {
  background: linear-gradient(135deg, #45a049, #5cb85c);
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.25rem rgba(76, 175, 80, 0.4);
}

.btn-navigate-guest {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  box-shadow: 0 0.25rem 0.75rem rgba(255, 152, 0, 0.3);
}

.btn-navigate-guest:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.25rem rgba(255, 152, 0, 0.4);
}

.btn-navigate-primary:active,
.btn-navigate-guest:active,
.btn-navigate-secondary:active {
  transform: translateY(0);
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.5rem);
  }
}

/* Responsive Navigate Modal */
@media screen and (max-width: 768px) {
  .navigate-modal-content {
    max-height: 95vh;
  }

  .navigate-modal-header {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
  }

  .navigate-modal-header h2 {
    font-size: 1.5rem;
  }

  .navigate-modal-icon {
    font-size: 2.5rem;
  }

  .navigate-modal-body {
    padding: 1.5rem;
  }

  .booking-options {
    grid-template-columns: 1fr;
  }

  .navigate-modal-footer {
    padding: 1rem 1.5rem;
    flex-direction: column;
  }

  .btn-navigate-secondary,
  .btn-navigate-primary,
  .btn-navigate-guest {
    width: 100%;
    justify-content: center;
  }

  .dashboard-features ul {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  .navigate-modal-overlay {
    padding: 0.5rem;
  }

  .navigate-modal-header {
    padding: 1.25rem;
  }

  .navigate-modal-header h2 {
    font-size: 1.25rem;
  }

  .navigate-modal-body {
    padding: 1rem;
  }

  .navigate-modal-intro {
    font-size: 1rem;
  }

  .dashboard-features,
  .guest-form-section {
    padding: 1rem;
  }

  .option-header .material-icons {
    font-size: 2rem;
  }

  .option-header h3 {
    font-size: 1.1rem;
  }
}

/* ==========================================
   NAVIGATE MODALS - Student-Centric Design
   ========================================== */

/* Modal Overlay */
.navigate-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
  padding: 1rem;
}

/* Modal Content Container */
.navigate-modal-content {
  background: white;
  border-radius: 1rem;
  max-width: 50rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s ease;
}

/* Modal Header - Navigate Gradient */
.navigate-modal-header {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 1rem 1rem 0 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navigate-modal-icon {
  font-size: 2.5rem;
  animation: bounce 1s ease infinite;
}

.navigate-modal-header h2 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 600;
}

/* Modal Body */
.navigate-modal-body {
  padding: 2rem;
}

.navigate-modal-description {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Two-Column Options Layout (for Guest Booking Modal) */
.navigate-modal-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.navigate-option-card {
  background: #f8f9fa;
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.navigate-option-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-0.25rem);
  box-shadow: 0 0.5rem 1.5rem rgba(255, 152, 0, 0.15);
}

.navigate-option-card.recommended {
  border-color: #4caf50;
  background: linear-gradient(135deg, #f1f8f4, #e8f5e9);
}

.navigate-option-card.recommended .navigate-option-badge {
  display: inline-block;
  background: #4caf50;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.navigate-option-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.navigate-option-header .material-icons {
  font-size: 2rem;
  color: var(--primary-color);
}

.navigate-option-card.recommended .navigate-option-header .material-icons {
  color: #4caf50;
}

.navigate-option-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--text-color);
}

.navigate-option-description {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Feature Lists */
.navigate-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.navigate-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #555;
}

.navigate-feature-list li:last-child {
  margin-bottom: 0;
}

.navigate-feature-list li .material-icons {
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.navigate-feature-list.limitations li .material-icons {
  color: var(--accent-color);
}

.navigate-feature-list.benefits li .material-icons {
  color: #4caf50;
}

/* Guest Form */
.navigate-guest-form {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid #e0e0e0;
}

.navigate-guest-form .form-group {
  margin-bottom: 1.25rem;
}

.navigate-guest-form label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.navigate-guest-form label .material-icons {
  font-size: 1.125rem;
  color: var(--primary-color);
}

.navigate-guest-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: 'Roboto', sans-serif;
}

.navigate-guest-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
}

/* Info Note */
.navigate-info-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #666;
  background: #fff3cd;
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
  border: 1px solid #ffe69c;
}

.navigate-info-note .material-icons {
  font-size: 1.125rem;
  color: #856404;
  flex-shrink: 0;
}

/* Modal Footer */
.navigate-modal-footer {
  padding: 1.5rem 2rem;
  background: #f8f9fa;
  border-radius: 0 0 1rem 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  border-top: 1px solid #e0e0e0;
}

.navigate-modal-footer.center {
  justify-content: center;
}

/* Navigate Button Styles */
.navigate-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Roboto', sans-serif;
  text-decoration: none;
}

.navigate-btn-secondary {
  background: white;
  color: var(--text-color);
  border: 2px solid #ddd;
}

.navigate-btn-secondary:hover {
  background: #f5f5f5;
  border-color: #bbb;
}

.navigate-btn-primary {
  background: #4caf50;
  color: white;
  flex: 1;
}

.navigate-btn-primary:hover {
  background: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(76, 175, 80, 0.3);
}

.navigate-btn-accent {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
}

.navigate-btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(255, 152, 0, 0.3);
}

.navigate-btn-primary:active,
.navigate-btn-accent:active {
  transform: translateY(0);
}

/* Animations */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.5rem);
  }
}

/* Responsive Navigate Modals */
@media screen and (max-width: 768px) {
  .navigate-modal-content {
    max-height: 95vh;
  }

  .navigate-modal-header {
    padding: 1.25rem 1.5rem;
  }

  .navigate-modal-header h2 {
    font-size: 1.5rem;
  }

  .navigate-modal-icon {
    font-size: 2rem;
  }

  .navigate-modal-body {
    padding: 1.5rem;
  }

  .navigate-modal-options {
    grid-template-columns: 1fr;
  }

  .navigate-modal-footer {
    padding: 1rem 1.5rem;
    flex-direction: column;
  }

  .navigate-btn {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .navigate-modal-overlay {
    padding: 0.5rem;
  }

  .navigate-modal-header {
    padding: 1rem 1.25rem;
  }

  .navigate-modal-header h2 {
    font-size: 1.25rem;
  }

  .navigate-modal-icon {
    font-size: 1.75rem;
  }

  .navigate-modal-body {
    padding: 1rem;
  }

  .navigate-option-card {
    padding: 1.25rem;
  }

  .navigate-option-header h3 {
    font-size: 1.125rem;
  }

  .navigate-feature-list li {
    font-size: 0.85rem;
  }
}
