
/* ================= Global standards ================= */
:root {
    /* spacing system */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    /* radius system */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    /* shadow system */
    --shadow-sm: 0 4px 10px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 14px 35px rgba(0,0,0,0.12);
    /* container width */
    --container: 1140px;
}

html {
    font-size: 14.5px; /* 👈 مهم: از 15 کمتر */
}

body {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #111827;
}

h1 {
    font-size: 1.9rem;
}

h2 {
    font-size: 1.45rem;
}

h3 {
    font-size: 1.15rem;
}

h4 {
    font-size: 0.9rem;
}



/* ================= DESIGN TOKENS ================= */

:root {
    --card-shadow: 0 6px 18px rgba(0,0,0,0.08);
    --card-shadow-hover: 0 14px 35px rgba(0,0,0,0.15);
    --card-border: 1px solid rgba(0,0,0,0.08);
}

/* ================= IFRAME ================= */

.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.IFramecontainer {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 56.25%;
}

/* ================= UTILS ================= */

.b-0 {
    bottom: 0;
}

.overflow {
    position: relative;
    overflow: hidden;
}

.zoom img {
    transition: all 0.2s linear;
}

.zoom:hover img {
    transform: scale(1.1);
}

/* ================= HERO BANNER ================= */

.hero-banner {
    display: flex;
    height: 220px;
    background: #16213e;
    overflow: hidden;
    border-radius: 16px;
    width: 100%;
    margin: 30px auto;
    align-items: stretch;
}
.hero-banner-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
    .hero-banner-link:hover {
        color: inherit;
    }
.hero-content {
    width: 50%;
    height: 100%;
    padding: 35px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    text-align: right;
    color: #fff;
    gap: 16px;
}

.hero-content h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
}

.hero-content p {
    margin: 0;
    max-width: 480px;
    font-size: 15.8px;
    line-height: 1.75;
    color: rgba(255,255,255,0.9);
}

.hero-btn {
    display: inline-block;
    padding: 11px 24px;
    background: darkslateblue;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid rgba(255,255,255,0.15);
}

.hero-btn:hover {
    background: #2f2a6d;
}

.hero-image {
    width: 50%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================= NEWS SECTION ================= */

.news-section {
    width: 100%;
    max-width: 1140px;
    margin: 30px auto;
    padding: 32px;
    background: #f8fafc;
    border-radius: 24px;
    border: 1px solid #e5e7eb;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

.news-card {
    display: flex;
    height: 150px;                    /* ارتفاع کاهش یافت (بهترین تعادل) */
    background: #1b2550;
    border-radius: 18px;
    overflow: hidden;
    border: var(--card-border);
    box-shadow: var(--card-shadow);
    transition: 0.3s;
    padding: 12px;
    gap: 14px;
}

.news-content {
    flex: 1;
    padding: 18px 10px 18px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    text-align: right;
    color: #fff;
}

.news-content h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.news-content a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.15);
    text-decoration: none;
    margin-top: auto;
    align-self: flex-start;
}

.news-image {
    width: 125px;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    flex-shrink: 0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================= MOBILE NEWS ================= */
@media (max-width: 992px) {
    .news-section {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }

    .news-card {
        height: 130px !important;
        padding: 10px !important;
        gap: 14px;
        flex-direction: row-reverse !important;
    }

    .news-content {
        flex: 1;
        padding: 12px 14px 12px 10px !important;
        justify-content: center;
    }

    .news-content h3 {
        margin: 0 0 10px 0;
        font-size: 16px;
    }

    .news-content a {
        padding: 6px 12px;
        font-size: 12.8px;
    }

    .news-image {
        width: 115px !important;
        height: 100% !important;
        border-radius: 10px;
    }

    .news-image img {
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 576px) {
    .news-card {
        height: 122px !important;
    }
    .news-image {
        width: 108px !important;
    }
}

/* Hover Effect for News Cards */
.news-card {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

    .news-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.2), 0 8px 10px -6px rgb(0 0 0 / 0.2);
    }
/* ================= MODULES ================= */

.module-link {
    text-decoration: none;
    color: inherit;
    width: 100%;
    display: flex;
}
.module-card {
    border: 2px solid darkslateblue !important;
    border-radius: 12px; /* Optional: nice rounded corners */
    transition: all 0.3s ease;
    height: 100%; /* Makes all cards same height */
    background: #fff; /* Optional: ensure background */
}

    .module-card:hover {
        border-color: #0f2b5e; /* Slightly darker on hover */
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(47, 79, 79, 0.15);
    }

/* Optional: If you want the whole card (including link) to have border */
.module-link {
    text-decoration: none;
    height: 100%;
}
.col-lg-4,
.col-md-6 {
    display: flex;
}

.single-features {
    flex: 1;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
    border: var(--card-border);
    box-shadow: var(--card-shadow);
    transition: all .25s ease;
    display: flex;
    flex-direction: column;
    gap: 5px;
    /* Scale down 35% */
    transform: scale(0.85);
    transform-origin: top center;
}

    .single-features:hover {
        transform: translateY(-6px);
        box-shadow: var(--card-shadow-hover);
    }

    .single-features .icon {
        width: 54px;
        height: 54px;
        font-size: 24px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        background: rgba(99, 102, 241, 0.08);
        color: #4f46e5;
        transition: all 0.25s ease;
    }

    .single-features:hover .icon {
        background: #4f46e5;
        color: #fff;
        transform: scale(1.05);
    }

    .single-features h3 {
        margin: 0;
        font-size: 17px;
        margin-bottom: 4px;
        font-weight: 700;
        color: #111827;
    }

.feature-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 0 0;
    text-align: right;
    direction: rtl;
    display: flex;
    flex-direction: column;
    margin-top: 8px;
    gap: 8px;
}

    .feature-list li {
        font-size: 14px;
        line-height: 1.4;
        font-weight: 400;
        color: #4b5563;
        position: relative;
        padding-right: 18px;
    }

        .feature-list li::before {
            content: "•";
            position: absolute;
            right: 0;
            color: #4f46e5;
            font-size: 16px;
        }

/* ================= FAQ ================= */

.faq-section {
    width: 85%;
    margin: 60px auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border-radius: 14px;
    border: var(--card-border);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: 0.25s;
}

    .faq-item:hover {
        box-shadow: var(--card-shadow-hover);
        transform: translateY(-3px);
    }

.faq-question {
    padding: 18px 20px;
    font-weight: 700;
    cursor: pointer;
    text-align: right;
    direction: rtl;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.9;
    transition: all 0.35s ease;
    text-align: right;
    direction: rtl;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px 18px 20px;
}

/* ================= CTA ================= */

.cta-area-custom {
    padding: 30px 0;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
    .hero-banner {
        flex-direction: column;
        height: auto;
        width: 100%;
    }

    .hero-image {
        width: 100%;
        height: 220px;
        order: 1;
    }

    .hero-content {
        width: 100%;
        order: 2;
        padding: 25px;
        text-align: center;
        align-items: center;
    }

        .hero-content h2 {
            font-size: 28px;
        }

    .news-section {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .news-card {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .news-card {
        flex-direction: column;
        height: auto;
    }

    .news-content,
    .news-image {
        border-radius: 12px;
        overflow: hidden;
    }

    .news-image {
        height: 180px;
    }
}


/* ================= HERO SLIDER ================= */

.hero-slider {
    width: 95%;
    max-width: 1600px;
    height: 55vh;
    min-height: 420px;
    max-height: 700px;
    margin: 10px 0;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 12px 12px 20px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

/* Track */

.hero-slider-track {
    display: flex;
    height: 100%;
    transition: transform .6s ease;
    will-change: transform;
}

/* Slide */

.hero-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    line-height: 0;
    z-index: 0;
}

    /* Image */

    .hero-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center center;
        vertical-align: top;
        will-change: transform;
    }

/* ================= HERO SLIDER FIXED ================= */

/* Slide container */
.hero-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    line-height: 0;
}

/* لینک باید context بده */
.hero-slide-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

/* picture container (IMPORTANT FIX) */
.hero-slide picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
}

/* image */
.hero-slide img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 1;
}

/* overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 3; /* افزایش دادیم */
    display: flex;
    flex-direction: column;
    padding: 60px;
    pointer-events: none;
    box-sizing: border-box;
}

/* positioning helpers */
.hero-position-center {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-position-centerleft {
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.hero-position-centerright {
    justify-content: center;
    align-items: flex-end;
    text-align: right;
}

.hero-position-topleft {
    justify-content: flex-start;
    align-items: flex-start;
}

.hero-position-topcenter {
    justify-content: flex-start;
    align-items: center;
}

.hero-position-topright {
    justify-content: flex-start;
    align-items: flex-end;
}

.hero-position-bottomleft {
    justify-content: flex-end;
    align-items: flex-start;
}

.hero-position-bottomcenter {
    justify-content: flex-end;
    align-items: center;
}

.hero-position-bottomright {
    justify-content: flex-end;
    align-items: flex-end;
}
/* Clickable area */

.hero-slide-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Navigation */
.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
}

    .hero-prev:hover,
    .hero-next:hover {
        transform: translateY(-50%) scale(1.08);
        background: rgba(255, 255, 255, 0.22);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    }

    .hero-prev:active,
    .hero-next:active {
        transform: translateY(-50%) scale(0.95);
    }

.hero-prev {
    left: 16px;
}

.hero-next {
    right: 16px;
}

/* Dots */
.hero-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}

    .hero-dot.active {
        background: white;
    }

.hero-slider-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* ================= OVERRIDE SAFE SECTION TITLE ================= */

.section-title {
    margin: 24px auto !important;
    max-width: 720px;
    text-align: center;
}

    .section-title h1,
    .section-title h2 {
        font-size: 1.4rem !important; /* override از 35px */
        font-weight: 700;
        margin: 0;
        line-height: 1.3;
    }

    .section-title p {
        font-size: 0.9rem;
        margin: 0 auto;
    }

    .section-title .bar {
        height: 3px;
        width: 70px;
        margin: 12px auto 18px;
        background: var(--primary, #4f46e5);
        border-radius: 999px;
    }

/* ================= INTRO TEXT (RAW HTML SAFE BLOCK) ================= */

.intro-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.9;
}

    /* کنترل تمام تگ‌های داخلی که ممکنه از Html.Raw بیاد */
    .intro-text h1,
    .intro-text h2,
    .intro-text h3 {
        font-size: 1.2rem !important;
        margin: 10px 0;
        font-weight: 700;
    }

    .intro-text p {
        font-size: 0.95rem;
        margin: 10px 0;
        line-height: 1.9;
    }

    .intro-text strong {
        font-weight: 600;
    }

    .intro-text ul {
        padding: 0;
        margin: 10px auto;
        display: inline-block;
        text-align: right;
    }

    .intro-text li {
        font-size: 0.9rem;
        margin-bottom: 6px;
        color: #4b5563;
    }

.content-wrapper {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.row.modules-row > div {
    margin-bottom: 24px;
}

.modules-row {
    --bs-gutter-x: 16px; /* 50% less than default */
    --bs-gutter-y: 20px;
}


/* انیمیشن‌های پیش‌فرض */

.hero-animated {
    animation-duration: .8s;
    animation-fill-mode: both;
}

.delay-200 {
    animation-delay: .2s;
}

.delay-400 {
    animation-delay: .4s;
}

.delay-600 {
    animation-delay: .6s;
}

.delay-800 {
    animation-delay: .8s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fadeIn {
    animation-name: fadeIn;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    animation-name: fadeInUp;
}
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fadeInLeft {
    animation-name: fadeInLeft;
}
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fadeInRight {
    animation-name: fadeInRight;
}
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(80px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slideUp {
    animation-name: slideUp;
}
@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slideLeft {
    animation-name: slideLeft;
}
@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slideRight {
    animation-name: slideRight;
}
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.7);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.zoomIn {
    animation-name: zoomIn;
}
@keyframes zoomOut {
    from {
        opacity: 0;
        transform: scale(1.3);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.zoomOut {
    animation-name: zoomOut;
}
@keyframes bounceIn {
    0% {
        transform: scale(.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.bounceIn {
    animation-name: bounceIn;
}
@keyframes rotateIn {
    from {
        transform: rotate(-180deg);
        opacity: 0;
    }

    to {
        transform: rotate(0);
        opacity: 1;
    }
}

.rotateIn {
    animation-name: rotateIn;
}
@keyframes lightSpeedIn {
    from {
        transform: translateX(100%) skewX(-20deg);
        opacity: 0;
    }

    to {
        transform: translateX(0) skewX(0);
        opacity: 1;
    }
}

.lightSpeedIn {
    animation-name: lightSpeedIn;
}
@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.3);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.3);
    }

    70% {
        transform: scale(1);
    }
}

.heartBeat {
    animation-name: heartBeat;
}
/* برای اینکه انیمیشن فقط یکبار اجرا شود */
.hero-slide {
    animation-fill-mode: forwards;
}

.RahsooFaq-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px 20px;
}

.RahsooFaq-header {
    text-align: center;
    margin-bottom: 50px;
}

    .RahsooFaq-header h1 {
        color: var(--primary);
        font-size: 2.8rem;
        margin-bottom: 12px;
    }

    .RahsooFaq-header p {
        color: #a0a0c0;
        font-size: 1.1rem;
    }

.RahsooFaq-container {
    background-color: #16213e;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(72, 61, 139, 0.25);
}

.RahsooFaq-item {
    border-bottom: 1px solid #2c3e6b;
}

    .RahsooFaq-item:last-child {
        border-bottom: none;
    }

/* RTL Fixed Styles */
.RahsooFaq-question {
    padding: 22px 30px;
    background-color: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: #e0e0e0;
    transition: all 0.3s ease;
    text-align: right; /* Important */
    justify-content: flex-start; /* Important for RTL */
    flex-direction: row-reverse; /* Icon on left */
    gap: 15px; /* Space between icon and text */
}
    .RahsooFaq-question:hover {
        background-color: rgba(123, 104, 238, 0.1);
        color: var(--accent);
    }

.RahsooFaq-toggle {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
    flex-shrink: 0; /* Prevent shrinking */
}

/* Active state */
.RahsooFaq-item.active .RahsooFaq-toggle {
    transform: rotate(45deg);
}

.RahsooFaq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    background-color: #1e2a4f;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.RahsooFaq-item.active .RahsooFaq-answer {
    max-height: 320px;
    padding: 25px 30px 35px;
}

.RahsooFaq-answer p {
    color: #c0c0e0;
    font-size: 1.05rem;
    text-align: right;
}

/* RTL Adjustments */
.RahsooFaq-question {
    flex-direction: row-reverse;
}

/* Responsive */
@media (max-width: 768px) {
    .RahsooFaq-header h1 {
        font-size: 2.3rem;
    }

    .RahsooFaq-question {
        padding: 18px 20px;
        font-size: 1.05rem;
    }
}

/* ==============================
   Feature Rows
============================== */

.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    margin: 90px 0;
}

    .feature-row.reverse {
        flex-direction: row-reverse;
    }

.feature-image {
    flex: 1;
    text-align: center;
}

    .feature-image img {
        width: 100%;
        max-width: 500px;
        height: auto;
        transition: transform .4s ease;
    }

.feature-row:hover .feature-image img {
    transform: translateY(-8px);
}

.feature-text {
    flex: 1;
    direction: rtl;
    text-align: right;
}

    .feature-text h2 {
        font-size: 34px;
        font-weight: 700;
        color: #2d2d2d;
        margin-bottom: 25px;
        line-height: 1.4;
    }

    .feature-text p {
        font-size: 17px;
        line-height: 2.1;
        color: #666;
        margin-bottom: 30px;
    }

.feature-link {
    display: inline-block;
    padding: 12px 30px;
    background: darkslateblue;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all .3s ease;
}

    .feature-link:hover {
        background: #2d2b8e;
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(72, 61, 139, .25);
    }

/* ==============================
   Responsive
============================== */

@media (max-width:991px) {

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .feature-text {
        text-align: center;
    }

        .feature-text h2 {
            font-size: 28px;
        }

        .feature-text p {
            font-size: 16px;
        }

    .feature-image img {
        max-width: 420px;
    }
}

@media (max-width:576px) {

    .feature-row {
        margin: 60px 0;
    }

    .feature-text h2 {
        font-size: 24px;
    }

    .feature-text p {
        font-size: 15px;
        line-height: 1.9;
    }

    .feature-image img {
        max-width: 100%;
    }
}


/*styles realted stop module details page
*/

.page-title-banner {
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    background-color: darkslateblue;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.button-container {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.banner-btn {
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: background 0.3s ease, transform 0.2s ease;
    background: rgba(255, 255, 255, 0.15); /* Base glass */
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
}


    .banner-btn.blue {
        background: rgba(30, 144, 255, 0.25); /* Dodgerblue tint */
    }

    .banner-btn.yellow {
        background: rgba(255, 204, 0, 0.25); /* Yellow tint */
    }

    .banner-btn.light {
        background: rgba(255, 255, 255, 0.25); /* Neutral tint */
    }

    .banner-btn:hover {
        background: rgba(255, 255, 255, 0.35); /* Slightly brighter */
        transform: scale(1.05);
    }

/* 📱 Mobile Responsiveness */
@media (max-width: 768px) {
    .page-title-banner {
        min-height: 300px;
    }

    .button-container {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        align-items: center;
    }

    .banner-btn {
        width: 80%;
        text-align: center;
    }
}

.features-section {
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* مهم: برای ۴ ستون */
    gap: 1.8rem;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    text-align: center;
    border: 1px solid #f0f0f0;
    height: 100%; /* هم‌تراز کردن ارتفاع کارت‌ها */
}

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
        border-color: #007bff;
    }

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.4rem;
    background: linear-gradient(135deg, #007bff, #00c6ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 15px rgba(0, 123, 255, 0.25);
}

.feature-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
    color: #2c3e50;
}

.feature-content p {
    color: #555;
    line-height: 1.65;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* ۲ ستونه در سایز کوچک */
    }
}


.share-section {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.share-box {
    background: white;
    padding: 2.2rem 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.share-title {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.4rem;
    font-weight: 500;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

    .share-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .share-btn i {
        font-size: 1.4rem;
    }

    /* Colors */
    .share-btn.twitter {
        background: #1DA1F2;
    }

    .share-btn.telegram {
        background: #229ED9;
    }

    .share-btn.linkedin {
        background: #0A66C2;
    }

    .share-btn.whatsapp {
        background: #25D366;
    }

    .share-btn:hover {
        filter: brightness(1.1);
    }

/* Responsive */
@media (max-width: 576px) {
    .share-buttons {
        gap: 0.8rem;
    }

    .share-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

.consultation-section {
}

.consultation-box {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.09);
    max-width: 820px;
    margin: 0 auto;
}

.form-floating label {
    color: #555;
}

.form-control {
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    padding: 14px 16px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: #007bff;
        box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15);
        outline: none;
    }

.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 14px 40px;
    transition: all 0.4s ease;
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4);
    }

/* Responsive */
@media (max-width: 768px) {
    .consultation-box {
        padding: 2.5rem 1.5rem;
    }
}
/*styles realted stop module details page
*/