/* Header Styles for Form Page */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 30px;
    background: #23233a;
    position: relative;
    height: 56px;
}

.logo {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.logo a {
    display: block;
    text-decoration: none;
    transition: opacity 0.2s;
}

.logo a:hover {
    opacity: 0.8;
}

.btn-header {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-start-project {
    background: linear-gradient(90deg, #ff7ee7, #6a82fb);
    color: #fff;
    box-shadow: 0 2px 12px rgba(106,130,251,0.2);
}

.btn-start-project:hover {
    transform: translateY(-52%) scale(1.05);
    box-shadow: 0 4px 16px rgba(255,126,231,0.4);
}

.header-title {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
}

.header-title h1 {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
    background: linear-gradient(90deg, #ff7ee7, #6a82fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.form-subtitle {
    color: #b6b6d6;
    font-size: 0.95rem;
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 1.4;
}

.hamburger {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: none; /* Hiding hamburger menu on the form page */
}

.logo img {
    height: auto;
    width: auto;
    max-height: 24px;
}

.nav {
    flex-shrink: 0;
}

/* Form Section Styles */
.form-section {
    background: #181828;
    min-height: 90vh;
    padding: 30px 0 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.form-header {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin-bottom: 20px;
}

.main-title {
    font-size: 2.4rem;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(90deg, #ff7ee7, #6a82fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.form-container {
    background: #23233a;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(106,130,251,0.1);
    width: 100%;
    max-width: 800px;
    padding: 30px;
    margin: 0 auto;
    box-sizing: border-box;
}

.step-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 25px;
    color: #ffffff;
    text-align: center;
}

.form-progress {
    margin-bottom: 25px;
}

.step-indicator {
    color: #d1d1e0;
    font-size: 1rem;
    margin-bottom: 10px;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #181828;
    border-radius: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #ff7ee7, #6a82fb);
    width: 10%; /* Will be updated by JS */
    border-radius: 10px;
    transition: width 0.3s ease;
}

.form-steps {
    margin-bottom: 30px;
    min-height: 280px;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.form-field {
    width: 100%;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.form-label {
    display: block;
    color: #d1d1e0;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.field-note {
    color: #b6b6d6;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.input-field {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1.5px solid #2d2d44;
    background: #181828;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: border 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.input-field:focus {
    outline: none;
    border: 1.5px solid #6a82fb;
    box-shadow: 0 0 0 2px rgba(106,130,251,0.2);
}

.textarea-field {
    min-height: 120px;
    resize: vertical;
    box-sizing: border-box;
    width: 100%;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-input {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1.5px solid #2d2d44;
    border-radius: 6px;
    background: #181828;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
    transition: background 0.2s, border 0.2s;
}

.checkbox-input:checked {
    background: linear-gradient(90deg, #ff7ee7, #6a82fb);
    border-color: transparent;
}

.checkbox-input:checked::after {
    content: '✓';
    position: absolute;
    color: #fff;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-text {
    color: #d1d1e0;
    font-size: 1rem;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
}

.btn-form {
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

.btn-back {
    background: #181828;
    color: #fff;
    border: 1.5px solid #2d2d44;
}

.btn-back:not(:disabled):hover {
    background: #2d2d44;
}

.btn-back:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-next {
    background: linear-gradient(90deg, #ff7ee7, #6a82fb);
    color: #fff;
    box-shadow: 0 2px 12px rgba(106,130,251,0.2);
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255,126,231,0.3);
}

/* Text color adjustment in select and option elements */
select.input-field {
    color: #ffffff;
}

select.input-field option {
    color: #ffffff;
    background: #181828;
}

/* Styles for contact entries */
.contact-entry {
    border: 1px solid #2d2d44;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    position: relative;
    box-sizing: border-box;
}

.contact-entry + .contact-entry {
    margin-top: 30px;
}

.btn-add-contact {
    background: #181828;
    color: #ffffff;
    border: 1.5px solid #2d2d44;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    display: block;
    margin: 10px 0 20px;
    transition: background 0.2s;
}

.btn-add-contact:hover {
    background: #2d2d44;
}

.btn-remove-contact {
    background: rgba(255, 73, 73, 0.1);
    color: #ff4949;
    border: 1px solid rgba(255, 73, 73, 0.3);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    margin-top: 15px;
    transition: background 0.2s;
}

.btn-remove-contact:hover {
    background: rgba(255, 73, 73, 0.2);
}

.custom-functions-field {
    margin-top: 20px;
    border-top: 1px solid #2d2d44;
    padding-top: 25px;
}

/* Styles for file upload fields */
.upload-field {
    margin-bottom: 10px;
}

.file-input {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.file-upload-btn {
    display: inline-block;
    background: linear-gradient(90deg, #ff7ee7, #6a82fb);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 10px;
}

.file-upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255,126,231,0.3);
}

.selected-files-label {
    display: block;
    color: #b6b6d6;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.form-field-note {
    color: #b6b6d6;
    font-size: 0.85rem;
    margin-top: 5px;
    font-style: italic;
}

.required-fields-note {
    color: #b6b6d6;
    font-size: 0.9rem;
    text-align: center;
    margin: 20px 0 10px;
    font-style: italic;
}

/* Improve placeholder text visibility */
.input-field::placeholder {
    color: #6a6a8e;
    opacity: 0.7;
}

/* Responsive styles */
@media (max-width: 900px) {
    .header {
        height: 49px;
        padding: 15px 20px;
    }
    
    .header-title h1 {
        font-size: 1.6rem;
    }
    
    .form-subtitle {
        font-size: 0.9rem;
    }
    
    .btn-header {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
    
    .logo img {
        height: auto;
        width: auto;
        max-height: 24px;
    }
    
    .form-section {
        padding: 30px 15px;
    }
    
    .main-title {
        font-size: 2.2rem;
    }
    
    .form-container {
        padding: 25px;
    }
    
    .step-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .header {
        height: 45px;
        padding: 12px 15px;
    }
    
    .header-title h1 {
        font-size: 1.4rem;
    }
    
    .form-subtitle {
        font-size: 0.85rem;
    }
    
    .btn-header {
        padding: 7px 16px;
        font-size: 0.8rem;
        right: 15px;
    }
    
    .logo img {
        max-height: 22px;
    }
    
    .form-section {
        padding: 25px 15px;
    }
    
    .main-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .form-container {
        padding: 20px;
        border-radius: 16px;
    }
    
    .step-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .form-progress {
        margin-bottom: 20px;
    }
    
    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .header {
        height: 38px;
        padding: 10px;
    }
    
    .header-title h1 {
        font-size: 1.2rem;
    }
    
    .form-subtitle {
        font-size: 0.8rem;
        display: none;
    }
    
    .btn-header {
        padding: 6px 14px;
        font-size: 0.75rem;
        right: 10px;
    }
    
    .logo img {
        max-height: 20px;
    }
    
    .form-section {
        padding: 20px 10px;
    }
    
    .main-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .form-container {
        padding: 15px;
        border-radius: 14px;
    }
    
    .step-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .form-progress {
        margin-bottom: 15px;
    }
    
    .step-indicator {
        font-size: 0.9rem;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-form {
        width: 100%;
        padding: 12px 0;
    }
    
    .btn-back {
        order: 2;
    }
    
    .btn-next {
        order: 1;
    }
    
    .thank-you-container {
        padding: 25px 15px;
    }
    
    .thank-you-title {
        font-size: 1.5rem;
    }
    
    .thank-you-message {
        font-size: 1rem;
    }
    
    .btn-header {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

/* Styles for radio options */
.radio-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 10px;
    background: #181828;
    border: 1.5px solid #2d2d44;
    transition: border 0.2s, background 0.2s;
}

.radio-label:hover {
    background: #1e1e34;
}

.radio-input {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 1.5px solid #2d2d44;
    border-radius: 50%;
    margin-right: 14px;
    position: relative;
    cursor: pointer;
    transition: border 0.2s;
}

.radio-input:checked {
    border-color: #6a82fb;
}

.radio-input:checked::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(90deg, #ff7ee7, #6a82fb);
    border-radius: 50%;
}

.radio-text {
    color: #d1d1e0;
    font-size: 1rem;
    font-weight: 500;
}

/* Styles for thank you message */
.thank-you-container {
    background: #23233a;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(106,130,251,0.1);
    width: 100%;
    max-width: 800px;
    padding: 60px 40px;
    margin: 0 auto;
    text-align: center;
    animation: fadeIn 0.6s ease;
}

.thank-you-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #ff7ee7, #6a82fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(90deg, #ff7ee7, #6a82fb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    box-shadow: 0 4px 20px rgba(106,130,251,0.3);
}

.thank-you-message {
    color: #d1d1e0;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.thank-you-contact {
    color: #b6b6d6;
    font-size: 1rem;
    margin-bottom: 40px;
}

.thank-you-contact a {
    color: #6a82fb;
    text-decoration: none;
    transition: color 0.2s;
}

.thank-you-contact a:hover {
    color: #ff7ee7;
}

.btn-return {
    display: inline-block;
    background: linear-gradient(90deg, #ff7ee7, #6a82fb);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-return:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255,126,231,0.3);
}

@media (max-width: 768px) {
    .thank-you-container {
        padding: 40px 20px;
    }
    
    .thank-you-title {
        font-size: 1.8rem;
    }
    
    .thank-you-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .thank-you-message {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .thank-you-container {
        padding: 30px 16px;
    }
    
    .thank-you-title {
        font-size: 1.5rem;
    }
    
    .thank-you-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .thank-you-message {
        font-size: 1rem;
    }
} 