body {
    background: rgb(242, 240, 240); /* Ultra light green to white */
    margin: 0;
    padding: 0;
}

/* Input field styling */
.styled-input {
    width: 80%;
    max-width: 400px;
    padding: 15px;
    margin-bottom: 10px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.styled-input:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0px 4px 8px rgba(0, 128, 0, 0.5);
}

/* Button styling */
.styled-button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 1em;
    margin: 10px 0;
    cursor: pointer;
    border-radius: 12px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

.styled-button:hover {
    background-color: #45a049;
}

/* Video Styling */
#video-container {
    display: none;
    text-align: center;
    margin: 20px auto 20px auto;
    padding: 0 5%;
    width: 100%;
    box-sizing: border-box;
}

video {
    width: 100%;
    height: auto;
}

/* Audio Player Styling */
#audio-container {
    display: none;
    text-align: center;
    margin: 20px auto 20px auto;
    padding: 0 5%;
    width: 100%;
    box-sizing: border-box;
}

/* Error Message */
#error-text {
    color: red;
    font-size: 1em;
    display: none;
    margin-top: 10px;
}

h2 {
    text-align: center;
    font-size: 4em;
    font-family: 'Montserrat', sans-serif;
    color: #5dade2;
    margin-top: 20px;
    margin-bottom: 0;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3), 0 0 10px #ffffe0; /* Drop shadow and yellow glow */
}

h3 {
    text-align: center;
    font-size: 2em;
    font-family: 'Montserrat', sans-serif;
    color: #5dade2;
    margin-top: 10px;
    margin-bottom: 20px;
}

h4 {
    text-align: center;
    font-size: 1.5em;
    font-family: 'Montserrat', sans-serif;
    color: #5dade2;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Password Container */
#password-container {
    margin-top: 50px;
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-size: 1.5em;
    padding: 0 5%;
    box-sizing: border-box;
}

#password-container label {
    display: block;
    margin-bottom: 20px; /* Add extra spacing under 'Enter Password' label */
}

/* Expandable Section */
.expandable-section {
    text-align: center;
    margin: 20px auto;
    width: 90%;
    max-width: 1200px;
    cursor: pointer;
    color: #5dade2;
    border: 2px solid #5dade2;
    border-radius: 10px;
    padding: 10px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.expandable-section:hover {
    border-color: #45a049;
    box-shadow: 0px 0px 10px rgba(69, 160, 73, 0.5);
}

.expandable-section h4 {
    margin: 0;
    padding: 10px;
    background-color: transparent;
    font-size: 1.5em;
}

.expandable-section.expanded h4 {
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3), 0 0 10px #ffffe0; /* Bolder yellow glow when expanded */
}

.expandable-section .content {
    display: none;
    margin-top: 10px;
    max-height: 40vh; /* Up to 40% of viewport height */
    overflow-y: auto;
    text-align: left;
    padding: 10px;
    background-color: rgba(93, 173, 226, 0.1); /* Light blue background */
    color: #333;
    font-size: 1em;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Click Here Text */
.click-here-text {
    font-size: 0.9em;
    color: #333;
    margin-bottom: 5px;
}

/* Contact Info */
.contact-info {
    text-align: center;
    margin-top: 20px;
}

.contact-info h4 {
    margin: 5px;
}

.contact-info a {
    color: #5dade2;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Media query for smaller screens (phones and tablets) */
@media (max-width: 768px) {
    h2 {
        font-size: 2.5em;
    }

    h3 {
        font-size: 1.5em;
    }

    h4 {
        font-size: 1.2em;
    }

    .styled-input {
        font-size: 0.9em;
    }

    .styled-button {
        font-size: 0.9em;
    }

    #password-container label {
        margin-bottom: 20px; /* Add extra spacing under 'Enter Password' label */
    }
}

/* Media query for very small screens (phones) */
@media (max-width: 480px) {
    h2 {
        font-size: 2em;
    }

    h3 {
        font-size: 1.2em;
    }

    h4 {
        font-size: 1em;
    }

    .styled-input {
        font-size: 0.8em;
    }

    .styled-button {
        font-size: 0.8em;
    }

    #password-container label {
        margin-bottom: 20px; /* Add extra spacing under 'Enter Password' label */
    }
}

/* Howler.js Audio Player Styling */
#audio-player-container {
    display: none;
    text-align: center;
    margin: 20px auto;
    padding: 0 5%;
    width: 100%;
    box-sizing: border-box;
}

#audio-controls {
    display: inline-block;
}

#audio-controls button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 15px;
    margin: 5px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1em;
}

#audio-controls button:hover {
    background-color: #45a049;
}

#audio-progress {
    width: 100%;
    margin-top: 10px;
}

#audio-progress input[type="range"] {
    width: 100%;
}