body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: #fff; /* White text for contrast */
    overflow-x: hidden; /* Prevent horizontal scrollbar */
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #2980b9, #8e44ad); /* Example gradient */
    z-index: -2; /* Behind content and overlay */
    animation: gradientShift 15s ease infinite; /* Smooth gradient shift */
    background-size: 400% 400%;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    z-index: -1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

header {
    padding: 2rem;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav li {
    display: inline;
    margin: 0 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s; /* Smooth hover effect */
}

nav a:hover {
    color: #f0f0f0;
}

main {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center sections horizontally */
}

.section {
    max-width: 800px;
    margin-bottom: 4rem;
    text-align: center;
}

.content {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h2 {
    margin-bottom: 1.5rem;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.story {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 8px;
    backdrop-filter: blur(3px);
    transition: transform 0.3s;
}

.story:hover {
    transform: scale(1.05);
}

.contact-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 2rem;
    transition: background-color 0.3s;
}

.contact-button:hover {
    background-color: #2980b9;
}

footer {
    text-align: center;
    padding: 1rem 0;
    background-color: rgba(0, 0, 0, 0.3);
    position: relative;
    bottom: 0;
    width: 100%;
}
