body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f9;
    color: #333;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    background-color: #000;
    color: #fff;
}
.navbar h2:hover{
    color: #ffcc00;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffcc00;
}



.contact-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 30px;
    border-radius: 12px;
}

.contact-section h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #333;
}

.contact-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #666;
}

.contact-form {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    width: 100%;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1em;
    outline: none;
    background-color: #f9f9f9;
    color: #333;
    box-sizing: border-box;
    transition: border 0.3s;
    resize: none; /* Prevents textarea adjustment */
}

input:focus, textarea:focus {
    border-color: #ffcc00;
}

button {
    background-color: #ffcc00;
    color: #000;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #e0b500;
}

.footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    margin-top: 40px;
    font-size: 0.9em;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.social-icons a {
    color: #ffcc00;
    text-decoration: none;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #fff;
}



@media (max-width: 420px) {
   

    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        text-align: center;
    }


    .nav-links {
        flex-direction: column;
        gap: 8px;
    }


    /* Contact Section */
    .contact-section {
        margin: 10px;
        padding: 15px;
    }

    .contact-section h1 {
        font-size: 2em;
    }

    .contact-section p {
        font-size: 1em;
        margin-bottom: 20px;
    }

    /* Form */
    .contact-form {
        flex-direction: column;
        align-items: center;
    }

    form {
        max-width: 100%;
    }

    input, textarea {
        padding: 10px;
        font-size: 1em;
    }

    button {
        padding: 10px;
        font-size: 1em;
    }

    /* Footer */
    .footer {
        padding: 10px 0;
    }
}
