/* ==================== Utilities ==================== */
.text-center {
    text-align: center;
}
.hidden {
    display: none !important;
}

/* ==================== Flex Utilities ==================== */
/* Flex Container */
.flex {
    display: flex;
}

/* Center Flex Items */
.flex-center {
    align-items: center;
    justify-content: center;
}

/* Vertical Alignment */
.align-start {
    align-items: flex-start;
}

.align-center {
    align-items: center;
}

.align-end {
    align-items: flex-end;
}

/* Horizontal Alignment */
.justify-start {
    justify-content: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: flex-end;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.justify-evenly {
    justify-content: space-evenly;
}

/* Flex Direction */
.flex-row {
    flex-direction: row;
}

.flex-row-reverse {
    flex-direction: row-reverse;
}

.flex-column {
    flex-direction: column;
}

.flex-column-reverse {
    flex-direction: column-reverse;
}

/* Flex Wrapping */
.flex-wrap {
    flex-wrap: wrap;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.flex-wrap-reverse {
    flex-wrap: wrap-reverse;
}

/* Flex Item Sizing */
.flex-1 {
    flex: 1 1 0%;
}

.flex-grow {
    flex-grow: 1;
}

.flex-shrink {
    flex-shrink: 1;
}

.flex-auto {
    flex: 1 1 auto;
}

/* Align Individual Items */
.align-self-start {
    align-self: flex-start;
}

.align-self-center {
    align-self: center;
}

.align-self-end {
    align-self: flex-end;
}

.align-self-stretch {
    align-self: stretch;
}

/* ==================== Border Radius ==================== */
.rounded-full {
    border-radius: 9999px;
}

.rounded-15 {
    border-radius: 15px;
}

.rounded-13 {
    border-radius: 13px;
}

.rounded-10 {
    border-radius: 10px;
}

.rounded-map {
    border-radius: 15px;
}

.rounded-button {
    border-radius: 50%;
}

.rounded-card {
    border-radius: 40px;
}

.rounded-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.rounded-bottom {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* ==================== Overflow ==================== */
.overflow-hidden {
    overflow: hidden;
}

/* ==================== Layout and Containers ==================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ==================== Input Styles ==================== */
.input-standard {
    border: 1px solid var(--light-gray);
    background-color: var(--very-light-gray);
    padding: 10px 12px;
    font-size: 1rem;
    color: var(--dark-gray);
    outline: none;
    transition: border-color 0.3s ease;
}

.input-standard::placeholder {
    color: var(--gray-main);
    opacity: 0.8;
}

.input-standard:focus {
    border-color: var(--soft-orange);
    background-color: white;
}

.input-standard:focus-within {
    border-color: var(--sunset-orange);
}

/* ==================== Button Styles ==================== */
.btn {
    width: 100%;
    text-align: center;
    border-radius: 13px;
    padding: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
    box-shadow: none;
}

.btn:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.btn:disabled {
    background-color: var(--light-gray);
    color: var(--mid-gray);
    cursor: not-allowed;
    box-shadow: none;
}

/* Primary Button */
.btn-primary {
    background-color: transparent;
    color: inherit;
}

.btn-primary:hover {
    background-color: var(--sunset-orange);
    color: var(--white-main);
    border-color: var(--sunset-orange);
    box-shadow: 0 0 15px rgba(242, 113, 43, 0.6);
}

/* Secondary Button */
.btn-secondary {
    background-color: var(--orange-soft);
    color: white;
    box-shadow: -4px 4px 8px var(--orange-soft);
    font-size: var(--font-small);
    border-color: var(--orange-soft);
}

.btn-secondary:hover {
    box-shadow: -4px 4px 12px var(--orange-soft);
}

.btn-secondary:active {
    background-color: var(--black-light);
    transform: scale(0.95);
}

/* Tertiary Button */
.btn-tertiary {
    background-color: var(--sunset-orange);
    color: var(--white-main);
    box-shadow: -4px 4px 12px var(--orange-soft);
    border-color: var(--orange-soft);
}

.btn-tertiary:hover {
    background-color: var(--light-gray);
    color: var(--mid-gray);
    border-color: var(--light-gray);
    box-shadow: none;
}

/* Dark Button */
.btn-dark {
    background-color: var(--deep-black);
    color: var(--white-main);
    border-color: var(--deep-black);
    box-shadow: -4px 4px 12px var(--deep-black);
}

.btn-dark:hover {
    background-color: var(--gray-light);
    color: var(--deep-black);
    border-color: var(--deep-black);
    box-shadow: none;
}

/* ==================== Responsive Breakpoints ==================== */

@media (min-width: 1536px) {
    .container {
        max-width: 1536px;
        padding: 0 40px;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    .hidden-md {
        display: none;
    }
}
/* موبایل: حداکثر 480px */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 12px;
        width: 100%;
    }

    .rounded-15,
    .rounded-map {
        border-radius: 10px;
    }

    .rounded-13 {
        border-radius: 8px;
    }

    .rounded-10 {
        border-radius: 6px;
    }

    .rounded-card {
        border-radius: 20px;
    }

    .btn {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .hidden-xs {
        display: none;
    }

    .flex-column {
        flex-direction: column;
    }

    .text-center {
        text-align: center;
    }
}

/* تبلت: بین 481px تا 768px */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 0 16px;
        width: 100%;
    }

    .rounded-15,
    .rounded-map {
        border-radius: 12px;
    }

    .rounded-13 {
        border-radius: 10px;
    }

    .rounded-10 {
        border-radius: 8px;
    }

    .rounded-card {
        border-radius: 30px;
    }

    .btn {
        padding: 1rem;
        font-size: 1rem;
    }

    .hidden-sm {
        display: none;
    }

    .flex-wrap {
        flex-wrap: wrap;
    }
}

/* دسکتاپ کوچک: بین 769px تا 1024px */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 20px;
        max-width: 100%;
    }

    .rounded-15,
    .rounded-map {
        border-radius: 15px;
    }

    .rounded-13 {
        border-radius: 13px;
    }

    .rounded-10 {
        border-radius: 10px;
    }

    .rounded-card {
        border-radius: 40px;
    }

    .btn {
        padding: 1.2rem;
        font-size: 1.1rem;
    }

    .hidden-md {
        display: none;
    }

    .justify-center {
        justify-content: center;
    }
}

.img-fix{
    width: 100%;
    height: auto;
}

.block {
    display: block;
}

.message-box {
    position: fixed;
    width: max-content;
    background: green;
    padding: 15px;
    border-radius: 10px;
    color: #fff;
    max-width: max-content;
    right: -400px;
    z-index: 9999999999;
}

.message-box.bg-false {
    background: red;
}

.btnd{
    margin-bottom: var(--spacing-xl);
    display: block;
    width: max-content;
}

.mt{
    margin-top: var(--spacing-xl);
}


/* کارت ها */
.card {
    background-color: var(--white-main);
    padding: var(--spacing-xl);
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
}

.card .card-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-2xl);
}

.card .card-header h3 {
    line-height: 2;
    position: relative;
    font-size: var(--font-large);
    padding-right: var(--spacing-md);
    margin-right: var(--spacing-md);
    color: var(--deep-black);
}

.card .card-header h3::before {
    content: "";
    position: absolute;
    width: 7px;
    background-color: var(--sunset-orange);
    height: 100%;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 9999px;
    box-shadow: 0px 2px 20px 0.5px var(--soft-orange);
}

.card .card-text,
.card .card-title {
    line-height: 1.65;
    font-weight: 600;
}

.card .card-title {
    color: var(--deep-black);
    line-height: 2.2;
}

/* فهرست کارت ها */
.card .card-list {
    margin-bottom: var(--spacing-2xl);
}

.card .card-list-item {
    gap: var(--spacing-sm);
}