﻿/* ==========================================================================
   ۱. تنظیمات پایه، فونت‌ها و ریست کردن مرورگر
   ========================================================================== */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2'), url('../fonts/Vazirmatn-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
}

/* تصویر پس‌زمینه سراسری (اختیاری برای صفحاتی که لایه محتوای شفاف دارند) */
body {
    background-image: url('/images/background.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #f1f5f2;
}

a {
    text-decoration: none;
    color: inherit;
}

/* اعمال سراسری فونت وزیرمتن روی فیلدها و دکمه‌ها */
input, button, select, textarea, .form-control {
    font-family: 'Vazirmatn', sans-serif !important;
}

/* تنظیم فونت Placeholder برای تمام مرورگرها */
::placeholder {
    font-family: 'Vazirmatn', sans-serif !important;
    opacity: 0.7;
    font-size: 0.9rem;
}

:-ms-input-placeholder {
    font-family: 'Vazirmatn', sans-serif !important;
}

::-ms-input-placeholder {
    font-family: 'Vazirmatn', sans-serif !important;
}

/* ==========================================================================
   ۲. ساختار اختصاصی صفحه ورود (لاگین) - حل مشکل لبه‌های تیره گرادینت
   ========================================================================== */
.login-page-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient( 135deg, #0b582d 0%, #126839 55%, #1B7844 100% );
    display: flex;
    direction: ltr !important;
}


/* پنل لوگو در سمت چپ با رنگ سبز تیره */
.logo-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 470px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 40px;
    z-index: 1;
}

.large-logo {
    max-width: 100%;
    width: auto;
    max-height: 80%;
    height: auto;
    object-fit: contain;
}

/* پنل سفید فرم - قفل شده در سمت راست با لبه‌های هشت‌ضلعی شکسته */
.form-panel {
    position: absolute;
    right: 0;
    top: 0;
    width: 470px;
    height: 100%;
    background: #F9F7EF;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    direction: rtl !important;
    clip-path: polygon(100% 0%, 15% 0%, 0% 15%, 0% 85%, 15% 100%, 100% 100%);
    filter: drop-shadow(-10px 0 20px rgba(0,0,0,0.2));
}
    .form-panel .welcome-section {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .form-panel .welcome-divider {
        justify-content: center;
    }

    .form-panel .forgot-pass {
        text-align: center;
    }
.form-content {
    width: 100%;
    max-width: 360px;
}

/* هدر صفحه لاگین */
.login-header {
    text-align: center;
    margin-bottom: 35px;
}

    .login-header h2 {
        color: #B88B3A;
        font-weight: 700;
        margin-bottom: 10px;
        font-size: 22px;
    }

/* ==========================================================================
   ۳. ساختار اصلی پنل کاربری و چیدمان صفحات داخلی (Layout)
   ========================================================================== */
.user-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    background: #d1cbab;
    direction: rtl;
}

/* سایدبار راست (منو) */
.sidebar {
    width: 300px;
    min-height: 100vh;
    background-color: #125B34;
    background-blend-mode: overlay;
    padding: 25px 15px;
    position: relative;
    z-index: 2;
    clip-path: polygon(100% 0%, 15% 0%, 0% 15%, 0% 85%, 15% 100%, 100% 100%);
    filter: drop-shadow(-5px 0 12px rgba(0,0,0,0.2));
}
    .sidebar::before {
        content: '';
        position: absolute;
        inset: 0;
        background-color: #3e805b;
        -webkit-mask-image: url('../images/background.webp');
        -webkit-mask-size: 320px; /* سایز درشت لوزی‌ها */
        -webkit-mask-repeat: repeat;
        opacity: 0.4; /* تنظیم شدت وضوح لوزی‌ها */
        z-index: 0;
    }

    /* برای اینکه منوها و محتوا زیر پترن نروند */
    .sidebar > * {
        position: relative;
        z-index: 1;
    }


/* تصویر تزیینی سمت چپ (طرح جدید ۳ ستونه) */
.side-image {
    width: 160px;
    background: url('/images/background.webp') center center / cover no-repeat;
    position: relative;
    flex-shrink: 0;
}

/* بخش محتوای وسط */
.content {
    flex-grow: 1;
    padding: 28px;
    background-color: #d1cbab;
    overflow-x: hidden;
}

/* هدر و تبار بالای صفحه */
.topbar {
    background: transparent !important;
    padding: 0 40px;
}

.header-main {
    display: flex;
    align-items: center;
    direction: rtl;
}

.header-logo-img {
    height: 200px;
    width: auto;
    object-fit: contain;
    margin-left: 18px;
}

/* هدر خوش‌آمدگویی و تایتل‌ها */
.welcome-section {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.welcome-text {
    font-size: 22px;
    font-weight: 800;
    color: #B88B3A;
    margin: 0 0 10px 0;
}

.welcome-divider {
    display: flex;
    align-items: center;
    width: 100%;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to left, #B88B3A 0%, rgba(184,139,58,0.6) 40%, rgba(184,139,58,0.1) 100%);
    border-radius: 2px;
}

/* آیکون‌های لوزی طلایی هماهنگ */
.diamond-icon {
    width: 8px;
    height: 8px;
    background-color: #B88B3A;
    transform: rotate(45deg);
    margin-left: 10px;
    display: inline-block;
    flex-shrink: 0;
}

.divider-diamond {
    width: 15px;
    height: 15px;
    background: #B88B3A;
    transform: rotate(45deg);
    margin-left: 8px;
    flex-shrink: 0;
}

.divider-diamond-small {
    width: 8px;
    height: 8px;
    background: #B88B3A;
    transform: rotate(45deg);
    margin-left: 8px;
    flex-shrink: 0;
}

.page-description {
    text-align: center;
    color: #555;
    font-size: 15px;
    line-height: 2;
    margin-bottom: 25px;
    font-weight: 500;
}


/* ==========================================================================
   ۴. سایدبار ناوبری و منوها (Navigation)
   ========================================================================== */
.sidebar .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

    .sidebar .brand .logo {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        background: rgba(255,255,255,0.14);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        font-size: 18px;
    }

    .sidebar .brand .info {
        display: flex;
        flex-direction: column;
    }

        .sidebar .brand .info .title {
            font-size: 16px;
            font-weight: 700;
        }

        .sidebar .brand .info .subtitle {
            font-size: 12px;
            opacity: 0.8;
            margin-top: 2px;
        }

.menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 12px;
    color: #FFFFFF; /* برای خوانایی بهتر روی پس‌زمینه پررنگ */
    transition: 0.3s;
    background-color: #348a59;
}


    .menu-item span {
        color: #ffffff;
    }

    .menu-item:hover, .menu-item.active {
        background: rgba(255,255,255,0.15);
        transform: translateX(-5px);
    }

    .menu-item .icon {
        width: 34px;
        height: 34px;
        border-radius: 12px;
        background: rgba(255,255,255,0.12);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        flex-shrink: 0;
    }

/* سیستم زیرمنوهای آکاردئونی */
.menu-group {
    margin-bottom: 5px;
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: rgba(0, 0, 0, 0.15);
    margin-right: 25px;
    border-right: 2px solid #B88B3A;
    border-radius: 0 0 0 10px;
}

.menu-group.active .submenu {
    max-height: 200px;
    padding: 5px 0;
}

.submenu a {
    display: block;
    padding: 10px 15px;
    color: #e0e0e0;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
}

    .submenu a:hover {
        color: #B88B3A;
        background: rgba(184, 139, 58, 0.1);
        padding-right: 20px;
    }
    .submenu a.active {
        background: #0f766e;
        color: #fff;
        border-radius: 8px;
    }


/* فلش چرخان و کنترل زیرمنو */
.has-submenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

    .has-submenu i.arrow {
        font-size: 10px;
        transition: transform 0.3s;
        color: #B88B3A;
    }

.menu-group.active i.arrow {
    transform: rotate(180deg);
}

/* ==========================================================================
   ۵. دکمه‌ها (Buttons) - هوشمندسازی طول و مکان دکمه‌ها
   ========================================================================== */
.btn-login {
    height: 40px;
    min-width: 180px;
    background: #0b582d;
    color: #fff;
    border: 2px solid #0b582d;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-delete {
    height: 40px;
    min-width: 180px;
    background: #ff0000;
    color: #fff;
    border: 2px solid #ff0000;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-login:hover {
        background: #B88B3A;
        border-color: #B88B3A;
    }

/* دکمه ورود در صفحه لاگین (باید تمام عرض باشد) */
.form-panel .btn-login {
    width: 100%;
    margin-top: 10px;
}

/* وسط‌چین کردن دکمه‌ها در فرم‌های داخلی (مثل صفحه تغییر رمز عبور) */
.center-wrapper {
    display: flex;
    margin-top: 20px;
    align-items: center;
    justify-content: center;
}

    .center-wrapper form {
        display: flex;
        flex-direction: column;
        align-items: center; /* تمام فرزندان فرم از جمله دکمه را وسط قرار می‌دهد */
    }

    .center-wrapper .btn-login {
        width: auto !important;
        min-width: 220px;
        padding: 12px 28px;
    }

/* ==========================================================================
   ۶. فیلدها و کادرهای ورود اطلاعات (Inputs)
   ========================================================================== */
.form-group {
    margin-bottom: 12px;
    text-align: right;
}

    .form-group label, .login-label {
        display: block;
        margin-bottom: 6px;
        font-size: 14px;
        font-weight: 700;
        color: #0b582d;
    }

/* کادرهای ورود متن */
.form-control {
    width: 100%;
    height: 40px;
    border: 1px solid #0b582d;
    border-radius: 10px;
    padding: 0 16px;
    background-color: #ffffff !important;
    font-size: 14px;
    outline: none;
    transition: all 0.25s ease;
}

    .form-control:focus {
        border-color: #B88B3A;
    }

    /* چپ‌چین کردن ورودی‌های عددی و پسورد */
    .form-control.ltr-input {
        direction: ltr !important;
        text-align: left !important;
    }

/* خنثی کردن پس‌زمینه زرد/آبی پیش‌فرض مرورگر در فیلدها */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
    box-shadow: 0 0 0 30px #ffffff inset !important;
    -webkit-text-fill-color: #1f2937 !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* باکس‌های حاوی دکمه نمایش پسورد */
.password-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

    .password-box .form-control {
        padding-left: 45px;
    }

.toggle-password {
    position: absolute;
    left: 15px;
    cursor: pointer;
    color: #B88B3A;
    font-size: 1.2rem;
    user-select: none;
    z-index: 5;
}

/* لینک فراموشی پسورد */
.forgot-pass {
    display: inline-block;
    color: #0b582d;
    font-size: 13px;
    font-weight: 600;
    margin-top: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .forgot-pass:hover {
        color: #B88B3A;
        text-decoration: underline;
    }

/* ==========================================================================
   ۷. بخش مدیریت و آپلود فایل‌ها - بدون تغییر (از css.txt اضافه شد)
   ========================================================================== */
.admin-container {
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
}

.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 25px;
    border: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

    .card h3 {
        margin-top: 0;
        color: #333;
        border-bottom: 2px solid #eee;
        padding-bottom: 10px;
    }

.file-group {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px dashed #ccc;
}

.file-input-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-select-file {
    background: #6c757d;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
    border: none;
}

    .btn-select-file:hover {
        background: #5a6268;
    }

.file-info {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

.text-success {
    color: #28a745 !important;
    font-weight: bold;
}

/* ==========================================================================
   ۸. کارت‌ها، گریدها و باکس‌های محتوایی
   ========================================================================== */
.card-box {
    background: white;
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 400px;
}

    .card-box .btn-login {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 20px auto 0 auto; /* ✅ وسط‌چین */
        width: auto !important;
        min-width: 220px;
        padding: 12px 28px;
    }


.excel-container {
    padding: 10px;
}

.excel-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.excel-card {
    flex: 1;
    min-width: 320px;
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #eee;
}

    .excel-card .file-icon {
        font-size: 60px;
        color: #2ecc71;
        margin: 20px 0;
    }

.excel-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.excel-btn {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

    .excel-btn:hover {
        transform: scale(1.1);
    }

.btn-blue {
    background: #3498db;
}

.btn-orange {
    background: #f39c12;
}

.btn-red {
    background: #e74c3c;
}

/* ==========================================================================
   ۸. پنجره مودال اختصاصی (Modal) و لودینگ طلایی
   ========================================================================== */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content-wrapper {
    background-color: #d1cbab;
    margin: 2% auto;
    width: 80%;
    max-width: 1000px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow: hidden;
    border: 1px solid #B88B3A;
    animation: slideUp 0.4s ease-out;
}

.modal-header {
    background: #2F621C;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    border-bottom: 2px solid #B88B3A;
}

.modal-title {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 10px;
}

/* لودینگ چرخان طلایی داخل مودال */
.spinner-gold {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #B88B3A;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

/* ==========================================================================
   ۹. پیغام‌های وضعیت و خطاها (Alerts & Validation)
   ========================================================================== */
.alert-box {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid transparent;
}

    .alert-box.success {
        background-color: #d4edda;
        color: #155724;
        border-color: #c3e6cb;
    }

    .alert-box.error {
        background-color: #f8d7da;
        color: #721c24;
        border-color: #f5c6cb;
    }

.text-danger {
    color: #d32f2f !important;
    font-weight: 500;
    display: block;
    margin-top: 5px;
}

.input-validation-error {
    border: 1px solid #d32f2f !important;
    background-color: #fff8f8 !important;
}

/* ==========================================================================
   ۱۰. انیمیشن‌ها و کدهای واکنش‌گرا (Media Queries)
   ========================================================================== */
@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* واکنش‌گرایی در صفحات مختلف */
@media (max-width: 1200px) {
    .side-image {
        display: none; /* مخفی کردن ستون چپ طرح ۳ ستونه در صفحات کوچک‌تر */
    }
}

@media (max-width: 900px) {
    .logo-panel {
        display: none; /* مخفی شدن لوگو در لاگین موبایل */
    }

    .form-panel {
        width: 100% !important;
        border-radius: 0 !important;
        box-shadow: none;
        padding: 24px;
        clip-path: none !important; /* حذف شکستگی لبه‌ها در موبایل */
    }

    .form-content {
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 80px; /* کوچک شدن منوی سایدبار در حالت موبایل */
    }

    .content {
        padding: 20px;
    }
}

.user-main-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 30px;
    align-items: stretch;
}

.dashboard-card {
    background: #F9F7EF;
    border: 1px solid rgba(184, 139, 58, 0.28);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    min-height: 260px;
}

    .dashboard-card h3 {
        color: #0b582d;
        margin-bottom: 22px;
        font-size: 20px;
        font-weight: 800;
        border-bottom: 2px solid rgba(184, 139, 58, 0.22);
        padding-bottom: 10px;
    }

.dashboard-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(11, 88, 45, 0.08);
}

    .dashboard-item:last-of-type {
        border-bottom: none;
    }

.dashboard-label {
    color: #0b582d;
    font-weight: 700;
    font-size: 14px;
}

.dashboard-value {
    color: #444;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
}

.dashboard-action {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

    .dashboard-action .btn-login {
        min-width: 220px;
    }

@media (max-width: 768px) {
    .user-main-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-value {
        text-align: right;
    }
}

.text-center {
    text-align: center !important;
}

.file-badge {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-family: monospace;
    border: 1px solid #c8e6c9;
}

.current-files-status {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.files-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

    .single-column {
        grid-template-columns: 1fr;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }

.files-column {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.column-header {
    background-color: #28a745;
    color: #fff;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}

.column-body {
    max-height: 94px; /* ارتفاع ثابت */
    overflow-y: auto; /* اسکرول عمودی */
    padding: 10px;
}

.file-item {
    padding: 8px 10px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .file-item:last-child {
        border-bottom: none;
    }

    .file-item small {
        color: #888;
        font-size: 12px;
    }

.file-badge {
    display: inline-block;
    background-color: #e9ecef;
    color: #333;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 13px;
    direction: ltr;
    font-family: monospace;
    word-break: break-all;
}

.empty-msg {
    color: #888;
    font-size: 13px;
    text-align: center;
    padding: 20px 0;
}

/* اسکرول‌بار زیبا (اختیاری) */
.column-body::-webkit-scrollbar {
    width: 8px;
}

.column-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 8px;
}

.column-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 8px;
}

    .column-body::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }

.buttons-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px; /* فاصله بین دو دکمه */
    margin-top: 15px;
    flex-wrap: wrap; /* در صورت باریک شدن صفحه، دکمه‌ها زیر هم برن */
}

    .buttons-row button {
        min-width: 200px;
    }


/* ==========================================================================
   ۱۱. استایل‌های اختصاصی صفحه درباره ما (About Us)
   ========================================================================== */

/* --- راه‌حل مشکل بزرگ شدن لوگوی کناری و تنظیم Layout --- */

/* 1. جلوگیری از رشد بی‌رویه محتوای وسط */
.about-us-page .user-shell .content,
.user-shell:has(.about-us-page) .content {
    flex-grow: 0 !important;
    flex-basis: auto !important;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px !important;
    box-sizing: border-box;
}

/* 2. اصلاح رفتار تصویر کناری (لوگو) */
.user-shell:has(.about-us-page) .side-image {
    width: 160px !important;
    flex-shrink: 0 !important;
    background-size: 160px auto !important;
    background-repeat: repeat-y !important;
    background-position: top center !important;
}

/* 3. اصلاح سایدبار راست */
.user-shell:has(.about-us-page) .sidebar {
    width: 300px !important;
    flex-shrink: 0 !important;
}

/* --- استایل‌های داخلی صفحه AboutUs --- */
.about-us-page {
    --primary-dark: #125B34;
    --primary-gold: #B88B3A;
    --bg-cream: #f4f4f0;
    --text-dark: #333;
    font-family: 'IRANSans', 'Tahoma', sans-serif;
    direction: rtl;
    color: var(--text-dark);
    width: 100%;
    box-sizing: border-box;
}

    .about-us-page * {
        box-sizing: border-box;
    }

    /* --- بخش کارت و متن معرفی --- */
    .about-us-page .intro-section {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 25px;
        background-color: var(--primary-dark);
        color: white;
        border-radius: 15px;
        margin-bottom: 20px;
        width: 100%;
    }

    .about-us-page .intro-top-row {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
    }

    .about-us-page .intro-text-top {
        flex: 1;
        min-width: 250px;
        font-size: 0.95rem;
        text-align: justify;
    }

        .about-us-page .intro-text-top h3 {
            color: var(--primary-gold);
            margin-bottom: 15px;
            font-size: 1.3rem;
        }

    .about-us-page .intro-card {
        flex: 0 0 240px;
        background-color: var(--primary-dark);
        border: 2px solid var(--primary-gold);
        border-radius: 15px;
        padding: 20px;
        text-align: center;
        position: relative;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        height: fit-content;
    }

    .about-us-page .card-logo-placeholder {
        width: 90px;
        height: 130px;
        margin: 0 auto 15px;
        background-color: #1a4d45;
        background-image: url('/images/green-logo.webp');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 12px;
        border: 2px solid var(--primary-gold);
    }

    .about-us-page .intro-text-bottom {
        width: 100%;
        font-size: 0.95rem;
        text-align: justify;
    }

        .about-us-page .intro-text-bottom p,
        .about-us-page .intro-text-top p {
            line-height: 1.8;
            margin-bottom: 15px;
            padding-right: 20px;
            position: relative;
        }

            .about-us-page .intro-text-bottom p::before,
            .about-us-page .intro-text-top p::before {
                content: '';
                position: absolute;
                right: 0;
                top: 12px;
                width: 8px;
                height: 8px;
                background-color: var(--primary-gold);
                transform: rotate(45deg);
                border-radius: 2px;
            }

    /* --- بخش خدمات (Services) --- */
    .about-us-page .services-section {
        padding: 25px;
        text-align: center;
        background-color: #f0f2f5;
        border-radius: 15px;
        width: 100%;
    }

    .about-us-page .services-title-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 30px;
    }

        .about-us-page .services-title-wrapper .line {
            flex: 1;
            height: 2px;
            background-color: var(--primary-gold);
            opacity: 0.5;
            max-width: 100px;
        }

    .about-us-page .services-section h2 {
        color: var(--primary-dark);
        margin: 0;
        position: relative;
        font-size: 1.5rem;
        padding: 0 10px;
    }

        .about-us-page .services-section h2::before,
        .about-us-page .services-section h2::after {
            content: '';
            position: absolute;
            top: 50%;
            width: 8px;
            height: 8px;
            background-color: var(--primary-gold);
            transform: translateY(-50%) rotate(45deg);
            border-radius: 2px;
        }

        .about-us-page .services-section h2::before {
            right: -4px;
        }

        .about-us-page .services-section h2::after {
            left: -4px;
        }

    .about-us-page .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 15px;
    }

    .about-us-page .service-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 12px;
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        transition: 0.3s;
        background-color: #ffffff;
    }

        .about-us-page .service-item:hover {
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            border-color: var(--primary-gold);
        }

    .about-us-page .service-icon-placeholder {
        width: 40px;
        height: 40px;
        background-color: #f0f0f0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-dark);
        font-size: 1.2rem;
    }

/* --- واکنش‌گرایی (Responsive) --- */
@media (max-width: 768px) {
    .about-us-page .intro-card {
        flex: 1 1 100%;
    }

    .about-us-page .intro-text-top {
        min-width: 100%;
    }

    .user-shell:has(.about-us-page) .side-image {
        display: none !important;
    }
}

/* ==========================================================================
   ۱۲. استایل‌های اختصاصی صفحه ارتباط با ما (Contact Us)
   ========================================================================== */

/* --- تنظیمات لایوت (مثل AboutUs) --- */
.user-shell:has(.contact-us-page) .content {
    flex-grow: 0 !important;
    flex-basis: auto !important;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px !important;
    box-sizing: border-box;
}

.user-shell:has(.contact-us-page) .side-image {
    width: 160px !important;
    flex-shrink: 0 !important;
    background-size: 160px auto !important;
    background-repeat: repeat-y !important;
    background-position: top center !important;
}

.user-shell:has(.contact-us-page) .sidebar {
    width: 300px !important;
    flex-shrink: 0 !important;
}

/* --- استایل‌های داخلی صفحه ContactUs --- */
.contact-us-page {
    --primary-dark: #125B34;
    --primary-gold: #B88B3A;
    --bg-cream: #f4f4f0;
    --text-dark: #333;
    font-family: 'IRANSans', 'Tahoma', sans-serif;
    direction: rtl;
    color: var(--text-dark);
    width: 100%;
    box-sizing: border-box;
}

    .contact-us-page * {
        box-sizing: border-box;
    }

/* --- بخش معرفی و خوش‌آمدگویی --- */
.contact-intro {
    background-color: var(--primary-dark);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .contact-intro::before {
        content: '';
        position: absolute;
        top: -50px;
        right: -50px;
        width: 150px;
        height: 150px;
        background: rgba(184, 139, 58, 0.1);
        transform: rotate(45deg);
        border-radius: 20px;
    }

    .contact-intro h2 {
        color: var(--primary-gold);
        font-size: 1.8rem;
        margin-bottom: 15px;
        position: relative;
    }

    .contact-intro p {
        font-size: 1rem;
        line-height: 1.8;
        opacity: 0.9;
        max-width: 700px;
        margin: 0 auto;
        position: relative;
    }

/* --- گرید کارت‌های ارتباطی --- */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.contact-card {
    background: #ffffff;
    border: 1px solid rgba(184, 139, 58, 0.2);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

    .contact-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(18, 91, 52, 0.15);
        border-color: var(--primary-gold);
    }

    /* نوار رنگی بالای کارت‌ها */
    .contact-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        transition: height 0.3s ease;
    }

    .contact-card.instagram::before {
        background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    }

    .contact-card.whatsapp::before {
        background: linear-gradient(45deg, #25D366, #128C7E);
    }

    .contact-card.telegram::before {
        background: linear-gradient(45deg, #0088cc, #005f8f);
    }

    .contact-card:hover::before {
        height: 8px;
    }

/* آیکون‌ها */
.contact-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: 0.3s;
    background-color: #f8f9fa;
}

.contact-card:hover .contact-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.contact-icon-wrapper img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

/* عنوان و توضیحات کارت */
.contact-card h3 {
    color: var(--primary-dark);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-card .contact-handle {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    direction: ltr;
    font-family: monospace;
}

.contact-card .contact-desc {
    color: #888;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* دکمه داخل کارت */
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    margin-top: auto;
}

.contact-card.instagram .contact-btn {
    background-color: #E1306C;
}

.contact-card.whatsapp .contact-btn {
    background-color: #25D366;
}

.contact-card.telegram .contact-btn {
    background-color: #0088cc;
}

.contact-btn:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

/* --- بخش اطلاعات تکمیلی (آدرس، تلفن) --- */
.contact-info-section {
    background-color: #f0f2f5;
    padding: 30px;
    border-radius: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-info-icon {
    width: 45px;
    height: 45px;
    background-color: var(--primary-dark);
    color: var(--primary-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info-text h4 {
    color: var(--primary-dark);
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-info-text p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* --- واکنش‌گرایی --- */
@media (max-width: 768px) {
    .user-shell:has(.contact-us-page) .side-image {
        display: none !important;
    }

    .contact-intro h2 {
        font-size: 1.4rem;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* کانتینر آیکون */
.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(34, 139, 34, 0.15);
    transition: all 0.35s ease;
}

/* ---------- فونت وزیرمتن در کل صفحه ---------- */
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

* {
    font-family: 'Vazirmatn', 'Tahoma', sans-serif !important;
}

/* ---------- کانتینر شبکه ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ---------- هر آیتم: کادر طلایی ---------- */
.service-item {
    border: 1.5px solid #c9a44c; /* طلایی */
    border-radius: 8px;
    padding: 24px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: #ffffff;
    transition: none; /* بدون هاور */
}

/* ---------- دایره سبز دور آیکون ---------- */
.service-icon {
    width: 76px;
    height: 76px;
    background: #2e8b57; /* پس‌زمینه سبز */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* ---------- SVG: خطوط سفید ---------- */
    .service-icon svg {
        width: 40px;
        height: 40px;
        fill: none;
        stroke: #ffffff; /* آیکون سفید */
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* ---------- متن سبز ---------- */
.service-item span {
    color: #2e8b57;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 1.7;
}

/* ---------- واکنش‌گرایی ---------- */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/*  استایل کلاس تماس با ما  */

.contact-us-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    direction: rtl;
}

/* ===== معرفی ===== */
.contact-intro {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 0.8s ease;
}

    .contact-intro h2 {
        font-size: 2rem;
        font-weight: 800;
        color: #1f2937;
        margin-bottom: 16px;
        position: relative;
        display: inline-block;
    }

        .contact-intro h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            border-radius: 4px;
            background: linear-gradient(90deg, #10b981, #3b82f6, #8b5cf6);
        }

    .contact-intro p {
        max-width: 700px;
        margin: 24px auto 0;
        color: #6b7280;
        line-height: 2;
        font-size: 1.05rem;
    }

/* ===== بخش پیام‌رسان‌ها با پس‌زمینه سبز تیره (مثل سایدبار) ===== */
/* ===== بخش پیام‌رسان‌ها با پس‌زمینه سبز (هم‌رنگ خدمات ما) ===== */
.contact-messengers-section {
    background: #2e8b57 !important;
    border-radius: 28px;
    padding: 50px 30px;
    margin-bottom: 60px;
    box-shadow: 0 20px 50px rgba(46, 139, 87, 0.35);
    position: relative;
    overflow: hidden;
}

    .contact-messengers-section::before {
        content: '';
        position: absolute;
        top: -80px;
        right: -80px;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.06);
    }

    .contact-messengers-section::after {
        content: '';
        position: absolute;
        bottom: -100px;
        left: -60px;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.05);
    }

.contact-messengers-title {
    text-align: center;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

    .contact-messengers-title span {
        display: inline-block;
        padding: 10px 28px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 999px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

/* ===== ردیف‌ها ===== */
.contact-rows {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.contact-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

    .contact-row .contact-card {
        flex: 0 0 230px;
        max-width: 230px;
    }

/* ===== کارت پایه ===== */
.contact-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 18px 26px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: #ffffff;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

    .contact-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: var(--brand-color);
        transition: height 0.35s ease;
    }

    .contact-card:hover {
        transform: translateY(-8px);
        background: rgba(255, 255, 255, 0.2);
        box-shadow: 0 22px 44px rgba(0, 0, 0, 0.22);
        border-color: rgba(255, 255, 255, 0.5);
    }

        .contact-card:hover::before {
            height: 8px;
        }

    /* ===== رنگ اختصاصی هر پیام‌رسان ===== */
    .contact-card.telegram {
        --brand-color: #0088cc;
    }

    .contact-card.whatsapp {
        --brand-color: #25d366;
    }

    .contact-card.eita {
        --brand-color: #f58220;
    }

    .contact-card.bale {
        --brand-color: #3DD9A0;
    }

    .contact-card.rubika {
        --brand-color: #7c3aed;
    }

/* ===== آیکون ===== */
.contact-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    margin-bottom: 16px;
    transition: transform 0.35s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.contact-card:hover .contact-icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
}

.contact-icon-wrapper svg {
    width: 42px;
    height: 42px;
}

/* ===== متن کارت ===== */
.contact-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.contact-handle {
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: 600;
    direction: ltr;
    margin-bottom: 12px;
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.9;
    margin-bottom: 18px;
    flex-grow: 1;
}

/* ===== دکمه‌ی شروع گفتگو: پایه ===== */
.contact-btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 999px;
    background: #ffffff;
    color: #047857;
    font-size: 0.9rem;
    font-weight: 800;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* ===== رنگ اختصاصی دکمه‌ی هر پیام‌رسان ===== */
.contact-card.telegram .contact-btn {
    background: #0088cc;
    color: #ffffff;
}

.contact-card.whatsapp .contact-btn {
    background: #25d366;
    color: #ffffff;
}

.contact-card.eita .contact-btn {
    background: #f58220;
    color: #ffffff;
}

.contact-card.bale .contact-btn {
    background: #3DD9A0;
    color: #ffffff;
}

.contact-card.rubika .contact-btn {
    background: #7c3aed;
    color: #ffffff;
}

/* ===== هاور دکمه‌ها: کمی تیره‌تر ===== */
.contact-card:hover .contact-btn {
    transform: scale(1.05);
}

.contact-card.telegram:hover .contact-btn {
    background: #006699;
}

.contact-card.whatsapp:hover .contact-btn {
    background: #1eaa52;
}

.contact-card.eita:hover .contact-btn {
    background: #d97706;
}

.contact-card.bale:hover .contact-btn {
    background: #2BB890;
}

.contact-card.rubika:hover .contact-btn {
    background: #6d28d9;
}

/* ===== موبایل ===== */
@media (max-width: 640px) {
    .contact-messengers-section {
        padding: 36px 18px;
        border-radius: 22px;
    }

    .contact-messengers-title {
        font-size: 1.15rem;
    }

    .contact-row {
        gap: 14px;
    }

        .contact-row .contact-card {
            flex: 0 0 calc(50% - 7px);
            max-width: calc(50% - 7px);
        }

    .contact-card {
        padding: 24px 14px 22px;
    }

    .contact-icon-wrapper {
        width: 58px;
        height: 58px;
    }

        .contact-icon-wrapper svg {
            width: 32px;
            height: 32px;
        }

    .contact-desc {
        display: none;
    }
}

@media (max-width: 380px) {
    .contact-row .contact-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
/* ===== اطلاعات تکمیلی ===== */
.contact-info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* کارت: کادر طلایی همیشه ثابت */
.contact-info-item,
.contact-info-item:hover,
.contact-info-item:focus,
.contact-info-item:active {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 22px 20px !important;
    border: 1.5px solid #c9a44c !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
    cursor: default !important;
}

    /* دایره سبز دور آیکون */
    .contact-info-icon,
    .contact-info-item:hover .contact-info-icon {
        width: 60px !important;
        height: 60px !important;
        flex-shrink: 0 !important;
        background: #2e8b57 !important;
        background-color: #2e8b57 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: none !important;
        transform: none !important;
        box-shadow: none !important;
        font-size: 0 !important; /* حذف ایموجی قدیمی اگر مونده */
    }

        /* SVG داخل دایره: سفید */
        .contact-info-icon svg,
        .contact-info-item:hover .contact-info-icon svg {
            width: 30px !important;
            height: 30px !important;
            fill: none !important;
            stroke: #ffffff !important;
            stroke-width: 1.7 !important;
            stroke-linecap: round !important;
            stroke-linejoin: round !important;
            transition: none !important;
        }

    /* متن */
    .contact-info-text h4,
    .contact-info-item:hover .contact-info-text h4 {
        font-size: 1rem !important;
        font-weight: 700 !important;
        color: #2e8b57 !important;
        margin-bottom: 6px !important;
        transition: none !important;
    }

    .contact-info-text p,
    .contact-info-item:hover .contact-info-text p {
        font-size: 0.9rem !important;
        color: #2e8b57 !important;
        line-height: 1.9 !important;
        margin: 2px 0 !important;
        transition: none !important;
    }

/* ===== انیمیشن ===== */
@@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== موبایل ===== */
@@media (max-width: 640px) {
    .contact-intro h2 {
        font-size: 1.5rem;
    }

    .contact-messengers-section {
        padding: 36px 18px;
        border-radius: 22px;
    }

    .contact-messengers-title {
        font-size: 1.15rem;
    }

    .contact-row {
        gap: 14px;
    }

        .contact-row .contact-card {
            flex: 0 0 calc(50% - 7px);
            max-width: calc(50% - 7px);
        }

    .contact-card {
        padding: 24px 14px 22px;
    }

    .contact-icon-wrapper {
        width: 58px;
        height: 58px;
    }

        .contact-icon-wrapper svg {
            width: 28px;
            height: 28px;
        }

    .contact-desc {
        display: none;
    }
}

@@media (max-width: 380px) {
    .contact-row .contact-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}