/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #333333;
  line-height: 1.6;
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

/* Top Notification Bar */
.top-bar {
  background-color: #ffd700;
  color: #333;
  text-align: center;
  font-weight: bold;
  font-size: 0.95em;
  padding: 6px 0;
}

/* HEADER */
header {
  padding: 20px 0;
  background-color: white;
  text-align: center;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
}

.nav-centered {
  display: flex;
  gap: 20px;
  align-items: center; /* ✅ makes nav items align with logo */
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-size: 1.8em;
  font-weight: 700;
  color: #333333;
}

/* THIS is the key fix */
.nav-wrapper {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-centered {
  display: flex;
  gap: 30px;
}

.nav-centered a {
  color: #333333;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: 0.3s;
}

.nav-centered a:hover {
  color: #333;
  background-color: white;
  padding: 5px 10px;
  border-radius: 4px;
}

/* Parent dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* The clickable menu item (e.g., Introduction) */
.dropbtn {
  font-weight: bold;
  padding: 10px 16px;
  background: transparent;
  color: #333;
  text-decoration: none;
  cursor: pointer;
}

/* Dropdown content - make sure there's NO GAP */
.dropdown-content {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  border-radius: 6px;
  z-index: 999;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

/* Show the dropdown content when hovering over the parent */
.dropdown:hover .dropdown-content {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.dropdown-content a {
  display: block;
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  white-space: nowrap; /* 🔥 This is the key */
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-content a:hover {
  background-color: #f2f2f2;
}

/* Tagline */
.tagline {
  text-align: center;
  margin: 80px auto 30px auto;
  max-width: 800px;
  font-weight: 500;
  font-size: 1.4em;
}

.tagline p {
  margin: 5px 0;
}

.tagline-highlight {
  font-size: 2em;
  font-weight: 700;
  color: #ffd700;
}

.wallet-guide-section {
  padding: 60px 20px;
  background-color: #fff;
}

.wallet-guide-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.wallet-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.wallet-text h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #333;
}

.wallet-text h3 {
  margin-top: 20px;
  font-size: 1.3em;
  color: #f7931a;
}

.wallet-text p {
  font-size: 1.1em;
  color: #444;
  line-height: 1.6;
}

.wallet-text ul {
  margin-top: 10px;
  margin-left: 20px;
  color: #444;
}

.wallet-image {
  flex: 1;
  text-align: center;
}

.wallet-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.full-banner {
  width: 140%;
  max-width: none;
  height: auto;
  display: block;
  margin: 40px 0 0 -20%;
}

/* About Section */
.about-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
  gap: 30px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 2em;
  color: #333333;
  margin-bottom: 15px;
}

.about-text h3.sub-heading {
  font-size: 1.4em;
  color: #222;
  margin-top: 25px;
  border-left: 4px solid #ffd700;
  padding-left: 10px;
}

.about-text p {
  font-size: 1.1em;
  color: #444;
  line-height: 1.6;
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  max-width: 60%;
  height: auto;
}

/* Future Section */
.future-section {
  background: url('images/future projects.png') no-repeat center center;
  background-size: cover;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.future-section h2 {
  font-size: 2em;
  margin-bottom: 40px;
  color: #222;
}

.future-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.card {
  background-color: #1b1b1b;
  border: 1px solid #333;
  padding: 30px 20px;
  width: 280px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.card-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  filter: brightness(1.1);
}

.card h3 {
  color: #ffd700;
  font-size: 1.2em;
  margin-bottom: 10px;
}

.card p {
  color: #ccc;
  font-size: 0.95em;
}


.buy-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.buy-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.buy-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  font-size: 1.05em;
  color: #333;
  line-height: 1.7;
}

.buy-text h2 {
  font-size: 2em;
  color: #222;
  margin-bottom: 20px;
  border-left: 6px solid #ffd700;
  padding-left: 12px;
}

.buy-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.buy-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
  background-color: #111;
  color: white;
  padding: 40px 20px 20px 20px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-brand {
  flex: 1 1 250px;
  text-align: left;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 40px;
  height: 40px;
}

.footer-name {
  font-size: 1.4em;
  font-weight: bold;
  color: white;
}



.social-icons a {
  margin-right: 12px;
  display: inline-block;
}

.social-icons img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.2);
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-column h4 {
  color: #ffd700;
  font-size: 1.1em;
  margin-bottom: 15px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  margin-top: 30px;
  padding-top: 15px;
  font-size: 0.9em;
  color: #999;
}

.page-section h2 {
  text-align: center;
  color: #222;
  font-size: 2em;
  margin-bottom: 20px;
}

.page-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
  font-size: 1.1em;
  line-height: 1.6;
  color: #333;
}

.social-text {
  margin: 15px 0 10px;
  font-size: 0.95em;
  color: #ccc;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  header h1 {
    font-size: 1.6em;
  }

  nav a {
    margin: 6px;
    font-size: 0.95em;
  }

  .footer-columns {
    flex-direction: column;
  }

  section h2 {
    font-size: 1.5em;
  }

  section p {
    font-size: 1em;
  }
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ============ EXTRA MOBILE RESPONSIVE TWEAKS ============= */

@media screen and (max-width: 768px) {

  .header-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .nav-centered {
    flex-direction: column;
    gap: 10px;
  }

  .tagline {
    font-size: 1.2em;
    margin: 40px auto;
    padding: 0 10px;
  }

  .about-section {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    max-width: 80%;
  }

  .future-cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    max-width: 350px;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-columns {
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (max-width: 480px) {

  .logo-text {
    font-size: 1.4em;
  }

  .tagline {
    font-size: 1em;
  }

  .about-text h2, .future-section h2 {
    font-size: 1.6em;
  }

  .about-text p, .future-section p {
    font-size: 0.95em;
  }

  .card h3 {
    font-size: 1.1em;
  }

  .card p {
    font-size: 0.9em;
  }

  .full-banner {
    width: 100%;
    margin: 20px 0 0 0;
  }

  .footer-name {
    font-size: 1.2em;
  }
}
