* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #2563eb;     /* Rich blue */
    --secondary-color: #3b82f6;   /* Bright blue */
    --accent-color: #8b5cf6;      /* Purple */
    --success-color: #10b981;     /* Emerald */
    --background-color: #f0f9ff;  /* Light blue background */
    --text-color: #1e293b;        /* Dark slate */
    --border-radius: 10px;
    --transition-speed: 0.3s;
}

body {
    background: linear-gradient(135deg, var(--background-color) 0%, #bfdbfe 100%);
    min-height: 100vh;
    padding: 40px 20px;
}

.progress-step {
    background: white;
    border: 2px solid var(--primary-color);
}

.progress-step.active {
    background: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.3);
}

.progress-step.active i,
.progress-step.active span {
    color: white;
}

.container {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}

.form-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.fancy-input:focus,
.fancy-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.radio-option input[type="radio"]:checked + label {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.2);
}

.page-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    padding: 0 40px;
}

.progress {
    position: absolute;
    height: 3px;
    background: var(--primary-color);
    width: 0;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: width var(--transition-speed) ease;
    z-index: 1;
}

.progress-step {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.progress-step i {
    font-size: 1.2em;
    color: var(--text-color);
    margin-bottom: 5px;
}

.progress-step span {
    font-size: 0.8em;
    color: var(--text-color);
    position: absolute;
    bottom: -25px;
}

.progress-step.active {
    background: var(--primary-color);
    transform: scale(1.1);
}

.progress-step.active i,
.progress-step.active span {
    color: rgb(0, 0, 0);
}

.container {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    color: var(--text-color);
    font-size: 2.5em;
    margin-bottom: 10px;
}

.page-header i {
    margin-right: 10px;
    color: var(--primary-color);
}

.subtitle {
    color: #666;
    font-size: 1.1em;
}

.form-section {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(20px);
}

.form-group.animated {
    animation: slideIn 0.5s forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.1em;
}

label i {
    margin-right: 8px;
    color: var(--primary-color);
}

.fancy-input,
.fancy-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: all var(--transition-speed) ease;
    background: white;
}

.fancy-input:focus,
.fancy-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    outline: none;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-option {
    position: relative;
    flex: 1;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option label {
    display: block;
    padding: 15px 20px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.radio-option input[type="radio"]:checked + label {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.input-with-icon {
    position: relative;
}
.error-message{
    color: red;
}
.currency-symbol {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-color);
}

.input-with-icon input {
    padding-left: 30px;
}

.button-group {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.prev-btn,
.next-btn,
.submit-btn {
    padding: 12px 25px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prev-btn {
    background: #e0e0e0;
    color: var(--text-color);
}

.next-btn {
    background: var(--primary-color);
    color: white;
}

.submit-btn {
    background: var(--success-color);
    color: white;
}

.prev-btn:hover,
.next-btn:hover,
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-page {
    display: none;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .progress-bar {
        padding: 0 20px;
    }

    .progress-step {
        width: 40px;
        height: 40px;
    }

    .progress-step i {
        font-size: 1em;
    }

    .page-header h1 {
        font-size: 2em;
    }

    .radio-group {
        flex-direction: column;
        gap: 10px;
    }

    .button-group {
        flex-direction: column;
    }

    .prev-btn,
    .next-btn,
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}


/* Header Styles */
.site-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 20px 0;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.logo-icon {
    font-size: 2.5em;
    color: white;
}

.company-name {
    font-size: 2em;
    font-weight: bold;
    letter-spacing: 1px;
}

.header-tagline {
    font-size: 1.2em;
    opacity: 0.9;
}

/* Footer Styles */
.site-footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.disclaimer {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
}

.disclaimer h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4em;
}

.disclaimer p {
    margin-bottom: 15px;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.copyright {
    text-align: center;
    opacity: 0.7;
    font-size: 0.9em;
}

/* Update progress bar for 4 steps */
.progress-step {
    width: 60px;
    height: 60px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .site-header {
        padding: 15px 0;
    }

    .logo-icon {
        font-size: 2em;
    }

    .company-name {
        font-size: 1.6em;
    }

    .header-tagline {
        font-size: 1em;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}