body {
    background: url("../images/background/Background2.webp") no-repeat center center fixed;
    background-size: cover;
    
}

html, body {
    min-height: 100vh;
    background-color: #000; /* explicitly set background to dark */
    margin: 0;
    padding: 0;
}

/* Adjust Hero Section to Fit Viewport */
.hero {
    background: url("../images/background/background.webp") no-repeat center center/cover;
    min-height: 70vh; /* Ensures it fits within the screen */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 8px black;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Improved Hero Content */
.hero-content {
    background: rgba(0, 0, 0, 0.85); /* Darker background */
    border-radius: 15px;
    padding: 30px 40px;
    max-width: 700px;
    text-align: center;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.2); /* Soft glow effect */
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Title inside hero */
.hero-content h2 {
    font-size: 2.8em;
    margin-bottom: 15px;
    letter-spacing: 1.5px;
    font-weight: bold;
    text-shadow: 2px 2px 3px rgba(183, 0, 255, 0.5); /* Soft glow effect */
}

/* Text inside hero */
.hero-content p {
    font-size: 1.2em;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Button inside hero */
.hero-content .button {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1.2em;
    font-weight: bold;
    background: linear-gradient(45deg, #7b0202, #a30000);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid #a30000;
    transition: all 0.3s ease-in-out;
}

/* Button Hover Effect */
.hero-content .button:hover {
    background: #a30000;
    box-shadow: 0px 0px 12px rgba(255, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .hero {
        width:100%;

        background-attachment: scroll; /* Override fixed attachment */
    }
}
