﻿
.custom-banner {
    position: relative;
    height: 50vh;
    background: url('../img/bg_mv.jpg') no-repeat center center/cover; /* تصویر زمینه */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* محتوای سمت راست */
    text-align: right; /* متن راست‌چین */
    color: white;
    padding: 0 5%;
}

.custom-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* افکت تاریک */
}

.custom-banner-content {
    position: relative;
    z-index: 1;
    max-width: 500px; /* محدود کردن عرض محتوا */
}

.custom-banner h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.custom-banner p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.custom-banner button {
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    background-color: white;
    color: #BE0032;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

    .custom-banner button:hover {
        background-color: #BE0032;
        color: white;
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    }
.form-container {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: auto;
}


/* حالت عادی */
input,
select,
textarea {
    border: 1px solid #ddd; /* رنگ حاشیه اولیه */
    border-radius: 5px; /* گوشه‌های گرد */
    transition: all 0.3s ease-in-out;
}

/* حالت هاور */
input:hover,
select:hover,
textarea:hover {
    border-color: #bbb; /* رنگ حاشیه در حالت هاور */
}

/* حالت انتخاب (Focus) */
input:focus,
select:focus,
textarea:focus {
    outline: none; /* حذف کادر آبی پیش‌فرض */
    border-color: #BE0032; /* تغییر رنگ حاشیه */
    box-shadow: 0 0 5px rgba(190, 0, 50, 0.5); /* افکت نور اطراف حاشیه */
}
.form-container h3 {
    color: #BE0032;
    margin-bottom: 20px;
}

.form-container .form-label {
    color: #333;
    font-weight: bold;
}

.form-container .form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
}

.form-container .btn-primary {
    background-color: #BE0032;
    border: none;
}

.form-container .btn-primary:hover {
    background-color: #a60029;
}

.form-container .text-danger {
    font-size: 0.9rem;
}

.additional-notes {
    height: 120px; /* ارتفاع بیشتر */
    resize: none; /* غیرفعال کردن قابلیت ریسایز */
}
.Special-Skills {
    height: 100px; /* ارتفاع بیشتر */
    resize: none;
}
.section-separator {
    border-top: 2px dashed #ddd; /* خطی با خط‌چین */
    margin: 20px 10px; /* فاصله بالا و پایین */
    position: relative;
}

.section-separator::after {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-40%) translateY(0%);
    background-color: #ffffff; /* پس‌زمینه برای پوشاندن خط */
    padding: 0 10px;
    background-image: url('../img/logo.png'); /* آدرس لوگوی شما */
    background-size: contain; /* تنظیم اندازه */
    background-repeat: no-repeat; /* جلوگیری از تکرار */
    width: 40px; /* عرض تصویر */
    height: 20px; /* ارتفاع تصویر */
}

custom-checkbox-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* استایل چک‌باکس‌ها */
.form-check-input {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid #ddd;
    background-color: #fff;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background-color: #BE0032;
    border-color: #BE0032;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

/* استایل لیبل‌های چک‌باکس */
.form-check-label {
    margin-left: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}

.form-check-input:checked + .form-check-label {
    color: #BE0032;
}

/* استایل برای حالت Hover */
.form-check-input:hover {
    border-color: #BE0032;
    cursor: pointer;
}

@media (max-width: 768px) {
    .custom-banner {
        justify-content: center; /* برای دستگاه‌های کوچک‌تر، محتوا در وسط قرار گیرد */
        text-align: center;
    }
    .form-container {
        padding: 15px;
    }
        .custom-banner h1 {
            font-size: 2rem;
        }

        .custom-banner p {
            font-size: 1rem;
        }

        .custom-banner button {
            font-size: 0.9rem;
            padding: 8px 15px;
        }
}