:root {
    --primary-blue: #38B6FF;
    --accent-green: #00f735;
    --dark-bg: #1a1a1a;
}

body {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    min-height: 100vh;
}

.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #38B6FF, #6c5ce7);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.tool-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
    border-color: var(--primary-blue);
}

.tool-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(56, 182, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card:hover::after {
    opacity: 1;
}

.tool-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-blue), #6c5ce7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.tool-card:hover .tool-icon {
    transform: scale(1.2);
}

.tool-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tool-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: 0.5s;
}

.tool-btn:hover::before {
    left: 100%;
}

.dynamic-stats {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.dynamic-stats.active {
    opacity: 1;
    transform: translateY(0);
}

.progress-ring circle {
    transition: stroke-dashoffset 0.35s;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}
.badge-sm {
    font-size: 0.65em;
    padding: 0.35em 0.65em;
    transform: translate(-10%, -50%); /* Adjusted positioning */
    white-space: nowrap;
}
.tool-card::after {
    /* ... existing styles ... */
    pointer-events: none; /* Add this line */
}

.tool-btn {
border: none;
padding: 10px 10px;
border-radius: 10px;
font-weight: 600;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
background: linear-gradient(135deg, #ff0000, #ff0000);
position: relative;
transform: translateY(0);
border: 1px solid rgba(255, 255, 255, 0.1);
}

.tool-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(56, 182, 255, 0.3);
}

.tool-btn:active {
transform: translateY(1px);
}

.btn-hover-effect {
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
);
transition: 0.6s;
pointer-events: none;
}

.tool-btn:hover .btn-hover-effect {
left: 100%;
}

.tool-btn i {
transition: transform 0.3s ease;
}

.tool-btn:hover i {
transform: scale(1.1);
}

.tool-btn:focus {
box-shadow: 0 0 0 3px rgba(56, 182, 255, 0.4);
}
        @media (max-width: 768px) {
    .hero-section {
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    }
}




.tool-card .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tool-card .flex-grow-1 {
    flex: 1 0 auto;
}

.tool-card .mt-auto {
    margin-top: auto;
    padding-top: 1rem;
}


.btn-custom-primary {
    border: none;
    padding: 10px 10px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Change to solid purple or purple gradient */
    background: linear-gradient(135deg, #6a0dad, #9b30ff); /* Purple gradient */
    position: relative;
    transform: translateY(0);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e9ecef;
}

/* Adjust hover color */
.btn-custom-primary:hover {
    background-color: #9b30ff !important; /* Solid purple for hover */
    border-color: #9b30ff !important; /* Hover border color */
    color: #e9ecef;
}

/* Optional: Active state */
.btn-custom-primary:active {
    background-color: #9b30ff !important; /* Darker purple when active */
    border-color: #9b30ff !important; /* Active border */
    color: #e9ecef;
}