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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #232526, #414345, #1c1c1c, #2c3e50, #34495e); /* Vibrant gradient background */
    background-size: 300% 300%;
    animation: backgroundAnimation 10s ease infinite;
    overflow-x: hidden;
}

/* Background Animation */
@keyframes backgroundAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Navigation Bar */
.navbar {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364, #1c2833, #3b3b98); /* Dark gradient */
    background-size: 300% 300%;
    animation: navbarAnimation 12s ease infinite; /* Smooth gradient animation */
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); /* Darker shadow for better contrast */
    text-align: center;
}

/* Navigation Bar Animation */
@keyframes navbarAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 20px;
}

.navbar ul li a {
    text-decoration: none;
    color: #e0e0e0; /* Lighter color for better contrast on dark background */
    font-weight: bold;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.navbar ul li a:hover {
    color: #ff6f61; /* Highlight color */
    background: rgba(255, 255, 255, 0.2); /* Subtle hover effect */
    border-radius: 5px;
}


/* Contact Section */
.contact-section {
    padding: 50px 20px;
    text-align: center;
    max-width: 700px;
    margin: 50px auto;
    background: rgba(255, 255, 255, 0.8); /* Light container with transparency */
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.contact-section p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    text-align: left;
}

.form-group label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.6); /* Glassmorphism effect */
    backdrop-filter: blur(5px);
    outline: none;
    transition: box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.submit-button {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background: #ff6f61; /* Vibrant button color */
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.submit-button:hover {
    transform: scale(1.05);
    background: #ff3f3f; /* Darker shade on hover */
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent footer */
    color: #333;
    font-size: 1rem;
    margin-top: 30px;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.floating-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.floating-icons a img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.floating-icons a img:hover {
    transform: scale(1.1);
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .navbar {
        padding: 8px 15px;
    }

    .navbar ul {
        gap: 10px;
    }

    .contact-section {
        padding: 20px 10px;
    }

    .contact-section h1 {
        font-size: 1.8rem;
    }

    .contact-section p {
        font-size: 0.9rem;
    }

    .submit-button {
        font-size: 0.8rem;
        padding: 8px 12px;
    }

    .footer {
        padding: 10px;
        font-size: 0.8rem;
    }

    .floating-icons {
        bottom: 8px;
        right: 8px;
    }

    .floating-icons a img {
        width: 25px;
        height: 25px;
    }
}
