* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    font-family: montserrat;
    background-color: #f9f3ec;
}

nav {
    background-color: #9d6c2c;
    height: 90px;
    width: 100%;
    display: flex;
}

.logo {
    color: white;
    font-size: 25px;
    font-weight: bold;
    margin-left: 15px;
    display: flex;
}

.logo-text {
    display: inline-block;
    vertical-align: middle;
    margin-top: 20px;
}

nav ul {
    float: right;
    margin-right: 20px;
    margin-left: auto;
}

nav ul li {
    display: inline-block;
    line-height: 90px;
    margin: 0 5px;
}

nav ul li a {
    color: white;
    font-size: 17px;
    padding: 8px 10px;
    border-radius: 25px;
    text-transform: uppercase;
}

li:hover {
    background: #b17b34;
    /* border-radius: 25px; */
    transition: .5s;
}

.checkbtn {
    font-size: 30px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}

#check {
    display: none;
}

.contact-section {
    padding: 30px 0;
    background-color: #f9f3ec; 
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    margin-top:2%;
    margin-bottom:2%;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    position: relative;
    overflow: hidden; 
    max-height: calc(100vh - 200px); 
}

.contact-container h2 {
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-size: 36px;
    color: #9d6c2c; 
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
}

form {
    display: grid;
    grid-gap: 20px;
}

.form-group {
    position: relative;
}

label {
    font-size: 18px;
    color: #9d6c2c; 
}

input[type="text"],
input[type="email"],
textarea {
    width: 85%;
    padding: 10px; 
    margin-top: 2%;
    border: none;
    outline: none;
    font-size: 20px;
    color: #333;
    transition: border-color 0.3s ease;
    background-color: #fff; 
    border-bottom: black 2px solid ;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder {
    width: 93%;
}

textarea {
    resize: none;
    /* height: 130px;  */
}

input[type="submit"] {
    background-color: #9d6c2c;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    padding: 15px 20px;
    box-shadow: 0 0 8px rgba(157, 108, 44, 0.4); 
}

input[type="submit"]:hover {
    background-color: #8b5a25;
    transform: scale(1.05);
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.form-group {
    animation: slideIn 1s;
}

@media (max-width: 576px) {
    .logo {
        font-size: 20px;
        margin-left: 10px;
    }
    nav ul {
        display: none;
    }
    .checkbtn {
        display: block;
    }
    #check:checked ~ ul {
        display: flex;
    }
    nav ul li {
        display: block;
        margin: 10px 0;
        line-height: 30px;
    }
    nav ul li a {
        font-size: 16px;
        padding: 5px 10px;
    }
    .contact-container {
        padding: 15px;
    }
    .contact-container h2 {
        font-size: 24px;
    }
    input[type="text"],
    input[type="email"],
    textarea {
        width: 100%;
    }
}

@media (min-width: 577px) and (max-width: 991px) {
    .logo {
        font-size: 22px;
    }
    nav ul {
        display: flex;
        margin-right: 10px;
    }
    .checkbtn {
        display: none;
    }
    .contact-container {
        padding: 20px;
    }
    .contact-container h2 {
        font-size: 30px;
    }
}

@media (min-width: 992px) {
    .logo {
        font-size: 25px;
    }
    nav ul {
        display: flex;
    }
    .contact-container {
        padding: 30px;
    }
}


footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #b17b34;
    height: auto;
    width: 100vw;
    font-family: "Open Sans";
    padding-top: 40px;
    color: #fff;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.footer-content h3 {
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 3rem;
}

.footer-content p {
    max-width: 500px;
    margin: 10px auto;
    line-height: 28px;
    font-size: 14px;
}

.socials {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 3rem 0;
}

.socials li {
    margin: 0 10px;
}

.socials a {
    text-decoration: none;
    color: #fff;
}

.socials a i {
    font-size: 1.1rem;
    transition: color .4s ease;
}

.socials a:hover i {
    color: #ffffff;
}

.footer-bottom {
    background: #9d6c2c;
    width: 100vw;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
}

.footer-bottom span {
    text-transform: uppercase;
    opacity: .4;
    font-weight: 200;
}
