/** 
/**     Created By Mehdi asadi 
/**     Version 1.0.2
/** 
*/


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #2c3e50;
    line-height: 1.7;
}

/* ========== هدر ========== */
header {
    background: linear-gradient(105deg, #0f2027 0%, #203a43 40%, #2c5364 100%);
    color: #fff;
    padding: 2rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #d4af37;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f9d423, #d4af37);
    opacity: 0.8;
}

header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    margin-bottom: 0.3rem;
    color: #ffffff;
}

header h1 i {
    color: #d4af37;
    margin-left: 10px;
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.5));
}

header .lead {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.9;
    color: #e0e0e0;
    margin-right: 5px;
}

header .lead i {
    color: #d4af37;
    margin-left: 6px;
}


.warning {
    background: rgba(255, 215, 0, 0.18);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.warning:hover {
cursor: pointer;
}

.warning p {
    font-size: 0.75rem;
    font-weight: 500;
    color: #ffebaa;
}

.warning i {
    margin-left: 6px;
    animation: pulse-calendar 2s infinite;
}

@keyframes pulse-calendar {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

main {
    flex: 1;
}

.course-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin: 2.5rem 0 1rem;
}

.course-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #ffffff;
    color: #1a2a36;
    border: 2px solid transparent;
    padding: 1.2rem 2.8rem;
    border-radius: 60px;
    font-size: 1.35rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    letter-spacing: 0.5px;
    min-width: 180px;
}

.course-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(105deg, #1e3c45 0%, #2c5364 100%);
    transition: width 0.5s ease;
    z-index: 0;
    border-radius: 60px;
}


.course-btn i,
.course-btn span {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.course-btn i:first-child {
    font-size: 1.5rem;
    color: #2c5364;
}

.course-btn i:last-child {
    font-size: 1.1rem;
    opacity: 0.7;
    margin-right: 5px;
    color: #2c5364;
}

.course-btn:hover {
        color: #d4af37;
    transform: translateY(-8px);
}

.course-btn:hover i:first-child,
.course-btn:hover i:last-child {
    color: #d4af37;
}

.course-btn:hover i:last-child {
    animation: arrow-shake 0.6s ease infinite;
}

@keyframes arrow-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(5px); }
    75% { transform: translateX(-3px); }
}


.course-buttons a{
    border-top: 3px solid #d4af37;
}


.info-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 3rem 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s ease;
    margin-top: 2rem;
}

.info-card i.fa-graduation-cap {
    color: #2c5364;
    background: linear-gradient(135deg, #e8f0f5, #ffffff);
    padding: 25px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(44, 83, 100, 0.2);
    transition: all 0.3s ease;
}

.info-card:hover i.fa-graduation-cap {
    transform: rotate(-15deg) scale(1.05);
    color: #d4af37;
}

.info-card h3 {
    font-weight: 700;
    color: #0f2027;
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: #4a6274;
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
    font-weight: 400;
}

footer {
    background: #0f2027;
    color: #b0c4d9;
    padding: 1.5rem 0;
    margin-top: 3rem;
    border-top: 2px solid #1e3c45;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

footer p {
    margin: 0;
    opacity: 0.8;
    transition: opacity 0.3s;
}


footer i {
    color: #d4af37;
    margin: 0 4px;
    font-size: 0.8rem;
}



.info-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 
                0 4px 16px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0ead6; 
    transition: box-shadow 0.3s ease;
}

.info-card h3 {
    font-weight: 800;
    color: #1a1a1a;
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 0.6rem;
}


.info-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #d4af37;
    border-radius: 3px;
}


.info-card h4 {
    font-weight: 600;
    color: #5a4a2a; 
    font-size: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.info-card h4 i {
    color: #d4af37;
    font-size: 1.2rem;
}


.voice-holder {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}


.voice-holder .item {
    background: #fdfaf2; 
    border-radius: 16px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid #f5edd5;
    transition: all 0.25s ease;
}

.voice-holder .item:hover {
    background: #fbf5e3; 
    border-color: #d4af37; 
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
    transform: translateY(-1px);
}


.voice-holder .item p {
    font-weight: 700;
    color: #3d3522;
    margin: 0;
    font-size: 0.9rem;
    min-width: 75px;
}


.voice-holder .item audio {
    flex: 1;
    height: 38px;
    border-radius: 8px;
}

.voice-holder .item audio:focus {
    outline: none;
}

.page-sup {
    padding: 20px;
    position: absolute;
    top: 4px;
    left: 9px;
}
@media (max-width: 768px) {
    .page-sup {
        display: none !important;
    }
}
.voice-holder .item a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    color: #8b6914; 
    padding: 0.5rem 1.1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid #d4af37; 
    white-space: nowrap;
    transition: all 0.25s ease;
}


.voice-holder .item a:hover {
    background: #d4af37;
    color: #ffffff;
    border-color: #d4af37;
}

.voice-holder .item a:hover::before {
    color: #ffffff;
}

.info-card > a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #d4af37; 
    color: #1a1a1a; 
    padding: 1rem 3rem;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}


.info-card > a:hover {
    background: #c49b2a; 
    color: #000000;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45);
}

.info-card > a:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }

    .course-buttons {
        flex-direction: column;
        gap: 1.5rem;
        margin: 1.5rem 0;
    }

    .course-btn {
        width: 80%;
        padding: 1rem 2rem;
        font-size: 1.2rem;
    }

    .warning {
        padding: 0.5rem 1.2rem;
        border-radius: 40px;
    }

    .info-card {
        padding: 2rem 1.2rem;
    }
     .info-card {
        padding: 2rem 1.25rem;
        border-radius: 20px;
    }

    .info-card h3 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .info-card h4 {
        font-size: 0.9rem;
        letter-spacing: 1.5px;
    }

    .voice-holder .item {
        flex-wrap: wrap;
        padding: 1rem;
        gap: 0.75rem;
    }

    .voice-holder .item p {
        width: 100%;
        text-align: center;
        font-size: 0.95rem;
    }

    .voice-holder .item audio {
        width: 100%;
        flex: none;
        order: 1;
    }

    .voice-holder .item a {
        order: 2;
        width: 100%;
        justify-content: center;
        padding: 0.7rem;
    }

    .info-card > a {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1.5rem 0;
    }

    header h1 {
        font-size: 1.5rem;
    }
        header .lead {
        font-size: 1rem !important; 
    }

    .course-btn {
        width: 90%;
    }

    .warning p {
        font-size: 0.6 !important;
    }
        .info-card {
        padding: 1.5rem 1rem;
    }

    .info-card h3 {
        font-size: 1.3rem;
    }
}

.rubika-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.rubika-logo img {
    height: 32px;
    width: auto;
    display: block;
    filter: grayscale(100%) brightness(1);
    transition: filter 0.2s ease;
}

.rubika-logo:hover img {
    filter: grayscale(100%) brightness(0.8);
}

.modal-content {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #f0ead6;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-header {
    background: #2c5364;
    border-bottom: 2px solid #d4af37;
    padding: 1.2rem 1.8rem;
}

.modal-header .modal-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.3px;
}

.modal-header .btn-close {
    filter: invert(1) brightness(2);
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

/* بدنه مودال */
.modal-body {
    padding: 2rem 1.8rem;
    text-align: center;
}

.modal-body p {
    font-weight: 600;
    color: #5a4a2a;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-body p i {
    color: #d4af37;
    font-size: 1.1rem;
}

.modal-body a {
    display: inline-block;
    color: #8b6914;
    font-weight: 700;
    font-size: 1.3rem;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 12px;
    background: #fdfaf2;
    border: 1px solid #f5edd5;
    transition: all 0.25s ease;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
    direction: ltr;
}

.modal-body a:hover {
    background: #d4af37;
    color: #ffffff;
    border-color: #d4af37;
}

.modal-footer {
    border-top: 1px solid #f5edd5;
    padding: 1rem 1.8rem;
    justify-content: center;
}

.modal-footer a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fdfaf2;
    color: #8b6914;
    padding: 0.6rem 2rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid #d4af37;
    transition: all 0.25s ease;
}

.modal-footer a:hover {
    background: #d4af37;
    color: #ffffff;
}

@media (max-width: 576px) {
    .modal-content {
        border-radius: 20px;
        margin: 0 10px;
    }
    
    .modal-header {
        padding: 1rem 1.2rem;
    }
    
    .modal-body {
        padding: 1.5rem 1rem;
    }
    
    .modal-body a {
        font-size: 1.1rem;
        padding: 0.4rem 1rem;
    }
    
    .modal-footer {
        padding: 0.8rem 1rem;
    }
}

/* ========== بریدکرامپ ========== */
.breadcrumb-nav {
    margin: 1.5rem 0;
    overflow-x: auto;            /* اسکرول افقی در موبایل */
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;        /* مخفی کردن اسکرول‌بار در فایرفاکس */
    -ms-overflow-style: none;     /* مخفی کردن در اینترنت اکسپلورر */
    padding-bottom: 0.5rem;       /* فاصله برای اسکرول راحت */
}

.breadcrumb-nav::-webkit-scrollbar {
    display: none;                /* مخفی کردن اسکرول‌بار در کروم و سافاری */
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.4rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: #6b5a3a;
    white-space: nowrap;
}

.breadcrumb-item a {
    color: #8b6914;
    text-decoration: none;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: transparent;
}

.breadcrumb-item a:hover {
    color: #1a1a1a;
    background: #fdfaf2;
    box-shadow: 0 2px 6px rgba(212, 175, 55, 0.15);
}

/* جداکننده با شبه‌عنصر */
.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #d4af37;
    font-weight: 700;
    font-size: 1.2rem;
    margin-left: 0.3rem;
    margin-right: 0.3rem;
    opacity: 0.7;
}

.breadcrumb-item.active {
    color: #1a1a1a;
    font-weight: 700;
    pointer-events: none;
}

/* حالت موبایل – فقط برای اطمینان از اسکرول شدن */
@media (max-width: 768px) {
    .breadcrumb-nav {
        margin: 1rem 0;
        padding: 0 0.5rem 0.5rem;
    }

    .breadcrumb-item {
        font-size: 0.9rem;
    }
}