:root {
    --primary: #f4ce14;
    --secondary: #f5f7f8;
    --tetriary: #379777;
    --fouthcolor: black;
    --navbar-bg: transparent;
    --navbar-bg-scrolled: var(--fouthcolor);
    --hover-bg: rgba(244, 206, 20, 0.2);

    --transition-speed: 0.3s;
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    color: var(--fouthcolor);
    background: var(--secondary);
    box-sizing: border-box;
    scroll-behavior: smooth;
    height: 100%;
}


header.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
    background: black;

    color: var(--secondary);
    z-index: 10;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);

}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-left: 100px;
}

header nav ul li a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all var(--transition-speed);
}

header nav ul li a:hover {
    background: var(--hover-bg);
    color: var(--primary);
}

:root {
    --primary: #fdd509;
    --secondary: #f5f7f8;
    --tertiary: #46d2a4;
    --fourth-color: black;
    --navbar-bg: transparent;
    --navbar-bg-scrolled: var(--fourth-color);
}


body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    ;
    color: var(--fourth-color);


    background-size: cover;
    background-position: center;

}


.contact-container {
    max-width: 600px;

    margin: 70px auto;
    padding: 30px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    animation: fadeIn 1.2s ease-in-out;
    border-top: 8px solid var(--primary);

}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--fourth-color);
    font-weight: 700;
}

p {
    font-size: 1.1rem;
    color: var(--fourth-color);
    margin-bottom: 20px;
    line-height: 1.6;
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
    width: 550px;
}

label {
    font-weight: 600;
    color: var(--fourth-color);
}

input,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--secondary);
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--secondary);
    transition: all 0.3s ease-in-out;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.1);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(253, 213, 9, 0.5);
    background-color: #fff;
}


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


button {
    padding: 12px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(90deg, var(--primary), var(--tertiary));
    color: var(--secondary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-left: 30px;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    button {
        font-size: 1rem;
    }
}

input {
    padding: 20px;
}

#trail {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: #46d2a4;
    border-radius: 50%;
    pointer-events: none;
    animation: fade 1s forwards;
}

@keyframes fade {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}