/* Custom scrollbar */
/* Style only the header section */
.bg-indigo-600 {
    background-color: #5548ff !important;
    color: #ffffff;
}

/* Ensure text inside stays white */
.bg-indigo-600 h1,
.bg-indigo-600 p,
.bg-indigo-600 span {
    color: #ffffff;
}
/* Main container styling */
main.container .bg-white {
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden; /* ensures header radius looks clean */
}

/* Header styling */
.bg-indigo-600 {
    background-color: #5548ff !important;
    color: #ffffff;
    text-align: center;
    padding: 2rem 1rem;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* Text inside the header */
.bg-indigo-600 h1,
.bg-indigo-600 p,
.bg-indigo-600 span {
    color: #ffffff;
}
/* Add padding inside the section */
main.container .bg-white {
    padding: 1rem 1rem 1rem 1.5rem; /* extra space on the left */
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #6366f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4f46e5;
}
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #6366f1;
    border-radius: 10px; /* more rounded by default */
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #4f46e5;
    border-radius: 50px; /* fully circular on hover */
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Section animation */
section {
    transition: all 0.3s ease;
}

section:hover {
    transform: translateX(5px);
}

/* Number highlight animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

section h2 span {
    transition: all 0.3s ease;
}

section:hover h2 span {
    animation: pulse 1s infinite;
    box-shadow: 0 0 0 5px rgba(99, 102, 241, 0.2);
}
