@font-face {
    font-family: 'vazir';
    src: url('../fonts/Vazir.woff') format('woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

* {
    font-family: 'vazir', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: white;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Search Box Section */
.search-box {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.search-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

#search-input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    border: 2px solid #5177ff;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#search-input:focus {
    border-color: #243d74;
    box-shadow: 0 0 8px rgba(81, 119, 255, 0.3);
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #5177ff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background-color: #243d74;
}

.search-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    background-color: white;
    padding: 15px 25px;
    border-radius: 11px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #243d74;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #5177ff;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}

.radio-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #5177ff;
    border-radius: 50%;
}

.radio-option span {
    font-weight: 500;
}

/* Registration Section */
.registration-section {
    padding: 60px 0;
}

.registration-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.registration-boxes p {
    color: #ffffff;
    font-weight: bold;
}

.reg-box {
    border-radius: 11px;
    padding: 50px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px;
    justify-content: center;
}

.employer-box {
    background-color: #243d74;
}

.setter-box {
    background-color: #5177ff;
}

.box-title {
    color: white;
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 700;
}

.box-image {
    margin: 30px 0;
}

.reg-btn {
    border: none;
    padding: 16px 32px;
    border-radius: 11px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reg-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.primary-btn {
    background-color: #5177ff;
    color: white;
}

.complementary-btn {
    background-color: #243d74;
    color: white;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #243d74;
    margin-bottom: 50px;
    font-weight: 700;
}

.features-box {
    background-color: white;
    border-radius: 11px;
    padding: 50px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.feature-title {
    color: #243d74;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-desc {
    color: #666;
    font-size: 14px;
}

/* Locations Section */
.locations-section {
    padding: 80px 0;
}

.locations-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.locations-image {
    display: flex;
    justify-content: center;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.city-item {
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-radius: 11px;
    text-align: center;
    font-weight: 500;
    color: #243d74;
    transition: all 0.3s ease;
    cursor: pointer;
}

.city-item:hover {
    background-color: #5177ff;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(81, 119, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 968px) {

    .registration-boxes {
        grid-template-columns: 1fr;
    }
    
    .features-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .city-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .locations-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .logo-section, .auth-btn {
        flex: 0 0 auto;
    }
    
    .logo-center {
        order: -1;
        flex: 0 0 100%;
        justify-content: flex-start;
    }
    
    .logo-section{
        font-size: 20px;
    }

    
    .reg-box {
        padding: 40px 20px;
        min-height: 350px;
    }
    
    .box-title {
        font-size: 24px;
    }
    
    .features-box {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }
    
    .city-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .search-options {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px;
        width: 100%;
    }
    
    .search-input-wrapper {
        max-width: 100%;
    }
    
    .radio-option {
        font-size: 13px;
    }
}