body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0a1a2e, #1e3a5f, #2a6f9e);
    font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: #d1e0ff;
    overflow-x: hidden;
    position: relative;
}

header {
    background-color: #0a1a2e;
    color: #d1e0ff;
    padding: 1.5rem;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid #2a6f9e;
}

header h1 {
    margin: 0;
    font-size: 2.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #2a6f9e;
    text-shadow: 0 0 8px rgba(42, 111, 158, 0.4);
}

header h2 {
    margin: 0.5rem 0 0;
    font-size: 1.3rem;
    color: #a3c1e5;
    font-weight: 300;
}

nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #0a1a2e;
    padding: 0.5rem 0;
    border-top: 1px solid #2a6f9e;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-links li {
    margin: 0 1.5rem;
}

.nav-links li a {
    color: #d1e0ff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    position: relative;
}

.nav-links li a:hover {
    color: #2a6f9e;
    text-shadow: 0 0 5px #2a6f9e;
}

.burger {
    font-size: 2rem;
    cursor: pointer;
    display: block;
    text-align: right;
    padding: 0.5rem 1rem;
    color: #d1e0ff;
    transition: color 0.3s ease;
}

.burger:hover {
    color: #2a6f9e;
}

.burger.active + .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    position: relative;
    min-height: 70vh;
    width: 100%;
    box-sizing: border-box;
    background: radial-gradient(circle at 20% 20%, rgba(42, 111, 158, 0.1) 0%, transparent 70%);
}

.options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 350px;
    background: rgba(10, 26, 46, 0.9);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid #2a6f9e;
    backdrop-filter: blur(5px); /* Subtle glass effect */
}

.option-btn {
    background-color: #1e3a5f;
    color: #d1e0ff;
    border: 2px solid #2a6f9e;
    padding: 1rem 2.5rem;
    border-radius: 10px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.option-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(42, 111, 158, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.option-btn:hover {
    background-color: #2a6f9e;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(42, 111, 158, 0.5);
}

.option-btn:hover::before {
    width: 300px;
    height: 300px;
}

.container::before {
    content: '';
    position: absolute;
    left: 10%;
    top: 15%;
    width: 200px; /* Square shape */
    height: 200px; /* Square shape */
    background-image: url('images/left-image.jpg');
    background-size: cover; /* Ensure image fills the square */
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 15px; /* Rounded corners */
    opacity: 0.6;
    z-index: 0;
    animation: pulse 8s infinite ease-in-out;
}

.container::after {
    content: '';
    position: absolute;
    right: 10%;
    top: 20%; /* Changed from 40% to 20% to move higher */
    width: 200px; /* Square shape */
    height: 200px; /* Square shape */
    background-image: url('images/right-image.jpg');
    background-size: cover; /* Ensure image fills the square */
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 15px; /* Rounded corners */
    opacity: 0.6;
    z-index: 0;
    animation: pulse 7s infinite ease-in-out reverse;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.25); }
}

footer {
    background-color: #0a1a2e;
    color: #d1e0ff;
    text-align: center;
    padding: 1.5rem;
    width: 100%;
    border-top: 1px solid #2a6f9e;
    font-size: 0.9rem;
    opacity: 0.9;
    position: fixed; /* Fix footer at bottom */
    bottom: 0;
    left: 0;
}

@media (min-width: 768px) {
    .burger {
        display: none;
    }
    nav {
        display: block;
        position: static;
        background: none;
        padding: 1rem 0;
    }
    .nav-links {
        flex-direction: row;
    }
    .options {
        gap: 2rem;
        padding: 3rem;
        max-width: 400px;
    }
    .container::before,
    .container::after {
        width: 250px; /* Larger square on desktop */
        height: 250px; /* Larger square on desktop */
        border-radius: 20px; /* Slightly larger rounded corners on desktop */
    }
}

@media (max-width: 767px) {
    .options {
        gap: 1rem;
        padding: 1.5rem;
    }
    .option-btn {
        padding: 0.75rem 2rem;
    }
    .container::before,
    .container::after {
        display: none;
    }
}




/* Code for music */ 

#music-toggle-container {
    position: fixed;
    bottom: 4.5rem; /* just above the footer */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

#music-toggle {
    background-color: #1e3a5f;
    color: #d1e0ff;
    border: 2px solid #2a6f9e;
    padding: 0.6rem 1.5rem;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#music-toggle:hover {
    background-color: #2a6f9e;
    color: #ffffff;
}

@media (max-width: 767px) {
    #music-toggle {
        font-size: 0.9rem;
        padding: 0.5rem 1.2rem;
    }
    #music-toggle-container {
        bottom: 6rem; /* more space on small screens */
    }
}


/* code for music ends */ 