.cg-service-section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 50px 20px;
  max-width: 1200px;
  margin: auto;
  /*background-color: #f9f9f9;*/
}

.cg-service-card {
  background: #f4f8ff;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 25px;
  width: 300px;
  transition: all 0.3s ease-in-out;
  text-align: center;
}

.cg-service-card h3 {
  color: #0b2039;
  margin-top: 15px;
  font-size: 20px;
}

.cg-service-card p {
  color: #333;
  font-size: 14px;
  margin-top: 10px;
}

.cg-service-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.cg-active {
  border: 2px solid #01c18b;
  background: #ffffff;
}

/* Hover effect (optional) */
.cg-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

/* Responsive design */
@media (max-width: 768px) {
  .cg-service-card {
    width: 100%;
  }
}
.cg-service-card {
  background: #f4f8ff;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 25px;
  width: 300px;
  transition: all 0.3s ease-in-out;
  text-align: center;
  border: 2px solid transparent; /* No visible border initially */
}

.cg-service-card:hover {
  border: 3px solid skyblue; /* Green border on hover */
  background: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}


/*card style*/
.cgx-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 60px 40px;
  gap: 30px;
  /*background-color: #ffffff;*/
  max-width: 1300px;
  margin: auto;
}

.cgx-left {
  flex: 1 1 400px;
}

.cgx-left h2 {
  font-size: 32px;
  font-weight: bold;
  color: #111;
  line-height: 1.4;
}

.cgx-left p {
  font-size: 16px;
  color: #555;
  margin: 20px 0;
}

.cgx-btn {
  display: inline-block;
  padding: 12px 20px;
  background-color: #0052ff;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.cgx-btn:hover {
  background-color: #003bcc;
}

.cgx-right {
  flex: 1 1 600px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.cgx-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
  transition: 0.3s ease;
}

.cgx-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/*.cgx-icon {*/
/*  font-size: 35px;*/
/*  color:#4682B4;*/
  /*background:yellow;*/
  
/*  margin-bottom: 10px;*/
/*}*/

.cgx-card h4 {
  margin: 5px 0;
  font-size: 16px;
  color: #222;
}

.cgx-card p {
  font-size: 15px;
  color: #333;
}

.cgx-card span {
  display: inline-block;
  margin-top: 8px;
  font-weight: bold;
  font-size: 14px;
}

.cgx-up {
  color: green;
}

.cgx-down {
  color: red;
}

.cgx-neutral {
  color: gray;
}

/* Responsive */
@media (max-width: 768px) {
  .cgx-section {
    flex-direction: column;
    padding: 40px 20px;
  }

  .cgx-left, .cgx-right {
    flex: 1 1 100%;
  }

  .cgx-right {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media (max-width: 768px) {
  .cgx-section {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
  }

  .cgx-left {
    margin-bottom: 30px;
    text-align: center;
  }

  .cgx-right {
    display: flex;
    flex-wrap: wrap;            
    justify-content: center;     
    gap: 16px;
  }

  .cgx-card {
    flex: 0 0 calc(50% - 16px); 
    max-width: 180px;            
  }
}




/*animation*/
.gmx-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 5%;
  background: #0a0f1c;
  flex-wrap: wrap;
  color: #fff;
}

.gmx-left {
  flex: 1 1 50%;
  position: relative;
  min-height: 400px;
}

.gmx-bg {
  position: relative;
  width: 100%;
  height: 100%;
}

.gmx-map {
  width: 100%;
  max-width: 500px;
  display: block;
  margin: 0 auto;
}

.gmx-icon {
  position: absolute;
  width: 90px;
  height: 90px;
  animation: float 4s ease-in-out infinite;
}
.btc-icon {
  height: 140px;     
  width: auto;       
    
}



.gmx-btc { top: 65%; left: 20%; animation-delay: 0s; }
.gmx-cde { top: 11%; left: 15%; animation-delay: 1s; }
.gmx-eth { top: 40%; left: 36%; animation-delay: 2s; }
.gmx-ltc { top: 50%; left: 70%; animation-delay: 3s; }
.gmx-ada { top: 10%; left: 65%; animation-delay: 4s; }


/* Add keyframes for animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.gmx-right {
  flex: 1 1 45%;
  padding: 20px;
}

.gmx-right h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
}

.gmx-right p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .gmx-section {
    flex-direction: column;
    text-align: center;
  }

  .gmx-left,
  .gmx-right {
    flex: 1 1 100%;
  }

  .gmx-map {
    max-width: 300px;
  }

  .gmx-icon {
    width: 40px;
    height: 40px;
  }
}






















