/* Base Body Styling */
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg,#fdfbfb, #ebedee);
    color: #2c3e50;
    line-height: 1.6;   
}

/* Headings Styling */
h1, h2, h3 {
    font-weight: 650;
    margin-bottom: 0.5em;
    color: #ffdd57;
}

/* Header and footer Styling */
header, footer {
    background: linear-gradient(135deg, #6a11cb,#2575fc);
    color: #ffffff;
    text-align: center;
    padding: 1.5em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Navigation Styling */
nav { 
    margin-top: 10px
}

nav a { 
    margin: 0 15 px;
    color: #ffdd57;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 2px solid transparent;
}

nav a:hover,
nav a[aria-current="page"]{
    color: #ffffff;
    border-bottom: 2px solid #ffdd57;
}

/* Main Content Styling */
main { 
    padding: 30px;
    max-width: 900px;
    margin: auto;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Form Styling */
form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}
label {
    font-weight: 500;
    color: #34495e;
}
input, textarea, select {
    padding: 0.6em;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

button {
    padding: 0.8em 1.2em;
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button:hover {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
}

/*List*/
ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 0.5em;
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    top: auto;
    left: -9999px;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav a {
        margin: 8px 0;
    }

    main {
        padding: 20px;
    }
}
