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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5e6e8;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
}

/* Navigation */
nav {
    background: #d84860;
    padding: 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-radius: 8px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 14px 20px;
    display: block;
    transition: background-color 0.3s;
    font-weight: 500;
    font-size: 0.95em;
}

nav ul li:nth-child(1) a {
    transition: all 0.3s ease;
}

nav ul li:nth-child(1) a:hover {
    background: #1e88e5;
}

nav ul li:nth-child(2) a:hover {
    background: #43a047;
}

nav ul li:nth-child(3) a:hover {
    background: #ffa726;
}

nav ul li:nth-child(4) a:hover {
    background: #3949ab;
}

nav ul li:nth-child(5) a:hover {
    background: #00897b;
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Header */
header {
    background: white;
    color: #d84860;
    padding: 50px 40px;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(216, 72, 96, 0.15);
    border: 2px solid #f0c6d0;
}

header h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
    font-weight: 700;
    color: #d84860;
}

header p {
    font-size: 1.1em;
    color: #777;
    font-weight: 300;
}

/* Main Content */
main {
    max-width: 1000px;
    margin: 0 auto 40px;
}

section {
    background: white;
    margin-bottom: 30px;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(216, 72, 96, 0.1);
    border: 1px solid #f0c6d0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

section:hover {
    box-shadow: 0 8px 20px rgba(216, 72, 96, 0.15);
    transform: translateY(-2px);
}

section:nth-child(2) h2 {
    background: linear-gradient(135deg, #d84860, #e85a72);
}

section:nth-child(3) h2 {
    background: linear-gradient(135deg, #1e88e5, #42a5f5);
}

section:nth-child(4) h2 {
    background: linear-gradient(135deg, #43a047, #66bb6a);
}

section:nth-child(5) h2 {
    background: linear-gradient(135deg, #ffa726, #ffb74d);
}

section:nth-child(6) h2 {
    background: linear-gradient(135deg, #00897b, #26a69a);
}

section h2 {
    color: white;
    font-size: 1.6em;
    margin-bottom: 0;
    padding: 20px 30px;
    font-weight: 600;
}

section p {
    color: #555;
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 0.95em;
    padding: 0 30px;
}

section ul {
    margin-left: 30px;
    color: #555;
    padding: 0;
}

section ul li {
    margin-bottom: 8px;
    padding-left: 0;
}

section ul li:before {
    content: "● ";
    font-weight: bold;
    margin-right: 6px;
}

section:nth-child(2) ul li:before {
    color: #d84860;
}

section:nth-child(3) ul li:before {
    color: #1e88e5;
}

section:nth-child(4) ul li:before {
    color: #43a047;
}

section:nth-child(5) ul li:before {
    color: #ffa726;
}

section:nth-child(6) ul li:before {
    color: #00897b;
}

section ul li strong {
    color: #d84860;
    font-weight: 600;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f0c6d0;
}

table th {
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #ddd;
}

section:nth-child(2) table th {
    background: linear-gradient(135deg, #d84860, #e85a72);
}

section:nth-child(3) table th {
    background: linear-gradient(135deg, #1e88e5, #42a5f5);
}

section:nth-child(4) table th {
    background: linear-gradient(135deg, #43a047, #66bb6a);
}

section:nth-child(5) table th {
    background: linear-gradient(135deg, #ffa726, #ffb74d);
}

section:nth-child(6) table th {
    background: linear-gradient(135deg, #00897b, #26a69a);
}

table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f5e6e8;
    color: #555;
    font-size: 0.95em;
}

table tr:hover {
    background-color: #fffbfc;
}

table tr:nth-child(even) {
    background-color: #fef9fa;
}

/* Forms */
form {
    display: flex;
    flex-direction: column;
    padding: 30px;
}

label {
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 0.95em;
}

section:nth-child(2) label {
    color: #d84860;
}

section:nth-child(3) label {
    color: #1e88e5;
}

section:nth-child(4) label {
    color: #43a047;
}

section:nth-child(5) label {
    color: #ffa726;
}

section:nth-child(6) label {
    color: #00897b;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    padding: 10px 12px;
    margin-bottom: 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.95em;
    color: #333;
    transition: all 0.3s ease;
}

section:nth-child(2) input,
section:nth-child(2) textarea {
    border-color: #f0c6d0;
}

section:nth-child(3) input,
section:nth-child(3) textarea {
    border-color: #bbdefb;
}

section:nth-child(4) input,
section:nth-child(4) textarea {
    border-color: #c8e6c9;
}

section:nth-child(5) input,
section:nth-child(5) textarea {
    border-color: #ffe0b2;
}

section:nth-child(6) input,
section:nth-child(6) textarea {
    border-color: #b2dfdb;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
textarea::placeholder {
    color: #aaa;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    background: #fff;
}

section:nth-child(2) input:focus,
section:nth-child(2) textarea:focus {
    border-color: #d84860;
    box-shadow: 0 0 8px rgba(216, 72, 96, 0.2);
}

section:nth-child(3) input:focus,
section:nth-child(3) textarea:focus {
    border-color: #1e88e5;
    box-shadow: 0 0 8px rgba(30, 136, 229, 0.2);
}

section:nth-child(4) input:focus,
section:nth-child(4) textarea:focus {
    border-color: #43a047;
    box-shadow: 0 0 8px rgba(67, 160, 71, 0.2);
}

section:nth-child(5) input:focus,
section:nth-child(5) textarea:focus {
    border-color: #ffa726;
    box-shadow: 0 0 8px rgba(255, 167, 38, 0.2);
}

section:nth-child(6) input:focus,
section:nth-child(6) textarea:focus {
    border-color: #00897b;
    box-shadow: 0 0 8px rgba(0, 137, 123, 0.2);
}

/* Buttons */
button {
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    margin-top: 20px;
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

section:nth-child(2) button {
    background: #d84860;
}

section:nth-child(2) button:hover {
    background: #c63d52;
    box-shadow: 0 6px 16px rgba(216, 72, 96, 0.3);
}

section:nth-child(3) button {
    background: #1e88e5;
}

section:nth-child(3) button:hover {
    background: #1565c0;
    box-shadow: 0 6px 16px rgba(30, 136, 229, 0.3);
}

section:nth-child(4) button {
    background: #43a047;
}

section:nth-child(4) button:hover {
    background: #2e7d32;
    box-shadow: 0 6px 16px rgba(67, 160, 71, 0.3);
}

section:nth-child(5) button {
    background: #ffa726;
}

section:nth-child(5) button:hover {
    background: #f57c00;
    box-shadow: 0 6px 16px rgba(255, 167, 38, 0.3);
}

section:nth-child(6) button {
    background: #00897b;
}

section:nth-child(6) button:hover {
    background: #00695c;
    box-shadow: 0 6px 16px rgba(0, 137, 123, 0.3);
}

button[type="reset"] {
    border: 1px solid #ddd;
    margin-left: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

section:nth-child(2) button[type="reset"] {
    background: #f0c6d0;
    color: #d84860;
}

section:nth-child(2) button[type="reset"]:hover {
    background: #e8a4b8;
    box-shadow: 0 4px 12px rgba(216, 72, 96, 0.2);
}

section:nth-child(3) button[type="reset"] {
    background: #bbdefb;
    color: #1e88e5;
}

section:nth-child(3) button[type="reset"]:hover {
    background: #90caf9;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.2);
}

section:nth-child(4) button[type="reset"] {
    background: #c8e6c9;
    color: #43a047;
}

section:nth-child(4) button[type="reset"]:hover {
    background: #a5d6a7;
    box-shadow: 0 4px 12px rgba(67, 160, 71, 0.2);
}

section:nth-child(5) button[type="reset"] {
    background: #ffe0b2;
    color: #ffa726;
}

section:nth-child(5) button[type="reset"]:hover {
    background: #ffcc80;
    box-shadow: 0 4px 12px rgba(255, 167, 38, 0.2);
}

section:nth-child(6) button[type="reset"] {
    background: #b2dfdb;
    color: #00897b;
}

section:nth-child(6) button[type="reset"]:hover {
    background: #80cbc4;
    box-shadow: 0 4px 12px rgba(0, 137, 123, 0.2);
}

/* Footer */
footer {
    background: white;
    color: #d84860;
    text-align: center;
    padding: 30px 40px;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 4px 12px rgba(216, 72, 96, 0.15);
    border: 2px solid #f0c6d0;
}

footer p {
    color: #777;
    margin: 0;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 30px 20px;
    }

    header h1 {
        font-size: 2em;
    }

    header p {
        font-size: 1em;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li a {
        padding: 12px 15px;
        text-align: center;
    }

    section {
        margin-bottom: 20px;
    }

    section h2 {
        font-size: 1.4em;
    }

    table {
        font-size: 0.9em;
    }

    table th,
    table td {
        padding: 10px 8px;
    }

    button {
        width: 100%;
        align-self: stretch;
    }

    button[type="reset"] {
        margin-left: 0;
        margin-top: 10px;
    }

    form {
        padding: 20px;
    }

    footer {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    header {
        padding: 20px 15px;
    }

    header h1 {
        font-size: 1.6em;
    }

    header p {
        font-size: 0.95em;
    }

    section {
        padding: 15px;
    }

    section h2 {
        font-size: 1.3em;
    }

    nav ul li a {
        padding: 10px 12px;
        font-size: 0.9em;
    }

    button {
        padding: 10px 15px;
    }
}