@charset "UTF-8";
/*font Variables*/
/*Color Variables*/
@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100..900&display=swap");

* {
    font-family: 'Vazirmatn';
}

body {
    background: linear-gradient(to right, #dfe9f3, #ffffff);
    font-family: 'Vazirmatn', sans-serif;
    min-height: 100vh;
}

.main-container {
    display: flex;
    min-height: 100vh;
    padding: 2rem;
    flex-direction: row-reverse;
    gap: 2rem;
}

.image-section {
    flex: 0 0 50%;
    height: calc(100vh - 4rem);
    /* background-image: url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?ixlib=rb-4.0.3'); */
    background-image: url('assets/banner.webp');
    background-size: cover;
    background-position: center;
    border-radius: 1rem 0 0 1rem;
    position: relative;
    position: sticky;
    top: 2rem;
}

.image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 1rem 0 0 1rem;
}

.form-section {
    flex: 0 0 50%;
    height: calc(100vh - 4rem);
    background: white;
    padding: 2rem;
    border-radius: 0 1rem 1rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 2rem;
    display: flex;
    flex-direction: column;
}

.form-section form {
    flex: 1;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.form-section form::-webkit-scrollbar {
    width: 6px;
}

.form-section form::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.form-section form::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.form-section form::-webkit-scrollbar-thumb:hover {
    background: #555;
}

h2 {
    color: #005f73;
    font-weight: bold;
}

.hidden {
    display: none;
}

.form-label {
    font-weight: bold;
}

hr {
    border-top: 2px solid #ccc;
}

/* Multi-step form styles */
.form-step {
    display: none;
}

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

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.step {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.step.active {
    background: #005f73;
    border-color: #005f73;
    color: white;
}

.step.completed {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn-prev {
    background: #6c757d;
    color: white;
}

.btn-next {
    background: #005f73;
    color: white;
}

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

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        gap: 1rem;
    }
    .image-section {
        flex: 0 0 300px;
        height: 300px;
        position: relative;
        top: 0;
        border-radius: 1rem 1rem 0 0;
    }
    .image-section::before {
        border-radius: 1rem 1rem 0 0;
    }
    .form-section {
        flex: 1;
        height: auto;
        position: relative;
        top: 0;
        border-radius: 0 0 1rem 1rem;
    }
}

.form-control, .form-select {
    text-align: right !important;
    direction: rtl;
}

.form-select option {
    text-align: right;
    direction: rtl;
}

/* برای spinner های عددی */
input[type="number"] {
    text-align: right !important;
    direction: rtl;
}

/* برای placeholder ها */
.form-control::placeholder {
    text-align: right;
    direction: rtl;
}

/* برای select ها */
.form-select {
    background-position: left 0.75rem !important;
}

.contact-info-box {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: #fff;
    transition: all 0.3s ease;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    margin-left: 8px;
    font-size: 0.9rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-item span {
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: 500;
}

.contact-item.website a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact-item.website a:hover {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}