/* Fonts and reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #fff;
  scroll-behavior: smooth;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
  font-size: 16px;
}

/* Logo Intro */
.logo-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: white;
  z-index: 1000;
  opacity: 1;
}

.logo-symbol { width: 100px; }
.logo-name { width: 300px; margin-top: 20px; }
.logo-container img { pointer-events: none; }

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 999;
  opacity: 0;
}

.navbar-logo { width: 60px; cursor: pointer; display: block; }
.nav-menu { display: flex; }
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 1rem;
}

.nav-links a {
  font-weight: 500;
  color: #000;
  text-decoration: none;
}

.nav-links a:hover {
  color: #0077ff;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  border-radius: 50%;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #0077ff;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: #000;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Sections and Backgrounds */
section {
  padding: 140px 2rem 60px;
  min-height: 80vh;
  text-align: center;
  color: #000;
  position: relative;
  max-width: 1000px;
  margin: auto;
}

section h2 { font-size: 2.5rem; margin-bottom: 20px; }
section p { font-size: 1.2rem; line-height: 1.7; margin-bottom: 20px; }
.team-member { font-size: 1.1rem; font-weight: 500; margin-bottom: 20px; }

/* Vision Page Specific Styles */
.phase {
  text-align: left;
  margin-bottom: 40px;
}

.phase h3 {
  font-size: 1.4rem;
  color: #0077ff;
  margin-bottom: 10px;
}

.phase p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1.2rem;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.value-item span {
  font-size: 1.5rem;
}

/* Technology Page Specific Styles */
.feature-block {
  text-align: left;
  margin-bottom: 40px;
}

.feature-block h3 {
  font-size: 1.4rem;
  color: #0077ff;
  margin-bottom: 10px;
}

.feature-block ul {
  padding-left: 20px;
  list-style-type: disc;
  font-size: 1.1rem;
  line-height: 1.6;
}

.tagline {
  margin-top: 60px;
  font-size: 1.2rem;
  font-style: italic;
  color: #444;
}

/* Roadmap Page Specific Styles */
.timeline {
  text-align: left;
  font-size: 1.1rem;
  line-height: 2;
  border-left: 3px solid #0077ff;
  padding-left: 20px;
}

.timeline-entry {
  margin-bottom: 25px;
  position: relative;
}

.timeline-entry::before {
  content: "📍";
  position: absolute;
  left: -30px;
  color: #0077ff;
}

/* Sponsorship Page Specific Styles */
.list-block {
  text-align: left;
  margin-bottom: 60px;
}

.list-block h3 {
  font-size: 1.5rem;
  color: #0077ff;
  margin-bottom: 20px;
}

.list-block ul {
  list-style: none;
  font-size: 1.1rem;
  line-height: 1.9;
  padding-left: 0;
}

.list-block ul li::before {
  content: "✔️";
  margin-right: 10px;
  color: #0077ff;
}

.hero {
  height: 100vh;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.hero-background, .section-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-background.video video, .section-background.video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-background.image, .section-background.image {
  background-size: cover;
  background-position: center;
}

.hero-content {
  z-index: 1;
  position: relative;
  text-align: center;
}

.hero h1 { font-size: 3rem; margin-bottom: 10px; }
.hero h2 { font-size: 1.5rem; margin-bottom: 30px; }

.cta-buttons a {
  margin: 10px;
  padding: 14px 28px;
  background-color: #0077ff;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  font-size: 1.1rem;
}

.cta-buttons a:hover {
  background-color: #005bcc;
}

/* Contact Page Specific Styles */
.page-contact .contact {
  padding: 140px 2rem 60px;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.page-contact .contact h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
}

.page-contact .contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 60px;
}

.page-contact .contact input,
.page-contact .contact textarea {
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Montserrat', sans-serif;
  background-color: #fff;
  color: #000;
}

.page-contact .contact textarea {
  resize: vertical;
  min-height: 100px;
}

.page-contact .contact button {
  padding: 12px;
  font-size: 1rem;
  background-color: #0077ff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.page-contact .contact button:hover {
  background-color: #005bcc;
}

.page-contact .contact .contact-details {
  font-size: 1.1rem;
  line-height: 2;
}

.page-contact .contact .contact-details a {
  color: #0077ff;
  text-decoration: none;
}

.page-contact .contact .contact-details a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: #f3f3f3;
  padding: 40px 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #000;
}

.footer-socials {
  margin-bottom: 15px;
}

.footer-socials a {
  color: #0077ff;
  text-decoration: none;
  margin: 0 5px;
}

.footer-socials a:hover {
  text-decoration: underline;
}

.footer-email {
  margin-bottom: 10px;
}

.footer-email a {
  color: #0077ff;
  text-decoration: none;
}

.footer-email a:hover {
  text-decoration: underline;
}

.footer-copyright {
  font-size: 0.85rem;
  margin-top: 10px;
}

/* Dark Mode */
body.dark {
  background-color: #121212;
  color: #f1f1f1;
}

body.dark section,
body.dark section h1,
body.dark section h2,
body.dark section p,
body.dark .team-member,
body.dark .phase,
body.dark .phase h3,
body.dark .phase p,
body.dark .values,
body.dark .value-item,
body.dark .feature-block,
body.dark .feature-block h3,
body.dark .feature-block ul,
body.dark .tagline,
body.dark .timeline,
body.dark .timeline-entry,
body.dark .list-block,
body.dark .list-block h3,
body.dark .list-block ul,
body.dark .hero,
body.dark .hero h1,
body.dark .hero h2,
body.dark .cta-buttons a {
  color: #f1f1f1;
}

body.dark .phase h3,
body.dark .feature-block h3,
body.dark .list-block h3 {
  color: #66b0ff;
}

body.dark .tagline {
  color: #bbb;
}

body.dark .timeline {
  border-left-color: #66b0ff;
}

body.dark .timeline-entry::before,
body.dark .list-block ul li::before {
  color: #66b0ff;
}

body.dark .navbar {
  background-color: #2e2e2e;
}

body.dark .navbar a,
body.dark footer,
body.dark .footer-socials a,
body.dark .footer-email a {
  color: #f1f1f1;
}

body.dark footer {
  background-color: #2e2e2e;
}

body.dark .section-background.image,
body.dark .hero-background.image {
  filter: brightness(0.8);
}

body.dark .hamburger span {
  background-color: #f1f1f1;
}

body.dark .page-contact .contact input,
body.dark .page-contact .contact textarea {
  background-color: #2e2e2e;
  color: #f1f1f1;
  border-color: #555;
}

body.dark .page-contact .contact button {
  background-color: #0077ff;
  color: #fff;
}

body.dark .page-contact .contact button:hover {
  background-color: #005bcc;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    height: auto;
    padding: 1rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }

  body.dark .nav-menu {
    background-color: #2e2e2e;
  }

  .nav-menu.active {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .nav-links li {
    margin: 0;
  }

  .logo-symbol { width: 80px; }
  .logo-name { width: 240px; }

  .hero h1 { font-size: 2rem; }
  .hero h2 { font-size: 1.2rem; }

  .section {
    padding: 120px 1rem 60px;
  }

  section h2 { font-size: 2rem; }
  section p { font-size: 1rem; }
  .team-member { font-size: 0.9rem; }
  .phase h3 { font-size: 1.2rem; }
  .phase p { font-size: 0.9rem; }
  .values { font-size: 1rem; }
  .value-item span { font-size: 1.2rem; }
  .feature-block h3 { font-size: 1.2rem; }
  .feature-block ul { font-size: 0.9rem; }
  .tagline { font-size: 1rem; margin-top: 40px; }
  .timeline { font-size: 0.9rem; line-height: 1.8; padding-left: 15px; }
  .timeline-entry { margin-bottom: 20px; }
  .timeline-entry::before { left: -25px; }
  .list-block h3 { font-size: 1.3rem; }
  .list-block ul { font-size: 0.9rem; line-height: 1.7; }

  .cta-buttons a {
    padding: 10px 20px;
    font-size: 1rem;
  }

  footer {
    padding: 30px 15px;
    font-size: 0.85rem;
  }

  .footer-copyright {
    font-size: 0.8rem;
  }

  .page-contact .contact {
    padding: 120px 1rem 60px;
  }

  .page-contact .contact h2 {
    font-size: 1.8rem;
  }

  .page-contact .contact form {
    max-width: 100%;
  }

  .page-contact .contact input,
  .page-contact .contact textarea,
  .page-contact .contact button {
    font-size: 0.9rem;
    padding: 10px;
  }

  .page-contact .contact .contact-details {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .logo-symbol { width: 60px; }
  .logo-name { width: 180px; }

  .hero h1 { font-size: 1.5rem; }
  .hero h2 { font-size: 1rem; }

  .cta-buttons a {
    display: block;
    margin: 10px auto;
    max-width: 200px;
  }

  .page-contact .contact h2 {
    font-size: 1.6rem;
  }

  .page-contact .contact input,
  .page-contact .contact textarea,
  .page-contact .contact button {
    font-size: 0.85rem;
    padding: 8px;
  }

  .page-contact .contact .contact-details {
    font-size: 0.9rem;
  }
}