/*:root {*/
/*    --primary-color: #0a53be;*/
/*    --text-color: #333;*/
/*    --white: #fff;*/
/*    --shadow: 0 2px 10px rgba(0,0,0,0.1);*/
/*}*/

/** {*/
/*    box-sizing: border-box;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*}*/

/*body {*/
/*    font-family: 'Plus Jakarta Sans', Tahoma, sans-serif;*/
/*    line-height: 1.6;*/
/*    overflow-x: hidden;*/
/*}*/

/* ناوبری - بهبود یافته */
/*.navbar {*/
/*    background-color: var(--white) !important;*/
/*    box-shadow: var(--shadow);*/
/*    padding: 8px 0;*/
/*    position: fixed;*/
/*    top: 0;*/
/*    width: 100%;*/
/*    z-index: 1000;*/
/*    min-height: 70px;*/
/*}*/

/*.navbar-brand {*/
/*    margin-left: 1%;*/
/*    display: flex;*/
/*    align-items: center;*/
/*}*/

/*.navbar-brand img.logo {*/
/*    width: 100px; */
/*    height: auto;*/
/*    transition: all 0.3s ease;*/
/*    object-fit: contain;*/
/*}*/

/*.navbar-toggler {*/
/*    border: 1px solid rgba(0,0,0,0.1);*/
/*    padding: 6px 8px;*/
/*    margin-left: 10px;*/
/*}*/

/*.navbar-toggler:focus {*/
/*    box-shadow: none;*/
/*    outline: 2px solid var(--primary-color);*/
/*}*/

/*.navbar-toggler img {*/
/*    width: 18px;*/
/*    height: 18px;*/
/*}*/

/*.navbar-nav {*/
/*    align-items: center;*/
/*}*/

/*.navbar-nav .nav-link {*/
/*    color: var(--text-color) !important;*/
/*    padding: 8px 12px;*/
/*    font-size: 14px;*/
/*    transition: all 0.3s ease;*/
/*    border-radius: 5px;*/
/*    margin: 0 2px;*/
/*}*/

/*.navbar-nav .nav-link:hover,*/
/*.navbar-nav .nav-link.active {*/
/*    color: var(--primary-color) !important;*/
/*    background-color: rgba(10, 83, 190, 0.1);*/
/*}*/

/* منوی dropdown بهبود یافته */
/*.navbar-nav .dropdown-menu {*/
/*    border: none;*/
/*    box-shadow: var(--shadow);*/
/*    border-radius: 8px;*/
/*    padding: 10px 0;*/
/*    min-width: 200px;*/
/*}*/

/*.navbar-nav .dropdown-item {*/
/*    padding: 8px 15px;*/
/*    font-size: 14px;*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.navbar-nav .dropdown-item:hover {*/
/*    background-color: var(--primary-color);*/
/*    color: white;*/
/*}*/

/* بخش اصلی */
/*main {*/
/*    margin-top: 70px; */
/*    padding: 0 10px;*/
/*}*/

/*.hero-section {*/
/*    width: 150%;*/
/*    اHEIGHT:100%;*/
/*    padding: 1.5rem 0;*/
/*    text-align: center;*/
/*    background-color: aqua;*/
/*}*/

/*.hero-section h1 {*/
/*    color: var(--primary-color);*/
/*    margin-bottom: 1rem;*/
/*    font-size: 1.8rem;*/
/*    font-weight: 700;*/

/*}*/

/*.hero-section p {*/
/*    font-size: 1.1rem;*/
/*    margin-bottom: 1.5rem;*/
/*    color: var(--text-color);*/
/*    line-height: 1.8;*/
/*    margin-right: 20%;*/
/*}*/


/*.hero-section .image {*/
/*    width: 150%;*/
/*    margin-top: 1.5rem;*/
/*}*/

/*.hero-section .image img {*/
/*    width: 100%;*/
/*    max-width: 800px; */
/*    height: auto;*/
/*    border-radius: 10px;*/
/*}*/

/* فرم جستجو بهبود یافته */
/*.search-form {*/
/*    margin: 8px 0;*/
/*}*/

/*.search-form .input-group {*/
/*    direction: ltr;*/
/*    max-width: 300px;*/
/*}*/

/*.search-form .form-control {*/
/*    border: 1px solid #ddd;*/
/*    padding: 8px 12px;*/
/*    font-size: 14px;*/
/*}*/

/*.search-form .form-control:focus {*/
/*    border-color: var(--primary-color);*/
/*    box-shadow: 0 0 0 0.2rem rgba(10, 83, 190, 0.25);*/
/*}*/

/*.search-form .btn {*/
/*    background: var(--primary-color);*/
/*    border-color: var(--primary-color);*/
/*    padding: 8px 15px;*/
/*}*/

/* فوتر بهبود یافته */
/*.site-footer {*/
/*    background: linear-gradient(135deg, #2c3e50, #4a6572);*/
/*    padding: 2rem 0 1rem;*/
/*    color: var(--white);*/
/*    margin-top: 2rem;*/
/*    font-size: 0.9rem;*/
/*}*/

/*.footer-section {*/
/*    margin-bottom: 1.5rem;*/
/*    padding: 0 15px;*/
/*}*/

/*.footer-section em {*/
/*    display: block;*/
/*    margin-bottom: 1rem;*/
/*    font-size: 1rem;*/
/*    color: #ecf0f1;*/
/*}*/

/*.contact-info a {*/
/*    color: var(--white);*/
/*    text-decoration: none;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    margin-bottom: 0.8rem;*/
/*    transition: all 0.3s ease;*/
/*    padding: 5px 0;*/
/*}*/

/*.contact-info a:hover {*/
/*    color: #3498db;*/
/*    transform: translateX(-5px);*/
/*}*/

/*.contact-info a img {*/
/*    width: 20px;*/
/*    margin-left: 8px;*/
/*}*/

/*.social-icon {*/
/*    display: flex;*/
/*    gap: 8px;*/
/*    margin-top: 1rem;*/
/*    justify-content: center;*/
/*}*/

/*.social-icon-link {*/
/*    width: 35px;*/
/*    height: 35px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    background: rgba(255,255,255,0.1);*/
/*    border-radius: 50%;*/
/*    transition: all 0.3s ease;*/
/*    text-decoration: none;*/
/*}*/

/*.social-icon-link:hover {*/
/*    background: rgba(255,255,255,0.2);*/
/*    transform: translateY(-2px);*/
/*}*/

/* دکمه‌های بهبود یافته */
/*.btn {*/
/*    transition: all 0.3s ease;*/
/*    border: none;*/
/*    padding: 10px 20px;*/
/*    font-size: 14px;*/
/*    border-radius: 6px;*/
/*}*/

/*.btn:hover {*/
/*    transform: translateY(-2px);*/
/*    box-shadow: 0 4px 12px rgba(0,0,0,0.15);*/
/*}*/

/*.btn-primary {*/
/*    background: var(--primary-color);*/
/*}*/

/* ==================== */
/* رسپانسیو برای تبلت */
/* ==================== */
/*@media (max-width: 991.98px) {*/
/*    .navbar-brand img.logo {*/
/*        width: 80px; */
/*    }*/

/*    .navbar-collapse {*/
/*        background: var(--white);*/
/*        padding: 15px;*/
/*        margin-top: 10px;*/
/*        border-radius: 8px;*/
/*        box-shadow: var(--shadow);*/
/*        border: 1px solid #eee;*/
/*    }*/

/*    .navbar-nav .nav-item {*/
/*        margin-bottom: 5px;*/
/*        text-align: right;*/
/*    }*/

/*    .navbar-nav .nav-link {*/
/*        padding: 10px 15px;*/
/*        font-size: 15px;*/
/*        border-bottom: 1px solid #f8f9fa;*/
/*    }*/

/*    .navbar-nav .nav-link:last-child {*/
/*        border-bottom: none;*/
/*    }*/

/*    .search-form {*/
/*        margin: 15px 0 10px;*/
/*    }*/

/*    .search-form .input-group {*/
/*        max-width: 100%;*/
/*    }*/

/*    .hero-section h1 {*/
/*        font-size: 1.6rem;*/
/*    }*/

/*    .hero-section p {*/
/*        font-size: 1rem;*/
/*    }*/

/*    .hero-section .image img {*/
/*        max-width: 350px;*/
/*    }*/
/*}*/

/* ==================== */
/* رسپانسیو برای موبایل */
/* ==================== */
/*@media (max-width: 767.98px) {*/
/*    main {*/
/*        margin-top: 60px; */
/*        padding: 0 8px;*/
/*    }*/

/*    .navbar {*/
/*        padding: 6px 0;*/
/*        min-height: 60px;*/
/*    }*/

/*    .navbar-brand img.logo {*/
/*        width: 60px;*/
/*    }*/

/*    .navbar-toggler {*/
/*        padding: 5px 7px;*/
/*        margin-left: 8px;*/
/*    }*/

/*    .navbar-toggler img {*/
/*        width: 16px;*/
/*        height: 16px;*/
/*    }*/

/*    .navbar-collapse {*/
/*        padding: 12px;*/
/*        margin: 8px -8px 0;*/
/*        border-radius: 0 0 8px 8px;*/
/*    }*/

/*    .hero-section {*/
/*        padding: 1rem 0;*/
/*    }*/

/*    .hero-section h1 {*/
/*        font-size: 1.4rem;*/
/*        margin-bottom: 0.8rem;*/
/*    }*/

/*    .hero-section p {*/
/*        font-size: 0.95rem;*/
/*        margin-bottom: 1rem;*/
/*        line-height: 1.6;*/
/*    }*/

/*    .hero-section .btn {*/
/*        width: 100%;*/
/*        margin-bottom: 0.8rem;*/
/*        padding: 12px 20px;*/
/*        font-size: 14px;*/
/*    }*/

/*    .hero-section .image {*/
/*        margin-top: 1rem;*/
/*    }*/

/*    .hero-section .image img {*/
/*        max-width: 350px;*/
/*    }*/

/*    .site-footer {*/
/*        padding: 1.5rem 0 0.5rem;*/
/*        margin-top: 1.5rem;*/
/*        font-size: 0.85rem;*/
/*    }*/

/*    .footer-section {*/
/*        margin-bottom: 1rem;*/
/*        text-align: center;*/
/*    }*/

/*    .footer-section em {*/
/*        font-size: 0.95rem;*/
/*    }*/

/*    .contact-info a {*/
/*        justify-content: center;*/
/*        font-size: 0.9rem;*/
/*        margin-bottom: 0.6rem;*/
/*    }*/

/*    .contact-info a img {*/
/*        width: 18px;*/
/*        margin-left: 6px;*/
/*    }*/

/*    .social-icon {*/
/*        gap: 6px;*/
/*    }*/

/*    .social-icon-link {*/
/*        width: 32px;*/
/*        height: 32px;*/
/*    }*/
/*}*/

/* ============================ */
/* برای موبایل‌های بسیار کوچک */
/* ============================ */
/*@media (max-width: 575.98px) {*/
/*    .navbar-brand img.logo {*/
/*        width: 50px; */
/*    }*/

/*    .navbar-toggler {*/
/*        padding: 4px 6px;*/
/*    }*/

/*    .navbar-toggler img {*/
/*        width: 14px;*/
/*        height: 14px;*/
/*    }*/

/*    .hero-section h1 {*/
/*        font-size: 1.3rem;*/
/*    }*/

/*    .hero-section p {*/
/*        font-size: 0.9rem;*/
/*    }*/

/*    .hero-section .image img {*/
/*        max-width: 220px;*/
/*    }*/

/*    .site-footer {*/
/*        font-size: 0.8rem;*/
/*    }*/





/*    .contact-info a span {*/
/*        font-size: 0.85rem;*/
/*    }*/

/*     بهبود نمایش شماره تلفن‌ها */
/*    .phone-number {*/
/*        direction: ltr;*/
/*        text-align: center;*/
/*        display: block;*/
/*        font-family: monospace;*/
/*        font-size: 0.9rem;*/

/*    }*/
/*}*/

/*@media (max-width: 360px) {*/
/*    .navbar-brand img.logo {*/
/*        width: 45px; */
/*    }*/

/*    .hero-section h1 {*/
/*        font-size: 1.2rem;*/
/*    }*/

/*    .hero-section .image img {*/
/*        max-width: 180px;*/
/*    }*/

/*    main {*/
/*        margin-top: 55px;*/
/*        padding: 0 5px;*/
/*    }*/

/*    .navbar {*/
/*        padding: 5px 0;*/
/*        min-height: 55px;*/
/*    }*/
/*}*/

/* ==================== */
/* بهبودهای خاص */
/* ==================== */

/* رفع مشکل direction برای شماره تلفن */
/*.phone-number {*/
/*    direction: ltr;*/
/*    text-align: left;*/
/*    display: inline-block;*/
/*    font-family: 'Courier New', monospace;*/
/*    unicode-bidi: plaintext;*/

/*}*/

/* بهبود نمایش در مرورگرهای مختلف */
/*.img-fluid {*/
/*    max-width: 100%;*/
/*    height: auto;*/
/*    display: block;*/
/*}*/

/* جلوگیری از FOUC (Flash of Unstyled Content) */
/*.js .navbar-collapse {*/
/*    display: none;*/
/*}*/

/*.js .navbar-collapse.show {*/
/*    display: block;*/
/*}*/

/* بهبود دسترسی‌پذیری */
/*@media (prefers-reduced-motion: reduce) {*/
/*    * {*/
/*        animation-duration: 0.01ms !important;*/
/*        animation-iteration-count: 1 !important;*/
/*        transition-duration: 0.01ms !important;*/
/*    }*/
/*}*/

/* focus styles برای دسترسی‌پذیری بهتر */
/*.navbar-toggler:focus,*/
/*.nav-link:focus,*/
/*.btn:focus,*/
/*.form-control:focus {*/
/*    outline: 2px solid var(--primary-color);*/
/*    outline-offset: 2px;*/
/*}*/

/* بهبود نمایش در حالت landscape موبایل */
/*@media (max-height: 500px) and (orientation: landscape) {*/
/*    .navbar {*/
/*        position: relative;*/
/*    }*/

/*    main {*/
/*        margin-top: 0;*/
/*    }*/

/*    .navbar-collapse {*/
/*        max-height: 200px;*/
/*        overflow-y: auto;*/
/*    }*/
/*}*/

/* پشتیبانی از مرورگرهای قدیمی */
/*@supports not (display: flex) {*/
/*    .navbar-brand {*/
/*        float: right;*/
/*    }*/

/*    .navbar-toggler {*/
/*        float: left;*/
/*    }*/
/*}*/


:root {
    --primary-color: #0a53be;
    --text-color: #333;
    --white: #fff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', Tahoma, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ناوبری - بهبود یافته و کاملاً ریسپانسیو */
.navbar {
    background-color: var(--white) !important;
    box-shadow: var(--shadow);
    padding: 8px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    min-height: 70px;
    
}

.navbar-brand {
    margin-left: 1%;
    display: flex;
    align-items: center;
}

.navbar-brand img.logo {
    width: 100px; 
    height: auto;
    transition: all 0.3s ease;
    object-fit: contain;
}

.navbar-toggler {
    border: 1px solid rgba(0,0,0,0.1);
    padding: 6px 8px;
    margin-left: 10px;
    background: none;
    cursor: pointer;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: 2px solid var(--primary-color);
}

.navbar-toggler img {
    width: 18px;
    height: 18px;
}

.navbar-nav {
    align-items: center;
    text-align: right;
}

.navbar-nav .nav-link {
    color: var(--text-color) !important;
    padding: 8px 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 0 2px;
    text-align: right;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(10, 83, 190, 0.1);
}

/* منوی dropdown بهبود یافته */
.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: var(--shadow);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    text-align: right;
}

.navbar-nav .dropdown-item {
    padding: 8px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: right;
}

.navbar-nav .dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}

/* بخش اصلی */
main {
    margin-top: 70px; 
    padding: 0 10px;
}

/* هیرو سکشن ریسپانسیو */
.hero-section {
    width: 100%;
    padding: 1.5rem 0;
    text-align: center;
    background-color: aqua;
    display: flex;
    flex-direction: column;
}

.hero-section h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.8;
}

.hero-section .image {
    width: 100%;
    margin-top: 1.5rem;
}

.hero-section .image img {
    width: 100%;
    max-width: 800px; 
    height: auto;
    border-radius: 10px;
}

/* فرم جستجو بهبود یافته */
.search-form {
    margin: 8px 0;
}

.search-form .input-group {
    direction: ltr;
    max-width: 300px;
}

.search-form .form-control {
    border: 1px solid #ddd;
    padding: 8px 12px;
    font-size: 14px;
}

.search-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(10, 83, 190, 0.25);
}

.search-form .btn {
    background: var(--primary-color);
    border-color: var(--primary-color);
    padding: 8px 15px;
}

/* استایل‌های جدید برای هیرو سکشن */
.hero-content {
    text-align: center;
    padding: 2rem 1rem;
}

.hero-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.hero-btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hero-image {
    width: 100%;
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
}

/* فوتر بهبود یافته */
.site-footer {
    background: linear-gradient(135deg, #2c3e50, #4a6572);
    padding: 2rem 0 1rem;
    color: var(--white);
    margin-top: 2rem;
    font-size: 0.9rem;
}

.footer-section {
    margin-bottom: 1.5rem;
    padding: 0 15px;
}

.footer-section em {
    display: block;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #ecf0f1;
}

.contact-info a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.contact-info a:hover {
    color: #3498db;
    transform: translateX(-5px);
}

.contact-info a img {
    width: 20px;
    margin-left: 8px;
}

.social-icon {
    display: flex;
    gap: 8px;
    margin-top: 1rem;
    justify-content: center;
}

.social-icon-link {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* دکمه‌های بهبود یافته */
.btn {
    transition: all 0.3s ease;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 6px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-primary {
    background: var(--primary-color);
}

/* ==================== */
/* رسپانسیو برای تبلت */
/* ==================== */
@media (max-width: 991.98px) {
    .navbar-brand img.logo {
        width: 80px; 
    }

    .navbar-collapse {
        background: var(--white);
        padding: 15px;
        margin-top: 10px;
        border-radius: 8px;
        box-shadow: var(--shadow);
        border: 1px solid #eee;
        text-align: right;
    }

    .navbar-nav {
        width: 100%;
    }

    .navbar-nav .nav-item {
        margin-bottom: 5px;
        text-align: right;
        width: 100%;
    }

    .navbar-nav .nav-link {
        padding: 12px 15px;
        font-size: 15px;
        border-bottom: 1px solid #f8f9fa;
        display: block;
        width: 100%;
        text-align: right;
    }

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

    .search-form {
        margin: 15px 0 10px;
        width: 100%;
    }

    .search-form .input-group {
        max-width: 100%;
        width: 100%;
    }

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

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-image img {
        max-width: 100%;
    }
}

/* ==================== */
/* رسپانسیو برای موبایل */
/* ==================== */
@media (max-width: 767.98px) {
    main {
        margin-top: 60px; 
        padding: 0 8px;
    }

    .navbar {
        padding: 6px 0;
        min-height: 60px;
    }

    .navbar-brand img.logo {
        width: 60px;
    }

    .navbar-toggler {
        padding: 5px 7px;
        margin-left: 8px;
    }

    .navbar-toggler img {
        width: 16px;
        height: 16px;
    }

    .navbar-collapse {
        padding: 12px;
        margin: 8px -8px 0;
        border-radius: 0 0 8px 8px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
    }

    .navbar-nav .nav-link {
        padding: 10px 15px;
        font-size: 14px;
    }

    /* بهبود نمایش آیتم‌های منو در موبایل */
    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        text-align: right;
    }

    /* بهبود dropdown در موبایل */
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        border: none;
        box-shadow: none;
    }

    .hero-section {
        padding: 1rem 0;
    }

    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
        line-height: 1.6;
    }

    .hero-btn {
        width: 100%;
        margin-bottom: 0.8rem;
        padding: 12px 20px;
        font-size: 14px;
    }

    .hero-image {
        margin-top: 1rem;
    }

    .hero-image img {
        max-width: 100%;
    }

    .site-footer {
        padding: 1.5rem 0 0.5rem;
        margin-top: 1.5rem;
        font-size: 0.85rem;
    }

    .footer-section {
        margin-bottom: 1rem;
        text-align: center;
    }

    .footer-section em {
        font-size: 0.95rem;
    }

    .contact-info a {
        justify-content: center;
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }

    .contact-info a img {
        width: 18px;
        margin-left: 6px;
    }

    .social-icon {
        gap: 6px;
    }

    .social-icon-link {
        width: 32px;
        height: 32px;
    }
}

/* ============================ */
/* برای موبایل‌های بسیار کوچک */
/* ============================ */
@media (max-width: 575.98px) {
    .navbar-brand img.logo {
        width: 50px; 
    }

    .navbar-toggler {
        padding: 4px 6px;
    }

    .navbar-toggler img {
        width: 14px;
        height: 14px;
    }

    .navbar-nav .nav-link {
        font-size: 13px;
        padding: 8px 12px;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-image img {
        max-width: 100%;
    }

    .site-footer {
        font-size: 0.8rem;
    }

    .contact-info a span {
        font-size: 0.85rem;
    }

    /* بهبود نمایش شماره تلفن‌ها */
    .phone-number {
        direction: ltr;
        text-align: center;
        display: block;
        font-family: monospace;
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .navbar-brand img.logo {
        width: 45px; 
    }

    .hero-title {
        font-size: 1.3rem;
    }

    .hero-image img {
        max-width: 100%;
    }

    main {
        margin-top: 55px;
        padding: 0 5px;
    }

    .navbar {
        padding: 5px 0;
        min-height: 55px;
    }

    .navbar-nav .nav-link {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* ==================== */
/* بهبودهای خاص */
/* ==================== */

/* رفع مشکل direction برای شماره تلفن */
.phone-number {
    direction: ltr;
    text-align: left;
    display: inline-block;
    font-family: 'Courier New', monospace;
    unicode-bidi: plaintext;
}

/* بهبود نمایش در مرورگرهای مختلف */
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

/* جلوگیری از FOUC (Flash of Unstyled Content) */
.js .navbar-collapse {
    display: none;
}

.js .navbar-collapse.show {
    display: block;
}

/* بهبود دسترسی‌پذیری */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* focus styles برای دسترسی‌پذیری بهتر */
.navbar-toggler:focus,
.nav-link:focus,
.btn:focus,
.form-control:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* بهبود نمایش در حالت landscape موبایل */
@media (max-height: 500px) and (orientation: landscape) {
    .navbar {
        position: relative;
    }

    main {
        margin-top: 0;
    }

    .navbar-collapse {
        max-height: 200px;
        overflow-y: auto;
    }
}

/* پشتیبانی از مرورگرهای قدیمی */
@supports not (display: flex) {
    .navbar-brand {
        float: right;
    }

    .navbar-toggler {
        float: left;
    }
}
/*  }*/
/*}*/

/* ===== دکمه تماس ثابت - همیشه قابل مشاهده ===== */
.floating-contact-btn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 9999;
    display: none;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.contact-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(39, 174, 96, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
    position: relative;
    z-index: 10000;
}

.contact-icon i {
    color: white;
    font-size: 1.6rem;
    transition: transform 0.3s ease;
}

.contact-text {
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s ease;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-contact-btn:hover .contact-text {
    opacity: 1;
    transform: translateY(0);
}

.contact-icon:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(39, 174, 96, 0.7);
}

.contact-icon:hover i {
    transform: rotate(10deg);
}

/* انیمیشن پالس بهبود یافته */
@keyframes pulse-green {
    0% {
        box-shadow: 0 6px 25px rgba(39, 174, 96, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 35px rgba(39, 174, 96, 0.8);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 6px 25px rgba(39, 174, 96, 0.5);
        transform: scale(1);
    }
}

/* منوی تماس */
.contact-menu {
    position: absolute;
    bottom: 85px;
    left: 0;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10001;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.contact-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 20px 20px 0 0;
    color: white;
}

.contact-menu-header h6 {
    margin: 0;
    font-weight: 700;
    font-size: 1.1rem;
}

.close-menu {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.close-menu:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.contact-options {
    padding: 15px 0;
    max-height: 400px;
    overflow-y: auto;
}

.contact-option {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f8f9fa;
    position: relative;
    overflow: hidden;
}

.contact-option:last-child {
    border-bottom: none;
}

.contact-option::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(39, 174, 96, 0.1), transparent);
    transition: right 0.6s ease;
}

.contact-option:hover::before {
    right: 100%;
}

.contact-option:hover {
    background-color: #f8f9fa;
    transform: translateX(-8px);
    border-right: 3px solid #27ae60;
}

.option-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-option:nth-child(1) .option-icon {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.contact-option:nth-child(2) .option-icon {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.contact-option:nth-child(3) .option-icon {
    background: linear-gradient(135deg, #e4405f, #c13584);
}

.contact-option:nth-child(4) .option-icon {
    background: linear-gradient(135deg, #0088cc, #0077b5);
}

.option-icon i {
    color: white;
    font-size: 1.1rem;
}

.option-info {
    flex: 1;
}

.option-title {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 4px;
    font-weight: 600;
}

.option-number {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #2c3e50;
    direction: ltr;
    text-align: right;
}

/* نمایش در موبایل و تبلت */
@media (max-width: 1024px) {
    .floating-contact-btn {
        display: flex;
    }
    
    /* تضمین نمایش همیشه */
    .floating-contact-btn.always-visible {
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: all !important;
    }
}

/* رسپانسیو برای موبایل‌های مختلف */
@media (max-width: 768px) {
    .floating-contact-btn {
        bottom: 20px;
        left: 20px;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-icon i {
        font-size: 1.5rem;
    }
    
    .contact-menu {
        width: 280px;
        bottom: 80px;
    }
}

@media (max-width: 480px) {
    .floating-contact-btn {
        bottom: 15px;
        left: 15px;
    }
    
    .contact-icon {
        width: 55px;
        height: 55px;
    }
    
    .contact-icon i {
        font-size: 1.4rem;
    }
    
    .contact-menu {
        width: 260px;
        left: -10px;
    }
    
    .contact-text {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
}

@media (max-width: 360px) {
    .contact-menu {
        width: 250px;
        left: -15px;
    }
    
    .contact-option {
        padding: 12px 20px;
    }
    
    .option-icon {
        width: 40px;
        height: 40px;
        margin-left: 15px;
    }
}

/* حالت landscape موبایل */
@media (max-height: 500px) and (orientation: landscape) {
    .floating-contact-btn {
        bottom: 10px;
        left: 10px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-menu {
        bottom: 70px;
        max-height: 250px;
        overflow-y: auto;
    }
}

/* استایل برای زمانی که منو باز است */
body.menu-open {
    overflow: hidden;
}

/* پشتیبانی از حالت تاریک */
@media (prefers-color-scheme: dark) {
    .contact-menu {
        background: #2d3748;
        color: white;
        border: 1px solid #4a5568;
    }
    
    .contact-option {
        color: #e2e8f0;
        border-bottom-color: #4a5568;
    }
    
    .contact-option:hover {
        background-color: #4a5568;
    }
    
    .option-title {
        color: #a0aec0;
    }
    
    .option-number {
        color: #e2e8f0;
    }
    
    .contact-text {
        background: rgba(0, 0, 0, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
}

/* دسترسی‌پذیری */
@media (prefers-reduced-motion: reduce) {
    .floating-contact-btn,
    .contact-icon,
    .contact-menu,
    .contact-option,
    .close-menu {
        transition: none;
        animation: none;
    }
}

/* فوکوس برای دسترسی‌پذیری */
.contact-icon:focus,
.contact-option:focus,
.close-menu:focus {
    outline: 3px solid #27ae60;
    outline-offset: 3px;
}

/* کلاس برای نمایش همیشگی */
.always-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: all !important;
}