#accountCardsContainer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  max-width: 1440px;
  justify-content: center;
}

#accountCardsContainer p {
  margin: 0;
}

#card-bg {
  width: 16.25rem;
  height: fit-content;
  display: flex;
  border-radius: 36px;
  background: linear-gradient(180deg, #1EE981 0%, #0E92CA 71.61%);
  flex-direction: row;
  align-items: center;
  padding: 0.0625rem;
  justify-content: center;
  position: relative;
  flex-wrap: wrap;
}

.buttons {
  width: 56%;
  flex-wrap: nowrap !important;
}



.feature-card-account-types {
  background: #26292E;
  border: 1px solid rgba(0, 209, 255, 0.5);
  /* Border with a soft blue glow */
  border-radius: 35px;
  padding: 20px;
  text-align: left;
  width: 300px;
  /* Adjust width to match the card dimensions */
  height: auto;
  transition: border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  /* Soft shadow */
}

.feature-card-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
}

.feature-card-header::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background-color: #fff;
}

.feature-card-header img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  filter: drop-shadow(0px 0px 15px #487DF799);
}

.feature-card-header h2 {
  font-size: 20px;
  color: #FFFFFF;
  margin: 0;
}



.feature-card-header h3 {
  font-size: 12px !important;
  margin: 0;
  font-weight: 400 !important;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.feature-card-account-types:hover {
  border-color: #00d1ff;
  /* Highlight color on hover */
}

.feature-card-account-types h3 {
  font-size: 18px;
  font-weight: bold;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.card-account-contents {
  position: relative;
  margin-bottom: 25px;
}

.card-account-contents p {
  font-size: 12px !important;
  color: #fff;
  /* Light gray text */
  margin-bottom: 10px;
  font-weight: 400 !important;
  display: flex;
}

.card-account-contents p strong {
  width: 50%;
  color: #fff;
}

.card-account-contents::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background-color: #fff;
}






.feature-card-account-types a {
  margin: auto;
}



/* Section 1 */

.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;
}

.account-types-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  max-width: 40%;
}

@media (max-width: 750px) {
  .trade-section {
    flex-direction: column-reverse;
  }

  .account-types-content {
    max-width: 80%;
  }
}


.account-types-content h1 {
  text-align: left;
  margin: 0 !important;
  font-weight: bold;
  width: 85%;
  line-height: 1;
}

.account-types-content p {
  margin-top: 1rem;
  color: #b1b1b3;
  margin-bottom: 15px;
}




.info-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  max-width: 23dvw;
  height: 300px;
  min-width: 300px;
}



.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 img {
  max-width: 30dvw;
  min-width: 345px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: floats 3s ease-in-out infinite;
}

@keyframes floats {
  0% {

    transform: translate(-50%, -50%);
  }

  50% {

    transform: translate(-50%, -48%);
  }

  100% {

    transform: translate(-50%, -50%);
  }
}

.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;
}

@import "https://cdn.jsdelivr.net/npm/bulma@1.0.2/css/bulma.min.css";

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Reset some basic styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  /* Add WebKit prefix for scroll-behavior if needed */
  -webkit-scroll-behavior: smooth;
}

html {
  background-color: #171A20;
  scroll-behavior: smooth;
  -webkit-scroll-behavior: smooth;
  /* WebKit prefix */
  /* border: 2px solid red; */
  font-family: 'system-ui', sans-serif !important;
}

body {
  background-color: #171A20;
  /* Dark background */
  color: #FFFFFF;
  /* Light text */
  line-height: 1.6;
  overflow: hidden;
}

/* Base Header Styles */
.navbar {
  align-items: center;
  height: 75px;
  position: fixed;
  width: 100%;
}

.navbar a {
  font-size: larger;
}

.navbar-start {
  margin-left: 8%;

}

h1 {
  font-size: large !important;
}

h1,
h2,
h3,
p,
strong,
div {
  font-family: 'system-ui', sans-serif !important;
}

.navbar-item {
  padding: 0rem 0.75rem;
}

a.navbar-item-logo:hover {
  background-color: #30313a00;
  /* Darker background on hover */
}

.navbar-item-logo img {
  width: 160px;
  /* Adjust as needed */
  height: auto;
  /* Keeps aspect ratio */
  max-height: 80px;
  /* Ensures it doesn't exceed navbar height */
}

.is-active {
  /* background-color: #1f2229 !important; */
}

.navbar {
  background-color: #30313a91;
  /* display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px; */
  height: 75px;
  transition: .6s ease;
}

.navbar-brand {
  height: 100%;
  /* width: 20%; */
}

nav a {
  color: #FFFFFF !important;
  border-bottom-left-radius: 5px;
  border-top-right-radius: 5px;
  transition: .6s ease;
}

.navbar-start a.active {
  color: #00d1ff !important;
  border-bottom-left-radius: 5px;
  border-top-right-radius: 5px;
  transition: .6s ease;
}

.navbar-start a:hover {
  color: #00d1ff !important;
  border-bottom-left-radius: 25px;
  border-top-right-radius: 25px;
  transition: .2s ease;
  /* Blue-ish color for hover and active */
}


section {
  max-width: 1440px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-bottom: 50px;
}

section h1 {
  /* font-size: 5rem; */
  font-size: clamp(2rem, 4dvw, 5rem) !important;
  font-weight: bold;
  text-align: center;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.auth-buttons {
  display: flex;
  gap: 10px;
}

.auth-buttons .btn {
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  width: 100px;
  height: 40px;
  text-align: center;
}

.btn-grad {
  margin: 10px;
  padding: 15px 45px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  box-shadow: 0 0 20px #eee;
  border-radius: 10px;
  display: block;
  /* Add WebKit transition and transform if necessary */
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.btn-grad:hover {
  background-position: right center;
  /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}

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

.signup:hover,
.login:hover,
.is-success:hover {
  background-position: right center;
  /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}

.signup:active,
.login:active,
.is-success:active {
  transform: scale(0.95);
  -webkit-transform: scale(0.95);
  /* WebKit prefix */
  transition: 0.1s;
}

.signup {
  background-size: 200% auto;
  filter: drop-shadow(0px 0px 10px #487cf74b);
  -webkit-filter: drop-shadow(0px 0px 10px #487cf74b);
  /* WebKit prefix */
  color: #fff;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  /* WebKit prefix */
  background-image: linear-gradient(to right, #1FA2FF 0%, #12D8FA 51%, #1FA2FF 100%);
}

.login,
.is-success {
  background-size: 200% auto;
  color: #fff;
  filter: drop-shadow(0px 0px 10px #48f7884b);
  -webkit-filter: drop-shadow(0px 0px 10px #48f7884b);
  /* WebKit prefix */
  transition: 0.5s;
  -webkit-transition: 0.5s;
  /* WebKit prefix */
  background-image: linear-gradient(to right, #1FD176 0%, #12fa5b 51%, #1FD176 100%);
}

.wave-svg img {
  width: 100dvw;
  margin: 35px 0;
}

/* Hero Section */
.hero-forex {
  text-align: center;
  padding: 60px;
  align-items: center;
  max-width: 100dvw;
  width: 100%;
  height: 60dvh;
  display: flex;
  justify-content: center;
  background-image: url("../assets/forex/forex-banner.webp");
  background-size: cover;
  background-position: center;
}

.hero-faq {
  text-align: center;
  padding:60px;
  align-items: center;
  max-width: 100dvw;
  width: 100%;
  height: 48dvh;
  display: flex;
  justify-content: center;
  background-image: url("../assets/forex/forex-banner.webp");
  background-size: cover;
  background-position:center;
}

.hero-forex h1 {
  /* font-size: 5rem; */
  font-weight: bold;
  line-height: 1;
  /* margin: auto; */
  width: 100%;
  margin-bottom: 20px;
  text-align: center;
}

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

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

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

.cta-buttons .btn {
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.primary {
  background-color: #00d1ff;
  color: #FFFFFF;
}

.secondary {
  background-color: #00FF8C;
  color: #FFFFFF;
}

/* Features Section */
.features {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 40px;
  padding: 40px 20px;
  /* background-color: #171A20; */
  width: 80%;
  height: 520px;
  margin: auto;
  flex-direction: row;
  flex-wrap: wrap;

}

.section-3 .feature-card {

  background: #1f1f1f;
  /* border: 2px solid transparent; */
  border-radius: 25px;
  padding: 0px;
  text-align: center;
  width: 300px;
  height: 100%;
  -webkit-transition: border 0.3s ease;
  /* WebKit prefix */
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  position: relative;
  transition: .2s ease;
  transform: scale(1);
}



.section-3 .feature-card:hover {
  transform: scale(1.1);
  transition: .2s ease;
}


.section-3 .card-bg {
  width: 254px;
  height: 345px;
  display: flex;
  border-radius: 27px;
  background: linear-gradient(180deg, #1EE981 0%, #0E92CA 71.61%);
  flex-direction: column;
  align-items: center;
  padding: 2px;
  justify-content: center;
  position: relative;
  transition: .2s ease;
  /* height: 390px; */
  /* overflow: hidden; */
}

.section-3 .card-bg:hover {
  transform: scale(1.1);
  transition: .2s ease;
}



.section-3 .card-bg {
  width: 260px;
  display: flex;
  border-radius: 27px;
  background: linear-gradient(180deg, #1EE981 0%, #0E92CA 71.61%);
  flex-direction: column;
  align-items: center;
  padding: 2px;
  justify-content: center;
  position: relative;
  /* height: 250px; */
  /* overflow: hidden; */
}

.overlay-section {
  height: 100%;
  width: 100%;
  background: linear-gradient(0deg, hsl(0deg 0% 0% / 85%) 0%, hsl(0deg 0% 81.96% / 0%) 100%);
  /* border: 2px solid transparent; */
  border-radius: 25px;
  /* padding: 20px; */
  text-align: center;
  /* height: 100%; */
  transition: border 0.3s ease;
  -webkit-transition: border 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  padding-bottom: 20px;
  padding-right: 10px;
  padding-left: 10px;
}

.section-3 h2 {
  margin-top: 0;
}

.feature-card img {
  width: 63px;
  margin-bottom: 20px;
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  /* WebKit prefix */
  filter: drop-shadow(0px 0px 15px #0e92ca5f);
  -webkit-filter: drop-shadow(0px 0px 15px #0e92ca5f);
  /* WebKit prefix */
}

.feature-card:hover {
  border-color: #00d1ff !important;
  /* Highlight color on hover */
}

.feature-card h3 {
  font-size: 18px;
  font-weight: bold;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: #ffffff;
  /* Light gray text */
  margin-bottom: 20px;
}

.feature-card .btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  background-color: #3AB8DB;
  color: #FFFFFF;
  transition: background-color 0.3s ease;
  -webkit-transition: background-color 0.3s ease;
  /* WebKit prefix */
}

.feature-card .btn:hover {
  background-color: #00FF8C;
  /* Green on hover */
}

.hero-image-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 40px 20px;
  background: linear-gradient(117.19deg, #3ab8db61 30.38%, #1ee98196 51.95%);
  border-radius: 30px;
  height: 425px;
  margin: 10px;
  flex-direction: row;
  flex-wrap: wrap;
  max-width: 80%;
}

.hero-image-text-content {
  flex: 1;
}

.hero-image-text-content h1 {
  font-size: clamp(1rem, 5vw, 5rem) !important;
}

.hero-image-inner {
  flex: 1;
  position: relative;
  transform: translateY(-25px);
  -webkit-transform: translateY(-25px);
  /* WebKit prefix */
}

.pie-img {
  width: 100%;
  max-width: 530px;
  transform: translate(18%, 0%) scale(1.3);
  -webkit-transform: translate(18%, 0%) scale(1.3);
  /* WebKit prefix */
  animation: float 3s ease-in-out infinite;
  -webkit-animation: float 3s ease-in-out infinite;
  /* WebKit prefix */
  min-width: 400px;
}

/* Responsive layout for smaller screens */
@media (max-width: 915px) {
  .hero-image-text-content {
    width: 100% !important;
  }

  .hero-image-container {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    height: auto;
    padding-top: 0;
  }

  .hero-image-inner {
    /* margin-top: 20px;
    transform: none; */
    transform: translateY(-25px) !important;
    -webkit-transform: translateY(-25px) !important;
    /* WebKit prefix */
  }

  .pie-img {
    transform: none;
    -webkit-transform: none;
    /* WebKit prefix */
    max-width: 80%;
    width: auto;
  }
}

@keyframes float {
  0% {
    transform: translate(18%, 0%);
    -webkit-transform: translate(18%, 0%);
    /* WebKit prefix */
  }

  50% {
    transform: translate(18%, -5px);
    -webkit-transform: translate(18%, -5px);
    /* WebKit prefix */
  }

  100% {
    transform: translate(18%, 0%);
    -webkit-transform: translate(18%, 0%);
    /* WebKit prefix */
  }
}

.hero-image-text-content {
  width: 50%;
}

@media (max-width: 650px) {
  .hero-image-text-content h1 {
    font-size: 2rem !important;
  }
}

h1 {
  color: #FFFFFF !important;
}

.hero-image-text-content p {
  margin-bottom: 20px;
}

.section-7 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 40px 20px;
  /* background-color: #171A20; */
  /* Dark background */
}

section h2 {
  font-size: 1.8125rem;
  font-weight: bold;
  line-height: 1.3;
  margin: auto;
  margin-bottom: 10px;
  margin-top: 10px;
}

/* FAQ Section */
.faq-inner {
  width: 100%;
  margin: auto;
  position: relative;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 50px;
}

.faq-inner-accordion {}

.faq-inner h1,
.faq-inner-accordion h1 {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  position: absolute;
  left: 0;
  top: -100px;
}

.faq-container {
  display: flex;
  max-width: 1000px;
  width: 100%;
  position: relative;
}

.faq-list {
  background-color: #262626;
  /* padding: 20px; */
  width: 75%;
  padding-left: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
  /* border-radius: 8px; */
  position: relative;
  z-index: 2;
}

.faq-list h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.faq-item {
  padding: 15px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  /* margin-bottom: 10px; */
  /* border-radius: 8px; */
  transition: background 0.3s ease;
  -webkit-transition: background 0.3s ease;
  /* WebKit prefix */
  justify-content: space-between;
}

.faq-item:hover,
.faq-item.active {
  background-color: #30313A;
}

.item-list-dot {
  width: 15px !important;
}

.circle {
  margin-right: 10px;
}

.faq-item:hover:hover .circle-dot {
  fill: #00c853;
}

.faq-text {
  flex-grow: 1;
  color: #a5a5a5;
}

.faq-item:hover .faq-text,
.faq-item.active .faq-text {
  color: #fff;
}

.arrow {
  color: #3AB8DB;
  transition: color 0.3s ease;
  -webkit-transition: color 0.3s ease;
  /* WebKit prefix */
  margin-left: 10px;
  font-size: x-large;
}

.arrow-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.list-text {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.faq-item:hover .arrow,
.faq-item.active .arrow {
  color: #00c853;
}

.faq-answer {
  background-color: #30313A;
  padding: 20px;
  width: 60%;
  border-radius: 8px;
  margin-left: 20px;
  position: relative;
  z-index: 1;
}

.faq-answer::before {
  content: "";
  position: absolute;
  width: 140%;
  height: 125%;
  top: -45px;
  left: -120px;
  background-color: #30313A;
  z-index: -1;
  border-radius: 15px;
}

.answer-content {
  display: none;
  color: #fff;
  font-size: 16px;
}

.answer-content.active {
  display: block;
}

/* ACCORDION SECTION */
.faq-accordion {
  width: 80%;
}

.ui-state-active {
  border: 1px solid #1fd176 !important;
}

@media (max-width: 1040px) {
  .faq-container {
    display: none;
  }

  .faq-accordion {
    display: block;
  }
}

@media (min-width: 1041px) {
  .faq-container {
    display: flex;
  }

  .faq-accordion {
    display: none;
  }
}

/* Accordion Header Styling */
.ui-accordion .ui-accordion-header {
  background-color: #262626;
  color: #a5a5a5;
  padding: 15px;
  margin: 5px 0 0 0 !important;
  cursor: pointer;
  font-size: 1.2em;
  /* Increase header font size */
}

.ui-accordion .ui-accordion-header-active,
.ui-accordion .ui-accordion-header:hover {
  background-color: #30313A;
  color: #fff;
}

/* Accordion Content Styling */
.ui-accordion .ui-accordion-content {
  background-color: #30313A;
  color: #fff;
  padding: 20px;
  border: none;
  font-size: 1.1em;
  /* Increase content font size */
  line-height: 1.6;
  /* Adjust line height for better readability */
}

.social-icons {
  width: 25%;
}

.show-btt {
  display: block !important;
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  z-index: 1000;
  display: none;
  right: 70px;
  cursor: pointer;
  transition: transform 0.3s ease;
  -webkit-transition: transform 0.3s ease;
  /* WebKit prefix */
}

.back-to-top:hover {
  transform: translateY(-5px);
  -webkit-transform: translateY(-5px);
  /* WebKit prefix */
  transition: transform 0.3s ease;
  -webkit-transition: transform 0.3s ease;
  /* WebKit prefix */
}

.svg-logo {
  /* filter: drop-shadow(0px 0px 15px #48f7884b) !important; */
}


.footer {
  background-color: #171a20;
}

.footer a {
  color: #d2d2d2;
}

.footer a:hover {
  color: #3ab8db;
}

.disclaimer {
  font-size: small;
  font-weight: 100;
}

.footer-section-title,
.footer-section-title {
  font-weight: 500;
}


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

.fourgound-loader {
  width: 100dvw;
  height: 100dvh;
  position: fixed;
  display: none;
  left: 0;
  top: 0;
  z-index: 99999;
  background-color: #171A20;
  /* -webkit-animation: fade-out 1s ease-out both;
  animation: fade-out 1s ease-out both; */
}

.tradingview-widget-container {
  -webkit-animation: swing-in-top-fwd 2s cubic-bezier(0.175, 0.885, 0.320, 1.275) both;
  animation: swing-in-top-fwd 2s cubic-bezier(0.175, 0.885, 0.320, 1.275) both;
}


/* ----------------------------------------------
 * Generated by Animista on 2025-1-23 10:34:41
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation swing-in-top-fwd
 * ----------------------------------------
 */
@-webkit-keyframes swing-in-top-fwd {
  0% {
    -webkit-transform: rotateX(-100deg);
    transform: rotateX(-100deg);
    -webkit-transform-origin: top;
    transform-origin: top;
    opacity: 0;
  }

  100% {
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
    -webkit-transform-origin: top;
    transform-origin: top;
    opacity: 1;
  }
}

@keyframes swing-in-top-fwd {
  0% {
    -webkit-transform: rotateX(-100deg);
    transform: rotateX(-100deg);
    -webkit-transform-origin: top;
    transform-origin: top;
    opacity: 0;
  }

  100% {
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
    -webkit-transform-origin: top;
    transform-origin: top;
    opacity: 1;
  }
}

#forexSection {
  text-align: center;
  padding-top: 50px;
  max-width: 960px;
  width: 60%;
}

@media (max-width: 750px) {
  #forexSection {
    padding-top: 20px;
    width: 85%;
  }

  .buttons {
    width: 100%;
  }
}


.forexSection__title {
  font-size: 2.5em;
  color: #ffffff;
  margin-bottom: 10px;
}

.forexSection__description {
  font-size: 1em;
  color: #ffffff;
  margin-bottom: 30px;
}

.partnerLogoGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  /* Responsive grid */
  gap: 15px;
  margin-bottom: 30px;
}

.partnerLogoItem {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.19);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.partnerLogoItem__image {
  max-width: 100%;
  height: auto;
  display: block;
  /* To prevent extra space below image */
  /* filter: grayscale(100%); Apply grayscale filter */
}

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

.forex-section {
  background-color: #f4f4f4;
  border-radius: 8px;
  padding: 20px;
  width: 300px;
  text-align: left;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 20px;
}

.forex-section h2 {
  color: #333;
  margin-bottom: 10px;
  text-align: center;
}

.forex-section p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 10px;
}

.forex-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 15px;
}

.benefit-card {
  background-color: white;
  border-radius: 8px;
  padding: 15px;
  width: 130px;
  text-align: center;
  margin-bottom: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.benefit-card img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 10px;
}

.benefit-card h3 {
  color: #333;
  font-size: 16px;
  margin-bottom: 5px;
}

.benefit-card p {
  color: #666;
  font-size: 14px;
}

.forex-actions {
  text-align: center;
  margin-top: 15px;
}

.action-button {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  margin: 5px;
  transition: background-color 0.3s ease;
}

.action-button:hover {
  background-color: #0056b3;
}

.forex-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;
  margin-bottom: 20px;
  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;
  }

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

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

  .forex-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 */
  }

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

.forex-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 */
}

.forex-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 */
}

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

.forex-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;
}

.forex-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;
}

.forex-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;
}

.forex-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 */
}

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

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