/* Global Styles */
:root {
  --primary-color: #3a86ff;
  --secondary-color: #00b4d8;
  --accent-color: #ffd60a;
  --dark-color: #1a1a2e;
  --light-color: #f8f9fa;
  --light-blue: #e9f7fe;
  --blue-gradient: linear-gradient(180deg, #85cbff 30%, #fcfcfc 100%);
  --success-color: #06d6a0;
  --danger-color: #ef476f;
  --warning-color: #ffd166;
  --icon-bg: linear-gradient(180deg, #3a86ff, #06d6a0);
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --card-border-radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
}

.container {
  width: 100%;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

/* Section Title - Global styling for all screen sizes */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(135deg, #3a86ff 30%, #06d6a0 60%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 10px;
  margin-bottom: 20px;
}

.section-description {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 30px;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  text-align: center;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
  margin-top: 15px;
}

.btn-primary:hover {
  background-color: #0066cc;
  transform: translateY(-2px);
}

.btn-login {
  background-color: transparent;
  color: var(--dark-color);
  border: none;
  padding: 10px 20px;
}

.btn-login:hover {
  color: var(--primary-color);
}

.btn-signup {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  padding: 10px 20px;
}

.btn-signup:hover {
  background-color: #0066cc;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn i {
  margin-left: 8px;
}

/* Header Styles */
.main-header {
  background-color: white;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-self: right;
  height: 40px;
  width: 120px;
}

nav ul {
  display: flex;
  align-items: center;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
}

nav ul li a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  margin-right: 20px;
}

/* Hero Section */
.hero-section {
  padding: 60px 0;
  background: var(--blue-gradient);
  color: var(--dark-color);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/placeholder.svg?height=800&width=1600");
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

/* Hero Main Content */
.hero-main {
  display: flex;
  padding-left: 8%;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  padding-right: 30px;
  text-align: left;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 24px;
  line-height: 1.2;
  font-weight: 700;
}

.hero-text h3 {
  font-size: 1.2rem; /* Adjust this value as needed */
  margin-bottom: 30px;
  line-height: 1.7;
  opacity: 0.9;
}


.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.7;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
}

.hero-image img {
  border-radius: var(--card-border-radius);
  box-shadow: var(--box-shadow);
}

/* Featured Section */
.featured-section {
  margin: 40px 0;
  position: relative;
  z-index: 1;
}

.featured-on {
  text-align: left;
}

.featured-on h3 {
  font-size: 0.9rem;
  padding-left: 8%;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
  color: #777;
  font-weight: 600;
}

.featured-logos {
  display: flex;
  padding-left: 8%;
  flex-direction: row;
  align-items: left;
  gap: 20px;
}

.featured-logos img {
  opacity: 0.8;
  transition: var(--transition);
  border-radius: 8px;
}

.featured-logos img:hover {
  opacity: 1;
}

.featured-channel {
  display: flex;
  padding-top: 2%;
  padding-left: 8%;
  flex-direction: row;
  align-items: left;
  gap: 20px;
}

/* Trading Ticker */
.trading-view-ticker {
  width: 100%;
  position: relative;
  z-index: 1;
  height: 46px;
}

/* Why Trade Section - Now in Hero */
.features-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.features-wrapper {
  display: flex;
  overflow: hidden; /* Prevent scrolling on desktop */
}

/* Feature Cards (Desktop) */
.features-slider {
  display: flex;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 300%;
  transition: transform 0.3s ease-in-out;
}

/* Feature Card */
.feature-card {
  background-color: white;
  border-radius: var(--card-border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid #f0f0f0;
  text-align: center;
  min-width: 100%;
}

/* Feature Icon */
.feature-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #3a86ff 30%, #06d6a0 60%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Stats Section */
.stats-section {
  width: 100%;
  padding: 30px 15px;
  background-color: white;
  color: white;
  margin: 40px 0;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
  width: 100%;
}

.stat-card {
  text-align: center;
  padding: 15px;
  transition: var(--transition);
  border-radius: var(--border-radius);
  background-color: #f8f9fa;
  min-height: 120px;
}

.stat-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 5px;
  background: linear-gradient(135deg, #3a86ff 30%, #06d6a0 60%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 500;
  color: #1a1a2e;
}

/* Recent Withdrawals Section */
.recent-withdrawals-section {
  padding: 60px 0;
  margin: 40px 0;
  margin-bottom: 20px;
}

.withdrawals-table {
  background-color: white;
  border-radius: var(--card-border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  align-items: center;
}

.withdrawals-table table {
  width: 90%;
  border-collapse: collapse;
}

.withdrawals-table th,
.withdrawals-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.withdrawals-table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
}

.withdrawals-table tbody tr:hover {
  background-color: #f9f9f9;
}

.view-more {
  padding: 15px;
  text-align: center;
}

.view-more a {
  color: var(--primary-color);
  font-weight: 500;
  transition: var(--transition);
}

.view-more a:hover {
  text-decoration: underline;
}

.plans-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
  margin-top: 20px;
  padding: 0 20px;
}

.plan-card {
  background-color: white;
  border-radius: var(--card-border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  position: relative;
  transition: var(--transition);
  border: 1px solid #f0f0f0;
  height: 100%;
  max-width: 95%;
  display: flex;
  flex-direction: column;
  margin: 20px;
}

.plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.plan-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary-color);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 1;
}

.plan-rate {
  text-align: center;
}

.plan-header {
  padding: 30px 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
  background: linear-gradient(135deg, #3a86ff 30%, #06d6a0 60%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plan-header h3 {
  font-size: 2.8rem;
  margin-bottom: 5px;
  color: var(--dark-color);
  font-weight: 700;
}

.plan-duration {
  font-weight: 500;
  color: #555;
}

.plan-features {
  padding: 30px 20px;
  flex-grow: 1;
}

.feature {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.feature i {
  color: var(--success-color);
  margin-right: 10px;
  font-size: 1rem;
  margin-top: 3px;
}

.plan-price {
  padding: 0 20px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f0f0f0;
  padding-top: 20px;
}

.price-label {
  font-weight: 500;
  color: #555;
}

.price-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.plan-action {
  padding: 0 20px 30px;
  text-align: center;
}

.view-all-plans {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

/* Calculator Section */
.calculator-section {
  padding: 100px 0 !important;
  width: 100%;
  max-width: 100%;
  min-height: 600px;
  display: block;
  background-color: #05264f;
  color: white;
}

.calculator-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: white;
  border-radius: var(--card-border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.calculator-form {
  padding: 40px;
  background-color: var(--dark-color);
  color: white;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 1rem;
}

.form-control {
  width: 100%;
  border: none;
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.1);
  color: #1a1a2e;
  font-size: 1rem;
  padding: 12px 12px;
  height: 50px;
  padding-bottom: 15px;
}

.calculator-results {
  padding: 40px;
  background-color: #05264f;
  color: white;
}

.calculator-results h3 {
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  font-size: 1.5rem;
  font-weight: 600;
}

.result-row {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.result-label {
  font-weight: 500;
  color: #f0f0f0;
}

.result-value {
  font-weight: 700;
  color: #f0f0f0;
}

/* Support Section */
.support-section {
  padding: 60px 0;
  margin: 40px 0;
  background-color: white;
  border-radius: var(--card-border-radius);
}

.support-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.support-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--dark-color);
  font-weight: 700;
  text-align: center;
}

.support-content h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--primary-color);
  font-weight: 600;
  text-align: center;
}

.support-content p {
  margin-bottom: 20px;
  color: #555;
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
}

.support-rating {
  display: flex;
  align-items: center;
  margin-top: 30px;
  justify-content: center;
}

.stars {
  color: #ffc107;
  font-size: 1.2rem;
  margin-right: 10px;
}

.support-rating span {
  font-weight: 700;
  font-size: 1.2rem;
}

.support-image {
  text-align: center;
}

.support-image img {
  border-radius: var(--card-border-radius);
  box-shadow: var(--box-shadow);
  max-width: 100%;
}

/* Footer */
.main-footer {
  background-color: var(--dark-color);
  color: white;
  padding: 80px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  margin-left: 15px;
}

.footer-logo p {
  margin-top: 15px;
  opacity: 0.8;
}

.footer-links h3,
.footer-social h3 {
  margin-bottom: 25px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 10px;
  font-weight: 600;
}

.footer-links h3::after,
.footer-social h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--primary-color);
  opacity: 1;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (min-width: 992px) {
  .features-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
    margin: 0;
    padding: 0 20px;
  }

  .feature-card {
    min-width: auto;
    flex: none;
  }
}

@media (max-width: 992px) {
  .calculator-container,
  .support-container {
    grid-template-columns: 1fr;
  }

  .hero-main {
    flex-direction: column;
  }

  .hero-text {
    text-align: center; /* Center hero text on tablet */
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  nav ul.nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    text-align: center; /* Center nav links */
  }

  nav ul.nav-menu.active {
    display: flex;
  }

  nav ul li {
    margin: 12px 0;
  }

  .hero-main {
    flex-direction: column;
  }

  .hero-text {
    font-size: 1.8rem;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    text-align: center; /* Center stats */
  }

  .plans-container {
    grid-template-columns: 1fr;
  }

  .support-content h2 {
    font-size: 2rem;
  }

  .section-description {
    font-size: 1rem;
    text-align: center;
  }

  .featured-logos {
    flex-direction: column;
    align-items: center; /* Center featured logos */
  }

  .features-wrapper {
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .features-slider {
    overflow-x: visible;
    display: flex;
    z-index: 1;
    flex-wrap: nowrap;
    padding: 15px;
    max-width: 100%;
  }

  .feature-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    min-width: 100%;
    text-align: center; /* Center feature card text */
    min-width: 100%;
  }

  .slider-container {
  overflow-x: hidden;
  width: 100%;
}

  
  /* Center Pending Transactions Table on Mobile */
  .pending-transactions-section {
    text-align: center;
    margin-top: 20px;
  }
  .pending-transactions-section table {
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .withdrawals-table {
    overflow-x: auto;
  }

  .withdrawals-table table {
    min-width: 600px;
  }

  .hero-section {
    padding: 40px 0;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .featured-logos {
    gap: 20px;
    align-items: center; /* Center logos in mobile */
  }

  .investment-plans-section {
    padding: 100px 0 !important;
    width: 100%;
    max-width: 100%;
    min-height: 500px;
    display: block;
    text-align: center; /* Center investment plans section */
  }

  .calculator-section {
    width: 100vw !important;
    max-width: 100% !important;
    padding: 80px 20px !important;
    background-color: #1a1a2e !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .support-section {
    padding: 40px 0;
    text-align: center;
  }

  .calculator-form,
  .calculator-results {
    padding: 30px 20px;
  }

  .feature-card {
    min-width: 220px;
    flex: 0 0 220px;
    padding: 25px 20px;
    text-align: center;
  }
}

/* Centering containers if necessary */
.table-responsive {
  width: 100%;
  max-width: 1200px; /* Adjust as needed */
  margin: 0 auto; /* This centers the container */
}
