/* auto-assembled contractor layer stylesheet — do not edit Profile.cshtml styles */
﻿
/* باکس نرم دور کل بخش –– اضافه شده جدید */
.QrContractor {
    margin: 40px auto;
    max-width: 1200px;
    padding: 40px 32px;
    border-radius: 24px;
    /* باکس نرم و ظریف */
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 18px rgba(0,0,0,0.04), 0 20px 50px rgba(0,0,0,0.06);
    /* بک‌گراند قبلی */
    background: linear-gradient(135deg,#ffffff,#f8fbff);
    position: relative;
    overflow: hidden;
    animation: fadeUp .9s ease;
}

    /* نور پس زمینه */
    .QrContractor::before {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle,#3498db20,transparent 70%);
        top: -200px;
        right: -200px;
    }

    .QrContractor::after {
        content: "";
        position: absolute;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle,#e74c3c20,transparent 70%);
        bottom: -200px;
        left: -200px;
    }

/* grid */
.qr-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* QR */
.qr-code-wrapper {
    display: flex;
    justify-content: center;
}

.qr-code {
    width: 200px;
    height: 200px;
    background: #fff;
    border-radius: 20px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,.12), inset 0 0 0 1px #eee;
    animation: floatQR 4s ease-in-out infinite;
}

    .qr-code img {
        max-width: 100%;
        border-radius: 10px;
    }

    /* scan */
    .qr-code::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg,transparent,#3498db,transparent);
        animation: scan 3s linear infinite;
    }

/* text */
.qr-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1c2b39;
    margin-bottom: 10px;
}

.qr-description {
    color: #5b6b7c;
    line-height: 1.7;
    font-size: .9rem;
    margin-bottom: 4px;
}

/* buttons */
.qr-buttons {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-qr {
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    background: linear-gradient(135deg,#2c3e50,#34495e);
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: .35s;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

.btn-download {
    background: linear-gradient(135deg,#3498db,#5dade2);
}

.btn-qr:hover {
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0 20px 40px rgba(0,0,0,.2);
}

/* socials */
.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#2c3e50,#34495e);
    transition: .35s;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

    .social-icon:hover {
        transform: translateY(-5px) scale(1.1);
        background: linear-gradient(135deg,#e74c3c,#ff6b5a);
    }

/* desktop */
@media(min-width:768px) {
    .QrContractor {
        padding: 48px 40px;
        margin: 50px auto;
    }

    .qr-grid {
        grid-template-columns: 220px 1fr;
        gap: 48px;
    }

    .qr-code {
        width: 220px;
        height: 220px;
        padding: 16px;
    }

    .qr-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .qr-description {
        font-size: .95rem;
    }

    .qr-buttons {
        margin-top: 20px;
    }

    .social-icons {
        margin-top: 24px;
    }
}

/* tablet */
@media(min-width:1024px) {
    .QrContractor {
        padding: 50px 48px;
        margin: 60px auto;
    }

    .qr-grid {
        grid-template-columns: 240px 1fr;
        gap: 56px;
    }

    .qr-code {
        width: 240px;
        height: 240px;
        padding: 18px;
    }
}

/* mobile */
@media(max-width:767px) {
    .QrContractor {
        margin: 30px 16px;
        padding: 28px 20px;
    }

    .qr-grid {
        gap: 20px;
    }

    .qr-code {
        width: 170px;
        height: 170px;
        padding: 12px;
    }

    .qr-title {
        font-size: 1.4rem;
        margin-bottom: 8px;
        text-align: center;
    }

    .qr-description {
        font-size: .85rem;
        text-align: center;
    }

    .qr-buttons {
        justify-content: center;
        margin-top: 16px;
    }

    .btn-qr {
        padding: 8px 18px;
        font-size: .85rem;
    }

    .social-icons {
        justify-content: center;
        margin-top: 18px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
    }
}

@media(max-width:480px) {
    .QrContractor {
        padding: 20px 16px;
        margin: 20px 12px;
    }

    .qr-code {
        width: 150px;
        height: 150px;
        padding: 10px;
    }

    .qr-title {
        font-size: 1.3rem;
    }

    .qr-description {
        font-size: .8rem;
        line-height: 1.6;
    }

    .btn-qr {
        padding: 7px 16px;
        font-size: .8rem;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }
}

/* animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatQR {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes scan {
    0% {
        top: 0;
        opacity: .3;
    }

    50% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: .3;
    }
}


.sharepagemodal .modal-dialog {
    max-width: 300px;
    margin: 1rem auto;
}

.sharepagemodal .modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    direction: rtl;
    text-align: right;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* هدر مودال - طراحی مینیمال */
.sharepagemodal .modal-header {
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    padding: 1rem 1.25rem;
}

.sharepagemodal .modal-title {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .sharepagemodal .modal-title::before {
        content: '↗';
        font-size: 1.2rem;
        color: #4a6fa5;
    }

/* بدنه مودال */
.sharepagemodal .modal-body {
    padding: 0.5rem 0.75rem;
    background: #fff;
}

    /* آیتم‌های اشتراک */
    .sharepagemodal .modal-body .row {
        margin: 0;
        padding: 0.5rem 0.75rem;
        border-radius: 12px;
        transition: background-color 0.15s;
    }

    .sharepagemodal .modal-body hr {
        margin: 0.25rem 0.75rem;
        border: 0;
        border-top: 1px solid #f0f0f0;
        opacity: 0.8;
    }

    .sharepagemodal .modal-body a {
        text-decoration: none;
        display: flex;
        align-items: center;
        width: 100%;
        color: inherit;
        cursor: pointer;
    }

    .sharepagemodal .modal-body h6 {
        margin: 0;
        font-size: 0.9rem;
        font-weight: 450;
        color: #2c3e50;
        display: flex;
        align-items: center;
        gap: 14px;
        width: 100%;
    }

    .sharepagemodal .modal-body img,
    .sharepagemodal .modal-body svg {
        width: 22px;
        height: 22px;
        border-radius: 6px;
    }

    /* افکت hover ساده */
    .sharepagemodal .modal-body .row:hover {
        background-color: #f8faff;
    }

    /* رنگ‌های مخصوص شبکه‌ها - فقط آیکون */
    .sharepagemodal .modal-body .row:nth-child(1):hover img {
        filter: brightness(0) saturate(100%) invert(52%) sepia(85%) saturate(468%) hue-rotate(88deg) brightness(98%) contrast(92%);
    }

    .sharepagemodal .modal-body .row:nth-child(3):hover img {
        filter: brightness(0) saturate(100%) invert(48%) sepia(67%) saturate(2022%) hue-rotate(161deg) brightness(95%) contrast(101%);
    }

    .sharepagemodal .modal-body .row:nth-child(5):hover img {
        filter: brightness(0) saturate(100%) invert(35%) sepia(96%) saturate(494%) hue-rotate(225deg) brightness(92%) contrast(90%);
    }

    .sharepagemodal .modal-body .row:nth-child(7):hover img {
        filter: brightness(0) saturate(100%) invert(23%) sepia(14%) saturate(1016%) hue-rotate(169deg) brightness(94%) contrast(84%);
    }

/* فوتر */
.sharepagemodal .modal-footer {
    border-top: 1px solid #f0f0f0;
    padding: 0.9rem 1.25rem;
    background: #fff;
    justify-content: center;
}

/* دکمه بستن */
.sharepagemodal .btn-secondary {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 100px;
    padding: 0.6rem 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #495057;
    transition: all 0.15s;
    min-width: 110px;
}

    .sharepagemodal .btn-secondary:hover {
        background: #e9ecef;
        border-color: #dee2e6;
        color: #212529;
    }

/* ریسپانسیو موبایل */
@media (max-width: 576px) {
    .sharepagemodal .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }

    .sharepagemodal .modal-content {
        border-radius: 18px;
    }

    .sharepagemodal .modal-header {
        padding: 0.9rem 1.1rem;
    }

    .sharepagemodal .modal-title {
        font-size: 0.95rem;
    }

    .sharepagemodal .modal-body {
        padding: 0.4rem 0.6rem;
    }

        .sharepagemodal .modal-body .row {
            padding: 0.45rem 0.7rem;
        }

        .sharepagemodal .modal-body h6 {
            font-size: 0.85rem;
            gap: 12px;
        }

        .sharepagemodal .modal-body img,
        .sharepagemodal .modal-body svg {
            width: 20px;
            height: 20px;
        }

    .sharepagemodal .btn-secondary {
        width: 100%;
        max-width: 160px;
        padding: 0.55rem;
    }
}

/* موبایل کوچک */
@media (max-width: 375px) {
    .sharepagemodal .modal-body h6 {
        font-size: 0.8rem;
        gap: 10px;
    }

    .sharepagemodal .modal-body img,
    .sharepagemodal .modal-body svg {
        width: 18px;
        height: 18px;
    }

    .sharepagemodal .btn-secondary {
        max-width: 140px;
        padding: 0.5rem;
    }
}

.ProfFooter {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: linear-gradient(135deg,#1a4fba,#2f6df3);
    box-shadow: 0 -5px 18px rgba(0,0,0,.18);
    font-family: inherit;
}

.ProfFooter-container {
    max-width: 1200px;
    margin: auto;
}

.ProfFooter-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 10px;
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    transition: all .25s ease;
}

.ProfFooter-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .ProfFooter-icon svg {
        width: 22px;
        height: 22px;
        transition: transform .25s ease;
    }

.ProfFooter-text {
    white-space: nowrap;
}

.ProfFooter-link:hover {
    background: rgba(255,255,255,.08);
}

    .ProfFooter-link:hover .ProfFooter-icon svg {
        transform: scale(1.15);
    }

.ProfFooter-link:active {
    transform: scale(.98);
}

/* mobile */
@media (max-width:768px) {

    .ProfFooter-link {
        padding: 16px 10px;
        font-size: 14px;
    }

    .ProfFooter-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* safe area for iphone */
@supports(padding:max(0px)) {
    .ProfFooter {
        padding-bottom: env(safe-area-inset-bottom);
    }
}




/* ===== Updated Styles - Clean & Integrated ===== */
/* No background removal needed, the wrapper now has no background */

.bankchoobnewLayer-wrapper {
    padding: 70px 0 40px;
    background: transparent; /* Removed gradient background */
}

/* hero section */
.bankchoobnewLayer-heroSection {
    position: relative;
}

/* image */
.bankchoobnewLayer-imageBox {
    position: relative;
    overflow: hidden;
    border-radius: 24px; /* Slightly more modern radius */
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1); /* Added subtle shadow for depth */
}

    .bankchoobnewLayer-imageBox img {
        width: 100%;
        height: 420px;
        object-fit: fill;
        transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smoother transition */
    }

    .bankchoobnewLayer-imageBox:hover img {
        transform: scale(1.05);
    }

    /* gradient overlay - more subtle and modern */
    .bankchoobnewLayer-imageBox:after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.2) 0%, transparent 60%);
        pointer-events: none; /* Ensures overlay doesn't block interaction */
        border-radius: inherit;
    }

/* slider arrows - modern refinement */
.tns-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    padding: 0 15px; /* Adds spacing from edges */
    z-index: 5;
}

    .tns-controls button {
        pointer-events: auto;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: none;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.12);
        font-size: 18px;
        transition: all 0.25s ease-out;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1e2a3a;
    }

        .tns-controls button:hover {
            background: #ffffff;
            color: #0066cc;
            transform: scale(1.08);
            box-shadow: 0 8px 20px rgba(0,102,204,0.2);
        }

.tns-nav {
    display: none !important;
}

/* content */
.bankchoobnewLayer-content {
    animation: fadeUp 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* title */
.bankchoobnewLayer-title {
    font-size: 2.5rem; /* 40px */
    font-weight: 700;
    margin-bottom: 8px;
    color: #0a1c2f;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.bankchoobnewLayer-titleBox {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

/* verified badge - cleaner */
.bankchoobnewLayer-verifiedBadge {
    background: #eef6ef;
    color: #1c7e3a;
    padding: 4px 14px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(2px);
}

    .bankchoobnewLayer-verifiedBadge::before {
        content: "✓";
        font-weight: bold;
        font-size: 1rem;
    }

/* expertise - more breathing */
.bankchoobnewLayer-expertise {
    color: #4a5b6e;
    font-size: 1rem;
    margin-bottom: 28px;
    line-height: 1.65;
    border-right: 3px solid #e2e8f0;
    padding-right: 18px;
}

/* info row */
.bankchoobnewLayer-infoRow {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.bankchoobnewLayer-phone,
.bankchoobnewLayer-address {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #2c3e4e;
    background: #f8fafc;
    padding: 8px 18px;
    border-radius: 60px;
    transition: all 0.2s ease;
    text-decoration: none;
}

    .bankchoobnewLayer-phone:hover,
    .bankchoobnewLayer-address:hover {
        background: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(0,0,0,0.05);
        color: #0066cc;
    }

/* actions */
.bankchoobnewLayer-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* call button - smaller */
.bankchoobnewLayer-callBtn {
    background: #0f2b3d;
    color: #fff;
    padding: 8px 18px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

    .bankchoobnewLayer-callBtn::before {
        content: "📱";
        font-size: 0.9rem;
    }

    .bankchoobnewLayer-callBtn:hover {
        background: #1a3e55;
        transform: translateY(-1px);
        box-shadow: 0 8px 16px -10px rgba(15,43,61,0.3);
    }

/* share button - smaller */
.bankchoobnewLayer-shareBtn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    color: #2c3e4e;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    white-space: nowrap;
}

    .bankchoobnewLayer-shareBtn::before {
        content: "📤";
        font-size: 0.9rem;
    }

    .bankchoobnewLayer-shareBtn:hover {
        background: #f9fbfd;
        border-color: #cbd5e1;
        transform: translateY(-1px);
    }
/* about section */
.contractor-description-text {
    line-height: 1.8;
    font-size: 1rem;
    color: #334155;
    max-width: 960px;
    margin: 1rem auto;
    text-align: justify;
}

.contractor-description-top {
    font-weight: 600;
    color: #0f2b3d;
    font-size: 1.9rem;
    margin-bottom: 0.5rem !important;
}

.read-more-btn {
    border-radius: 60px;
    padding: 8px 26px;
    font-weight: 500;
    transition: all 0.2s;
    background: #ffffff;
    border: 1px solid #cbd5e1;
}

    .read-more-btn:hover {
        background: #f1f5f9;
        border-color: #94a3b8;
        transform: translateY(-1px);
    }

/* responsive adjustments */
@media (max-width: 991px) {
    .bankchoobnewLayer-title {
        font-size: 2rem;
    }

    .bankchoobnewLayer-imageBox img {
        height: 360px;
    }

    .bankchoobnewLayer-expertise {
        border-right-width: 2px;
        padding-right: 14px;
    }
}

@media (max-width: 767px) {
    .bankchoobnewLayer-wrapper {
        padding: 40px 0 30px;
    }

    .bankchoobnewLayer-imageBox img {
        height: 280px;
    }

    .bankchoobnewLayer-actions {
        flex-direction: column;
        gap: 12px;
    }

    .bankchoobnewLayer-callBtn,
    .bankchoobnewLayer-shareBtn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .bankchoobnewLayer-infoRow {
        gap: 12px;
    }

    .bankchoobnewLayer-phone,
    .bankchoobnewLayer-address {
        font-size: 0.85rem;
        padding: 6px 14px;
    }

    .bankchoobnewLayer-title {
        font-size: 1.8rem;
    }

    .contractor-description-top {
        font-size: 1.5rem;
    }

    .contractor-description-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .bankchoobnewLayer-title {
        font-size: 1.6rem;
    }

    .bankchoobnewLayer-imageBox img {
        height: 280px;
        border-radius: 20px;
    }

    .bankchoobnewLayer-expertise {
        font-size: 0.9rem;
    }

    .tns-controls button {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .tns-controls {
        padding: 0 8px;
    }
}


.tarahiProfGerd-wrapper {
    width: 100%;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

.tarahiProfGerd-container {
    width: 100%;
    max-width: 1000px;
}

/* header */

.tarahiProfGerd-header {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

/* avatar */

.tarahiProfGerd-avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* soft glow */

    .tarahiProfGerd-avatar::before {
        content: "";
        position: absolute;
        inset: -12px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(26,115,232,0.25) 0%, rgba(26,115,232,0.15) 40%, rgba(26,115,232,0.08) 60%, rgba(26,115,232,0) 75%);
        animation: tarahiProfGerd-glow 5s ease-in-out infinite;
        z-index: 0;
    }

    /* soft ring */

    .tarahiProfGerd-avatar::after {
        content: "";
        position: absolute;
        inset: -4px;
        border-radius: 50%;
        border: 2px solid rgba(26,115,232,.15);
        z-index: 1;
    }

    /* image */

    .tarahiProfGerd-avatar img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
        position: relative;
        z-index: 2;
    }

/* glow animation */

@keyframes tarahiProfGerd-glow {

    0% {
        transform: scale(.96);
        opacity: .5;
    }

    50% {
        transform: scale(1.03);
        opacity: .8;
    }

    100% {
        transform: scale(.96);
        opacity: .5;
    }
}

/* text */

.tarahiProfGerd-infoBox {
    flex: 1;
    min-width: 0;
}

.tarahiProfGerd-name {
    font-size: 34px;
    font-weight: 800;
    margin: 0;
    color: #222;
}

.tarahiProfGerd-expertise {
    margin-top: 8px;
    font-size: 17px;
    color: #666;
}

/* info */

.tarahiProfGerd-info {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.tarahiProfGerd-infoItem {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #444;
}

/* buttons */

.tarahiProfGerd-actions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tarahiProfGerd-btn {
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    cursor: pointer;
    transition: .25s;
    border: 1px solid transparent;
}

/* call */

.tarahiProfGerd-call {
    background: #1a73e8;
    color: #fff;
}

    .tarahiProfGerd-call:hover {
        background: #0f5fd1;
    }

/* outline */

.tarahiProfGerd-map,
.tarahiProfGerd-share {
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
}

    .tarahiProfGerd-map:hover,
    .tarahiProfGerd-share:hover {
        border-color: #1a73e8;
        color: #1a73e8;
    }

/* description */

.tarahiProfGerd-desc {
    margin-top: 40px;
    line-height: 2;
    font-size: 15px;
    color: #444;
    max-width: 750px;
}

/* large desktop */

@media (max-width:1200px) {

    .tarahiProfGerd-avatar {
        width: 170px;
        height: 170px;
    }
}

/* laptop */

@media (max-width:992px) {

    .tarahiProfGerd-avatar {
        width: 160px;
        height: 160px;
    }

    .tarahiProfGerd-name {
        font-size: 30px;
    }
}

/* tablet */

@media (max-width:768px) {

    .tarahiProfGerd-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .tarahiProfGerd-info {
        justify-content: center;
    }

    .tarahiProfGerd-actions {
        justify-content: center;
    }

    .tarahiProfGerd-avatar {
        width: 150px;
        height: 150px;
    }
}

/* large mobile */

@media (max-width:576px) {

    .tarahiProfGerd-avatar {
        width: 130px;
        height: 130px;
    }

    .tarahiProfGerd-name {
        font-size: 26px;
    }

    .tarahiProfGerd-expertise {
        font-size: 15px;
    }
}

/* small mobile */

@media (max-width:380px) {

    .tarahiProfGerd-avatar {
        width: 110px;
        height: 110px;
    }

    .tarahiProfGerd-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
}


.gallProf {
    --radius: 18px;
}

/* header */
.gallProf-header {
    margin-bottom: 20px;
}

    .gallProf-header h4 {
        font-weight: 700;
        letter-spacing: .3px;
    }

/* masonry grid */
.gallProf-grid {
    column-count: 4;
    column-gap: 18px;
}

@media (max-width: 992px) {
    .gallProf-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .gallProf-grid {
        column-count: 1;
    }
}

/* card */
.gallProf-card {
    position: relative;
    display: block;
    margin-bottom: 18px;
    break-inside: avoid;
    border-radius: var(--radius);
    overflow: hidden;
    background: #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s;
}

    /* image */
    .gallProf-card img {
        width: 100%;
        display: block;
        object-fit: cover;
        transition: transform .7s ease;
    }

/* floating glass info */
.gallProf-info {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,.25);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.35);
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .gallProf-info h5 {
        margin: 0;
        color: #fff;
        font-size: 15px;
        font-weight: 600;
        text-shadow: 0 2px 10px rgba(0,0,0,.6);
    }

/* gradient light */
.gallProf-card:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.25), transparent 60%);
    opacity: .0;
    transition: opacity .4s;
}

/* hover */
.gallProf-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 18px 45px rgba(0,0,0,.25);
}

    .gallProf-card:hover img {
        transform: scale(1.06);
    }

    .gallProf-card:hover:before {
        opacity: .9;
    }

    .gallProf-card:hover .gallProf-info {
        transform: translateY(-3px);
    }

/* ---------------------------------------------------
   RESPONSIVE FIXES (mobile + tablet)
--------------------------------------------------- */

/* Tablet */
@media (max-width: 992px) {
    .gallProf-info {
        padding: 10px 14px;
        bottom: 10px;
    }

        .gallProf-info h5 {
            font-size: 13px;
        }
}

/* Mobile */
@media (max-width: 600px) {
    .gallProf-info {
        padding: 8px 10px;
        bottom: 8px;
        left: 8px;
        right: 8px;
        border-radius: 10px;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 12px rgba(0,0,0,.25);
    }

        .gallProf-info h5 {
            font-size: 11px; /* کوچک‌تر تا تصویر دیده شود */
            font-weight: 500;
        }

    .gallProf-card img {
        object-fit: cover;
        min-height: 220px; /* تصویر قابل‌مشاهده‌تر */
    }
}




.videoContractorProfile {
    margin-top: 2rem;
}

.videoContractorProfile-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.videoContractorProfile-wrapper {
    position: relative;
    width: 100%;
}

.videoContractorProfile-video {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    border-radius: 6px;
    background: #000;
    display: block;
}

/* Tablet */
@media (max-width:992px) {
    .videoContractorProfile-video {
        max-height: 380px;
    }
}

/* Mobile */
@media (max-width:576px) {

    .videoContractorProfile-title {
        font-size: 1.3rem;
        text-align: center;
    }

    .videoContractorProfile-video {
        max-height: 260px;
        border-radius: 5px;
    }
}



﻿/* Base Container - Compact */
.project-contractor-card {
    margin: 1rem 0;
    position: relative;
    animation: slideInUp 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* Wrapper with Gradient Border - Thinner */
.contractor-link-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1rem;
    padding: 1.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

    .contractor-link-wrapper:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
    }

/* Main Link - Compact */
.contractor-profile-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border-radius: calc(1rem - 1.5px);
    text-decoration: none;
    transition: all 0.3s ease;
    direction: rtl;
}

    .contractor-profile-link:hover {
        background: #fefefe;
    }

/* ========== Avatar Styles - Smaller ========== */
.contractor-avatar {
    flex-shrink: 0;
    position: relative;
}

    .contractor-avatar img {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #ffffff;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        background: #f3f4f6;
    }

.contractor-profile-link:hover .contractor-avatar img {
    transform: scale(1.05);
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contractor-profile-link:hover .avatar-placeholder {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* ========== Info Section - Compact ========== */
.contractor-info {
    flex: 1;
    min-width: 0;
}

.contractor-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.375rem;
}

.name-title {
    font-size: 0.938rem;
    font-weight: 600;
    color: black;
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.contractor-profile-link:hover .name-title {
    color: #667eea;
}

/* Meta Items - Compact */
.contractor-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.688rem;
    color: #6b7280;
    background: #f9fafb;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    line-height: 1;
    transition: all 0.25s ease;
    border: 1px solid #eef2f6;
}

.contractor-profile-link:hover .meta-item {
    background: #ffffff;
    border-color: #e0e7ff;
    transform: translateY(-1px);
}

.meta-item svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* ========== Action Button - Compact ========== */
.contractor-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 8px;
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

    .contractor-action::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.25);
        transform: translate(-50%, -50%);
        transition: width 0.5s, height 0.5s;
    }

.contractor-profile-link:hover .contractor-action::before {
    width: 150%;
    height: 150%;
}

.contractor-profile-link:hover .contractor-action {
    background: linear-gradient(135deg, #5a67d8, #6b46a0);
    transform: translateX(-3px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.action-text {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    position: relative;
    z-index: 1;
}

.contractor-action svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.contractor-profile-link:hover .contractor-action svg {
    transform: translateX(-2px);
}

/* ========== Responsive Design ========== */

/* Tablet (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .contractor-profile-link {
        padding: 0.625rem 0.875rem;
        gap: 0.75rem;
    }

    .contractor-avatar img,
    .avatar-placeholder {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .name-title {
        font-size: 0.875rem;
    }

    .meta-item {
        font-size: 0.625rem;
        padding: 0.188rem 0.438rem;
    }

        .meta-item svg {
            width: 10px;
            height: 10px;
        }

    .contractor-action {
        padding: 0.313rem 0.75rem;
    }

    .action-text {
        font-size: 0.688rem;
    }

    .contractor-action svg {
        width: 12px;
        height: 12px;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .contractor-profile-link {
        padding: 0.75rem 1rem;
        gap: 0.875rem;
    }

    .contractor-avatar img,
    .avatar-placeholder {
        width: 44px;
        height: 44px;
    }

    .name-title {
        font-size: 0.938rem;
    }

    .contractor-meta {
        gap: 0.5rem;
    }

    .meta-item {
        font-size: 0.688rem;
        padding: 0.25rem 0.5rem;
    }

    .contractor-action {
        padding: 0.375rem 0.875rem;
    }
}

/* Mobile Portrait (320px - 575px) */
@media (max-width: 575px) {
    .project-contractor-card {
        margin: 0.75rem 0;
    }

    .contractor-profile-link {
        flex-direction: column;
        text-align: center;
        padding: 0.875rem;
        gap: 0.625rem;
    }

    .contractor-avatar img,
    .avatar-placeholder {
        width: 48px;
        height: 48px;
        font-size: 1.125rem;
    }

    .contractor-name {
        justify-content: center;
        margin-bottom: 0.313rem;
    }

    .name-title {
        font-size: 0.938rem;
        color: black;
    }

    .contractor-meta {
        justify-content: center;
        gap: 0.5rem;
    }

    .meta-item {
        font-size: 0.688rem;
        padding: 0.25rem 0.625rem;
    }

    .contractor-action {
        width: 100%;
        justify-content: center;
        margin-top: 0.25rem;
        padding: 0.5rem 1rem;
    }

    .action-text {
        font-size: 0.75rem;
    }

    .contractor-profile-link:hover .contractor-action {
        transform: translateY(-2px);
    }
}

/* Small Mobile (up to 375px) */
@media (max-width: 375px) {
    .contractor-profile-link {
        padding: 0.75rem;
    }

    .contractor-avatar img,
    .avatar-placeholder {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .name-title {
        font-size: 0.875rem;
    }

    .meta-item {
        font-size: 0.625rem;
        padding: 0.188rem 0.5rem;
    }

        .meta-item svg {
            width: 10px;
            height: 10px;
        }

    .contractor-action {
        padding: 0.438rem 0.875rem;
    }

    .action-text {
        font-size: 0.688rem;
    }

    .contractor-action svg {
        width: 12px;
        height: 12px;
    }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .project-contractor-card {
        margin: 1.25rem 0;
    }

    .contractor-profile-link {
        padding: 0.875rem 1.125rem;
        gap: 1rem;
    }

    .contractor-avatar img,
    .avatar-placeholder {
        width: 48px;
        height: 48px;
        font-size: 1.125rem;
    }

    .name-title {
        font-size: 1rem;
    }

    .meta-item {
        font-size: 0.75rem;
        padding: 0.313rem 0.625rem;
    }

        .meta-item svg {
            width: 12px;
            height: 12px;
        }

    .contractor-action {
        padding: 0.438rem 1rem;
    }

    .action-text {
        font-size: 0.813rem;
    }

    .contractor-action svg {
        width: 14px;
        height: 14px;
    }
}

/* ========== Accessibility ========== */
.contractor-profile-link:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
    border-radius: 0.875rem;
}

/* ========== Animations ========== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Ripple Effect */
.contractor-action:active::before {
    animation: ripple 0.4s ease-out;
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.4;
    }

    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

/* Optional: Subtle Shine Effect */
.contractor-link-wrapper {
    position: relative;
    overflow: hidden;
}

    .contractor-link-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transition: left 0.5s ease;
        pointer-events: none;
    }

    .contractor-link-wrapper:hover::after {
        left: 100%;
    }

/* ========== Performance ========== */
@media (prefers-reduced-motion: reduce) {
    .project-contractor-card,
    .contractor-link-wrapper,
    .contractor-profile-link,
    .contractor-avatar img,
    .avatar-placeholder,
    .meta-item,
    .contractor-action,
    .contractor-action::before {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

        .contractor-link-wrapper::after {
            display: none;
        }
}

/* ========== Print Styles ========== */
@media print {
    .contractor-link-wrapper {
        background: none;
        border: 1px solid #ddd;
        box-shadow: none;
    }

    .contractor-profile-link {
        background: white;
        padding: 0.5rem;
    }

    .contractor-action {
        background: #f0f0f0;
        color: #333;
    }

    .contractor-link-wrapper:hover {
        transform: none;
    }
}




.project-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .project-image-wrapper:hover {
        transform: translateY(-5px);
    }

    .project-image-wrapper img {
        width: 100%;
        height: auto;
        min-height: 200px;
        object-fit: cover;
        display: block;
    }

.project-details {
    padding: 0.5rem;
}

/* تنظیمات ریسپانسیو */
@media (max-width: 768px) {
    .project-image-wrapper {
        margin-bottom: 1.5rem;
    }

    .project-details {
        padding: 0;
    }

    h1.h2 {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    .project-image-wrapper img {
        height: 250px;
    }
}

@media (min-width: 992px) {
    .project-image-wrapper img {
        height: 280px;
    }
}

/* بهبود دسترسی و فوکوس */
#sharelinkBtn:focus {
    box-shadow: 0 0 0 3px rgba(0, 103, 205, 0.25);
    outline: none;
}

/* انیمیشن لود تصویر */
.project-image-wrapper img {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}



    .photo-wrapper {
        position: relative;
        width: 100%;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        border-radius: 8px;
    }

        .photo-wrapper img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: inherit;
        }

    .read_more_text {
        max-height: 100px;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

        .read_more_text.show-more {
            max-height: none;
        }

    .read-more-btn i {
        transition: transform 0.3s ease;
    }

        .read-more-btn i.rotate {
            transform: rotate(180deg);
        }

    .video-wrapper {
        max-width: 100%;
        height: 250px;
        overflow: hidden;
        border-radius: 15px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 15px;
    }

    .card-thumb-fixed {
        height: 100px !important;
        object-fit: fill;
    }


	.fBQDS {
		width: 1.5rem;
		height: 1.5rem;
		vertical-align: middle;
		display: inline-block;
		color: #1c1c28;
		transform: scale(1);
	}


  .card-img-fixed {
	height: 150px !important;
	object-fit: fill; 
	width: 100%;
  }

/* ===== shared layer extras: skeleton, motion, project base ===== */
.sharepagemodal { direction: rtl; text-align: right; }

.blurred {
    filter: blur(5px);
    transition: filter 0.3s ease;
    pointer-events: none;
    user-select: none;
}

.cp-img {
    position: relative;
    background: linear-gradient(90deg, #eef2f6 0%, #f8fafc 40%, #eef2f6 80%);
    background-size: 200% 100%;
    animation: cp-shimmer 1.2s ease-in-out infinite;
    overflow: hidden;
}

.cp-img img {
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.45s ease;
}

.cp-img.is-loaded,
.cp-img img.is-loaded {
    animation: none;
    background: none;
}

.cp-img img.is-loaded {
    opacity: 1;
}

.cp-skel-card,
.cp-skel-line {
    background: linear-gradient(90deg, #e8eef5 0%, #f7f9fc 45%, #e8eef5 90%);
    background-size: 200% 100%;
    animation: cp-shimmer 1.2s ease-in-out infinite;
    border-radius: 12px;
}

.cp-skel-card {
    min-height: 160px;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.cp-skel-line { height: 12px; margin-bottom: 10px; }
.cp-skel-line-lg { width: 70%; height: 18px; }
.cp-skel-line-sm { width: 40%; }

[data-cp-skel-form] .cp-skel-form-ph { display: block; }
[data-cp-skel-form] .cp-skel-form-real { display: none; }
[data-cp-skel-form].is-ready .cp-skel-form-ph { display: none; }
[data-cp-skel-form].is-ready .cp-skel-form-real { display: block; }

@keyframes cp-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

@keyframes cp-fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.cp-layer .card,
.cp-layer .project-image-wrapper,
.cp-layer .project-contractor-card,
.cp-layer .gallProf-card,
.cp-layer .contractorPro-card,
.cp-layer .qoqnos-media-box {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.cp-layer .project-image-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.cp-layer .photo-wrapper {
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
}

.cp-layer .photo-wrapper:hover,
.cp-layer .project-image-wrapper:hover,
.cp-layer .gallProf-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.cp-project-hero,
.cp-project-body {
    content-visibility: auto;
    contain-intrinsic-size: 1px 600px;
}

.cp-comments {
    content-visibility: auto;
}

.cp-layer-7 .comment-partners-card,
.cp-layer-8 .comment-partners-card {
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.cp-layer-7 .comment-partners-title {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cp-layer-8 .comment-partners-badge {
    background: #f59e0b;
    color: #1e293b;
}

@media (prefers-reduced-motion: reduce) {
    .cp-img,
    .cp-skel-card,
    .cp-skel-line,
    .cp-layer .card,
    .cp-layer .photo-wrapper,
    .cp-layer .project-image-wrapper {
        animation: none !important;
        transition: none !important;
    }
    .cp-img img { opacity: 1; }
}

