

header {
    position: absolute !important;
    background: transparent;
    width: 100%;
    right: 0;
    top: 0;
    /* opacity: 0.8; */
    z-index: 999;
    padding: 1rem 0;
}

.breadcrumb {
    margin-top: 7rem;
    padding: 1rem 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: var(--gray);
}

.breadcrumb-item a {
    color: var(--gray);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--dark);
}

/* Logo Styles */
/* Logo Styles */


.fw-bold{
    font-weight: bold;
}

.fw-bolder{
    font-weight: bolder;
}

.section__main__title-border{
    padding-top: 10px;
}

.nav__logo-name {
    gap: 8px;
}

.nav__logo-name p {
    line-height: 1;
    font-size: 20px;
    font-weight: bold;
    color: var(--dark);
    font-stretch: ultra-expanded;
}

.nav__logo-name small {
    line-height: 1;
    color: var(--gray);
    font-size: 10px;
    font-weight: 400;
}

/* Navigation Items */
.navbar-nav {
    margin-right: auto;
}

header li.nav-item {
    font-weight: 500;
    margin: 0 0.5rem;
}

header li#active_nav {
    border-bottom: 2px solid var(--primary);
}

header li#active_nav a {
    color: var(--dark) !important;
    font-weight: 600;
}

header li a {
    color: var(--gray) !important;
}

header .navbar-toggler {
    border: none;
    display: flex;
    align-items: center;
    color: var(--dark) !important;
}

.toggle__theme-container {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    z-index: 1001;
}

.toggle__theme-container #themeToggle,
#moonIcon,
#sunIcon {
    font-size: 2rem;
}

.toggle__theme-container #moonIcon {
    color: var(--gray);

    font-size: 1.8rem;
}

.toggle__theme-container #sunIcon {
    color: var(--primary);
}

#themeToggle {
    background-color: transparent;
    border: none;
    color: var(--dark);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
    outline: none;
    margin: 0 10px;
}

#themeToggle:hover {
    color: var(--primary);
}

/* ----------------------------- */

.hero-section {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #fff 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero__image-container {
    width: 100%;
    height: 450px;
    max-width: 487px;
    margin: auto;
}

.hero-image {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.hero__image-cover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 50%;
    object-fit: fill;
}

.hero__image-gold__bar {
    position: absolute;
    top: 20px;
    left: 100%;
    z-index: 3;
}

.hero-section h1 {
    line-height: 59px;
    font-size: 38px;
    letter-spacing: 0;
    word-spacing: 0px;
    color: var(--dark);
}

.hero-section p {
    color: var(--gray);
    font-size: 20px;
    font-weight: 400;
    line-height: 40px;
}

.hero-section h1 span {
    background-color: #cc8a00;
    padding: 0 20px;
    border-radius: 11px;
    color: white;
}

/* ----------------- gold calculator--------- */

.gold__calculater {
    /* background: url("/assets/images/gold_calculator_bg-gradiant_with_pattern.png") no-repeat;
    background-position: center;
    background-size: cover; */
    position: relative;
    height: auto;
    width: 100%;
    border-radius: 16px;
    padding: 24px 10px 12px;
    margin-bottom: 40px;
    z-index: 2;
    /* overflow: hidden; */
    background: #fff;
}


.gold__container__cover {
    position: absolute;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.3) 2%, transparent 10%) 0px 0px / 30px 30px repeat, /* ایجاد دایره‌های ریز */
        linear-gradient(to bottom, #fed647, #FFFFFF); /* گرادیانت زرد به سفید */
    height: 85%;
    width: 100%;
    border-radius: 16px;
    z-index: -1;
    inset: 0;
    max-height: 700px;
}


.gold__calc-title {
    margin-top: 22px;
    margin-bottom: 17px;
}

.gold__calc-title h2 {
    color: #121212;
    line-height: 32px;
    font-size: 24px;
    font-weight: bold;
}

.gold__calc-title p {
    color: #121212;
    line-height: 32px;
    font-size: 16px;
    font-weight: 400;
}

.gold__calc-left {
    height: 48px;
}

.gold__calc-search__container {
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    width: 325px;
    height: 100%;
}

.gold__calc-search__container input {
    border: none;
    background-color: transparent;
    outline: none;
    width: 100%;
}

.gold__calc-search__container input::placeholder {
    color: var(--gray);
}

.gold__calc-search__border {
    background-color: #b0b0b0;
    width: 2px;
    height: 20px;
    display: block;
}
.gold__calc-search__container span {
    padding-right: 10px;
    color: var(--gray);
}

.gold__calc-search__btn {
    /* background: var(--dark); */
    /* background: linear-gradient(to right, #292929, #767676); */
    /* color: white; */
    font-size: 18px;
    font-weight: bold;
    /* border: none;
    outline: none; */
    width: 96px;
    /* text-align: center; */
    margin-right: 6px;
    border-radius: 8px;
    height: 100%;
}

.gold__calc-table-container {
    background-color: var(--bg-white);
    border-radius: 24px;
    padding: 24px 40px;
    height: auto;
    box-shadow: var(--shadow-sm);
    overflow-y: hidden;
}

.gold__calc-table__box {
    height: 100%;
    width: 100%;
    overflow-y: scroll;
    scrollbar-width: none;
    scrollbar-color: #888 #f1f1f1;
}

/* Custom scrollbar for Webkit browsers (Chrome, Safari) */
.gold__calc-table__box::-webkit-scrollbar {
    width: 0; /* Width of the scrollbar */
}

.gold__calc-table__box::-webkit-scrollbar-track {
    background: #f1f1f1; /* Background of the track */
}

.gold__calc-table__box::-webkit-scrollbar-thumb {
    background: #888; /* Color of the thumb */
    border-radius: 5px; /* Rounded corners for the thumb */
}

.gold__calc-table__box::-webkit-scrollbar-thumb:hover {
    background: #555; /* Color of the thumb on hover */
}

.gold__calc-table {
    overflow-y: hidden;
    min-width: 500px;
}

.gold__calc-table thead {
    position: sticky;
    top: 0;
    right: 0;
    z-index: 100;
    background: var(--bg-white);
}

.gold__calc-table thead th span {
    color: var(--gray);
    font-size: 14px;
    font-weight: 400;
}

.gold__calc-table thead th button {
    border: none;
    outline: none;
    background-color: transparent;
}
.gold__calc-table thead th button i {
    color: gray;
}

.gold__calc-table tbody .gold__calc-table-branch__name img {
    width: 32px;
    margin-left: 5px;
}

.gold__calc-table tbody .gold__calc-table-branch__name p {
    color: #121212;
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
}

.gold__calc-table tbody .gold__calc-table-branch__name small {
    width: 32px;
    padding: 0;
    white-space: nowrap;
    font-size: 12px;
    color: var(--gray);
}

tr:not(:first-child) td.gold__calc-table-branch__name {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    padding-right: 23px !important;
}

tr:first-child td.gold__calc-table-branch__name {
    border-top-right-radius: 19px;
    border-bottom-right-radius: 30px;
    padding-right: 23px !important;
}

tr:not(:first-child) td.gold__calc-table-display__btn.align-middle {
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

tr:first-child td.gold__calc-table-display__btn.align-middle {
    border-top-left-radius: 22px;
    border-bottom-left-radius: 30px;
}

.gold__calc-table-buy__price {
    color: #22c55e;
    font-size: 14px;
    font-weight: bold;
}

.gold__calc-table-sell__price {
    color: var(--dark);
    font-size: 14px;
    font-weight: bold;
}.gold__calc-table-buy__price {
    color: #22c55e;
    font-size: 14px;
    font-weight: bold;
}

.gold__calc-table-sell__price {
    color: var(--dark);
    font-size: 14px;
    font-weight: bold;
}
.gold__calc-table-commission {
    color: var(--dark);
    font-size: 14px;
}

.gold__calc-table-changes div {
    font-size: 14px;
    font-weight: bold;
    vertical-align: middle;
}

.gold__calc-table-changes div.increase {
    color: #22c55e;
    white-space: nowrap;
}
.gold__calc-table-changes div.decrease {
    color: #ef4444;
    white-space: nowrap;
}

.gold__calc-table-display__btn button {
    /* background-color: #ffaa00;
    color: var(--dark);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500; */
}

/* &&& */
/* Add this to your existing CSS */

.gold__calc-table tbody tr {
    margin-bottom: 8px; /* Adjust this value to increase/decrease space between rows */
}

.gold__calc-table tbody tr:last-child {
    margin-bottom: 0; /* Remove margin from the last row */
}

.gold__calc-table tbody td {
    padding: 10px;
    background-color: #efefef;
    border-bottom: 11px solid var(--bg-white);
    transition: all 0.3s ease-in;
}

.gold__calc-table tbody tr:hover td {
    background-color: #dbd8d8;
    cursor: pointer;
}

.gold__calc-table tbody tr:last-child td {
    border-bottom: none;
}

/* Optional: If you want to remove any existing borders */
.gold__calc-table,
.gold__calc-table tr,
.gold__calc-table td,
.gold__calc-table th {
    border: none;
}

/* Ensure the header stays at the top */
.gold__calc-table thead {
    position: sticky;
    top: 0;
    background-color: var(--bg-white);
    z-index: 1;
}

/* Add some padding to the header cells for better appearance */
.gold__calc-table thead th {
    padding: 10px;
    background-color: var(--bg-white);
}

.gold__calc-table thead th i {
}

td.gold__calc-table-branch__name {
    position: sticky;
    right: 0;
    /* z-index: 10; */
}

th.sticky-column {
    position: sticky;
    right: 0;
    top: 0;
    z-index: 100 !important;
    background: var(--bg-white);
}

/* --------------------------- */

.comments {
    margin: 70px 0;
}

.section__main__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.section__main__title h1 , .section__main__title h2, .section__main__title h3{
    color: var(--dark);
    font-size: 24px;
    font-weight: bold;
    line-height: 32px;
}


.comments__testimonial-card {
    max-width: 424px;
    height: 220px;
    padding: 16px 16px;
    background-color: var(--bg-white);
    border-radius: 1rem;
    /* box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); */
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    overflow: hidden;
    margin: auto;
    box-shadow: var(--shadow-md);
}

.comments__testimonial-card__header-name h4 {
    color: var(--dark);
    font-size: 1rem;
    line-height: 28px;
    letter-spacing: 0;
    font-weight: bold;
    margin: 0;
}

.comments__testimonial-card__header-name small {
    color: var(--gray);
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0;
}

.comments__testimonial-card__header-logo {
    background: var(--bg-color);
    border-radius: 24px;
    padding: 4px 12px;
}

.comments__testimonial-card__header-logo img {
    width: 24px;
}

.comments__testimonial-card__header-logo p {
    font-size: 12px;
    line-height: 24px;
    color: var(--dark);
    font-weight: bold;
    word-spacing: 0;
}

.comments__testimonial-card__header-logo small {
    font-size: 10px;
    color: var(--gray);
}

.comments__testimonial-card__desc {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray);
    text-align: justify;
    letter-spacing: 0;
    margin-top: 8px;
}

.comments__testimonial-card__rating {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-top: 8px;
}

.comments__testimonial-card__rating p {
    color: var(--dark);
    font-weight: bold;
}

.comments__testimonial-card__rating img {
    width: 20px;
    height: 20px;
}

.comments__testimonial-card__rating i {
    color: #ffaa00;
}
/* ---------------------------------------- */

/* articles */

.articles__featured-article {
    border-radius: 1rem;
    overflow: hidden;
    background-color: var(--bg-white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.articles__featured-article img {
    width: 100%;
    height: 100%;
    max-height: 344px;
    object-fit: cover;
}

.articles__featured-article h3 {
    font-size: 20px;
    font-weight: bold;
    line-height: 32px;
    margin-bottom: 12px;
    transition: all 0.3s;
    color: var(--dark);
    margin-bottom: 12px;
}
.articles__featured-article p {
    font-size: 16px;
    color: var(--gray);
    font-weight: 400;
}

.articles__article-card {
    display: flex;
    background-color: var(--bg-white);
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.2s;
}

.articles__article-card h4:hover {
    color: #ffaa00;
    cursor: pointer;
}

.articles__article-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.article-date {
    color: var(--gray);
    font-size: 14px;
}

.articles__article-icon {
    width: 24px !important;
    height: 24px !important;
}

.articles__article-card h4 {
    font-size: 16px;
    color: var(--dark);
    font-weight: bold;
}
.articles__article-card a {
    color: var(--dark);

}


.articles__article-card p {
    font-size: 14px;
    color: var(--gray);
    font-weight: 400;
    margin-bottom: 14px;
}

/* ******************* features ************/
.features {
    margin-top: 100px;
}

.features__container {
    max-width: 1000px;
    margin: 0 auto;
}

.features__container-main__title {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 32px;
    letter-spacing: 0;
    margin-bottom: 16px;
    color: var(--dark);
}

.features__container-main__title-highlight {
    color: #b86a09;
}

.features__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
    padding-right: 0;
    color: var(--gray);
    font-weight: 400;
}

.feature__icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.features__show-more-btn {
    background: none;
    border: none;
    color: #b86a09;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem auto;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: opacity 0.2s;
    font-size: 16px;
}

.features__show-more-btn:hover {
    opacity: 0.8;
}

.features__arrow-icon {
    width: 16px;
    height: 16px;
}

.features__list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.features__list.collapsed {
    max-height: 330px; /* Adjust this value based on the height of 6 items */
}

.feature__item {
    margin-bottom: 10px;
    opacity: 1;
    transition: opacity 0.2s ease-out;
}

.features__show-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    cursor: pointer;
    outline: none;
    border: none;
}

.features__arrow-icon {
    transition: transform 0.2s ease-out;
}

.features__show-more-btn.expanded .features__arrow-icon {
    transform: rotate(180deg);
}

/* ============ gold chart ============== */

.gold__chart {
    margin-bottom: 60px;
}

.gold__chart-container {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 20px;
}

.gold__chart-header {
    padding-bottom: 14px;
    /* border-bottom: 1px solid #eee; */
}

.gold__chart-price {
    display: flex;
    gap: 15px;
    align-items: center;
}

.gold__chart-price__detail h5 {
    color: var(--gray);
    font-size: 14px;
    line-height: 28px;
    margin: 0;
}

.gold__chart-price__detail p {
    color: var(--dark);
    font-size: 16px;
    font-weight: bold;
    line-height: 28px;
}

.gold__chart-price__changes h5 {
    color: var(--gray);
    font-size: 14px;
    line-height: 28px;
    margin: 0;
}

.gold__chart-price__changes i {
    font-size: 13px;
}

.gold__chart-price--high,
.gold__chart-price--low {
    font-size: 0.9rem;
    color: #666;
}

.gold__chart-price--change {
    font-weight: 600;
}

.gold__chart-filters {
    background-color: #f5f5f5;

    border-radius: 12px;
}

.gold__chart-filters .btn-group {
    font-size: 14px;
    padding: 8px 24px;
    /* color: var(--dark); */
}

.gold__chart-filters .btn-group .btn.active {
    /* background-color: #1e1b39; */
    /* color: white; */
    /* border-radius: 12px; */
    text-wrap: nowrap;
}

.gold__chart-wrapper {
    height: 400px;
    position: relative;
}

/* Info Container Styles */
.gold__info-container {
    padding: 20px;
}

.gold__info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.gold__info-title span {
    color: #cc8a00;
}

.gold__info-description {
    color: #666;
    font-size: 1rem;
}

/* CTA Box Styles */
.gold__cta-box {
    background-color: #ffe17d;
    border-radius: 12px;
    padding: 24px;
    margin-top: 20px;
}

.gold__cta-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.gold__cta-description {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 20px;
}

.gold__cta-buttons .btn {
    padding: 12px 24px;
    font-weight: 500;
}

.gold__cta-buttons .btn-outline-dark:hover {
    background-color: #f8f9fa;
    color: #212529;
}

/* ---------------FAQ ------------------------*/
.faq {
    position: relative;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.faq .faq_cover-img {
    position: absolute;
    right: 0;
    top: 0;
    width: 164px;
    height: 164px;
}

.faq .accordion {
    max-width: 900px;
    margin: 32px auto 0;
    border-radius: 12px;
    padding: 20px;
}

.faq .accordion-item {
    box-shadow: var(--shadow-sm);
    margin: 8px 0;
}

.faq .accordion-button {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark);
    font-size: 16px;
    font-weight: bold;
    background-color: var(--bg-white);
}
.faq .accordion-button .toggle-icon-plus,
.faq .accordion-button .toggle-icon-minus {
    font-size: 16px;
    transition: opacity 0.3s ease;
    margin-right: 7px;
}

.faq .accordion-button .toggle-icon-minus {
    font-size: 16px;
    display: none;
}

.faq .accordion-button:not(.collapsed) {
    color: #b86a09;
    background-color: var(--bg-white);
    border: 0;
}

.faq .accordion-button:not(.collapsed) .toggle-icon-plus {
    display: none;
}

.faq .accordion-button:not(.collapsed) .toggle-icon-minus {
    display: inline-block;
}

.faq .accordion-button:focus {
    border: 0;
    box-shadow: none;
    outline: none;
}

.faq .accordion-button::after {
    display: none;
}

.faq .accordion-body {
    color: var(--gray);
    font-size: 14px;
    background-color: var(--bg-white);
}

/* =============================footer */
/* Footer Styles */

.footer {
    position: relative;
}

.footer__contact-btn {
    position: absolute;
    bottom: 100%;
    right: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: none;
    outline: none;
    background: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer__contact-btn:hover {
    transform: scale(1.05);
}

.footer__contact-btn i {
    font-size: 28px;
    color: white;
}

.footer__logo p {
    color: var(--dark);
    font-weight: bold;
}

/* Logo Styles */
.footer__logo-img {
    max-height: 40px;
    width: auto;
}

/* Navigation Styles */
.footer__nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__nav-link {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer__nav-link:hover {
    color: #666;
}

/* Social Media Styles */
.footer__social-item {
    background-color: #fff2c9;
    opacity: 0.8;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.footer__social-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__social-item a {
    padding-top: 3px;
}

.footer__social-item a i {
    font-size: 24px;
    transition: opacity 0.3s ease;
    color: #b86a09;
}

.footer__social-link:hover i {
    opacity: 0.7;
}
/* ===================== media queries =============== */
a {
    text-decoration:none;
}

.btn-exchange {
    width: 170px;
}

.content p {
    margin-top: 0 !important;
    margin-bottom: 5px !important;
    line-height: 30px;
}

.content h3  {
    font-size: 25px;
    font-weight: bold;
}



.content ol{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.content li{
    list-style-type: disc !important;
    line-height: 30px;
}


.content h3 , .content h2 , .content h4{
    padding-bottom: 10px;
}
/* For screens wider than 1200px */
@media (min-width: 1201px) {
    .nav-item {
        margin: 0 1rem;
    }

    .navbar-nav {
        margin-right: 3rem;
        margin-left: 3rem;
    }
    .gold__calc-table th,
    .gold__calc-table td {
        white-space: nowrap; /* جلوگیری از رفتن متن به خط بعدی */
    }
}

/* For large screens up to max-width of 1200px */
@media (max-width: 1200px) {
    .nav-item {
        margin: 0 0.5rem;
    }

    .navbar-nav {
        margin-right: 2rem;
        margin-left: 2rem;
    }
    .gold__calc-table th,
    .gold__calc-table td {
        white-space: nowrap; /* جلوگیری از رفتن متن به خط بعدی */
    }
}

/* For medium screens up to max-width of 992px */
@media (max-width: 992px) {
    .toggle__theme-container {
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .home {
        padding: 8px 40px;
    }
    .navbar {
        background-color: #fff;
        position: sticky;
        top: 0;
        z-index: 1000;
        /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        padding: 1rem 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .navbar-nav {
        margin: 0 auto;
        padding: 0;
    }

    .nav-item {
        padding: 0.5rem 0;
        border-bottom: 1px solid #eee;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    /* Fix for the page shift issue */
    body {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    /* Prevent content shift when menu opens */
    .navbar-toggler[aria-expanded="true"] {
        margin-bottom: 0;
    }

    .hero-section h1 {
        text-align: center;
    }

    /* Custom animation for collapse */
    .collapse:not(.show) {
        display: none !important;
    }

    .collapsing {
        height: 0;
        overflow: hidden;
        transition: height 0.35s ease;
    }

    .social-icons {
        margin-top: 1rem;
        justify-content: center;
    }

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

    .gold__info-container {
        margin-top: 20px;
    }

    /* =========================================================================== */
    /* @#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
    /* ------------------ Gold Calculateor ----------------------- */

    .gold__calculater {
        /* height: 740px; */
    }
    .gold__calc-table th,
    .gold__calc-table td {
        white-space: nowrap; /* جلوگیری از رفتن متن به خط بعدی */
    }
}

@media (max-width: 768px) {
    .toggle__theme-container {
        left: 45%;
        transform: translate(-50%, -50%);
    }

    .toggle__theme-container #themeToggle,
    #moonIcon,
    #sunIcon {
        font-size: 1.6rem;
    }
    .home {
        padding: 8px 24px;
    }

    .hero-section p {
        color: var(--gray);
        font-size: 18px;
        font-weight: 400;
        line-height: 34px;
    }

    .hero__image-container {
        width: 80%;
        height: 310px;
        max-width: 479px;
        margin: 0 auto;
    }

    .hero__image-gold__bar {
        left: 88%;
    }

    .featured-article {
        margin-bottom: 2rem;
    }

    .featured-article img {
        height: 250px;
    }

    .main-title {
        font-size: 1.25rem;
    }

    .feature-item {
        font-size: 0.9rem;
    }

    /* =========================================================================== */
    /* @#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
    /* ------------------ Gold Calculateor ----------------------- */

    .gold__calculater {
        /* height: 710px; */
    }

    .gold__calc-title h2 {
        line-height: 25px;
        font-size: 20px;
    }

    .gold__calc-title p {
        line-height: 20px;
        font-size: 14px;
    }

    .gold__calculater {
        padding: 14px 2px 8px;
    }

    .gold__calc-table-container {
        padding: 16px 20px;
    }

    .gold__calc-search__container {
        width: 100%;
    }

    .gold__calc-search__btn {
        font-size: 16px;
    }
    .gold__calc-search__container input::placeholder {
        font-size: 14px;
    }

    .gold__calc-table tbody .gold__calc-table-branch__name img {
        width: 26px;
    }

    .gold__calc-table tbody .gold__calc-table-branch__name p {
        font-size: 12px;
        line-height: 20px;
    }

    .gold__calc-table tbody .gold__calc-table-branch__name small {
        font-size: 10px;
    }

    .gold__calc-table-buy__price,
    .gold__calc-table-sell__price,
    .gold__calc-table-commission,
    .gold__calc-table-changes div {
        font-size: 12px;
        font-weight: 500;
    }

    .gold__calc-table-display__btn button {
        padding: 6px 12px;
        font-size: 12px;
        font-weight: 500;
    }
    .gold__calc-table thead th span {
        font-size: 12px;
    }

    .gold__calc-table thead th button img {
        width: 14px;
        height: 14px;
    }
    .gold__calc-table th,
    .gold__calc-table td {
        white-space: nowrap; /* جلوگیری از رفتن متن به خط بعدی */
    }
    /* =========================================================================== */
    /* @#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
    /* ------------------ Articles ----------------------- */

    .articles__featured-article h3 {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 8px;
    }

    .articles__featured-article p {
        font-size: 14px;
    }

    .articles__article-icon {
        width: 16px !important;
        height: 16px !important;
    }

    .articles__article-card {
        padding: 8px;
    }

    .articles__article-card img {
        width: 80px;
        height: 80px;
    }

    .articles__article-card h4 {
        font-size: 16px;
    }

    .articles__article-card p {
        font-size: 14px;
        line-height: 18px;
    }

    .article-date {
        font-size: 12px;
    }

    .features {
        margin-top: 40px;
    }

    .gold__chart-info {
        width: 100%;
    }

    .gold__chart-price {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
    }

    .gold__chart-price__detail p {
        font-size: 14px;
        line-height: 25px;
    }
    .gold__calc-table th,
    .gold__calc-table td {
        white-space: nowrap; /* جلوگیری از رفتن متن به خط بعدی */
    }
}

@media screen and (max-width: 576px) {
    .home {
        padding: 8px 10px;
    }


    .nav__logo-name {
        align-items: flex-start !important;
    }

    .nav__logo-name p {
        line-height: 8px;
        font-size: 16px;
    }
    .hero-section {
        padding: 1rem 0;
    }

    .hero-section h1 {
        line-height: 46px;
        text-align: center;
        word-spacing: 2px;
        font-size: 24px;
        margin-bottom: 10px;
    }

    .hero-section p {
        color: var(--gray);
        font-size: 16px;
        font-weight: 400;
        line-height: 34px;
    }

    /* =========================================================================== */
    /* @#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
    /* ------------------ comments ----------------------- */

    .section__main__title h2 {
        font-size: 20px;
        line-height: 25px;
    }

    /* =========================================================================== */
    /* @#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
    /* ------------------ Gold chart ----------------------- */

    .gold__chart {
        margin-bottom: 30px;
    }

    #goldChart,
    .gold__chart-wrapper {
        height: 270px !important;
    }

    .gold__chart-container {
        padding: 8px 4px;
    }
    .gold__chart-price__detail p {
        font-size: 14px;
    }

    .gold__chart-price {
        margin: 0 auto;
    }

    .gold__chart-filters {
        margin: 0 auto;
    }

    .gold__chart-filters .btn-group .btn {
        font-size: 12px;
        padding: 5px 18px;
    }

    .gold__info-title {
        font-size: 20px;
        text-align: center;
        margin-bottom: 0.8rem !important;
    }

    .gold__info-description {
        color: var(--gray);
        font-size: 14px;
        text-align: center;
        margin-bottom: 10px !important;
    }

    .gold__cta-title {
        font-size: 16px;
    }

    .gold__cta-description {
        font-size: 14px;
    }

    /* =========================================================================== */
    /* @#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
    /* ------------------ F A Q ----------------------- */
    .faq .accordion-button {
        font-size: 14px;
        text-align: right;
    }
    img.toggle-icon.collapsed {
        width: 18px;
        height: 18px;
    }

    .faq .accordion-body {
        font-size: 12px;
    }

    .faq .accordion-button .toggle-icon {
        width: 18px;
        height: 18px;
    }

    .faq .faq_cover-img {
        position: absolute;
        right: -30px;
        top: -32px;
    }
    .faq .accordion {
        margin: 16px auto;
    }

    .accordion-item:not(:first-of-type) {
        border-top: 1px solid white !important;
    }
    /* =========================================================================== */
    /* @#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
    /* ------------------ features ----------------------- */

    .features__container-main__title {
        font-size: 20px;
        line-height: 29px;
        margin-bottom: 10px;
        text-align: center;
    }

    .feature__item {
        font-size: 14px;
    }

    .footer__social-item {
        width: 32px;
        height: 32px;
    }
    .footer__social-icon {
        width: 17px;
        height: 17px;
    }
    .gold__calc-table th,
    .gold__calc-table td {
        white-space: nowrap; /* جلوگیری از رفتن متن به خط بعدی */
    }
}
