/* Universal selector */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background-color: #f3f4f6;
    color: #333;
    line-height: 1.6;
    padding: 0 4rem; 
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

header {
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

header p {
    font-size: 0.875rem;
    color: #4b5563;
    text-align: center;
}

/* Primary Navigation Styles */
#primary-nav {
    background-color: #f9fafb;
    padding: 0.75rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

#primary-nav ul {
    display: flex;
    justify-content: space-around;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#primary-nav ul li a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

#primary-nav ul li a:hover {
    color: #6b7280;
}

/* Secondary Navigation Styles */
nav {
    background-color: #f9fafb;
    padding: 0.75rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

nav ul {
    display: flex;
    justify-content: space-around;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #6b7280;
}

main {
    padding-bottom: 1rem;
}

section {
    margin-bottom: 2rem;
}

section h2 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 1rem;
    text-align: center;
}

h1,
h2,
h3 {
    text-align: center;
}

p {
    text-align: left;
    margin-bottom: 1rem;
}

ul {
    margin-bottom: 1rem;
}

ul li {
    margin-bottom: 0.5rem;
}

ol {
    margin-bottom: 1rem;
}

hr {
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
}

footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    color: #4b5563;
    font-size: 0.875rem;
}

.skills-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.skills-list ul.multi-column-list {
    column-count: 3;
}


.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 1rem;
}

.column {
    flex: 1 0 auto;
    padding: 0.5rem;
    text-align: center;
}

.column img {
    max-width: 100%;
    height: auto;
    border-radius: 0.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.audio-container {
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 2rem;
    margin: 0 auto 1rem auto;
}

.video-container {
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 2rem;
    margin: 0 auto 1rem auto;
}

#multimedia {
    background-image: url('images/pasupatinath2.jpg'); 
    background-size: cover; 
    background-position: center; 
    border-radius: 0.5rem; 
    padding: 2rem; 
    margin: 0 auto 1rem auto; 
    max-width: 800px;
}

#multimedia img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin-top: 1rem;
}


#multimedia .audio-container,
#multimedia .video-container {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}


video {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 16 / 9;
    border-radius: 0.25rem;
}

audio {
    width: 100%;
    max-width: 320px;
}

audio::-webkit-media-controls-container,
video::-webkit-media-controls-container {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 0.5rem;
}

audio::-webkit-media-controls-play-button,
video::-webkit-media-controls-play-button,
audio::-webkit-media-controls-mute-button,
video::-webkit-media-controls-mute-button,
video::-webkit-media-controls-fullscreen-button {
    background-color: #e0f2fe;
    color: #1e40af;
    border-radius: 0.375rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

audio::-webkit-media-controls-play-button:hover,
video::-webkit-media-controls-play-button:hover,
audio::-webkit-media-controls-mute-button:hover,
video::-webkit-media-controls-mute-button:hover,
video::-webkit-media-controls-fullscreen-button:hover {
    background-color: #d1d8f3;
}

audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display,
video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-time-remaining-display {
    color: #4b5563;
    font-size: 0.75rem;
}

audio::-webkit-media-controls-time-remaining-display,
video::-webkit-media-controls-time-remaining-display {
    margin-left: 0.25rem;
}

audio::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-current-time-display {
    margin-right: 0.25rem;
}

form {
    background-color: #edf2f7;
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    max-width: 100%;
}

form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 600;
    font-size: 0.875rem;
}

form input,
form textarea,
form select {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

form input:focus,
form textarea:focus,
form select:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

form textarea {
    resize: vertical;
    min-height: 100px;
}

form button {
    background-color: #4caf50;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    width: fit-content;
    margin: 0 auto;
    display: block;
}

form button:hover {
    background-color: #45a049;
}

.radio-group {
    margin-bottom: 1rem;
}

.radio-group label {
    margin-right: 1rem;
    display: inline-flex;
    align-items: center;
}

.radio-group input {
    margin-right: 0.5rem;
}

.doc-content {
    background-color: #f9f9f9;
}

.g3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #16a34a;
}

.g4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #8b5cf6;
}

#current-date {
    font-size: 0.875rem;
    color: #4b5563;
    margin-top: 0.5rem;
    text-align: center;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .skills-list ul {
        column-count: 2;
    }

    .row {
        flex-direction: column;
    }

    .column {
        flex: 1 0 auto;
    }
}

@media (max-width: 480px) {
    .skills-list ul {
        column-count: 1;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 0.5rem 0;
        text-align: center;
    }
}
