* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #E6E6E6; /* Light Grey */
    margin: 0;
    padding: 0;
}

header {
    background: linear-gradient(to bottom, #6D98E0, #5A87D3); /* Gradient for depth */
    border-radius: 0px 0px 20px 20px;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3); /* Stronger shadow */
}

h1 {
    font-size: 2.25rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header-content {
    border-radius: 20px;
    padding: 1.25rem;
    color: #fff;
}

.text-links a {
    font-weight: bold;
    text-decoration: none;
    color: white;
    transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
}

.text-links a:hover {
    color: #FFD700; /* Gold */
    text-shadow: 0px 0px 8px rgba(255, 215, 0, 0.9);
}

.bold-white {
    font-weight: bold;
    color: white;
}

.no-decoration {
    text-decoration: none;
    color: maroon;
    font-weight: bold;
}

.container {
    background: linear-gradient(to top, #C8C8C8, #DADADA); /* Gradient for 3D effect */
    border-radius: 20px;
    padding: 1.25rem;
    margin: 1.875rem 0.625rem;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.25); /* Stronger 3D effect */
    color: #000; /* Black text */
    border: 1px solid #BBBBBB; /* Slight border for more depth */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container::before {
    content: "";
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    z-index: -1;
    filter: blur(10px);
}

footer {
    background: linear-gradient(to top, #6D98E0, #5A87D3); /* Footer gradient */
    border-radius: 20px 20px 0px 0px;
    color: #FFFFFF;
    text-align: center;
    padding: 0.625rem;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0px -8px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
    box-sizing: border-box; /* Prevent overflow due to padding */
}

/* Responsive Styles */
@media (max-width: 1200px) {
    h1 {
        font-size: 2rem;
    }

    header {
        padding: 1rem;
    }

    .container {
        margin: 1rem;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    .header-content {
        padding: 1rem;
    }

    .container {
        margin: 1rem;
        padding: 1rem;
    }

    .text-links a {
        font-size: 0.875rem;
    }

    footer {
        padding: 0.625rem;
        font-size: 1rem;
        width: 100%;
        box-sizing: border-box; /* Prevent overflow due to padding */
    }
}

@media (max-width: 480px) {
    body {
        font-size: 0.875rem; /* Smaller font size for small screens */
    }

    header {
        padding: 0.625rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    /* Centering container content on mobile */
    .container {
        padding: 0.625rem;
        margin: 0.625rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .container > * {
        text-align: center; /* Ensures text is centered in each section */
    }

    .text-links a {
        font-size: 0.75rem;
        margin: 0.3125rem;
    }

    footer {
        padding: 0.625rem;
        font-size: 0.75rem;
    }
}
