/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General Styles */
html, body {
    height: 100%;
}

body {
    width: 100%;
    background: var(--g1), var(--g1) var(--s) calc(1.73 * var(--s)), var(--g2),
      var(--g2) var(--s) calc(1.73 * var(--s)), var(--g3) var(--s) 0,
      var(--g3) 0 calc(1.73 * var(--s)) #1e1e1e;
    background-size: calc(2 * var(--s)) calc(3.46 * var(--s));
    --s: 37px; /* Control the size */
    --c: #0000, #282828 0.5deg 119.5deg, #0000 120deg;
    --g1: conic-gradient(from 60deg at 56.25% calc(425% / 6), var(--c));
    --g2: conic-gradient(from 180deg at 43.75% calc(425% / 6), var(--c));
    --g3: conic-gradient(from -60deg at 50% calc(175% / 12), var(--c));
    background-color: #1e1e1e; /* Fallback color */
    overflow: visible; /* Prevent scrollbars from appearing */
}

header {
    background: linear-gradient(135deg, #fafafa, #2a879881);
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header img {
    margin: 0 20px;
}

nav {
    background: #00c8ff0c;
    color: #ffffff;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f0f0f0;
}

.container {
    width: 90%;
    margin: auto;
    padding: 20px;
}

section {
    background: #ffffff;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

section h2 {
    border-bottom: 2px solid #1e3c72;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #1e3c72;
    font-size: 24px;
}

ul {
    list-style: none;
}

ul li {
    margin-bottom: 10px;
    font-size: 18px;
}

footer {
    background: hsla(189, 92%, 58%, 0.678);
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

footer a {
    color: #ffffff;
    margin: 0 10px;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #f0f0f0;
}

/* Form Styles */
form {
    max-width: 600px;
    margin: auto;
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin: 10px 0 5px;
    color: #1e3c72;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    border-color: #1e3c72;
    outline: none;
}

button {
    background-color: #1e3c72;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2a5298;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 15px;
    }

    section h2 {
        font-size: 20px; /* Adjusted font size for smaller screens */
    }

    ul li {
        font-size: 16px; /* Adjusted font size for smaller screens */
    }

    button {
        width: 100%; /* Full-width button on smaller screens */
    }
}
