/* ==================== فونت ایران‌سنس ==================== */
@font-face {
    font-family: 'iransans';
    src: url('/wp-content/uploads/fonts/IRANSansWebFaNum_Medium.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/IRANSansWebFaNum_Medium.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'iransans';
    src: url('/wp-content/uploads/fonts/IRANSansWebFaNum_Bold.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/IRANSansWebFaNum_Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'iransans';
    src: url('/wp-content/uploads/fonts/IRANSansWebFaNum_Light.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/IRANSansWebFaNum_Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
/* ===== HEADER STYLES FOR IRANWIDGET ===== */

/* تعریف فونت ایران‌سنس */
@font-face {
    font-family: 'iransans';
    src: url('/wp-content/uploads/fonts/IRANSansWebFaNum_Medium.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/IRANSansWebFaNum_Medium.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'iransans';
    src: url('/wp-content/uploads/fonts/IRANSansWebFaNum_Bold.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/IRANSansWebFaNum_Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'iransans';
    src: url('/wp-content/uploads/fonts/IRANSansWebFaNum_Light.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/IRANSansWebFaNum_Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* استایل‌های پایه برای هدر */
.iw-body-reset {
    all: initial !important;
    font-family: 'iransans', sans-serif !important;
    direction: rtl !important;
    width: 100% !important;
    height: auto !important;
    position: relative !important;
    display: block !important;
}

.iw-header-wrapper {
    /* متغیرهای رنگ - هماهنگ با تم سایت */
    --iw-gold-primary: #FF7A00;
    --iw-gold-dark: #E67E00;
    --iw-gold-light: #FFA726;
    --iw-gold-accent: #FFD700;
    --iw-text-dark: #2C3E50;
    --iw-text-medium: #5D6D7E;
    --iw-text-light: #7F8C8D;
    --iw-bg-cream: #FFF8F0;
    --iw-bg-light: #FFFFFF;
    --iw-bg-subtle: #FFF5E6;
    --iw-border-light: rgba(255, 122, 0, 0.15);
    --iw-shadow-subtle: 0 4px 20px rgba(255, 122, 0, 0.08);
    --iw-shadow-medium: 0 8px 32px rgba(255, 122, 0, 0.15);
    --iw-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --iw-radius: 12px;
    --iw-radius-sm: 8px;
    
    font-family: 'iransans', sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    width: 100% !important;
    height: auto !important;
    position: relative !important;
    display: block !important;
}

/* رفع استایل‌های پیش‌فرض */
.iw-header-wrapper *,
.iw-header-wrapper *::before,
.iw-header-wrapper *::after {
    box-sizing: border-box !important;
}

/* اعمال فونت ایران‌سنس فقط برای متن‌ها */
.iw-header-wrapper span:not([class*="fa-"]):not(i),
.iw-header-wrapper a:not([class*="fa-"]):not(i),
.iw-header-wrapper li:not([class*="fa-"]),
.iw-header-wrapper div:not([class*="fa-"]),
.iw-header-wrapper p,
.iw-header-wrapper h1,
.iw-header-wrapper h2,
.iw-header-wrapper h3,
.iw-header-wrapper h4,
.iw-header-wrapper h5,
.iw-header-wrapper h6,
.iw-brand-title,
.iw-brand-subtitle,
.iw-nav-anchor span:not([class*="fa-"]),
.iw-sub-anchor span:not([class*="fa-"]),
.iw-mobile-nav-anchor span:not([class*="fa-"]),
.iw-mobile-sub-anchor span:not([class*="fa-"]) {
    font-family: 'iransans', sans-serif !important;
}

/* هدر اصلی */
.iw-primary-header {
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 1000 !important;
    padding: 15px 0 !important;
    background: transparent !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-bottom: 1px solid var(--iw-border-light) !important;
    box-shadow: var(--iw-shadow-subtle) !important;
    transition: padding 0.4s ease, box-shadow 0.4s ease !important;
    height: auto !important;
    width: 100% !important;
    margin: 0 !important;
}

.iw-primary-header.iw-scrolled {
    padding: 8px 0 !important;
    box-shadow: var(--iw-shadow-medium) !important;
}

/* داخلی هدر */
.iw-header-inner {
    max-width: 1440px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 20px !important;
    width: 100% !important;
    padding: 0 25px !important;
}

/* لوگو و برند */
.iw-brand-logo {
    grid-column: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    transition: transform 0.4s ease !important;
    text-decoration: none !important;
}

.iw-brand-logo:hover {
    transform: scale(1.02) !important;
}

.iw-logo-image {
    height: 55px !important;
    width: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 2px 4px rgba(255, 122, 0, 0.1)) !important;
    transition: height 0.4s ease !important;
}

.iw-primary-header.iw-scrolled .iw-logo-image {
    height: 45px !important;
}

.iw-brand-text {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.2 !important;
}

.iw-brand-title {
    font-size: 1.45rem !important;
    font-weight: 700 !important;
    background: linear-gradient(45deg, var(--iw-gold-dark) 0%, var(--iw-gold-accent) 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}

.iw-brand-subtitle {
    font-size: 0.82rem !important;
    color: var(--iw-text-light) !important;
    font-weight: 400 !important;
    margin-top: 3px !important;
}

/* ناوبری اصلی */
.iw-primary-nav {
    grid-column: 2 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.iw-nav-items {
    display: flex !important;
    list-style: none !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.iw-nav-entry {
    position: relative !important;
}

.iw-nav-anchor {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 20px !important;
    text-decoration: none !important;
    color: var(--iw-text-medium) !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    border-radius: var(--iw-radius) !important;
    transition: var(--iw-transition) !important;
    position: relative !important;
    overflow: hidden !important;
}

.iw-nav-anchor::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 0 !important;
    height: 3px !important;
    background: var(--iw-gold-primary) !important;
    transition: width 0.3s ease !important;
}

.iw-nav-anchor:hover::after {
    width: 100% !important;
    right: auto !important;
    left: 0 !important;
}

.iw-nav-anchor:hover {
    color: var(--iw-gold-primary) !important;
}

.iw-nav-symbol {
    font-size: 1rem !important;
    color: inherit !important;
}

/* منوی کشویی */
.iw-sub-nav {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    min-width: 240px !important;
    background: var(--iw-bg-light) !important;
    border: 1px solid var(--iw-border-light) !important;
    border-radius: var(--iw-radius-sm) !important;
    box-shadow: var(--iw-shadow-subtle) !important;
    list-style: none !important;
    padding: 15px 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: scale(0.95) !important;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s !important;
    z-index: 1000 !important;
}

.iw-nav-entry:hover .iw-sub-nav {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) !important;
}

.iw-sub-anchor {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 25px !important;
    text-decoration: none !important;
    color: var(--iw-text-medium) !important;
    font-weight: 400 !important;
    font-size: 0.9rem !important;
    transition: var(--iw-transition) !important;
}

.iw-sub-anchor:hover {
    background: var(--iw-bg-subtle) !important;
    color: var(--iw-gold-dark) !important;
    padding-right: 30px !important;
}

/* کنترل‌های هدر */
.iw-header-controls {
    grid-column: 3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 15px !important;
}

.iw-contact-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 20px !important;
    background: transparent !important;
    border: 2px solid var(--iw-gold-light) !important;
    border-radius: var(--iw-radius) !important;
    text-decoration: none !important;
    color: var(--iw-gold-primary) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: var(--iw-transition) !important;
}

.iw-contact-link:hover {
    background: var(--iw-gold-light) !important;
    color: white !important;
    border-color: var(--iw-gold-dark) !important;
}

.iw-contact-symbol {
    font-size: 1rem !important;
}

.iw-access-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 20px !important;
    background: var(--iw-gold-primary) !important;
    border-radius: var(--iw-radius) !important;
    text-decoration: none !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: var(--iw-transition) !important;
    box-shadow: 0 3px 10px rgba(255, 122, 0, 0.15) !important;
}

.iw-access-btn:hover {
    background: var(--iw-gold-dark) !important;
    box-shadow: 0 5px 15px rgba(255, 122, 0, 0.25) !important;
    transform: scale(1.03) !important;
}

.iw-access-symbol {
    font-size: 1rem !important;
}

/* دکمه موبایل */
.iw-mobile-trigger {
    display: none !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 1.2rem !important;
    color: var(--iw-gold-primary) !important;
    padding: 0 !important;
    z-index: 1001 !important;
}

.iw-mobile-trigger.iw-opened .fa-bars {
    display: none !important;
}

.iw-mobile-trigger.iw-opened .fa-times {
    display: inline !important;
}

.iw-mobile-trigger .fa-times {
    display: none !important;
}

/* پنل موبایل */
.iw-mobile-panel {
    position: fixed !important;
    top: 0 !important;
    left: auto !important;
    right: 0 !important;
    width: 80% !important;
    max-width: 350px !important;
    height: 100vh !important;
    background: linear-gradient(45deg, var(--iw-bg-subtle) 0%, var(--iw-bg-cream) 100%) !important;
    transform: translateX(100%) !important;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) !important;
    z-index: 999 !important;
    overflow-y: auto !important;
    padding: 100px 30px 50px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    box-shadow: -10px 0 30px rgba(255, 122, 0, 0.2) !important;
}

.iw-mobile-panel.iw-visible {
    transform: translateX(0) !important;
}

.iw-mobile-nav-items {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.iw-mobile-nav-entry {
    margin-bottom: 15px !important;
    border-radius: var(--iw-radius) !important;
    overflow: hidden !important;
    box-shadow: var(--iw-shadow-subtle) !important;
    background: var(--iw-bg-light) !important;
    transition: box-shadow 0.3s ease !important;
}

.iw-mobile-nav-entry:hover {
    box-shadow: var(--iw-shadow-medium) !important;
}

.iw-mobile-nav-anchor {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 15px 25px !important;
    text-decoration: none !important;
    color: var(--iw-text-dark) !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    transition: background 0.3s ease !important;
}

.iw-mobile-nav-anchor:hover {
    background: var(--iw-bg-subtle) !important;
}

.iw-mobile-sub-nav {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.5s ease !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.8) !important;
}

.iw-mobile-nav-entry.iw-expanded .iw-mobile-sub-nav {
    max-height: 1000px !important;
}

.iw-mobile-sub-anchor {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 12px 40px !important;
    text-decoration: none !important;
    color: var(--iw-text-medium) !important;
    font-size: 1rem !important;
    transition: padding 0.3s ease, color 0.3s ease !important;
    border-top: 1px solid var(--iw-border-light) !important;
}

.iw-mobile-sub-anchor:hover {
    padding-right: 50px !important;
    color: var(--iw-gold-primary) !important;
}

.iw-mobile-controls {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    margin-top: 40px !important;
    width: 100% !important;
}

.iw-mobile-contact,
.iw-mobile-access {
    text-align: center !important;
    padding: 15px !important;
    border-radius: var(--iw-radius) !important;
    font-size: 1.05rem !important;
    transition: transform 0.3s ease !important;
}

.iw-mobile-contact {
    background: var(--iw-bg-subtle) !important;
    color: var(--iw-gold-primary) !important;
}

.iw-mobile-access {
    background: var(--iw-gold-primary) !important;
    color: white !important;
}

.iw-mobile-contact:hover,
.iw-mobile-access:hover {
    transform: scale(1.05) !important;
}

/* رسپانسیو */
@media (max-width: 992px) {
    .iw-header-inner {
        grid-template-columns: 1fr auto !important;
    }
    
    .iw-primary-nav {
        display: none !important;
    }
    
    .iw-header-controls {
        grid-column: 2 !important;
        gap: 10px !important;
    }
    
    .iw-contact-link span,
    .iw-access-btn span {
        display: none !important;
    }
    
    .iw-contact-link,
    .iw-access-btn {
        padding: 10px !important;
        width: 40px !important;
        height: 40px !important;
        justify-content: center !important;
    }
    
    .iw-mobile-trigger {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 1.5rem !important;
    }
    
    .iw-brand-text {
        display: none !important;
    }
    
    .iw-logo-image {
        height: 45px !important;
    }
}

@media (max-width: 720px) {
    .iw-header-inner {
        padding: 0 15px !important;
        gap: 10px !important;
    }
    
    .iw-mobile-panel {
        width: 100% !important;
        max-width: none !important;
        padding: 80px 15px 40px !important;
    }
    
    .iw-logo-image {
        height: 40px !important;
    }
    
    .iw-contact-link,
    .iw-access-btn {
        width: 35px !important;
        height: 35px !important;
    }
    
    .iw-mobile-trigger {
        width: 35px !important;
        height: 35px !important;
        font-size: 1.3rem !important;
    }
    
    .iw-mobile-nav-anchor {
        padding: 12px 20px !important;
        font-size: 1rem !important;
    }
    
    .iw-mobile-sub-anchor {
        padding: 10px 30px !important;
        font-size: 0.95rem !important;
    }
}

@media (max-width: 576px) {
    .iw-logo-image {
        height: 35px !important;
    }
    
    .iw-mobile-nav-anchor {
        font-size: 0.95rem !important;
        padding: 10px 15px !important;
    }
    
    .iw-mobile-sub-anchor {
        font-size: 0.9rem !important;
        padding: 8px 25px !important;
    }
}
/* ===== FOOTER STYLES FOR IRANWIDGET - COMPLETE REWRITE ===== */

/* تعریف فونت ایران‌سنس با مسیرهای صحیح */
@font-face {
    font-family: 'iransans';
    src: url('/wp-content/uploads/fonts/IRANSansWebFaNum_Medium.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/IRANSansWebFaNum_Medium.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'iransans';
    src: url('/wp-content/uploads/fonts/IRANSansWebFaNum_Bold.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/IRANSansWebFaNum_Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'iransans';
    src: url('/wp-content/uploads/fonts/IRANSansWebFaNum_Light.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/IRANSansWebFaNum_Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* متغیرهای فوتر */
.iw-footer {
    --iw-primary-dark: #1a1a1a;
    --iw-primary-orange: #FF7A00;
    --iw-light-orange: #FFF8F0;
    --iw-text-light: #e2e8f0;
    --iw-text-lighter: #94a3b8;
    --iw-text-dark: #0f172a;
    --iw-border-color: rgba(255, 122, 0, 0.2);
    --iw-card-bg: rgba(255, 255, 255, 0.05);
    --iw-max-width: 1200px;
    --iw-white: #ffffff;
}

/* ریست استایل‌های فوتر */
.iw-footer {
    all: initial !important;
    font-family: 'iransans', Tahoma, sans-serif !important;
    direction: rtl !important;
    width: 100% !important;
    display: block !important;
    position: relative !important;
}

.iw-footer * {
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: inherit !important;
    line-height: 1.6 !important;
    text-decoration: none !important;
    list-style: none !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
}

/* استایل اصلی فوتر */
.iw-footer {
    background: linear-gradient(135deg, var(--iw-primary-dark) 0%, #2d2d2d 100%) !important;
    color: var(--iw-text-light) !important;
    padding-top: 60px !important;
    overflow: hidden !important;
    border-top: 3px solid var(--iw-primary-orange) !important;
    z-index: 999 !important;
    min-height: 400px !important;
    text-align: right !important;
}

/* کانتینر فوتر */
.iw-footer-container {
    max-width: var(--iw-max-width) !important;
    margin: 0 auto !important;
    padding: 0 20px 40px !important;
    display: grid !important;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr !important;
    gap: 40px !important;
    position: relative !important;
    z-index: 2 !important;
}

/* بخش لوگو */
.iw-footer-logo-section {
    display: flex !important;
    flex-direction: column !important;
    gap: 25px !important;
}

.iw-main-logo {
    max-height: 130px !important;
    width: auto !important;
    filter: brightness(0) invert(1) !important;
    display: block !important;
}

.iw-brand-description {
    font-size: 0.95rem !important;
    color: var(--iw-text-lighter) !important;
    line-height: 1.8 !important;
    margin-top: -10px !important;
    text-align: justify !important;
}

/* بخش لینک‌ها */
.iw-footer-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.iw-links-title {
    color: var(--iw-white) !important;
    font-size: 1.2rem !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid var(--iw-border-color) !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-weight: 700 !important;
}

.iw-footer-link {
    color: var(--iw-text-lighter) !important;
    padding: 8px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
    position: relative !important;
    padding-right: 15px !important;
}

.iw-footer-link::before {
    content: "›" !important;
    position: absolute !important;
    right: 0 !important;
    opacity: 0.5 !important;
    transition: all 0.3s ease !important;
}

.iw-footer-link:hover {
    color: var(--iw-primary-orange) !important;
    transform: translateX(-5px) !important;
}

.iw-footer-link:hover::before {
    opacity: 1 !important;
    transform: translateX(-3px) !important;
}

/* شبکه‌های اجتماعی */
.iw-footer-social-section {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

.iw-social-title {
    color: var(--iw-white) !important;
    font-size: 1.2rem !important;
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid var(--iw-border-color) !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.iw-social-description {
    color: var(--iw-text-lighter) !important;
    font-size: 0.95rem !important;
    margin-bottom: 20px !important;
    line-height: 1.6 !important;
}

.iw-social-icons {
    display: flex !important;
    gap: 15px !important;
    margin-top: 10px !important;
}

.iw-social-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    background-color: var(--iw-card-bg) !important;
    color: var(--iw-white) !important;
    border-radius: 12px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border: 1px solid transparent !important;
    font-size: 1.2rem !important;
}

.iw-social-link:hover {
    color: var(--iw-white) !important;
    transform: translateY(-5px) scale(1.05) !important;
    border-color: var(--iw-primary-orange) !important;
}

.iw-email-link:hover { 
    background: linear-gradient(135deg, #EA4335, #D14836) !important; 
    border-color: #EA4335 !important;
}

.iw-whatsapp-link:hover { 
    background: linear-gradient(135deg, #25D366, #128C7E) !important; 
    border-color: #25D366 !important;
}

.iw-instagram-link:hover { 
    background: linear-gradient(135deg, #E1306C, #C13584, #833AB4, #5851DB) !important; 
    border-color: #E1306C !important;
}

.iw-twitter-link:hover { 
    background: linear-gradient(135deg, #000000, #2d2d2d) !important; 
    border-color: #000000 !important;
}

/* بخش تماس */
.iw-footer-contact-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    margin-top: 25px !important;
}

.iw-contact-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    color: var(--iw-white) !important;
    transition: all 0.3s ease !important;
    font-size: 0.95rem !important;
}

.iw-contact-item:hover {
    color: var(--iw-primary-orange) !important;
    transform: translateX(-5px) !important;
}

.iw-contact-icon {
    background-color: var(--iw-card-bg) !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--iw-primary-orange) !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
}

.iw-contact-item:hover .iw-contact-icon {
    background-color: rgba(255, 122, 0, 0.15) !important;
    transform: scale(1.05) !important;
    color: var(--iw-primary-orange) !important;
}

/* بخش لوگوهای همکاران */
.iw-trust-partners {
    margin-top: 40px !important;
    padding-top: 30px !important;
    border-top: 1px solid var(--iw-border-color) !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
}

.iw-partners-title {
    text-align: center !important;
    color: var(--iw-text-lighter) !important;
    font-size: 1rem !important;
    margin-bottom: 20px !important;
    font-weight: 500 !important;
}

.iw-partner-logos {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 25px !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

.iw-partner-logo {
    height: 60px !important;
    width: auto !important;
    max-width: 150px !important;
    object-fit: contain !important;
    filter: grayscale(0.3) brightness(1.2) !important;
    opacity: 0.9 !important;
    transition: all 0.3s ease !important;
    padding: 8px !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
    display: block !important;
}

.iw-partner-link:hover .iw-partner-logo {
    filter: grayscale(0) brightness(1.4) !important;
    opacity: 1 !important;
    transform: translateY(-3px) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--iw-border-color) !important;
}

/* نماد اعتماد الکترونیکی */
.iw-enamad-badge {
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    transition: all 0.3s ease !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.iw-enamad-badge img {
    height: 60px !important;
    width: auto !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.iw-enamad-badge:hover {
    border-color: var(--iw-primary-orange) !important;
    box-shadow: 0 5px 15px rgba(255, 122, 0, 0.15) !important;
}

/* کپی‌رایت */
.iw-footer-bottom {
    background-color: rgba(0, 0, 0, 0.25) !important;
    padding: 25px 20px !important;
    text-align: center !important;
    color: var(--iw-text-lighter) !important;
    font-size: 0.9rem !important;
    position: relative !important;
    z-index: 2 !important;
    border-top: 1px solid var(--iw-border-color) !important;
    width: 100% !important;
}

.iw-copyright-brand {
    color: var(--iw-white) !important;
}

.iw-partner-credit {
    color: var(--iw-primary-orange) !important;
    transition: all 0.3s ease !important;
}

.iw-partner-credit:hover {
    color: var(--iw-white) !important;
    text-decoration: underline !important;
}

/* ریسپانسیو */
@media (max-width: 1100px) {
    .iw-footer-container {
        grid-template-columns: 1fr 1fr !important;
        gap: 40px 30px !important;
    }
    
    .iw-footer-social-section {
        grid-column: span 2 !important;
    }
    
    .iw-partner-logos {
        gap: 20px !important;
    }
    
    .iw-partner-logo, .iw-enamad-badge {
        height: 50px !important;
    }
    
    .iw-enamad-badge img {
        height: 50px !important;
    }
}

@media (max-width: 768px) {
    .iw-footer-container {
        grid-template-columns: 1fr !important;
        gap: 35px !important;
        padding-bottom: 30px !important;
    }
    
    .iw-footer-social-section {
        grid-column: 1 !important;
    }
    
    .iw-footer-logo-section {
        align-items: center !important;
        text-align: center !important;
    }
    
    .iw-brand-description {
        text-align: center !important;
    }
    
    .iw-social-icons {
        justify-content: center !important;
    }
    
    .iw-partner-logos {
        gap: 15px !important;
    }
    
    .iw-partner-logo, .iw-enamad-badge {
        height: 45px !important;
    }
    
    .iw-enamad-badge img {
        height: 45px !important;
    }
}

@media (max-width: 480px) {
    .iw-footer-container {
        padding: 0 15px 25px !important;
    }
    
    .iw-main-logo {
        max-height: 100px !important;
    }
    
    .iw-social-link {
        width: 44px !important;
        height: 44px !important;
    }
    
    .iw-partner-logos {
        gap: 12px !important;
    }
    
    .iw-partner-logo, .iw-enamad-badge {
        height: 40px !important;
        border-radius: 8px !important;
    }
    
    .iw-enamad-badge img {
        height: 40px !important;
    }
    
    .iw-footer-bottom {
        padding: 20px 15px !important;
        font-size: 0.85rem !important;
    }
}
/* ==================== بخش ویجت‌های پرطرفدار ==================== */
.iw-widget-section {
    padding: 80px 20px;
    background: #FFF8F0;
    position: relative;
    font-family: 'iransans', sans-serif;
}

.iw-container { 
    max-width: 1200px; 
    margin: 0 auto; 
}

.iw-section-head {
    display: flex; 
    align-items: flex-end; 
    justify-content: space-between; 
    gap: 20px; 
    margin-bottom: 40px;
}

.iw-badge {
    display: inline-block; 
    padding: 8px 16px; 
    border-radius: 20px; 
    font-size: 14px; 
    font-weight: 800;
    color: #222; 
    background: linear-gradient(135deg, #FFD700, #FFA500);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    margin-bottom: 16px;
}

.iw-section-title {
    font-size: 32px; 
    font-weight: 900; 
    color: #222;
    position: relative;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 10px;
}

.iw-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to left, #FF8C00, #FFA500);
    border-radius: 2px;
}

.iw-section-desc { 
    opacity: .9; 
    color: #444; 
    font-size: 17px;
    max-width: 600px;
    margin-top: 0;
}

/* کارت‌ها */
.iw-cards {
    display: grid; 
    gap: 24px;
    grid-template-columns: repeat(4, 1fr);
}

.iw-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(255, 140, 0, 0.25);
    border: 2px solid rgba(255, 165, 0, 0.2);
    padding: 24px;
    display: flex; 
    flex-direction: column; 
    gap: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.iw-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255, 140, 0, 0.35);
}

.iw-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to left, #FF8C00, #FFA500);
}

.iw-card-icon {
    width: 50px; 
    height: 50px; 
    border-radius: 12px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-weight: 900; 
    color: #fff;
    background: linear-gradient(135deg, #FF8C00, #FFA500);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
    font-size: 20px;
}

.iw-card-title { 
    font-weight: 900; 
    color: #222; 
    font-size: 20px;
    margin: 0;
}

.iw-card-title a {
    color: inherit;
    text-decoration: none;
}

.iw-card-title a:hover {
    color: #FF8C00;
}

.iw-card-desc { 
    opacity: .9; 
    color: #444; 
    line-height: 1.8;
    margin: 0;
}

.iw-demo-frame {
    width: 100%; 
    height: 200px; 
    border: 0; 
    border-radius: 12px; 
    background: #0b132b;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.iw-card-actions { 
    display: flex; 
    gap: 12px; 
    margin-top: auto; 
    flex-wrap: wrap; 
}

.iw-btn-live { 
    background: linear-gradient(135deg, #222, #444); 
    color: #fff;
    border: none;
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    padding: 12px 20px; 
    border-radius: 12px; 
    font-weight: 800; 
    text-decoration: none;
    border: 2px solid transparent; 
    cursor: pointer; 
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 15px;
    width: 100%;
    text-align: center;
    font-family: 'iransans', sans-serif;
}

.iw-btn-live:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    filter: brightness(1.2);
}

.iw-btn-live i {
    margin-left: 8px;
}

.iw-btn-live span {
    color: #339966 !important;
    font-size: 12pt;
}

/* انیمیشن */
.iw-fade-in {
    animation: iw-fadeIn 0.8s ease forwards;
}

@keyframes iw-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* واکنش‌گرا */
@media (max-width: 1100px) {
    .iw-cards { 
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 768px) {
    .iw-cards { 
        grid-template-columns: 1fr; 
    }
    
    .iw-section-title {
        font-size: 28px;
    }
    
    .iw-section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .iw-widget-section {
        padding: 60px 15px;
    }
}

@media (max-width: 480px) {
    .iw-card-actions {
        flex-direction: column;
    }
    
    .iw-btn-live {
        width: 100%;
    }
}
/* ===== API HUB STYLES ===== */

/* Section Styles */
.iw-api-hub-section {
    background: #f8f9fa;
    padding: 80px 20px;
    color: #333;
    position: relative;
    overflow: hidden;
    font-family: 'iransans', Tahoma, sans-serif;
    direction: rtl;
}

.iw-api-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Header Styles */
.iw-api-header {
    text-align: center;
    margin-bottom: 50px;
}

.iw-api-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFA726, #FF7A00);
    color: #fff;
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.2);
}

.iw-api-main-title {
    font-size: 36px;
    font-weight: 900;
    margin: 0;
    color: #333;
    line-height: 1.3;
}

.iw-api-description {
    color: #555;
    font-size: 18px;
    max-width: 700px;
    margin: 16px auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* Cards Wrapper */
.iw-api-cards-wrapper {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Card Styles */
.iw-api-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    border: 2px solid rgba(255, 165, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    cursor: default;
}

.iw-api-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(255, 140, 0, 0.25);
}

.iw-api-card-top-border {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to left, #FF7A00, #FFA726);
}

.iw-blue-border {
    background: linear-gradient(to left, #00BFFF, #0077FF);
}

/* Card Header */
.iw-api-card-header {
    text-align: center;
    margin-bottom: 25px;
}

.iw-api-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #FF7A00, #FFA726);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.3);
}

.iw-blue-icon {
    background: linear-gradient(135deg, #00BFFF, #0077FF);
    box-shadow: 0 8px 20px rgba(0, 191, 255, 0.25);
}

.iw-api-card-title {
    font-size: 24px;
    margin: 0;
    font-weight: 800;
    color: #333;
    line-height: 1.4;
}

/* Code Box */
.iw-api-code-box {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px;
    font-family: 'Courier New', monospace;
    direction: ltr;
    text-align: center;
    margin-bottom: 25px;
    color: #222;
    overflow: hidden;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.iw-api-code {
    display: inline-block;
    text-align: center;
    max-width: 100%;
    word-break: break-word;
    padding: 0 5px;
    font-size: 14px;
    direction: ltr;
}

/* Features */
.iw-api-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.iw-api-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 14px;
}

.iw-api-feature i {
    color: #FF7A00;
}

.iw-blue-check {
    color: #00bfff !important;
}

/* Buttons */
.iw-api-button-wrapper {
    margin-top: 25px;
    text-align: center;
}

.iw-api-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #FFA726, #FF7A00);
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.iw-api-button-orange::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF7A00, #FFA726);
    border-radius: 30px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.iw-api-button-orange:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.4);
    filter: brightness(1.1);
    text-decoration: none;
    color: white;
}

.iw-api-button-orange:hover::before {
    opacity: 1;
}

.iw-api-button-orange:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.iw-api-button-blue {
    background: linear-gradient(135deg, #00BFFF, #0077FF);
    box-shadow: 0 6px 20px rgba(0, 191, 255, 0.25);
}

.iw-api-button-blue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0077FF, #00BFFF);
    border-radius: 30px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.iw-api-button-blue:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 191, 255, 0.35);
    filter: brightness(1.1);
    text-decoration: none;
    color: white;
}

.iw-api-button-blue:hover::before {
    opacity: 1;
}

.iw-api-button-blue:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.25);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .iw-api-code {
        font-size: 13px !important;
    }
}

@media (max-width: 768px) {
    .iw-api-hub-section {
        padding: 60px 15px;
    }
    
    .iw-api-container {
        padding: 0 15px;
    }
    
    .iw-api-main-title {
        font-size: 28px;
    }
    
    .iw-api-description {
        font-size: 16px;
    }
    
    .iw-api-card {
        max-width: 100% !important;
        padding: 25px;
    }
    
    .iw-api-card-title {
        font-size: 22px;
    }
    
    .iw-api-code {
        font-size: 12px !important;
    }
    
    .iw-api-button {
        font-size: 15px !important;
        padding: 8px 20px !important;
    }
}

@media (max-width: 480px) {
    .iw-api-card {
        padding: 20px;
    }
    
    .iw-api-card-title {
        font-size: 20px;
    }
    
    .iw-api-code {
        font-size: 11px !important;
    }
    
    .iw-api-button {
        font-size: 14px !important;
        padding: 7px 18px !important;
    }
    
    .iw-api-main-title {
        font-size: 24px;
    }
    
    .iw-api-badge {
        font-size: 14px;
        padding: 6px 20px;
    }
}

@media (max-width: 360px) {
    .iw-api-code {
        font-size: 10px !important;
    }
}
/* ===== HOW IT WORKS & FEATURES STYLES ===== */

/* Variables - Updated with IranWidget colors */
:root {
    --iw-primary: #FF7A00;
    --iw-secondary: #FFA726;
    --iw-accent: #FF7A00;
    --iw-light-orange: #FFE4B5;
    --iw-dark-orange: #FF4500;
    --iw-text: #000000;
    --iw-text-dark: #111111;
    --iw-bg-light: #FFF8F0;
    --iw-card-bg: rgba(255, 255, 255, 0.95);
    --iw-glass: rgba(255, 255, 255, 0.2);
    --iw-shadow: 0 10px 40px rgba(255, 122, 0, 0.25);
    --iw-radius: 20px;
    --iw-radius-sm: 15px;
    --iw-maxw: 1200px;
}

/* Section Styles */
.iw-how-features-section {
    padding: 80px 20px;
    background: var(--iw-bg-light);
    position: relative;
    font-family: 'iransans', system-ui, -apple-system, sans-serif;
    direction: rtl;
    text-align: right;
    border-bottom: 2px solid rgba(255, 165, 0, 0.1);
}

.iw-section-container {
    max-width: var(--iw-maxw);
    margin: 0 auto;
}

/* Section Header */
.iw-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.iw-section-title {
    font-size: 32px;
    font-weight: 900;
    color: #222;
    position: relative;
    padding-bottom: 10px;
    margin: 0;
}

.iw-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to left, var(--iw-primary), var(--iw-secondary));
    border-radius: 2px;
}

.iw-section-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 800;
    color: #222;
    background: linear-gradient(135deg, #FFA726, var(--iw-primary));
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
    margin-bottom: 16px;
}

/* How it works - Steps */
.iw-steps-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.iw-step {
    background: #fff;
    border-radius: var(--iw-radius-sm);
    box-shadow: var(--iw-shadow);
    padding: 28px;
    border: 2px solid rgba(255, 165, 0, 0.15);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.iw-step:hover {
    transform: translateY(-5px);
}

.iw-step-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--iw-secondary), var(--iw-primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex: 0 0 60px;
    font-size: 24px;
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.4);
}

.iw-step-content {
    flex: 1;
}

.iw-step-title {
    margin: 4px 0 10px 0;
    font-size: 20px;
    color: #222;
    font-weight: 900;
    line-height: 1.4;
}

.iw-step-description {
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.iw-note-strong {
    font-weight: 900;
    color: var(--iw-primary);
}

/* Features checklist */
.iw-features-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.iw-feature {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    border: 2px solid rgba(255, 165, 0, 0.15);
    display: flex;
    gap: 16px;
    align-items: center;
    box-shadow: var(--iw-shadow);
    transition: transform 0.3s ease;
}

.iw-feature:hover {
    transform: translateX(5px);
}

.iw-feature-check {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--iw-accent), var(--iw-primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex: 0 0 36px;
    font-size: 18px;
}

.iw-feature-text {
    color: #333;
    font-weight: 500;
    line-height: 1.6;
}

/* Animations */
.iw-fade-in {
    animation: iw-fadeIn 0.8s ease forwards;
    opacity: 0;
}

@keyframes iw-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 920px) {
    .iw-steps-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .iw-how-features-section {
        padding: 60px 15px;
    }
    
    .iw-section-title {
        font-size: 28px;
    }
    
    .iw-step {
        padding: 24px;
    }
    
    .iw-step-title {
        font-size: 18px;
    }
    
    .iw-section-badge {
        font-size: 13px;
        padding: 6px 14px;
    }
}

@media (max-width: 740px) {
    .iw-features-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .iw-section-title {
        font-size: 24px;
    }
    
    .iw-step {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .iw-step-icon {
        margin: 0 auto;
    }
    
    .iw-step-title {
        font-size: 18px;
    }
    
    .iw-step-description {
        font-size: 14px;
    }
    
    .iw-feature {
        padding: 16px;
    }
    
    .iw-feature-text {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .iw-section-title {
        font-size: 22px;
    }
    
    .iw-step {
        padding: 20px;
    }
}
/* ===== CTA SECTION STYLES ===== */

/* Variables - Updated with IranWidget colors */
:root {
    --iw-primary: #FF7A00;
    --iw-secondary: #FFA726;
    --iw-accent: #FF7A00;
    --iw-light-orange: #FFE4B5;
    --iw-dark-orange: #FF4500;
    --iw-text: #000000;
    --iw-text-dark: #111111;
    --iw-bg-light: #FFF8F0;
    --iw-card-bg: rgba(255, 255, 255, 0.95);
    --iw-glass: rgba(255, 255, 255, 0.2);
    --iw-shadow: 0 10px 40px rgba(255, 122, 0, 0.25);
    --iw-radius: 20px;
    --iw-maxw: 1200px;
}

/* Section Styles */
.iw-cta-section {
    padding: 80px 20px;
    background: var(--iw-bg-light);
    position: relative;
    font-family: 'iransans', system-ui, -apple-system, sans-serif;
    direction: rtl;
    text-align: center;
}

.iw-section-container {
    max-width: var(--iw-maxw);
    margin: 0 auto;
}

/* CTA Box */
.iw-cta-box {
    background: linear-gradient(45deg, var(--iw-primary), var(--iw-dark-orange), var(--iw-primary));
    background-size: 200% 200%;
    animation: iw-gradientShift 3s ease infinite;
    color: #fff;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(255, 122, 0, 0.4);
    text-align: center;
    position: relative;
    overflow: hidden;
}

@keyframes iw-gradientShift {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
}

.iw-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: iw-rotate 20s linear infinite;
}

@keyframes iw-rotate {
    from { transform: rotate(0deg) }
    to { transform: rotate(360deg) }
}

/* CTA Content */
.iw-cta-title {
    margin: 0 0 16px 0;
    font-size: 28px;
    font-weight: 900;
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

.iw-cta-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    position: relative;
    z-index: 1;
    margin: 0;
    line-height: 1.6;
}

/* CTA Actions */
.iw-cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-top: 30px;
}

/* Buttons */
.iw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 15px;
    font-family: 'iransans', system-ui, -apple-system, sans-serif;
    direction: rtl;
}

.iw-btn-primary {
    background: linear-gradient(135deg, #FFA726, var(--iw-primary));
    color: #000000;
    box-shadow: 0 4px 20px rgba(255, 122, 0, 0.3);
}

.iw-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 122, 0, 0.5);
    filter: brightness(1.1);
}

.iw-btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

.iw-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

/* Focus visibility */
.iw-btn:focus {
    outline: 3px solid rgba(255, 255, 255, 0.6);
    outline-offset: 3px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .iw-cta-section {
        padding: 60px 15px;
    }
    
    .iw-cta-box {
        padding: 30px 20px;
    }
    
    .iw-cta-title {
        font-size: 24px;
    }
    
    .iw-cta-description {
        font-size: 16px;
    }
    
    .iw-cta-actions {
        flex-direction: column;
    }
    
    .iw-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .iw-cta-box {
        padding: 25px 15px;
    }
    
    .iw-cta-title {
        font-size: 22px;
    }
    
    .iw-cta-description {
        font-size: 15px;
    }
    
    .iw-cta-actions {
        gap: 12px;
    }
    
    .iw-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .iw-cta-title {
        font-size: 20px;
    }
    
    .iw-cta-description {
        font-size: 14px;
    }
    
    .iw-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}
/* ===== WHY CHOOSE US SECTION STYLES ===== */

/* Section Styles */
.iw-why-choose-section {
    padding: 60px 20px;
    background: rgba(255, 122, 0, 0.05);
    font-family: 'iransans', Tahoma, sans-serif;
    direction: rtl;
    text-align: right;
}

.iw-section-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Content Styles */
.iw-why-choose-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.iw-why-choose-title {
    font-size: 24px;
    font-weight: 900;
    color: #111111;
    margin-bottom: 20px;
    line-height: 1.4;
}

.iw-why-choose-description {
    font-size: 17px;
    color: #444;
    text-align: justify;
    line-height: 1.8;
    margin: 0;
}

.iw-highlight-text {
    color: #FF7A00;
    font-weight: 700;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .iw-why-choose-section {
        padding: 50px 15px;
    }
    
    .iw-why-choose-title {
        font-size: 22px;
    }
    
    .iw-why-choose-description {
        font-size: 16px;
        text-align: right;
    }
}

@media (max-width: 480px) {
    .iw-why-choose-section {
        padding: 40px 12px;
    }
    
    .iw-why-choose-title {
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .iw-why-choose-description {
        font-size: 15px;
        line-height: 1.7;
    }
}

@media (max-width: 360px) {
    .iw-why-choose-title {
        font-size: 18px;
    }
    
    .iw-why-choose-description {
        font-size: 14px;
    }
}
/* ===== HERO SECTION STYLES ===== */

/* Variables - Updated with IranWidget colors */
:root {
    --iw-primary: #FF7A00;
    --iw-secondary: #FFA726;
    --iw-accent: #FF7A00;
    --iw-light-orange: #FFE4B5;
    --iw-dark-orange: #FF4500;
    --iw-text: #000000;
    --iw-text-dark: #111111;
    --iw-bg-light: #FFF8F0;
    --iw-card-bg: rgba(255, 255, 255, 0.95);
    --iw-glass: rgba(255, 255, 255, 0.2);
    --iw-shadow: 0 10px 40px rgba(255, 122, 0, 0.25);
    --iw-radius: 20px;
    --iw-radius-sm: 15px;
    --iw-maxw: 1200px;
    
    /* متغیرهای جدید برای ساعت */
    --iw-clock-size: 120px;
    --iw-clock-top-offset: 55px;
    --iw-clock-left-offset: -60px;
    --iw-title-font-size: 28px;
    --iw-title-top-offset: 40px;
    --iw-title-left-offset: 60px;
}

/* Font Faces - تعریف فونت ایران‌سنس */
@font-face {
    font-family: 'iransans';
    src: url('/wp-content/uploads/fonts/IRANSansWebFaNum_Medium.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/IRANSansWebFaNum_Medium.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'iransans';
    src: url('/wp-content/uploads/fonts/IRANSansWebFaNum_Bold.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/IRANSansWebFaNum_Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'iransans';
    src: url('/wp-content/uploads/fonts/IRANSansWebFaNum_Light.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/IRANSansWebFaNum_Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* اعمال فونت ایران‌سنس */
* {
    box-sizing: border-box;
    font-family: 'iransans', system-ui, -apple-system, sans-serif;
}

body,
.iw-hero, .iw-hero-title, .iw-hero-description,
.iw-btn, .iw-hero-badge,
.iw-country-name-fa, .iw-timer-box,
.iw-header-curve, .iw-hero-card,
.iw-hero-actions, .iw-hero-subnote,
.iw-country-status, .iw-status-open, .iw-status-close,
.iw-back-info, .iw-country-name-en {
    font-family: 'iransans', system-ui, -apple-system, sans-serif !important;
}

/* Header Curved Shape */
.iw-header-curve {
    position: relative;
    overflow: hidden;
    padding-bottom: 40px;
    background: linear-gradient(135deg, #FFDAB9 0%, #FFE4B5 25%, #FFF8DC 50%, #FFE4B5 75%, #FFDAB9 100%);
}

.iw-header-curve::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    height: calc(100% + 100px);
    background: linear-gradient(135deg, var(--iw-primary), var(--iw-secondary));
    border-bottom-left-radius: 50% 60px;
    border-bottom-right-radius: 50% 60px;
    z-index: -1;
    clip-path: ellipse(120% 85% at 50% 0%);
}

/* Hero Section */
.iw-hero {
    padding: 60px 20px 40px;
    position: relative;
    overflow: hidden;
}

.iw-hero-inner {
    max-width: var(--iw-maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.iw-hero-content {
    color: #000000;
}

.iw-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 800;
    color: #222;
    background: linear-gradient(135deg, #FFA726, var(--iw-primary));
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
    margin-bottom: 16px;
}

.iw-badge-text {
    font-size: 14px;
}

.iw-hero-title {
    font-size: 44px;
    margin: 0 0 20px 0;
    color: #000000;
    font-weight: 900;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
    position: relative;
}

.iw-hero-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 200px;
    height: 4px;
    background: linear-gradient(to left, var(--iw-dark-orange), #FFA726);
    border-radius: 2px;
}

.iw-hero-description {
    margin: 0 0 30px 0;
    font-size: 18px;
    color: rgba(0, 0, 0, 0.85);
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.iw-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.iw-hero-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--iw-radius);
    box-shadow: 0 20px 50px rgba(255, 122, 0, 0.3);
    padding: 24px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.iw-hero-card:hover {
    transform: translateY(-5px);
}

.iw-hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.iw-hero-card-title {
    color: #222;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.iw-hero-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FFA726, var(--iw-primary));
    color: #fff;
}

.iw-hero-card-badge a {
    color: #fff;
    text-decoration: none;
    font-size: 10px;
}

.iw-hero-embed {
    width: 100%;
    height: 220px;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #0b132b;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.iw-hero-subnote {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 12px;
    color: #444;
    text-align: center;
}

/* Buttons */
.iw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 15px;
}

.iw-btn-primary {
    background: linear-gradient(135deg, #FFA726, var(--iw-primary));
    color: #000000;
    box-shadow: 0 4px 20px rgba(255, 122, 0, 0.3);
}

.iw-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 122, 0, 0.5);
    filter: brightness(1.1);
}

.iw-btn-outline {
    background: transparent;
    color: #000000;
    border-color: rgba(255, 122, 0, 0.6);
    backdrop-filter: blur(10px);
}

.iw-btn-outline:hover {
    background: rgba(255, 122, 0, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(255, 122, 0, 0.2);
}

/* استایل‌های ویجت بازار تهران */
.iw-countries-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

.iw-country-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #1a1a2e, #121319);
    border-radius: 10px;
    width: 90%;
    height: 90%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    perspective: 1000px;
    cursor: pointer;
    position: relative;
}

.iw-country-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.iw-flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

.iw-country-card.iw-flipped .iw-flip-card-inner {
    transform: rotateY(180deg);
}

.iw-flip-card-front {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
}

.iw-country-header {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
    margin-bottom: 10px;
}

.iw-analog-clock-container {
    order: 1;
    position: relative;
    top: var(--iw-clock-top-offset);
    left: var(--iw-clock-left-offset);
}

.iw-country-title-container {
    order: 2;
    position: relative;
    top: var(--iw-title-top-offset);
    left: var(--iw-title-left-offset);
}

.iw-flip-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(145deg, #121319, #1a1a2e);
    border-radius: 10px;
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
}

.iw-country-name-fa {
    margin: 5px 0;
    font-size: var(--iw-title-font-size);
    color: #fff;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.iw-country-status {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.iw-status-open {
    color: #1C896C;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.iw-status-close {
    color: #ff6b6b;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.iw-timer-box {
    font-size: 16px;
    font-weight: bold;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 100px;
    display: inline-block;
    margin-top: 10px;
}

.iw-country-name-en {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    margin-top: 5px;
    font-weight: bold;
}

.iw-back-info {
    font-size: 14px;
    line-height: 1.4;
    color: #ddd;
    text-align: center;
    padding: 0 10px;
}

.iw-back-info span {
    display: block;
    margin: 4px 0;
}

.iw-time-note {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
}

/* ساعت آنالوگ */
.iw-analog-clock {
    width: var(--iw-clock-size);
    height: var(--iw-clock-size);
    position: relative;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.iw-clock-hands {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.iw-hour-hand, .iw-minute-hand, .iw-second-hand {
    position: absolute;
    transform-origin: 50% 100%;
    left: 50%;
    bottom: 50%;
    border-radius: 2px 2px 0 0;
    transition: transform 0.05s linear;
}

.iw-hour-hand {
    width: 4px;
    height: 40px;
    background: linear-gradient(to top, #e0e0ff, #a0a0ff);
    margin-left: -2px;
    box-shadow: 0 0 12px rgba(224, 224, 255, 0.8);
    z-index: 3;
    filter: drop-shadow(0 0 3px rgba(224, 224, 255, 0.6));
}

.iw-minute-hand {
    width: 3px;
    height: 55px;
    background: linear-gradient(to top, #c0c0ff, #8080ff);
    margin-left: -1.5px;
    box-shadow: 0 0 10px rgba(192, 192, 255, 0.7);
    z-index: 2;
    filter: drop-shadow(0 0 3px rgba(192, 192, 255, 0.5));
}

.iw-second-hand {
    width: 1.5px;
    height: 60px;
    background: #ff4444;
    margin-left: -0.75px;
    z-index: 1;
    box-shadow: 0 0 6px rgba(255, 68, 68, 0.8);
    transition: all 0.3s ease;
}

.iw-second-hand.iw-open {
    background: #00ff88;
    box-shadow: 0 0 12px #00ff88;
}

.iw-second-hand.iw-close {
    background: #ff4444;
    box-shadow: 0 0 12px #ff4444;
}

/* انیمیشن‌ها */
.iw-fade-in {
    animation: iw-fadeIn 0.8s ease forwards;
    opacity: 0;
}

@keyframes iw-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 1100px) {
    .iw-hero-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .iw-hero {
        padding: 40px 15px 30px;
    }
    
    .iw-hero-title {
        font-size: 32px;
    }
    
    .iw-hero-description {
        font-size: 16px;
    }
    
    .iw-hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .iw-btn {
        width: 100%;
        justify-content: center;
    }
    
    .iw-hero-card {
        margin-top: 30px;
    }
    
    .iw-hero-embed {
        height: 200px;
    }
    
    .iw-country-header {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 640px) {
    .iw-analog-clock {
        width: 100px;
        height: 100px;
    }
    
    .iw-hour-hand {
        width: 3px;
        height: 30px;
        margin-left: -1.5px;
    }
    
    .iw-minute-hand {
        width: 2px;
        height: 45px;
        margin-left: -1px;
    }
    
    .iw-second-hand {
        width: 1px;
        height: 50px;
        margin-left: -0.5px;
    }
    
    .iw-country-name-fa {
        font-size: 14px;
    }
    
    .iw-timer-box {
        font-size: 12px;
        min-width: 80px;
    }
}

@media (max-width: 480px) {
    .iw-hero-title {
        font-size: 28px;
    }
    
    .iw-hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .iw-btn {
        width: 100%;
        justify-content: center;
    }
    
    .iw-hero-embed {
        height: 180px;
    }
    
    .iw-hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
}

@media (max-width: 360px) {
    .iw-hero-title {
        font-size: 24px;
    }
    
    .iw-hero-description {
        font-size: 15px;
    }
}
/* ==================== استایل عمومی متن سایت ==================== */
body,
body *:not(i):not(.fa):not([class*="fa-"]):not([class*="icon-"]) {
    font-family: 'iransans', system-ui, -apple-system, sans-serif !important;
}

/* ==================== استایل بخش معرفی ویجت‌ها ==================== */
.iw-widget-section {
    padding: 40px 20px;
    background: linear-gradient(135deg, #FFDAB9 0%, #FFE4B5 25%, #FFF8DC 50%, #FFE4B5 75%, #FFDAB9 100%);
}

.iw-section-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.iw-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 800;
    color: #222;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    margin-bottom: 16px;
}

.iw-section-title {
    font-size: 2.5rem;
    color: #2C3E50;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.iw-section-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5D6D7E;
    text-align: justify;
    max-width: 1600px;
}

.iw-section-desc strong {
    color: #FF8C00;
    font-weight: 700;
}

/* تنظیمات واکنش‌گرا */
@media (max-width: 768px) {
    .iw-section-title {
        font-size: 2rem;
    }
    .iw-section-desc {
        font-size: 1rem;
        text-align: right;
    }
    .iw-widget-section {
        padding: 30px 15px;
    }
}
