.tradingview-widget-container {
  display: flex;
  z-index: 2;
  position: absolute;
  left: 0;
  top: 60dvh;
  flex-direction: column;
}

/* button var colors */
:root {
  --primary-button-color: #1FD176;
  /* Green */
  --secondary-button-color: #3AB8DB;
  /* Blue */
}
/* Hero Section */
.heroAbout {
  text-align: center;
  padding: 60px;
  align-items: center;
  max-width: 100dvw;
  width: 100%;
  height: 60dvh;
  display: flex;
  justify-content: center;
  background-image: url("../assets/about-page/trade-securely.webp");
  background-size: cover;
  background-position: center;
}

.heroAbout h1 {
font-size: clamp(2rem, 4dvw, 5rem) !important;
  font-weight: bold;
  line-height: 1;
  /* margin: auto; */
  width: 100%;
  margin-bottom: 20px;
  text-align: center;
}

.heroAbout {
  /* border: 2px solid; */
  /* border-image-source: linear-gradient(180deg, #1EE981 0%, #0E92CA 71.61%); */
  border-image-slice: 1;
}

.heroAbout p {
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 30px;
  color: #fff;
  /* Light gray for text */
}

@media screen and (max-width: 768px) {
  .heroAbout {
  padding-top: 80px !important;
  padding-right: 25px;
  padding-left: 25px;
  }
  
}

.trade-section {
  background-color: #171A20;
  color: #ffffff;
  /* padding: 4rem 1.5rem; */
  padding: 3.75rem 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1440px;
  flex-direction: row;
  gap: 20px;
  height: 80dvh;
}

.trade-section .content {
  max-width: 765px;
}

.trade-section h1 {
  font-size: clamp(3dvw, 79px, 6dvw) !important;
  font-weight: bold;
  text-align: left;
}

.trade-section p {
  margin-top: 1rem;
  color: #b1b1b3;
}

.trade-section .buttons {
  margin-top: 1.5rem;
}

.trade-section .button {
  border-radius: 5px;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
}

button {
  width: 100%;
  max-width: 150px;
    margin: 0;
}

/* Ensure the section takes full width and has some padding */
.trade-section {
  width: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Main container to hold content and image side by side */
.trade-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 1200px; /* Optional: limit the maximum width */
  width: 100%;
}

/* Content styling */
.content {
  flex: 1;
  padding: 20px;
}

.content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  width: max-content;
}

.content p {
  font-size: 1rem;
  margin-bottom: 30px;
  color:#fff;
}

.cta-buttons .button {
  margin-right: 10px;
}

.cta-buttons {
  display: flex;
  justify-content: start;
  gap: 15px;
}

/* ====== Security badge (image) styling */
.security-badge {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding: 20px; */
}

.security-badge img {
  width: auto;
  max-width: 615px;
  min-width: 500px;
  height: auto;
  object-fit: contain;
  animation: floats 3s ease-in-out infinite;
}

@keyframes floats {
  0% {
  
      transform: translate(0%, 0%);
  }
  50% {
      
      transform: translate(0%, -2%);
  }
  100% {
  
      transform:translate(0%, 0%);
  }
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .security-badge img {
    max-width: 700px;
    min-width: 400px;
  }
}

@media (max-width: 992px) {
  .trade-container {
    flex-direction: column;
    text-align: center;
  }

  .security-badge img {
    max-width: 600px;
    min-width: 300px;
    margin-top: 20px;
  }

  .content h1 {
    font-size: 2rem;
  }

  .content p {
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .security-badge img {
    max-width: 500px;
    min-width: 250px;
  }

  .content h1 {
    font-size: 1.5rem;
  }

  .content p {
    font-size: 0.8rem;
  }
}

/* ====== Security badge (image) styling */

.button.is-learn-more {
  background-color: var(--primary-button-color) !important;
  color: #ffffff;
}

.button.is-sign-up {
  background-color: var(--secondary-button-color) !important;
  color: #ffffff;
}

.info-badge {
  /*   background-color: #3c3c3f;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  color: #ffffff;
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); */

}

.info-badge i {
  margin-right: 0.5rem;
}



.info-badges .badge1 {
  top: -2rem;
  left: 2rem;
}

.info-badges .badge2 {
  top: 2rem;
  left: 4rem;
}

.info-badges .badge3 {
  top: 5rem;
  left: 1rem;
}

.shield-icon {
  position: relative;
  width: 150px;
  height: 150px;
  background: url('https://via.placeholder.com/150') no-repeat center center;
  background-size: contain;
}


.feature-section {
  color: #ffffff;
  padding: 3rem 1.5rem;
  text-align: center;
}

/* Feature badge container */
.feature-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-direction: row;
  flex-wrap: wrap;

}

.feature-badge:hover {
  transform: scale(1.05);
}


/* Each badge styling */
.feature-badge {
  transition: all 0.3s ease;
  padding: 10px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  min-width: 325px;
  border: 1px solid #D9D9D94D;
  backdrop-filter: blur(20px);
  background-color: rgba(10, 221, 255, 0.2);
  /* height: 80px; */
}

/* Icon inside badge */
.feature-badge img {
  border-radius: 50%;
  padding: 0.5rem;
  color: #ffffff;
  margin-right: 1rem;
  width: 70px
}

/* Text in each badge */
.feature-badge-text {
  font-size: 1.4rem;
  font-weight: 300;
  width: 50%;
  color: #ffffff;
  text-align: left;
}

/* Paragraph styling */
.feature-description {
  color: #ffffff;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Button styling */
.buttons .button {
  border-radius: 5px;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
}

.button.is-learn-more {
  background-color: var(--primary-button-color) !important;
  color: #ffffff;
}

.button.is-sign-up {
  background-color: var(--secondary-button-color) !important;
  color: #ffffff;
}

.about-container {
  display: flex;
  flex-direction: row; /* Arrange cards in rows */
  flex-wrap: wrap; /* Allow cards to wrap to the next line */
  gap: 20px; /* Spacing between cards */
  max-width: 1200px;
  margin: 0 auto;
  justify-content: flex-start; /* Align cards to the start of the row */
}

@media (max-width: 768px) {

  .feature-badge{

    width: 100%;
  }

  .feature-badges{

    margin-top: 20px;
  }

  .about-container {
    flex-direction: column; /* Arrange cards in a single column for mobile */
    align-items: center; /* Center cards horizontally */
  }

  .about-card {
    width: auto !important; /* Full width for mobile */
    margin-bottom: 20px; /* Space between cards */
  }

  .about-card-image {
    width: 100%; /* Full width for mobile */
    max-width: none; /* Remove max-width constraint */
    margin-right: 0; /* Remove right margin */
    margin-bottom: 10px; /* Add bottom margin */
  }

  .about-card-content {
    width: 100%; /* Full width for mobile */
    padding: 15px; /* Adjust padding */
  }
}

.about-card {
  background-color: rgba(10, 221, 255, 0.2);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  width: calc(50% - 10px); /* **Set card width to ~50% for 2-column layout (minus gap)** */
  box-sizing: border-box; /* Include padding and border in element's total width and height */
}

.about-card-image {
  width: 30%; /* Adjusted image width for better balance in smaller cards */
  height: auto;
  overflow: hidden;
  max-width: 300px; /* Increased max-width for larger images */
  margin-right: 20px; /* Adjusted margin to fit smaller cards */
}

.about-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-card-content {
  padding: 15px; /* Adjusted padding for smaller cards */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 50%; /* Adjusted content width to 50% */
  text-align: left;
}

.about-card-title {
  font-size: 1.4em; /* Slightly smaller title for smaller cards */
  margin-bottom: 8px; /* Adjusted margin for smaller cards */
  color: #fff;
  text-align: left;
  line-height: 1.2;
}

.about-card-text {
  font-size: 0.9em; /* Slightly smaller text for smaller cards */
  color: #eee;
  line-height: 1.3; /* Adjusted line height for smaller text */
  margin-bottom: 15px; /* Adjusted margin for smaller cards */
  text-align: left;
}

.about-card-button {
  background-color: rgba(34, 139, 230, 0.7);
  color: #fff;
  border: none;
  padding: 8px 16px; /* Adjusted padding for smaller buttons */
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9em; /* Slightly smaller button text */
  transition: background-color 0.3s;
  text-decoration: none;
  display: inline-block;
  margin-top: 8px; /* Adjusted margin for smaller cards */
}

.about-card-button:hover {
  background-color: rgba(41, 128, 185, 0.8);
}

/* Adjust padding for content in all cards for smaller cards */
.about-container .about-card .about-card-content {
  padding-left: 15px; /* Adjusted left padding for smaller cards */
  padding-right: 0;
}

.section h2 {
  font-size: 28px !important;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 10px;
  text-align: left;
}


.about-p{
  font-size: 16px;
  color: #b1b1b3;
  line-height: 1.6;
  margin-bottom: 20px;
}
