* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    min-height: 100vh;
    padding: 40px 20px;
}

.form-header-top {
    background: linear-gradient(135deg, #000 0%, #2a2a2a 100%);
    color: white;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    max-width: 1400px;
    margin: 0 auto 40px;
    border-radius: 20px;
}

.form-header-top h1 {
    color: #d4af37;
    padding-bottom: 20px;
}

.form-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.back-link {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #d4af37;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.back-link:hover {
    color: white;
    transform: translateX(-5px);
}

.logo {
    font-size: 40px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.form-header h1 {
    font-size: 42px;
    font-weight: 900;
    color: #d4af37;
    margin-bottom: 15px;
    line-height: 1.2;
}

.form-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation Card */
.navigation-card {
    flex: 0 0 320px;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 40px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.navigation-card h3 {
    font-size: 24px;
    font-weight: 900;
    color: #000;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #d4af37;
}

.form-navigation {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: #f8f8f8;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-family: inherit;
    width: 100%;
}

.nav-item:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.nav-item.active {
    background: linear-gradient(135deg, #000 0%, #2a2a2a 100%);
    color: white;
    border-color: #d4af37;
}

.nav-number {
    width: 35px;
    height: 35px;
    background: #d4af37;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
    flex-shrink: 0;
}

.nav-item.active .nav-number {
    background: #d4af37;
    color: #000;
}

.nav-text {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    flex: 1;
}

/* Progress Status Indicator */
.nav-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.nav-item.completed .nav-status {
    background: #4caf50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
}

.nav-item.incomplete .nav-status {
    background: #ff4444;
    box-shadow: 0 0 8px rgba(255, 68, 68, 0.5);
}

/* Form Card */
.form-card {
    flex: 1;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.consultation-form {
    padding: 50px 40px;
}

.form-section {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 28px;
    font-weight: 900;
    color: #000;
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 5px solid #d4af37;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

/* Red asterisk for required fields */
.required {
    color: #ff0000;
    font-weight: 700;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-weight: 500;
    color: #333;
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    cursor: pointer;
    accent-color: #d4af37;
    flex-shrink: 0;
}

.checkbox-label span {
    flex: 1;
}

.agreement-label {
    background: #fff9e6;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #d4af37;
}

.agreement-label span {
    font-weight: 600;
    color: #000;
}

.form-actions {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background: #d4af37;
    color: #000;
    border: none;
    padding: 18px 60px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.submit-btn:hover {
    background: #000;
    color: #d4af37;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.form-note {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Success Message */
.success-message {
    display: none;
    padding: 80px 40px;
    text-align: center;
}

.success-message.show {
    display: block;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: #4caf50;
    color: white;
    font-size: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 30px;
    animation: scaleIn 0.5s ease;
}

.success-message h2 {
    font-size: 36px;
    font-weight: 900;
    color: #000;
    margin-bottom: 15px;
}

.success-message p {
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
}

.back-home-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background: #d4af37;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.back-home-btn:hover {
    background: #000;
    color: #d4af37;
    transform: translateY(-2px);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .form-container {
        flex-direction: column;
    }

    .navigation-card {
        flex: 1;
        width: 100%;
        position: relative;
        top: 0;
        max-height: none;
    }

    .form-navigation {
        flex-direction: row;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 10px;
    }

    .nav-item {
        flex-direction: column;
        min-width: 140px;
        padding: 15px 10px;
        gap: 8px;
    }

    .nav-text {
        font-size: 13px;
        text-align: center;
    }

    /* Make form card full width on iPad/Tablet */
    .form-card {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    body {
        padding: 20px 10px;
    }

    .form-header-top {
        padding: 40px 25px;
    }

    .back-link {
        position: static;
        display: inline-flex;
        margin-bottom: 20px;
    }

    .logo {
        font-size: 32px;
    }

    .form-header-top h1 {
        font-size: 32px;
    }

    .form-subtitle {
        font-size: 16px;
    }

    .navigation-card h3 {
        font-size: 20px;
    }

    .nav-item {
        min-width: 120px;
        padding: 12px 8px;
    }

    .consultation-form {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Make form card full width on mobile */
    .form-card {
        width: 100%;
        max-width: 100%;
    }

    .section-title {
        font-size: 24px;
        padding-left: 12px;
    }

    .submit-btn {
        width: 100%;
        padding: 16px 30px;
        font-size: 16px;
    }

    .success-message {
        padding: 60px 20px;
    }

    .success-icon {
        width: 80px;
        height: 80px;
        font-size: 50px;
    }

    .success-message h2 {
        font-size: 28px;
    }

    .success-message p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .form-header-top {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .form-header-top h1 {
        font-size: 24px;
    }

    .form-subtitle {
        font-size: 13px;
    }

    .logo {
        font-size: 22px;
    }

    .back-link {
        font-size: 13px;
    }

    .form-container {
        gap: 20px;
    }

    .navigation-card {
        padding: 20px 15px;
    }

    .navigation-card h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .nav-item {
        min-width: 100px;
        padding: 10px 5px;
    }

    .nav-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .nav-text {
        font-size: 11px;
    }

    .nav-status {
        width: 10px;
        height: 10px;
    }

    /* Make form card full width on small mobile */
    .form-card {
        border-radius: 15px;
        width: 100%;
        max-width: 100%;
    }

    .consultation-form {
        padding: 25px 15px;
    }

    .section-title {
        font-size: 20px;
    }

    .form-group label {
        font-size: 15px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 15px;
    }
}

/* Footer */
.form-footer {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    margin-top: 40px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0;
}
