.features-section {
  background-color: #ffffff;
}

.feature-card {
  text-align: center;
  padding: 20px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.feature-card .icon {
  font-size: 40px;
  color: #007bff;
  margin-bottom: 15px;
}

.feature-card .title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: #555;
}

.feature-card .btn {
  border-radius: 20px;
  font-size: 12px;
  padding: 8px 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.section--bg {
  background-color: #f8f9fa; /* Light background */
}

#about .section-header {
  margin-bottom: 30px;
}

#about .section-top-title {
  font-size: 14px;
  font-weight: bold;
  color: #007bff;
  text-transform: uppercase;
  margin-bottom: 10px;
}

#about .section-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
}

#about .about-thumb img {
  width: 100%;
  border-radius: 8px;
}

#about .about-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#about .about-card__icon {
  font-size: 30px;
  color: #fff;
  padding: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#about .about-card__icon.bg--base {
  background-color: #007bff;
}

#about .about-card__content .title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

#about .about-card__content p {
  font-size: 14px;
  color: #555;
}

.full-width-image {
  width: 100%; /* Ensures the image takes the full width of its container */
  height: auto; /* Maintains the aspect ratio */
  object-fit: cover; /* Ensures the image covers the container without distortion */
  border-radius: 8px; /* Optional: Adds rounded corners */
}

.about-thumb {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Ensures the image doesn't overflow its container */
}

/* Services Section */
.services-section {
  background-color: #f8f9fa; /* Light background */
  padding: 60px 0; /* Top and bottom padding */
}

.services-section .section-header {
  margin-bottom: 30px;
}

.services-section .section-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.services-section .section-subtitle {
  font-size: 16px;
  color: #555;
}

.service-card {
  background-color: #ffffff; /* White background for cards */
  border: 1px solid #ddd; /* Light border */
  border-radius: 8px; /* Rounded corners */
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px); /* Slight lift on hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}

.service-card .service-icon {
  font-size: 40px; /* Icon size */
  color: #007bff; /* Icon color */
  margin-bottom: 15px;
}

.service-card .service-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.service-card .service-description {
  font-size: 14px;
  color: #555;
}

/* Testimonials Section */
.testimonials-section {
  background-color: #ffffff;
  padding: 60px 0;
}

.testimonial-card {
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.testimonial-text {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
}

.testimonial-author {
  font-size: 14px;
  font-weight: bold;
  color: #333;
}

/* Call to Action Section */
.cta-section {
  background-color: #007bff;
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.cta-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
}

.cta-text {
  font-size: 16px;
  margin-bottom: 20px;
}

.cta-section .btn {
  font-size: 18px;
  padding: 10px 30px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-section .btn:hover {
  background-color: #0056b3;
  color: #ffffff;
}

/* Dropdown Menu Styles */
.navbar-nav .dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  border: none;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  min-width: 200px;
}

.navbar-nav .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar-nav .dropdown-menu .dropdown-item {
  padding: 12px 20px;
  font-weight: 500;
  color: #333;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-nav .dropdown-menu .dropdown-item:last-child {
  border-bottom: none;
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
  background: linear-gradient(45deg, #007bff, #0056b3);
  color: white;
  transform: translateX(5px);
}

.navbar-nav .dropdown-toggle::after {
  transition: transform 0.3s ease;
}

.navbar-nav .dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Mobile dropdown styles */
@media (max-width: 991px) {
  .navbar-nav .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    position: static;
    float: none;
    box-shadow: none;
    background: rgba(52, 58, 64, 0.95);
    margin-top: 0;
    border-radius: 0;
  }

  .navbar-nav .dropdown-menu .dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 30px;
  }

  .navbar-nav .dropdown-menu .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: none;
  }
}

/* FAQ Section */
.faq-section {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.faq-question {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.faq-answer {
  font-size: 14px;
  color: #555;
}

/* Footer Section */
.footer {
  background-color: #343a40; /* Dark background */
  color: #ffffff; /* White text */
  padding: 40px 0;
}

.footer .footer-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer .footer-links li {
  margin-bottom: 10px;
}

.footer .footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer .footer-links a:hover {
  color: #007bff; /* Highlight color on hover */
}

.footer .social-icons a {
  font-size: 18px;
  color: #ffffff;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.footer .social-icons a:hover {
  color: #007bff; /* Highlight color on hover */
}

.footer p {
  font-size: 14px;
  margin: 0;
}

/* Navigation Active State */
.navbar-nav .nav-link.active {
  color: #ffc107 !important;
  font-weight: 600;
}

.navbar-nav .nav-link {
  transition: color 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: #ffc107 !important;
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background-color: #ffc107;
  border-radius: 1px;
}

/* Improved Button Styles */
.btn-primary {
  background: linear-gradient(45deg, #007bff, #0056b3);
  border: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(45deg, #0056b3, #004085);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-outline-primary {
  border: 2px solid #007bff;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: linear-gradient(45deg, #007bff, #0056b3);
  border-color: #007bff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Enhanced Statistics Section */
.stat-item {
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
}

.stat-number {
  font-weight: 700;
  font-size: 2.5rem;
}

/* Enhanced Footer */
.footer {
  background: linear-gradient(135deg, #2c3e50, #34495e) !important;
}

.footer-links a {
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffc107 !important;
  text-decoration: none;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #ffc107;
  color: #2c3e50 !important;
  transform: translateY(-3px);
}

/* Improved FAQ Section */
.faq-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.faq-question {
  color: #333;
  font-weight: 600;
  margin-bottom: 10px;
}

.faq-answer {
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Loading Animation for Stats */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-stats {
  animation: fadeInUp 0.6s ease-out;
}

/* Pulse Animation for Important Elements */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}

.kyc-cta .btn-primary {
  animation: pulse 2s infinite;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, #007bff, #0056b3);
  color: white;
  border: none;
  border-radius: 50%;
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.scroll-to-top.show {
  display: flex;
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .scroll-to-top {
    display: none !important;
  }

  .kyc-section {
    page-break-inside: avoid;
  }
}

@media (max-width: 768px) {
  .kyc-section {
    padding: 40px 0;
  }

  .kyc-content {
    margin-bottom: 20px;
  }

  .step-item {
    flex-direction: column;
    text-align: center;
  }

  .step-number {
    margin-bottom: 10px;
  }

  .cta-buttons .btn {
    display: block;
    width: 100%;
    margin: 10px 0;
  }

  .document-card {
    margin-bottom: 15px;
  }

  .benefit-item {
    margin-bottom: 20px;
  }

  .deposit-method-card,
  .withdrawal-method-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .kyc-section .section-title {
    font-size: 24px;
  }

  .kyc-section .section-subtitle {
    font-size: 14px;
  }

  .kyc-title {
    font-size: 18px;
  }

  .kyc-icon i {
    font-size: 2rem !important;
  }
}

/* Animation for KYC elements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kyc-content,
.kyc-documents,
.kyc-benefits-section,
.kyc-cta {
  animation: fadeInUp 0.6s ease-out;
}

/* Deposit and Withdrawal Methods Sections */
.deposit-methods-section,
.withdrawal-methods-section {
  position: relative;
  overflow: hidden;
}

.deposit-methods-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  z-index: -1;
}

.deposit-method-card,
.withdrawal-method-card {
  transition: all 0.3s ease;
  border: none;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.deposit-method-card:hover,
.withdrawal-method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.deposit-method-card::before,
.withdrawal-method-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.deposit-method-card:hover::before,
.withdrawal-method-card:hover::before {
  left: 100%;
}

.method-icon {
  transition: transform 0.3s ease;
}

.deposit-method-card:hover .method-icon,
.withdrawal-method-card:hover .method-icon {
  transform: scale(1.1);
}

.method-title {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 15px;
}

.method-description {
  color: #7f8c8d;
  font-size: 14px;
  line-height: 1.6;
}

.method-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.method-features li {
  padding: 5px 0;
  font-size: 14px;
  color: #34495e;
}

.withdrawal-limits {
  background: #f8f9fa;
  padding: 8px 15px;
  border-radius: 20px;
  margin: 15px 0;
  font-weight: 500;
}

.deposit-info,
.withdrawal-info {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-left: 5px solid #007bff;
}

.info-list {
  list-style: none;
  padding: 0;
}

.info-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 123, 255, 0.1);
  font-size: 14px;
}

.info-list li:last-child {
  border-bottom: none;
}

.security-badge,
.speed-indicator {
  padding: 20px;
}

.security-notice {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
  .deposit-method-card,
  .withdrawal-method-card {
    margin-bottom: 20px;
  }

  .method-icon i {
    font-size: 2.5rem !important;
  }

  .security-notice .row {
    text-align: center;
  }

  .security-notice .col-lg-2,
  .security-notice .col-lg-8,
  .security-notice .col-lg-2 {
    margin-bottom: 15px;
  }
}

/* Animation for cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.deposit-method-card,
.withdrawal-method-card {
  animation: fadeInUp 0.6s ease forwards;
}

.deposit-method-card:nth-child(1) {
  animation-delay: 0.1s;
}
.deposit-method-card:nth-child(2) {
  animation-delay: 0.2s;
}
.deposit-method-card:nth-child(3) {
  animation-delay: 0.3s;
}
.deposit-method-card:nth-child(4) {
  animation-delay: 0.4s;
}
.deposit-method-card:nth-child(5) {
  animation-delay: 0.5s;
}
.deposit-method-card:nth-child(6) {
  animation-delay: 0.6s;
}

.withdrawal-method-card:nth-child(1) {
  animation-delay: 0.1s;
}
.withdrawal-method-card:nth-child(2) {
  animation-delay: 0.2s;
}
.withdrawal-method-card:nth-child(3) {
  animation-delay: 0.3s;
}
.withdrawal-method-card:nth-child(4) {
  animation-delay: 0.4s;
}
.withdrawal-method-card:nth-child(5) {
  animation-delay: 0.5s;
}
.withdrawal-method-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Button Enhancements */
.deposit-method-card .btn,
.withdrawal-method-card .btn {
  border-radius: 25px;
  padding: 10px 25px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.deposit-method-card .btn:hover,
.withdrawal-method-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Enhanced button styles for action buttons */
.btn-action {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-action::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn-action:hover::before {
  left: 100%;
}

/* Loading spinner animation */
.fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Improved deposit/withdrawal method cards */
.deposit-methods-section .card,
.withdrawal-methods-section .card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.deposit-methods-section .card:hover,
.withdrawal-methods-section .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Gradient backgrounds for method sections */
.deposit-methods-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.withdrawal-methods-section {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Call-to-action section improvements */
.cta-section {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.cta-section .btn {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-section .btn:hover {
  background-color: #0056b3;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* Loading button animations */
.btn-loading {
  position: relative;
  pointer-events: none;
}

.btn-loading .fa-spinner {
  margin-right: 8px;
}

/* Enhanced button hover effects for action buttons */
a[href*="pages_deposits.php"],
a[href*="pages_withdrawals.php"],
a[href*="pages_client_index.php"] {
  transition: all 0.3s ease;
}

a[href*="pages_deposits.php"]:hover,
a[href*="pages_withdrawals.php"]:hover,
a[href*="pages_client_index.php"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
