/* General reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and Background */
body {
    font-family: 'Arial', sans-serif;
    background-color: #3C5D69; /* Darker background for contrast */
    color: #333;
    padding: 20px;
    line-height: 1.6;
}

/* Navigation Bar Styling */
ul {
    list-style-type: none;
    overflow: hidden;
    background-color: #2980b9;
    padding: 0;
    margin-bottom: 20px;
    text-align: center;
}

li {
    display: inline-block;
}

li a {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Added transform for effect */
}

li a:hover {
    background-color: #1abc9c;
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Main heading */
h1 {
    font-size: 2.5em;
    color: #ecf0f1; /* Light color for visibility */
    text-align: center;
    margin-bottom: 30px;
}

/* Section styling for content */
div {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px; /* More pronounced rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Slightly darker shadow for depth */
    max-width: 600px;
    margin: 20px auto; /* Centered divs with spacing */
}

/* Subheadings */
h2 {
    text-align: center;
    font-size: 1.8em;
    color: #2980b9; /* Consistent with the navigation */
    margin-bottom: 15px;
}

/* Paragraph styling */
p {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #7f8c8d; /* Softer color for readability */
}

/* Button Styling */
button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #1abc9c;
    transform: scale(1.05); /* Zoom effect for feedback */
}

/* Form inputs styling */
input[type="text"],
input[type="email"],
input[type="date"],
input[type="number"],
select {
    width: 100%; /* Full width for inputs */
    padding: 10px;
    border: 2px solid #2980b9; /* Consistent border color */
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
select:focus {
    border-color: #1abc9c; /* Change border color on focus */
    outline: none; /* Remove default outline */
}

/* Responsive Design */
@media (max-width: 600px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
    }

    p {
        font-size: 1em;
    }

    body {
        padding: 10px; /* Reduce padding for smaller screens */
    }

    ul {
        padding: 0;
    }

    li {
        display: block; /* Stack navigation items vertically */
        text-align: center;
    }
}
