/* Import custom font */
@font-face {
    font-family: 'CustomFont'; /* Name of your font */
    src: url('font.otf') format('opentype'); /* Path to your .otf file */
    font-weight: normal;
    font-style: normal;
}

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

html, body {
    height: 100%;
    font-family: 'CustomFont', sans-serif; /* Use your custom font here */
}

body {
    background: #121212;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: #f0f0f0;
    padding: 20px;
    min-height: 100vh;
    transition: background 0.3s ease;
}

/* Header */
header {
    background-color: #1f1f1f;
    padding: 30px 0;  /* Increased padding for more space between navbar and content */
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav .logo {
    max-width: 150px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #f0f0f0;
    font-size: 24px;
}

/* Main Form Container */
#form-container {
    width: 100%;
    max-width: 1200px;
    background: linear-gradient(45deg, rgba(255, 160, 200, 0.7), rgba(136, 172, 208, 0.7), rgba(217, 160, 200, 0.6), rgba(189, 150, 181, 0.5));
    background-size: 400% 400%;
    animation: gradientShift 6s ease infinite;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 40px 40px 60px;
    margin-top: 160px; /* Increased margin to prevent navbar overlap */
    margin-bottom: 40px; /* Reduced space between the main box and footer */
    position: relative;
}

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

/* Form Section */
#form-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Form Styles */
.form-group {
    width: 100%;
}

.form-field {
    display: flex;
    align-items: center;
    padding: 18px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.1);
    margin: 10px 0;
    transition: 200ms ease-in-out;
}

.form-field:hover {
    box-shadow: 0px 0px 15px rgba(255, 64, 129, 0.7);
    background-color: rgba(255, 255, 255, 0.15);
}

.form-field i {
    color: rgba(255, 64, 129, 0.8);
    margin-right: 20px;
    transition: color 0.3s ease;
}

.form-field:hover i {
    color: rgba(255, 64, 129, 1);
}

.form-input {
    outline: none;
    border: none;
    width: 100%;
    padding: 18px;
    font-size: 18px;
    color: #f0f0f0;
    background-color: transparent;
    position: relative;
    z-index: 1;
}

select.form-input, textarea.form-input {
    height: 120px;
    font-size: 16px;
    color: #f0f0f0;
}

textarea.form-input {
    resize: vertical;
}

/* Submit Button Styles */
#submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(45deg, #ff4081, #e6366d);
    background-size: 400% 400%;
    animation: gradientShift 6s ease infinite;
    color: white;
    font-size: 22px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: 0.3s ease-in-out transform;
    margin-top: 30px;
}

#submit-btn:hover {
    transform: scale(1.05);
}

#submit-btn:active {
    transform: scale(0.98);
}

/* Footer Styling */
footer {
    background-color: #1f1f1f;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 5;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    width: 180px;
    margin-bottom: 25px;
}

/* Contact Now Button */
.contact-btn {
    padding: 12px 20px;
    background-color: #353535; /* Accent color */
    color: #ffffff; /* White text */
    text-decoration: none;
    font-size: 18px;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: #767676; /* Slightly darker accent color on hover */
}

/* Dropdown Styles */
#service-selection {
    position: relative;
    width: 100%;
    cursor: pointer;
}

#service-selection .form-input {
    display: flex;
    align-items: center;
    background: transparent;
    border: 2px solid #f0f0f0;
    padding: 15px;
    color: #f0f0f0;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    transition: 0.3s ease-in-out;
    width: 100%;  /* Ensure the button takes up the full width */
}

#service-selection .form-input:focus {
    outline: none;
    border-color: #ff4081;
}

.dropdown {
    position: absolute;
    display: flex;
    text-align: center;
    flex-direction: column;
    gap: 10px;
  	z-index: 20;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(239, 239, 239, 0.2);
    top: 100%;
    left: 0;
    width: 100%;  /* Ensure the dropdown takes up the full width of the container */
    display: none;
    max-height: 100px;
    overflow-y: auto;
    backdrop-filter: blur(70px);
}

/* Show dropdown when active */
#service-selection.open .dropdown {
    display: flex;
}
.form-label{
    padding-right: 10px;
    font-size: 20px;
}
