body {
    font-family: 'Arial', sans-serif;
    background: url('../Pictures/MainBackground.jpg') no-repeat center center fixed;
    background-size: cover;
    color: white;
    line-height: 1.6;

}

/* Remove blur effect on mobile */
@media screen and (max-width: 768px) {
    body {
        background: linear-gradient(to right, #1a1a1a, #0f0f0f) !important;
        background-size: cover;
        background-attachment: fixed;
    }

    /* Remove blurry background boxes */
    .hero h2,
    .hero p {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }
}


/* Apply dark gradient background on mobile */
@media screen and (max-width: 768px) {
    body {
        background: linear-gradient(to right, #1a1a1a, #a32f2f) !important;
        background-size: cover;
        background-attachment: fixed;
    }
}


.hero h2 {
    font-size: 2.5rem;
    /* Adjust title size */
    font-weight: 800;
}

.hero p {
    font-weight: 600;
    font-size: 1.15rem;
    /* Adjust subtitle size */
}

/* Responsive font sizes for mobile devices */
@media screen and (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
        /* Smaller title on mobile */
    }

    .hero p {
        font-size: 1rem;
        /* Smaller subtitle on mobile */
    }
}

.hero h2,
.hero p {
    background: rgba(239, 236, 236, 0.071);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
    flex-direction: column;
    margin-bottom: 5px;
}

/* Reduce blur effect on mobile */
@media screen and (max-width: 768px) {

    .hero h2,
    .hero p {
        backdrop-filter: blur(0.1px);
        -webkit-backdrop-filter: blur(0.1px);
        background: rgba(0, 0, 0, 0.413);
    }
}

.hero {
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Dark overlay */
    z-index: 1;
}


.hero-content {
    position: relative;
    z-index: 2;

}

.hero-content {
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;

}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: -1;
    /* Behind everything */
    top: 0;
    left: 0;
    pointer-events: none;
    /* Prevents blocking clicks */
    background: rgba(0, 0, 0, 0);
    /* Keeps the existing background */
}

#fire-container {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    pointer-events: none;
    /* Doesn't block user interactions */
    z-index: -1;
    /* Keeps it behind everything */
}

.fire-particle {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    opacity: 0;
    filter: blur(4px);
    animation: flicker 0.2s infinite alternate ease-in-out;
}

/* Flickering glow animation */
@keyframes flicker {
    from {
        box-shadow: 0 0 10px rgba(255, 140, 0, 0.8), 0 0 25px rgba(255, 60, 0, 0.5);
    }

    to {
        box-shadow: 0 0 15px rgba(255, 60, 0, 1), 0 0 30px rgba(255, 20, 0, 0.6);
    }
}

/* Flickering flame effect */
.modern-button:hover {
    background: linear-gradient(135deg, #ff5500, #ff3300);
    box-shadow: 0 0 15px rgba(255, 50, 0, 1), 0 0 30px rgba(255, 0, 0, 0.9);
    transform: scale(1.05);
    animation: flicker 1s infinite alternate ease-in-out;
}

/* Flicker animation */
@keyframes flicker {
    from {
        box-shadow: 0 0 15px rgba(255, 50, 0, 1), 0 0 30px rgba(255, 0, 0, 0.9);
    }

    to {
        box-shadow: 0 0 20px rgba(255, 100, 0, 1), 0 0 40px rgba(255, 50, 0, 0.9);
    }
}