/* Generated by script */

@font-face {
  font-family: Vazirmatn;
  src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: Vazirmatn;
  src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: Vazirmatn;
  src: url('../fonts/Vazirmatn-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
body {
    background: linear-gradient(135deg, #2a2a72 0%, #009ffd 100%);
    font-family: Vazirmatn, Tahoma;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column !important; /* این خط جهت را اصلاح می‌کند */
    align-items: center;
}
/* این کلاس باعث می‌شود محتوا فضای خالی را پر کند تا فوتر پایین برود */
.wrapper {
    flex: 1;
    width: 100%; /* اطمینان از تمام عرض بودن */
}
.card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.7s ease-in-out;
}
.btn-custom {
    background: linear-gradient(90deg, #4B0082 0%, #800080 100%);
    border: none;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(75, 0, 130, 0.4);
    padding: 15px;
    color: #fff;
}
.btn-custom:hover {
    background: linear-gradient(90deg, #2E004F 0%, #4B0082 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(75, 0, 130, 0.6);
    color: white;
}
.btn-outline-custom {
    border-color: #800080;
    color: #fff;
    background: rgb(143 0 181 / 84%) !important;
    transition: all 0.4s ease;
}
.btn-outline-custom:hover {
    background: #800080;
    color: #fff;
    box-shadow: 0 4px 15px rgba(75, 0, 130, 0.4);
}
.alert-success {
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.2);
    border-radius: 10px;
}
textarea, input[type="text"] {
    resize: vertical;
    border-radius: 10px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}
.stats {
    font-size: 1.2rem;
    color: #e6f0ff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}
.faq-section {
    margin-top: 30px;
}
.accordion-item {
    border: 1px solid #ddd;
    background: #ffffff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.accordion-button {
    background: #4B0082;
    color: #fff;
    border-radius: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
}
.accordion-button:not(.collapsed) {
    background: #800080;
    color: #fff;
    box-shadow: inset 0 -2px 5px rgba(0, 0, 0, 0.2);
}
.accordion-button.collapsed {
    background: #2E004F;
    color: #fff;
}
.accordion-button::after {
    filter: brightness(0) invert(1);
    margin-right: 5px;
}
.accordion-body {
    background: #ffffff;
    color: #333;
    padding: 15px;
    border-radius: 0 0 10px 10px;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
}
hr {
    background-color: #fff;
    padding: 0;
    margin: 50px;
}
hr.hr-1 {
    border: 0;
    height: 3px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgb(128 0 128), rgba(0, 0, 0, 0));
}
.lang-switch {
    position: relative;
    display: block;
    margin: 0 auto;
    text-align: center;
    padding: 20px 0;
}
.lang-switch a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}
.lang-switch a:hover {
    color: #e6f0ff;
}
.flag {
    margin: 3px;
    vertical-align: middle;
    width: 40px;
  height: 25px;
}
.toast-body {
    color: black;
    font-size: 1rem;
    background: white;
    text-align: center;
}
.content-box {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 10px;
    color: #333;
    box-shadow: 0 5px 15px rgb(9 134 224);
    white-space: pre-wrap;
}
#successAlert, #errorAlert {
    transition: all 0.5s ease-in-out;
    transform: translateY(-100%);
    opacity: 0;
}
#successAlert.show, #errorAlert.show {
    transform: translateY(0);
    opacity: 1;
}