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

body {
  font-family: 'Roboto', sans-serif;
  background: #000000;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.3s ease;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.header-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.header.darkened .header-content::before {
  opacity: 1;
}

.logo {
  display: flex;
  align-items: center;
  margin-left: -1rem;
  z-index: 999;
}

.logo img {
  height: 100px;
}

.projects {
  display: flex;
  gap: 2.5rem;
  flex: 1;
  justify-content: center;
  z-index: 999;
}

.projects span {
  cursor: pointer;
  font-family: 'Exo 2', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  position: relative;
  color: #ffffff;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.projects span a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.projects span:hover,
.projects span:focus,
.projects span:active {
  color: #FFC107;
}

.projects span:hover a,
.projects span:focus a,
.projects span:active a {
  color: #FFC107;
}

.projects span::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: #FFC107;
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

.projects span:hover::after,
.projects span:focus::after,
.projects span:active::after {
  width: 100%;
}

.projects span:focus {
  outline: 2px solid #FFC107;
  outline-offset: 2px;
}

/* Override styles for project pages to ensure correct styling */
.nova7-page .projects span[data-project="nova7"] a,
.geotrace-page .projects span[data-project="geotrace"] a,
.mozgis-page .projects span[data-project="mozgis"] a,
.drc-page .projects span[data-project="drc"] a {
  color: #ffffff !important;
  text-decoration: none !important;
}

.nova7-page .projects span[data-project="nova7"]:hover a,
.nova7-page .projects span[data-project="nova7"]:focus a,
.nova7-page .projects span[data-project="nova7"]:active a,
.geotrace-page .projects span[data-project="geotrace"]:hover a,
.geotrace-page .projects span[data-project="geotrace"]:focus a,
.geotrace-page .projects span[data-project="geotrace"]:active a,
.mozgis-page .projects span[data-project="mozgis"]:hover a,
.mozgis-page .projects span[data-project="mozgis"]:focus a,
.mozgis-page .projects span[data-project="mozgis"]:active a,
.drc-page .projects span[data-project="drc"]:hover a,
.drc-page .projects span[data-project="drc"]:focus a,
.drc-page .projects span[data-project="drc"]:active a {
  color: #FFC107 !important;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-right: -1rem;
  z-index: 999;
}

.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  padding: 0.5rem 2rem 0.5rem 1rem;
  border: none;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.9rem;
  opacity: 0;
  width: 0;
  transition: width 0.5s ease, opacity 0.5s ease;
}

.search-container:hover .search-input,
.search-container.active .search-input {
  opacity: 1;
  width: 150px;
}

.search-placeholder {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 0.7rem;
  font-family: 'Exo 2', sans-serif;
  pointer-events: none;
  opacity: 0;
}

.search-container:hover .search-placeholder,
.search-container.active .search-placeholder {
  opacity: 1;
}

.search-placeholder span {
  display: inline-block;
  opacity: 0;
}

.search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
}

.suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 4px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.suggestions div {
  padding: 0.5rem;
  cursor: pointer;
  transition: background 0.3s;
}

.suggestions div:hover {
  background: rgba(255, 255, 255, 0.1);
}

.search-container:hover .suggestions,
.search-container.active .suggestions {
  opacity: 1;
  pointer-events: auto;
}

.discover-btn {
  padding: 0.9rem 1.4rem;
  border: none;
  background: #FFC107;
  color: #000000;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  border-radius: 20px;
  cursor: pointer;
  transition: transform 0.2s;
  font-size: 1.2rem;
}

.discover-btn:hover {
  transform: scale(1.05);
}

.burger-menu {
  position: relative;
}

.burger-icon {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.burger-icon span {
  display: block;
  width: 25px;
  height: 2px;
  background: linear-gradient(90deg, #FFC107, #ffffff);
  transition: all 0.3s ease;
}

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

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

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

.menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 200px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  z-index: 999;
  padding: 1rem;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.burger-menu.active .menu {
  display: block;
  opacity: 1;
}

.menu ul {
  list-style: none;
  text-align: right;
}

.menu li {
  margin: 0.5rem 0;
  position: relative;
}

.menu a {
  color: #ffffff;
  text-decoration: none;
  font-family: 'Exo 2', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  text-transform: uppercase;
  transition: color 0.3s, text-shadow 0.3s;
}

.menu a:hover {
  color: #FFC107;
  text-shadow: 0 0 10px #FFC107, 0 0 20px #FFC107;
}

.menu-preview {
  display: none;
  position: absolute;
  top: 0;
  right: 100%;
  width: 200px;
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid #FFC107;
  border-radius: 8px;
  padding: 0.5rem;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu li:hover .menu-preview {
  display: block;
  opacity: 1;
}

.menu-preview img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
}

.menu-preview p {
  margin-top: 0.5rem;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.8rem;
  color: #ffffff;
  line-height: 1.2;
}

/* Hero */
.hero {
  min-height: calc(100vh - 90px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 90px;
  overflow: hidden;
  background: url('/public/images/starry-sky.jpg') no-repeat center center/cover, #000000;
}

.mission-page .hero,
.launches-page .hero,
.updates-page .hero,
.nova7-page .hero,
.geotrace-page .hero,
.mozgis-page .hero,
.drc-page .hero,
.discover-page .hero,
.terms-page .hero,
.privacy-page .hero,
.contact-page .hero {
  min-height: 60vh;
  padding: 2rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transform: scale(1);
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 1rem;
}

.hero-question {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  white-space: normal;
  letter-spacing: 2px;
  position: relative;
}

.hero-question span {
  display: inline-block;
  min-width: 0.5ch;
  transition: transform 0.3s ease, text-shadow 0.3s ease, color 0.3s ease;
}

.hero-question span.highlight {
  color: #FFC107;
  text-shadow: 0 0 10px #FFC107, 0 0 20px #FFC107;
}

.hero-question span.fancy {
  transform: scale(1.1);
  text-shadow: 0 0 10px #FFC107, 0 0 20px #FFC107;
}

.typing-cursor {
  display: inline-block;
  color: #FFC107;
  font-weight: 700;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
  opacity: 0;
  z-index: 1;
  transition: opacity 2s ease;
}

.hero.active::after {
  opacity: 1;
}

.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 2s ease;
}

.hero.active .particles {
  opacity: 1;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #FFC107;
  border-radius: 50%;
  animation: float 5s infinite ease-in-out;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 50%; left: 30%; animation-delay: 1s; }
.particle:nth-child(3) { top: 70%; left: 50%; animation-delay: 2s; }
.particle:nth-child(4) { top: 30%; left: 70%; animation-delay: 3s; }
.particle:nth-child(5) { top: 80%; left: 90%; animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-20px); opacity: 1; }
}

.hero blockquote {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.1rem;
  max-width: 1800px;
  margin: 0 auto;
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

.hero cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 1.2rem;
  color: #FFC107;
}

/* Numbers */
.numbers {
  padding: 4rem 2rem;
  text-align: center;
}

.numbers-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.number-item {
  font-family: 'Exo 2', sans-serif;
  opacity: 0;
  transform: translateY(50px);
  transition: transform 1.2s ease, opacity 1.2s ease;
}

.number-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.number-item:hover {
  transform: scale(1.1) translateY(-10px);
  transition: transform 0.3s ease;
}

.number-item:hover .counter {
  text-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff;
}

.counter {
  display: block;
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  position: relative;
}

.counter::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
  background: linear-gradient(to top, #ffffff, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.number-item.visible .counter::after {
  opacity: 1;
}

.number-item p {
  font-size: 1rem;
  text-transform: uppercase;
}

/* Projects (Homepage) */
.section-projects {
  padding: 4rem 2rem;
}

.project-item {
  position: relative;
  margin-bottom: 2rem;
  overflow: hidden;
}

.project-video {
  width: 100%;
  height: auto;
  display: block;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.project-item.visible .project-overlay {
  opacity: 0.7;
}

.project-overlay h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  color: #FFC107;
}

.project-overlay .btn {
  padding: 0.5rem 1rem;
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  border: 2px solid #ffffff;
  border-radius: 20px;
  margin-top: 1rem;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  position: relative;
  transition: color 0.3s, box-shadow 0.3s;
}

.project-overlay .btn.highlight {
  color: #FFC107;
  box-shadow: 0 0 10px #FFC107, 0 0 20px #FFC107;
}

.project-overlay .btn:hover {
  color: #FFC107;
  box-shadow: 0 0 10px #FFC107, 0 0 20px #FFC107;
}

/* Scroll Arrow (Homepage) */
.scroll-arrow {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  opacity: 0;
  cursor: pointer;
}

.arrow-icon {
  width: 32px;
  height: 32px;
}

/* Timeline (Mission and Launches Pages) */
.timeline {
  padding: 4rem 0;
  position: relative;
}

.timeline-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.timeline-nav::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #FFC107;
  z-index: -1;
}

.timeline-nav::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #FFC107;
  z-index: -1;
  opacity: 0.5;
}

.timeline-bubble {
  position: relative;
  width: 60px;
  height: 60px;
  background: rgba(255, 193, 7, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  z-index: 3;
}

.timeline-bubble:hover,
.timeline-bubble.active {
  background: rgba(255, 193, 7, 0.5);
}

.year-btn {
  padding: 0.5rem 1rem;
  background: none;
  border: none;
  color: #ffffff;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  cursor: pointer;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.year-btn.active,
.year-btn:hover {
  color: #FFC107;
}

.timeline-content {
  position: relative;
  width: 100%;
  height: 800px;
}

.timeline-slide {
  display: none;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.timeline-slide.active {
  display: block;
  opacity: 1;
}

.timeline-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.slide-text {
  position: absolute;
  top: 20%;
  left: 5%;
  max-width: 500px;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  transform: translateY(-20px);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.timeline-slide.active .slide-text {
  transform: translateY(0);
  opacity: 1;
}

.slide-text h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  color: #FFC107;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.slide-text p {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.2rem;
  line-height: 1.5;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
}

.arrow.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.left-arrow {
  left: 1rem;
}

.right-arrow {
  right: 1rem;
}

.arrow-icon {
  width: 24px;
  height: 24px;
}

/* Success Story (Mission, Project Pages, Career) */
.success-story {
  padding: 6rem 2rem;
  position: relative;
}

.success-story::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: rgba(255, 193, 7, 0.3);
  z-index: 0;
}

.story-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.story-text {
  flex: 1;
  min-width: 300px;
}

.story-text h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  color: #FFC107;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.story-text p {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
}

.story-media {
  flex: 1;
  min-width: 300px;
}

.story-media video,
.story-media .story-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
}

.story-text-right {
  order: 2;
}

.story-media-left {
  order: 1;
}

/* Facilities (Mission Page) */
.facilities {
  padding: 6rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.facilities h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.facilities-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0rem;
  max-width: 1350px;
  margin: 0 auto;
}

.ticker-container {
  width: 100%;
  height: 800px;
  background: linear-gradient(45deg, rgba(211, 206, 190, 0.00), rgba(255, 255, 255, 0.00));
  border-radius: 0px;
  box-shadow: 0 0 0px rgba(202, 189, 150, 0.3);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.ticker-container::before,
.ticker-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 50px;
  height: 100%;
  z-index: 1;
}

.ticker-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 1), transparent);
}

.ticker-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 1), transparent);
}

.ticker-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  padding: 0 1rem;
}

.ticker-card {
  flex: 0 0 300px;
  margin: 0 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 193, 7, 0.3);
  backdrop-filter: blur(5px);
}

.ticker-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
}

.ticker-card.active {
  transform: scale(1.05);
  border: 2px solid #FFC107;
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.5);
}

.ticker-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ticker-card:hover img {
  transform: scale(1.1);
}

.office-info {
  padding: 1rem;
}

.office-info h3 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.2rem;
  color: #FFC107;
  margin-bottom: 0.5rem;
}

.description {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.address {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

.globe-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#globe-container {
  width: 600px;
  height: 600px;
  margin: 2rem auto;
  background: #111111;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFC107;
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.2);
  border: 1px solid rgba(255, 193, 7, 0.3);
  position: relative;
}

/* Facilities Info Band */
.facilities-info-band {
  padding: 2rem;
  background: rgba(0, 0, 0, 0.8);
  overflow: hidden;
  position: relative;
}

.info-band-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* PDF Viewer (Project Pages - Updated for nova7.html, geotrace.html, mozgis.html, drc.html) */
.pdf-section {
  padding: 4rem 2rem;
  text-align: center;
}

.pdf-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  color: #FFC107;
  margin-bottom: 2rem;
}

#pdf-viewer {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  background: #111111;
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.2);
}

#pdf-viewer .pdf-page {
  display: inline-block;
  margin: 0 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  background: #fff;
  border: 1px solid #333;
  border-radius: 4px;
}

.pdf-controls {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.pdf-controls button {
  padding: 0.9rem 1.4rem;
  background: #FFC107;
  color: #000000;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  transition: transform 0.3s ease;
}

.pdf-controls button:hover {
  transform: scale(1.05);
}

.pdf-controls button:disabled {
  background: #555;
  cursor: not-allowed;
}

.pdf-controls span {
  margin: 0 1rem;
  color: #fff;
  font-family: 'Exo 2', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.5);
}

.pdf-download {
  margin-top: 1rem;
}

.pdf-download a {
  padding: 0.9rem 1.4rem;
  background: #FFC107;
  color: #000000;
  text-decoration: none;
  border-radius: 20px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  transition: transform 0.3s;
  display: inline-block;
}

.pdf-download a:hover {
  transform: scale(1.05);
}

/* Project Description (Project Pages - nova7.html, geotrace.html, mozgis.html, drc.html) */
.project-success .story-text {
  max-width: 1200px;
  margin: 0 auto;
}

.project-success .story-text h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  color: #FFC107;
  margin-bottom: 1rem;
  text-transform: uppercase;
  text-align: center;
}

.project-success .story-text p {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: justify;
}

/* Project Manager (Project Pages - nova7.html, geotrace.html, mozgis.html, drc.html) */
.project-manager {
  padding: 2rem;
  text-align: center;
}

.manager-info {
  max-width: 1200px;
  margin: 0 auto;
}

.manager-info img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid #FFC107;
}

.manager-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  color: #FFC107;
  margin-bottom: 0.5rem;
}

.manager-info p {
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  color: #ddd;
}

/* Launches Page */
.launches {
  padding: 6rem 2rem;
  position: relative;
}

.launch-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.launch-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: rgba(255, 193, 7, 0.3);
  z-index: 0;
}

.launch-text {
  flex: 1;
  min-width: 300px;
}

.launch-text h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  color: #FFC107;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.launch-text p {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
}

.launch-media {
  flex: 1;
  min-width: 300px;
}

.launch-media video,
.launch-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
}

.launch-text-right {
  order: 2;
}

.launch-media-left {
  order: 1;
}

.upcoming-launches {
  padding: 4rem 2rem;
  text-align: center;
}

.upcoming-launches h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #FFC107;
}

/* Career Page */
.career {
  padding: 6rem 2rem;
  position: relative;
}

.career-header {
  text-align: center;
  margin-bottom: 4rem;
  margin-top: 200px; /* Adjusted for header height */
}

.career-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  color: #FFC107;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.career-header p {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

.impact-item {
  position: relative;
  margin-bottom: 4rem;
}

.impact-video {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.impact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.impact-overlay h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  color: #FFC107;
  margin-bottom: 1rem;
}

.impact-overlay p {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.1rem;
  max-width: 600px;
  text-align: center;
}

.jobs-list {
  padding: 4rem 2rem;
  text-align: center;
}

.jobs-list h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  color: #FFC107;
  margin-bottom: 2rem;
}

.job-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.job-item h3 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.5rem;
  color: #FFC107;
  margin-bottom: 0.5rem;
}

.job-item p {
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
}

.job-item .btn {
  padding: 0.5rem 1rem;
  background: #FFC107;
  color: #000000;
  text-decoration: none;
  border-radius: 20px;
  margin-top: 1rem;
  display: inline-block;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  transition: transform 0.3s;
}

.job-item .btn:hover {
  transform: scale(1.05);
}

.life-at-xeltis {
  padding: 4rem 2rem;
  text-align: center;
}

.life-at-xeltis h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  color: #FFC107;
  margin-bottom: 1rem;
}

.life-at-xeltis p {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Updates Page */
.updates {
  padding: 6rem 2rem;
  position: relative;
}

.updates-list {
  max-width: 1200px;
  margin: 0 auto;
}

.update-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.update-item img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.update-text {
  flex: 1;
}

.update-text h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  color: #FFC107;
  margin-bottom: 0.5rem;
}

.update-text p {
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.update-meta {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Discover Page */
.discover {
  padding: 6rem 2rem;
}

.discover-header {
  text-align: center;
  margin-bottom: 2rem;
}

.discover-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  color: #FFC107;
  margin-bottom: 1rem;
}

.discover-search {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.discover-search input {
  padding: 0.5rem;
  width: 150px;
  border: none;
  border-radius: 20px;
  background: rgba(255, 255, 235, 0.1);
  color: #ffffff;
  font-family: 'Exo 2', sans-serif;
  transition: width 0.5s ease;
}

.discover-search input:focus {
  width: 300px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.product-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.product-item h3 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.2rem;
  color: #FFC107;
  margin-bottom: 0.5rem;
}

.product-item .price {
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.product-item p {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.product-item .btn {
  padding: 0.5rem 1rem;
  background: #FFC107;
  color: #000000;
  text-decoration: none;
  border-radius: 20px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  transition: transform 0.3s;
}

.product-item .btn:hover {
  transform: scale(1.05);
}

.sell-section {
  text-align: center;
  margin-top: 4rem;
}

.sell-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  color: #FFC107;
  margin-bottom: 1rem;
}

.sell-section p {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.sell-section .btn {
  padding: 0.5rem 1rem;
  background: #FFC107;
  color: #000000;
  text-decoration: none;
  border-radius: 20px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  transition: transform 0.3s;
}

.sell-section .btn:hover {
  transform: scale(1.05);
}

/* Terms, Privacy (IP), Contact Pages */
.terms,
.ip-info,
.contact {
  padding: 6rem 2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.terms h2,
.ip-info h2,
.contact h2 {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 2rem !important;
  color: #FFC107 !important;
  margin-bottom: 2rem !important;
  text-align: center !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.5) !important;
}

/* Style for subheadings (h3) */
.ip-info h3 {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 1.5rem !important;
  color: #FFC107 !important;
  margin-bottom: 1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  text-shadow: 0 0 8px rgba(255, 193, 7, 0.4) !important;
}

.terms p,
.ip-info p,
.contact p {
  font-family: 'Exo 2', sans-serif !important;
  font-size: 1.1rem !important;
  margin-bottom: 1rem !important;
  text-align: justify !important;
  color: #ffffff !important;
  line-height: 1.6 !important;
}

.terms ul,
.ip-info ul,
.contact ul {
  list-style: disc !important;
  margin-left: 2rem !important;
  margin-bottom: 1rem !important;
}

.terms li,
.ip-info li,
.contact li {
  font-family: 'Exo 2', sans-serif !important;
  font-size: 1rem !important;
  margin-bottom: 0.5rem !important;
  color: #ffffff !important;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-family: 'Exo 2', sans-serif;
}

.contact-form textarea {
  height: 150px;
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(255, 193, 7, 0.3);
}

.contact-form button {
  padding: 0.9rem 1.4rem;
  background: #FFC107;
  color: #000000;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  transition: transform 0.3s;
  align-self: center;
}

.contact-form button:hover {
  transform: scale(1.05);
}

/* Signup Footer */
.signup-footer {
  padding: 4rem 2rem;
  background: rgba(0, 0, 0, 0.9);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  margin-top: 2rem;
}

.signup-content {
  max-width: 600px;
  margin: 0 auto;
}

.signup-content p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.signup-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.signup-form input {
  flex: 1;
  padding: 0.5rem;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.signup-form button {
  padding: 0.5rem 1rem;
  background: #FFC107;
  color: #000000;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.signup-form button:hover {
  transform: scale(1.05);
}

.signup-info a {
  color: #FFC107;
  text-decoration: none;
}

.signup-info a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
}

.footer-links a:hover {
  color: #FFC107;
}

/* Chatbot */
.chatbot {
  position: fixed;
  bottom: 4rem;
  right: 4rem;
  z-index: 2000;
  display: block !important;
}

.chatbot-btn {
  background: linear-gradient(45deg, #FFC107, #ffdd57);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
  transition: transform 0.3s, box-shadow 0.3s;
  pointer-events: auto;
}

.chatbot-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.8);
}

.chatbot-icon {
  width: 30px;
  height: 30px;
}

.chatbot-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 350px;
  background: rgba(10, 10, 20, 0.2);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #FFC107;
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.3);
  transform: scale(0);
  transform-origin: bottom right;
  opacity: 0;
}

.chatbot.active .chatbot-window {
  transform: scale(1);
  opacity: 1;
}

.chatbot-header {
  padding: 1rem;
  background: linear-gradient(45deg, #FFC107, #ffdd57);
  color: #000000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header h4 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.chatbot-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #000000;
  transition: color 0.3s;
}

.chatbot-close:hover {
  color: #ff0000;
}

.chatbot-messages {
  max-height: 300px;
  overflow-y: auto;
  padding: 1rem;
}

.message {
  margin-bottom: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-family: 'Exo 2', sans-serif;
}

.message.user {
  background: #FFC107;
  color: #000000;
  margin-left: 10%;
  border-top-left-radius: 0;
}

.message.bot {
  background: rgba(255, 255, 255, 0.1);
  margin-right: 10%;
  border-top-right-radius: 0;
}

.fancy-message {
  background: linear-gradient(45deg, #FFC107, #ffdd57);
  color: #000000;
  font-weight: 500;
  position: relative;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 5px rgba(255, 193, 7, 0.5); }
  50% { box-shadow: 0 0 15px rgba(255, 193, 7, 0.8); }
  100% { box-shadow: 0 0 5px rgba(255, 193, 7, 0.5); }
}

.chatbot-input {
  display: flex;
  padding: 1rem;
  background: #ffffff;
  border-top: 1px solid #FFC107;
}

.chatbot-input input {
  flex: 1;
  padding: 0.5rem;
  border: none;
  background: transparent;
  color: #000000;
  font-family: 'Exo 2', sans-serif;
}

.chatbot-input button {
  padding: 0.5rem 1rem;
  background: #FFC107;
  color: #000000;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Exo 2', sans-serif;
  transition: background 0.3s;
}

.chatbot-input button:hover {
  background: #ffdd57;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .header-right {
    flex-direction: column;
    align-items: center;
    margin-right: 0;
  }

  .logo {
    margin-left: 0;
  }

  .projects {
    flex-wrap: wrap;
    justify-content: center;
  }

  .logo img {
    height: 60px;
  }

  .hero-question {
    font-size: 1.6rem;
  }

  .hero blockquote {
    font-size: 1.2rem;
  }

  .numbers-grid {
    flex-direction: column;
    align-items: center;
  }

  .project-item {
    margin-bottom: 1rem;
  }

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

  .story-item,
  .launch-item {
    flex-direction: column;
    margin-bottom: 3rem;
  }

  .success-story::before,
  .launch-item::before {
    display: none;
  }

  .story-text-right,
  .story-media-left,
  .launch-text-right,
  .launch-media-left {
    order: 0;
  }

  .story-text h3,
  .launch-text h3 {
    font-size: 1.6rem;
  }

  .story-text p,
  .launch-text p {
    font-size: 1rem;
  }

  .story-media video,
  .story-media img,
  .launch-media video,
  .launch-media img {
    height: 200px;
  }

  .facilities-container {
    flex-direction: column;
  }

  .ticker-container {
    height: 400px;
  }

  .ticker-card {
    flex: 0 0 320px;
    margin: 0 0.5rem;
  }

  .ticker-card img {
    height: 180px;
  }

  .office-info h3 {
    font-size: 1.1rem;
  }

  .description {
    font-size: 0.8rem;
  }

  .address {
    font-size: 0.7rem;
  }

  .facilities {
    padding: 5rem 1rem;
  }

  #globe-container {
    width: 300px;
    height: 300px;
    margin: 1.5rem auto;
  }

  .chatbot-window {
    width: 300px;
  }

  .menu {
    width: 150px;
    padding: 0.5rem;
    right: 50%;
    transform: translateX(50%);
  }

  .menu a {
    font-size: 0.9rem;
  }

  .menu-preview {
    width: 150px;
    right: auto;
    left: -160px;
    top: 0;
  }

  .timeline-content {
    height: 600px;
  }

  .slide-text {
    top: 10%;
    left: 3%;
    max-width: 90%;
    padding: 1rem;
  }

  .slide-text h3 {
    font-size: 1.8rem;
  }

  .slide-text p {
    font-size: 1rem;
  }

  .timeline-nav {
    gap: 1rem;
  }

  .timeline-bubble {
    width: 50px;
    height: 50px;
  }

  .year-btn {
    font-size: 1.2rem;
  }

  .signup-footer {
    padding: 2rem 1rem;
    margin-top: 1rem;
  }

  .update-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .update-item img {
    width: 100%;
    height: 150px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .impact-video {
    height: 300px;
  }

  /* PDF Viewer Responsive Adjustments */
  .pdf-section {
    padding: 2rem 1rem;
  }

  #pdf-viewer {
    height: 400px; /* Adjust height for smaller screens */
  }

  #pdf-viewer .pdf-page {
    margin: 0 2px;
  }

  .pdf-controls {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .pdf-controls button {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .pdf-controls span {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .pdf-download a {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  /* Success Story Responsive Adjustments */
  .success-story,
  .project-success {
    padding: 3rem 1rem;
  }

  .story-text h3 {
    font-size: 1.6rem;
  }

  .story-text p {
    font-size: 1rem;
  }

  /* Project Manager Responsive Adjustments */
  .project-manager {
    padding: 1rem;
  }

  .manager-info img {
    width: 120px;
    height: 120px;
  }

  .manager-info h3 {
    font-size: 1.2rem;
  }

  .manager-info p {
    font-size: 0.9rem;
  }

  /* Terms, Privacy, Contact Responsive Adjustments */
  .terms,
  .ip-info,
  .contact {
    padding: 3rem 1rem 1rem;
  }

  .terms h2,
  .ip-info h2,
  .contact h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .terms p,
  .ip-info p,
  .contact p {
    font-size: 1rem;
  }

  .terms li,
  .ip-info li,
  .contact li {
    font-size: 0.9rem;
  }

  .contact-form {
    padding: 1rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 0.4rem;
    font-size: 0.9rem;
  }

  .contact-form textarea {
    height: 100px;
  }

  .contact-form button {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  /* Career Page Responsive Adjustments */
  .job-item .btn,
  .jobs-list .view-all-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

/* Enhanced Search Suggestions */
.suggestions .suggestion-item {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #333;
  transition: background-color 0.3s ease;
}

.suggestions .suggestion-item:hover {
  background-color: #2a2a2a;
}

.suggestion-name {
  font-weight: bold;
  color: #FFC107;
}

.suggestion-description {
  font-size: 0.9em;
  color: #999;
}