*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
nav {
    background: #2D3748;
    display: flex;
    height: 80px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px 0 100px;
    flex-wrap: wrap;
    position: fixed;
    top: 0;
    z-index: 1000; 
}
body {
    background-color: #f0f0f0;
    min-height: 100vh; 
}
ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 20px; 
}

ul a {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

ul a:hover {
    color: #f44336;
    background: rgba(255, 255, 255, 0.1); 
}
.contact-form{
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
#name, #email, #subject, #message{
    padding: 10px;
    border: 1px solid #ccc; 
    border-radius: 4px;
    width: 100%; 
    font-size: 16px;
}
#submit{
    background-color: #2D3748; 
    color: #fff; 
    padding: 10px 20px;
    border: none; 
    border-radius: 4px; 
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease; 
}

#submit:hover {
    background-color: #f44336;
}


.cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px;
    gap: 20px; 
}

.cards h1{
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    color: brown;
}
.contact-info{
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9; 
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto;
}
.contact-methods{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px;
    gap: 30px; 
    padding: 20px;
    max-width: 1200px; 
    margin: 0 auto; 

}
h1{
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    color: brown;
}
.contact-item {
    width: 300px;
    border: 1px solid #ddd; 
    border-radius: 10px;
    padding: 25px; 
    margin-bottom: 20px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); 
    transition: all 0.3s ease;
    justify-content: center;
    display: flex;
}

.contact-item:hover {
    transform: translateY(-10px); 
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.contact-item h4{
    color: #666; 
    text-align: left; 
    padding: 0 0 20px 0; 
}
.contact-item a{
    text-decoration: none;
    font-size: 1.2rem;
    margin-top: 10px;
    display: inline-block;
    transition: color 0.3s ease;
}
.contact-item a:hover {
    color: #f44336; 
}
.contact-item p {
    color: #666; 
    text-align: left;
    padding: 0 0 20px 0; 
}
.contact-item h4{
    text-align: center;
    color: #333; 
    font-size: 1.5rem;
    padding: 20px 0;
}
.social-media{
    justify-content: space-around;
    display: flex;
    flex-wrap: wrap;
}
.social-media a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}
.social-media a:hover {
    color: #f44336;
}

footer {
        background-color: #2D3748;
        color: #fff;
        text-align: center;
        padding: 20px 0;
        position: relative;
        bottom: 0;
        width: 100%;
        font-size: 0.9rem;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    footer a {
        color: #f44336;
        text-decoration: none;
        margin: 0 10px;
        transition: color 0.3s ease;
    }

    footer a:hover {
        color: #fff;
    }
