/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Notification */
.notification {
    position: fixed;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    border-radius: 15px;
    padding: 20px 25px;
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.3);
    z-index: 10000;
    transition: top 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 500px;
    width: 90%;
}

.notification.show {
    top: 20px;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.notification-icon.success {
    color: #fff;
    animation: pulse 2s infinite;
}

.notification-text h3 {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 600;
}

.notification-text p {
    margin-bottom: 4px;
    opacity: 0.9;
}

.notification-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    transition: background 0.3s;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Header */
.header {
    background: white;
    border-radius: 15px;
    padding: 20px 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
}

.logo i {
    font-size: 32px;
    color: #607D8B;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-weight: 500;
}

.header-info i {
    color: #607D8B;
}

/* Main Wrapper */
.main-wrapper {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.form-section {
    flex: 2;
}

.info-section {
    flex: 1;
}

/* Form Card */
.form-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #607D8B, #2ecc71);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.form-subtitle {
    color: #7f8c8d;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-step h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f4f8;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: flex;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 15px;
}

.required-label::after {
    content: ' *';
    color: #e74c3c;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #95a5a6;
    font-size: 18px;
}

.input-with-icon input,
.input-with-icon textarea {
    width: 100%;
    padding: 14px 15px 14px 50px;
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s;
    background: #f8fafc;
}

.input-with-icon input:focus,
.input-with-icon textarea:focus {
    outline: none;
    border-color: #607D8B;
    background: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

/* Phone Section */
.phone-section {
    margin-bottom: 25px;
}

.phone-group {
    margin-bottom: 20px;
}

.phone-row {
    display: flex;
    gap: 15px;
}

.phone-input-wrapper,
.time-input-wrapper {
    flex: 1;
    position: relative;
}

.phone-input-wrapper input,
.time-input-wrapper input {
    width: 100%;
    padding: 14px 15px;
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
    background: #f8fafc;
}

.phone-input-wrapper input:focus,
.time-input-wrapper input:focus {
    outline: none;
    border-color: #607D8B;
    background: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Time Picker */
.timepicker {
    background: white url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2395a5a6" width="18px" height="18px"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"/></svg>') no-repeat right 15px center;
    background-size: 18px;
    padding-right: 45px !important;
    cursor: pointer;
}

/* Radio Groups */
.employment-radio {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    background: #f8fafc;
}

.radio-option:hover {
    border-color: #607D8B;
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.1);
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #bdc3c7;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.radio-option input[type="radio"]:checked + .radio-checkmark {
    border-color: #607D8B;
    background: #607D8B;
}

.radio-option input[type="radio"]:checked + .radio-checkmark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
}

.radio-label-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.radio-label-content i {
    font-size: 24px;
    color: #607D8B;
    width: 40px;
    text-align: center;
}

.radio-label-content strong {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.radio-label-content small {
    color: #7f8c8d;
    font-size: 13px;
}

.radio-group.inline {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-option.small {
    padding: 12px 20px;
    font-size: 14px;
}

.question-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    display: block;
}

/* File Upload */
.upload-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.upload-sub {
    font-weight: normal;
    color: #7f8c8d;
    font-size: 13px;
    margin-left: 5px;
}

.file-upload-area {
    position: relative;
    border: 3px dashed #d0d7e2;
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload-area.dragover {
    border-color: #607D8B;
    background: rgba(52, 152, 219, 0.05);
}

.upload-icon {
    font-size: 48px;
    color: #95a5a6;
    margin-bottom: 15px;
}

.upload-text {
    color: #666;
    margin-bottom: 5px;
    font-size: 16px;
}

.upload-text p {
    margin-bottom: 10px;
}

.browse-link {
    color: #607D8B;
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 4px;
    transition: background 0.3s;
}

.browse-link:hover {
    color: #2980b9;
    background: rgba(52, 152, 219, 0.1);
}

.upload-formats {
    color: #7f8c8d;
    font-size: 14px;
}

.file-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* File List */
.file-list {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f0f4f8;
    border-radius: 10px;
    border: 1px solid #e0e6ed;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.file-item i {
    color: #607D8B;
    font-size: 20px;
}

.file-item-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 3px;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size {
    color: #7f8c8d;
    font-size: 13px;
}

.file-remove {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
    flex-shrink: 0;
}

.file-remove:hover {
    background: rgba(231, 76, 60, 0.1);
}

/* Character Counter */
.char-counter {
    float: right;
    font-size: 13px;
    color: #7f8c8d;
    font-weight: normal;
}

textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s;
    resize: vertical;
    min-height: 120px;
    background: #f8fafc;
}

textarea:focus {
    outline: none;
    border-color: #607D8B;
    background: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Checkbox */
.privacy-group {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0f4f8;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
    color: #2c3e50;
    line-height: 1.5;
}

.checkbox-box {
    width: 22px;
    height: 22px;
    border: 2px solid #bdc3c7;
    border-radius: 5px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s;
}

.checkbox-group input[type="checkbox"] {
    display: none;
}

.checkbox-group input[type="checkbox"]:checked + .checkbox-label .checkbox-box {
    background: #607D8B;
    border-color: #607D8B;
}

.checkbox-group input[type="checkbox"]:checked + .checkbox-label .checkbox-box::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.privacy-link {
    color: #607D8B;
    text-decoration: none;
    font-weight: 600;
}

.privacy-link:hover {
    text-decoration: underline;
}

/* Error Messages */
.error-message {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s;
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

.error-message i {
    font-size: 14px;
}

.form-group.error .input-with-icon input,
.form-group.error .input-with-icon textarea,
.form-group.error .file-upload-area,
.form-group.error input,
.form-group.error textarea {
    border-color: #e74c3c;
    background: #fff5f5;
}

.form-group.error .input-with-icon input:focus,
.form-group.error .input-with-icon textarea:focus {
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px solid #f0f4f8;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
}

.btn-secondary {
    background: #ecf0f1;
    color: #2c3e50;
}

.btn-secondary:hover {
    background: #d5dbdb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: #607D8B;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.3);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

#submitBtn {
    display: none;
}

/* Form Message */
.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Info Card */
.info-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.info-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f4f8;
}

.info-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefits {
    margin-bottom: 30px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e0e6ed;
    transition: all 0.3s;
}

.benefit:hover {
    border-color: #607D8B;
    background: white;
    transform: translateX(5px);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: #607D8B;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.benefit-content p {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.5;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: #607D8B;
    border-radius: 15px;
    color: white;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 12px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Info */
.contact-info {
    margin-top: auto;
    padding: 20px;
    background: #f8fafc;
    border-radius: 15px;
    border: 2px solid #e0e6ed;
}

.contact-info h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #666;
}

.contact-details i {
    color: #607D8B;
    width: 20px;
}

/* Footer */
.footer {
    background: white;
    border-radius: 15px;
    padding: 25px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #607D8B;
}

.footer-copy {
    color: #7f8c8d;
    font-size: 14px;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateY(-20px);
    transition: transform 0.3s;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 25px 30px;
    border-bottom: 2px solid #f0f4f8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-close {
    background: none;
    border: none;
    color: #666;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #e74c3c;
}

.modal-body {
    padding: 30px;
}

.modal-body h3 {
    color: #2c3e50;
    margin: 20px 0 10px;
    font-size: 18px;
}

.modal-body p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #666;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 2px solid #f0f4f8;
    text-align: right;
}

/* Hidden Class */
.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 992px) {
    .main-wrapper {
        flex-direction: column;
    }
    
    .info-section {
        order: -1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 15px;
    }
    
    .form-card {
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .phone-row {
        flex-direction: column;
    }
    
    .radio-group.inline {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .form-header h1 {
        font-size: 24px;
    }
    
    .form-step h2 {
        font-size: 20px;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Time range styles */
.call-time-range {
    margin-top: 8px;
    padding-left: 4px;
}

.time-range-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.time-range-label i {
    color: #607D8B;
    font-size: 12px;
}

.time-range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.time-input-small {
    flex: 1;
    max-width: 120px;
}

.time-input-small .timepicker {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.3s;
}

.time-input-small .timepicker:focus {
    border-color: #607D8B;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.1);
}

.time-range-separator {
    color: #999;
    font-weight: 500;
    font-size: 14px;
}

.phone-group {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.phone-row {
    margin-bottom: 5px;
}

.phone-input-wrapper input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.phone-input-wrapper input:focus {
    border-color: #607D8B;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.1);
}