/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Custom underline animation for hover effects */
.hover-underline-animation {
    position: relative;
}

.hover-underline-animation:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #3b82f6;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
/* Animation for form inputs */
input:focus {
    transition: all 0.3s ease;
}

/* Submit button styles */
button[type="submit"],
.btn-primary {
    font-size: 1.1rem;
    padding: 12px 24px;
    border-radius: 999px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: var(--bg-color, #3b82f6);
    color: #fff;
    transition: all 0.3s ease;
}

button[type="submit"]:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    background-color: var(--bg-hover-color, #2563eb);
}

button[type="submit"]:active,
.btn-primary:active {
    transform: translateY(1px);
}

/* Notification styles */
.notification {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 50;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.notification.success {
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.notification.error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.notification i {
    margin-right: 0.5rem;
}

/* Navigation bar styles */
nav {
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Active nav link */
nav a.active {
    color: #3b82f6;
    font-weight: 600;
}

/* Mobile menu animation */
.mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA button */
.btn-primary {
    min-width: 220px;
    text-align: center;
}
