/* CSS fixes for missing images */

.hero {
    background: linear-gradient(to right, rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.6)) !important;
}

.learn-hero,
.practice-hero,
.about-hero {
    background: linear-gradient(to right, rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.6)) !important;
}

.bg-overlay {
    background-image: linear-gradient(to bottom, rgba(18, 18, 18, 0.95), rgba(18, 18, 18, 0.8)) !important;
}

.about-cta {
    background-image: linear-gradient(to right, rgba(30, 30, 30, 0.9), rgba(30, 30, 30, 0.8)) !important;
}

/* Fallback styles for missing images */
.image-placeholder {
    background-color: var(--medium-dark-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Notification styles */
.notification-container {
    position: fixed;
    top: 100px; /* Further increased to be more visible */
    right: 20px;
    z-index: 2000; /* Increased z-index to appear above header */
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
    padding: 5px;
}

.notification {
    background-color: var(--light-dark-color);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-left: 4px solid var(--primary-color);
    margin-bottom: 10px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(100%);
    width: 100%;
}

.notification.info {
    border-left-color: var(--primary-color);
}

.notification.success {
    border-left-color: var(--success-color);
}

.notification.warning {
    border-left-color: var(--warning-color);
}

.notification.error {
    border-left-color: var(--error-color);
}

.notification-animation {
    animation: notification-show 0.3s forwards;
}

.notification-closing {
    animation: notification-hide 0.3s forwards;
}

@keyframes notification-show {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes notification-hide {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.notification-message {
    flex: 1;
    margin-right: 10px;
}

.notification-close {
    background: none;
    border: none;
    color: var(--gray-color);
    cursor: pointer;
    font-size: 18px;
    transition: color 0.2s;
}

.notification-close:hover {
    color: var(--light-color);
}

/* Error message styles */
.error-message {
    background-color: rgba(255, 23, 68, 0.1);
    border-left: 4px solid var(--error-color);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: center;
}

.error-message i {
    color: var(--error-color);
    font-size: 24px;
    margin-right: 15px;
}

.error-message p {
    margin: 0;
    color: var(--light-color);
}

/* Media query adjustments */
@media (max-width: 576px) {
    .notification-container {
        max-width: 90%;
        right: 5%;
    }
}
