﻿.blog-section {
    position: relative;
    overflow: hidden;
}

.blog-header-section {
    text-align: center;
    margin-bottom: 32px;
}

.blog-horizontal-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    cursor: grab;
    padding: 10px 0 30px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

    .blog-horizontal-wrapper:active {
        cursor: grabbing;
    }

.blog-horizontal-track {
    display: flex;
    gap: 32px;
    padding: 0 24px;
    width: max-content;
}
/* کارت مقاله با طراحی متمایز از گالری */
.blog-horizontal-card {
    flex: 0 0 auto;
    width: 360px;
    background: white;
    border-radius: 32px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.85, 0.4, 1);
    box-shadow: 0 12px 28px -12px rgba(0,0,0,0.08);
    border: 1px solid #F0ECF0;
    display: flex;
    flex-direction: column;
}

    .blog-horizontal-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 28px 38px -16px rgba(23,124,140,0.25);
        border-color: rgba(255,135,171,0.5);
    }
/* تصویر مقاله */
.blog-card-img {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #EFF3F8;
}

    .blog-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.55s ease;
    }

.blog-horizontal-card:hover .blog-card-img img {
    transform: scale(1.07);
}

.blog-category-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgb(var(--primary-2));
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 40px;
    backdrop-filter: blur(2px);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
/* محتوای مقاله */
.blog-card-content {
    padding: 22px 24px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 12px;
    color: #1E2F3A;
    transition: color 0.2s;
}

.blog-horizontal-card:hover .blog-card-title {
    color: rgb(var(--primary-1));
}

.blog-card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
    color: #9AADBB;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #EFEFF2;
}

    .blog-card-meta span i {
        margin-left: 4px;
        font-size: 0.7rem;
    }

.blog-card-excerpt {
    color: #546E7A;
    line-height: 1.65;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--shadow-color);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.25s;
    margin-top: auto;
    width: fit-content;
}

    .blog-read-link i {
        transition: transform 0.2s;
    }

    .blog-read-link:hover {
        color: rgb(var(--primary-1));
        gap: 10px;
    }

        .blog-read-link:hover i {
            transform: translateX(-4px);
        }

.blog-card-tags {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-mini-tag {
    background: #F4F7FB;
    padding: 3px 12px;
    border-radius: 30px;
    font-size: 0.65rem;
    color: #2C6A7A;
    transition: 0.2s;
}

.blog-horizontal-card:hover .blog-mini-tag {
    background: rgba(255,135,171,0.15);
    color: rgb(var(--primary-1));
}
/* استایل اسکرول بار سفارشی برای بخش مقالات */
.blog-horizontal-wrapper::-webkit-scrollbar {
    height: 5px;
}

.blog-horizontal-wrapper::-webkit-scrollbar-track {
    background: #EDEFF2;
    border-radius: 20px;
    margin: 0 24px;
}

.blog-horizontal-wrapper::-webkit-scrollbar-thumb {
    background: rgb(var(--primary-1));
    border-radius: 20px;
}

.btn-other {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgb(var(--primary-1)), rgb(var(--primary-2)));
    color: white;
    padding: 8px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 8px rgb(var(--primary-2));
    border: none;
    cursor: pointer;
}

    .btn-other i {
        font-size: 1.1rem;
        transition: transform 0.3s ease;
    }

    .btn-other:hover {
        background: linear-gradient(135deg, rgb(var(--primary-1)), rgb(var(--primary-2)));
        transform: translateY(-2px);
        box-shadow: 0 2px 10px rgba(231, 76, 60, 0.4);
        color: white;
    }

        .btn-other:hover i {
            transform: translateX(-4px); /* حرکت آیکون به چپ در RTL */
        }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: Shabnam;
    src: url('../fonts/Shabnam-Medium-FD.woff') format('woff'), url('../fonts/Shabnam-Medium-FD.woff2') format('woff2');
    font-weight: normal;
}

body {
    font-family: Shabnam, Tahoma;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFE 50%, #EFF3F8 100%);
    color: #1A2C3A;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    direction: rtl;
}

    /* اضافه کردن افکت نقاط داینامیک به پس‌زمینه */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: radial-gradient(circle at 10% 20%, rgba(23,124,140,0.03) 0%, transparent 50%), radial-gradient(circle at 90% 80%, rgba(255,135,171,0.03) 0%, transparent 50%), radial-gradient(circle at 30% 60%, rgba(255,93,143,0.02) 0%, transparent 50%);
        pointer-events: none;
        z-index: 0;
    }

    /* المان تزئینی موج‌دار در پایین هدر */
    body::after {
        content: '';
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 200px;
        background: linear-gradient(to top, rgba(23,124,140,0.05), transparent);
        pointer-events: none;
        z-index: 0;
    }

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    /*    background: rgba(255,255,255,0.94);
*/ backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(23,124,140,0.15);
    padding: 8px 0;
    position: relative;
}

    /* اضافه کردن گرادیان نرم به هدر */
    .navbar::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 100%;
        background: linear-gradient(90deg, rgba(23,124,140,0.05) 0%, rgba(255,135,171,0.05) 50%, rgba(255,93,143,0.05) 100%);
        pointer-events: none;
        z-index: -1;
    }

    /* افکت درخشش زیر هدر */
    .navbar::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgb(var(--primary-1)), rgb(var(--primary-2)), var(--shadow-color), transparent);
        opacity: 0.5;
    }

/* المان‌های تزئینی شناور در پس‌زمینه */
.floating-shape {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

.shape-1 {
    top: 20%;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgb(var(--primary-1)) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    bottom: 10%;
    right: -30px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgb(var(--primary-2)) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
    top: 50%;
    right: 20%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--shadow-color) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 18s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }

    33% {
        transform: translateY(-30px) translateX(20px);
    }

    66% {
        transform: translateY(20px) translateX(-15px);
    }
}

/* RTL specific adjustments */
i, .fas, .far, .fab {
    margin-left: 6px;
    margin-right: 0;
}

/* custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #177C8C;
    border-radius: 10px;
}

/* color variables based on palette */
:root {
    --white: #FFFFFF;
    --gray-light: #F8FAFE;
    --gray-mid: #EFF3F8;
    --text-dark: #1E2F3A;
    --transition-smooth: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 20px 0;
}

/* glass card */
.glass-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-radius: 32px;
    box-shadow: 0 15px 35px rgba(23, 124, 140, 0.08);
}

/* buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, rgb(var(--primary-1)), rgb(var(--primary-2)));
    ;
    color: white;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(23,124,140,0.25);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(255,93,143,0.3);
        background: linear-gradient(135deg, rgb(var(--primary-2)), rgb(var(--primary-1)));
    }

/* اسکرول بار سفارشی */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: rgb(var(--primary-2));
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, rgb(var(--primary-2)), var(--shadow-color));
    }

.btn-outline {
    display: inline-block;
    background: transparent;
    border: 2px solid rgb(var(--primary-1));
    color: rgb(var(--primary-1));
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

    .btn-outline:hover {
        background: rgb(var(--primary-1));
        color: white;
        transform: translateY(-2px);
    }

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgb(var(--primary-1)) 0%, rgb(var(--primary-2)) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.cms_link {
    text-decoration: none;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

    .nav-links a {
        text-decoration: none;
        font-weight: 500;
        /*                color: var(--text-dark);
*/ transition: 0.2s;
    }

        .nav-links a:hover {
            color: rgb(var(--primary-1));
        }

.mobile-menu {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: rgb(var(--primary-1));
}

/* hero */
.hero {
    background: linear-gradient(135deg, rgba(var(--primary-2),0.3) 0%, rgba(var(--primary-1),0.5) 100%);
    overflow: hidden;
    padding-bottom: 30px;
    padding-top: 30px;
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    background: rgb(var(--primary-2));
    color: white;
    padding: 6px 20px;
    border-radius: 100px;
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 8px 16px -6px rgb(var(--primary-1));
    animation: pulseGlow 2s infinite;
}

.date-badge {
    background: rgb(var(--primary-2));
    color: white;
    padding: 6px 20px;
    border-radius: 100px;
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 8px 16px -6px rgb(var(--primary-2));
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(255,135,171,0.4);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(255,135,171,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255,135,171,0);
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    background: linear-gradient(120deg, rgb(var(--primary-2)), rgb(var(--primary-1)));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: #3A5463;
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    color: rgb(var(--primary-1));
}

.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
}

    .hero-image img {
        max-width: 100%;
        border-radius: 48px;
        /*box-shadow: 0 10px 30px 5px rgba(0,0,0,0.15);*/
        transition: transform 0.4s ease;
    }

    .hero-image:hover img {
        transform: scale(1.02);
    }

/* section titles */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: rgb(var(--primary-1));
}

.section-sub {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px auto;
    color: #5e6f7c;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    border-radius: 32px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 12px 28px -8px rgb(var(--primary-2));
    transition: all 0.3s ease;
    border: 1px solid var(--promary-2);
}

    .feature-card:hover {
        transform: translateY(-12px);
        border-color: #FF87AB;
        box-shadow: 0 20px 30px -12px rgba(255,93,143,0.2);
    }

.feature-icon {
    background: linear-gradient(145deg, var(--promary-1), var(--promary-2));
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 40px;
    font-size: 2.5rem;
    color: rgb(var(--primary-1));
    transition: 0.2s;
}

.feature-card:hover .feature-icon {
    color: var(--shadow-color);
    transform: scale(1.05);
}

/* about section */
.about-section {
    background-color: #F6FBFD;
    position: relative;
    overflow: hidden;
    padding: 60px 0 40px 0;
}

.about-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
}

.rounded {
    border-radius: 50%;
}

.about-text {
    flex: 1;
}

    .about-text h2 {
        font-size: 2.2rem;
        margin-bottom: 20px;
        color: rgb(var(--primary-1));
    }



/* programs grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.program-item {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    text-align: center;
    margin-top:10px;
}

.gallery-item:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 18px 35px rgba(255,93,143,0.12);
}

.program-item:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 18px 35px rgba(255,93,143,0.12);
}

.program-img {
    height: 180px;
    background: linear-gradient(145deg, #177C8C20, #FF87AB30);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: rgb(var(--primary-1));
}

.program-content {
    padding: 24px;
}

/* testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: white;
    border-radius: 32px;
    padding: 32px;
    box-shadow: 0 12px 30px rgba(23,124,140,0.08);
    transition: 0.2s;
    border-right: 8px solid rgb(var(--primary-2));
}

    .testimonial-card i.fa-quote-right {
        color: rgb(var(--primary-2));
        font-size: 1.8rem;
        opacity: 0.6;
        margin-bottom: 16px;
        display: block;
    }

/* cta */
.cta-section {
    background: linear-gradient(125deg, rgb(var(--primary-1)) 0%, rgb(var(--primary-2)) 100%);
    border-radius: 48px;
    margin: 40px auto 60px;
    padding: 60px 40px;
    text-align: center;
    color: white;
}

    .cta-section h4 {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }

    .cta-section .btn-primary {
        background: white;
        color: #177C8C;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    }

/* footer */
footer {
    background: #0C2C33;
    color: #dddddd;
    padding: 60px 0 30px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-block;
    margin-left: 18px;
    font-size: 1.4rem;
    transition: 0.2s;
    color: #cbd5e1;
}

    .social-icons a:hover {
        color: #FF87AB;
        transform: translateY(-3px);
    }

@media (max-width: 780px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    section {
        padding: 50px 0;
    }

    .hero-content p {
        max-width: 100%;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}
/* ========== گالری تصاویر با اسکرول افقی ========== */
.gallery-section {
    position: relative;
    overflow: hidden;
}

.gallery-wrapper {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    cursor: grab;
    padding: 20px 0 30px 0;
    -webkit-overflow-scrolling: touch;
}

    .gallery-wrapper:active {
        cursor: grabbing;
    }

.gallery-track {
    display: flex;
    gap: 28px;
    padding: 0 24px;
    width: max-content;
}
/* هر آیتم آلبوم (کارت گالری) */
.gallery-item {
    flex: 0 0 auto;
    width: 320px;
    background: #FFFFFF;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 28px -8px rgba(23,124,140,0.08);
    transition: all 0.4s cubic-bezier(0.2, 0.85, 0.4, 1);
    border: 1px solid rgba(255,135,171,0.2);
    position: relative;
}

    .gallery-item:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: 0 25px 35px -12px rgba(255,93,143,0.25);
        border-color: rgb(var(--primary-2));
    }

.image-container {
    position: relative;
    overflow: hidden;
    height: 260px;
    background: #F0F4F8;
}

    .image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
        display: block;
    }

.gallery-item:hover .image-container img {
    transform: scale(1.08);
}
/* overlay با افکت */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-2),0.7) 0%, rgba(var(--primary-1),0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    cursor: pointer;
}

    .image-overlay i {
        font-size: 3rem;
        color: white;
        background: rgba(255,255,255,0.2);
        backdrop-filter: blur(4px);
        padding: 18px;
        border-radius: 60px;
        transform: scale(0.8);
        transition: transform 0.3s ease;
    }

.gallery-item:hover .image-overlay {
    opacity: 1;
}

    .gallery-item:hover .image-overlay i {
        transform: scale(1);
    }

.gallery-info {
    padding: 20px 18px 24px;
    text-align: center;
}

    .gallery-info h3 {
        font-size: 1.4rem;
        font-weight: 700;
        color: rgb(var(--primary-1));
        margin-bottom: 8px;
    }

    .gallery-info p {
        font-size: 0.9rem;
        color: #5C6F7E;
        line-height: 1.5;
    }
/* اسکرول نوار سفارشی */
.gallery-wrapper::-webkit-scrollbar {
    height: 6px;
}

.gallery-wrapper::-webkit-scrollbar-track {
    background: #E9ECEF;
    border-radius: 20px;
    margin: 0 24px;
}

.gallery-wrapper::-webkit-scrollbar-thumb {
    background: rgb(var(--primary-1));
    border-radius: 20px;
}
/* دکمه‌های اسکرول (اختیاری اما مینیمال) */
.scroll-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 20px;
    padding-left: 24px;
}

.scroll-btn {
    background: white;
    border: 1px solid rgba(23,124,140,0.3);
    width: 44px;
    height: 44px;
    border-radius: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: rgb(var(--primary-1));
    font-size: 1.2rem;
}

    .scroll-btn:hover {
        background: rgb(var(--primary-1));
        color: white;
        border-color: rgb(var(--primary-1));
        transform: translateY(-2px);
    }

@media (max-width: 680px) {
    .gallery-item {
        width: 280px;
    }

    .scroll-buttons {
        display: none;
    }
}

/* بقیه بخش‌های سایت (همانند قبل) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    border-radius: 32px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 12px 28px -8px rgba(23,124,140,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,135,171,0.2);
}

    .feature-card:hover {
        transform: translateY(-12px);
        border-color: #FF87AB;
        box-shadow: 0 20px 30px -12px rgba(255,93,143,0.2);
    }

.feature-icon {
    background: linear-gradient(145deg, #177C8C10, #FF87AB10);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 40px;
    font-size: 2.5rem;
    color: rgb(var(--primary-1));
    transition: 0.2s;
}

.about-section {
    background-color: #F6FBFD;
}

.about-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
}

.about-text {
    flex: 1;
}

    .about-text h2 {
        font-size: 2.2rem;
        margin-bottom: 20px;
        color: rgb(var(--primary-1));
    }

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.program-item {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

    .program-item:hover {
        transform: scale(1.02) translateY(-5px);
        box-shadow: 0 18px 35px rgba(255,93,143,0.12);
    }

.program-img {
    height: 180px;
    background: linear-gradient(145deg, #177C8C20, #FF87AB30);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: rgb(var(--primary-1));
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: white;
    border-radius: 32px;
    padding: 32px;
    box-shadow: 0 12px 30px rgba(23,124,140,0.08);
    border-right: 8px solid rgb(var(--primary-2));
}

footer {
    background: #0C2C33;
    color: #dddddd;
    padding: 60px 0 30px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #FF87AB;
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-block;
    margin-left: 18px;
    font-size: 1.4rem;
    transition: 0.2s;
    color: #cbd5e1;
}

    .social-icons a:hover {
        color: #FF87AB;
        transform: translateY(-3px);
    }

@media (max-width: 780px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    section {
        padding: 50px 0;
    }
}

.social-icons img {
    width: 24px;
    height: 24px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: rgb(var(--primary-2));
    margin: 20px auto;
    border-radius: 2px;
}
.container-modern {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    margin-top: 20px;
}

/* کارت اصلی خبر - طراحی مینیمال با شیشه‌ای نیمه‌شفاف */
.content.card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(0px);
    border-radius: 36px;
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(23, 124, 140, 0.12);
    overflow: hidden;
    transition: all 0.3s ease;
}

/* ریسپانسیو با grid مدرن */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

/* ستون تصویر */
.col-md-4 {
    flex: 0 0 auto;
    width: calc(33.333% - 19px);
}

/* ستون اطلاعات */
.col-md-6 {
    flex: 1;
    min-width: 250px;
}

/* استایل تصویر */
.rounded {
    border-radius: 28px;
    object-fit: cover;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease, box-shadow 0.3s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

    .rounded:hover {
        transform: scale(1.01);
        box-shadow: 0 15px 30px rgba(23, 124, 140, 0.12);
    }

/* عنوان خبر */
#LbaSubj {
    font-size: 1.8rem;
    font-weight: 700;
    color: #177C8C;
    margin-bottom: 16px;
    line-height: 1.4;
    border-right: 4px solid #FF87AB;
    padding-right: 16px;
}

/* گروه نشان‌ها (badge) */
.badge-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 12px 0 10px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 60px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-danger {
    background: #FF5D8F;
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    padding: 6px 12px;
}

    .btn-danger:hover {
        background: #e64478;
        transform: scale(1.02);
    }

.text-dark {
    color: #1E2F3A;
}

.fa-eye, .fa-heart-o, .fa-heart {
    margin-left: 5px;
}

/* لایک‌ها با طراحی مینیمال */
#DivLikes {
    margin-top: 12px;
    font-size: 0.8rem;
    color: #FF87AB;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.like-count-badge {
    background: rgba(255,135,171,0.12);
    padding: 4px 12px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* بخش متن خبر (بدون تصویر - حالت جایگزین) */
#DivNotImage {
    width: 100%;
    margin-top: 20px;
    padding: 0 4px;
}

.notimage-alert {
    background: #FEF2F5;
    border-radius: 24px;
    padding: 20px 24px;
    text-align: center;
    color: #FF5D8F;
    font-weight: 500;
    border: 1px dashed #FF87AB;
}

/* متن اصلی خبر */
#LbaText {
    background: #FBFDFF;
    padding: 28px 32px;
    border-radius: 28px;
    margin-top: 32px;
    font-size: 1rem;
    line-height: 1.85;
    color: #2C4859;
    border: 1px solid rgba(23,124,140,0.1);
    transition: all 0.2s;
}

    #LbaText p {
        margin-bottom: 16px;
    }

/* فوتر دکمه بازگشت و اشتراک‌گذاری */
.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(23,124,140,0.12);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid #177C8C;
    color: #177C8C;
    padding: 8px 22px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

    .back-btn:hover {
        background: #177C8C;
        color: white;
        transform: translateX(4px);
    }

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #F0F4F9;
    border-radius: 60px;
    color: #177C8C;
    transition: 0.2s;
    cursor: pointer;
    text-decoration: none;
}

    .share-btn:hover {
        background: #177C8C;
        color: white;
        transform: translateY(-3px);
    }

/* ریسپانسیو */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
        gap: 20px;
    }

    .col-md-4 {
        width: 100%;
    }

    #LbaSubj {
        font-size: 1.5rem;
    }

    #LbaText {
        padding: 20px;
    }

    .news-footer {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
}

/* انیمیشن ملایم برای آیکون لایک */
@keyframes likePop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.like-animation {
    animation: likePop 0.3s ease;
}
/* استایل برای حالت active لایک */
.liked-active {
    color: #FF5D8F;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container-modern {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    margin-top: 20px;
}

/* هدر آلبوم */
.album-header {
    margin-bottom: 48px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid #177C8C;
    color: #177C8C;
    padding: 8px 22px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    margin-bottom: 5px;
}

    .back-link:hover {
        background: #177C8C;
        color: white;
        transform: translateX(4px);
    }

.album-title-section {
    text-align: center;
    margin: 20px 0 16px;
}

    .album-title-section h1 {
        font-size: 2.5rem;
        font-weight: 800;
        background: linear-gradient(135deg, #177C8C 0%, #FF87AB 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        margin-bottom: 12px;
    }

.album-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.meta-item {
    background: rgb(var(--primary-2));
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.85rem;
    color: #2d2d2d;
}

.album-description {
    max-width: 700px;
    margin: 20px auto 0;
    text-align: center;
    color: #5e6f7c;
}

/* شبکه تصاویر آلبوم */
.gallery-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minspace(320px, 1fr));
    gap: 28px;
    margin: 40px 0;
}

.gallery-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}
/* کارت تصویر */
.image-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.2, 0.85, 0.4, 1);
    border: 1px solid rgba(23, 124, 140, 0.1);
    cursor: pointer;
}

    .image-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 35px -12px rgba(23, 124, 140, 0.2);
        border-color: rgba(255, 135, 171, 0.4);
    }

.image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #EFF3F8;
}

    .image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.image-card:hover .image-wrapper img {
    transform: scale(1.05);
}

.image-overlay-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(23, 124, 140, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-card:hover .image-overlay-icon {
    opacity: 1;
}

.image-overlay-icon i {
    font-size: 2.2rem;
    color: white;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    padding: 14px;
    border-radius: 60px;
}

.image-info {
    padding: 14px 18px 18px;
}

.image-title {
    font-weight: 700;
    color: #177C8C;
    font-size: 1rem;
    margin-bottom: 4px;
}

.image-date {
    font-size: 0.7rem;
    color: #FF87AB;
}

/* وضعیت خالی (بدون تصویر) */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 48px;
    margin: 40px 0;
}

    .empty-state i {
        font-size: 4rem;
        color: #FF87AB;
        margin-bottom: 20px;
    }

    .empty-state p {
        color: #6A7E8C;
    }

/* مدال نمایش بزرگ تصویر (لایت‌باکس) */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

    .lightbox-modal.active {
        display: flex;
    }

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
}

    .lightbox-content img {
        width: auto;
        max-width: 100%;
        max-height: 85vh;
        border-radius: 24px;
        box-shadow: 0 25px 45px rgba(0,0,0,0.3);
    }

.close-lightbox {
    position: absolute;
    top: -40px;
    left: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

    .close-lightbox:hover {
        background: #FF5D8F;
        transform: scale(1.05);
    }

.lightbox-caption {
    position: absolute;
    bottom: -40px;
    right: 0;
    left: 0;
    text-align: center;
    color: white;
    font-size: 0.9rem;
    background: rgba(0,0,0,0.6);
    padding: 8px 16px;
    border-radius: 40px;
    width: fit-content;
    margin: 0 auto;
}

/* کنترل‌های ناوبری بین تصاویر */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    width: 48px;
    height: 48px;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
    color: white;
    font-size: 1.6rem;
}

    .nav-btn:hover {
        background: #177C8C;
    }

.nav-prev {
    right: 20px;
}

.nav-next {
    left: 20px;
}

/* فوتر */
.album-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(23,124,140,0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.stats-badge {
    background: rgba(23,124,140,0.08);
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.85rem;
    color: #2C6A7A;
}



