.form-check .form-check-input {
    margin-right: 8px;
    margin-left: 8px;
}

.form-check-input[type="radio"] {
  border-radius: 0.25rem;
}

*{
  font-family: 'Iran Regular';
  scroll-behavior: smooth;
}

body {
    background: #fff;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}
.form-check-label {
    display: flex;
}
.form-section {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;

    margin-top: 24px;
    box-shadow: 0 20px 40px rgba(80, 141, 105, 0.08);
    border: 1px solid rgba(80, 141, 105, 0.1);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #508d69, #9ade7b);
}

h4 {
    color: #508d69;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    position: relative;
}

h4::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #508d69, #9ade7b);
    border-radius: 2px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.service-card {
    background: linear-gradient(135deg, #f7fafc 0%, #e9fbe7 100%);
    border: 2px solid #9ade7b;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(80, 141, 105, 0.1);
    border-color: #508d69;
}

.service-card input[type="radio"]:checked + label {
    color: #508d69;
    font-weight: 600;
}

.service-card input[type="radio"]:checked ~ .service-card {
    border-color: #508d69;
    background: linear-gradient(135deg, #e9fbe7 0%, #9ade7b 100%);
}

.service-card input[type="radio"] {
    display: none;
}

.service-card label {
    font-size: 1.1rem;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0;
}

.options-container {
    background: linear-gradient(135deg, #f7fafc 0%, #e9fbe7 100%);
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    border: 1px solid #9ade7b;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.option-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.option-item:hover {
    border-color: #508d69;
    background: #e9fbe7;
    transform: translateY(-2px);
}

.option-item input[type="radio"]:checked + label {
    color: #508d69;
    font-weight: 600;
}

.option-item input[type="radio"] {
    display: none;
}

.option-item label {
    margin: 0;
    cursor: pointer;
    font-size: 0.95rem;
    color: #4a5568;
    transition: all 0.3s ease;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    color: #508d69;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    font-size: 1rem;
}

.form-control {
    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #508d69;
    box-shadow: 0 0 0 3px rgba(80, 141, 105, 0.1);
}

textarea.form-control {
    max-width: 100%;
    min-height: 120px;
    resize: vertical;
}

.file-upload {
    position: relative;
    max-width: 400px;
}

.file-upload input[type="file"] {
    opacity: 0;
    position: absolute;
    z-index: 2;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.file-upload .form-control {
    background: linear-gradient(135deg, #f7fafc 0%, #e9fbe7 100%);
    border: 2px dashed #9ade7b;
    cursor: pointer;
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.file-upload .form-control:hover {
    border-color: #508d69;
    background: linear-gradient(135deg, #e9fbe7 0%, #9ade7b 100%);
}

.price-section {
    background: linear-gradient(135deg, #508d69 0%, #9ade7b 100%);
    border-radius: 15px;
    padding: 25px;
    color: white;
    margin: 30px 0;
}

.price-section h5 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.3rem;
    text-align: center;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.price-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.price-item strong {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.price-item span {
    font-size: 1.1rem;
    font-weight: 600;
}

.total-price {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.btn-payment {
    background: linear-gradient(135deg, #508d69 0%, #9ade7b 100%);
    border: none;
    border-radius: 15px;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(80, 141, 105, 0.15);
    text-align: center;
    display: inline-block;
    text-decoration: none;
}

.btn-payment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(80, 141, 105, 0.2);
    color: #fff;
    text-decoration: none;
}

.btn-clear {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.9rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-clear:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 101, 101, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
   
    .form-section {
        padding: 25px 20px;
        border-radius: 15px;
    }
    h4 {
        font-size: 1.5rem;
    }
    .service-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .options-grid {
        grid-template-columns: 1fr;
    }
    .price-grid {
        grid-template-columns: 1fr;
    }
    .btn-payment {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .form-section {
        padding: 20px 15px;
    }
    h4 {
        font-size: 1.3rem;
    }
    .service-card {
        padding: 15px;
    }
    .options-container {
        padding: 20px;
    }
    .price-section {
        padding: 20px;
    }
}

html,
body {
    overflow-x: hidden !important;
}

.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.container,
.form-section {
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

@media (max-width: 576px) {
    .form-control,
    .file-upload,
    .file-upload .form-control {
        max-width: 100% !important;
    }
}
@media screen and (max-width: 576px){
  
 
  .nav {

    padding: 0;
}
}
footer .container-fluid{
  --bs-gutter-x:0px !important;

}
.form-check-input[type="checkbox"],
.form-check-input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    border: 2px solid #aaa;
    width: 1.1em;
    height: 1.1em;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

.form-check-input[type="checkbox"]:checked::after,
.form-check-input[type="radio"]:checked::after {
    content: "";
    display: block;
    position: absolute;
    left: 2px;
    top: 1.5px;
    width: 0.68em;
    height: 0.68em;
    border-radius: 50%;
    background: #28a745;
}
/*tool tip*/
.tooltip-inner {
    background-color: #508D69; /* رنگ پس‌زمینه */
    color: #fff;               /* رنگ متن */
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 4px;
    max-width: 220px;
    text-align: right;        /* راست‌چین */
    font-family: 'Iran Regular';
}
.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #508D69; /* رنگ پیکان */
}
