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

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #f4f4f9;
    color: #111;
    overflow-x: hidden;
}

h1,
h3,
h4,
p {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}


#nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 7%;
    width: 100%;
    position: fixed;
    z-index: 99;
    padding: 0px 30px;
    background: #7c7c7c24;
    backdrop-filter: blur(20px);
}

#nav>h3 {
    font-family: gilroy;
    font-weight: 400;
    font-size: 22px;
}

.nav-links>a {
    padding: 10px 20px;
    margin-left: 10px;
    border-radius: 50px;
    background-color: #7c7c7c24;
    color: #030303;
    border: none;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out;

    &:hover {
        background-color: #000;
        color: #f1f1f1;
    }
}

#logo {
    font-weight: 500;
}

#logo-name {
    font-weight: 600;
}

#form {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #fdfbfb, #ebedee);
}

/* FORM CARD */
.form {
    width: 100%;
    max-width: 600px;
    background: #fff;
    padding: 40px 35px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-left: 6px solid #ff7a01;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

/* FORM HEADING */
.heading {
    font-size: 2rem;
    font-weight: 900;
    color: #111;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 1px;
    animation: fadeInDown 1s ease forwards;
}

/* INPUTS & TEXTAREA */
.input,
.textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #fafafa;
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
}

.input:focus,
.textarea:focus {
    border-color: #ff7a01;
    box-shadow: 0 0 10px rgba(255, 122, 1, 0.3);
    outline: none;
}

/* TEXTAREA */
.textarea {
    resize: vertical;
    max-height: 180px;
}

/* BUTTON CONTAINER */
.button-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
    animation: fadeInUp 1s ease forwards;
}

/* BUTTONS */
.send-button,
.reset-button {
    flex: 1;
    text-align: center;
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.send-button {
    background: linear-gradient(135deg, #ff7a01, #ffb347);
    color: #fff;
    border: none;
}

.send-button:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #e56b00, #ffa500);
}

.reset-button {
    background: transparent;
    border: 2px solid #ff7a01;
    color: #ff7a01;
}

.reset-button:hover {
    background: #ff7a01;
    color: #fff;
    transform: translateY(-3px);
}

/* STATUS MESSAGE */
#status {
    margin-top: 20px;
    font-weight: bold;
    font-size: 1.05rem;
    text-align: center;
    color: #333;
    min-height: 24px;
}


@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 768px) {
    .form {
        padding: 35px 25px;
    }

    .heading {
        font-size: 1.8rem;
    }

    .send-button,
    .reset-button {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    #nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px;
        padding: 0 10px;
        background: rgba(124, 124, 124, 0.25);
        /* better RGBA syntax */
        backdrop-filter: blur(12px);
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-direction: column;
        z-index: 999;
    }


    /* Logo text */
    #logo {
        font-size: 14px;
        font-weight: 400;
    }

    #logo-name {
        font-size: 14px;
        font-weight: 500;
        color: red;
    }

.nav-links{
    margin-bottom: 10px;
}

    .nav-links a {
        padding: 6px 10px;
        font-size: 12px;
        border-radius: 20px;
        text-decoration: none;
        color: #030303;
        background-color: rgba(124, 124, 124, 0.15);
        transition: all 0.2s ease-in-out;
    }

    .nav-links a:hover {
        background-color: #000;
        color: #f1f1f1;
    }

}

@media screen and (max-width: 480px) {
    .form {
        padding: 30px 20px;
    }

    .heading {
        font-size: 1.6rem;
    }

    .send-button,
    .reset-button {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .button-container {
        flex-direction: column;
    }

    .button-container button {
        width: 100%;
    }
}