/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Arial', sans-serif;
  background: #f9f9f9;
  color: #111;
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; }

/* === HEADER === */
.header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  width: 100%;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.navbar {
  display: flex;
  gap: 2rem;
}

.navbar a {
  color: #111;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.navbar a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #4CAF50;
  transition: width 0.3s;
  position: absolute;
  bottom: -4px;
  left: 0;
}

.navbar a:hover::after {
  width: 100%;
}

.navbar a:hover {
  color: #4CAF50;
}

/* === MOBILE === */
@media (max-width: 768px) {
  .header {
    flex-direction: row; /* keep row so logo and nav stay side by side */
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    margin: 0; /* no forced margin below */
  }

  .navbar {
    flex-direction: row; /* keep nav links in a row */
    gap: 1rem;
  }

  .navbar a {
    display: inline-block;
    width: auto;
  }
}


/* === HERO SLIDER === */
.hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #f0f8ff;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.hero-slide {
  min-width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 8rem 2rem;
}

.hero-slide h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-slide p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #4CAF50;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s;
}

.btn:hover {
  background: #45a049;
}

/* === TESTIMONIALS === */
.testimonials {
  text-align: center;
  padding: 4rem 2rem;
  background: #f9f9f9;
  height: auto;
}

.testimonial {
  display: none;
}

.testimonial img.profile {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
}

.testimonial p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.5;
}

/* === CTA === */
.cta-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 4rem 2rem;
  justify-content: center;
}
.cta-card {
  flex: 1 1 300px;
  background: #fff;
  border: 1px solid #ddd;
  border-left: 5px solid #4CAF50;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}
.cta-card:hover {
  transform: translateY(-5px);
}
.cta-card h2 {
  margin-bottom: 1rem;
}
.cta-card button {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: #4CAF50;
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s;
}
.cta-card button:hover {
  background: #45a049;
}

/* === BTC Chat === */
.btc-chat {
  text-align: center;
  padding: 4rem 2rem;
}
.btc-chat iframe {
  border-radius: 8px;
  border: 1px solid #ddd;
}

/* === FOOTER BANNER === */
.footer-banner {
  width: 100%;
  position: relative;
  text-align: center;
  background: #f5f5f5;
  overflow: hidden;
}

.footer-banner .banner-wrapper {
  position: relative;
  display: inline-block;
}

.footer-banner img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.footer-banner .banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  background: rgba(0, 0, 0, 0.5);
  padding: 1rem 2rem;
  border-radius: 8px;
}

.footer-banner .banner-text h2 {
  font-size: 1.8rem;
  margin: 0;
  font-weight: 600;
}

@media (max-width: 768px) {
  .footer-banner .banner-text h2 {
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
  }
}

/* === Wallets === */
.wallets-section {
  padding: 4rem 2rem;
  background: #f9f9f9;
}

.wallets-header {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.wallets-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1e3c72;
}

.wallets-header p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

.wallets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.wallet-item {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.wallet-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.wallet-item img {
  max-width: 60px;
  height: auto;
  margin-bottom: 0.75rem;
}

.wallet-item p {
  margin: 0;
  font-size: 0.95rem;
  color: #333;
  font-weight: 500;
}

/* === Footer === */
.footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.footer-menu a {
  color: #fff;
  transition: color 0.3s;
}
.footer-menu a:hover {
  color: #4CAF50;
}
.footer-copy {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* === Misc === */
@keyframes fade { from {opacity: .4} to {opacity: 1} }
.fade { animation: fade 1.5s; }

.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  padding: 3rem 2rem;
  background-color: inherit;
  text-align: center;
}

.stats .stat h2 {
  font-size: 1.8rem;
  color: green;
}

.stats .stat p {
  color: black;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  padding: 2rem;
}

.grid-item {
  background-color: darkgrey;
  color: black;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  transition: background 0.3s;
}

.grid-item i {
  font-size: 1.2rem;
  color: #0ff;
}

.grid-item:hover {
  background-color: green;
}

.hero-page {
  background: green;
  color: white;
  text-align: center;
  padding: 8rem 2rem 4rem;
}

.hero-page h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-page p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-content .content {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 2rem;
  line-height: 1.8;
  color: #333;
}

.page-content .content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.page-content .content strong {
  color: #1e3c72;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background: #fff;
  margin: 50% 5%;
  padding: 2rem;
  border-radius: 10px;
  max-width: 400px;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.progress-bar {
  background: #ddd;
  border-radius: 20px;
  overflow: hidden;
  height: 20px;
  margin-top: 1rem;
}

.progress {
  height: 100%;
  width: 0;
  background: #4CAF50;
  transition: width 3s ease;
}

.selected-wallet {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.selected-wallet-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
  border: 1px solid #ddd;
}

#walletForm {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

#walletForm textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  resize: vertical;
  font-size: 1rem;
}

#walletForm button {
  width: 100%;
  padding: 0.75rem;
  background: green;
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}
