body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: #f4f7fa;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

.style1 {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: #ffffff;
    text-align: center;
    padding: 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.style1 h1 {
    font-size: 2.2rem;
    margin: 0;
    font-weight: 600;
}

.list {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    background-color: #ffffff;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
}

.list a {
    color: #3498db;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.list a:hover {
    color: #2980b9;
    background-color: #f0f0f0;
    border-radius: 5px;
}

.style2 {
    margin: 1.5rem auto;
    max-width: 900px;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.style2 h2 {
    color: #2c3e50;
    font-size: 1.6rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
    margin: 0 0 1rem 0;
}

.sstyle {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    overflow-x: auto;
}

.sstyle th, .sstyle td {
    padding: 0.8rem;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.style3 {
    background-color: #2c3e50;
    color: #ffffff;
    font-weight: 500;
}

.sstyle tr:nth-child(even) {
    background-color: #f9f9f9;
}

.sstyle tr:hover {
    background-color: #e8f0fe;
}

.sstyle a {
    color: #3498db;
    text-decoration: none;
}

.sstyle a:hover {
    text-decoration: underline;
}

.button {
    background-color: #2ecc71;
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #27ae60;
}

input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 0.6rem;
    margin: 0.5rem 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.9rem;
    font-family: inherit;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.footer {
    background-color: #2c3e50;
    color: #ffffff;
    text-align: center;
    padding: 1rem;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.footer a {
    color: #3498db;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

img {
    height: 230px;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .style1 h1 {
        font-size: 1.8rem;
    }

    .list {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .list a {
        font-size: 0.9rem;
        padding: 0.5rem;
        width: 100%;
        text-align: center;
    }

    .style2 {
        margin: 1rem;
        padding: 1rem;
    }

    .style2 h2 {
        font-size: 1.4rem;
    }

    input[type="text"], input[type="email"], textarea {
        font-size: 0.8rem;
        padding: 0.5rem;
    }

    .button {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .style1 {
        padding: 1rem;
    }

    .style1 h1 {
        font-size: 1.5rem;
    }

    .style2 {
        margin: 0.5rem;
        padding: 0.75rem;
    }

    .style2 h2 {
        font-size: 1.2rem;
    }

    .sstyle th, .sstyle td {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
}