* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* overflow-x: hidden; */
}

nav {
    background: linear-gradient(to bottom, #e89876, #d67856);
    padding: 3vh 5vw;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5vw;
    margin-right: 20px;
}

.logo-circle {
    width: 6vw;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.logo-text {
    font-size: 3vw;
    font-weight: bold;
    font-family: "Pixelify Sans", sans-serif;
    color: #2a2a2a;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.nav-links {
    display: flex;
    gap: 1vw;
    margin-left: auto;
}

.nav-btn {
    background: #c85a3a;
    color: #2a2a2a;
    padding: 2vh 3vw;
    border: none;
    border-radius: 25px;
    font-size: 2vw;
    font-weight: bold;
    font-family: "Pixelify Sans", sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 0 #8b3a1a, 0 6px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.1s ease;
    text-decoration: none;
    display: inline-block;
}

.nav-btn:hover {
    background: #d67856;
    box-shadow: 0 6px 0 #8b3a1a, 0 8px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

a {
    text-decoration: none;
    color:inherit;
}
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.form-card {
    background: linear-gradient(to bottom, orange, darkorange);
    padding: 40px;
    border-radius: 15px;
    width: 100%;
    max-width: 500px;
    text-align: center;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.1);
    font-family: "Pixelify Sans", sans-serif;
}

h1 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}


input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    background-color: rgba(217, 217, 217, 1);
    border: 1px solid black;
    border-radius: 8px;
    padding: 10px;
    font-family: "Pixelify Sans", sans-serif;
    font-size: 1.2rem;
    outline: none;
}

textarea {
    height: 150px;
    resize: none;
}

label {
    display: block;
    margin-top: 5px;
    color: #5e3023;
    font-size: 1rem;
}


.custom-select-wrapper {
    position: relative;
}

select {
    width: 100%;
    background-color: lightblue;
    border: none;
    border-radius: 4px;
    padding: 10px;
    height: 40px;
    appearance: none;
    cursor: pointer;
}


.custom-arrow {
    position: absolute;
    right: 15px;
    top: 10px;
    pointer-events: none;
    width: 10px;
    height: 10px;
    border-left: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(-45deg);
}

.error-msg {
    color: #7a1e0b;
    font-size: 0.9rem;
    margin-top: 5px;
    font-weight: bold;
    display: none;
}

.error-visible {
    display: block;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    text-align: left;
}

input[type="checkbox"] {
    width: 25px;
    height: 25px;
    accent-color: #aaa;
    cursor: pointer;
}

.highlight {
    color: yellow;
    text-decoration: underline;
}


.submit-btn {
    width: 200px;
    height: 40px;
    background-color: goldenrod;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.1s;
}

.submit-btn:active {
    transform: scale(0.95);
}
.error-msg {
    color: #7a1e0b;
}
footer {
    display: flex;
    background-color: #FE9B65;
    margin-top: 60px;
    align-items: center;
}

footer p {
    font-size: 25px;
    font-family: "Pixelify Sans", sans-serif;
}

.footerCntr-flexbox {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 5px;
    margin-left: 40px;
}


@media (max-width: 768px) {
    .nav-links {
        flex-direction: row;
        gap: 10px;

        display:flex;
        margin: 0;
        padding: 0;
    }
    .nav-btn {
        padding: 1vh 2vw;
        font-size: 3vw;
    }

    .logo-circle img {
        width:10vw;
        height: auto;
    }
    .logo-circle
    {
        width: 10vw;
        height: auto;
    }
    .form-card {
        padding: 30px;
        max-width: 90%;
    }

    h1 {
        font-size: 1.6rem;
    }

    input[type="text"],
    input[type="email"],
    textarea,
    select {
        font-size: 1rem;
    }

    textarea {
        height: 120px;
    }

    input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }

    .submit-btn {
        width: 180px;
        height: 38px;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }

    footer p {
        font-size: 20px;
    }

    .footerCntr-flexbox {
        flex-direction: column;
        margin-left: 0;
        gap: 10px;
    }
}
