body {
    font-family: 'Inter', sans-serif;
    background: #f8f9fa;
    color: #333;
}

/* Glassmorphism Card Effect */
.tool-card {
    background: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Fixed Back Button for Mobile */
#activeTool {
    animation: fadeIn 0.5s;
}

.back-btn {
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 600;
}

/* Responsive Grid Adjustments */
@media (max-width: 768px) {
    .display-4 { font-size: 2.5rem; }
    .btn-lg { width: 100%; margin-bottom: 10px; }
    .col-md-6 { padding: 10px; }
    .border-start { border-left: none !important; border-top: 1px solid #dee2e6; margin-top: 20px; padding-top: 20px; }
}

/* Custom File Input Styling */
input[type="file"] {
    padding: 10px;
    background: #fff;
    border-radius: 10px;
}

/* Nice Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }

 :root {
        --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        --success-gradient: linear-gradient(135deg, #2af598 0%, #009efd 100%);
        --danger-gradient: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
        --info-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        --warning-gradient: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
        --dark-gradient: linear-gradient(135deg, #434343 0%, #000000 100%);
      }

      body {
        background-color: #f0f2f5;
        font-family: "Inter", sans-serif;
        overflow-x: hidden;
      }

      /* Dashboard Styling */
      .dashboard-header {
        background: white;
        padding: 30px 0;
        margin-bottom: 40px;
        border-radius: 0 0 30px 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
      }
      .dashboard-title {
        font-weight: 800;
        background: var(--primary-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        letter-spacing: -1px;
      }

      .tool-card {
        border: none;
        border-radius: 20px;
        background: #ffffff;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        cursor: pointer;
      }
      .tool-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
      }

      .icon-box {
        width: 70px;
        height: 70px;
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        font-size: 1.8rem;
        color: white;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
      }

      .bg-cash {
        background: var(--success-gradient);
      }
      .bg-pdf {
        background: var(--danger-gradient);
      }
      .bg-compress {
        background: var(--info-gradient);
      }
      .bg-qr {
        background: var(--dark-gradient);
      }
      .bg-voice {
        background: var(--warning-gradient);
      }
      .bg-imgpdf {
        background: var(--primary-gradient);
      }

      @keyframes fadeInUp {
        from {
          opacity: 0;
          transform: translateY(30px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      .animate-card {
        animation: fadeInUp 0.6s ease backwards;
      }

      /* Back Button Styling */
      .back-btn {
        border-radius: 50px;
        font-weight: 600;
        transition: all 0.3s ease;
      }
      .back-btn:hover {
        background: #eee;
        transform: translateX(-5px);
      }