* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #0a0e17 !important;
  color: #ffffff !important;
  scrollbar-color: #171717 !important; /* Thumb and track color */
  scrollbar-width: thin !important; /* For Firefox */
}

#nav {
  background-color: rgba(10, 14, 23, 0.95);
  /* position: fixed; */
  width: 100%;
  padding: 10px !important;
}

#nav .nav-link {
  color: #fff !important;
}

#nav .nav-link:hover {
  color: #2f89fe !important;
}

/* Custom scrollbar for WebKit browsers */
::-webkit-scrollbar {
  width: 5px;
  display: none !important;
}

::-webkit-scrollbar-track {
  display: none !important;
}

::-webkit-scrollbar-thumb {
  background-color: #171717; /* Thumb color */
  border-radius: 10px !important; /* Roundness of the thumb */
}

.logo {
  font-size: 24px;
  font-weight: 700;
}
.logo img {
  width: 60px;
}

@media (max-width:700px) {
  .logo {
    font-size: 4.5vw !important;
  }
  .logo img {
    width: 15vw;
  }
}


.navbar-accounts-links {
  display: flex;
  flex-direction: row;
  gap: .5rem;
}
.navbar-accounts-links a {
  font-weight:500 !important;
  width:130px !important;
}

@media(max-width:768px) {
  .navbar-accounts-links {
      flex-direction: column;
  }
  .navbar-accounts-links a {
      margin-bottom: 10px;
      width:100% !important;
  }
}
.nav-link a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color 0.3s !important;
}

.nav-link a:hover {
  color: #2f89fe !important;
}

.hero {
  height: 100vh;
  background: linear-gradient(rgba(10, 14, 23, 0.9), rgba(10, 14, 23, 0.7)),
              url('../img/trading-img.jpg') center/cover;
  display: flex;
  align-items: center;
  padding: 0 80px;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #cccccc;
}


.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 80px;
  background-color: #131822;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: #2f89fe;
  margin-bottom: 10px;
}

.stat-label {
  color: #cccccc;
}

.features {
  padding: 100px 80px;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}


.feature-card {
  background: #131822;
  padding: 30px;
  border-radius: 15px;
  transition: transform 0.3s;
}

.feature-card:hover {
  background: #1c2433 !important;
}

.feature-icon {
  font-size: 40px;
  color: #2f89fe;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 18px;
  margin-bottom: 15px;
}

.feature-text {
  color: #cccccc;
  line-height: 1.6;
}

.testimonials {
  padding: 100px 80px;
  
}

/* Add media queries for responsiveness */
@media (max-width: 768px) {
  #nav, .hero, .stats, .features, .testimonials {
      padding: 20px;
  }

  .nav-links {
      display: none;
  }

  .hero h1 {
      font-size: 36px;
  }

  .stats {
      grid-template-columns: 1fr;
  }

  .features-grid {
      grid-template-columns: 1fr;
  }
  .balance-cards {
      grid-template-columns: 1fr;
  }

}

 /* navbar toggle span bars */
 .navbar-toggler {
  box-shadow: none !important;
  border: none !important;
  font-weight: 600 !important;
  margin-right: 10px !important;
}
.navbar-toggler,
.toggle {
padding: 0 !important;
}
 #checkbox {
  display: none;
}

.toggle {
  position: relative;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition-duration: .5s;
}

.bars {
  width: 100%;
  height: 4px;
  background-color: #fff;
  border-radius: 4px;
}

#bar2 {
  transition-duration: .8s;
}

#bar1, #bar2, #bar3 {
  width: 70%;
}

#checkbox:checked + .toggle .bars {
  position: absolute;
  transition-duration: .5s;
}

#checkbox:checked + .toggle #bar2 {
  transform: scaleX(0);
  transition-duration: .5s;
}

#checkbox:checked + .toggle #bar1 {
  width: 100%;
  transform: rotate(45deg);
  transition-duration: .5s;
}

#checkbox:checked + .toggle #bar3 {
  width: 100%;
  transform: rotate(-45deg);
  transition-duration: .5s;
}

#checkbox:checked + .toggle {
  transition-duration: .5s;
  transform: rotate(180deg);
}

/* flexbox container */
.flexbox-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem; 
  justify-content: space-between;
}
.flexbox-item {
  flex: 1 1 calc(33.33% - 1rem); 
  min-width: 250px;
  padding: 1rem;
  box-sizing: border-box;
}

/* grid container */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}


.cards {
  background: #131822;
  padding: 30px;
  border-radius: 15px;
  transition: transform 0.3s;
  box-sizing: border-box;
}


/* footer */
.footer {
  background-color: #131822;
  padding: 60px 80px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-heading {
  color: #2f89fe;
  margin-bottom: 25px;
  font-size: 18px;
  font-weight: 600;
}

.footer-text {
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 15px;
  list-style: none !important;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #2f89fe;
}

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.social-links a {
  color: #ffffff;
  font-size: 20px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #2f89fe;
}

.newsletter-form input {
  width: 100%;
  padding: 12px 20px;
  border-radius: 30px;
  border: none;
  background: #0a0e17;
  color: white;
  margin-bottom: 15px;
}

.newsletter-form button {
  background: linear-gradient(45deg, #2f89fe, #3aa9ff);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #cccccc;
  font-size: 14px;
}

.legal-links {
  display: flex;
  gap: 25px;
}

.legal-links a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s;
}

.legal-links a:hover {
  color: #2f89fe;
}

@media (max-width: 768px) {
  .footer {
      padding: 40px 20px;
  }
  
  .footer-bottom {
      flex-direction: column;
      text-align: center;
      gap: 15px;
  }
  
  .legal-links {
      flex-wrap: wrap;
      justify-content: center;
  }
}

/* Add any additional styles here */
.crypto-table {
    background-color: #0a0e17;
    padding: 80px 40px;
}



table {
    width: 100% !important;
    border-collapse: collapse;
    background: #131822;
    border-radius: 12px;
    overflow: hidden;
}

th, td {
    padding: 18px 25px;
    text-align: left;
    color: #ffffff;
}

th {
    background-color: #1a1f2c;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

tbody tr:hover {
    background-color: #1a1f2c;
}

.fab {
    font-size: 24px;
    margin-right: 15px;
    vertical-align: middle;
}

.symbol {
    color: #6c757d;
    font-size: 14px;
    margin-left: 10px;
}

.positive {
    color: #2ecc71;
}

.negative {
    color: #e74c3c;
}

.trade-btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s;
}


@media (max-width: 768px) {
    .crypto-table {
        padding: 40px 20px;
    }
    
    .table-container {
        overflow-x: auto;
    }
    
    table {
        min-width: 1000px;
    }
    
    th, td {
        padding: 15px 20px;
    }
}

/*pricing*/
.pricing {
  background-color: #131822;
  padding: 80px 40px;
}

.section-subtitle {
  text-align: center;
  color: #cccccc;
  margin-bottom: 60px;
  font-size: 18px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background: #0a0e17;
  border-radius: 15px;
  padding: 40px;
  position: relative;
  border: 1px solid rgba(47, 137, 254, 0.1);
  transition: transform 0.3s;
  font-size: small !important;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.featured {
  border: 2px solid #2f89fe;
  background: linear-gradient(45deg, #0a0e17, #131822);
}

.plan-header {
  margin-bottom: 30px;
  text-align: center;
}

.plan-header h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #2f89fe;
}

.price {
  margin-bottom: 20px;
}

.amount {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
}

.duration {
  color: #6c757d;
  font-size: 16px;
}

.plan-description {
  color: #cccccc;
  font-size: 14px;
}

.listings {
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.listings li {
  margin-bottom: 15px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.listings i {
  color: #2f89fe;
}

.cta-button {
  display: block;
  text-align: center;
  margin-top: 30px;
  font-weight:500;
}

.popular-badge {
  position: absolute;
  top: -15px;
  right: 35%;
  background: #2f89fe;
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .pricing-cards {
      grid-template-columns: 1fr;
      max-width: 500px;
  }
  
  .pricing {
      padding: 40px 20px;
  }
  
  .amount {
      font-size: 36px;
  }
}
/* form */
.form-content {
  background-color: #131822;
  padding:30px;
  width:400px;
}
@media (max-width: 768px) {
  .form-content {
      width: 100%;
      padding: 30px;
  }
} 

form input[type="text"], input[type="email"], input[type="password"], input[type="number"], select {
  width: 100%;
  border: none;
  background: #0a0e17;
  color: white;
}
form textarea {
  width: 100%;
  border: none;
  background: #0a0e17;
  color: white;
  resize: none;
  height: 200px;
}
form button {
  font-weight: 500 !important;
}
form a {
  text-decoration: none !important;
  color: #939393;
}
form a:hover {
  color: #2f89fe !important;
}
/* map */
.map-container {
  margin-top: 40px;
  border-radius: 15px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/*sidebar . user navigation*/
.sidebar {
  height: 100vh;
  background: #131822;
  color: #fff;
  padding-top: 20px;
  overflow-y: scroll !important;
}
#mobile-nav {
  background: #343a40;
  color: #fff;
}
.sidebar .nav-link, #mobile-nav .nav-link {

  display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            color: #cccccc;
            text-decoration: none;
            border-radius: 0.5rem;
            transition: all 0.3s ease;
            font-size: 16px;
            margin-bottom: 10px;
            
  
}
.sidebar .nav-link:hover, #mobile-nav .nav-link:hover {
  background: rgba(47, 137, 254, 0.1);
  color: #2f89fe;
}
.content {
  padding: 20px;
}
#user-menu {
  display: block;
}
@media (max-width:991px) {
  .content{
    margin-top: 100px !important;
    
  }
  #user-menu {
    display: none;
  }

}

/* search */
.search-field {
  width:250px;
  background: #131822;
  padding:15px;
  border:none;
  border-radius: 30px;
  color: #fff;
}

@media (max-width: 768px) {
  .search-field {
      width: 100%;
      padding: 15px;
  }
}

/* help center */
.help-center {
  padding: 80px 40px;
  background-color: #0a0e17;
  color: white;
}

.help-hero {
  text-align: center;
  margin-bottom: 60px;
}

.help-hero h1 {
  font-size: 42px;
  margin-bottom: 20px;
  color: #2f89fe;
}

.search-container {
  max-width: 700px;
  margin: 0 auto;
}

.help-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.category-card {
  background: #131822;
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(47, 137, 254, 0.1);
  transition: transform 0.3s;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-icon {
  font-size: 32px;
  color: #2f89fe;
  margin-bottom: 20px;
}

.faq-section {
  margin: 60px 0;
}

.faq-item {
  background: #131822;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid rgba(47, 137, 254, 0.1);
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 20px 0;
  border-top: 1px solid rgba(47, 137, 254, 0.1);
}


@media (max-width: 768px) {
  .help-center {
      padding: 40px 20px;
  }
  
  .help-hero h1 {
      font-size: 32px;
  }
}
