/* Icon item styling */
.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.icon-item,
.bg-animated1 {
    transition: transform 0.3s ease;
}

.icon-item:hover {
    color: blue;
    transform: scale(1.1);

}

.bg-animated1:hover {
    color: black !important;
    animation: none;
    cursor: pointer;

}

.icon-item a i {
    font-size: 2rem;
    color: blue;

}

.modal-hr {
    height: 5px;
}


.bg-animated1 {
    background: linear-gradient(45deg, red, green, yellow, brown, pink, blue, green);
    background-color: rgba(0, 0, 0, 0);
    background-size: auto;
    background-size: 300% 300%;
    animation: color 12s ease-in-out infinite;
}

.bg-animated1 a {
    color: white;
}

.bg-animated1 a:hover {
    color: black;
}

@media (max-width: 576px) {

    .icon-item a i {
        font-size: 1.5rem !important;

    }

    .icon-label {
        font-size: 12px;
    }

    .custom-h3 {
        font-size: 15px !important;
        font-weight: bold !important;
    }

}


/* custom styling  */

@media (max-width: 576px) {
    .custom-bg {
        background-color: #78e6c3;
        /* Replace with your custom color */
        padding: 20px !important;
    }
}

/* Custom validation styles */
input:invalid {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--accent-purple) !important;
    /* box-shadow: 0 0 12px rgba(168, 85, 247, 0.4) !important; */
}

input:valid {
    border-color: #198754;
    box-shadow: 0 0 0 .25rem rgba(25, 135, 84, .25);
}

.invalid-feedback {
    display: none;
}

/* Show feedback only when input is invalid and focused or submitted */
input:invalid:focus~.invalid-feedback {
    display: block;
    color: black;
}

input:invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 .25rem rgba(220, 53, 69, .25);
}





/* Custom Styles - Kept unaltered to preserve pixel-perfect visual rendering */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 15px;
    overflow: hidden;
}

.card:hover {
    /* transform: translateY(-10px); */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-header {
    font-size: 1.5rem;
    font-weight: bold;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #007bff, #00a8ff);
    color: white;
}

.bg-gradient-success {
    background: linear-gradient(135deg, #28a745, #71d88f);
    color: white;
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107, #ffda6b);
    color: white;
}

.bg-gradient-custom {
    background: linear-gradient(135deg, #6f42c1, #a974e7);
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: inherit;
}

.h-100 div div a {
    font-size: 12px;
}

/* Accessibility Level AA Keyboard Optimization Focus Styling */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #007bff !important;
    outline-offset: 2px !important;
}



