
.services{
    margin:15px 0px;
}
        
.form-section {
    display: none;
    }
.form-section.active {
display: block;
}
.btn-toggle {
width: 100%;
}
#copySuccess {
    display: none;
    color: green;
    margin-top: 10px;
    }
/* text scroll */
.scroll-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background: none; /* Optional background */
    padding: 10px 0;
}

.scroll-text {
    display: inline-block;
    padding-left: 100%; /* Start off-screen */
    animation: scroll 30s linear infinite; /* Adjust time for speed */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Services card */
/* Premium Styling */
.wallet-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wallet-media {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
}

.wallet-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20%;
}

.wallet-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
    z-index: 2;
}

.wallet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(41, 98, 255, 0.1) 0%, rgba(101, 42, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wallet-info {
    padding: 12px;
    text-align: center;
    background: white;
}

.wallet-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wallet-badge {
    display: inline-block;
    padding: 4px 8px;
    background: linear-gradient(135deg, #6b46c1 0%, #805ad5 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 20px;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
}

/* Premium Hover Effects */
.premium-hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
}

.wallet-link:hover .wallet-image {
    transform: scale(1.05);
}

.wallet-link:hover .wallet-overlay {
    opacity: 1;
}

.wallet-link:hover .wallet-badge {
    opacity: 1;
    transform: translateY(0);
}

.premium-image-glow:hover {
    filter: drop-shadow(0 4px 12px rgba(101, 42, 255, 0.2));
}

/* Home Item */

/* Section Styling */
.service-showcase {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f9f9ff 0%, #f0f4ff 100%);
}

.section-header .text-gradient {
    background: linear-gradient(90deg, #3a7bd5 0%, #00d2ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3a7bd5 0%, #00d2ff 100%);
}

/* Service Card */
.service-card-wrapper {
    perspective: 1000px;
    height: 100%;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.service-card {
    position: relative;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    transform-style: preserve-3d;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 46, 109, 0.1);
}

/* Image Container */
.service-image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 0.9;
}

.service-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3a7bd5;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(15deg);
    background: #3a7bd5;
    color: white;
}

/* Content Styling */
.service-content {
    padding: 25px;
    position: relative;
    z-index: 1;
}

.service-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #2c3e50;
}

.service-excerpt {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    color: #3a7bd5;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.service-cta svg {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-cta {
    color: #00d2ff;
}

.service-card:hover .service-cta svg {
    transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .service-image-container {
        height: 180px;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    .service-image-container {
        height: 150px;
    }
    
    .service-title {
        font-size: 1rem;
    }
    
    .service-excerpt {
        display: none; /* Hide excerpt on smallest devices */
    }
}

/* wallet page */
.modal {
    --modal-padding: 1rem;
  }
  
  .modal-dialog {
    max-width: 500px;
    margin: 1rem auto;
  }
  
  .modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
  }
  
  .modal-content {
    border-radius: 0.5rem;
    overflow: hidden;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  }
  
  .modal-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
  }
  
  .modal-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
  }
  
  .modal-body {
    padding: 1rem;
  }
  
  /* Wallet Image in Header */
  .modal-header img {
    height: 30px;
    width: auto;
    object-fit: contain;
  }
  
  /* Form Elements */
  .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    display: block;
  }
  
  .form-control {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
    width: 100%;
  }
  
  .form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  }
  
  /* Alert Box */
  .alert-warning {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 0.25rem;
    background-color: #fff3cd;
    border-color: #ffeeba;
    color: #856404;
  }
  
  /* Amount Buttons */
  .btn-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  
  .amount-btn {
    padding: 0.35rem 0.5rem;
    font-size: 0.8rem;
    white-space: nowrap;
    border: 1px solid #dee2e6;
    background-color: #f8f9fa;
  }
  
  .amount-btn:hover {
    background-color: #e9ecef;
  }
  
  /* Copy Button Area */
  .copy-area {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  
  .copy-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
  }
  
  .copy-btn:hover {
    background-color: #e9ecef;
  }
  
  /* Submit Button */
  .btn-primary {
    padding: 0.5rem;
    font-weight: 500;
    background-color: #0d6efd;
    border-color: #0d6efd;
  }
  
  .btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
  }
  
  /* Error Messages */
  .text-danger {
    font-size: 0.8rem;
    color: #dc3545;
  }
  
  .invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: #dc3545;
  }
  
  .is-invalid ~ .invalid-feedback {
    display: block;
  }
  
  /* Wallet Card Styles */
  .wallet-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .wallet-image-container {
    padding: 10px;
    text-align: center;
    background-color: white;
  }
  
  .wallet-image {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
  }
  
  .wallet-info {
    padding: 8px;
    text-align: center;
    background: rgba(0, 0, 0, 0.03);
  }
  
  .wallet-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
  }
  
  .wallet-badge {
    font-size: 0.7rem;
    background: #28a745;
    color: white;
    padding: 2px 5px;
    border-radius: 4px;
    display: inline-block;
  }
  
  .premium-hover-effect:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .premium-hover-effect:hover .wallet-image {
    transform: scale(1.05);
  }
  
  .form-section {
    border-radius: 8px;
    background: white;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  }
  
  /* Animation for Copy Feedback */
  @keyframes fadeInOut {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
  }
  
  .copy-feedback {
    animation: fadeInOut 2s ease-in-out;
    font-size: 0.8rem;
    color: #28a745;
    margin-left: 0.5rem;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 575.98px) {
    .modal-dialog {
      margin: 0.5rem;
    }
    
    .modal-header {
      padding: 0.5rem;
    }
    
    .modal-title {
      font-size: 1rem;
    }
    
    .modal-header img {
      height: 25px;
    }
    
    .modal-body {
      padding: 0.75rem;
    }
    
    .btn-group {
      grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    }
    
    .amount-btn {
      padding: 0.25rem;
      font-size: 0.75rem;
    }
    
    .wallet-card {
      margin-bottom: 10px;
    }
    
    .wallet-image {
      max-height: 40px;
    }
    
    .wallet-title {
      font-size: 0.75rem;
    }
  }
  
  @media (min-width: 576px) and (max-width: 767.98px) {
    .modal-dialog {
      max-width: 450px;
    }
    
    .wallet-image {
      max-height: 45px;
    }
  }
  
  @media (min-width: 768px) {
    .modal-content {
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .modal-header {
      padding: 1rem;
    }
    
    .modal-title {
      font-size: 1.2rem;
    }
    
    .modal-header img {
      height: 35px;
    }
    
    .wallet-image {
      max-height: 50px;
    }
  }
  
  @media (min-width: 992px) {
    .wallet-image {
      max-height: 55px;
    }
  }
  .form-control {
    color: #0d6efd !important; /* Bootstrap primary blue */
}
  /* Backend */
  