/*--------------------------------------------------------------

  Template Name: Medilearn  Medical HTML Template.
  Template URI: #
  Description: Medilearn is a unique website template designed in HTML with a simple & beautiful look. There is an excellent solution for creating clean, wonderful and trending material design corporate, corporate any other purposes websites.
  Author: HasTech
  Author URI: https://themeforest.net/user/hastech/portfolio
  Version: 1.0
---------------------------------------------------------------*/

/* ----------------------------------------------------
	You can put your custom css code here: 
-------------------------------------------------------*/

    /* Wizard Styles - Modern Clean Design */
    .wizard-container {
        max-width: 900px;
        margin: 0 auto;
        padding: 20px;
        background: white !important;
        border-radius: 20px !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    }
    
    .wizard-header {
        background: transparent !important;
        color: #2c3e50 !important;
        padding: 30px 20px !important;
        border-radius: 0 !important;
        text-align: center;
        margin-bottom: 0;
        border-bottom: 2px solid #ecf0f1 !important;
    }
    
    .wizard-header h1 {
        margin: 0;
        font-size: 2rem !important;
        font-weight: 300 !important;
        color: #2c3e50 !important;
        letter-spacing: -0.5px !important;
    }
    
    .wizard-header p {
        margin: 8px 0 0 0;
        opacity: 1 !important;
        color: #7f8c8d !important;
        font-size: 1rem !important;
    }
    
    /* Custom Progress Bar */
    .wizard-steps {
        display: block !important;
        background: transparent !important;
        padding: 25px 30px !important;
        border: none !important;
        margin: 0;
        position: relative;
    }
    
    .steps-labels {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    /* Progress line behind the numbers */
    .steps-labels::before {
        content: '';
        position: absolute;
        top: 16px;
        left: 16px;
        right: 16px;
        height: 4px;
        background: #ecf0f1;
        border-radius: 2px;
        z-index: 1;
    }
    
    .progress-line {
        position: absolute;
        top: 16px;
        left: 16px;
        height: 4px;
        background: linear-gradient(135deg, #e91e63, #ad1457);
        border-radius: 2px;
        transition: width 0.4s ease;
        width: 0%;
        z-index: 2;
    }
    
    .step-indicator {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1;
        position: relative;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #ecf0f1;
        color: #7f8c8d;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        font-size: 14px;
        margin-bottom: 8px;
        transition: all 0.3s ease;
        position: relative;
        z-index: 2;
    }
    
    .step-indicator.active .step-number {
        background: linear-gradient(135deg, #e91e63, #ad1457);
        color: white;
        transform: scale(1.1);
    }
    
    .step-indicator.completed .step-number {
        background: #27ae60;
        color: white;
    }
    
    .step-indicator.completed .step-number::after {
        content: '✓';
        font-size: 12px;
        position: absolute;
    }
    
    .step-text {
        font-size: 11px;
        color: #7f8c8d;
        text-align: center;
        font-weight: 500;
        line-height: 1.2;
        max-width: 80px;
    }
    
    .step-indicator.active .step-text {
        color: #e91e63;
        font-weight: 600;
    }
    
    .step-indicator.completed .step-text {
        color: #27ae60;
        font-weight: 600;
    }
    
    .wizard-steps::before {
        content: '';
        position: absolute;
        top: 35px;
        left: 60px;
        right: 60px;
        height: 2px;
        background: none;
        z-index: 1;
    }
    
    .step {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        z-index: 2;
        background: white;
        padding: 0 15px;
    }
    
    .step-circle {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #e0e0e0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        color: #666;
        margin-bottom: 8px;
        transition: all 0.3s ease;
    }
    
    .step.active .step-circle {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
    }
    
    .step.completed .step-circle {
        background: #4caf50;
        color: white;
    }
    
    .step-label {
        font-size: 13px;
        text-align: center;
        color: #666;
        font-weight: 500;
    }
    
    .wizard-content {
        background: white;
        padding: 30px;
        border: 1px solid #e0e0e0;
        border-top: none;
        border-radius: 0 0 15px 15px;
        min-height: 350px;
    }
    
    .step-content {
        display: none;
    }
    
    .step-content.active {
        display: block;
        animation: fadeIn 0.3s ease-in;
    }

    span.btn-text{
    color: whitesmoke;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .step-title {
        font-size: 1.5rem !important;
        font-weight: 300 !important;
        color: #2c3e50 !important;
        text-align: center !important;
        margin-bottom: 25px !important;
        border-bottom: 2px solid #ecf0f1 !important;
        padding-bottom: 12px !important;
        display: block !important;
    }
    
    .step-title i {
        color: #667eea;
    }
    
    .wizard-actions {
        display: flex !important;
        justify-content: center !important;
        gap: 12px !important;
        margin-top: 30px !important;
        padding-top: 25px !important;
        border-top: 2px solid #ecf0f1 !important;
    }
    
    .btn-wizard {
        padding: 12px 32px !important;
        border: none !important;
        border-radius: 8px !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        text-transform: none !important;
        letter-spacing: 0.3px !important;
        min-width: 110px;
    }
    
    .btn-prev {
        background: #95a5a6 !important;
        color: white !important;
        border: none !important;
    }
    
    .btn-prev:hover {
        background: #7f8c8d !important;
        transform: translateY(-2px) !important;
    }
    
    .btn-next, .btn-submit {
        background: linear-gradient(135deg, #e91e63, #ad1457) !important;
        color: white !important;
        box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3) !important;
    }
    
    .btn-next:hover, .btn-submit:hover {
        background: linear-gradient(135deg, #e91e63, #ad1457) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4) !important;
    }
    
    .btn-submit {
        background: linear-gradient(135deg, #4caf50, #45a049);
    }
    
    .btn-submit:hover {
        background: linear-gradient(135deg, #45a049, #3d8b40);
    }
    
    .btn-submit.loading {
        opacity: 0.8;
        pointer-events: none;
        position: relative;
    }
    
    .btn-submit.loading::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        margin: auto;
        border: 2px solid transparent;
        border-top-color: #ffffff;
        border-radius: 50%;
        animation: button-loading-spinner 1s ease infinite;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    
    .btn-submit.loading .btn-text {
        opacity: 0;
    }
    
    @keyframes button-loading-spinner {
        from { transform: translate(-50%, -50%) rotate(0turn); }
        to { transform: translate(-50%, -50%) rotate(1turn); }
    }
    
    /* Success Modal Styles */
    .success-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .success-modal.show {
        opacity: 1;
        visibility: visible;
    }
    
    .modal-content {
        background: white;
        padding: 40px;
        border-radius: 20px;
        text-align: center;
        max-width: 500px;
        width: 90%;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        transform: translateY(-50px);
        transition: transform 0.3s ease;
    }
    
    .success-modal.show .modal-content {
        transform: translateY(0);
    }
    
    .success-icon {
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, #4caf50, #45a049);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        font-size: 40px;
        color: white;
        animation: successPulse 2s ease-in-out infinite;
    }
    
    @keyframes successPulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.05); }
    }
    
    .modal-title {
        font-size: 1.8em;
        color: #2c3e50;
        margin-bottom: 15px;
        font-weight: 600;
    }
    
    .modal-message {
        color: #666;
        margin-bottom: 25px;
        line-height: 1.6;
    }
    
    .modal-reference {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        padding: 15px;
        border-radius: 10px;
        margin: 20px 0;
        font-weight: 600;
        font-size: 1.1em;
    }
    
    .modal-btn {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        border: none;
        padding: 12px 30px;
        border-radius: 25px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .modal-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    }
    
    .form-row {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
        gap: 18px !important;
        margin-bottom: 20px !important;
    }
    
    .form-group {
        flex: 1;
    }
    
    .form-group.full-width {
        flex: 1 1 100%;
    }
    
    .form-group label {
        display: block;
        margin-bottom: 6px;
        font-weight: 500;
        color: #2c3e50;
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100% !important;
        padding: 12px 16px !important;
        border: 2px solid #ecf0f1 !important;
        border-radius: 8px !important;
        font-size: 14px !important;
        font-family: inherit !important;
        background: #ffffff !important;
        transition: all 0.3s ease !important;
        box-sizing: border-box !important;
    }
    
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        border-color: #e91e63 !important;
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1) !important;
        transform: translateY(-2px) !important;
    }
    
    .form-group input.error,
    .form-group select.error,
    .form-group textarea.error {
        border-color: #e74c3c;
        box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
        animation: shake 0.5s ease-in-out;
    }
    
    @keyframes shake {
        0%, 100% { transform: translateX(0); }
        25% { transform: translateX(-5px); }
        75% { transform: translateX(5px); }
    }
    
    .error-message {
        color: #e74c3c;
        font-size: 12px;
        margin-top: 5px;
        display: block;
        font-weight: 500;
    }
    
    .required::after {
        content: ' *';
        color: #e74c3c;
    }
    
    .radio-group {
        display: flex;
        gap: 20px;
        margin-top: 10px;
    }
    
    .radio-option {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .radio-option input[type="radio"] {
        width: 20px;
        height: 20px;
        margin: 0;
        transform: scale(1.2);
        transition: all 0.3s ease;
        border-radius: 50%;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border: 2px solid #ddd;
        background: white;
        position: relative;
    }
    
    .radio-option input[type="radio"]:checked {
        border-color: #667eea;
        background: #667eea;
    }
    
    .radio-option input[type="radio"]:checked::after {
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: white;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .radio-option input[type="radio"].error {
        border: 3px solid #e74c3c !important;
        box-shadow: 0 0 0 2px #e74c3c !important;
        animation: shake 0.5s ease-in-out;
    }
    
    .radio-option label {
        cursor: pointer;
        padding: 8px 15px;
        border-radius: 20px;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: #f8f9fa;
        border: 2px solid transparent;
    }
    
    .radio-option label:hover {
        background: #e9ecef;
        border-color: #667eea;
    }
    
    .radio-option input[type="radio"]:checked + label {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        border-color: #667eea;
    }
    
    /* Contact Form Styles - Same as wizard */
    .contact-container {
        max-width: 900px;
        margin: 0 auto;
        padding: 20px;
        background: white !important;
        border-radius: 20px !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    }
    
    .contact-header {
        background: transparent !important;
        color: #2c3e50 !important;
        padding: 30px 20px !important;
        border-radius: 0 !important;
        text-align: center;
        margin-bottom: 0;
        border-bottom: 2px solid #ecf0f1 !important;
    }
    
    .contact-header h1 {
        margin: 0;
        font-size: 1.5rem !important;
        font-weight: 300 !important;
        color: #2c3e50 !important;
        text-align: center !important;
        margin-bottom: 25px !important;
        border-bottom: 2px solid #ecf0f1 !important;
        padding-bottom: 12px !important;
        display: block !important;
        letter-spacing: -0.5px !important;
    }
    
    .contact-header p {
        margin: 8px 0 0 0;
        opacity: 1 !important;
        color: #7f8c8d !important;
        font-size: 1rem !important;
    }
    
    .contact-content {
        background: white;
        padding: 30px;
        border-radius: 0 0 20px 20px;
        min-height: 350px;
    }
    
    /* Use same form styles as wizard */
    .contact-content .form-row {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
        gap: 18px !important;
        margin-bottom: 20px !important;
    }
    
    .contact-content .form-group label {
        display: block;
        margin-bottom: 6px;
        font-weight: 500;
        color: #2c3e50;
        font-size: 0.9rem;
    }
    
    .contact-content .form-group input,
    .contact-content .form-group select,
    .contact-content .form-group textarea {
        width: 100% !important;
        padding: 12px 16px !important;
        border: 2px solid #ecf0f1 !important;
        border-radius: 8px !important;
        font-size: 14px !important;
        font-family: inherit !important;
        background: #ffffff !important;
        transition: all 0.3s ease !important;
        box-sizing: border-box !important;
    }
    
    .contact-content .form-group input:focus,
    .contact-content .form-group select:focus,
    .contact-content .form-group textarea:focus {
        border-color: #e91e63 !important;
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1) !important;
        transform: translateY(-2px) !important;
    }
    
    .contact-content .form-group textarea {
        min-height: 120px !important;
        resize: vertical !important;
    }
    
    /* Error states for contact form */
    .contact-content .form-group input.error,
    .contact-content .form-group select.error,
    .contact-content .form-group textarea.error {
        border-color: #e74c3c !important;
        box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
        animation: shake 0.5s ease-in-out;
    }
    
    .contact-actions {
        display: flex !important;
        justify-content: center !important;
        gap: 12px !important;
        margin-top: 30px !important;
        padding-top: 25px !important;
        border-top: 2px solid #ecf0f1 !important;
    }
    
    .btn-contact {
        padding: 12px 32px !important;
        border: none !important;
        border-radius: 8px !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        text-transform: none !important;
        letter-spacing: 0.3px !important;
        min-width: 110px;
        background: linear-gradient(135deg, #e91e63, #ad1457) !important;
        color: white !important;
        box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3) !important;
    }
    
    .btn-contact:hover {
        background: linear-gradient(135deg, #e91e63, #ad1457) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4) !important;
    }
    
    /* Contact Info Cards */
    .contact-info-section {
        padding: 60px 0;
        background: #f8f9fa;
    }
    
    .contact-info-card {
        text-align: center;
        padding: 30px 20px;
        background: white;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        margin-bottom: 20px;
        transition: transform 0.3s ease;
    }
    
    .contact-info-card:hover {
        transform: translateY(-5px);
    }
    
    .info-icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #e91e63, #ad1457);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        font-size: 24px;
        color: white;
    }
    
    .info-content h3 {
        font-size: 1.2rem;
        color: #2c3e50;
        margin-bottom: 10px;
        font-weight: 600;
    }
    
    .info-content p {
        color: #7f8c8d;
        margin-bottom: 5px;
        line-height: 1.6;
    }
    
    .info-content a {
        color: #e91e63;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .info-content a:hover {
        color: #ad1457;
    }

    @media (max-width: 768px) {
        .wizard-container, .contact-container {
            padding: 10px;
            margin: 16px;
        }
        
        .wizard-content, .contact-content {
            padding: 20px;
        }
        
        .form-row {
            grid-template-columns: 1fr !important;
        }
        
        .wizard-steps {
            padding: 20px 15px !important;
        }
        
        .step-text {
            font-size: 10px;
            max-width: 60px;
        }
        
        .step-number {
            width: 28px;
            height: 28px;
            font-size: 12px;
        }
        
        .wizard-actions, .contact-actions {
            flex-direction: column !important;
        }
        
        .btn-wizard, .btn-contact {
            width: 100% !important;
        }
        
        .contact-info-card {
            margin-bottom: 30px;
        }
    }