          :root {
            --primary-color: #004a99;
            --secondary-color: #009eb3;
            --bg-light: #f4f7f6;
            --text-dark: #2c3e50;
            --text-muted: #6c757d;
            --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        body {
            font-family: 'Vazirmatn', sans-serif !important;
            background-color: var(--bg-light);
            color: var(--text-dark);
            padding-top: 80px; /* تنظیم فضا برای هدر چسبان */
        }
        
        .Font_Iran, .Font_Iran_Bold { font-family: 'Vazirmatn', sans-serif !important; }
        .Font_Iran_Bold { font-weight: 700; }
        
        /* ============== هدر مدرن با افکت شیشه‌ای سفید ============== */
        .navbar-custom {
            background: rgba(255, 255, 255, 0.85) !important;
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
            border-bottom: 1px solid rgba(255, 255, 255, 0.4);
            transition: var(--transition-smooth);
            padding: 12px 0;
        }
        .navbar-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
        }
        .navbar-brand img {
            width: 45px; 
            height: 45px;
            object-fit: contain;
        }
        .navbar-brand .brand-text {
            display: flex;
            flex-direction: column;
        }
        .navbar-brand h1 {
            font-size: 18px;
            font-weight: 800;
            color: var(--primary-color);
            margin: 0;
        }
        .navbar-brand span {
            font-size: 11px;
            color: var(--text-muted);
            font-weight: 400;
        }
        .nav-link {
            font-weight: 500;
            color: var(--text-dark) !important;
            padding: 10px 15px !important;
            transition: var(--transition-smooth);
            position: relative;
            font-size: 14.5px;
        }
        .nav-link:hover, .nav-link:focus {
            color: var(--secondary-color) !important;
        }
        
        /* خط زیر منو در هاور */
        /* .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 5px;
            right: 15px;
            background-color: var(--secondary-color);
            transition: var(--transition-smooth);
        }
        .nav-link:hover::after { width: calc(100% - 30px); } */
        .navbar .nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    right: 15px;
    background-color: var(--secondary-color);
    transition: var(--transition-smooth);
}

.navbar .nav-link:hover::before {
    width: calc(100% - 30px);
}


        /* استایل منوی هاور (Hover Dropdown) */
        @media (min-width: 1200px) {
            .navbar .dropdown:hover .dropdown-menu {
                display: block;
                visibility: visible;
                opacity: 1;
                transform: translateY(0);
            }
            .navbar .dropdown-menu {
                display: block;
                visibility: hidden;
                opacity: 0;
                transform: translateY(15px);
                transition: var(--transition-smooth);
                margin-top: 0;
            }
        }
        .dropdown-menu {
            border: none;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            border-radius: 12px;
            text-align: right;
            padding: 10px 0;
            background-color: #fff;
        }
        .dropdown-item {
            padding: 10px 20px;
            font-size: 14px;
            color: var(--text-dark);
            transition: var(--transition-smooth);
        }
        .dropdown-item:hover {
            background-color: rgba(0, 158, 179, 0.08);
            color: var(--primary-color);
            padding-right: 25px; 
        }

        .btn-date {
            background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
            color: #fff !important;
            border-radius: 50px;
            padding: 8px 25px;
            font-weight: 500;
            font-size: 13px;
            box-shadow: 0 4px 15px rgba(0, 168, 204, 0.2);
            transition: var(--transition-smooth);
            border: none;
        }
        .btn-date:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 168, 204, 0.4);
        }

        /* ============== کاروسل بوت استرپ با ارتفاع استاندارد ============== */
        .hero-carousel {
            width: 100%;
        }
        .hero-carousel .carousel-item {
            height: 85vh; /* تغییر ارتفاع جهت نمایش بهتر محتوای زیر هیرو */
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            position: relative;
        }
        .hero-carousel .carousel-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 100%);
            z-index: 1;
        }
        .hero-carousel .carousel-caption {
            z-index: 2;
            bottom: 60px;
            text-align: right; 
            left: 8%; 
            right: 8%;
        }
        .hero-carousel .carousel-caption h2 {
            font-size: 26px;
            font-weight: 800;
            margin-bottom: 15px;
            text-shadow: 0 2px 5px rgba(0,0,0,0.5);
            line-height: 1.6;
        }
        .hero-carousel .carousel-caption p {
            font-size: 15px;
            color: #e0e0e0;
            margin-bottom: 20px;
        }
        .hero-carousel .carousel-indicators [data-bs-target] {
            background-color: var(--secondary-color);
            width: 10px;
            height: 10px;
            border-radius: 50%;
            margin: 0 5px;
        }
        
        /* ============== دسترسی سریع با باکس‌های شیشه‌ای روی پارالاکس ============== */
        .section-title-wrap {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 40px;
            padding-bottom: 15px;
            border-bottom: 2px solid rgba(0,0,0,0.05);
        }
        .section-title {
            position: relative;
            color: var(--primary-color);
            margin: 0;
            font-size: 22px;
        }
        .section-title::after {
            content: '';
            position: absolute;
            right: 0;
            bottom: -17px;
            width: 80px;
            height: 4px;
            background: var(--secondary-color);
            border-radius: 5px;
        }
        
        .parallax-bg {
            position: relative;
            background-image: url('/uploads/asset_charity/img/kheyrin salamat.webp'); 
            background-attachment: fixed;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            padding: 80px 0 !important;
        }
        .parallax-bg::before {
            content: "";
            position: absolute;
            inset: 0;
            background: rgba(11, 29, 58, 0.82); /* تیره تر کردن پس زمینه جهت ایجاد عمق */
            z-index: 1;
        }
        .parallax-bg .section-title {
            color: #ffffff !important;
        }
        .parallax-bg .section-title-wrap {
            border-bottom: 2px solid rgba(255, 255, 255, 0.1);
        }
        
        .parallax-bg .service-item {
            background: rgba(255, 255, 255, 0.07);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.12);
            padding: 35px 20px;
            border-radius: 16px;
            color: #ffffff;
            transition: var(--transition-smooth);
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
        }
        .parallax-bg .service-item:hover {
            transform: translateY(-8px);
            background: rgba(255, 255, 255, 0.15);
            border-color: var(--secondary-color);
            box-shadow: 0 15px 30px rgba(0, 158, 179, 0.15);
        }
        .parallax-bg .service-icon {
            font-size: 36px;
            color: #ffffff;
            margin-bottom: 20px;
            background: rgba(255, 255, 255, 0.12);
            width: 70px;
            height: 70px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: var(--transition-smooth);
        }
        .parallax-bg .service-item:hover .service-icon {
            background: var(--secondary-color);
            color: #fff;
            transform: rotateY(360deg);
        }
        .parallax-bg .service-item h4 {
            font-size: 15px;
            color: #ffffff;
            margin-bottom: 20px;
            font-weight: 700;
        }
        
        .parallax-bg .btn-outline-custom {
            border: 1px solid rgba(255, 255, 255, 0.4);
            color: #ffffff;
            border-radius: 30px;
            padding: 6px 20px;
            font-size: 13px;
            transition: var(--transition-smooth);
            background: transparent;
        }
        .parallax-bg .btn-outline-custom:hover {
            background: #ffffff;
            color: var(--primary-color);
            border-color: #ffffff;
        }

        /* ============== آخرین اخبار (بصورت Swiper مدرن) ============== */
        .recent-blog-posts {
            background-color: #fcfdfe;
            padding: 80px 0;
            border-top: 1px solid rgba(0, 0, 0, 0.03);
        }
        .post-box {
            background: #fff;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.03);
            transition: var(--transition-smooth);
            height: 100%;
            border: none;
            display: flex;
            flex-direction: column;
        }
        .post-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.08);
        }
        .post-img {
            overflow: hidden;
            height: 200px;
        }
        .post-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }
        .post-box:hover .post-img img {
            transform: scale(1.08);
        }
        .post-content {
            padding: 22px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        .post-box .meta {
            color: var(--secondary-color);
            font-size: 13px;
            margin-bottom: 12px;
            font-weight: 600;
        }
        .post-box .post-title {
            font-size: 16px;
            line-height: 1.6;
            color: var(--text-dark);
            transition: var(--transition-smooth);
            margin-bottom: 10px;
        }
        .post-box a { text-decoration: none; }
        .post-box a:hover .post-title { color: var(--primary-color); }
        .post-box p {
            color: var(--text-muted);
            line-height: 1.8;
            font-size: 13.5px;
            margin-bottom: 0;
        }
        .newsSwiper { padding-bottom: 50px; }

        /* ============== فوتر حرفه‌ای ============== */
        .main-footer {
            background: linear-gradient(to right, #112031, #1a2f45);
            color: #dcdcdc;
            padding: 70px 0 0 0;
            font-size: 14px;
        }
        .main-footer h5 {
            color: #fff;
            font-size: 17px;
            font-weight: 700;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
        }
        .main-footer h5::after {
            content: '';
            position: absolute;
            right: 0;
            bottom: 0;
            width: 40px;
            height: 3px;
            background: var(--secondary-color);
            border-radius: 3px;
        }
        .footer-links { list-style: none; padding: 0; margin: 0; }
        .footer-links li { margin-bottom: 12px; }
        .footer-links a {
            color: #b0b8c1;
            text-decoration: none;
            transition: var(--transition-smooth);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .footer-links a:hover {
            color: var(--secondary-color);
            transform: translateX(-5px);
        }
        .footer-contact li {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
            align-items: flex-start;
        }
        .footer-contact i {
            color: var(--secondary-color);
            font-size: 18px;
        }
        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.05);
            color: #fff;
            border-radius: 50%;
            margin-left: 8px;
            transition: var(--transition-smooth);
            text-decoration: none;
            font-size: 18px;
        }
        .social-links a:hover {
            background: var(--secondary-color);
            transform: translateY(-3px);
        }
        .footer-bottom {
            background: #0a131e;
            padding: 20px 0;
            margin-top: 50px;
            text-align: center;
            border-top: 1px solid rgba(255,255,255,0.05);
        }
        /* ============== دکمه بازگشت به بالا ============== */
.btn-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px; /* در صفحات راست‌چین معمولاً سمت راست قرار می‌گیرد */
    z-index: 1000;
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff !important;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* نمایش دکمه هنگام اسکرول */
.btn-scroll-top.show {
    opacity: 1;
    visibility: visible;
}

/* افکت هاور */
.btn-scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 168, 204, 0.4);
    color: #fff;
}
        
        .Text_Clamp_1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
        .Text_Clamp_2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .Text_Clamp_3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  /* حذف فلش پیش‌فرض Bootstrap */
.navbar .dropdown-toggle::after {
    display: none !important;
}

/* دسکتاپ: باز شدن زیرمنو با هاور */
@media (min-width: 1200px) {
    .navbar .dropdown-menu {
        display: block;
        visibility: hidden;
        opacity: 0;
        transform: translateY(15px);
        transition: var(--transition-smooth);
        margin-top: 0;
    }

    .navbar .dropdown:hover > .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .navbar .dropdown:hover > .nav-link::before {
        width: calc(100% - 30px);
    }
}

/* موبایل: باز شدن زیرمنو با کلیک */
@media (max-width: 1199.98px) {
    .navbar .dropdown-menu {
        position: static !important;
        transform: none !important;
        inset: auto !important;
        float: none;
        width: 100%;
        min-width: 100%;
        margin: 4px 0 8px 0;
        padding: 6px 0;
        border-radius: 10px;
        box-shadow: none;
        border: 1px solid rgba(0, 0, 0, 0.06);
        background: #f8fafc;
    }

    .navbar .dropdown-menu.show {
        display: block;
    }

    .navbar .dropdown-item {
        white-space: normal;
    }

    .navbar .nav-link::before {
        display: none;
    }
}
