/* Reset و فونت */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
@font-face {
  font-family: 'titr';
  src: url('fonts/B Titr Bold_0.ttf') format('ttf');
}
@font-face {
  font-family: 'iran';
  src: url('fonts/fa-Iran-sans-web-bold.woff2') format('woff2');
}
@font-face {
  font-family: 'vazir';
  src: url('fonts/Vazirmatn-Bold.woff2') format('woff2');
}
/* Breadcrumb Next Level - Ultra Blue */
.breadcrumb-next-level {
    position: relative;
    background: linear-gradient(135deg, #0061ff 0%, #00d4ff 100%);
    padding: 2px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 97, 255, 0.5);
    overflow: hidden;
    direction: rtl;
}

.breadcrumb-inner {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);;
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 15px 20px;
    position: relative;
    z-index: 2;
}

.breadcrumb-light-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, 
        rgba(255, 255, 255, 0.3) 0%, 
        transparent 70%);
    animation: lightMove 8s infinite alternate;
}

.breadcrumb-next-level ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb-next-level li {
    margin-left: 15px;
    position: relative;
}

.breadcrumb-next-level li:after {
    content: "›";
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    font-weight: bold;
    animation: arrowPulse 1.5s infinite ease-in-out;
}

.breadcrumb-next-level a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.breadcrumb-next-level a:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.breadcrumb-next-level a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.breadcrumb-next-level a:hover:before {
    transform: scaleX(1);
}

.breadcrumb-next-level a:hover .icon {
    transform: rotate(15deg) scale(1.1);
}

.breadcrumb-next-level .icon {
    font-size: 18px;
    color: #00d4ff;
    transition: all 0.3s ease;
}

.breadcrumb-next-level .text {
    font-family: 'iran' !important;
    position: relative;
    padding-bottom: 2px;
}

.breadcrumb-next-level .text:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: white;
    transition: width 0.3s ease;
}

.breadcrumb-next-level a:hover .text:after {
    width: 100%;
}

/* انیمیشن‌ها */
@keyframes lightMove {
    0% { transform: translate(-20%, -20%); }
    100% { transform: translate(20%, 20%); }
}

@keyframes arrowPulse {
    0% { opacity: 0.5; transform: translateY(-50%) scale(1); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.2); }
    100% { opacity: 0.5; transform: translateY(-50%) scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
    .breadcrumb-next-level ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .breadcrumb-next-level li {
        margin-left: 0;
        margin-bottom: 10px;
    }
    
    .breadcrumb-next-level li:not(:last-child):after {
        display: none;
    }
}
/* کارت ها */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 280px)); /* تغییر یافته */
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center; /* اضافه شده */
    justify-items: center;
}
.card {
    flex: 0 0 280px; /* عرض ثابت 280px */
    max-width:300px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
.card-img {
    width: 100%;
    height: 200px;
    transition: transform 0.5s ease;
}
.card:hover .card-img {
    transform: scale(1.05);
}
.card-content {
    padding: 1.5rem;
    flex-grow: 1;
}
.card-content h3 {
     font-family: 'titr' !important;
    margin-bottom: 0.5rem;
    color: #1e3c72;
    font-size: 1.6rem;
}
.card-content p {
    font-family: 'iran' !important;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.card-btn {
        font-family: 'vazir' !important;
    display: block;
    text-align: center;
    padding: 0.8rem;
    background: linear-gradient(90deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}
.card-btn:hover {
    background: linear-gradient(90deg, #2a5298 0%, #1e3c72 100%);
    letter-spacing: 1px;
} 
@media (max-width: 768px) {
   .card-container {
        grid-template-columns: 1fr;
   }
}   