/* ==========================================================================
   Sib SMS - Consolidated Modern Theme CSS
   ========================================================================== 
   This file combines and categorizes theme-style, consolidated, modern-design, 
   and modern-theme css files while respecting the original cascade order.
   ========================================================================== */

/* ==========================================================================
   1. Fonts & Variables
   ========================================================================== */

/* تضمین نظم متن فارسی و فونت مناسب برای صفحات RTL */
body, .promotional-page, [dir="rtl"] {
    font-family: 'IRANYekanX', Tahoma, Arial, sans-serif !important;
    direction: rtl !important;
    text-align: right !important;
    word-break: normal;
}

/* Keep promotional hero corner fully visible below fixed header */
.promotional-page #Hero-Section {
    margin-top: clamp(16px, 2.2vw, 42px);
}

.promotional-page .promotional-hero-container {
    max-width: min(1360px, 96vw);
}

.promotional-page .promotional-hero-copy {
    padding-right: 0;
}

.promotional-page .promotional-hero-media {
    justify-content: flex-end;
    padding-left: 0;
}

.promotional-page .promotional-hero-image {
    width: clamp(360px, 44vw, 700px);
    max-width: 120%;
    height: auto;
}

.promotional-page .promotional-hero-title {
    font-size: clamp(1.85rem, 2.25vw, 2.95rem);
    line-height: 1.42;
    letter-spacing: 0;
    text-wrap: balance;
}

.promotional-page .promotional-hero-title-main {
    color: #f5f9ff;
}

.promotional-page .promotional-hero-title-accent {
    color: #66b2ff;
}

.promotional-page .promotional-hero-desc {
    font-size: clamp(0.98rem, 1vw, 1.16rem);
    line-height: 1.95;
    width: 100%;
    max-width: 60ch;
    margin-left: auto;
    margin-top: 0.5rem;
    color: #eef5ff !important;
}

.ready-sms-section {
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%) !important;
}

.ready-sms-container {
    max-width: min(1360px, 96vw);
}

.ready-sms-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background-color: rgba(20, 105, 235, 0.08);
    color: #1469eb !important;
    font-size: 0.95rem;
    font-weight: 700;
}

.ready-sms-title {
    font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem);
    line-height: 1.5;
}

.ready-sms-description {
    max-width: 620px;
    line-height: 2;
    font-size: 0.98rem;
}

.ready-sms-search-form {
    max-width: 460px;
    border-color: #e3e8ef !important;
}

.ready-sms-search-form:focus-within {
    border-color: rgba(20, 105, 235, 0.35) !important;
    box-shadow: 0 10px 30px rgba(20, 105, 235, 0.12) !important;
}

.ready-sms-search-form .form-control {
    text-align: right;
}

.ready-sms-search-form .form-control::placeholder {
    color: #8a94a6;
}

.ready-sms-card {
    border-radius: 24px;
    border: 1px solid #e8edf4;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07) !important;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.ready-sms-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12) !important;
}

.ready-sms-card-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #edf4ff 0%, #dbe8ff 100%);
}

.ready-sms-card-image,
.ready-sms-card-placeholder {
    width: 100%;
    height: 100%;
}

.ready-sms-card-image {
    object-fit: cover;
}

.ready-sms-card-placeholder {
    padding: 1.5rem;
    background: radial-gradient(circle at top right, rgba(20, 105, 235, 0.18), transparent 38%), linear-gradient(135deg, #eff5ff 0%, #dbe7ff 100%);
    color: #1d3557;
    font-weight: 700;
    text-align: center;
}

.ready-sms-card-meta {
    min-height: 32px;
    color: #7b8794;
    font-size: 0.8rem;
}

.ready-sms-card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background-color: #edf4ff;
    color: #1469eb;
    font-size: 0.78rem;
    font-weight: 700;
}

.ready-sms-card-title {
    font-size: 1rem;
    line-height: 1.9;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 3.8rem;
}

.ready-sms-card-excerpt {
    color: #677489 !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    min-height: 5.8rem;
    line-height: 2;
}

.ready-sms-card-link {
    color: #1469eb !important;
}

.ready-sms-load-more {
    min-width: 144px;
    box-shadow: 0 14px 24px rgba(33, 37, 41, 0.18);
}

.ready-sms-empty-state,
.ready-sms-empty-search {
    max-width: 680px;
}

@media (max-width: 991.98px) {
    .promotional-page .promotional-hero-container {
        max-width: 100%;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .promotional-page .promotional-hero-copy {
        padding-right: 0.25rem;
    }

    .promotional-page .promotional-hero-title {
        font-size: clamp(1.45rem, 6.8vw, 2rem);
        line-height: 1.5;
        text-wrap: pretty;
    }

    .promotional-page .promotional-hero-desc {
        font-size: 0.9rem;
        line-height: 1.85;
        max-width: 44ch;
    }

    .ready-sms-card-title,
    .ready-sms-card-excerpt {
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    .ready-sms-section {
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }

    .ready-sms-container {
        max-width: 100%;
    }

    .ready-sms-title {
        font-size: 1.6rem;
        line-height: 1.8;
    }

    .ready-sms-description {
        font-size: 0.92rem;
        line-height: 1.9;
        margin-bottom: 1.25rem !important;
    }

    .ready-sms-search-form {
        max-width: 100%;
        margin-bottom: 2rem !important;
    }

    .ready-sms-card {
        border-radius: 20px;
    }

    .ready-sms-card-media {
        aspect-ratio: 16 / 9;
    }
}

/* Reduce empty gap between summary and next section when no table exists */
#Summary-of-capabilities.no-summary-table {
    padding-bottom: 0.75rem;
}

#Summary-of-capabilities.no-summary-table .summary-features-row {
    margin-bottom: 0.5rem !important;
}

#Summary-of-capabilities.no-summary-table+#Improvement {
    padding-top: 1rem;
}

@media (max-width: 991.98px) {
    #Summary-of-capabilities.no-summary-table {
        padding-bottom: 0.5rem;
    }

    #Summary-of-capabilities.no-summary-table+#Improvement {
        padding-top: 0.75rem;
    }
}

/* Theme Name: Sib SMS Modern SaaS
Description: High-end SaaS Redesign inspired by modern productivity apps. */
:root {
    /* New SaaS Palette */
    --primary: #EB1D36;
    /* Red Primary */
    --primary-light: #FF5E71;
    --secondary: #1469EB;
    /* Secondary Blue */
    --secondary-light: rgba(20, 105, 235, 0.1);
    --accent: #1469EB;
    --dark: #1A1A1A;
    --light: #F9FAFB;
    --white: #FFFFFF;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 15px 35px rgba(139, 92, 246, 0.1);
    --glass-blur: blur(20px);

    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --grad-soft: linear-gradient(135deg, #FDFCFB 0%, var(--secondary-light) 100%);
    --grad-purple-pink: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);

    /* System */
    --radius-3xl: 40px;
    --radius-2xl: 24px;
    --radius-xl: 16px;
    --font-heading: 'IRANYekanX', 'Tahoma', sans-serif;
    --font-body: 'IRANYekanX', 'Tahoma', sans-serif;
}

@font-face {
    font-family: 'IRANYekanX';
    src: url('../fonts/IRANYekanX-Pro/IRANYekanXFaNum-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    src: url('../fonts/IRANYekanX-Pro/IRANYekanXFaNum-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    src: url('../fonts/IRANYekanX-Pro/IRANYekanXFaNum-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    src: url('../fonts/IRANYekanX-Pro/IRANYekanXFaNum-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #EB1D36;
    --primary-light: #FF5E71;
    --primary-dark: #AC162B;
    --secondary-color: #1469EB;
    --bg-color: #FDFDFD;
    --card-bg: rgba(255, 255, 255, 0.8);
    --text-main: #1A1A1A;
    --heading-color: #000000;
    --text-muted: #666666;
    --white: #FFFFFF;
    --shadow-soft: 0 10px 30px rgba(235, 29, 54, 0.08);
    --shadow-lg: 0 20px 50px rgba(235, 29, 54, 0.12);
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'IRANYekanX', 'Tahoma', sans-serif;

    /* Bootstrap Overrides for secondary color (#1469EB) */
    --bs-secondary: #1469EB;
    --bs-secondary-rgb: 20, 105, 235;
    --bs-info: #1469EB;
    --bs-info-rgb: 20, 105, 235;
}

/* ==========================================================================
   2. Base Tags & Globals
   ========================================================================== */

/* Base Style Override */
html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--dark);
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--heading-color);
}

/* ==========================================================================
   3. Animations & Keyframes
   ========================================================================== */

/* Floating Animations */
@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}

@keyframes floatX {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(20px);
    }
}

.animate-float {
    animation: floatY 6s ease-in-out infinite;
}

.animate-float-slow {
    animation: floatY 8s ease-in-out infinite;
}

.animate-float-X {
    animation: floatX 7s ease-in-out infinite;
}

/* Text becomes white/transparent, mostly transparent due to span fade */
.hover-fade-text span.transition-opacity {
    transition: opacity 0.3s ease, margin 0.3s ease;
}

.hover-fade-text:hover span.transition-opacity {
    opacity: 0;
}

.floating-icon {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float-hub {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-10px);
    }
}

@keyframes float1 {

    0%,
    100% {
        transform: translateY(0) rotate(-3deg);
    }

    50% {
        transform: translateY(-15px) rotate(-3deg);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0) rotate(3deg);
    }

    50% {
        transform: translateY(15px) rotate(3deg);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes spinSlow {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.float-anim-1 {
    animation: float1 5s ease-in-out infinite;
}

.float-anim-2 {
    animation: float2 6s ease-in-out infinite;
}

.float-anim-3 {
    animation: float3 4s ease-in-out infinite;
}

.spin-anim-slow {
    animation: spinSlow 80s linear infinite;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    color: #EB1D36;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.pulse-anim {
    animation: pulse 2s infinite;
}

.float-anim-1 {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(235, 29, 54, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(235, 29, 54, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(235, 29, 54, 0);
    }
}

@keyframes float {
    0% {
        transform: translateY(-50%) translateY(0px);
    }

    50% {
        transform: translateY(-50%) translateY(-15px);
    }

    100% {
        transform: translateY(-50%) translateY(0px);
    }
}

.pulse-ring {
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.fade-right-1 {
    animation: fadeRight 1.5s infinite 0s;
}

.fade-right-2 {
    animation: fadeRight 1.5s infinite 0.2s;
}

.fade-right-3 {
    animation: fadeRight 1.5s infinite 0.4s;
}

@keyframes shake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10%,
    90% {
        transform: rotate(-5deg);
    }

    20%,
    80% {
        transform: rotate(5deg);
    }

    30%,
    50%,
    70% {
        transform: rotate(-5deg);
    }

    40%,
    60% {
        transform: rotate(5deg);
    }
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

@keyframes fadeRight {
    0% {
        opacity: 0;
        transform: translateX(5px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(-5px);
    }
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-soft {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse-soft {
    animation: pulse-soft 4s ease-in-out infinite;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 50%;
    animation: p-ring 2s infinite;
}

@keyframes p-ring {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.floating-stat-card {
    position: absolute;
    background: #FFFFFF;
    padding: 15px 20px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 3;
    text-align: center;
}

.circle-pulse {
    width: 10px;
    height: 10px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    animation: green-pulse 2s infinite;
}

@keyframes green-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* ==========================================================================
   4. Utility Classes (Typography, Colors, Spacing)
   ========================================================================== */

.text-gradient {
    background: var(--grad-purple-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Purple Section Variation (now using secondary blue) */
.bg-purple-gradient {
    background: #1469EB;
    background: linear-gradient(180deg, #1469EB 0%, #0F4FA8 100%);
    border-radius: var(--radius-3xl);
    color: white;
}

/* Scoped minimal CSS for hover effects if not present in main theme */
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .1) !important;
}

/* Inline critical styles for visual matching without new file */
.fw-black {
    font-weight: 900;
}

.hover-scale {
    transition: transform 0.5s ease;
}

.hover-scale:hover {
    transform: scale(1.02);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.bg-success-subtle {
    background-color: #d1fae5 !important;
}

.bg-primary-subtle {
    background-color: #dbeafe !important;
}

.bg-grid-dots {
    background-image: radial-gradient(#EB1D36 1.5px, transparent 1.5px);
    background-size: 15px 15px;
}

.bg-blue-subtle {
    background-color: #eef5ff;
}

.bg-red-subtle {
    background-color: #fff0f0;
}

.text-red {
    color: #EB1D36 !important;
}

.bg-red-light {
    background: #FFF5F6;
}

.bg-success-light {
    background: #ECFDF5;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Text alignment override for LTR/RTL context if forced */
.text-end {
    text-align: right !important;
}

/* Card Hover Effects */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 1.5rem 2rem rgba(0, 0, 0, 0.1) !important;
}

/* Subtles */
.bg-warning-subtle {
    background-color: #fffbeb !important;
}

.bg-success-subtle {
    background-color: #f0fdf4 !important;
}

.bg-primary-subtle {
    background-color: #eff6ff !important;
}

.fw-black {
    font-weight: 900;
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.bg-red-subtle {
    background-color: #fff1f2;
}

.text-red {
    color: #EB1D36;
}

.hover-scale {
    transition: transform 0.2s;
}

.hover-scale {
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.hover-scale:hover {
    transform: scale(1.1);
    background-color: #f8f9fa !important;
}

.hover-elevate {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-elevate:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .075) !important;
}

/* Global Secondary Accents */
.text-secondary {
    color: var(--bs-secondary) !important;
}

.bg-secondary {
    background-color: var(--bs-secondary) !important;
}

/* Modern Theme Design System - Sib SMS
   Aggregated and Standardized from Template Parts */
.text-red {
    color: #EB1D36 !important;
}

/* Typography Utilities */
.fs-10 {
    font-size: 10px !important;
}

.fs-11 {
    font-size: 11px !important;
}

.fs-12 {
    font-size: 12px !important;
}

.fs-13 {
    font-size: 13px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-15 {
    font-size: 15px !important;
}

.fs-16 {
    font-size: 16px !important;
}

.fs-18 {
    font-size: 18px !important;
}

.fs-20 {
    font-size: 20px !important;
}

.fw-black {
    font-weight: 900 !important;
}

.bg-red-light {
    background: #FFF5F6 !important;
    color: #EB1D36 !important;
}

.bg-red {
    background: #EB1D36 !important;
}

.bg-success-light {
    background: #ECFDF5 !important;
}

.bg-red-soft-extra {
    background: #FFFBFC;
}

.bg-light-soft {
    background: #FFFBFC;
}

/* Secondary Blue Theme (#1469EB) */
.text-secondary-blue {
    color: #1469EB !important;
}

.bg-secondary-blue {
    background: #1469EB !important;
}

.bg-secondary-blue-light {
    background: rgba(20, 105, 235, 0.1) !important;
}

.border-secondary-blue {
    border-color: #1469EB !important;
}

.bg-gradient-blue {
    background: linear-gradient(90deg, #1469EB 0%, #0F4FA8 100%) !important;
}

.fs-18 {
    font-size: 1.1rem;
}

.fs-13 {
    font-size: 0.8rem;
}

.bg-gradient-red {
    background: linear-gradient(90deg, #EB1D36 0%, #AC162B 100%);
}

/* ==========================================================================
   5. Buttons & Badges (Components)
   ========================================================================== */

/* New Buttons */
.btn-saas-primary {
    background: var(--grad-primary);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 36px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.btn-saas-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.5);
    color: white;
}

.btn-saas-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    padding: 12px 34px;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-saas-outline:hover {
    background: var(--primary);
    color: white;
}

/* Leftward movement for RTL */
.blog-category-badge {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    background-color: rgba(220, 53, 69, 0.95);
}

/* Scoped styles for CTA */
.btn-white {
    background-color: white;
    color: #dc3545;
    /* Bootstrap danger color */
    border: 2px solid white;
    transition: all 0.3s ease;
}

/* Bootstrap danger color */
.btn-white:hover {
    background-color: transparent;
    color: white;
    /* Text becomes white/transparent, mostly transparent due to span fade */
    border-color: white;
}

.btn-check:checked+.btn-white {
    background-color: #fff;
    color: #EB1D36 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    transform: translateY(-1px);
}

/* Button styling */
.btn-second-color {
    background-color: #1469EB;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-second-color:hover {
    background-color: #0f52ba;
    /* slightly darker #1469EB for hover */
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(20, 105, 235, 0.3);
}

.btn-secondary {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: #0F4FA8;
    border-color: #0F4FA8;
    color: white;
}

.btn-modern {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn-modern-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white) !important;
    box-shadow: 0 10px 20px rgba(235, 29, 54, 0.3);
}

.btn-modern-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(235, 29, 54, 0.4);
}

.btn-modern-outline {
    background: var(--white);
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color);
}

.btn-modern-outline:hover {
    background: var(--primary-color);
    color: var(--white) !important;
}

/* Force Reset for WordPress Menu Links - Excluding Buttons */
body:has(#wpadminbar) > header {
  margin-top: 32px;
}
@media screen and (max-width: 782px) {
  body:has(#wpadminbar) > header {
    margin-top: 0;
  }

  body:has(#wpadminbar[style*="position: absolute"]) ,
  body:has(#wpadminbar.is-absolute) {
    padding-top: 46px;
  }
}

.navbar-nav .menu-item a,
.navbar-nav .nav-link,
header a:not(.btn) {
    color: var(--text-main) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 0.5rem !important;
    position: relative;
    transition: var(--transition);
    border-radius: 12px;
    text-decoration: none !important;
    /* Forces removal of default underlines */
    display: inline-block;
    background: transparent !important;
}

.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-modern-primary {
    background: #EB1D36 !important;
    color: white !important;
}

.btn-modern-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(235, 29, 54, 0.2);
}

.btn-modern-primary:active,
.btn-modern-primary:focus,
.btn-modern-primary:active:focus {
    background: #c41829 !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(235, 29, 54, 0.35) !important;
    outline: none !important;
}

.btn-modern-outline {
    border: 2px solid #EB1D36;
    color: #EB1D36 !important;
    background: transparent;
}

.btn-modern-outline:hover {
    background: #EB1D36;
    color: white !important;
}

.btn-modern-secondary {
    background: #1469EB;
    color: white !important;
}

.btn-modern-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(20, 105, 235, 0.2);
}

.btn-secondary-blue {
    background: #1469EB;
    color: white !important;
    border: none;
    transition: all 0.3s ease;
}

.btn-secondary-blue:hover {
    background: #0F4FA8;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(20, 105, 235, 0.2);
}

.badge-minimal {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.8rem;
    color: #FFFFFF;
}

.btn-hero-main {
    background: #FFFFFF;
    color: #EB1D36 !important;
    padding: 15px 34px;
    border-radius: 100px;
    font-weight: 900;
    font-size: 1.02rem;
    line-height: 1.35;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    min-height: 56px;
}

.btn-hero-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.btn-hero-link {
    background: transparent;
    color: #FFFFFF !important;
    padding: 15px 28px;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.35;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    transition: all 0.3s;
}

.hero-cta-group .btn-hero-main i,
.hero-cta-group .btn-hero-link i {
    flex-shrink: 0;
}

.btn-hero-link:hover {
    opacity: 0.8;
    transform: translateX(-5px);
}

.badge-tag {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-date-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-date-badge .day {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: #EB1D36;
    line-height: 1;
}

.blog-date-badge .month {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #1A1A1A;
}

.btn-read-more {
    background: none;
    border: none;
    color: #EB1D36;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 50px;
}

.btn-read-more:hover {
    background: rgba(235, 29, 54, 0.05);
}

.btn-read-more.active i {
    transform: rotate(180deg);
}

.btn-modern-white {
    background: #FFFFFF;
    color: #EB1D36 !important;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-modern-white:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(235, 29, 54, 0.2);
    background: #FFF5F6;
}

.btn-mini-modern {
    background: #EB1D36;
    color: white;
    padding: 8px 30px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
}

.social-btn {
    width: 44px;
    height: 44px;
    background: #FFF5F6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EB1D36;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: #EB1D36;
    color: white;
    transform: translateY(-3px);
}

.social-btn-sm {
    width: 36px;
    height: 36px;
    background: #FFF5F6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EB1D36;
    text-decoration: none !important;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-btn-sm:hover {
    background: #EB1D36;
    color: white;
    transform: translateY(-3px);
}

/* ==========================================================================
   6. Header & Navigation
   ========================================================================== */

/* Header Update */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border: none;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--dark) !important;
    padding: 0.5rem 1.5rem !important;
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
}

/* Custom Styles for Modern Blog Redesign */
.blog-header-section {
    background: linear-gradient(180deg, rgba(220, 53, 69, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Global breadcrumb fix */
.rank-math-breadcrumb {
    display: none;
}

/* Unified Breadcrumb Styles */
.breadcrumb-unified .rank-math-breadcrumb {
    display: block !important;
    width: 100%;
}

.breadcrumb-unified .rank-math-breadcrumb p {
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.7;
}

.breadcrumb-unified .rank-math-breadcrumb .last {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    font-weight: 700;
}

/* Ensure separation from the badge */
.breadcrumb-unified .rank-math-breadcrumb .separator {
    margin: 0 0.15rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
}

.sf-breadcrumb-shell {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.breadcrumb-unified {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.45rem 0.8rem;
    direction: rtl;
}

.sf-breadcrumb-icon {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.24);
    color: #FFFFFF;
    flex-shrink: 0;
}

.breadcrumb-unified .rank-math-breadcrumb a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.breadcrumb-unified .rank-math-breadcrumb a:hover {
    color: #FFFFFF;
    opacity: 1;
}

.sf-feature-chip {
    background: rgba(20, 20, 20, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 991.98px) {
    .sf-breadcrumb-shell {
        display: flex;
        align-items: stretch;
        gap: 0.75rem;
    }

    .breadcrumb-unified {
        width: 100%;
        justify-content: flex-start;
        border-radius: 14px;
        padding: 0.55rem 0.75rem;
    }

    .breadcrumb-unified .rank-math-breadcrumb p {
        font-size: 0.8rem;
        gap: 0.25rem;
    }

    .breadcrumb-unified .rank-math-breadcrumb .last {
        max-width: 100%;
    }

    .sf-feature-chip {
        width: fit-content;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .sf-breadcrumb-shell {
        gap: 0.2rem;
    }
    .breadcrumb-unified {
        display: inline-flex !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 100%;
        padding: 0.22rem 0.45rem !important;
        border-radius: 10px !important;
        font-size: 0.72rem !important;
        margin: 0 0 0 auto !important;
        float: right !important;
    }
    .sf-breadcrumb-icon {
        display: none !important;
    }
    .breadcrumb-unified .rank-math-breadcrumb p {
        font-size: 0.72rem !important;
        gap: 0.1rem !important;
        color: #fff;
        padding: 0;
    }
    .breadcrumb-unified .rank-math-breadcrumb .last {
        padding: 0 0.2rem !important;
        font-weight: 700;
        color: #fff;
    }
    .breadcrumb-unified .rank-math-breadcrumb .separator {
        margin: 0 0.1rem !important;
    }
}

/* Navbar Enhancements */
header.fixed-top {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(235, 29, 54, 0.05);
    transition: var(--transition);
}

/* Forces removal of default underlines */
.navbar-nav .menu-item a:hover,
.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(235, 29, 54, 0.04) !important;
}

.navbar-nav .menu-item a:after,
.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 10px;
    transition: var(--transition);
    transform: translateX(-50%);
    opacity: 0;
}

.navbar-nav .menu-item a:hover:after,
.navbar-nav .menu-item.current-menu-item a:after,
.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link.active:after {
    width: 12px;
    opacity: 1;
}

.navbar-nav .menu-item.current-menu-item a,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(235, 29, 54, 0.06) !important;
}

.app-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.feature-header-inline {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* FAQ Active State Override */
.nav-pills .nav-link.active {
    background-color: #EB1D36 !important;
    border-color: #EB1D36 !important;
}

/* ==========================================================================
   7. Hero & Banner Sections
   ========================================================================== */

/* Hero Elements */
.hero-mockup-container {
    position: relative;
    perspective: 1000px;
}

.bg-gradient-subtle {
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(240, 240, 240, 0.4));
}

.hero-section {
    background: #1A1A1A;
    /* Fallback */
    background: linear-gradient(135deg, #1A1A1A 0%, #000000 100%);
    color: white;
}

.z-index-2 {
    z-index: 2;
}

/* Fallback */
.hero-glow-1 {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(235, 29, 54, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    top: -200px;
    right: -200px;
    z-index: 0;
    filter: blur(80px);
}

.hero-glow-2 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    bottom: -100px;
    left: -100px;
    z-index: 0;
    filter: blur(80px);
}

/* Responsive negative margin for precise positioning */
.hero-content-overlap {
    margin-top: 0;
    padding-bottom: 2rem;
    /* Add some space at bottom */
}

.hero-row-height {
    min-height: auto;
    margin-top: -30px;
}

.sf-template {
    overflow-x: hidden;
    background-color: #ffffff;
}

.sf-template a {
    text-decoration: none !important;
    color: #EB1D36;
    /* Appropriate default link color matching brand red */
    transition: opacity 0.3s ease;
}

/* Appropriate default link color matching brand red */
.sf-template a:hover {
    opacity: 0.8;
}

.sf-template .drop-shadow {
    filter: drop-shadow(0 10px 30px rgba(235, 29, 54, 0.1));
}

.sf-template .bg-red-light {
    background-color: #FFF5F6 !important;
    color: #EB1D36 !important;
}

/* Ensure perfect 1:1 circle ratio and centering */
.sf-template .icon-circle {
    aspect-ratio: 1/1 !important;
    width: clamp(40px, 5vw, 60px);
    height: auto;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    flex-shrink: 0;
}

.sf-template .primary-text-contrast {
    color: #FFFFFF !important;
}

.hero-section {
    padding: 120px 0 60px;
    background: #EB1D36;
    color: white;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%), radial-gradient(circle at 20% 80%, rgba(0, 0, 0, 0.05) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.hero-display {
    font-size: clamp(1.8rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    color: #FFFFFF !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.hero-lead {
    font-size: 1.15rem;
    max-width: 520px;
    margin-left: auto;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.hero-visual-center {
    display: flex;
    justify-content: center;
    position: relative;
    perspective: 1000px;
}

/* Single Feature: Blue hero + pink strip redesign */
.sf-template .sf-send-sms-hero {
    background: #ffffff;
    color: #1f3353;
    min-height: auto;
    padding: 115px 0 58px;
    align-items: flex-start;
    overflow: visible;
}

.sf-template .sf-send-sms-hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    /* باکس قرمز تا انتهای متن و عکس کشیده می‌شود */
    bottom: 0;
    background: linear-gradient(135deg, #d90f38 0%, #eb1d36 48%, #ff4864 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    z-index: 0;
}

.sf-template .sf-send-sms-hero .hero-bg-glow {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
    background:
        radial-gradient(420px 180px at 82% 30%, rgba(255, 255, 255, 0.23) 0%, rgba(255, 255, 255, 0) 70%),
        radial-gradient(360px 160px at 20% 18%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 74%);
}

.sf-template .sf-send-sms-row {
    min-height: auto;
    margin-top: 0;
    row-gap: 1.3rem;
}

.sf-template .sf-send-sms-copy {
    position: relative;
    z-index: 3;
}

.sf-template .sf-send-sms-hero .hero-title {
    margin-bottom: 1rem !important;
}

.sf-template .sf-send-sms-hero .hero-display {
    color: #ffffff !important;
    text-shadow: 0 10px 28px rgba(16, 61, 126, 0.33);
    font-size: clamp(1.95rem, 4.8vw, 3.5rem);
}

.sf-template .sf-send-sms-hero .hero-desc {
    margin-top: 2.1rem;
}

.sf-template .sf-send-sms-hero .hero-lead {
    color: rgba(255, 255, 255, 0.92);
    max-width: 560px;
    line-height: 2;
    font-size: 1rem;
}

.sf-template .sf-send-sms-media {
    justify-content: flex-start;
    z-index: 2;
}

.sf-template .sf-send-sms-image-wrap {
    width: 100%;
    max-width: 540px;
}

.sf-template .sf-send-sms-image {
    width: 100%;
    height: auto;
    /* نسبت ابعاد ثابت تا همه عکس‌های هیرو (با هر ابعاد آپلودی) یک سایز یکدست شوند */
    aspect-ratio: 4 / 3;
    display: block;
    border-radius: 24px;
    border: 3px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 22px 42px rgba(12, 38, 80, 0.16);
    /* عکس داخل کادر کراپ می‌شود تا بدون کشیدگی، سایز یکسان بماند */
    object-fit: cover;
    object-position: center;
}

.sf-template .sf-send-sms-hero .breadcrumb-unified {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.18));
    border-color: rgba(255, 255, 255, 0.44);
    box-shadow: 0 8px 22px rgba(8, 41, 90, 0.18);
}

.sf-template .sf-send-sms-hero .breadcrumb-unified .rank-math-breadcrumb p,
.sf-template .sf-send-sms-hero .breadcrumb-unified .rank-math-breadcrumb a,
.sf-template .sf-send-sms-hero .sf-breadcrumb-icon {
    color: rgba(255, 255, 255, 0.96);
}

.sf-template .sf-send-sms-hero .breadcrumb-unified .rank-math-breadcrumb .last {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.38);
}

.sf-template .sf-under-hero-wrap {
    margin-top: -2px;
    padding-bottom: 12px;
}

.sf-template .sf-under-hero-card {
    position: relative;
    border-radius: 18px !important;
    border: 1px solid #f4ccd3;
    background: #fff4f6;
    min-height: 86px;
    overflow: visible;
    padding: 1.05rem 5.15rem 1.05rem 5.35rem !important;
}

.sf-template .sf-under-hero-content {
    position: relative;
    z-index: 2;
}

.sf-template .sf-under-hero-content h5 {
    color: #1d2940 !important;
    font-size: 1rem;
    line-height: 2;
}

.sf-template .sf-under-hero-watermark {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.34;
    mix-blend-mode: multiply;
    filter: saturate(0.9) brightness(0.82);
    pointer-events: none;
}

.sf-template .sf-under-hero-watermark img {
    width: 68px;
    height: 68px;
    display: block;
}

.sf-template .sf-under-hero-badge {
    position: absolute;
    right: 1rem;
    bottom: 50%;
    transform: translateY(50%);
    width: 62px;
    height: 62px;
    border-radius: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    pointer-events: none;
}

.sf-template .sf-under-hero-badge img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .sf-template .sf-send-sms-hero {
        padding: 102px 0 48px;
    }

    .sf-template .sf-send-sms-hero .hero-bg-glow {
        height: 100%;
    }

    .sf-template .sf-send-sms-copy {
        text-align: center !important;
    }

    .sf-template .sf-send-sms-hero .hero-lead {
        margin-inline: auto;
        max-width: 620px;
    }

    .sf-template .sf-send-sms-media {
        justify-content: center;
    }

    .sf-template .sf-send-sms-image-wrap {
        max-width: 620px;
    }

    .sf-template .sf-under-hero-card {
        padding: 1rem 4.6rem 1rem 4.6rem !important;
    }

    .sf-template .sf-under-hero-watermark {
        left: 0.75rem;
    }

    .sf-template .sf-under-hero-badge {
        right: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .sf-template .sf-send-sms-hero {
        padding: 92px 0 42px;
    }

    .sf-template .sf-send-sms-hero .hero-display {
        font-size: clamp(1.45rem, 7.4vw, 2rem);
        line-height: 1.42;
    }

    .sf-template .sf-send-sms-hero .hero-lead {
        font-size: 0.93rem;
        line-height: 1.95;
    }

    .sf-template .sf-under-hero-card {
        min-height: 82px;
        border-radius: 14px !important;
        padding: 0.95rem 3.95rem 0.95rem 3.95rem !important;
    }

    .sf-template .sf-under-hero-content h5 {
        font-size: 0.9rem;
        line-height: 1.8;
    }

    .sf-template .sf-under-hero-watermark img {
        width: 52px;
        height: 52px;
    }

    .sf-template .sf-under-hero-badge {
        width: 50px;
        height: 50px;
        bottom: 50%;
    }

    .sf-template .sf-under-hero-badge img {
        width: 46px;
        height: 46px;
    }
}

/* Hero Text Toggle Arrow */
.toggle-arrow {
    transition: transform 0.3s ease;
}

/* ==========================================================================
   8. Panels & Features
   ========================================================================== */

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    box-shadow: var(--glass-shadow);
}

.feature-card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .08) !important;
}

/* Manual Extraction */
.sms-panel-feature-blob {
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
    transform: scale(1.5) translateX(-20%);
    z-index: 0;
}

.feature-item-glass {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.feature-item-glass:hover {
    transform: translateX(-5px);
    box-shadow: 0 10px 30px rgba(235, 29, 54, 0.1);
}

.feature-visual-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
}

.feature-card-simple {
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.feature-card-simple:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.glass-feature-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #FFF0F1;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem !important;
    color: #EB1D36;
    transition: 0.3s ease;
}

.glass-feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.glass-feature-card:hover .card-arrow-inline {
    opacity: 1;
    transform: translateX(0);
}

.glass-feature-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   9. Blog & Articles
   ========================================================================== */

.blog-card-modern {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    background-color: #fff;
}

.blog-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(220, 53, 69, 0.15) !important;
}

.blog-card-modern .card-img-wrap {
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
    height: 220px;
    position: relative;
}

.blog-card-modern .card-img-wrap img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-modern:hover .card-img-wrap img {
    transform: scale(1.08);
}

.blog-card-modern .read-more-link {
    transition: color 0.3s ease;
}

.blog-card-modern .read-more-link .icon-wrap {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.blog-card-modern:hover .read-more-link .icon-wrap {
    transform: translateX(-6px);
    /* Leftward movement for RTL */
    background-color: rgba(220, 53, 69, 0.2) !important;
}

.modern-blog-card {
    background: #FFFFFF;
    border-radius: 30px;
    border: 1px solid #FFF0F1;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
}

.blog-thumb-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.modern-blog-card:hover .blog-img {
    transform: scale(1.1);
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    background: #FFFBFC;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #FFDEE2;
}

.blog-title {
    font-size: 1.15rem;
    line-height: 1.5;
}

.blog-excerpt {
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ==========================================================================
   10. Pricing & Tariffs
   ========================================================================== */

.pricing-card {
    background: #FFFFFF;
    border-radius: 40px;
    border: 1px solid #FFF0F1;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.plan-popular {
    background: #FFFFFF;
    border: 2px solid #EB1D36;
    box-shadow: 0 30px 70px rgba(235, 29, 54, 0.15);
    z-index: 2;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #4A4A4A;
}

.pricing-features li i {
    color: #10B981;
    font-size: 1.2rem;
}

.plan-normal:hover {
    border-color: #FFDEE2;
    transform: translateY(-8px);
}

/* ==========================================================================
   11. Footer & Social
   ========================================================================== */

.social-card {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-card:hover {
    background: #fff !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.social-card:hover i {
    transform: scale(1.1);
}

.testimonial-footer {
    padding-top: 15px !important;
}

.footer-modern {
    background: #FFFFFF;
    border-top: 1px solid #FFF0F1;
    padding-top: 40px !important;
}

.footer-link {
    color: #6B7280;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #EB1D36;
    transform: translateX(-5px);
}

.glass-footer-card {
    background: #FFFBFC;
    border-radius: 20px;
    border: 1px solid #FFF0F1;
}

/* ==========================================================================
   12. Other Template Sections
   ========================================================================== */

.accordion-item-modern {
    transition: all 0.3s ease;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.aspect-square {
    aspect-ratio: 1/1;
}

.desktop-pill {
    border-radius: 1rem;
}

.modern-blog-card:hover img {
    transform: scale(1.05);
}

.step .content.active {
    opacity: 1 !important;
    transform: translateX(-50%) translateY(0) !important;
    z-index: 10;
}

.plugin-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px 8px 12px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 50px;
    text-decoration: none;
    color: #495057;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

/* ==========================================================================
   13. Responsive / Media Queries
   ========================================================================== */

@media (max-width: 767px) {
    .border-white-50 {
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
        padding-bottom: 1rem;
    }

    .col-6:nth-last-child(1) .border-white-50,
    .col-6:nth-last-child(2) .border-white-50 {
        border-bottom: none !important;
    }

}

/* Mobile/Tablet: keep all check icons on the right in Regional SMS cards. */
@media (max-width: 991.98px) {
    #Regional-SMS .feature-card-hover .card-body,
    #Regional-SMS .feature-card-hover .card-body.flex-row,
    #Regional-SMS .feature-card-hover .card-body.flex-row-reverse {
        direction: rtl;
        flex-direction: row !important;
    }
}

/* Add some space at bottom */
@media (min-width: 992px) {
    .hero-content-overlap {
        /* Pull text up into the empty space of the image */
        margin-top: -160px;
    }
}

/* Pull text up into the empty space of the image */
@media (min-width: 1400px) {
    .hero-content-overlap {
        margin-top: -200px;
    }
}

@media (min-width: 992px) {
    .step-card {
        flex: 1 1 0;
        width: 100% !important;
    }

    .scrollbar-hide {
        overflow-x: visible !important;
        justify-content: space-between;
    }
}

@media (min-width: 992px) {
    .hero-row-height {
        min-height: 75vh;
        margin-top: 0;
    }
}

/* Mobile: Rounded-4 equivalent (1rem approx) */
@media (min-width: 768px) {
    .desktop-pill {
        border-radius: 50rem !important;
    }
}

@media (max-width: 991.98px) {
    #OurTariffs_page {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    #OurTariffs_page .card {
        height: auto !important;
        min-height: 0;
        margin-bottom: 1rem;
    }

    /* Keep large icons hidden on mobile to save scroll space, 
               but restore other elements for readability */
    #OurTariffs_page .card-header .rounded-circle {
        display: none !important;
    }

    #OurTariffs_page .card-header {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    #OurTariffs_page .card-header .badge {
        display: inline-block;
        /* Restore popular badge */
        font-size: 0.75rem;
        padding: 0.35em 0.65em;
    }

    #OurTariffs_page .card-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem !important;
    }

    #OurTariffs_page .card-body {
        padding: 1.5rem !important;
        overflow-x: auto;
        /* Allow horizontal scroll if content is too wide */
        white-space: nowrap;
    }

    /* Restore "hazar toman" */
    #OurTariffs_page .text-muted.d-block.mt-1 {
        display: block !important;
        font-size: 0.9rem;
    }

    #OurTariffs_page .display-5 {
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
    }

    #OurTariffs_page .btn {
        padding: 0.5rem 1rem !important;
        font-size: 1rem;
        margin-bottom: 1rem !important;
        width: 100%;
        white-space: normal;
        /* Button text should wrap if needed */
    }

    #OurTariffs_page ul li {
        margin-bottom: 0.5rem !important;
        padding-bottom: 0.5rem !important;
        font-size: 0.9rem;
        white-space: nowrap;
        /* Prevent wrapping to trigger scroll */
        overflow: visible;
    }


}

/* Responsive Utilities */
@media (max-width: 991.98px) {
    .text-end {
        text-align: center !important;
    }

    .footer-link-cell {
        text-align: right !important;
    }

    .hero-lead {
        margin-right: auto;
    }

    .hero-display {
        font-size: clamp(1.75rem, 7.8vw, 2.8rem);
        line-height: 1.3;
    }

    .hero-cta-group {
        width: 100%;
        max-width: 430px;
        margin-left: auto;
        margin-right: auto;
        gap: 12px !important;
    }

    .hero-cta-group .btn-hero-main,
    .hero-cta-group .btn-hero-link {
        width: 100%;
        padding: 13px 18px;
        font-size: 0.95rem;
        line-height: 1.45;
        white-space: normal;
    }

    .minimal-phone-frame {
        transform: none !important;
        width: 250px;
        height: 500px;
    }

    .trust-stats {
        border-right: none;
        padding-right: 0;
        margin-top: 30px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .feature-item-glass {
        flex-direction: column;
        text-align: center;
    }

    .glass-feature-card {
        padding: 35px !important;
    }

    .stats-compact-section {
        padding: 0;
    }

    .stat-compact-item {
        padding: 40px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .cta-wrapper {
        padding: 40px 20px !important;
        text-align: center;
    }

    .footer-brand {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 1200px) {
    .hero-cta-group .btn-hero-main {
        white-space: nowrap;
        padding-inline: 36px;
    }

    .hero-cta-group .btn-hero-link {
        white-space: nowrap;
    }
}

/* ==========================================================================
   Mobile Hero (max-width: 991.98px only)
   ========================================================================== */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 75px 0 44px;
        min-height: 100svh;
        min-height: 100dvh;
    }

    /* Description line */
    .hero-mobile-desc {
        font-size: 0.95rem;
        color: rgba(255, 255, 255, 0.82);
        line-height: 1.75;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Stack CTA buttons vertically on mobile */
    .hero-cta-group {
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group .btn-hero-main,
    .hero-cta-group .btn-hero-link {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 14px 20px;
        font-size: 1rem;
        white-space: normal;
    }

    /* 3-column stats bar */
    .hero-mobile-stats {
        width: 100%;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 16px;
        padding: 16px 8px;
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    .hms-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        flex: 1;
    }

    .hms-num {
        font-size: 1.35rem;
        font-weight: 900;
        color: #ffffff;
        line-height: 1;
        letter-spacing: -0.5px;
    }

    .hms-of5 {
        font-size: 0.72rem;
        font-weight: 600;
        opacity: 0.65;
        vertical-align: middle;
    }

    .hms-label {
        font-size: 0.72rem;
        color: rgba(255, 255, 255, 0.7);
        font-weight: 500;
        text-align: center;
        white-space: nowrap;
    }

    .hms-sep {
        width: 1px;
        height: 36px;
        background: rgba(255, 255, 255, 0.2);
        flex-shrink: 0;
    }
}

/* ==========================================================================
   Facilities – mobile 2-column layout with show-more
   ========================================================================== */
@media (max-width: 991.98px) {
    .facility-extra-mobile {
        display: none !important;
    }
}

@media (max-width: 767px) {
    /* کاهش پدینگ کارت در موبایل */
    #FacilitiesModern .glass-feature-card {
        padding: 12px 8px !important;
        border-radius: 14px;
    }

    /* آیکون + عنوان: عمودی و وسط‌چین */
    #FacilitiesModern .glass-feature-card .card-header-row {
        flex-direction: column;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px;
        margin-bottom: 5px !important;
    }

    /* کادر آیکون بزرگ‌تر با پس‌زمینه دایره‌ای */
    #FacilitiesModern .feature-icon {
        width: 48px;
        height: 48px;
        background: #FFF0F1;
        border-radius: 50%;
        flex-shrink: 0;
        font-size: 1.5rem !important;
    }

    #FacilitiesModern .feature-icon img {
        width: 26px;
        height: 26px;
        object-fit: contain;
    }

    /* عنوان وسط‌چین و کوچک‌تر — دو خطی مشکلی نیست */
    #FacilitiesModern .glass-feature-card h3 {
        text-align: center !important;
        font-size: 12px !important;
        line-height: 1.4;
        white-space: normal;
    }

    /* متن توضیحات: فونت کوچک‌تر، وسط‌چین، بدون مارجین اضافه */
    #FacilitiesModern .glass-feature-card p.card-desc {
        font-size: 10.5px !important;
        line-height: 1.65;
        text-align: center !important;
        margin-top: 4px !important;
    }
}

/* ==========================================================================
   Tariff comparison grid (subgrid-aligned)
   هر ردیف یک سطر مشترک بین همه ستون‌هاست تا تراز افقی تضمین شود
   ========================================================================== */
#OurTariffs_page .tariff-grid {
    display: grid;
    /* ستون اول (موضوعات، سمت راست در RTL) باریک‌تر؛ ۴ بستهٔ هم‌عرض */
    grid-template-columns: minmax(120px, 0.7fr) repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(var(--tariff-rows, 12), auto);
    column-gap: 1rem;
    align-items: start;
}

/* هر ستون کل ردیف‌ها را در بر می‌گیرد و ردیف‌ها را از گرید والد به ارث می‌برد */
#OurTariffs_page .tariff-col {
    grid-row: 1 / -1;
    display: grid;
    grid-template-rows: subgrid;
    border-radius: 1rem;
    overflow: hidden;
}

#OurTariffs_page .tariff-col:not(.tariff-col--topics) {
    background: #fff;
    box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.08);
}

#OurTariffs_page .tariff-col--featured {
    box-shadow: 0 0.75rem 2rem rgba(220, 53, 69, 0.18);
}

/* ردیف ۱: هدر */
#OurTariffs_page .tariff-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.5rem 1rem;
    color: #fff;
    text-align: center;
}

#OurTariffs_page .tariff-head-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    font-size: 1.75rem;
    line-height: 1;
}

#OurTariffs_page .tariff-head-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

#OurTariffs_page .tariff-head-badge {
    padding: 0.3rem 0.85rem;
    border-radius: 50rem;
    font-size: 0.75rem;
}

/* ردیف ۲: قیمت */
#OurTariffs_page .tariff-price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 1.25rem 1rem 0.5rem;
}

/* ردیف ۳: دکمه */
#OurTariffs_page .tariff-cta {
    display: flex;
    align-items: center;
    padding: 0 1rem 1.25rem;
}

#OurTariffs_page .tariff-cta .btn {
    width: 100%;
}

/* ردیف‌های ۴ به بعد: ویژگی‌ها */
#OurTariffs_page .tariff-cell {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

#OurTariffs_page .tariff-cell i {
    flex-shrink: 0;
    /* تراز آیکون با خط اولِ متنِ چندخطی ویرایشگر */
    line-height: inherit;
}

/* محتوای ویرایشگر WYSIWYG: حفظ خط جدید و رنگ، بدون حاشیهٔ اضافی پاراگراف */
#OurTariffs_page .tariff-cell-value {
    flex: 1;
    min-width: 0;
}

#OurTariffs_page .tariff-cell-value > :first-child {
    margin-top: 0;
}

#OurTariffs_page .tariff-cell-value > :last-child {
    margin-bottom: 0;
}

#OurTariffs_page .tariff-cell-value p {
    margin: 0 0 0.25rem;
}

/* برچسب موضوع داخل هر سلول فقط در موبایل دیده می‌شود */
#OurTariffs_page .tariff-cell-label {
    display: none;
}

/* ستون موضوعات (شفاف، بدون کارت) */
#OurTariffs_page .tariff-col--topics {
    background: transparent;
    box-shadow: none;
}

#OurTariffs_page .tariff-cell--topic {
    /* در RTL، flex-end یعنی سمت چپ — متن به سمت چپ هر ردیف می‌چسبد */
    justify-content: flex-end;
    text-align: left;
    font-weight: 600;
    /* در عرض کم، فاصلهٔ افقی کمتر تا متن جا شود */
    padding-inline: 0.5rem 0.25rem;
}

#OurTariffs_page .tariff-col--topics .tariff-cell {
    border-top-color: rgba(15, 23, 42, 0.04);
}

/* موبایل: ستون‌ها زیر هم، بدون subgrid */
@media (max-width: 991.98px) {
    #OurTariffs_page {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    #OurTariffs_page .tariff-grid {
        display: block;
    }

    #OurTariffs_page .tariff-col {
        display: block;
        grid-row: auto;
        margin-bottom: 1.5rem;
    }

    /* در موبایل برچسب موضوع کنار هر مقدار نمایش داده می‌شود؛ پس ستون موضوعات لازم نیست */
    #OurTariffs_page .tariff-col--topics {
        display: none;
    }

    #OurTariffs_page .tariff-cell {
        justify-content: space-between;
    }

    #OurTariffs_page .tariff-cell i {
        display: none;
    }

    #OurTariffs_page .tariff-cell-label {
        display: inline;
        font-weight: 600;
        color: #64748b;
    }
}

/* ==========================================================================
   14. Uncategorized
   ========================================================================== */

/* Sections */
.section-padding {
    padding: 20px 0;
}

/* Modern Components */
.card-saas {
    background: var(--white);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 2rem;
}

.card-saas:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15);
}

/* Abstract Background Shapes */
.blob-bg {
    position: absolute;
    z-index: -1;
    filter: blur(80px);
    border-radius: 50%;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: #000;
    border-radius: 40px;
    border: 8px solid #333;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    transform: rotateY(-15deg) rotateX(5deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--grad-soft);
    padding: 20px;
}

/* Custom Checkmark for Saas */
.check-list li {
    list-style: none;
    position: relative;
    padding-right: 35px;
    margin-bottom: 15px;
}

.check-list li::before {
    content: '\eb7a';
    /* RemixIcon circle-fill check */
    font-family: 'remixicon';
    position: absolute;
    right: 0;
    color: var(--primary);
    background: var(--primary-light);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.transition-all {
    transition: all 0.3s ease;
}

.group-hover-link:hover .ri-arrow-left-line {
    transform: translateX(-5px);
}

.transition-transform {
    transition: transform 0.3s ease;
}

.rounded-end-pill {
    border-top-right-radius: 50rem !important;
    border-bottom-right-radius: 50rem !important;
}

.drop-shadow-xl {
    filter: drop-shadow(0 20px 40px rgba(220, 53, 69, 0.2));
}

/* RTL adjustment: Flip arrow for Persian */
[dir="rtl"] .ri-arrow-left-line {
    transform: rotate(0deg);
    /* Reset if needed or Keep if default icon points left */
}

.tracking-wider {
    letter-spacing: 1px;
}

.transition-hover-border:hover {
    border-color: var(--bs-primary) !important;
}

.accordion-item-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
}

.rotate-45 {
    transform: rotate(45deg);
}

/* Override bootstrap toggle icon logic for custom icon */
.accordion-button::after {
    display: none;
}

.blur-3xl {
    filter: blur(3rem);
}

/* Icon Scale Effect */
.group:hover .transition-scale {
    transform: scale(1.1);
}

.transition-scale {
    transition: transform 0.3s ease;
}

/* Arrow Movement */
.group-hover-translate {
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.group:hover .group-hover-translate {
    transform: translateX(-5px);
    /* Moves left in LTR, checks based on Dir */
    background-color: var(--bs-primary) !important;
}

/* Moves left in LTR, checks based on Dir */
.group:hover .group-hover-translate i {
    color: white !important;
}

.shake-slow {
    animation: shake 2s infinite cubic-bezier(.36, .07, .19, .97) both;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.x-small {
    font-size: 0.75rem;
}

.step-label.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s;
}

.draggable:active {
    cursor: grabbing !important;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.3) !important;
}

/* Internal styles for page text readability and applying the requested second color */
.page-main-content .content-card h1,
.page-main-content .content-card h2,
.page-main-content .content-card h3,
.page-main-content .content-card h4,
.page-main-content .content-card h5,
.page-main-content .content-card h6 {
    color: var(--heading-color, #000000);
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.page-main-content .content-card h1:first-child,
.page-main-content .content-card h2:first-child,
.page-main-content .content-card h3:first-child {
    margin-top: 0;
}

.page-main-content .content-card p {
    margin-bottom: 1.25rem;
    color: var(--text-muted, #666666);
    line-height: 2.1;
}

/* Second color usage for links */
.page-main-content .content-card a {
    color: #1469EB;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-main-content .content-card a:hover {
    color: var(--primary-color, #EB1D36);
    text-decoration: underline;
}

/* Second color usage for list markers */
.page-main-content .content-card ul,
.page-main-content .content-card ol {
    margin-bottom: 1.5rem;
    padding-right: 2rem;
    /* RTL support */
}

/* RTL support */
.page-main-content .content-card li {
    margin-bottom: 0.75rem;
    color: var(--text-muted, #666666);
    line-height: 2.1;
}

.page-main-content .content-card li::marker {
    color: #1469EB;
    font-weight: bold;
}

/* Content Images */
.page-main-content .content-card img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md, 20px);
    box-shadow: var(--shadow-soft, 0 10px 30px rgba(0, 0, 0, 0.05));
    margin: 2rem 0;
    display: block;
}

/* Blockquotes */
.page-main-content .content-card blockquote {
    border-right: 4px solid #1469EB;
    background: rgba(20, 105, 235, 0.05);
    padding: 1.5rem 2rem;
    border-radius: 12px 0 0 12px;
    /* RTL rounded corners: left rounded, right flat */
    margin: 2.5rem 0;
    font-style: italic;
    color: var(--text-main, #1A1A1A);
    position: relative;
}

/* RTL rounded corners: left rounded, right flat */
.page-title-underline {
    height: 4px;
    width: 60px;
    background-color: #1469EB;
}

/* Internal styles for post text readability and applying the requested second color (#1469EB) */
.post-main-content .content-card h1,
.post-main-content .content-card h2,
.post-main-content .content-card h3,
.post-main-content .content-card h4,
.post-main-content .content-card h5,
.post-main-content .content-card h6 {
    color: var(--heading-color, #000000);
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.post-main-content .content-card h1:first-child,
.post-main-content .content-card h2:first-child,
.post-main-content .content-card h3:first-child {
    margin-top: 0;
}

.post-main-content .content-card p {
    margin-bottom: 1.25rem;
    color: var(--text-muted, #666666);
    line-height: 2.1;
}

/* Second color usage for links (#1469EB) */
.post-main-content .content-card a {
    color: #1469EB;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.post-main-content .content-card a:hover {
    color: var(--primary-color, #EB1D36);
    text-decoration: underline;
}

/* Second color usage for list markers */
.post-main-content .content-card ul,
.post-main-content .content-card ol {
    margin-bottom: 1.5rem;
    padding-right: 2rem;
    /* RTL support */
}

/* RTL support */
.post-main-content .content-card li {
    margin-bottom: 0.75rem;
    color: var(--text-muted, #666666);
    line-height: 2.1;
}

.post-main-content .content-card li::marker {
    color: #1469EB;
    font-weight: bold;
}

/* Content Images */
.post-main-content .content-card img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md, 20px);
    box-shadow: var(--shadow-soft, 0 10px 30px rgba(0, 0, 0, 0.05));
    margin: 2rem 0;
    display: block;
}

/* Blockquotes */
.post-main-content .content-card blockquote {
    border-right: 4px solid #1469EB;
    background: rgba(20, 105, 235, 0.05);
    /* #1469EB with opacity */
    padding: 1.5rem 2rem;
    border-radius: 12px 0 0 12px;
    /* RTL rounded corners: left rounded, right flat */
    margin: 2.5rem 0;
    font-style: italic;
    color: var(--text-main, #1A1A1A);
    position: relative;
}

/* RTL rounded corners: left rounded, right flat */
.post-title-underline {
    height: 4px;
    width: 60px;
    background-color: #1469EB;
}

/* Sidebar Styles reusing second color */
.sidebar-box {
    background-color: rgba(255, 255, 255, 0.85);
    /* subtle glass effect */
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md, 20px);
    box-shadow: var(--shadow-sm, 0 5px 15px rgba(0, 0, 0, 0.03));
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* subtle glass effect */
.sidebar-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md, 0 15px 35px rgba(0, 0, 0, 0.07));
}

.sidebar-box .box-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--heading-color, #000000);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.sidebar-box .box-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    /* RTL alignment */
    width: 40px;
    height: 3px;
    background-color: #1469EB;
    border-radius: 2px;
}

/* RTL alignment */
.latest-posts-list a {
    color: var(--text-main, #1A1A1A);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
    display: block;
    line-height: 1.5;
}

.latest-posts-list a:hover {
    color: #1469EB;
}

.latest-posts-list li {
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.latest-posts-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* ===== Modern Single Post Redesign ===== */
.single-post-redesign {
    --single-bg: #f5f8ff;
    --single-surface: #ffffff;
    --single-text: #1b2533;
    --single-muted: #5e6876;
    --single-primary: #1469eb;
    --single-accent: #eb1d36;
    background:
        radial-gradient(60rem 28rem at 85% -8%, rgba(20, 105, 235, 0.14), transparent 65%),
        radial-gradient(42rem 22rem at 0% 6%, rgba(235, 29, 54, 0.08), transparent 60%),
        var(--single-bg);
}

.single-hero-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(20, 105, 235, 0.08);
    border-radius: 28px;
    padding: clamp(1.25rem, 2.5vw, 2.2rem);
    box-shadow: 0 16px 38px rgba(17, 43, 78, 0.08);
}

.single-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.single-breadcrumb a {
    color: var(--single-muted);
    text-decoration: none;
    transition: color 0.25s ease;
}

.single-breadcrumb a:hover {
    color: var(--single-primary);
}

.single-breadcrumb-separator,
.single-breadcrumb-current {
    color: #8a95a5;
}

.single-topic-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(20, 105, 235, 0.1);
    color: var(--single-primary);
    padding: 0.4rem 0.85rem;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.single-post-title {
    color: var(--single-text);
    font-size: clamp(1.45rem, 2.7vw, 2.5rem);
    line-height: 1.45;
    letter-spacing: -0.2px;
    margin: 0;
}

.single-post-lead {
    color: var(--single-muted);
    max-width: 850px;
    line-height: 2;
    margin-top: 1rem;
}

.single-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.single-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: #405067;
    background: rgba(20, 105, 235, 0.08);
    border: 1px solid rgba(20, 105, 235, 0.12);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
}

.single-article-card {
    border-radius: 28px;
    border: 1px solid rgba(18, 39, 66, 0.08);
    box-shadow: 0 20px 45px rgba(13, 29, 52, 0.07);
    padding: clamp(1rem, 1.8vw, 1.4rem);
}

.single-featured-media {
    border-radius: 20px;
    overflow: hidden;
    margin: 0;
}

.single-featured-media img {
    max-height: 460px;
    object-fit: cover;
}

.single-article-body {
    color: var(--single-text);
    font-size: 1rem;
    line-height: 2;
    text-align: right;
}

.single-article-body h1,
.single-article-body h2,
.single-article-body h3,
.single-article-body h4,
.single-article-body h5,
.single-article-body h6 {
    color: #0f1f36;
    margin-top: 2.3rem;
    margin-bottom: 1rem;
    line-height: 1.75;
    font-weight: 800;
}

.single-article-body p,
.single-article-body li {
    color: #2f3d4f;
    line-height: 2.15;
}

.single-article-body a {
    color: var(--single-primary);
    text-decoration: none;
    border-bottom: 1px dashed rgba(20, 105, 235, 0.3);
    transition: all 0.25s ease;
}

.single-article-body a:hover {
    color: var(--single-accent);
    border-bottom-color: rgba(235, 29, 54, 0.5);
}

.single-article-body ul,
.single-article-body ol {
    padding-right: 1.35rem;
}

.single-article-body li::marker {
    color: var(--single-primary);
    font-weight: 700;
}

.single-article-body img {
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(17, 43, 78, 0.1);
    margin: 1.8rem auto;
}

.single-article-body blockquote {
    border-right: 4px solid var(--single-primary);
    margin: 2rem 0;
    padding: 1.2rem 1.4rem;
    border-radius: 12px;
    background: rgba(20, 105, 235, 0.06);
    color: #1a2d47;
}

.single-post-tags {
    border-top: 1px dashed rgba(20, 31, 51, 0.16);
}

.single-mini-title {
    font-size: 1rem;
    margin-bottom: 0.85rem;
    color: #1a2433;
}

.single-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.single-tag-pill {
    display: inline-flex;
    align-items: center;
    background: #f0f5ff;
    border: 1px solid rgba(20, 105, 235, 0.14);
    color: #0c3f8d;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.85rem;
    transition: all 0.25s ease;
}

.single-tag-pill:hover {
    transform: translateY(-2px);
    color: #ffffff;
    background: #0c3f8d;
}

.single-sidebar-wrap {
    top: 88px;
    display: grid;
    gap: 1rem;
}

@media (min-width: 992px) {
    .single-layout-row {
        flex-direction: row-reverse;
    }
}

.single-sidebar-card {
    background: var(--single-surface);
    border: 1px solid rgba(19, 40, 70, 0.1);
    border-radius: 22px;
    padding: 1rem;
    box-shadow: 0 12px 30px rgba(15, 34, 62, 0.08);
}

.single-sidebar-cta {
    background: linear-gradient(145deg, #ffffff, #f6f9ff);
}

.single-sidebar-title {
    font-size: 1.03rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    color: #18263b;
    font-weight: 800;
}

.single-sidebar-desc {
    color: #4f5c6f;
    font-size: 0.92rem;
    line-height: 1.95;
    margin-bottom: 0.8rem;
}

.single-register-form {
    display: grid;
    gap: 0.65rem;
}

.single-search-form {
    display: grid;
    gap: 0.65rem;
}

.single-search-form .form-control {
    border-radius: 12px;
    border: 1px solid rgba(20, 105, 235, 0.2);
    background: #ffffff;
    font-size: 0.95rem;
    min-height: 46px;
}

.single-search-form .form-control:focus {
    border-color: rgba(20, 105, 235, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(20, 105, 235, 0.12);
}

.single-register-form .form-control {
    border-radius: 12px;
    border: 1px solid rgba(20, 105, 235, 0.2);
    background: #ffffff;
    font-size: 0.95rem;
}

.single-register-form .form-control:focus {
    border-color: rgba(20, 105, 235, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(20, 105, 235, 0.12);
}

.single-latest-list {
    display: grid;
    gap: 0.65rem;
}

.single-latest-item {
    display: block;
    padding: 0.65rem 0.7rem;
    border-radius: 14px;
    text-decoration: none;
    border: 1px dashed rgba(20, 105, 235, 0.18);
    transition: all 0.25s ease;
}

.single-latest-item:hover {
    border-color: rgba(20, 105, 235, 0.35);
    background: #f7faff;
}

.single-latest-content {
    display: grid;
    gap: 0.2rem;
}

.single-latest-title {
    color: #1a2a42;
    font-size: 0.9rem;
    line-height: 1.9;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.single-latest-date {
    color: #7a8698;
    font-size: 0.78rem;
}

.single-next-prev-links {
    display: grid;
    gap: 0.55rem;
}

.single-nav-item a {
    display: block;
    text-decoration: none;
    color: #2a3850;
    background: #f8fbff;
    border: 1px solid rgba(20, 105, 235, 0.12);
    border-radius: 12px;
    padding: 0.7rem;
    line-height: 1.85;
    transition: all 0.25s ease;
}

.single-nav-item a:hover {
    color: #ffffff;
    background: #0c3f8d;
    border-color: #0c3f8d;
}

@media (max-width: 991.98px) {
    .single-sidebar-wrap {
        position: static !important;
        top: auto;
    }

    .single-article-card {
        border-radius: 20px;
        padding: 0.95rem;
    }
}

@media (max-width: 767.98px) {
    .single-post-redesign {
        padding-bottom: 1.8rem;
    }

    .single-hero-card {
        border-radius: 18px;
        padding: 1rem;
    }

    .single-meta-chip {
        font-size: 0.8rem;
    }

    .single-article-body {
        font-size: 0.96rem;
    }

    .single-latest-item {
        padding: 0.58rem 0.6rem;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .single-hero-card,
    .single-article-card,
    .single-sidebar-card {
        animation: single-fade-up 0.55s ease both;
    }

    .single-sidebar-card:nth-child(2) {
        animation-delay: 0.08s;
    }

    .single-sidebar-card:nth-child(3) {
        animation-delay: 0.16s;
    }
}

@keyframes single-fade-up {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.plugin-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background: #f8f9fa;
    color: #1469eb;
    border-color: rgba(20, 105, 235, 0.2);
}

.plugin-pill i {
    font-size: 18px;
}

.plugin-pill-more {
    background: rgba(20, 105, 235, 0.05);
    color: #1469eb;
    border: 1px dashed rgba(20, 105, 235, 0.3);
}

.plugin-pill-more:hover {
    background: rgba(20, 105, 235, 0.1);
}

/* Inline Style */
.inline-style-c1c40348 {
    background-color: #0c1a30;
    font-family: var(--font-body), sans-serif;
}

/* Inline Style */
.inline-style-f7957f59 {
    height: 6px;
    width: 100%;
}

/* Inline Style */
.inline-style-17a3ab42 {
    background-color: rgba(255, 255, 255, 0.04);
}

/* Inline Style */
.inline-style-6b74f363 {
    width: 75px;
    height: 75px;
}

/* Inline Style */
.inline-style-d5266e95 {
    line-height: 1.8;
}

/* Inline Style */
.inline-style-68e684df {
    width: 38px;
    height: 38px;
    border-radius: 8px;
}

/* Inline Style */
.inline-style-9d510adb {
    border-radius: 0;
    min-width: max-content;
    min-height: 60px;
}

/* Inline Style */
.inline-style-beaf32cb {
    width: 28px;
    height: 28px;
}

/* Inline Style */
.inline-style-bdb2ed54 {
    background-color: #1469EB;
}

/* Inline Style */
.inline-style-977d32f6 {
    height: 80px; /* fallback — JS در header.php این رو داینامیک می‌کنه */
}

/* Inline Style */
.inline-style-76674537 {
    font-size: 13px;
}

/* Inline Style */
.inline-style-5c60916e {
    letter-spacing: -0.5px;
}

/* Inline Style */
.inline-style-45a08d22 {
    max-width: 650px;
    font-size: 16px;
    line-height: 1.8;
}

/* Inline Style */
.inline-style-d4fed6d3 {
    background-color: #fcfcfc;
    min-height: 50vh;
}

/* Inline Style */
.inline-style-a1fe9675 {
    font-size: 12px;
    z-index: 2;
}

/* Inline Style */
.inline-style-607924ec {
    font-size: 17px;
    line-height: 1.6;
}

/* Inline Style */
.inline-style-a7f0c744 {
    font-size: 14px;
    line-height: 1.8;
}

/* Inline Style */
.inline-style-7b72d420 {
    border-color: rgba(0, 0, 0, 0.05) !important;
}

/* Inline Style */
.inline-style-026932e8 {
    width: 32px;
    height: 32px;
}

/* Inline Style */
.inline-style-5e07093a {
    border-color: rgba(0, 0, 0, 0.05) !important;
    max-width: 600px;
}

/* Inline Style */
.inline-style-64421442 {
    font-size: 5rem;
}

/* Inline Style */
.inline-style-4fd29446 {
    width: 50px;
    height: 50px;
}

/* Inline Style */
.inline-style-47c5d3b9 {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.2) 0%, transparent 100%);
}

/* Inline Style */
.inline-style-4a8bf45c {
    text-align: right !important;
}

/* Inline Style */
.inline-style-acc32ba8 {
    mask-type: alpha
}

/* Inline Style */
.inline-style-732c607b {
    width: 80px;
    height: 80px;
}

/* Inline Style */
.inline-style-35e05474 {
    width: 150px;
    height: 150px;
    transform: translate(30%, -30%);
}

/* Inline Style */
.inline-style-99ef3b1d {
    min-height: 85vh;
}

/* Inline Style */
.inline-style-dc310e06 {
    margin-left: auto;
}

/* Inline Style */
.inline-style-3f9f7eaf {
    min-height: 500px;
}

/* Inline Style */
.inline-style-15261e0b {
    width: 100%;
    max-width: 450px;
    height: 450px;
}

/* Inline Style */
.inline-style-2e81f04f {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(235, 29, 54, 0.08) 0%, rgba(235, 29, 54, 0) 70%);
    z-index: 1;
}

/* Inline Style */
.inline-style-fda19231 {
    width: 180px;
    height: 180px;
    z-index: 10;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), inset 0 -5px 10px rgba(0, 0, 0, 0.02);
    animation: float-hub 6s ease-in-out infinite;
}

/* Inline Style */
.inline-style-749e11c1 {
    font-size: 5rem;
    filter: drop-shadow(0 10px 20px rgba(235, 29, 54, 0.2));
    transform: scale(1.1);
}

/* Inline Style */
.inline-style-e0eaebb3 {
    z-index: 12;
    width: 170px;
    transform: rotate(-3deg);
}

/* Inline Style */
.inline-style-143e03f9 {
    width: 48px;
    height: 48px;
}

/* Inline Style */
.inline-style-a67f6e13 {
    width: 6px;
    height: 6px;
}

/* Inline Style */
.inline-style-c500f497 {
    z-index: 12;
    width: 160px;
    transform: rotate(3deg);
}

/* Inline Style */
.inline-style-267c946a {
    width: 60px;
    height: 60px;
    z-index: 5;
}

/* Inline Style */
.inline-style-533da294 {
    width: 40px;
    height: 40px;
    z-index: 5;
    animation-delay: 1s;
}

/* Inline Style */
.inline-style-f2106393 {
    z-index: 0;
    pointer-events: none;
}

/* Inline Style */
.inline-style-ba76d6bb {
    width: 120%;
    height: 120%;
    filter: blur(60px);
    z-index: 0;
}

/* Inline Style */
.inline-style-09ec06ee {
    width: 50px;
    height: 4px;
}

/* Inline Style */
.inline-style-516f4c53 {
    width: 64px;
    height: 64px;
}

/* Inline Style */
.inline-style-9a6a534a {
    width: 40px;
    height: 40px;
}

/* Inline Style */
.inline-style-76ac443d {
    border-radius: 45px;
    background: linear-gradient(135deg, #FF4B5C 0%, #EB1D36 100%);
    min-height: 320px;
}

/* Inline Style */
.inline-style-d4fe53d1 {
    opacity: 0.1;
}

/* Inline Style */
.inline-style-c4381252 {
    width: 45px;
    height: 120px;
    left: -1px;
    z-index: 10;
}

/* Inline Style */
.inline-style-5d7214c9 {
    margin-left: -5px;
}

/* Inline Style */
.inline-style-87d9a335 {
    font-weight: 900;
    letter-spacing: -1px;
}

/* Inline Style */
.inline-style-331eb2aa {
    letter-spacing: 8px;
    font-family: sans-serif;
}

/* Inline Style */
.inline-style-7851dbc0 {
    text-align: right;
}

/* Inline Style */
.inline-style-40b848ed {
    width: 30px;
    height: 3px;
}

/* Inline Style */
.inline-style-ae014e0b {
    font-size: 1rem;
    text-align: justify;
    text-align-last: right;
}

/* Inline Style */
.inline-style-d83f2247 {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
}

/* Inline Style */
.inline-style-aaa0b6cd {
    background: radial-gradient(circle at 10% 20%, #f8f9fa 0%, #e9ecef 90%);
}

/* Inline Style */
.inline-style-37386e89 {
    width: 600px;
    height: 600px;
    transform: translate(30%, -30%);
}

/* Inline Style */
.inline-style-4a5266f9 {
    width: 500px;
    height: 500px;
    transform: translate(-30%, 30%);
}

/* Inline Style */
.inline-style-db0e95a6 {
    max-width: 340px;
    perspective: 1000px;
}

/* Inline Style */
.inline-style-ea070b95 {
    border-radius: 45px !important;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Inline Style */
.inline-style-342753c1 {
    width: 35%;
    height: 24px;
}

/* Inline Style */
.inline-style-1468499c {
    height: 600px;
    background: linear-gradient(180deg, #F3F4F6 0%, #FFFFFF 100%);
}

/* Inline Style */
.inline-style-be3c0e04 {
    width: 70px;
    height: 70px;
}

/* Inline Style */
.inline-style-052ff0c6 {
    width: 18px;
    height: 18px;
}

/* Inline Style */
.inline-style-00f66917 {
    height: 4px;
}

/* Inline Style */
.inline-style-3ea13412 {
    width: 25%
}

/* Inline Style */
.inline-style-0beefff5 {
    height: 70px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

/* Inline Style */
.inline-style-dd4f87b5 {
    z-index: 1;
    padding-inline-end: 80px;
}

/* Inline Style */
.inline-style-ba5acec6 {
    width: 62px;
    height: 62px;
}

/* Inline Style */
.inline-style-a898fd7d {
    width: 100%;
    height: 100%;
}

/* Inline Style */
.inline-style-394c9a64 {
    font-size: 3.5rem;
}

/* Inline Style */
.inline-style-e09a7622 {
    height: 50px;
}

/* Inline Style */
.inline-style-7a937c2b {
    height: 54px;
}

/* Inline Style */
.inline-style-84cea379 {
    height: 20px;
}

/* Inline Style */
.inline-style-9df68d2c {
    height: 42px;
    min-width: 110px;
}

/* Inline Style */
.inline-style-e2dfddff {
    letter-spacing: 4px;
    font-family: monospace, sans-serif;
}

/* Inline Style */
.inline-style-a06603ef {
    min-width: 200px;
}

/* Inline Style */
.inline-style-351b3caa {
    min-width: 240px;
}

/* Inline Style */
.inline-style-90d11ae1 {
    background: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%);
}

/* Inline Style */
.inline-style-d1cac21e {
    background: linear-gradient(90deg, #34D399 0%, #10B981 100%);
}

/* Inline Style */
.inline-style-9a941e5f {
    background: linear-gradient(90deg, #3B82F6 0%, #2563EB 100%);
}

/* Inline Style */
.inline-style-c25159cb {
    width: 150px;
}

/* Inline Style */
.inline-style-b5e11883 {
    background-color: #ffffff;
}

/* Inline Style */
.inline-style-eb9eb8ea {
    height: 400px;
}

/* Inline Style */
.inline-style-9791c141 {
    max-width: 900px;
    text-align: justify;
}

/* Inline Style */
.inline-style-ec647db7 {
    line-height: 0;
    pointer-events: none;
}

/* Inline Style */
.inline-style-c7b4c30f {
    width: 100%;
    height: auto;
    min-height: 60px;
}

/* Inline Style */
.inline-style-c4510109 {
    background-color: #E6F0FF;
    min-height: 80px;
}

/* Inline Style */
.inline-style-ea311719 {
    background: linear-gradient(90deg, #3B82F6 0%, #2563EB 100%);
    min-width: 250px;
}

/* Inline Style */
.inline-style-4237df37 {
    background-color: #EB1D36;
    border-color: #EB1D36;
}

/* Inline Style */
.inline-style-69883647 {
    background-color: #EB1D36;
    border: none;
}

/* Inline Style */
.inline-style-9db6d704 {
    background-color: #F8F9FA;
}

/* Inline Style */
.inline-style-b4604794 {
    width: 25px;
    height: 1.5px;
    background-color: #EB1D36;
}

/* Inline Style */
.inline-style-6e47c6cb {
    font-size: 0.95rem;
}

/* Inline Style */
.inline-style-40b72cba {
    font-size: 1.8rem;
}

/* Inline Style */
.inline-style-1f83aeff {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* Inline Style */
.inline-style-89fa5842 {
    transition-timing-function: linear;
}

/* Inline Style */
.inline-style-dc251bdb {
    width: auto;
}

/* Inline Style */
.inline-style-ff3afd15 {
    width: 380px;
    height: 130px;
    overflow: hidden;
    border-color: #E6E8EA !important;
    padding: 1.25rem;
}

/* Inline Style */
.inline-style-e540e1d6 {
    color: #EB1D36;
    font-size: 1.05rem;
    max-width: 70%;
}

/* Inline Style */
.inline-style-05f6a00f {
    font-size: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

/* Inline Style */
.inline-style-3dc4627d {
    object-fit: cover;
}

/* Inline Style */
.inline-style-fbe98b0a {
    max-width: 400px;
}

/* Inline Style */
.inline-style-4840e3b9 {
    max-width: 650px;
    font-size: 0.95rem;
}

/* Inline Style */
.inline-style-1b6aa013 {
    height: 2px;
    background: #DDE2E5;
    top: 40px;
}

/* Inline Style */
.inline-style-0b50e5cf {
    gap: 1.5rem;
    scroll-snap-type: x mandatory;
}

/* Inline Style */
.inline-style-7968724c {
    width: 260px;
    scroll-snap-align: center;
}

/* Inline Style */
.inline-style-e54506cd {
    width: 72px;
    height: 72px;
    border: 3px solid #1469EB;
    box-shadow: 0 4px 15px rgba(20, 105, 235, 0.15) !important;
}

/* Inline Style */
.inline-style-8117167b {
    font-size: 1.6rem;
}

/* Inline Style */
.inline-style-8bca1b91 {
    width: 20px;
    height: 20px;
    transform: translateX(-50%) !important;
    border: 1px solid #DDE2E5;
}

/* Inline Style */
.inline-style-060226b2 {
    font-size: 0.5rem;
}

/* Inline Style */
.inline-style-64d9cea0 {
    border: 1px solid #E6E8EA;
}

/* Inline Style */
.inline-style-4c8a7df5 {
    width: 44px;
    height: 44px;
}

/* Inline Style */
.inline-style-e7992da2 {
    font-size: 0.85rem;
}

/* Inline Style */
.inline-style-1926a5f1 {
    background-color: #1469EB;
    border-color: #1469EB;
}

/* Inline Style */
.inline-style-f5959ab4 {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background-color: #f8f9fa;
}

/* Inline Style */
.inline-style-7d701bf7 {
    max-width: 800px;
}

/* Inline Style */
.inline-style-73975e43 {
    width: 48px;
    height: 48px;
    background-color: rgba(220, 53, 69, 0.1);
}

/* Inline Style */
.inline-style-0e571a96 {
    background-color: #0C3F8D;
}

/* Inline Style */
.inline-style-32d1c0d6 {
    max-width: 420px;
    width: 100%;
}

/* Inline Style */
.inline-style-a0a6c0d8 {
    width: 54px;
    height: 54px;
}

/* Inline Style */
.inline-style-9df292ef {
    height: 40px;
    width: 1px;
}

/* Inline Style */
.inline-style-0eeecf53 {
    display: none !important;
}

/* Inline Style */
.inline-style-715ac183 {
    bottom: -20%;
    left: -10%;
}

/* Inline Style */
.inline-style-198aa017 {
    width: 56px;
    height: 56px;
}

/* Inline Style */
.inline-style-3e36fd5e {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
}

/* Inline Style */
.inline-style-ef4432ce {
    max-width: 320px;
}

/* Inline Style */
.inline-style-a5619f55 {
    min-height: 320px;
}

/* Inline Style */
.inline-style-aa969e7f {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0.1) 100%);
}

/* Inline Style */
.inline-style-6d5a4177 {
    width: 32px;
    height: 32px;
    min-width: 32px;
}

/* Inline Style */
.inline-style-45b4d846 {
    min-height: 400px;
}

/* Inline Style */
.inline-style-b6a9bc58 {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* Inline Style */
.inline-style-d308b7db {
    z-index: 0;
    margin-top: -100px;
}

/* Inline Style */
.inline-style-e5b971f3 {
    line-height: 1.9;
}

/* Inline Style */
.inline-style-6d179b35 {
    width: 12px;
    height: 12px;
}

/* Inline Style */
.inline-style-7cf108db {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Inline Style */
.inline-style-934b5c95 {
    width: 60px;
    height: 4px;
    opacity: 0.8;
}

/* Inline Style */
.inline-style-f95f3891 {
    line-height: 2.2;
    font-size: 1.05rem;
    max-width: 900px;
}

/* Inline Style */
.inline-style-13ce310f {
    width: 60px;
    height: 60px;
}

/* Inline Style */
.inline-style-35bb8144 {
    line-height: 2;
}

/* Inline Style */
.inline-style-d19b1670 {
    height: 250px;
}

/* Inline Style */
.inline-style-ce7ff716 {
    min-width: 60px;
}

/* Inline Style */
.inline-style-6ec2d9cf {
    min-width: 0;
}

/* Inline Style */
.inline-style-54a53601 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* Inline Style */
.inline-style-8a8a8b6a {
    min-width: 140px;
}

/* Inline Style */
.inline-style-c664f841 {
    max-width: 700px;
}

/* Inline Style */
.inline-style-bbc66993 {
    max-width: 150px;
    color: #495057;
}

/* Inline Style */
.inline-style-41290b5b {
    max-width: 900px;
    height: 220px;
}

/* Inline Style */
.inline-style-3a51f73a {
    height: 6px;
    background: #f1f3f5;
    position: relative;
    top: 40px;
    width: 100%;
    border-radius: 10px;
}

/* Inline Style */
.inline-style-4ee84e5b {
    height: 100%;
    background: #eb1d36;
    width: 0%;
    position: absolute;
    left: 0;
    transition: width 0.1s;
    border-radius: 10px;
}

/* Inline Style */
.inline-style-0a417690 {
    left: 0%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

/* Inline Style */
.inline-style-21a449ca {
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

/* Inline Style */
.inline-style-d446b5da {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

/* ===== Single Article V2 | Full Redesign ===== */
.article-v2-page {
    --article-bg: #f4f7fc;
    --article-surface: #ffffff;
    --article-title: #0f172a;
    --article-text: #334155;
    --article-muted: #64748b;
    --article-border: #d9e3f2;
    --article-primary: #0f4ecf;
    --article-accent: #e31d3d;
    background:
        radial-gradient(42rem 20rem at 100% -5%, rgba(15, 78, 207, 0.11), transparent 66%),
        radial-gradient(28rem 14rem at 0 12%, rgba(227, 29, 61, 0.08), transparent 70%),
        var(--article-bg);
    padding-bottom: 3.2rem;
}

.article-v2-hero {
    padding-top: 7.2rem;
    padding-bottom: 1.1rem;
}

.article-v2-hero-box {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
    border: 1px solid rgba(15, 78, 207, 0.12);
    border-radius: 32px;
    padding: clamp(1.5rem, 3vw, 2.2rem);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.09);
}

.article-v2-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.95rem;
    font-size: 0.84rem;
    color: var(--article-muted);
}

.article-v2-breadcrumb a,
.article-v2-breadcrumb span {
    color: inherit;
    text-decoration: none;
}

.article-v2-breadcrumb a:hover {
    color: var(--article-primary);
}

.article-v2-title {
    margin: 0;
    color: var(--article-title);
    font-size: clamp(1.45rem, 2.8vw, 2.6rem);
    line-height: 1.45;
    letter-spacing: -0.3px;
    text-wrap: balance;
}

.article-v2-excerpt {
    margin: 0.95rem 0 0;
    color: var(--article-muted);
    max-width: 62ch;
    line-height: 2.05;
    font-size: 1rem;
}

.article-v2-meta {
    margin-top: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.article-v2-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(15, 78, 207, 0.16);
    background: rgba(15, 78, 207, 0.07);
    color: #1e3a8a;
    border-radius: 999px;
    padding: 0.32rem 0.78rem;
    font-size: 0.84rem;
}

.article-v2-layout {
    padding-top: 1.15rem;
}

@media (min-width: 992px) {
    .article-v2-grid {
        flex-direction: row;
    }

    .article-v2-sidebar {
        max-height: none;
        overflow-y: visible;
        overscroll-behavior: auto;
    }
}

.article-v2-content-card {
    background: var(--article-surface);
    border: 1px solid var(--article-border);
    border-radius: 28px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
    padding: clamp(1.5rem, 3vw, 2rem);
}

.article-v2-cover {
    margin: 0 0 1.2rem;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e5eaf4;
}

.article-v2-cover img {
    width: 100%;
    max-height: 470px;
    object-fit: cover;
}

.article-v2-content {
    color: var(--article-text);
    text-align: right;
    line-height: 2.15;
    font-size: 1.03rem;
}

.article-v2-content h1,
.article-v2-content h2,
.article-v2-content h3,
.article-v2-content h4,
.article-v2-content h5,
.article-v2-content h6 {
    color: var(--article-title);
    margin: 2.35rem 0 1rem;
    line-height: 1.72;
    font-weight: 800;
}

.article-v2-content p {
    margin-bottom: 1.1rem;
    color: var(--article-text);
}

.article-v2-content ul,
.article-v2-content ol {
    margin-bottom: 1.3rem;
    padding-right: 1.6rem;
}

.article-v2-content li {
    margin-bottom: 0.5rem;
}

.article-v2-content li::marker {
    color: var(--article-primary);
}

.article-v2-content a {
    color: var(--article-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(15, 78, 207, 0.3);
    transition: all 0.2s ease;
}

.article-v2-content a:hover {
    color: var(--article-accent);
    border-bottom-color: rgba(227, 29, 61, 0.45);
}

.article-v2-content blockquote {
    margin: 1.8rem 0;
    padding: 1rem 1.1rem;
    border-right: 4px solid var(--article-primary);
    border-radius: 10px;
    background: #f2f7ff;
    color: #1e293b;
}

.article-v2-content img {
    border-radius: 16px;
    margin: 1.5rem auto;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.09);
}

.article-v2-tags-wrap {
    margin-top: 1.8rem;
    padding-top: 1rem;
    border-top: 1px dashed #cfd7e6;
}

.article-v2-tags-wrap h2 {
    font-size: 0.97rem;
    margin: 0 0 0.7rem;
    color: #1f2937;
}

.article-v2-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.article-v2-tags a {
    text-decoration: none;
    border: 1px solid rgba(15, 78, 207, 0.18);
    background: #f5f8ff;
    color: #1d4ed8;
    border-radius: 999px;
    font-size: 0.83rem;
    padding: 0.45rem 0.8rem;
    transition: all 0.2s ease;
    font-weight: 500;
}

.article-v2-tags a:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
}

/* ===== فهرست مطالب خودکار (TOC) ===== */
.article-toc {
    position: relative;
    background: linear-gradient(155deg, #f4f8ff 0%, #ffffff 55%);
    border: 1px solid rgba(15, 78, 207, 0.14);
    border-radius: 22px;
    margin-bottom: 2.2rem;
    overflow: hidden;
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.04),
        0 10px 32px rgba(15, 78, 207, 0.09);
}

.article-toc::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #e31d3d 0%, #0f4ecf 50%, #2563eb 100%);
    border-radius: 22px 22px 0 0;
}

.article-toc-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.3rem 1rem 1.1rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(15, 78, 207, 0.09);
    cursor: pointer;
    text-align: right;
    transition: background 0.22s ease;
}

.article-toc-header:hover {
    background: rgba(15, 78, 207, 0.04);
}

.article-toc-icon-wrap {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: linear-gradient(135deg, #0f4ecf 0%, #3b82f6 100%);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 4px 14px rgba(15, 78, 207, 0.38);
    flex-shrink: 0;
}

.article-toc-label {
    flex: 1;
    text-align: right;
}

.article-toc-label > span:first-child,
.article-toc-label {
    font-weight: 800;
    font-size: 1rem;
    color: #0f172a;
    display: block;
    line-height: 1.3;
}

.article-toc-label small {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    margin-top: 0.18rem;
}

.article-toc-toggle-chip {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.65rem;
    background: rgba(15, 78, 207, 0.08);
    border: 1px solid rgba(15, 78, 207, 0.16);
    border-radius: 999px;
    color: #0f4ecf;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.article-toc-header:hover .article-toc-toggle-chip {
    background: rgba(15, 78, 207, 0.14);
    border-color: rgba(15, 78, 207, 0.3);
}

.article-toc-chevron {
    font-size: 1.1rem;
    display: inline-flex;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.article-toc-header[aria-expanded="false"] .article-toc-chevron {
    transform: rotate(-180deg);
}

.article-toc-body {
    overflow: hidden;
    max-height: 2000px;
    transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-toc-body.is-collapsed {
    max-height: 0;
}

.article-toc-list {
    list-style: none;
    margin: 0;
    padding: 0.9rem 1.1rem 1rem;
    display: grid;
    gap: 0.1rem;
}

.article-toc-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.42rem 0.65rem;
    border-radius: 11px;
    transition: background 0.18s ease, transform 0.18s ease;
    cursor: pointer;
}

.article-toc-item:hover {
    background: rgba(15, 78, 207, 0.06);
    transform: translateX(-3px);
}

.article-toc-item a {
    color: #1e293b !important;
    text-decoration: none !important;
    border-bottom: none !important;
    font-size: 0.93rem;
    font-weight: 500;
    line-height: 1.65;
    transition: color 0.18s ease;
    flex: 1;
}

.article-toc-item:hover a {
    color: #0f4ecf !important;
    border-bottom: none !important;
}

.article-toc-bar {
    width: 3px;
    min-width: 3px;
    height: 20px;
    background: linear-gradient(180deg, #0f4ecf, #60a5fa);
    border-radius: 4px;
    flex-shrink: 0;
    opacity: 0.4;
    transition: opacity 0.2s ease, height 0.2s ease;
}

.article-toc-item:hover .article-toc-bar {
    opacity: 1;
    height: 24px;
}

.article-toc-h3 {
    padding-right: 1.7rem;
}

.article-toc-h3 .article-toc-bar {
    background: #cbd5e1;
    width: 2px;
    min-width: 2px;
    height: 14px;
}

.article-toc-h3 a {
    font-size: 0.86rem !important;
    color: #64748b !important;
    font-weight: 400 !important;
}

.article-toc-h3:hover a {
    color: #0f4ecf !important;
}

@media (max-width: 576px) {
    .article-toc {
        border-radius: 16px;
    }

    .article-toc-header {
        padding: 0.9rem 1rem;
    }

    .article-toc-list {
        padding: 0.75rem 0.85rem 0.9rem;
    }

    .article-toc-icon-wrap {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 1rem;
        border-radius: 11px;
    }
}

.article-v2-sidebar {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 1.3rem;
}

.article-v2-side-card {
    background: var(--article-surface);
    border: 1px solid var(--article-border);
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
    padding: 1.3rem;
}

.article-v2-side-card h2 {
    margin: 0 0 1rem;
    font-size: 1rem;
    color: #111827;
    font-weight: 800;
}

.article-v2-search,
.article-v2-register-form {
    display: grid;
    gap: 0.8rem;
}

.article-v2-register-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    justify-content: space-between;
}

.article-v2-already-member {
    text-decoration: none;
    color: #1d4ed8;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 0.5rem 0;
}

.article-v2-already-member:hover {
    color: #0f4ecf;
    text-decoration: underline;
}

.article-v2-search input,
.article-v2-register-form input {
    width: 100%;
    border: 1px solid #d6dff0;
    border-radius: 12px;
    background: #ffffff;
    color: #1f2937;
    padding: 0.75rem 0.85rem;
    min-height: 44px;
    outline: none;
    font-size: 0.95rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.article-v2-register-form #article-v2-phone {
    direction: rtl;
    text-align: right;
}

.article-v2-register-form #article-v2-phone::placeholder {
    text-align: right;
}

.article-v2-search input:focus,
.article-v2-register-form input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.17);
}

.article-v2-search button,
.article-v2-register-form button {
    border: 0;
    border-radius: 12px;
    min-height: 44px;
    background: linear-gradient(90deg, #0f4ecf, #2563eb);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(15, 78, 207, 0.25);
}

.article-v2-search button:hover,
.article-v2-register-form button:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 8px 20px rgba(15, 78, 207, 0.35);
}

.article-v2-register p {
    margin: 0 0 1rem;
    color: var(--article-muted);
    font-size: 0.9rem;
    line-height: 1.9;
}

.article-v2-latest-list {
    margin: 0;
    padding: 0 1.05rem 0 0;
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.article-v2-latest-list li {
    margin: 0;
}

.article-v2-latest-list a {
    text-decoration: none;
    display: grid;
    gap: 0.14rem;
    border-bottom: 1px dashed #d6deed;
    padding: 0.35rem 0;
}

.article-v2-latest-list li:last-child a {
    border-bottom: none;
}

.article-v2-latest-title {
    color: #1e293b;
    font-size: 0.89rem;
    line-height: 1.85;
    transition: color 0.2s ease;
}

.article-v2-latest-list a:hover .article-v2-latest-title {
    color: #1d4ed8;
}

.article-v2-latest-date {
    color: #94a3b8;
    font-size: 0.74rem;
}

.article-v2-nav-links {
    display: grid;
    gap: 0.8rem;
}

.article-v2-nav-links a {
    display: block;
    text-decoration: none;
    border: 1px solid #d7e0f0;
    border-radius: 12px;
    padding: 0.55rem 0.65rem;
    background: #f8fbff;
    color: #1f2937;
    line-height: 1.8;
    transition: all 0.2s ease;
}

.article-v2-nav-links a:hover {
    border-color: #2563eb;
    background: #2563eb;
    color: #ffffff;
}

@media (max-width: 991.98px) {
    .article-v2-hero {
        padding-top: 6.6rem;
    }

    .article-v2-sidebar {
        position: static;
        top: auto;
        max-height: none;
        overflow-y: visible;
    }
}

@media (max-width: 767.98px) {
    .article-v2-hero-box {
        border-radius: 20px;
        padding: 1.2rem;
    }

    .article-v2-content-card {
        border-radius: 20px;
        padding: 1.2rem;
    }

    .article-v2-content {
        font-size: 0.97rem;
    }

    .article-v2-meta span {
        font-size: 0.79rem;
    }

    .article-v2-side-card {
        border-radius: 16px;
        padding: 1.1rem;
    }
}

/* Inline Style */
.inline-style-1a1c7a9e {
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 170px;
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
}

/* Inline Style */
.inline-style-0fd8321d {
    margin-top: -8px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #dc3545;
}

/* Inline Style */
.inline-style-697e4d20 {
    left: 33%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

/* Inline Style */
.inline-style-56114245 {
    left: 66%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

/* Inline Style */
.inline-style-5c6d5665 {
    left: 100%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

/* Inline Style */
.inline-style-a5e31115 {
    width: 32px;
    height: 32px;
    background: white;
    border: 5px solid #dc3545;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
    z-index: 20;
    transition: box-shadow 0.2s;
}

/* Inline Style */
.inline-style-e3c98a04 {
    font-size: 1.05rem;
}

/* Inline Style */
.inline-style-6a78e297 {
    color: #1469EB;
}

/* Inline Style */
.inline-style-90696fad {
    font-size: 1.05rem;
    border-radius: var(--radius-md, 20px);
}

/* Inline Style */
.inline-style-2e890ed1 {
    top: 2rem;
}

/* Inline Style */
.inline-style-ce8ee990 {
    --bs-focus-ring-color: rgba(20, 105, 235, 0.25);
    text-align: right;
}

/* Inline Style */
.inline-style-ab4b9f47 {
    height: 40%
}

/* Inline Style */
.inline-style-45e6f20b {
    height: 60%
}

/* Inline Style */
.inline-style-24f2ddb4 {
    height: 90%
}

/* Inline Style */
.inline-style-2e6a629a {
    height: 50%
}

/* Inline Style */
.inline-style-29cd2970 {
    height: 70%
}

/* Inline Style */
.inline-style-8315e31b {
    width: 28px;
    height: 28px;
    cursor: pointer;
}

/* Inline Style */
.inline-style-921635f9 {
    min-height: 400px;
    max-width: 450px;
}

/* Inline Style */
.inline-style-fbd181a3 {
    width: 250px;
    height: 250px;
    filter: blur(60px);
    z-index: 0;
    opacity: 0.15;
}

/* Inline Style */
.inline-style-f63b3c57 {
    aspect-ratio: 1/1;
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 320px;
}

/* Inline Style */
.inline-style-29e82dad {
    width: 8px;
    height: 8px;
}

/* Inline Style */
.inline-style-21889776 {
    height: 40%;
    width: 12%;
    display: inline-block;
}

/* Inline Style */
.inline-style-fe205ca7 {
    height: 70%;
    width: 12%;
    display: inline-block;
    margin: 0 4%;
}

/* Inline Style */
.inline-style-1a6df6c9 {
    height: 90%;
    width: 12%;
    display: inline-block;
}

/* Inline Style */
.inline-style-cbfb95f4 {
    height: 50%;
    width: 12%;
    display: inline-block;
    margin: 0 4%;
}

/* Inline Style */
.inline-style-0e5fca65 {
    height: 80%;
    width: 12%;
    display: inline-block;
}

/* Inline Style */
.inline-style-4a5876fb {
    top: 15%;
    right: -5%;
    min-width: 100px;
}

/* Inline Style */
.inline-style-a7e1d7b6 {
    direction: ltr;
}

/* Inline Style */
.inline-style-41eecef0 {
    bottom: 15%;
    left: -5%;
}

/* Inline Style */
.inline-style-53eb636c {
    font-size: 32px;
    line-height: 1;
}

/* Inline Style */
.inline-style-d8269867 {
    height: 8px;
}

/* Inline Style */
.inline-style-beb29a59 {
    bottom: 15%;
    right: -5%;
}

/* Inline Style */
.inline-style-13cd79ea {
    width: 10px;
    height: 10px;
    animation: pulse 2s infinite;
}

/* Inline Style */
.inline-style-7d026552 {
    width: 24px;
    height: 2px;
    display: inline-block;
}

/* Inline Style */
.inline-style-267f6d50 {
    font-size: 14px;
}

/* Inline Style */
.inline-style-bf8f61d9 {
    font-size: 14px;
    transition: all 0.3s ease;
}

/* Inline Style */
.inline-style-0d300275 {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

/* Inline Style */
.inline-style-e24316d8 {
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Inline Style */
.inline-style-337b9b8e {
    width: 135px;
    height: 90px;
}

/* Inline Style */
.inline-style-1c7444d8 {
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Inline Style */
.inline-style-345895de {
    font-size: 12px;
}

/* Inline Style */
.inline-style-45917b94 {
    top: 10%;
    left: 0;
    background: #1469EB;
}

/* Inline Style */
.inline-style-e1d7c2ab {
    height: 1.6em;
}

/* Inline Style */
.inline-style-6348d65c {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -50px;
}

/* Inline Style */
.inline-style-3b8bffd8 {
    max-width: 320px;
    transform: rotate(-2deg);
}

/* ─── RegisterModern — Fancy Redesign ─── */
#RegisterModern {
    position: relative;
}

#RegisterModern .rm-bg-wrap {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

#RegisterModern .rm-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
}

#RegisterModern .rm-blob-1 {
    width: 480px;
    height: 480px;
    background: #FF1744;
    opacity: 0.22;
    top: -160px;
    right: -100px;
}

#RegisterModern .rm-blob-2 {
    width: 360px;
    height: 360px;
    background: #6A0000;
    opacity: 0.4;
    bottom: -100px;
    left: -80px;
}

#RegisterModern .rm-blob-3 {
    width: 220px;
    height: 220px;
    background: #FF6B6B;
    opacity: 0.12;
    top: 35%;
    left: 35%;
}

#RegisterModern .rm-card {
    position: relative;
    background: linear-gradient(140deg, #9B000F 0%, #C41830 45%, #D42535 100%);
    border-radius: 28px;
    overflow: hidden;
    min-height: 380px;
    box-shadow:
        0 30px 80px rgba(180, 10, 30, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

#RegisterModern .rm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    z-index: 1;
}

/* ─ Media Side ─ */
#RegisterModern .rm-media-wrap {
    position: relative;
    padding: 2.5rem 2rem 2.5rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

#RegisterModern .rm-media-frame {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.18),
        0 24px 64px rgba(0, 0, 0, 0.45),
        0 0 60px rgba(255, 60, 60, 0.18);
    background: #12000A;
}

#RegisterModern .rm-media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#RegisterModern .rm-media-fallback {
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* ─ Play Button ─ */
#RegisterModern .rm-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 74px;
    height: 74px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #C0111F;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    transition: transform 0.22s ease, background 0.22s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.32);
}

#RegisterModern .rm-play-btn i {
    font-size: 2rem;
    line-height: 1;
    margin-right: -3px;
}

#RegisterModern .rm-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: #fff;
}

#RegisterModern .rm-play-pulse {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.55);
    animation: rmPulse 2.2s ease-out infinite;
    pointer-events: none;
}

#RegisterModern .rm-play-pulse-2 {
    inset: -20px;
    border-color: rgba(255, 255, 255, 0.25);
    animation-delay: 1.1s;
}

@keyframes rmPulse {
    0% { transform: scale(0.88); opacity: 1; }
    100% { transform: scale(1.45); opacity: 0; }
}

#RegisterModern .rm-media-frame.is-playing .rm-play-btn {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* ─ Floating Badges ─ */
#RegisterModern .rm-float-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    z-index: 5;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
    white-space: nowrap;
    animation: rmFloat 3.4s ease-in-out infinite;
}

#RegisterModern .rm-float-badge-top {
    top: 1rem;
    right: 0.8rem;
    animation-delay: 0s;
}

#RegisterModern .rm-float-badge-bottom {
    bottom: 1rem;
    left: 0.8rem;
    animation-delay: 1.7s;
}

#RegisterModern .rm-float-badge i {
    color: #FFD54F;
    font-size: 1rem;
}

@keyframes rmFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-7px); }
}

/* ─ Text Side ─ */
#RegisterModern .rm-text-col {
    position: relative;
    z-index: 1;
    padding: 3rem 2.5rem 3rem 2rem;
}

#RegisterModern .rm-top-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50px;
    padding: 0.32rem 1rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: 0.02em;
}

#RegisterModern .rm-top-chip i {
    color: #FFD54F;
    font-size: 0.95rem;
}

#RegisterModern .rm-title {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.45;
    margin-bottom: 1rem;
}

#RegisterModern .rm-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #C0111F;
    border-radius: 50px;
    padding: 0 0.55em;
    height: 1.5em;
    font-size: 0.82em;
    font-weight: 800;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
    vertical-align: middle;
    margin: 0 0.15em;
    line-height: 1;
}

#RegisterModern .rm-desc {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* ─ Actions ─ */
#RegisterModern .rm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.6rem;
}

#RegisterModern .rm-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: #C0111F;
    border-radius: 50px;
    padding: 0.75rem 1.8rem;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

#RegisterModern .rm-btn-primary:hover {
    color: #C0111F;
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28), 0 0 0 4px rgba(255, 255, 255, 0.18);
}

#RegisterModern .rm-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.11);
    color: #fff;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.22s ease, transform 0.22s ease;
}

#RegisterModern .rm-btn-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* ─ Trust Bar ─ */
#RegisterModern .rm-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.1rem;
    justify-content: center;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
}

#RegisterModern .rm-trust-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

#RegisterModern .rm-trust-item i {
    font-size: 1.05rem;
    opacity: 0.65;
}

#RegisterModern .rm-trust-sep {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.2);
}

/* ─ Responsive ─ */
@media (min-width: 992px) {
    #RegisterModern .rm-actions,
    #RegisterModern .rm-trust {
        justify-content: flex-end;
    }

    #RegisterModern .rm-top-chip {
        float: right;
        clear: right;
    }

    #RegisterModern .rm-text-col {
        padding: 3.5rem 3rem 3.5rem 2rem;
    }
}

@media (max-width: 991.98px) {
    #RegisterModern .rm-media-wrap {
        padding: 2rem 1.5rem 0.5rem;
    }

    #RegisterModern .rm-media-frame {
        height: 260px;
    }

    #RegisterModern .rm-text-col {
        padding: 1.5rem 1.5rem 2rem;
    }

    #RegisterModern .rm-card {
        border-radius: 22px;
        min-height: unset;
    }
}

@media (max-width: 575.98px) {
    #RegisterModern .rm-float-badge {
        font-size: 0.7rem;
        padding: 0.28rem 0.7rem;
    }

    #RegisterModern .rm-media-frame {
        height: 210px;
    }

    #RegisterModern .rm-trust-sep {
        display: none;
    }

    #RegisterModern .rm-play-btn {
        width: 62px;
        height: 62px;
    }

    #RegisterModern .rm-play-btn i {
        font-size: 1.75rem;
    }

    #RegisterModern .rm-card {
        border-radius: 18px;
    }
}

/* Inline Style */
.inline-style-40430a3c {
    width: 70px;
}

/* Inline Style */
.inline-style-1a15f7a6 {
    top: -200px;
    left: -200px;
    background: #1469EB;
}

/* Inline Style */
.inline-style-7f47a0e7 {
    height: 18px;
}

/* Inline Style */
.inline-style-fec492af {
    min-height: 50px;
}

/* Inline Style */
.inline-style-5afc7337 {
    font-size: 3rem;
}

/* Inline Style */
.inline-style-6ec70819 {
    font-size: 11px;
}

/* Inline Style */
.inline-style-3cf21fe6 {
    line-height: 1;
    padding-top: 2px;
}

/* Inline Style (Pass 2) */
.inline-style-d055af19 {
    max-height: 90px;
    object-fit: contain;
}

/* Inline Style (Pass 2) */
.inline-style-abb93e68 {
    max-height: 160px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

/* Inline Style (Pass 2) */
.inline-style-3e0512b1 {
    border: none;
}

/* Inline Style (Pass 2) */
.inline-style-89854a63 {
    width: 45px;
    height: 45px;
    opacity: 0.8;
}

/* Inline Style (Pass 2) */
.inline-style-790d50e3 {
    max-height: 400px;
}

/* Inline Style (Pass 2) */
.inline-style-900677a1 {
    width: 34px;
    height: 34px;
    border-color: #DDE2E5;
}

/* Inline Style (Pass 2) */
.inline-style-4a50d931 {
    min-height: 450px;
}

/* Inline Style (Pass 2) */
.inline-style-ce586bb5 {
    max-width: 90%;
}

/* Inline Style (Pass 2) */
.inline-style-13859468 {
    min-height: 300px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

/* Inline Style (Pass 2) */
.inline-style-c0a23b03 {
    transition: transform 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

/* Inline Style (Pass 2) */
.inline-style-f1d02c8b {
    min-width: 80px;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

/* Section Patterns */
.section-bg-blob {
    position: relative;
    overflow: hidden;
}

.section-bg-blob::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(235, 29, 54, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    top: -200px;
    right: -200px;
    z-index: -1;
    border-radius: 50%;
}

.section-padding {
    padding: 50px 0;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: #1A1A1A;
}

.section-desc {
    font-size: 1rem;
    line-height: 1.8;
}

.minimal-phone-frame {
    width: 280px;
    height: 560px;
    background: #1A1A1A;
    border-radius: 45px;
    padding: 10px;
    border: 4px solid #333;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.phone-display {
    width: 100%;
    height: 100%;
    background: #FDFDFD;
    border-radius: 35px;
    overflow: hidden;
    position: relative;
    padding: 24px;
}

.app-logo-mini {
    color: #EB1D36;
    font-weight: 800;
    font-size: 0.9rem;
}

.app-user-icon {
    width: 28px;
    height: 28px;
    background: #f2f2f7;
    border-radius: 50%;
    border: 1px solid #e5e5ea;
}

.app-main-card {
    background: #EB1D36;
    border-radius: 20px;
    padding: 20px;
    color: white;
    box-shadow: 0 10px 25px rgba(235, 29, 54, 0.2);
}

.card-label {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.card-value {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.card-chart {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 45px;
}

.c-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 3px;
}

.c-bar.active {
    background: white;
}

/* iOS Message Notifications - Exact iPhone Style */
.ios-messages-container {
    position: relative;
    width: 100%;
    min-height: 70px;
    padding: 12px 10px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.ios-message-bubble {
    position: absolute;
    top: 12px;
    right: 10px;
    background-color: #e5e5ea;
    color: #000000;
    padding: 8px 12px;
    border-radius: 18px;
    border-bottom-right-radius: 4px;
    font-size: 11px;
    line-height: 1.35;
    max-width: 85%;
    word-wrap: break-word;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.ios-message-bubble.active {
    opacity: 1;
    transform: translateY(0);
}

.trust-stats {
    padding-right: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.1);
}

.icon-box-sm {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.visual-blob-bg {
    position: absolute;
    width: 350px;
    height: 350px;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.15;
    border-radius: 50%;
}

.glass-main-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    width: 320px;
    z-index: 2;
    position: relative;
}

.mockup-chart-placeholder {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 150px;
}

.chart-bar {
    flex: 1;
    background: #FFDEE2;
    border-radius: 5px;
}

.chart-bar.active {
    background: #EB1D36;
}

.stat-1 {
    top: 10%;
    right: 10%;
}

.stat-2 {
    bottom: 10%;
    left: 10%;
}

.icon-box-md {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.skeleton-line {
    height: 8px;
    background: #FDFDFD;
    border: 1px solid #FFF0F1;
    border-radius: 4px;
}

.dev-visual-card {
    background: #1A1A1A;
    border-radius: 30px;
    box-shadow: 0 40px 100px rgba(235, 29, 54, 0.15);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dot-red {
    width: 12px;
    height: 12px;
    background: #FF5F56;
    border-radius: 50%;
}

.dot-yellow {
    width: 12px;
    height: 12px;
    background: #FFBD2E;
    border-radius: 50%;
}

.dot-green {
    width: 12px;
    height: 12px;
    background: #27C93F;
    border-radius: 50%;
}

.terminal-title {
    color: #8F8FA3;
    font-size: 0.8rem;
    font-family: monospace;
}

.code-block {
    font-family: "Fira Code", monospace;
    font-size: 0.9rem;
}

.code-key {
    color: #EB1D36;
}

.code-func {
    color: #FF8C94;
}

.code-str {
    color: #C3E88D;
}

.code-class {
    color: #FFCB6B;
}

.code-comment {
    color: #676E95;
}

.icon-circle-sm {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.card-arrow-inline {
    margin-right: auto;
    color: #EB1D36;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.card-arrow {
    width: 40px;
    height: 40px;
    background: #FFF5F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EB1D36;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(10px);
}

.popular-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #EB1D36;
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pkg-icon {
    font-size: 2.5rem;
    color: #EB1D36;
}

.stats-compact-section {
    padding: 40px 0;
    color: white;
}

.stat-compact-item {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.stat-compact-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.stat-icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.stat-info h3 {
    font-size: 2.2rem;
    color: white;
    line-height: 1;
}

.testimonial-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.quote-icon {
    font-size: 2rem;
    color: #FFDEE2;
    line-height: 1;
    margin-bottom: 0px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4A4A4A;
    font-style: italic;
}

.testimonial-avatar img,
.avatar-placeholder {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.avatar-placeholder {
    background: #EB1D36;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 50%;
}

.advantage-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #FFF0F1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px !important;
}

.advantage-icon-wrapper {
    width: 44px;
    height: 44px;
    background: #FFF5F6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #EB1D36;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.advantage-card:hover .advantage-icon-wrapper {
    background: #EB1D36;
    color: #FFFFFF;
    transform: rotate(10deg);
}

.advantage-card:hover .advantage-icon-wrapper img {
    filter: brightness(0) invert(1);
}

.line-decor {
    width: 30px;
    height: 4px;
    background: #FFDEE2;
    border-radius: 2px;
    transition: all 0.4s ease;
}

.partner-logo img {
    max-height: 35px;
    filter: grayscale(1) opacity(0.5);
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}

.modern-blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(235, 29, 54, 0.08);
    border-color: #FFDEE2;
}

.read-more-link {
    color: #EB1D36;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more-link i {
    transition: transform 0.3s ease;
}

.read-more-link:hover i {
    transform: translateX(-5px);
}

.accordion-item-modern {
    background: #FFFBFC;
    border-radius: 20px;
    border: 1px solid #FFF0F1;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item-modern:has(.accordion-trigger.active),
.accordion-item-modern:has(.accordion-trigger[aria-expanded=true]) {
    background: #FFFFFF;
    border-color: #EB1D36;
    box-shadow: 0 10px 30px rgba(235, 29, 54, 0.05);
}

.accordion-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: right;
    color: #1A1A1A;
    transition: all 0.3s ease;
}

.accordion-trigger[aria-expanded=true] i {
    transform: rotate(45deg);
    color: #EB1D36;
}

.accordion-body-modern {
    padding: 0 30px 24px 30px;
}

.glass-seo-card {
    background: #FFFFFF;
    border-radius: 40px;
    border: 1px solid #FFF0F1;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.seo-content {
    font-size: 0.95rem;
    max-height: 150px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.seo-content.collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(transparent, #FFFFFF);
}

.seo-content.expanded {
    max-height: 2000px;
}

.test-tool-card {
    background: linear-gradient(135deg, #FFFBFC 0%, #FFFFFF 100%);
    border-radius: 40px;
    border: 1px solid #FFF0F1;
    position: relative;
    overflow: hidden;
}

.glass-form-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid #FFF0F1;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(235, 29, 54, 0.05);
}

.input-group-modern {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group-modern i {
    position: absolute;
    right: 20px;
    color: #EB1D36;
    font-size: 1.2rem;
}

.form-control-modern {
    width: 100%;
    padding: 15px 50px 15px 20px;
    background: #FDFDFD;
    border: 2px solid #FFF0F1;
    border-radius: 16px;
    font-size: 0.95rem;
    color: #1A1A1A;
    transition: all 0.3s ease;
}

.form-control-modern:focus {
    background: #FFFFFF;
    border-color: #EB1D36;
    outline: none;
    box-shadow: 0 0 0 4px rgba(235, 29, 54, 0.1);
}

/* ── Test SMS: ردیف کپچا ───────────────────────────────────────────── */
.tsms-captcha-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.tsms-captcha-input-wrap {
    flex: 1;
    min-width: 0;
}

.tsms-captcha-input-wrap .form-control-modern {
    width: 100%;
    height: 52px;
}

.tsms-captcha-img-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.tsms-captcha-img {
    height: 52px;
    width: 110px;
    object-fit: cover;
    cursor: pointer;
    background: #FFF5F6;
    border: 1px solid #FFF0F1;
    display: block;
}

.tsms-captcha-refresh {
    background: none;
    border: none;
    color: #bbb;
    font-size: 1.15rem;
    padding: 4px;
    cursor: pointer;
    transition: color 0.2s, transform 0.35s;
    flex-shrink: 0;
    line-height: 1;
}

.tsms-captcha-refresh:hover {
    color: #EB1D36;
    transform: rotate(180deg);
}

/* ── دکمه ارسال: حالت لودینگ ───────────────────────────────────────── */
.tsms-submit-btn.sending {
    opacity: 0.75;
    pointer-events: none;
}

/* ── پیام‌های وضعیت ────────────────────────────────────────────────── */
.tsms-alerts { }

.tsms-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-top: 10px;
    direction: rtl;
    text-align: right;
    line-height: 1.6;
}

.tsms-alert i {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.tsms-alert h5,
.tsms-alert p {
    margin: 0;
    font-size: inherit;
    font-weight: 500;
}

.tsms-alert--success {
    background: #F0FFF4;
    border: 1px solid #86EFAC;
    color: #15803D;
}

.tsms-alert--fail {
    background: #FFF1F2;
    border: 1px solid #FECDD3;
    color: #BE123C;
}

.tsms-alert--info {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #1D4ED8;
}

.tsms-alert--warn {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    color: #92400E;
}

/* ── ریسپانسیو ────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    #TestToolModern {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    #TestToolModern .test-tool-card {
        border-radius: 20px;
    }

    #TestToolModern .glass-form-card {
        border-radius: 16px;
    }
}

@media (max-width: 575.98px) {
    /* موبایل کوچک: کپچا را عمودی کن */
    .tsms-captcha-row {
        flex-direction: column;
    }

    .tsms-captcha-img-wrap {
        justify-content: center;
    }

    .tsms-captcha-img {
        width: 140px;
        height: 46px;
    }
}

.cta-wrapper {
    background: #EB1D36;
    border-radius: 50px;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.cta-decor-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.main-phone-mockup.tilted {
    transform: rotate(-15deg) translateY(20px);
    width: 240px;
    height: 500px;
    padding-top: 100px;
}

.icon-circle-xs {
    width: 40px;
    height: 40px;
    background: #FFF5F6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

button[aria-expanded="true"] .toggle-arrow {
    transform: rotate(180deg);
}

/* Contact Page Specific Utilities */
.ltr-font {
    direction: ltr;
    font-family: sans-serif;
}

/* ===== Tips Section ===== */
.tips-section {
    background: linear-gradient(135deg, #0C3F8D 0%, #1a5bbf 60%, #0a3278 100%);
}

.tips-bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.07;
    background: #ffffff;
    pointer-events: none;
}

.tips-bg-shape--1 {
    width: 420px;
    height: 420px;
    top: -120px;
    left: -120px;
}

.tips-bg-shape--2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    right: -80px;
}

.tips-section__title {
    font-size: 1.75rem;
    letter-spacing: -0.02em;
}

.tips-section__divider {
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.45);
}

/* Card base */
.tips-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 32px rgba(12, 63, 141, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.tips-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    border-radius: 20px 20px 0 0;
}

.tips-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(12, 63, 141, 0.28);
}

/* Color variants – top accent */
.tips-card--blue::before   { background: linear-gradient(90deg, #0C3F8D, #3b82f6); }
.tips-card--indigo::before { background: linear-gradient(90deg, #3730a3, #6366f1); }
.tips-card--violet::before { background: linear-gradient(90deg, #7c3aed, #a78bfa); }

/* Number badge */
.tips-card__number {
    position: absolute;
    top: 14px;
    left: 18px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #c9d8f5;
    line-height: 1;
    font-family: inherit;
}

/* Icon wrapper */
.tips-card__icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.tips-card--blue .tips-card__icon-wrap   { background: rgba(12,  63, 141, 0.1); }
.tips-card--indigo .tips-card__icon-wrap { background: rgba(55,  48, 163, 0.1); }
.tips-card--violet .tips-card__icon-wrap { background: rgba(124, 58, 237, 0.1); }

.tips-card__icon {
    font-size: 1.5rem;
}

.tips-card--blue .tips-card__icon   { color: #0C3F8D; }
.tips-card--indigo .tips-card__icon { color: #4338ca; }
.tips-card--violet .tips-card__icon { color: #7c3aed; }

/* Body text (from WYSIWYG) */
.tips-card__body {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #374151;
    flex: 1;
}

.tips-card__body p {
    margin: 0;
}

/* Mobile tweaks */
@media (max-width: 767.98px) {
    .tips-section__title {
        font-size: 1.35rem;
    }

    .tips-card {
        padding: 1.75rem 1.25rem 1.5rem;
        border-radius: 16px;
    }

    .tips-card__icon-wrap {
        width: 54px;
        height: 54px;
    }

    .tips-card__icon {
        font-size: 1.25rem;
    }

    .tips-card__body {
        font-size: 0.9rem;
        line-height: 1.85;
    }
}

/* ==========================================================================
   Contact Page - Responsive Fixes
   ========================================================================== */

/* Hero Section: reduce min-height on mobile */
@media (max-width: 991.98px) {
    .inline-style-99ef3b1d {
        min-height: 60vh;
    }

    .inline-style-3f9f7eaf {
        min-height: 300px;
    }
}

/* Social Network Cards: remove min-width on xs so col-12 fills properly */
@media (max-width: 575.98px) {
    .inline-style-a06603ef {
        min-width: unset;
    }

    .inline-style-351b3caa {
        min-width: unset;
    }
}

/* Call Request: ensure captcha row fills full width on xs */
@media (max-width: 575.98px) {
    .w-sm-auto {
        width: auto !important;
    }
}

/* Ensure w-sm-auto applies correctly on sm+ */
@media (min-width: 576px) {
    .w-sm-auto {
        width: auto !important;
    }
}

/* Contact Info: phone numbers shouldn't overflow on xs */
@media (max-width: 400px) {
    #ContactInfo .fw-black.fs-5.dir-ltr {
        font-size: 1rem !important;
    }
}

/* FAQ Tab nav: scroll on mobile */
.overflow-x-auto {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Section padding reduction on mobile */
@media (max-width: 575.98px) {
    .section-padding {
        padding: 30px 0;
    }
}

/* ============================================================
   Contact CTA Start Box — Pro Light Redesign V3
   ============================================================ */

/* ── Section wrapper ── */
#contactusstartbox.cub-section {
    padding: 0;
    background: linear-gradient(160deg, #fff5f6 0%, #fff 40%, #fef0f2 100%);
}

/* ── Wave shapes ── */
.cub-wave-top,
.cub-wave-bottom {
    position: relative;
    line-height: 0;
    z-index: 1;
}

.cub-wave-top svg,
.cub-wave-bottom svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* ── Decorative background blobs ── */
.cub-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
}

.cub-blob--a {
    width: 500px; height: 500px;
    top: -100px; right: -80px;
    background: radial-gradient(circle, rgba(235, 29, 54, 0.18) 0%, transparent 70%);
    animation: cubBlobDrift 9s ease-in-out infinite alternate;
}

.cub-blob--b {
    width: 400px; height: 400px;
    bottom: -80px; left: -60px;
    background: radial-gradient(circle, rgba(255, 150, 160, 0.20) 0%, transparent 70%);
    animation: cubBlobDrift 12s ease-in-out infinite alternate-reverse;
}

@keyframes cubBlobDrift {
    from { transform: translate(0, 0); }
    to   { transform: translate(25px, 35px); }
}

/* ── Decorative rings ── */
.cub-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px dashed rgba(235, 29, 54, 0.15);
    pointer-events: none;
    z-index: 0;
}

.cub-ring--1 {
    width: 380px; height: 380px;
    top: 50%; right: 5%;
    transform: translateY(-50%);
    animation: cubRingSpin 30s linear infinite;
}

.cub-ring--2 {
    width: 240px; height: 240px;
    bottom: 10%; left: 8%;
    animation: cubRingSpin 20s linear infinite reverse;
}

@keyframes cubRingSpin {
    from { transform: translateY(-50%) rotate(0deg); }
    to   { transform: translateY(-50%) rotate(360deg); }
}

.cub-ring--2 {
    animation: cubRingSpin2 20s linear infinite reverse;
}

@keyframes cubRingSpin2 {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ── Main card ── */
.cub-card {
    position: relative;
    background: #ffffff;
    border-radius: 28px;
    padding: 52px 48px 46px;
    border: 1px solid rgba(235, 29, 54, 0.10);
    box-shadow:
        0 4px 6px rgba(235, 29, 54, 0.04),
        0 20px 60px rgba(235, 29, 54, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.06);
    margin: 20px 0 30px;
}

/* ── Top gradient accent ── */
.cub-card-accent {
    position: absolute;
    top: 0; left: 8%; right: 8%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #EB1D36, #ff7385, #EB1D36, transparent);
}

/* ── Live badge ── */
.cub-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFF5F6;
    border: 1px solid rgba(235, 29, 54, 0.20);
    color: #c0112a;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.cub-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #EB1D36;
    flex-shrink: 0;
    animation: cubLivePulse 1.6s ease-in-out infinite;
}

@keyframes cubLivePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(235,29,54,0.5); transform: scale(1); }
    50%       { box-shadow: 0 0 0 5px rgba(235,29,54,0);  transform: scale(1.15); }
}

/* ── ACF body text ── */
.cub-body-text {
    color: #1a1a1a;
}

.cub-body-text h1,
.cub-body-text h2,
.cub-body-text h3,
.cub-body-text h4 {
    color: #111;
    font-weight: 900;
    line-height: 1.6;
    margin-bottom: 12px;
}

.cub-body-text p {
    color: #555;
    font-size: 16px;
    line-height: 2;
    margin-bottom: 0;
}

.cub-body-text strong,
.cub-body-text b {
    color: #EB1D36;
}

/* ── Divider ── */
.cub-sep {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cub-sep-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(235,29,54,0.20), transparent);
}

.cub-sep-icon {
    color: #EB1D36;
    font-size: 18px;
    opacity: 0.7;
}

/* ── Feature chips ── */
.cub-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 999px;
    background: #FFF5F6;
    border: 1px solid rgba(235, 29, 54, 0.15);
    color: #444;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.22s ease;
}

.cub-chip i {
    color: #EB1D36;
    font-size: 15px;
}

.cub-chip:hover {
    background: #EB1D36;
    border-color: #EB1D36;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(235,29,54,0.25);
}

.cub-chip:hover i {
    color: #fff;
}

/* ── Mobile ── */
@media (max-width: 767.98px) {
    .cub-card {
        padding: 36px 20px 32px;
        border-radius: 20px;
        margin: 10px 0 20px;
    }

    .cub-body-text h1,
    .cub-body-text h2,
    .cub-body-text h3 { font-size: 21px; }

    .cub-body-text p { font-size: 15px; }

    .cub-chip { font-size: 12px; padding: 7px 14px; }

    .cub-ring--1 { display: none; }
    .cub-ring--2 { display: none; }

    .cub-blob--a { width: 280px; height: 280px; }
    .cub-blob--b { width: 220px; height: 220px; }
}

/* ============================================================
   Call Request Section — Pro Redesign V2
   cr- prefix
   ============================================================ */

/* ── Section ── */
#CallRequest.cr-section {
    padding: 80px 0 90px;
    background: linear-gradient(150deg, #fff 0%, #fff5f6 55%, #fff0f2 100%);
    position: relative;
}

/* ── Background shapes ── */
.cr-bg-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    z-index: 0;
}

.cr-bg-shape--1 {
    width: 550px; height: 550px;
    top: -160px; right: -100px;
    background: radial-gradient(circle, rgba(235,29,54,0.12) 0%, transparent 70%);
    animation: crShapeDrift 11s ease-in-out infinite alternate;
}

.cr-bg-shape--2 {
    width: 400px; height: 400px;
    bottom: -120px; left: -80px;
    background: radial-gradient(circle, rgba(235,29,54,0.08) 0%, transparent 70%);
    animation: crShapeDrift 14s ease-in-out infinite alternate-reverse;
}

@keyframes crShapeDrift {
    from { transform: translate(0,0); }
    to   { transform: translate(20px, 30px); }
}

/* ── Dot grid ── */
.cr-dot-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(235,29,54,0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}

/* ══════════════════════════════
   Visual / Left Side
══════════════════════════════ */

.cr-visual {
    position: relative;
    width: 380px;
    height: 420px;
}

/* Central hub */
.cr-hub {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 110px; height: 110px;
    display: flex; align-items: center; justify-content: center;
}

.cr-hub__core {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #EB1D36 0%, #ff5e71 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 34px;
    box-shadow: 0 12px 40px rgba(235,29,54,0.35);
    position: relative;
    z-index: 2;
    animation: crHubPulse 3s ease-in-out infinite;
}

@keyframes crHubPulse {
    0%, 100% { box-shadow: 0 12px 40px rgba(235,29,54,0.35); transform: scale(1); }
    50%       { box-shadow: 0 16px 55px rgba(235,29,54,0.50); transform: scale(1.04); }
}

.cr-hub__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px dashed rgba(235,29,54,0.25);
}

.cr-hub__ring--1 {
    animation: crRingSpin 18s linear infinite;
    transform: scale(1.5);
}

.cr-hub__ring--2 {
    animation: crRingSpin 28s linear infinite reverse;
    transform: scale(2.1);
}

@keyframes crRingSpin {
    from { transform: rotate(0deg) scale(var(--s, 1.5)); }
    to   { transform: rotate(360deg) scale(var(--s, 1.5)); }
}

/* Stat cards */
.cr-stat-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 18px;
    padding: 14px 20px;
    border: 1px solid rgba(235,29,54,0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.07);
    min-width: 200px;
    transition: transform 0.3s ease;
}

.cr-stat-card:hover { transform: translateY(-4px); }

.cr-stat-card--1 { top: 40px;  left: 0; animation: crCardFloat 5s ease-in-out infinite; }
.cr-stat-card--2 { bottom: 70px; right: 0; animation: crCardFloat 7s ease-in-out infinite 1s; }
.cr-stat-card--3 { bottom: 10px; left: 20px; animation: crCardFloat 6s ease-in-out infinite 0.5s; }

@keyframes crCardFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-7px); }
}

.cr-stat-card__icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.cr-stat-card__icon--green  { background: #f0fdf4; color: #16a34a; }
.cr-stat-card__icon--yellow { background: #fffbeb; color: #d97706; }
.cr-stat-card__icon--red    { background: #fff1f2; color: #EB1D36; }

.cr-stat-card strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #111;
    line-height: 1.3;
}

.cr-stat-card span {
    font-size: 11px;
    color: #888;
    font-weight: 600;
}

/* Free badge */
.cr-free-badge {
    position: absolute;
    top: 20px; right: 10px;
    display: flex; align-items: center; gap: 6px;
    background: linear-gradient(135deg, #EB1D36, #ff5e71);
    color: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(235,29,54,0.30);
    animation: crBadgeFloat 4s ease-in-out infinite;
}

.cr-free-badge i { font-size: 15px; }

@keyframes crBadgeFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50%       { transform: translateY(-6px) rotate(1deg); }
}

/* ══════════════════════════════
   Form Card
══════════════════════════════ */

.cr-form-card {
    position: relative;
    background: #fff;
    border-radius: 28px;
    padding: 44px 40px 38px;
    border: 1px solid rgba(235,29,54,0.10);
    box-shadow:
        0 4px 6px rgba(235,29,54,0.03),
        0 20px 60px rgba(235,29,54,0.07),
        0 1px 3px rgba(0,0,0,0.05);
}

.cr-form-card__accent {
    position: absolute;
    top: 0; left: 8%; right: 8%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #EB1D36, #ff7385, #EB1D36, transparent);
}

/* ── Form header ── */
.cr-form-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff1f2;
    border: 1px solid rgba(235,29,54,0.18);
    color: #c0112a;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.cr-form-badge i { font-size: 14px; }

.cr-form-title {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 900;
    color: #111;
    line-height: 1.5;
}

.cr-form-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 0;
}

/* ── Labels ── */
.cr-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

/* ── Text inputs ── */
.cr-input-wrap {
    position: relative;
}

.cr-input-icon {
    position: absolute;
    top: 50%; left: 14px;
    transform: translateY(-50%);
    color: #bbb;
    font-size: 18px;
    pointer-events: none;
    transition: color 0.2s;
}

.cr-input {
    width: 100%;
    height: 52px;
    background: #f8f9fa;
    border: 1.5px solid #eee;
    border-radius: 14px;
    padding: 0 16px 0 44px;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    text-align: right;
    direction: rtl;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.cr-input::placeholder {
    color: #b0b0b0;
    font-weight: 400;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.cr-input:focus::placeholder {
    opacity: 0;
}

.cr-input:focus {
    border-color: #EB1D36;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(235,29,54,0.08);
}

.cr-input:focus + .cr-input-icon,
.cr-input-wrap:focus-within .cr-input-icon {
    color: #EB1D36;
}

/* ── Subject radio group ── */
.cr-subject-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cr-subject-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 12px;
    background: #f8f9fa;
    border: 1.5px solid #eee;
    color: #555;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    justify-content: center;
    min-width: 100px;
}

.cr-subject-btn i { font-size: 16px; }

.btn-check:checked + .cr-subject-btn {
    background: #fff1f2;
    border-color: #EB1D36;
    color: #EB1D36;
    box-shadow: 0 4px 14px rgba(235,29,54,0.15);
}

.cr-subject-btn:hover {
    border-color: rgba(235,29,54,0.30);
    color: #EB1D36;
}

/* ── Alerts ── */
.cr-alert {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.cr-alert i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

.cr-alert--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.cr-alert--danger {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #9f1239;
}

/* ── Captcha ── */
.cr-captcha-wrap {
    display: flex;
    align-items: center;
    height: 52px;
    background: #f8f9fa;
    border: 1.5px solid #eee;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cr-captcha-wrap:focus-within {
    border-color: #EB1D36;
    box-shadow: 0 0 0 3px rgba(235,29,54,0.08);
    background: #fff;
}

.cr-captcha-input {
    flex: 1;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    text-align: right;
    direction: rtl;
    min-width: 0;
}
.cr-captcha-input::placeholder {
    color: #b0b0b0;
    font-weight: 400;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.cr-captcha-input:focus::placeholder {
    opacity: 0;
}

.cr-captcha-divider {
    width: 1px;
    height: 28px;
    background: #ddd;
    flex-shrink: 0;
}

.cr-captcha-img-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 10px;
    height: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}

.cr-captcha-img-wrap:hover { background: rgba(235,29,54,0.05); }

.cr-captcha-img {
    height: 34px;
    min-width: 80px;
    border-radius: 6px;
    object-fit: cover;
}

.cr-captcha-refresh {
    color: #bbb;
    font-size: 16px;
    transition: color 0.2s, transform 0.3s;
}

.cr-captcha-img-wrap:hover .cr-captcha-refresh {
    color: #EB1D36;
    transform: rotate(180deg);
}

/* ── Submit button ── */
.cr-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    background: linear-gradient(135deg, #EB1D36 0%, #c0112a 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 8px 24px rgba(235,29,54,0.30);
    text-decoration: none;
}

.cr-submit-btn:hover {
    background: linear-gradient(135deg, #c0112a 0%, #EB1D36 100%);
    box-shadow: 0 12px 32px rgba(235,29,54,0.40);
    transform: translateY(-2px);
    color: #fff;
}

.cr-submit-btn:active { transform: translateY(0); }

.cr-submit-btn__arrow { font-size: 17px; margin-right: auto; }

/* ── Trust row ── */
.cr-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
}

.cr-trust-row span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #999;
    font-weight: 600;
}

.cr-trust-row i { color: #EB1D36; font-size: 14px; }

/* ── Call request respond message ── */
#callRequestForm .cr-field--error {
	border-color: #e53935 !important;
	box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.18) !important;
}
#callRequestForm .cr-alert {
	margin-top: 1rem;
	margin-block-end: 0;
	padding: 0.85rem 1rem;
	border-radius: 12px;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.7;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
#callRequestForm .cr-alert i {
	font-size: 1.25rem;
	flex-shrink: 0;
}
#callRequestForm .cr-alert--success {
	background: rgba(34, 197, 94, 0.12);
	color: #15803d;
	border: 1px solid rgba(34, 197, 94, 0.35);
}
#callRequestForm .cr-alert--error {
	background: rgba(229, 57, 53, 0.10);
	color: #c62828;
	border: 1px solid rgba(229, 57, 53, 0.30);
}

/* ══════════════════════════════
   Responsive
══════════════════════════════ */

@media (max-width: 991.98px) {
    .cr-visual { display: none; }
}

@media (max-width: 767.98px) {
    #CallRequest.cr-section { padding: 56px 0 64px; }

    .cr-form-card {
        padding: 32px 20px 28px;
        border-radius: 20px;
    }

    .cr-form-title { font-size: 20px; }

    .cr-subject-btn {
        font-size: 12px;
        padding: 9px 12px;
        min-width: 80px;
    }

    .cr-trust-row { gap: 10px; }
    .cr-trust-row span { font-size: 11px; }

    .cr-submit-btn { font-size: 14px; height: 48px; }

    .cr-captcha-wrap { height: 48px; }
    .cr-input { height: 48px; }
}

@media (max-width: 479.98px) {
    .cr-subject-group { gap: 6px; }
    .cr-subject-btn { flex-basis: calc(50% - 3px); flex-grow: 0; }
}

/* ============================================================
   Contact Info Section — V3  (ci- prefix)
   ============================================================ */

#ContactInfo.ci-section {
    padding: 60px 0 70px;
    background: #fff;
}

.ci-card {
    position: relative;
    background: #fff;
    border-radius: 24px;
    padding: 36px 32px 32px;
    border: 1px solid rgba(235,29,54,0.08);
    box-shadow: 0 4px 6px rgba(0,0,0,0.03), 0 12px 40px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.ci-card:hover {
    box-shadow: 0 16px 56px rgba(235,29,54,0.09), 0 2px 6px rgba(0,0,0,0.04);
    transform: translateY(-5px);
}

.ci-card__deco {
    position: absolute;
    bottom: -70px; left: -70px;
    width: 220px; height: 220px;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
    background: rgba(235,29,54,0.12);
    opacity: 0.6;
}

.ci-card__deco--teal { background: rgba(20,180,140,0.14); }

.ci-card__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.ci-card__icon {
    width: 64px; height: 64px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}

.ci-card__icon--red  { background: #fff1f2; color: #EB1D36; }
.ci-card__icon--teal { background: #edfaf7; color: #0fa87a; }

.ci-card__title {
    font-size: 19px;
    font-weight: 900;
    color: #111;
    margin: 0;
}

.ci-rows {
    display: flex;
    flex-direction: column;
    gap: 11px;
    position: relative;
    z-index: 1;
}

.ci-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    border-radius: 14px;
    background: #f9f9f9;
    border: 1.5px solid #f0f0f0;
    gap: 10px;
    transition: all 0.22s ease;
}

.ci-row--link {
    text-decoration: none;
    cursor: pointer;
}

.ci-row--link:hover,
.ci-row:hover {
    background: #fff5f6;
    border-color: rgba(235,29,54,0.25);
    box-shadow: 0 4px 16px rgba(235,29,54,0.08);
    transform: translateX(4px);
}

.ci-card--hours .ci-row:hover {
    background: #f0fdf9;
    border-color: rgba(15,168,122,0.25);
    box-shadow: 0 4px 16px rgba(15,168,122,0.08);
    transform: translateX(4px);
}

/* Right side (RTL start) */
.ci-row__right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.ci-row__label {
    font-size: 14px;
    font-weight: 700;
    color: #444;
    white-space: nowrap;
}

.ci-row__badge {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #EB1D36, #ff5e71);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(235,29,54,0.28);
}

.ci-row__badge--2 { background: linear-gradient(135deg, #c0112a, #EB1D36); }

.ci-row__cal-icon {
    font-size: 17px;
    color: #0fa87a;
    flex-shrink: 0;
}

/* Left side: value */
.ci-row__value {
    font-size: 18px;
    font-weight: 900;
    color: #111;
    letter-spacing: 0.5px;
    direction: ltr;
    margin-right: auto;
    padding-right: 12px;
}

.ci-card--hours .ci-row__value { font-size: 16px; }

@media (max-width: 767.98px) {
    #ContactInfo.ci-section { padding: 46px 0 54px; }
    .ci-card { padding: 28px 18px 24px; border-radius: 18px; }
    .ci-row__value { font-size: 15px; }
    .ci-row__label { font-size: 13px; }
    .ci-row { padding: 13px 14px; }
}

/* ============================================================
   Social Networks Section — V3  (sn- prefix)
   ============================================================ */

#SocialNetworks.sn-section {
    padding: 70px 0 80px;
    background: #fff;
}

.sn-header { text-align: right; }

.sn-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #888;
    margin-bottom: 6px;
}

.sn-title {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 900;
    color: #111;
    margin: 0;
}

/* ── Layout: CTA col (right, RTL) + grid ── */
.sn-layout {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px;
    align-items: stretch;
}

/* ── CTA column ── */
.sn-cta-col { display: flex; }

.sn-cta {
    position: relative;
    flex: 1;
    background: linear-gradient(160deg, #EB1D36 0%, #c0112a 100%);
    border-radius: 20px;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(235,29,54,0.28);
}

.sn-cta__glow {
    position: absolute;
    top: -40px; left: -40px;
    width: 130px; height: 130px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    pointer-events: none;
}

.sn-cta__icon {
    font-size: 32px;
    color: rgba(255,255,255,0.90);
    animation: snIconFloat 3s ease-in-out infinite;
}

@keyframes snIconFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

.sn-cta__text {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
    margin: 0;
}

.sn-cta__dots {
    display: flex;
    gap: 5px;
}

.sn-cta__dots span {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.50);
    animation: snDotPulse 1.4s ease-in-out infinite;
}

.sn-cta__dots span:nth-child(2) { animation-delay: 0.2s; }
.sn-cta__dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes snDotPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.4); }
}

/* ── Social items grid ── */
.sn-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.sn-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    background: #fff;
    border-radius: 14px;
    border: 1.5px solid #f0f0f0;
    text-decoration: none;
    transition: all 0.22s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.sn-item:hover {
    border-color: rgba(235,29,54,0.22);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.sn-item:hover .sn-item__arrow {
    opacity: 1;
    transform: translateX(-3px);
    color: #EB1D36;
}

.sn-item__icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}

.sn-item__label {
    font-size: 13px;
    font-weight: 700;
    color: #222;
    flex: 1;
    text-align: right;
}

.sn-item__arrow {
    font-size: 17px;
    color: #d0d0d0;
    opacity: 0.7;
    transition: all 0.22s ease;
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .sn-layout { grid-template-columns: 150px 1fr; }
    .sn-grid { grid-template-columns: repeat(3, 1fr); }
    .sn-cta { padding: 22px 16px; }
    .sn-cta__text { font-size: 13px; }
    .sn-cta__icon { font-size: 26px; }
}

@media (max-width: 767.98px) {
    #SocialNetworks.sn-section { padding: 52px 0 60px; }
    .sn-layout { grid-template-columns: 1fr; }
    .sn-cta-col { display: none; }
    .sn-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .sn-item { padding: 12px 14px; }
    .sn-item__icon { width: 34px; height: 34px; font-size: 17px; }
    .sn-item__label { font-size: 13px; }
}

@media (max-width: 479.98px) {
    .sn-grid { gap: 8px; }
    .sn-item { gap: 8px; padding: 10px 12px; }
}

/* ==========================================================================
   Mobile Fancy Drawer Menu
   ========================================================================== */

body.menu-open { overflow: hidden; }

/* Dark backdrop — z-index must be below fixed header (1030) so drawer is never covered */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 1029;
    visibility: hidden;
    transition: background 0.35s ease, visibility 0.35s ease;
    pointer-events: none;
}

.mobile-overlay.active {
    background: rgba(10, 10, 20, 0.48);
    visibility: visible;
    pointer-events: all;
}

@media (max-width: 991.98px) {

    /* Hamburger button styling */
    .navbar-toggler {
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        border-radius: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(235, 29, 54, 0.07) !important;
        transition: background 0.25s ease, transform 0.2s ease !important;
    }

    .navbar-toggler:hover,
    .navbar-toggler:focus,
    .navbar-toggler[aria-expanded="true"] {
        background: rgba(235, 29, 54, 0.15) !important;
        transform: scale(1.05);
    }

    .navbar-toggler i { color: #EB1D36 !important; font-size: 1.5rem !important; }

    /* Override Bootstrap collapse — full-height drawer */
    #headerMenu {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 0 !important;
        right: -110% !important;
        width: min(85vw, 310px) !important;
        height: 100dvh !important;
        min-height: 100vh !important;
        background: #ffffff !important;
        z-index: 1050 !important;
        padding: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        box-shadow: -6px 0 50px rgba(0, 0, 0, 0.22) !important;
        border-radius: 20px 0 0 20px !important;
        transition: right 0.42s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    #headerMenu.show { right: 0 !important; }

    /* Gradient header strip */
    .mobile-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.1rem;
        background: linear-gradient(135deg, #EB1D36 0%, #a80f22 100%);
        flex-shrink: 0;
    }

    .mobile-drawer-brand {
        color: #ffffff;
        font-weight: 800;
        font-size: 1.05rem;
        letter-spacing: -0.01em;
    }

    .mobile-close-btn {
        background: rgba(255, 255, 255, 0.18);
        border: none;
        color: #ffffff;
        width: 38px;
        height: 38px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.45rem;
        cursor: pointer;
        transition: background 0.2s ease, transform 0.2s ease;
        flex-shrink: 0;
        line-height: 1;
    }

    .mobile-close-btn:hover { background: rgba(255, 255, 255, 0.32); transform: rotate(90deg); }

    /* Nav list */
    #headerMenu .navbar-nav {
        flex-direction: column !important;
        padding: 0.85rem 0.85rem 0 !important;
        gap: 0 !important;
        align-items: stretch !important;
    }

    /* Stagger animation */
    #headerMenu .navbar-nav .menu-item,
    #headerMenu .navbar-nav > li {
        opacity: 0;
        transform: translateX(18px);
        transition: opacity 0.3s ease, transform 0.3s ease !important;
    }

    #headerMenu.show .navbar-nav .menu-item,
    #headerMenu.show .navbar-nav > li {
        opacity: 1;
        transform: translateX(0);
    }

    #headerMenu.show .navbar-nav > li:nth-child(1) { transition-delay: 0.07s; }
    #headerMenu.show .navbar-nav > li:nth-child(2) { transition-delay: 0.12s; }
    #headerMenu.show .navbar-nav > li:nth-child(3) { transition-delay: 0.17s; }
    #headerMenu.show .navbar-nav > li:nth-child(4) { transition-delay: 0.22s; }
    #headerMenu.show .navbar-nav > li:nth-child(5) { transition-delay: 0.27s; }
    #headerMenu.show .navbar-nav > li:nth-child(6) { transition-delay: 0.32s; }
    #headerMenu.show .navbar-nav > li:nth-child(7) { transition-delay: 0.37s; }

    /* Nav links */
    #headerMenu .navbar-nav .menu-item a,
    #headerMenu .navbar-nav .nav-link {
        font-size: 1.02rem !important;
        font-weight: 700 !important;
        padding: 0.82rem 1rem !important;
        border-radius: 14px !important;
        color: #1a1a1a !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        margin-bottom: 3px !important;
        transition: background 0.2s ease, color 0.2s ease, padding-right 0.2s ease !important;
        border-bottom: none !important;
        position: relative !important;
    }

    #headerMenu .navbar-nav .menu-item a:hover,
    #headerMenu .navbar-nav .nav-link:hover {
        background: rgba(235, 29, 54, 0.07) !important;
        color: #EB1D36 !important;
        padding-right: 1.4rem !important;
    }

    #headerMenu .navbar-nav .menu-item.current-menu-item a,
    #headerMenu .navbar-nav .nav-link.active {
        background: rgba(235, 29, 54, 0.1) !important;
        color: #EB1D36 !important;
    }

    /* Hide desktop underline effect */
    #headerMenu .navbar-nav .menu-item a::after,
    #headerMenu .navbar-nav .nav-link::after {
        display: none !important;
    }

    /* CTA buttons at drawer bottom */
    #headerMenu .d-flex.align-items-center {
        flex-direction: column !important;
        padding: 1rem 0.85rem 1.6rem !important;
        margin-top: 0.5rem !important;
        gap: 0.55rem !important;
        border-top: 1px solid rgba(0, 0, 0, 0.07) !important;
    }

    #headerMenu .d-flex.align-items-center a {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        border-radius: 14px !important;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.3s ease 0.4s, transform 0.3s ease 0.4s, background 0.2s ease, color 0.2s ease !important;
    }

    #headerMenu.show .d-flex.align-items-center a {
        opacity: 1;
        transform: translateY(0);
    }

    #headerMenu .d-flex.align-items-center a.text-muted {
        padding: 0.78rem 1rem !important;
        font-size: 0.95rem !important;
        border: 1.5px solid rgba(0, 0, 0, 0.1) !important;
        background: transparent !important;
        color: #555 !important;
    }

    #headerMenu .d-flex.align-items-center .btn-modern {
        padding: 0.85rem 1rem !important;
        font-size: 0.95rem !important;
    }
}

/* ==========================================================================
   FAQ Standalone Page  (template-faq-standalone.php)
   ========================================================================== */

/* ── Hero ── */
.faq-s-hero {
    position: relative;
    padding: 100px 0 80px;
    background: linear-gradient(150deg, #fff5f6 0%, #ffffff 45%, #f5f8ff 100%);
    overflow: hidden;
}

/* Blobs */
.faq-s-hero__blobs { pointer-events: none; position: absolute; inset: 0; }

.faq-s-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.35;
}
.faq-s-blob--1 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(235,29,54,0.18) 0%, transparent 70%);
    top: -120px; right: -80px;
}
.faq-s-blob--2 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(84,104,255,0.12) 0%, transparent 70%);
    bottom: -60px; left: -60px;
}
.faq-s-blob--3 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(235,29,54,0.10) 0%, transparent 70%);
    top: 40%; left: 20%;
}

/* Floating icons */
.faq-s-hero__floats { pointer-events: none; position: absolute; inset: 0; }

.faq-s-float {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.3rem;
    animation: faqFloat 6s ease-in-out infinite;
}
.faq-s-float--1 {
    width: 52px; height: 52px;
    background: rgba(235,29,54,0.08);
    color: #EB1D36;
    top: 15%; right: 8%;
    animation-delay: 0s;
}
.faq-s-float--2 {
    width: 44px; height: 44px;
    background: rgba(84,104,255,0.10);
    color: #5468ff;
    top: 60%; right: 15%;
    animation-delay: 1.5s;
}
.faq-s-float--3 {
    width: 48px; height: 48px;
    background: rgba(235,29,54,0.07);
    color: #EB1D36;
    top: 25%; left: 6%;
    animation-delay: 3s;
}
.faq-s-float--4 {
    width: 38px; height: 38px;
    background: rgba(84,104,255,0.08);
    color: #5468ff;
    bottom: 18%; left: 12%;
    animation-delay: 4.5s;
}

@keyframes faqFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33%       { transform: translateY(-10px) rotate(3deg); }
    66%       { transform: translateY(5px) rotate(-2deg); }
}

/* Hero text */
.faq-s-hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: #1A1A1A;
    line-height: 1.4;
}
.faq-s-hero__title-accent {
    color: #EB1D36;
    position: relative;
    display: inline-block;
}
.faq-s-hero__title-accent::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #EB1D36, transparent);
    border-radius: 2px;
    opacity: 0.4;
}
.faq-s-hero__desc {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.9;
    max-width: 540px;
    margin: 0 auto 2rem;
}

/* Search */
.faq-s-search {
    position: relative;
    max-width: 520px;
    margin: 0 auto 1.5rem;
}
.faq-s-search__icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 1.15rem;
    pointer-events: none;
    transition: color 0.2s;
}
.faq-s-search__input {
    width: 100%;
    padding: 16px 50px 16px 50px;
    border-radius: 50px;
    border: 2px solid #f0f0f0;
    background: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    color: #333;
    outline: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
    transition: border-color 0.25s, box-shadow 0.25s;
    text-align: right;
    direction: rtl;
}
.faq-s-search__input:focus {
    border-color: #EB1D36;
    box-shadow: 0 8px 30px rgba(235,29,54,0.12);
}
.faq-s-search__input:focus + .faq-s-search__icon,
.faq-s-search__input:focus ~ .faq-s-search__icon {
    color: #EB1D36;
}
.faq-s-search__clear {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #888;
    transition: background 0.2s, color 0.2s;
}
.faq-s-search__clear:hover {
    background: #EB1D36;
    color: #fff;
}

/* Stat pill */
.faq-s-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(235,29,54,0.06);
    border: 1px solid rgba(235,29,54,0.15);
    border-radius: 50px;
    color: #EB1D36;
    font-size: 0.88rem;
    font-weight: 600;
}

/* ── Body / Accordion ── */
.faq-s-body {
    background: #F8F9FB;
}

.faq-s-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Card */
.faq-s-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 2px solid transparent;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.faq-s-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}
.faq-s-card--open {
    border-color: #EB1D36;
    box-shadow: 0 8px 32px rgba(235,29,54,0.10);
}

/* Trigger button */
.faq-s-card__trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    text-align: right;
    direction: rtl;
    transition: background 0.2s;
}
.faq-s-card__trigger:hover {
    background: #FFFBFC;
}

/* Number badge */
.faq-s-card__num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #FFF0F2;
    color: #EB1D36;
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, color 0.25s;
}
.faq-s-card--open .faq-s-card__num {
    background: #EB1D36;
    color: #fff;
}

/* Question text */
.faq-s-card__q {
    flex: 1;
    font-size: 1rem;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.6;
}

/* Arrow icon */
.faq-s-card__arrow {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #999;
    transition: background 0.25s, color 0.25s, transform 0.3s;
}
.faq-s-card--open .faq-s-card__arrow {
    background: rgba(235,29,54,0.08);
    color: #EB1D36;
    transform: rotate(180deg);
}

/* Answer */
.faq-s-card__answer {
    padding: 0 24px 24px 24px;
    direction: rtl;
}
.faq-s-card__answer-inner {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #FFFBFC;
    border-radius: 14px;
    padding: 18px 20px;
    border-right: 3px solid #EB1D36;
}
.faq-s-card__answer-icon {
    flex-shrink: 0;
    color: #EB1D36;
    font-size: 1.15rem;
    margin-top: 2px;
}
.faq-s-card__answer-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.9;
    flex: 1;
}
.faq-s-card__answer-text p { margin-bottom: 0.5rem; }
.faq-s-card__answer-text p:last-child { margin-bottom: 0; }
.faq-s-card__answer-text a { color: #EB1D36; }
.faq-s-card__answer-text ul,
.faq-s-card__answer-text ol {
    padding-right: 1.4rem;
    padding-left: 0;
}

/* Empty state */
.faq-s-empty {
    text-align: center;
    padding: 60px 20px;
}
.faq-s-empty__icon {
    width: 80px;
    height: 80px;
    background: #FFF0F2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #EB1D36;
}
.faq-s-empty__text {
    font-size: 1.05rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}
.faq-s-empty__sub {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0;
}

/* ── CTA ── */
.faq-s-cta__card {
    background: linear-gradient(135deg, #fff5f6 0%, #ffffff 60%, #f5f8ff 100%);
    border-radius: 32px;
    border: 1.5px solid #FFF0F1;
    padding: 48px 52px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(235,29,54,0.06);
}
.faq-s-cta__glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(235,29,54,0.10) 0%, transparent 70%);
    top: -80px;
    left: -60px;
    pointer-events: none;
}
.faq-s-cta__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(235,29,54,0.07);
    border: 1px solid rgba(235,29,54,0.15);
    border-radius: 50px;
    color: #EB1D36;
    font-size: 0.82rem;
    font-weight: 700;
}
.faq-s-cta__title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 12px;
}
.faq-s-cta__desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 0;
}
.faq-s-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
    white-space: nowrap;
}
.faq-s-cta__btn--primary {
    background: #EB1D36;
    color: #fff;
    box-shadow: 0 6px 20px rgba(235,29,54,0.30);
}
.faq-s-cta__btn--primary:hover {
    background: #c9162d;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(235,29,54,0.38);
}
.faq-s-cta__btn--outline {
    background: #fff;
    color: #EB1D36;
    border: 2px solid rgba(235,29,54,0.25);
}
.faq-s-cta__btn--outline:hover {
    border-color: #EB1D36;
    color: #EB1D36;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(235,29,54,0.10);
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .faq-s-hero { padding: 70px 0 55px; }
    .faq-s-float { display: none; }
    .faq-s-card__trigger { padding: 16px 18px; gap: 12px; }
    .faq-s-card__answer { padding: 0 16px 18px; }
    .faq-s-card__answer-inner { padding: 14px 16px; }
    .faq-s-cta__card { padding: 32px 24px; }
    .faq-s-cta__title { font-size: 1.3rem; }
    .faq-s-search__input { padding: 14px 46px; }
}