body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    /* Prevent horizontal scrolling */
    width: 100%;
    /* Ensure full width */
    position: relative;
    /* Create new stacking context */
}

/* Hero Section */
.hero {
    background: url('../img/spz.jpg') no-repeat center center/cover;
    height: 100vh;
    color: white;
    position: relative;
    width: 100%;
    /* Ensure full width */
    overflow: hidden;
    /* Prevent any potential overflow */
    animation: slowPan 30s linear infinite alternate;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.4),
            rgba(0, 0, 0, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 4rem);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    word-wrap: break-word;
    hyphens: auto;
}

.hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.5rem);
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-20px);
    }

    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Navbar */
.navbar {
    transition: background-color 0.3s ease;
    z-index: 1000;
}

.navbar.scrolled {
    background-color: rgba(33, 37, 41, 0.95);
    /* Bootstrap's dark color with slight transparency */
}

.navbar-nav .nav-link {
    color: white !important;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #f0ad4e !important;
}

/* White links */
.white-link {
    color: white;
    transition: color 0.3s;
}

.white-link:hover {
    color: #f0ad4e;
}

/* Social Icons */
.social-icon {
    font-size: 1.5rem;
    color: white;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #f0ad4e;
}

/* Add this new animation at the end of the file */
@keyframes slowPan {
    from {
        background-position: 10% center;
    }

    to {
        background-position: 90% center;
    }
}

/* Notification Banner */
.notification-banner {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    min-width: 300px;
    max-width: 90%;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    backdrop-filter: blur(5px);
}

.notification-banner.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.notification-banner.success {
    background-color: #d4edda;
    color: #155724;
    border-left: 5px solid #28a745;
}

.notification-banner.error {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 5px solid #dc3545;
}

.notification-banner.warning {
    background-color: #fff3cd;
    color: #856404;
    border-left: 5px solid #ffc107;
}

.notification-icon {
    margin-right: 15px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-content {
    flex-grow: 1;
    margin-right: 15px;
}

.notification-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.notification-message {
    margin: 0;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.notification-close:hover {
    opacity: 1;
}

@keyframes slideInDown {
    from {
        transform: translateX(-50%) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

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